Hi-- I''m a newbie trying out puppet for the first time. I want to install Puppet on a master and a client. The system is a clean VM with Red Hat Enterprise Linux Server release 5.5 (Tikanga). Here is what I did: # wget http://puppetlabs.com/downloads/puppet/puppet-latest.tgz # tar xzf puppet-latest.tgz # cd puppet-2.6.2/ # ruby install.rb # puppetmasterd --mkuser /usr/lib/ruby/site_ruby/1.8/puppet/util/settings.rb:731:in `initialize'': Permission denied - /etc/puppet/ssl/ca/ca_key.pem (Errno::EACCES) from /usr/lib/ruby/site_ruby/1.8/puppet/util/settings.rb: 731:in `open'' from /usr/lib/ruby/site_ruby/1.8/puppet/util/settings.rb: 731:in `writesub'' from /usr/lib/ruby/site_ruby/1.8/puppet/util.rb:152:in `withumask'' from /usr/lib/ruby/site_ruby/1.8/puppet/util/settings.rb: 730:in `writesub'' from /usr/lib/ruby/site_ruby/1.8/puppet/util/suidmanager.rb: 62:in `asuser'' from /usr/lib/ruby/site_ruby/1.8/puppet/util/settings.rb: 723:in `writesub'' from /usr/lib/ruby/site_ruby/1.8/puppet/util/settings.rb: 709:in `write'' from /usr/lib/ruby/site_ruby/1.8/puppet/indirector/ssl_file.rb: 156:in `write'' ... 17 levels... from /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:286:in `run'' from /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:393:in `exit_on_fail'' from /usr/lib/ruby/site_ruby/1.8/puppet/application.rb:286:in `run'' from /usr/sbin/puppetmasterd:4 Starting up the master also fails (it just hangs): /usr/sbin/ puppetmasterd --verbose --no-daemonize -d TIA! Jack -- 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.
Jack Stanley <im.jstanley@gmail.com> writes:> I''m a newbie trying out puppet for the first time. I want to install Puppet > on a master and a client. The system is a clean VM with Red Hat Enterprise > Linux Server release 5.5 (Tikanga). Here is what I did: > > # wget http://puppetlabs.com/downloads/puppet/puppet-latest.tgz > # tar xzf puppet-latest.tgz > # cd puppet-2.6.2/ > # ruby install.rb > # puppetmasterd --mkuser > /usr/lib/ruby/site_ruby/1.8/puppet/util/settings.rb:731:in > `initialize'': Permission denied - /etc/puppet/ssl/ca/ca_key.pem > (Errno::EACCES)I bet that /etc/puppet/ssl/ca or some part of it is owned by root, not the user puppet, and that is what is causing your problem here. I can''t verify in more detail right now as my code access is limited, but that looks like the right root cause of the problem. You might overall be better using the existing RHEL packages for puppet: http://projects.puppetlabs.com/projects/puppet/wiki/Puppet_Red_Hat_Centos They better integrate and support the whole thing, and will make it easier to get updates in future. Regards, Daniel -- ✣ Daniel Pittman ✉ daniel@rimspace.net ☎ +61 401 155 707 ♽ made with 100 percent post-consumer electrons -- 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.