[Puppet Users] Handling users in different environments

2013-06-08 Thread Francisco Reyes
Long term we plan to use LDAP or AD, but in the mean time we are considering to use puppet. Most machines only have 3 to 6 users (admins and developers). My thought was to fully manage new machines and to use puppet to be able to disable existing users in pre-existing machines. Is that a reasona

[Puppet Users] Puppet error reporting

2013-06-08 Thread Francisco Reyes
Trying to understand how puppet reports errors Example of why I am asking the question (on a test setup environment) Created a base-1 node Created 2 slave nodes that inherit from base-1 Let's call those slave1 and slave2 No errors. It all works. Created a base-2 node created a third slave that i

Re: [Puppet Users] Using yum provider to install local RPM

2013-06-08 Thread Dan White
If the local install is not working, then just do it from your custom, local repo Make sure the local repo is enabled on the agent ( puppet type yumrepo ) and then set the yum priorities so that your repo has a higher priority than the EPEL repo http://wiki.centos.org/PackageManagement/Yum/Prio

[Puppet Users] Re: Puppet Tutorial: Learning - Manifests

2013-06-08 Thread Francisco Reyes
On Tuesday, June 4, 2013 9:16:59 AM UTC-4, Alexandra Ferguson wrote: Thank you for the help, I got it after changing 'apache' to 'httpd'. I'm still working on seeing the whole picture and learning command line as I go. I really appreciate it. On the ssh_authorized_key! I am learning puppet mysel

[Puppet Users] Re: Trouble getting puppet config from client to master (Certificate verify failed).

2013-06-08 Thread badgerea
> Warning: SSL_connect returned=1 errno=0 state=SSLv3 read server > certificate B: certificate verify failed: [certificate revoked for /CN= > masterdns.peoplebrowsr.com] > It looks like your puppetmaster's cert has been revoked (not the client's). I think it may be necessary to blow away your

[Puppet Users] Using yum provider to install local RPM

2013-06-08 Thread Paul Pham
Hey guys, puppet n00b here. I think I already found an answer for my question here, but the topic was dated back in november of 2011, so I'm hoping things have changed since then! Here's the topic I'm referring to. https://groups.google.com/forum/?fromgroups#!topic/puppet-users/oSHWWjMX-sE I'm r

Re: [Puppet Users] Extending Puppet for network device management

2013-06-08 Thread badgerea
> Is there any developer guide or something similar which I can follow to > know internal working of puppet in detail? so that I can go to right places > and test/add modules. > Any material in this direction will be very helpful to me. > Vatsa, There are a couple of puppetlabs documents on

Re: [Puppet Users] Custom function and SERVER: wrong argument type Class (expected Module)

2013-06-08 Thread Jakov Sosic
On 01/06/2013 08:24 PM, Michael Siroskey wrote: I have created a custom function that I'm trying to use in my manifest. When I use the function I get the following error message on my client. $temp = talign('abc',24,8) notify{"${temp}":} Where did you put your function, in what filepath?

Re: [Puppet Users] Hiera YAML False bug

2013-06-08 Thread Ti Leggett
Responses inline. On Jun 7, 2013, at 10:37 PM, Dan White wrote: > A couple of things: > > $parameters is supposed to end up as a hash, right ? > You are setting a default value of an empty array ! > > $parameters = hiera('java', []), > > Try changing ‘java’ to something it will not find a

Re: [Puppet Users] Multiple Requires not allowed, not sure what this is for...

2013-06-08 Thread Jakov Sosic
On 12/22/2012 05:36 AM, John Moser wrote: I'm having a case where, as with Puppet, multiple packages use the same file. For example, puppet and puppetmaster both use /etc/puppet/puppet.conf I've approached this problem in another way. I define file puppet.conf in puppet class, and override it