-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, don''t know if this is fixed in the latest version. I hit a problem with site.pp and the order of directory/file creations. with 0.23 everything works smoothly with the same site.pp but now puppetd failes on nodes with such errors: err: //ssl/File[/etc/puppet/ssl/private]/ensure: change from absent to directory failed: Cannot create /etc/puppet/ssl/private; parent directory /etc/puppet/ssl does not exist err: //ssl/File[/etc/puppet/ssl/public_keys]/ensure: change from absent to directory failed: Cannot create /etc/puppet/ssl/public_keys; parent directory /etc/puppet/ssl does not exist err: //ssl/File[/etc/puppet/ssl/private_keys]/ensure: change from absent to directory failed: Cannot create /etc/puppet/ssl/private_keys; parent directory /etc/puppet/ssl does not exist notice: //ssl/File[/etc/puppet/ssl/private_keys/host.example.com.pem]: Dependency file[/etc/puppet/ssl/private_keys] has 1 failures warning: //ssl/File[/etc/puppet/ssl/private_keys/host.example.com.pem]: Skipping because of failed dependencies err: //ssl/File[/etc/puppet/ssl/certs]/ensure: change from absent to directory failed: Cannot create /etc/puppet/ssl/certs; parent directory /etc/puppet/ssl does not exist notice: //ssl/File[/etc/puppet/ssl/certs/ca.pem]: Dependency file[/etc/puppet/ssl/certs] has 1 failures warning: //ssl/File[/etc/puppet/ssl/certs/ca.pem]: Skipping because of failed dependencies notice: //ssl/File[/etc/puppet/ssl/certs/host.example.com.pem]: Dependency file[/etc/puppet/ssl/certs] has 1 failures warning: //ssl/File[/etc/puppet/ssl/certs/host.example.com.pem]: Skipping because of failed dependencies err: //ca/File[/etc/puppet/ssl/ca]/ensure: change from absent to directory failed: Cannot create /etc/puppet/ssl/ca; parent directory /etc/puppet/ssl does not exist adding things like require => File["/etc/puppet/ssl"], to site.pp does not work as most of those "File"s are not on the same scope. why is this happening? site.pp has been created using "--genmanifest", I think this should produce a working configuration, shouldn''t it? Phillip -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFH6kio1MyrzuZeshoRAuF2AJ0Q3O73XYQCuqNA1ajpFk1Dsh1AKwCffMM3 0I9v3JWGhHzRZdbbgmFMWE0=Dxer -----END PGP SIGNATURE----- --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
On Mar 26, 2008, at 7:59 AM, Phillip Scholz wrote:> adding things like > require => File["/etc/puppet/ssl"], > to site.pp does not work as most of those "File"s are not on the > same scope. > > why is this happening? site.pp has been created using "-- > genmanifest", I > think this should produce a working configuration, shouldn''t it?Hmm, you really shouldn''t need to even manage mos of those; in fact, you generally *shouldn''t* have the resuls of --genmanifest in your manifests, as Puppet can manage those just fine. I don''t think I changed anythig in this area between 0.24.3 and 0.24.4, so I''m a bit stumped. Is anyone else having this issue? -- It is said that power corrupts, but actually it''s more true that power attracts the corruptible. The sane are usually attracted by other things than power. -- David Brin --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---