Re: [Puppet Users] Re: trouble getting list of nodes via PE 3.7 Rest API

2014-12-22 Thread Russell Cecala
Yep. Thanks all! On Mon, Dec 22, 2014 at 1:59 PM, Eric Sorenson wrote: > Looks like you got some good responses on your Ask question... All good > now? > > > On Tuesday, December 16, 2014 3:22:26 PM UTC-8, red wrote: >> >> I guess I really don't need to list the nodes. I just wanted to try out

Re: [Puppet Users] puppetdb org.postgresql.util.PSQLException

2014-12-22 Thread Wyatt Alt
Hey Fabio, Got a few questions: Did you have PuppetDB running properly before you started seeing this issue or are you still setting it up? Does it persist after postgres and PuppetDB are restarted? When you restart PDB and use it, does it immediately produce this error or does it work for

[Puppet Users] Re: trouble getting list of nodes via PE 3.7 Rest API

2014-12-22 Thread Eric Sorenson
Looks like you got some good responses on your Ask question... All good now? On Tuesday, December 16, 2014 3:22:26 PM UTC-8, red wrote: > > I guess I really don't need to list the nodes. I just wanted to try out > the PE3.7 rest api. What I really need to be able to do is add > nodegroups. I

Re: [Puppet Users] Package ensure present but install older version if missing (not latest in repo)?

2014-12-22 Thread Jochen Häberle
Hi, if I get you right, we are doing the same thing for critical parts of our infrastructure. We are on Debian Wheezy… I use puppetlabs-apt module to manage repos and automatic upgrades. It offers a way to create holds/pins for selected packages. This way you can install a selected version of

[Puppet Users] Unable to collect stored resources(ipaddress) in puppet

2014-12-22 Thread Manjunatha T N
Hi, I am using Puppet master and client 3.7 and for store configs MySql DB. Here I am trying to export IPaddress from one node another. When I ran the agent in client node it is executing without any error, could see the related node details in MYSQL db but not able collect it and mentioned f

[Puppet Users] Re: setting folders to different permissions

2014-12-22 Thread Craig White
The answer may actually depend on the OS you are using but I agree with John that this actually requires 2 separate directives... On a Red Hat system... # cat /etc/default/useradd # useradd defaults file GROUP=100 HOME=/home INACTIVE=-1 EXPIRE= SHELL=/bin/bash SKEL=/etc/skel CREATE_MAIL_SPOOL=ye

[Puppet Users] Anyone scripting around certificate authority?

2014-12-22 Thread Eric Sorenson
Hiya, one of the cool things in the new Puppet Server is a re-implementation of Puppet's certificate authority code. The implementation up to last week's 1.0.0 release is pretty strictly backwards-compatible with the Ruby implementation, using the same filesystem layout, same HTTP endpoints, etc

[Puppet Users] Re: Package ensure present but install older version if missing (not latest in repo)?

2014-12-22 Thread jcbollinger
On Friday, December 19, 2014 10:12:03 AM UTC-6, Joseph Lombardo wrote: > > Sorry, I should have been more thorough with my explanation. We use > Spacewalk to manage our repositories and package installations/updates. > However, when a system first comes up it is puppet that registers it in > s

Re: [Puppet Users] Virtual Resources in PE3.7.0

2014-12-22 Thread Felix Frank
On 12/20/2014 05:35 AM, Varun Utagikar wrote: > Am sorry for the goof up Never mind. Please, as originally requested, add notice() calls and notify resources to *all* pertinent code paths, especially the body of define users::virtual. -- You received this message because you are subscribed to t

[Puppet Users] custom facts

2014-12-22 Thread kaustubh chaudhari
Hi All, I am trying to run a batch script from custom facts. But unable to get the required output. I know i am doing some thing wrong, but where. == Facter.add(:Disk_Size) do confine :kernel => "windows" setcode do Facter::Util::Execution.exec("C:\\Windows\\System32\\cmd.exe C:\\Program

[Puppet Users] Nagios user lookup

2014-12-22 Thread Jonathan Gazeley
Hi folks, I'm not sure if I'm thinking about the problem the wrong way, but I'm trying to design a way to have one directory of user information in hiera which feeds the creation of unix users as well as nagios contacts. I have a hiera data structure like this: unifiedusers: jon: nagio

[Puppet Users] Re: puppetdb org.postgresql.util.PSQLException

2014-12-22 Thread Fabio Sangiovanni
Hi, any advice on this issue, please? I'm really stuck here... thanks! On Friday, December 19, 2014 11:15:13 AM UTC+1, Fabio Sangiovanni wrote: > > Hi everybody, I'm incurring in an issue with puppetdb. > [...] > -- You received this message because you are subscribed to the Google Groups "Pup

[Puppet Users] Re: How to force resigning of existing certificate

2014-12-22 Thread heeyoung kim
Thanks for you guys' answers. I added curl script before regenerating certificate on nodes and it works fine. Yup, It has the security issue.. Let me try to follow the martin's link. Thanks again!!! Thank you On Tuesday, 9 December 2014 14:54:19 UTC-8, heeyoung kim wrote: > > Hello > > I am so