I've tried to install the open source version of puppetserver on ubuntu 14.04 based on this document https://docs.puppetlabs.com/puppetserver/2.1/install_from_packages.html.
For that I did
wget https://apt.puppetlabs.com/puppetlabs-release-trusty.deb
sudo dpkg -i puppetlabs-release-trusty.deb
sudo apt-get update
sudo apt-get install puppetserver
I didn't face any errors while executing, but when I tried to start service by executing
sudo service puppetserver start
It failed with the error in the logs (/var/log/puppetlabs/puppetserver/puppetserver.log)
(RuntimeError) Got 1 failure(s) while initializing: File[/etc/puppetlabs/puppet/ssl]: change from absent to directory failed: Could not set 'directory' on ensure: Permission denied - /etc/puppetlabs/puppet/ssl
What is also weird that when I tried to get the puppet agent version
sudo /opt/puppetlabs/bin/puppet --version
I've got another error
libfacter was not found. Please make sure it was installed to the expected location.
Could anybody please point me what did I miss?
Thank you in advance
↧