Re: [Puppet Users] Puppet4 $facts syntax

2017-03-10 Thread Poil
@all, thanks :) Le 10/03/2017 à 14:10, R.I.Pienaar a écrit : On Fri, Mar 10, 2017, at 14:06, Dirk Heinrichs wrote: Am 10.03.2017 um 14:02 schrieb R.I.Pienaar: the first is just wrong OTOH, I mostly use $::facts['fact_name']. this is not needed. The reason you use $::foo is because of the

Re: [Puppet Users] Puppet4 $facts syntax

2017-03-10 Thread Dirk Heinrichs
On 10.03.2017 14:10, R.I.Pienaar wrote: > You can never cause the problem that raised the need for $::facts to > exist, you can just use $facts and it's all sweet and > In general with Puppet 4 the needs for all the :: stuff is almost all gone Ah, good to know. Thanks for clarifying. Bye...

Re: [Puppet Users] Trigger options minutes_interval and minutes_duration don't work in PE version 2016.1.1

2017-03-10 Thread Rob Nelson
While PE 2016.1.1 runs Puppet 4.4, not 4.9 ( https://docs.puppet.com/pe/2016.2/overview_version_table.html#puppet-enterprise-2016x, https://docs.puppet.com/puppet/4.4/type.html#scheduledtask), the trigger options look to have been added in 4.1 so you should be covered. Are your agents running the

Re: [Puppet Users] Puppet4 $facts syntax

2017-03-10 Thread R.I.Pienaar
On Fri, Mar 10, 2017, at 14:06, Dirk Heinrichs wrote: > Am 10.03.2017 um 14:02 schrieb R.I.Pienaar: > > > the first is just wrong > > OTOH, I mostly use $::facts['fact_name']. this is not needed. The reason you use $::foo is because of the problem here: $foo = "top" class

Re: [Puppet Users] Puppet4 $facts syntax

2017-03-10 Thread Dirk Heinrichs
Am 10.03.2017 um 14:02 schrieb R.I.Pienaar: > the first is just wrong OTOH, I mostly use $::facts['fact_name']. Bye... Dirk -- *Dirk Heinrichs* Senior Systems Engineer, Delivery Pipeline OpenText^TM Discovery | Recommind *Email*: dirk.heinri...@recommind.com

Re: [Puppet Users] Puppet4 $facts syntax

2017-03-10 Thread R.I.Pienaar
On Fri, Mar 10, 2017, at 13:05, Poil wrote: > Hi, > > In the style guide we have $facts[::operatingsystem] > > In all others documentation we have $facts['fact_name'] > > So which one is the good one ? Do we really need to scope inside > $facts[::scope] Easily answered: % puppet apply

[Puppet Users] Puppet4 $facts syntax

2017-03-10 Thread Poil
Hi, In the style guide we have $facts[::operatingsystem] In all others documentation we have $facts['fact_name'] So which one is the good one ? Do we really need to scope inside $facts[::scope] ? Best regards, -- You received this message because you are subscribed to the Google Groups

Re: [Puppet Users] Integrating Puppet (v3.8) with Vault as the Puppet Master CA?

2017-03-10 Thread waz0wski
> But I have need for a CA for other purposes anyway, so I've been, for the > last year (on and off), looking into Hashicorps Vault. > Are you hard-set on using Vault? I use FreeIPA , which includes PKI management (via Dogtag