[Puppet Users] Bolt 1.10.0 now available

2019-01-16 Thread Puppet Product Updates
Greetings! We're happy to announce the release of Bolt 1.10.0. Highlights in this release include: - Hyphens allowed in aliases and group names - Secured download of the `puppet_agent::install_powershell` task For more information, check out the release notes:

Re: [Puppet Users] Concerns about Puppet 4 master serving Puppet 3 clients

2019-01-16 Thread Eric Sorenson
You're correct John - Puppet 4 masters using Puppet Server will work with Puppet 3 agents. If the catalog compiles (Henrik's point), the agent/master comms will be fine. Note the same is not true for Apache/Passenger based Puppet 4 setups - the URL rewriting that enables the compatibility is

Re: [Puppet Users] Ternary operator in puppet ?

2019-01-16 Thread Henrik Lindberg
On 2019-01-16 11:18, Karsten Heymann wrote: Hi Albert, Am Mi., 16. Jan. 2019 um 11:09 Uhr schrieb Albert Shih : Is they are something like the ruby ternary operator ?: in puppet ? Sort of, it's called selectors: https://puppet.com/docs/puppet/5.3/lang_conditional.html#selectors You can

Re: [Puppet Users] Ternary operator in puppet ?

2019-01-16 Thread Karsten Heymann
Hi Albert, Am Mi., 16. Jan. 2019 um 11:09 Uhr schrieb Albert Shih : > Is they are something like the ruby ternary operator ?: in puppet ? Sort of, it's called selectors: https://puppet.com/docs/puppet/5.3/lang_conditional.html#selectors Unfortunately one of the most useful cases (inside class

[Puppet Users] Ternary operator in puppet ?

2019-01-16 Thread Albert Shih
Hi, Is they are something like the ruby ternary operator ?: in puppet ? I would like to do something like $value = $hash.has_key('key') ? $hash('key') : $default_value instead of if $hash.has_key('key') { $value = $hash('key') } else { $value = $default_value } to