Re: [EXTERNAL] - [Puppet Users] Puppet agent is not applying changes

2019-10-01 Thread Josh Cooper
Yes agreed, there are two issues on that: https://tickets.puppetlabs.com/browse/SERVER-1717 and https://tickets.puppetlabs.com/browse/PUP-7102. We tried to fix it earlier, but had to revert due to acceptance test failures. The need for world readable (or changing the owner or group to puppet) is be

Re: [EXTERNAL] - [Puppet Users] Puppet agent is not applying changes

2019-10-01 Thread Dan Crisp
Thanks to all that contributed. I managed to solve the issue. Transpires that the permissions on the files and directories (0640 for the most part) was not sufficient. I had to ensure that all files in question had 0644 and directories at 0755 permissions set to get this to work. A simple

Re: [EXTERNAL] - [Puppet Users] Puppet agent is not applying changes

2019-10-01 Thread Dan Crisp
Thanks to all that contributed. I managed to solve the issue. Transpires that the permissions on the files and directories (0644 for the most part) was not sufficient. I had to ensure that all files in question had 0644 and directories at 0755 permissions set to get this to work. A simple

Re: [EXTERNAL] - [Puppet Users] Puppet agent is not applying changes

2019-09-29 Thread Andreas Ntaflos
On 28.09.19 12:15, Martin Alfke wrote: > Hi Dirk, > > you are including class accounts within node default classification. > The accounts module does not do anything unless you add data to it. > > Please look at https://github.com/puppetlabs/puppetlabs-accounts and check if > the following examp

Re: [EXTERNAL] - [Puppet Users] Puppet agent is not applying changes

2019-09-28 Thread Martin Alfke
Hi Dirk, you are including class accounts within node default classification. The accounts module does not do anything unless you add data to it. Please look at https://github.com/puppetlabs/puppetlabs-accounts and check if the following example is working: node default { accounts::user { 'da

Re: [EXTERNAL] - [Puppet Users] Puppet agent is not applying changes

2019-09-27 Thread Andreas Ntaflos
On 27.09.19 18:11, Dan Crisp wrote: > Thanks for the reply John, > > The issue still persists unfortunately. > > I've ensured that Selinux isn't enforcing on both the server side and > client and then restarted the Puppet service on the master server.  The > server logs whilst running the agent r

Re: [EXTERNAL] - [Puppet Users] Puppet agent is not applying changes

2019-09-27 Thread Dan Crisp
Thanks for the reply John, The issue still persists unfortunately. I've ensured that Selinux isn't enforcing on both the server side and client and then restarted the Puppet service on the master server. The server logs whilst running the agent read as follows: 10.20.25.83 - - - 27/Sep/2019:1

Re: [EXTERNAL] - [Puppet Users] Puppet agent is not applying changes

2019-09-27 Thread jcbollinger
On Friday, September 27, 2019 at 7:20:51 AM UTC-5, Dan Crisp wrote: > > Please see below. Apologies, there is a lot of detail here: > > Debug: Using settings: adding file resource 'confdir': > 'File[/etc/puppetlabs/puppet]{:path=>"/etc/puppetlabs/puppet", > :ensure=>:directory, :loglevel=>:deb

Re: [Puppet Users] Puppet agent is not applying changes

2019-09-27 Thread Dan Crisp
No. I only have /etc/puppetlabs/code/environments/production/manifests/site.pp On Friday, September 27, 2019 at 1:03:20 PM UTC+1, Dirk Heinrichs wrote: > > Am Freitag, den 27.09.2019, 11:50 + schrieb Dirk Heinrichs: > > Am Freitag, den 27.09.2019, 03:43 -0700 schrieb Dan Crisp: > > This file

Re: [EXTERNAL] - [Puppet Users] Puppet agent is not applying changes

2019-09-27 Thread Dan Crisp
Please see below. Apologies, there is a lot of detail here: Debug: Using settings: adding file resource 'confdir': 'File[/etc/puppetlabs/puppet]{:path=>"/etc/puppetlabs/puppet", :ensure=>:directory, :loglevel=>:debug, :links=>:follow, :backup=>false}' Debug: Using settings: adding file resource

Re: [Puppet Users] Puppet agent is not applying changes

2019-09-27 Thread Dirk Heinrichs
Am Freitag, den 27.09.2019, 11:50 + schrieb Dirk Heinrichs: Am Freitag, den 27.09.2019, 03:43 -0700 schrieb Dan Crisp: This file does nothing. All the lines therein are commented out. In fact, I have in the past moved this file out of the way then put it back just to rule out it was doing

Re: [Puppet Users] Puppet agent is not applying changes

2019-09-27 Thread Dirk Heinrichs
Am Freitag, den 27.09.2019, 03:43 -0700 schrieb Dan Crisp: This file does nothing. All the lines therein are commented out. In fact, I have in the past moved this file out of the way then put it back just to rule out it was doing anything weird. OK, just wanted to make sure it doesn't contain

Re: [EXTERNAL] - [Puppet Users] Puppet agent is not applying changes

2019-09-27 Thread Dan Crisp
This file does nothing. All the lines therein are commented out. In fact, I have in the past moved this file out of the way then put it back just to rule out it was doing anything weird. Dan. On Friday, September 27, 2019 at 10:58:49 AM UTC+1, Dirk Heinrichs wrote: > > Am Donnerstag, den 26.0

Re: [EXTERNAL] - [Puppet Users] Puppet agent is not applying changes

2019-09-27 Thread Dirk Heinrichs
Am Donnerstag, den 26.09.2019, 06:20 -0700 schrieb Dan Crisp: /etc/puppetlabs/code/environments/production: total 20 -rw-r--r--. 1 root root 808 Sep 25 20:47 environment.conf What does this one contain? I don't have these in my environments. Bye... Dirk -- Dirk Heinrichs Senior Systems Engin

Re: [Puppet Users] Puppet agent is not applying changes

2019-09-27 Thread Dan Crisp
Thank you Dirk. However the same issue persists. I even intentionally updated the site.pp with invalid syntax hoping that consequently, the agent run would fail and through a error. The site.pp was updated like so: node default {} include accounts } } Agent still runs: # puppet agent --no

Re: [Puppet Users] Puppet agent is not applying changes

2019-09-27 Thread Dirk Heinrichs
Am Donnerstag, den 26.09.2019, 06:20 -0700 schrieb Dan Crisp: node 'default' { Should be "node default {" HTH... Dirk -- Dirk Heinrichs Senior Systems Engineer, Delivery Pipeline OpenText ™ Discovery | Recommind Phone: +49 2226 15966 18 Email: dhein...@opentext.com

Re: [Puppet Users] Puppet agent is not applying changes

2019-09-27 Thread Dan Crisp
Hello Josh, Thanks for the reply. Still no luck I'm afraid after changing what you suggested. I even changed node to be fqdn (quoted & unquoted) and that didn't work either. Which again makes me think, for some reason, it's not being read due to perhaps being the the wrong place. Thanks, Da

Re: [Puppet Users] Puppet agent is not applying changes

2019-09-26 Thread Josh Cooper
Hi Dan, I think the problem is that default should not be quoted (see https://puppet.com/docs/puppet/latest/lang_node_definitions.html#syntax): If you do node "default", then puppet will only apply the class if the node's fqdn is "default". Josh On Thu, Sep 26, 2019 at 9:55 AM Dan Crisp wrote:

[Puppet Users] Puppet agent is not applying changes

2019-09-26 Thread Dan Crisp
Hello all, Been at this problem I have for nearly a week now and it's driving crazy!!! I hope it's simply a case of someone with some fresh eyes taking a look and showing me the error of my ways. Before I continue with the Puppet deployment, for testing purposes, I just want to create a sin