I've installed Puppet (version 4.10.1) via Ruby Gems.
I then use:
sudo puppet config set server mysite.org
Which returns the following error (same error without sudo
).
Error: No such file or directory @ rb_sysopen - /etc/puppetlabs/puppet/puppet.conf Error: Try 'puppet help config set' for usage
I'm not 100% sure what led to the situation of the /etc/puppetlabs/puppet
folder not being created during the install process.
I found creating the folder manually with sudo mkdir /etc/pupppetlabs/puppet
before running sudo puppet config set server mysite.org
fixed the issue.