Hi,
Yesterday I have added puppet modules to foreman / katello using the
pulp-puppet-module-builder which did work pretty good. Unfortunately, the
generation of the content view failed because of "permission denied":
"distributor_id"=> "ATIX-Library-puppet-ssh",
"repo_id"=> "ATIX-Library-puppet-ssh",
"summary"=> "failed to create destination directory: [Errno 13]
Permission denied:
'/etc/puppetlabs/code/environments/KT_ATIX_Library_puppet_ssh_12/pulpWNRedB'"},
"description"=> "The distributor ATIX-Library-puppet-ssh indicated a
failed response when publishing repository ATIX-Library-puppet-ssh.",
A workaround to fix this is by setting the right permissions like:
[root@or code]# cd /etc/puppetlabs/code/
[root@or code]# chgrp apache environments/
[root@or code]# chmod g+w environments/
[root@or code]# ls -l
drwxrwxr-x 4 root apache 33 27. Jun 09:39 environment
Afterwards the generation of the content view works.
This isn't documented somewhere - or I can't find it.
Should the change of the permission be documented somewhere or should it be
done by the foreman installer?
Best regards,
Bernhard
--
ATIX - The Linux & Open Source Company
www.atix.de
--
You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.