[Puppet Users] what's the syntax for converting the yaml of facts into a hash table?

2013-04-13 Thread Larry Fast
Hope I'm not being too thick about this but I'm having trouble creating a Hash from my server's Facts. I've tried the following: facts = File.read( "#{puppetdir}/yaml/facts/#{certname}.yaml" ) factH = YAML.load( facts ) # fails factH = YAML.load( facts ).to_hash # fails I

Re: [Puppet Users] facter doesn't load from /ect/facter/facts.d

2013-04-13 Thread Dan White
On the linked page ! First two sub-headings are “Versions” and “Compatibility” On Apr 13, 2013, at 5:46 PM, Larry Fast wrote: > Thanks Dan, > I shall hunt down the elusive pixie dust! BTW, do you know where to look for > a compatibility tree between stdlib and puppet version? > Cheers, > Larr

Re: [Puppet Users] facter doesn't load from /ect/facter/facts.d

2013-04-13 Thread Larry Fast
Thanks Dan, I shall hunt down the elusive pixie dust! BTW, do you know where to look for a compatibility tree between stdlib and puppet version? Cheers, Larry On Sat, Apr 13, 2013 at 2:38 PM, Dan White wrote: > I can speak directly on this ! > > You want http://forge.puppetlabs.com/puppetlabs/

Re: [Puppet Users] facter doesn't load from /ect/facter/facts.d

2013-04-13 Thread Dan White
I can speak directly on this ! You want http://forge.puppetlabs.com/puppetlabs/stdlib/3.2.0 This has the /etc/facter/facts.d/* Magic Pixie Dust in it. I just went thru a brief panic attack when I updated to Facter 1.7 and puppetlabs-stdlib 4.0.2 ! The changelog says "Remove facter_dot_d for com

Re: [Puppet Users] facter doesn't load from /ect/facter/facts.d

2013-04-13 Thread Larry Fast
> From that page: "External facts are only available in Facter 1.7 and later." > I expect you need to either upgrade or install the stdlib module. Thanks for that. I knew I missed something. ... but tell me more about the stdlib option. I'm a bit leery of depending on the first RC of facter 1

[Puppet Users] run/exec a script from puppet dashboard on multiple servers?

2013-04-13 Thread shpongle man
hey, is there a way to run/exec a script on multiple servers manually from the puppet dashboard? i have several servers running my java application and i need the ability to start them all or stop them all manually from the dashboard . thanks or -- You received this message because you are s

[Puppet Users] Conditional based on whether package is part of the manifest

2013-04-13 Thread Martin Rio
1. class myssl { 2.* ... code that puts certificate files in place * 3. 4.* if package https is installed {* 5. class {'apache::mod::ssl': }<- enables Apache's mod_ssl 6. } 7. } In the module above, I'm setting up SSL certificates on a server, and I'd like to to enabl

Re: [Puppet Users] Re: Understanding how Puppet SSL works !

2013-04-13 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > Thanks for the reply. It turns out "puppet cert clean" is not good > enough, one has to restart either puppetmaster or the httpd service > (I am running puppetmaster behind apache) to clean it up from > memory. Yes, this is a long outstanding bug in

Re: [Puppet Users] Question on Variable Scope

2013-04-13 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > Is there a way to export a $variable from a node so it can be read > when the node processes one of its inherited modules? Is there > something I can put in the inherited node like import $variable > before the included modules execute? > > FYI run

Re: [Puppet Users] facter doesn't load from /ect/facter/facts.d

2013-04-13 Thread Keith Burdis
>From that page: "External facts are only available in Facter 1.7 and later." I expect you need to either upgrade or install the stdlib module. - Keith On 13 Apr 2013 15:18, "Larry Fast" wrote: > I'm trying to load custom facts via /etc/facter/facts.d/* according to > instructions on > http:

Re: [Puppet Users] facter doesn't load from /ect/facter/facts.d

2013-04-13 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > Is there a setting or search path I need to create? > > Details: > > puppet 3.0.1 facter 1.6.14-1.el6 I don't think this is supported in facter 1.6. One used to have the stdlib module for it until facter 1.7 should be released, which will provide

[Puppet Users] Re: Windows Puppet waits for , then warns "Facter::Util::Resolution.exec with a shell built-in is deprecated"

2013-04-13 Thread Paul Tötterman
Hi, How do I fix/disable this warning? > It seems like you've added some extra facter facts? They seem to be implemented incorrectly. Remove the problematic one. Cheers, Paul -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe fr

[Puppet Users] facter doesn't load from /ect/facter/facts.d

2013-04-13 Thread Larry Fast
I'm trying to load custom facts via /etc/facter/facts.d/* according to instructions on http://docs.puppetlabs.com/guides/custom_facts.html#structured-data-facts I must have missed a setting somewhere because I get nothing. The first clue may be that /etc/facter didn't exist. I had to create i

[Puppet Users] push puppet agent from dashboard

2013-04-13 Thread Francesco
Excuse me When I add node from the dashboard is there any possibility to push puppet-agent to the client ?? Thank you in advance!!! Francesco -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emai