Re: [Puppet Users] Re: Puppet 4: default value of a parameter in a module and dependency

2015-12-04 Thread Francois Lafont
Hi John, Sorry for my late answer, right now I'm pretty busy. ;) On 02/12/2015 15:18, jcbollinger wrote: > On Tuesday, December 1, 2015 at 11:26:15 PM UTC-6, François Lafont wrote: > > >> No, no. You can see >> http://puppet-on-the-edge.blogspot.fr/2015/01/puppet-40-data-in-modules-and.html

Re: [Puppet Users] Re: Using Package and Yumrepo together? Why is yumrepo creating a corrupt .repo file?

2015-12-04 Thread Stefan Lasiewski
I'm trying Augeas as a workaround. This seems to work as expected-- the Package is installed first, and the file is modified second. class stefanl::remi ( $ensure = 'latest',

Re: [Puppet Users] Re: Puppet 4: default value of a parameter in a module and dependency

2015-12-04 Thread Francois Lafont
On 02/12/2015 23:55, Henrik Lindberg wrote: >>> In Puppet 4.3.0 we also added the ability to use hiera data in modules. >> >> Same remark: can you explain a little? > > Start here: > https://docs.puppetlabs.com/puppet/4.3/reference/release_notes.html#new-feature-puppet-lookup Thanks for the lin

[Puppet Users] Puppet Exec resource with complex Environment Variables...

2015-12-04 Thread Sean
Greetings, I am working on streamlining some older puppet code, that uses a lot of Exec resources to accomplish it's purposes. It's not terribly elegant and we're working on design to replace it with code that leverages puppet features. One of the pieces I'm struggling with is how to set comp

Re: [Puppet Users] Custom facts per node.. only via /etc/facter/facts.d/fact_xyz.txt per node?

2015-12-04 Thread Luke Bigum
An ENC can be used to insert a sort of "Puppet Master defined Fact" (which is actually a top scope variable/parameter) before catalog compilation. Note that this will never appear in "facter -p" on the Agents, because it's not really a Fact. Code: https://gist.github.com/lukebigum/20231e70545a

[Puppet Users] Custom facts per node.. only via /etc/facter/facts.d/fact_xyz.txt per node?

2015-12-04 Thread Hubert Schmoll
Hello everyone, here's what i wanna accomplish: i am havin 4 so called servergroups - ci - dev - stage - production and i want them to have specific facts depending on the group they are in. so in every node i created a file /etc/facter/facts.d/servergroup.txt, containing e.g. *servergroup=st

[Puppet Users] Re: why does the create_resource functio not contain in local scope?

2015-12-04 Thread jcbollinger
On Thursday, December 3, 2015 at 11:09:47 PM UTC-6, Haani Niyaz wrote: > > Thanks for the clarification. I did forget to mention that I tried the > ordering of my classes as well: > > class { 'server_packages': > # list of packages > server_packages => hiera('server_packages'), > e

Re: [Puppet Users] Geppetto + Github,com configurations

2015-12-04 Thread Henrik Lindberg
On 2015-04-12 6:58, Warron French wrote: Hello, I am trying to learn how to write Puppet Modules. I have taken the free training within the PuppetLabs Learning VM (which was very informative, and self-paced) and wanted to use my Windows 7 machine where I have installed Geppetto-4.3.1. I already