[Puppet Users] puppet 4.4 syntax help with nested fact using erb template (solved)

2016-04-13 Thread Aaron D
Hi, I'm trying to get a fact into a file. It worked fine in puppet 3.0.2 but now with 4.4 it doesn't work. It seems I'm not understanding the new syntax or maybe the scope level too? As I was writing this I figured out the solution and am including it here in case others come across the same

Re: [Puppet Users] referencing boolean within puppet manifest

2016-04-13 Thread Mike Reed
Thank you for the explanation Garrett. I've seen similar things like that in my web searches but failed to put it all together. I'll roll with this until we upgrade to 4.0 Cheers, Mike On Tuesday, April 12, 2016 at 6:31:47 PM UTC-7, Garrett Honeycutt wrote: > > On 4/12/16 2:53 PM, Mike Reed

Re: [Puppet Users] how to check existences of a file in a ERB template?

2016-04-13 Thread Sans
That was a brilliant idea!! You are a super-star!! Worked like a charm!! -San On Tuesday, March 29, 2016 at 8:05:23 PM UTC+1, Ramin K wrote: > > I think it's simpler to make PHP do the work because templates are > evaluated on the master. > > if(file_exists('/var/www/<%= @title

Re: [Puppet Users] Puppet enterprise, setup and use different environment for a node

2016-04-13 Thread James Pryor
For PE 2015.x I think you are looking for "*Agent-specified** environment*" https://docs.puppet.com/pe/2015.3/console_classes_groups.html On Apr 13, 2016 10:53 AM, "'Manuela Atoui' via Puppet Users" < puppet-users@googlegroups.com> wrote: > Dear all, > beg your pardon if this question was already

[Puppet Users] windows vs. linux version compatibility

2016-04-13 Thread Vince Skahan
Still confused about the great version renumbering I guess, as well as version compatibility. We have an (admittedly old) linux-hosted 3.7.x server setup ('not' enabling future parser), and want to try to manage some Windows boxes with puppet. Which package do I grab from

[Puppet Users] Error while evaluating a Resource Statement

2016-04-13 Thread Ari
I'm looking to use puppet for OS X management. I have puppet server 4.4.1 running and one OS X device connected to it. I'm trying to deploy simple manifest with module wfarr/osx_defaults. In site.pp I have following osx_defaults { "require pass at screensaver": ensure => present,

Re: [Puppet Users] Official Packages for Ubuntu 16.04 LTS

2016-04-13 Thread Dirk Heinrichs
Am 13.04.2016 um 17:26 schrieb Melissa Stone: > Yes, we are actively working on making a puppet-agent package > available for Xenial. You should see this with the next release of > puppet-agent as long as we don't run into any issues during testing. Great! Thanks a lot. Bye... Dirk --

Re: [Puppet Users] Official Packages for Ubuntu 16.04 LTS

2016-04-13 Thread Melissa Stone
On Wed, Apr 13, 2016 at 12:31 AM Dirk Heinrichs < dirk.heinri...@recommind.com> wrote: > Hi, > > Ubuntu 16.04 LTS (Xenial Xerus) is about to be released soon. Are there > any plans to provide Puppet packages for it (I've currently installed the > Wily packages on the RC)? > Yes, we are actively

[Puppet Users] YUM Local mirror

2016-04-13 Thread Sergiu Cornea
Hello guys, My objective is to create a Puppet managed yum mirror repo. I found the mrepo module by Puppetlabs, however it cannot install mrepo. Does anyone know any other yum repo mirror module, as I am trying to find one but I am unable to do so. Thanks, Sergiu -- This message and its

[Puppet Users] Puppet enterprise, setup and use different environment for a node

2016-04-13 Thread 'Manuela Atoui' via Puppet Users
Dear all, beg your pardon if this question was already answered before, but I'm kind of stuck with this. I want to learn more about environments, the goal is to assign a node to a different environment via the agent's puppet.conf. But no matter what I try, the node is still using the default

[Puppet Users] Re: Announce: The Fourth Generation of example42 Puppet modules

2016-04-13 Thread Alessandro Franceschi
> A blog post with more details and a short historical perspective is here: bit.ly/1Vondee Clickable like for the bit.ly url: http://www.example42.com/2016/04/13/the-fourth-generation-of-example42-puppet-modules/ -- You received this message because you are subscribed to the Google Groups

[Puppet Users] Announce: The Fourth Generation of example42 Puppet modules

2016-04-13 Thread Alessandro Franceschi
It might be interesting for Puppeteers hanging around here that example42 GmbH has just announced its Fourth Generation of Puppet modules. A blog post with more details and a short historical perspective is here: bit.ly/1Vondee The repository of reference,

[Puppet Users] Official Packages for Ubuntu 16.04 LTS

2016-04-13 Thread Dirk Heinrichs
Hi, Ubuntu 16.04 LTS (Xenial Xerus) is about to be released soon. Are there any plans to provide Puppet packages for it (I've currently installed the Wily packages on the RC)? Thanks... Dirk -- *Dirk Heinrichs*, Senior Systems Engineer, Engineering Solutions *Recommind GmbH*,