Re: [Puppet Users] Creating a system module path (starting with Telly)

2012-04-29 Thread John Warburton
+1 A couple of requests: - Notifications on module updates: https://projects.puppetlabs.com/issues/12587 - Testing - I'd like to confirm these module paths support environments John On 24 April 2012 07:03, Michael Stahnke wrote: > There was some discussion and concern about moving the Nagios >

[Puppet Users] Re: problem loading page

2012-04-29 Thread kc
I've checked the logs in /usr/share/puppet-dashboard/log delayed_job.log 2012-04-27T21:02:35+: [Worker(delayed_job.0 host: pid:25507)] Report.create_from_yaml_file completed after 0.3300 2012-04-27T21:02:35+: [Worker(delayed_job.0 host: pid:25507)] 1 jobs processed at 2.9742 j/s, 0 fail

[Puppet Users] How to publish unstandard packages in puppet

2012-04-29 Thread Shoujin Wang
I have some old packages which was not in standard RPM/DEB packages. We have our own deployment process likes this: All the packages are in a directory, which likes the following: /opt/package/pkg-aa/ /readme.txt /install.sh

Re: [Puppet Users] Re: trouble w/ Foreman as ENC, agents and environments

2012-04-29 Thread Brian Gupta
Just to make sure, when you run node.rb does it return foreman_env in the parameters stanza, the expected classes and a proper reference to the foreman_env in the environment stanza? Cheers, Brian On Fri, Apr 27, 2012 at 3:45 PM, droog72 wrote: > Hi Ohad, > > Sorry, I'm not really seeing anythin

Re: [Puppet Users] Is there a way to see find out if a module is installed for use?

2012-04-29 Thread Len Rugen
I've used something like this: Facter.add(:zabbix_version) do setcode do output = %x{/bin/rpm -qa --queryformat "%{VERSION}" zabbix-agent} end end But rpm queries can be expensive. On Sun, Apr 29, 2012 at 2:42 AM, Peter Foley wrote: > Hi List, > > Is there a puppet command to find out

[Puppet Users] Re: Puppet stdlib - Is there a validate_in function

2012-04-29 Thread Krzysztof Wilczynski
Hi, On Sunday, April 29, 2012 3:25:48 PM UTC+1, Peter wrote: > > Hi KW, > > On Apr 29, 4:30 am, Krzysztof Wilczynski > wrote: > > Hi, > > > > > I was hoping that I could just simply do a: > > > validate_in($::{ensure}, $::{valid_ensure_values}) > > > > How would that be different than u

[Puppet Users] Re: Puppet stdlib - Is there a validate_in function

2012-04-29 Thread Peter
Hi KW, On Apr 29, 4:30 am, Krzysztof Wilczynski wrote: > Hi, > > > I was hoping that I could just simply do a: > >   validate_in($::{ensure}, $::{valid_ensure_values}) > > How would that be different than using the "in" in your if statement? :) > Or, what is wrong with using if? Unless I am missi

Re: [Puppet Users] Installing Jenkins with Puppet fails to import GPG key

2012-04-29 Thread Michael Harris
On Friday, 27 April 2012 15:15:34 UTC+10, denmat wrote: > > Well, the good news is you're not crazy :) > At least, this isn't evidence that I'm crazy, but I still could be :) Thanks for following up, and offering an alternative, I appreciate it. -- You received this message because you are su

[Puppet Users] Is there a way to see find out if a module is installed for use?

2012-04-29 Thread Peter Foley
Hi List, Is there a puppet command to find out what modules are available for use or at least a module to return a boolean value if you pass it a module name you wish to use? I am looking to do something like: if is_module_available(stdlib) { # Use stdlib capability } else { # Use my own ver