Re: [Puppet Users] Style - hiera/params/puppet/template

2014-08-31 Thread Atom Powers
Poli, that doesn't really solve the problem since the variable values could still come from many places. (Puppet also does some of that lookup automatically, although not as deep.) This may be relevant: https://github.com/ripienaar/puppet-module-data/ I still used parameterized classes with an in

Re: [Puppet Users] Re: Puppet logging agent/master

2014-08-31 Thread Walid
Hi Martijn are you using the logstash reporter https://github.com/logstash/puppet-logstash-reporter , would it be possible to share your puppet kibana dashboards, and logstash.conf file regards Walid On 27 August 2014 19:54, Martijn wrote: > We still use Puppet Dasboard (with PuppetDB) to ge

Re: [Puppet Users] run script after something changed an env variable (PATH)

2014-08-31 Thread Felix Frank
On 08/28/2014 11:17 AM, Massimo Galbusera wrote: > I could hardcode the new path since i know which version of ruby i've > installed: > > | > exec { 'start mailcatcher': > command => "mailcatcher --http-ip=0.0.0.0", > require => Rvm_gem['mailcatcher'], > cwd => "/usr/local/rvm/ruby-1.9.3-p547

Re: [Puppet Users] managing debian alternatives

2014-08-31 Thread Felix Frank
On 08/29/2014 07:42 AM, daryl wiest wrote: > 1. How can I debug what is going on with that statement? making it an > unless, it always runs, making it an onlyif, it never runs, so > something is not working with the Try puppet agent --test --debug > comparison. Is there something different I sh

Re: [Puppet Users] creating custom facts - general usage

2014-08-31 Thread Felix Frank
Hi, On 08/30/2014 12:05 AM, Mike Reed wrote: > network-hostname/role-number (ie. home-elastic-01/work-mysql-02) are you sure that it's safe to include slashes in host names? Does that not clash with some internet standard? > I've written a very simple fact to start with that looks like this > (

Re: [Puppet Users] puppet rspec with hiera helper, fails with error when class is parameterized

2014-08-31 Thread Martin Alfke
Hi Manish, On 29.08.2014, at 14:07, Manish Sapariya wrote: > Hi, > I have two classes as posted in this gist. > > https://gist.github.com/msapariya/eca9f77c9f560f8a0e57 > > kp_ls derives from params and defines two variables. > > I am using hiera-puppet-helper in my specs to run hiera > relat