Re: [Puppet Users] Puppet 5 Stdlib IP address parsing

2018-02-14 Thread R.I. Pienaar
Use the Stdlib::Compat::Ipv4, ::Ipv6 and ::Ip_address data types --- R.I.Pienaar > On 15 Feb 2018, at 01:41, John Baird wrote: > > > According to the stdlib docs, "is_ip_address" is deprecated. There is no > mention of how to replace it without using "validate_legacy" which itself > will u

[Puppet Users] Puppet 5 Stdlib IP address parsing

2018-02-14 Thread John Baird
According to the stdlib docs, "is_ip_address" is deprecated. There is no mention of how to replace it without using "validate_legacy" which itself will ultimately be deprecated. Is there a better/proper approach to validating IPv4 and/or IPv6 syntax with Puppet 5 ? ` is_ip_address *Deprecate

[Puppet Users] Announce: Puppet Platform 5.4.0 is now available

2018-02-14 Thread Molly Waggett
Puppet Platform 5.4.0 is a feature release that adds agent support for FIPS-compliant platforms, improves filebucket handling, improves several Puppet language features and adds new functions and types, improves PuppetDB performance, and adds new profiling features to Puppet Server. For details, se

[Puppet Users] containment questions

2018-02-14 Thread Peter Bauer
hi, i was recently bitten by ordering issues caused by missing contain/anchor declarations in a PostgreSQL module which should have finished its job before configuring and starting the PuppetDB which is done by another module. So here are my questions: - is it possible to use the contain functio

[Puppet Users] does puppetdb 4.x handle brief postgresql backend outage

2018-02-14 Thread Peter Bauer
I have an older version, however PuppetDB reconnects on the first Agent run so the first one fails but subsequent runs will succeed. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from i

[Puppet Users] 'require' option is ignored?

2018-02-14 Thread buoyant_puppy
This is an example I found online that would do what I want: check if a dir exists and if so, do something: class foo { exec { "is foo present": command => "/bin/true", onlyif => "/usr/bin/test -d /foo" } file { "create a file if dir foo is present": path => "/path/otherfoo",