[Puppet Users] Re: Puppet .... ruby regex

2016-08-03 Thread Alex Samad
so got to this $pp_shortcertname= "${trusted['certname']}".match(/([^.]+)\./)[1] not sure I fully understand why this works and [] doesn't. Not 100% sure I understand what the [1] does ! A On Thursday, 4 August 2016 16:17:55 UTC+10, Alex Samad wrote: > > Hi > > I want to take ${trusted['certna

[Puppet Users] Puppet .... ruby regex

2016-08-03 Thread Alex Samad
Hi I want to take ${trusted['certname']} and extract the hostname short form from it. so if i had thisbox.abc.com.au. I would like to get just thisbox I have tried this $pp_shortcertname= "${trusted['certname']}[/bitbucket/]" doesn't work , tried this $pp_shortcertname= "${trusted['certname

Re: [Puppet Users] Basic question

2016-08-03 Thread Warron French
Thanks Sandbeck, that was a very useful link, once I read down towards the bottom! I appreciate it. On 7/21/2016 8:44 AM, Stig Sandbeck Mathisen wrote: "warron.french" writes: Is it possible to extract a tarball using the puppet module, and then set the permission of all the directory afte

Re: [Puppet Users] Re: Basic question

2016-08-03 Thread Warron French
Thanks Russell. On 7/21/2016 8:27 AM, Russell Anderson wrote: You could probably use a combination of "file {}" to place the tarball on the target node, and "exec {}" to unpack it and set permissions, using the "creates" parameter. https://docs.puppet.com/puppet/latest/reference/type.html#ex

Re: [Puppet Users] Puppet web server stops after being started

2016-08-03 Thread 'Michael Wildey' via Puppet Users
Ok, I did it now in foreground, just like you told me. What I have done before is that I changed the webserver.conf just like it is described here >>https://docs.puppet.com/puppetserver/latest/external_ca_configuration.html#web-server-configuration<< The output is attached. Thanks for your hep

Re: [Puppet Users] Announce: Ruby 2.3 update planned for puppet-agent 1.6.0

2016-08-03 Thread Francois Lafont
Hi, On 02/08/2016 14:44, R.I.Pienaar wrote: > There are still people who do not use puppetserver but passenger. Ok, indeed, in this case the migration can have bigger impact. But with puppetserver , am I wrong if I say that the only thing which can be impacted by this migration is the custom fac