Hi, I created a centOS6 EC2 instance last night and ran the foreman puppet module but it came back with a few years. Was hoping somebody could help me understand these errors. [root@ip-10-170-77-129 config]# echo include foreman | puppet --modulepath /root/puppet-foreman/ err: /Stage[main]/Foreman::Config::Enc/File[/var/lib/puppet/yaml/foreman]/ensure: change from absent to directory failed: Cannot create /var/lib/puppet/yaml/foreman; parent directory /var/lib/puppet/yaml does not exist [root@ip-10-170-77-129 config]# mkdir /var/lib/puppet/ clientbucket/ client_data/ client_yaml/ facts/ lib/ ssl/ state/ Should the foreman puppet module be altered to say client_yaml instead of yaml? Was the foreman module was created with an older puppet version in mind? Or is this because I didn''t start my puppetmaster before using the foreman module. Corey Osman corey@logicminds.biz Green I.T and Datacenter Automation Specialist -- 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.
Hi, is selinux active ? If is active (run "sestatus") you need to disable ("setenforce 0" and edit /etc/sysconfig/selinux) or create a policy. rgds flo On Oct 18, 8:00 pm, Corey Osman <co...@logicminds.biz> wrote:> Hi, > > I created a centOS6 EC2 instance last night and ran the foreman puppet module but it came back with a few years. Was hoping somebody could help me understand these errors. > > [root@ip-10-170-77-129 config]# echo include foreman | puppet --modulepath /root/puppet-foreman/ > err: /Stage[main]/Foreman::Config::Enc/File[/var/lib/puppet/yaml/foreman]/ensure: change from absent to directory failed: Cannot create /var/lib/puppet/yaml/foreman; parent directory /var/lib/puppet/yaml does not exist > > [root@ip-10-170-77-129 config]# mkdir /var/lib/puppet/ > clientbucket/ client_data/ client_yaml/ facts/ lib/ ssl/ state/ > > Should the foreman puppet module be altered to say client_yaml instead of yaml? Was the foreman module was created with an older puppet version in mind? > > Or is this because I didn''t start my puppetmaster before using the foreman module. > > Corey Osman > co...@logicminds.biz > > Green I.T and Datacenter Automation Specialist-- 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 Tue, Oct 18, 2011 at 8:00 PM, Corey Osman <corey@logicminds.biz> wrote:> Hi, > I created a centOS6 EC2 instance last night and ran the foreman puppet > module but it came back with a few years. Was hoping somebody could help me > understand these errors. > [root@ip-10-170-77-129 config]# echo include foreman | puppet --modulepath > /root/puppet-foreman/ > err: > /Stage[main]/Foreman::Config::Enc/File[/var/lib/puppet/yaml/foreman]/ensure: > change from absent to directory failed: Cannot create > /var/lib/puppet/yaml/foreman; parent directory /var/lib/puppet/yaml does not > exist > [root@ip-10-170-77-129 config]# mkdir /var/lib/puppet/ > clientbucket/ client_data/ client_yaml/ facts/ lib/ ssl/ > state/ > Should the foreman puppet module be altered to say client_yaml instead of > yaml? Was the foreman module was created with an older puppet version in > mind? > > Or is this because I didn''t start my puppetmaster before using the foreman > module.Yeah, I was a bit too lazy to write down a fact for that, if you dont have a master, you probably want to tweak the parameters not to install the enc script. Ohad> > > Corey Osman > corey@logicminds.biz > Green I.T and Datacenter Automation Specialist > > > -- > 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. >-- 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.
Reasonably Related Threads
- time issue with puppet
- Error 400 on SERVER: Could not write /var/lib/puppet/ssl/ca/requests/node13.pem
- ssh_authorized_key fails when home directory doesn't exist
- hiera not using non-root user custom fact
- Error 400 on SERVER: Could not write /var/lib/puppet/ssl/ca/requests/agent1.pem to csrdir: undefined method `exists?' for nil:NilClass