Project

Profile

Help

Story #4917

Updated by bmbouter almost 5 years ago

h3. Problem The only thing left in /var/lib/pulp/ that conflicts between pulp2 and pulp3 is /var/lib/pulp/static 

 As At installation time, this causes an Ansible installer user, I can error when deploying pulp3 onto a pulp2 server because on pulp2 this directory is owned by apache, and pulp3 expects this to be owned by pulp_user. 

 Can we deploy the static media dir this to something other than /var/lib/pulp/static. 

 h3. Solution 

 Add an new Role variable I understand that we can change /var/lib/pulp/ but this will make pulp2 to pulp3 migrations a lot more problematic in the 'pulp' role named <code>pulp_static_dir</code>. This would go with these roles: https://github.com/pulp/ansible-pulp/tree/master/roles/pulp#role-variables 

 It would be optional, and if set, would then set the <code>STATIC_ROOT</code> setting in Pulp w/ that value. future.

Back