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

[Puppet Users] ‘Contains’ conditional operator in PQL?

2019-09-27 Thread Daniel Sung
Hello, I have a fact that is an array of strings and I would like to return all certnames that contain an element in that array. I’ve tried to use the in operator but that doesn’t work that way around and ~ does sort of work but it’ll match a substring of an element in the array. What is the be

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

[Puppet Users] Prevent duplicate resources

2019-09-27 Thread Timo Vlot
Hi All, We recently start with Puppet and during our introductory consultancy it was mentioned that there is a "sneaky" way to define a resource (for example a pakcage) in multiple classes that wouldn't cause the "duplicate resource" errors. We have a few classes that rely on the same package b

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

[Puppet Users] Bolt Developer Update (2019/09/27) — The Road to Bolt 2.0

2019-09-27 Thread Nick Lewis
The past few weeks have had some large features in flight and we're finally seeing them land, so it's time for another update. We released Bolt 1.31 and the big news is that our so-called plugin system is now *actually* pluggable! You can now bundle and ship inventory plugins as ordinary Bolt tas

[Puppet Users] Bolt 1.31.1 now available

2019-09-27 Thread puppet-product-updates
Greetings, Bolt 1.31.1 is a bug fix release that addresses spurious plan failures and warnings on startup. For more information, check out the release notes: https://puppet.com/docs/bolt/latest/bolt_resolved_issues.html#spurious-plan-failures-and-warnings-on-startup-1-31-1 To try this version of