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: [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: [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: