I installed puppet 2.6.12 on CentOS 6. When I try to start the puppetmaster service using the command
service puppetmaster start I get the error:
Starting puppetmaster: /usr/lib/ruby/site_ruby/1.8/puppet/indirector/ssl_file.rb:142:in open: Permission denied - /var/lib/puppet/ssl/ca (Errno::EACCES).
If I do
sudo service puppetmaster start I get the error
Starting puppetmaster: Could not prepare for execution: Could not find a default provider for user
I have ruby 1.8.7,ruby-libs and ruby-shadow installed. How can I fix this problem ?