[Puppet Users] saz-sudo puppet module question

2017-08-14 Thread Jagga Soorma
Hi Guys, I am trying to use the saz-sudo (https://forge.puppet.com/saz/sudo) puppet module from the forge to manage our sudoers config and things have been going good so far. However, I now have the need to disable the "Defaultssecure_path = /sbin:/bin:/usr/sbin:/usr/bin" line but don't seem

Re: [Puppet Users] Re: Environment specific folders missing in Puppet master version 3.6.2

2017-08-14 Thread Martijn Heemels
Make sure the setting is in the [master] section of puppet.conf, that you restart puppetserver after the changes and use 'puppet config print' to check what Puppet thinks it's set to. _ From: Rakshatha shetty mailto:rakshathashet...@gmail.com>> Sent: maandag, augustu

[Puppet Users] Re: Environment specific folders missing in Puppet master version 3.6.2

2017-08-14 Thread Rakshatha shetty
Hi Martijn, Thanks for the quick reply. Yes, I have set $environmentpath variable in puppet.conf. Still it is not recognizing the specified path. Regards, Rakshatha On Monday, August 14, 2017 at 6:57:52 PM UTC+5:30, Martijn wrote: > > Hi Rakshatha, > > Did you set the $environmentpath in puppet

[Puppet Users] Re: Environment specific folders missing in Puppet master version 3.6.2

2017-08-14 Thread Martijn
Hi Rakshatha, Did you set the $environmentpath in puppet.conf on the master? That is needed to enable Directory Environments. See https://docs.puppet.com/puppet/3.6/environments_configuring.html#enabling-directory-environments-in-open-source-puppet Regards, Martijn Op maandag 14 augustus 2017

[Puppet Users] Environment specific folders missing in Puppet master version 3.6.2

2017-08-14 Thread Rakshatha shetty
I recently upgraded puppet master version from 2.5 to 3.6.2. In this new version environment specific folders are missing (i.e. by default manifest and modules folder are present in path /etc/puppet). I tried changing puppet.conf file by adding manifest and modules parameter (manifests = /etc/p

[Puppet Users] Re: Hiera.yaml not picking up the %{environment} variable from the node

2017-08-14 Thread Dennis McCarthy
Hi Mike, Thanks for your reply. I've realised my mistake in that I need to have a separate site.pp per environment. I'm used to just having one but with puppet 4.0 they've had a change around. And yes I'm implementing the "role" like you are in the relevant .yaml files under hieradata. Thank y

[Puppet Users] Re: Hiera.yaml not picking up the %{environment} variable from the node

2017-08-14 Thread Mike Sharpton
Did you just change hiera.yaml? If so, you must restart puppetserver for changes to take effect. We do something similar with roles, with this site.pp. Stolen from Gary and it works well. node default { $role = hiera('role') include $role } You need to set 'role' somewhere in your hiera

[Puppet Users] Error after upgrade to PE 2017.2.3

2017-08-14 Thread Jonathan Gazeley
Hi folks, I just upgraded my PE installation from 2016.4 to 2017.2.3 and I've started getting this error when I attempt to run the agent on the newly-upgraded Puppet Server (monolithic install). Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Could no