Re: [Puppet Users] Facter via cron hanging on RHEL5

2014-10-21 Thread Wil Cooley
On Oct 21, 2014 8:41 AM, "Paul Seymour" wrote: > Thanks. It's a little tricky to do as it always comes back with a "wait4" call if attaching to the hung process. Will try and capture it. `wait4` would indicate it's waiting for a child process; I would try to figure out what the child is doing by

[Puppet Users] PuppetDB 2.2.2 is now available

2014-10-21 Thread Ryan Senior
PuppetDB 2.2.2 - October 21, 2014 PuppetDB 2.2.2 Downloads Available in native package format in the release repositories at: http://yum.puppetlabs.com and http://apt.puppetlabs.com For information on how to enable the Puppet Labs repos, see: http://docs.puppetlabs.com/g

[Puppet Users] Fwd: Announce: Puppet Strings 0.1.1 Released

2014-10-21 Thread Hailee Kenney
We’re happy to announce the latest release of the strings module. Strings 0.1.1 is a backward-compatible bugfix release. It mainly includes changes to documentation, but fixes one pretty major bug those of you using the future parser would have encountered (PDOC-14). *The module can be found

[Puppet Users] Announce: Puppet Server 0.3.0 available!

2014-10-21 Thread Eric Sorenson
This is the first feature update since the initial Puppet Server release. Notable user-facing improvements are: * (SERVER-18, SERVER-39) Puppet Server now supports externally-terminated SSL in the same way as external termination on Apache+Passenger does. * (SERVER-4) Improve error messages

[Puppet Users] Parallel deploy apps on the same node

2014-10-21 Thread sych
Hello! I want to parallel deploy apps on the same node from the puppet. How to do it? Thanks in advance, Gena -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: [Puppet Users] How can Puppet query from Sybase - Facter or Hiera?

2014-10-21 Thread Stella
Hi cwebber, Thank you for the detail example! I finally figured out how to do this. Very simple. https://docs.puppetlabs.com/facter/2.0/custom_facts.html#external-facts With recent versions of facter, you can create external facts using any executable format, or even simple yaml or text files,

[Puppet Users] It's possible create fact search messages error

2014-10-21 Thread New
Hello I need create fact that check the messages log and find any error with every execution of puppet. The objective is check if any error appear in any execution of puppet and return the name of the class fail. Thanks!!! -- You received this message because you are subscribed to the Google G

Re: [Puppet Users] How can Puppet query from Sybase - Facter or Hiera?

2014-10-21 Thread Christopher Webber
Assuming the libraries to connect to sybase from ruby exist… you could just write a custom function. https://docs.puppetlabs.com/guides/custom_functions.html so basically you want to do something like: $workgroup = sybase_workgrou

Re: [Puppet Users] Facter via cron hanging on RHEL5

2014-10-21 Thread Paul Seymour
On Monday, 20 October 2014 17:20:23 UTC+1, Wil Cooley wrote: > > > On Oct 20, 2014 1:41 AM, "Paul Seymour" > > wrote: > > > > This didn’t happen with 1.6.x which was our previous version.And I > cannot find a RHEL6 host with this issue. So I suspect Ruby here. Any ideas > anyone ? > > Run `str

Re: [Puppet Users] How can Puppet query from Sybase - Facter or Hiera?

2014-10-21 Thread Stella
Hi Johan, Thank you very much for the information. I am not using the machine information from Sybase to do node classification in puppet. My node classification is done by Puppet Dashboard. My Sybase database doesn't contain any puppet class information. It contains the hostname and the

[Puppet Users] Re: very basic beginner problem

2014-10-21 Thread jcbollinger
On Monday, October 20, 2014 7:02:36 PM UTC-5, gau...@indoaustinvestments.com wrote: > > So are you saying that running puppet apply site.pp shouldn't propagate > changes to the agents? > > Yes, that is exactly what I am saying. The "puppet apply" command causes a catalog to be compiled *by*

[Puppet Users] Re: One puppet run divided to two puppet runs

2014-10-21 Thread jcbollinger
On Monday, October 20, 2014 8:46:42 AM UTC-5, artur.da...@ammeon.com wrote: > > The issue that i don't fully understand is why the puppet run seems to > finish: > > Oct 8 19:58:07 node2 puppet-agent[18912]: > (/Stage[main]/Task_node2__package___45_58_54_52_2dlsbwrapper4/Package[EXTR-lsbwrapper

[Puppet Users] Re: Can I close Puppet SSL function?

2014-10-21 Thread jcbollinger
On Monday, October 20, 2014 8:12:30 PM UTC-5, Richard wrote: > > thanks, i want to use the ip address as the hostname in kick command,like > kick -p 10 --host 192.168.1.101, but this ssl verify failed. the ip of > every computer probable be changed at any time , so i can't use the ip as > the

Re: [Puppet Users] Re: Hash of hashes to file template

2014-10-21 Thread Felix Frank
On 10/07/2014 03:21 PM, jcbollinger wrote: > Can it be a Ruby version thing? > > > > Yes. Hash.each_pair() is new in Ruby 1.9. Uhm, no :-) That would have been bad news for my master. http://www.ruby-doc.org/core-1.8.7/Hash.html#method-i-each_pair Also, Hash.each should be functionally e

Re: [Puppet Users] Packages via puppet

2014-10-21 Thread Werner Flamme
AAB !! [21.10.2014 13:07]: > Thanks for you answer, could you give me example ? What will be its syntax ? I do not use Debian, but using a search engine with "puppet debian responsefile" lead me straight to . HTH, Werner --

Re: [Puppet Users] Packages via puppet

2014-10-21 Thread AAB !!
Thanks for you answer, could you give me example ? What will be its syntax ? On Tuesday, October 21, 2014 12:47:45 PM UTC+2, Martin Alfke wrote: > > The package provider has a response file attribute. > > puppet describe package: > > - **responsefile** > A file containing any necessary ans

[Puppet Users] Re: resource file with option source or content depending if source does exist

2014-10-21 Thread Andreas Dvorak
Hi, thank you, the line content => $a ? { '' => template($template), default => $a } solves my problem. Best regards, Andreas -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, se

Re: [Puppet Users] Packages via puppet

2014-10-21 Thread Martin Alfke
The package provider has a response file attribute. puppet describe package: - **responsefile** A file containing any necessary answers to questions asked by the package. This is currently used on Solaris and Debian. The value will be validated according to system rules, but it shou

[Puppet Users] Packages via puppet

2014-10-21 Thread AAB !!
Hi, Many packages have many questions during installation, how can I answer those when installing them via puppet ? apt-get install xyz has many question about the package I am installing, how would I do it via puppet ? Regards -- You received this message because you are subscribed to the Go