Actions
Bug #6368
closedkatello-devel-installer fails due to missing /etc/pki/pulp directory
Status:
Duplicate
Priority:
Normal
Assignee:
Category:
Installer
Target version:
Description
Something went wrong! Check the log for ERROR-level output The full log is at /var/log/katello-installer/katello-devel-installer.log [ INFO 2014-06-24 15:01:38 verbose] All hooks in group post finished [ERROR 2014-06-24 15:01:38 verbose] Repeating errors encountered during run: [ERROR 2014-06-24 15:01:38 verbose] Cannot create /etc/pki/pulp/nodes; parent directory /etc/pki/pulp does not exist [ERROR 2014-06-24 15:01:38 verbose] /Stage[main]/Certs::Pulp_parent/File[/etc/pki/pulp/nodes]/ensure: change from absent to directory failed: Cannot create /etc/pki/pulp/nodes; parent directory /etc/pki/pulp does not exist
mkdir the directory and re-run the installer works fine.
This is a long standing issue in Puppet that they refuse to fix: https://projects.puppetlabs.com/issues/86. Thankfully, when feeding a File resource an array, it is intelligent enough to create them in the correct tree order, so we could feed it an array like tike this: ["$pulp_pki_dir", "$pulp_pki_dir/nodes"] or similar.
Actions