[Puppet Users] Problem querying PuppetDB from within a Puppet class

2019-02-28 Thread Dirk Heinrichs
Hi, following the example in the PuppetDB documentation, I tried this code: $debian_nodes_query = 'nodes[certname]{facts{name = "operatingsystem" and value = "Debian"}}' $debian_nodes = puppetdb_query($debian_nodes_query).each |$value| { $value["certname"] } Notify {"Debian nodes": message

Re: [Puppet Users] Problem querying PuppetDB from within a Puppet class

2019-02-28 Thread Henrik Lindberg
On 2019-02-28 13:37, Dirk Heinrichs wrote: Hi, following the example in the PuppetDB documentation, I tried this code: $debian_nodes_query = 'nodes[certname]{facts{name = "operatingsystem" and value = "Debian"}}' $debian_nodes = puppetdb_query($debian_nodes_query).each |$value| { The line a

Re: [Puppet Users] Problem querying PuppetDB from within a Puppet class

2019-02-28 Thread Dirk Heinrichs
Am Donnerstag, den 28.02.2019, 13:53 +0100 schrieb Henrik Lindberg: On 2019-02-28 13:37, Dirk Heinrichs wrote: following the example in the PuppetDB documentation, I tried this code: $debian_nodes_query = 'nodes[certname]{facts{name = "operatingsystem" and value = "Debian"}}' $debian_nodes = pupp

[Puppet Users] Re: Upcoming Red Hat Enterprise Linux 6 and 7(s390x architecture) removal

2019-02-28 Thread jcbollinger
On Wednesday, February 27, 2019 at 11:29:24 AM UTC-6, gheorghe...@puppet.com wrote: > > Red Hat Enterprise Linux 6 and 7, s390x architecture. > > These platforms will no longer be included in future puppet-agent releases > and will be deprecated in the next PE. > > > Please confirm: I think you

Re: [Puppet Users] Problem querying PuppetDB from within a Puppet class

2019-02-28 Thread Henrik Lindberg
On 2019-02-28 14:46, Dirk Heinrichs wrote: Am Donnerstag, den 28.02.2019, 13:53 +0100 schrieb Henrik Lindberg: On 2019-02-28 13:37, Dirk Heinrichs wrote: following the example in the PuppetDB documentation, I tried this code: $debian_nodes_query = 'nodes[certname]{facts{name = "operatingsyste

Re: [Puppet Users] Problem querying PuppetDB from within a Puppet class

2019-02-28 Thread Henrik Lindberg
On 2019-02-28 16:12, Henrik Lindberg wrote: Where in documentation did you get that example? It is wrong so needs to be corrected. You definitively need to use `map` to map the result to what you want. Already fixed in later versions of the documentation: ticket is here: https://tickets.puppet

[Puppet Users] Re: Upcoming Red Hat Enterprise Linux 6 and 7(s390x architecture) removal

2019-02-28 Thread Geoff Nichols
On Thursday, February 28, 2019 at 6:09:52 AM UTC-8, jcbollinger wrote: > > > > On Wednesday, February 27, 2019 at 11:29:24 AM UTC-6, > gheorghe...@puppet.com wrote: >> >> Red Hat Enterprise Linux 6 and 7, s390x architecture. >> >> These platforms will no longer be included in future puppet-agent

Re: [Puppet Users] Puppet Platform 6.3.0 is now available!

2019-02-28 Thread Simon Tideswell
Hello Was puppet DB 6.3.0 and Puppet server 6.3.0 withdrawn? I've had puppet-agent 6.3.0 deploy in my environment from apt.puppetlabs.com but not DB or server. And looking at apt.puppetlabs.com today in my browser I can see that 6.3.0 is not available? I'm using Ubuntu 18 (bionic). Is this a CDN

Re: [Puppet Users] Puppet Platform 6.3.0 is now available!

2019-02-28 Thread Molly Waggett
Hi Simon, Puppetserver and PuppetDB versions do not necessarily match the overall Puppet Platform version. Puppet Platform 6.3.0 includes puppetserver 6.2.1. It did not include a new release of puppetdb. Hope that helps! On Thu, Feb 28, 2019 at 4:25 PM Simon Tideswell wrote: > Hello > > Was pu