[Puppet Users] Re: variables created with generate() function have a newline when used in a template

2012-12-13 Thread Sven vd
This works when using the variable inside a template. But I want to use the variable in an Exec command. How to remove the newline here? .chomp does not seem to work here. THanks On Sunday, December 26, 2010 1:43:26 PM UTC+1, bowlby wrote: Thanks, both of you! That solved it. Merry

[Puppet Users] Re: variables created with generate() function have a newline when used in a template

2012-12-14 Thread Sven vd
Thanks for your complete answer! I used the inline_template method which is good enough for me On Friday, December 14, 2012 3:17:24 PM UTC+1, jcbollinger wrote: On Thursday, December 13, 2012 9:48:44 AM UTC-6, Sven vd wrote: This works when using the variable inside a template. But I

Re: [Puppet Users] augeas umask and /etc/sysconfig/init

2013-10-29 Thread Sven vd
I have the same problem. The goal is to append umask 027 without the = to the end of the /etc/sysconfig/init file according to NIST rules. However the augeas lens is not made to handle this, only shell vars syntax is allowed. If you want to workaround this via a erb template and you have other

Re: [Puppet Users] same hiera data across multiple profiles

2017-06-16 Thread Sven vd
Or you could share ssdata between hiera keys in the environment hiera with https://docs.puppet.com/hiera/3.3/variables.html#the-alias-lookup-function On Wednesday, June 14, 2017 at 10:05:13 PM UTC+2, Christopher Wood wrote: > > Thank you, had forgotten about that one, it's a good read. > > I'm

Re: [Puppet Users] Puppet 4 EOL?

2018-02-12 Thread Sven vd
Close, the PE2016.4 LTS uses Puppet 4 and is supported through October > 2018. > > --eric0 > > On Monday, February 12, 2018 at 9:15:20 AM UTC-8, R.I. Pienaar wrote: >> >> >> >> On Mon, 12 Feb 2018, at 17:43, Sven vd wrote: >> > Hi, >> > >

[Puppet Users] Puppet 4 EOL?

2018-02-12 Thread Sven vd
Hi, Currently our infrastructure and code is written with and run by puppet 4 opensource. We are using https://yum.puppetlabs.com/el/7/PC1/x86_64/ repos for updates of our installed software, puppetserver, puppetdb, puppet agent. Since puppet 5 was released the puppet 5 packages shifted to