Re: [Puppet Users] Puppet Manifest using to_json_pretty help

2021-12-07 Thread Martin Alfke
class demo ( Array[Hash] $para5, ){ file { '/etc/example.json’: ensure => file, content => to_json_pretty({ section1 => { para1 => somevalue, para2 => somevalue, para3 => somevalue, para4 => somevalue, para5 => $para5, }, true), }

[Puppet Users] Puppet Manifest using to_json_pretty help

2021-12-07 Thread David Pearson
Hi Team, I have a file resource within a manifest that uses content => to_json_pretty to create a json config file on all nodes successfully. I need to improve the code so that a section of the config is unique per server, but unsure on the best way to do this in the current format. In the ex

Re: [Puppet Users] Puppet for RHEL 9 - when will it be available?

2021-12-07 Thread Nacho Barrientos
Hi, Yasmin Rajabi writes: > Hello! > > We are currently working on the rhel 9 beta agent, hoping to have that in > the nightlies soon. Centos stream support is tentative for early next > year. For info we've already got local builds of 7.x for CentOS Stream 9. Early stages, though. [0] might be