-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could not initialize global default settings: Permission denied @ dir_s_mkdir #29
Comments
you execute this script as user puppet in workdir /home/str. Line 207 executes the puppet command as the user the script is running as and Puppet creates a .puppetlabs dir in the current dir. I think this won't happen when you I'm thinking about to add some check to the script to verify this. Or find out if there's a flag you can add to the puppet command to prevent it from creating a dir. |
Same issue, but then I thought let me run it as user STR, then I get the following error.
I don't have /var/lib/puppet to change as per issue #28 . Using root it works fine.... |
hmm I will look into this later. Let you know asap. |
thank you very much. Great nagios plugin by the way. |
I think this may be related to #42 |
I have reviewed it in Gentoo. |
Check_puppet_agent can only be run as root on my install.
cat /etc/sudoers
The text was updated successfully, but these errors were encountered: