[Puppet Users] Puppetserver error

2011-12-29 Thread Khan
Hello everyone, I am new to puppet. I have installed on redhat Enterprise 5and seems to be working fine. Couple days ago I was testing some permissions on / etc folder and applied 600 /etc and sub folders. Although I have reverted the permission but I am having issues on puppetmaster. Currently I

[Puppet Users] Re: Puppetserver error

2011-12-29 Thread Justin
Hello Khan, I'm fairly new to Puppet as well. I'm assuming that `manifests/classes/sysctl.pp` is being referenced by the line 3 of `manifests/site.pp` from the error msgs. My first thing would be to double check the permissions on `manifests/ classes/sysctl.pp` After that I would check the

[Puppet Users] Might someone out there repair some busted links ?

2011-12-29 Thread Dan White
Lots of the links on this page: http://projects.puppetlabs.com/projects/1/wiki/Patterns are busted. one specific example: http://projects.puppetlabs.com/trac/puppet/wiki/Recipes/Tripwire The page you were trying to access doesn't exist or has been removed. Would it be possible to either fix

Re: [Puppet Users] Re: Puppetserver error

2011-12-29 Thread Aaron Grewell
Run puppet --genconfig for an example. On Thu, Dec 29, 2011 at 11:12 AM, Mohammad Khan makhan...@gmail.com wrote: same results after changes , what should i add into master section? On Thu, Dec 29, 2011 at 2:08 PM, Aaron Grewell aaron.grew...@gmail.com wrote: You'll want to change

Re: [Puppet Users] Re: Puppetserver error

2011-12-29 Thread Mohammad Khan
[main] # Where Puppet stores dynamic and growing data. # The default value is '/var/puppet'. vardir = /var/lib/puppet # The Puppet log directory. # The default value is '$vardir/log'. logdir = /var/log/puppet # Where Puppet PID files are kept. # The default value

[Puppet Users] Re: puppet.conf questions

2011-12-29 Thread seanm
Thank you! $clientcert works like a charm! I'm still unclear as to why I can't see any of the ec2 variables in my ec2 instance. Is it because I'm running an old version of puppet or something? Sean On Dec 29, 10:21 am, Nan Liu n...@puppetlabs.com wrote: On Wed, Dec 28, 2011 at 7:38 PM, seanm

Re: [Puppet Users] Re: Puppetserver error

2011-12-29 Thread Mohammad Khan
same results after changes , what should i add into master section? On Thu, Dec 29, 2011 at 2:08 PM, Aaron Grewell aaron.grew...@gmail.comwrote: You'll want to change [puppetd] to [agent], as well as adding a [master] section with appropriate contents. On Thu, Dec 29, 2011 at 10:57 AM,

Re: [Puppet Users] Re: Puppetserver error

2011-12-29 Thread Aaron Grewell
You'll want to change [puppetd] to [agent], as well as adding a [master] section with appropriate contents. On Thu, Dec 29, 2011 at 10:57 AM, Mohammad Khan makhan...@gmail.com wrote: [main]     # Where Puppet stores dynamic and growing data.     # The default value is '/var/puppet'.    

Re: [Puppet Users] Might someone out there repair some busted links ?

2011-12-29 Thread Daniel Pittman
On Thu, Dec 29, 2011 at 11:14, Dan White y...@comcast.net wrote: Lots of the links on this page: http://projects.puppetlabs.com/projects/1/wiki/Patterns are busted. one specific example: http://projects.puppetlabs.com/trac/puppet/wiki/Recipes/Tripwire The page you were trying to access

[Puppet Users] puppet.conf questions

2011-12-29 Thread seanm
I'm testing puppet 2.6.2 (debian) in ec2. I had two questions- 1. Does anyone know why I can't see any ec2 variables from facter in my instance? I'm running facter --puppet in my instance 2. I'm using certname=webserver01 in my puppet.conf /w an external node classifier to distinguish nodes.

Re: [Puppet Users] Re: New variable scoping question regarding defines calling defines.

2011-12-29 Thread Trevor Vaughan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The issue is that, should you call that define more than once, there's no way for Puppet to know which one to use unless it walks directly up the call stack first. Trevor On 12/28/2011 09:16 PM, Ryan Coleman wrote: On Monday, December 26, 2011

Re: [Puppet Users] Re: Puppetserver error

2011-12-29 Thread Mohammad Khan
Thanks for your response. I have cahnge the permission to 655 on manifests and still the same thing. My puppetmaster was not even starting then and now. The user/group is root for this folder. Every time when I try to start puppetmaster is get this error message: server puppet-master[20965]:

Re: [Puppet Users] Re: Puppetserver error

2011-12-29 Thread Aaron Grewell
Can you post your config? It sounds like there may be an error in it. On Thu, Dec 29, 2011 at 10:35 AM, Mohammad Khan makhan...@gmail.com wrote: Thanks for your response. I have cahnge the permission to 655 on manifests and still the same thing. My puppetmaster was not even starting then and

Re: [Puppet Users] puppet.conf questions

2011-12-29 Thread Nan Liu
On Wed, Dec 28, 2011 at 7:38 PM, seanm reinvigor...@gmail.com wrote: I'm testing puppet 2.6.2 (debian) in ec2.  I had two questions- 2. I'm using certname=webserver01 in my puppet.conf /w an external node classifier to distinguish nodes.  I don't seem to be able to use certname as a global

[Puppet Users] user provider for AIX run error

2011-12-29 Thread Alpha
run “puppet resource user” got the error blew, I tested at AIX 5.3 and AIX 6.1 ruby 1.8.7 puppet 2.7.9 /usr/local/lib/ruby/gems/1.8/gems/puppet-2.7.9/lib/puppet/provider/aixobject.rb:291:in `instances': undefined method `list_all' for Puppet::Type::Group::ProviderAix:Class (NoMethodError) from

Re: [Puppet Users] user provider for AIX run error

2011-12-29 Thread Daniel Pittman
Hi. Can you file this as a bug at http://projects.puppetlabs.com/projects/puppet/issues/new please? Daniel On Thu, Dec 29, 2011 at 06:48, Alpha huhon...@gmail.com wrote: run “puppet resource user” got the error blew, I tested at AIX 5.3 and AIX 6.1 ruby 1.8.7 puppet 2.7.9

Re: [Puppet Users] Re: Puppetserver error

2011-12-29 Thread Mohammad Khan
I am getting these messages now at the puppetmaster start: Denying access: Forbidden request: server(ip) access to /catalog/ server.domain.co [find] at line 93 Dec 29 15:13:20 server puppet-master[3311]: Forbidden request: server (ip) access to /catalog/server.domain.co [find] at line 93 Dec 29

Re: [Puppet Users] Re: Puppetserver error

2011-12-29 Thread Aaron Grewell
I've never integrated Puppet with LDAP so I can't help much there. On Thu, Dec 29, 2011 at 12:25 PM, Mohammad Khan makhan...@gmail.com wrote: I am getting these messages now at the puppetmaster start: Denying access: Forbidden request: server(ip) access to /catalog/server.domain.co [find] at

Re: [Puppet Users] Might someone out there repair some busted links ?

2011-12-29 Thread Dan White
Thanks. We Dans need to stick together :) “Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us.” Bill Waterson (Calvin Hobbes) - Daniel Pittman dan...@puppetlabs.com wrote: On Thu, Dec 29, 2011 at 11:14, Dan

[Puppet Users] Windows Client DFS share Access

2011-12-29 Thread jvandellen
Does anybody know if it is possible to have a WIndows client access an existing DFS share. Based on what I have been able to determine so far. It appears that files can only be served to windows clients using nfs. Does anybody have any information on this? I've read through the wiki and didn't

Re: [Puppet Users] Windows Client DFS share Access

2011-12-29 Thread Josh Cooper
Hi Jeff, On Thu, Dec 29, 2011 at 1:29 PM, jvandellen jeff.vandel...@gmail.comwrote: Does anybody know if it is possible to have a WIndows client access an existing DFS share. Based on what I have been able to determine so far. It appears that files can only be served to windows clients using

[Puppet Users] Help with some script

2011-12-29 Thread Ola
Hello So i used this guide http://itand.me/using-puppet-to-manage-users-passwords-and-ss to set it up similar. Now want to do small modification. What i want is to have all the users defined in a speciall file or a folder where all the users are created, and then import the users into the nodes.

Re: [Puppet Users] Re: puppet.conf questions

2011-12-29 Thread Michael Stahnke
On Thu, Dec 29, 2011 at 10:59 AM, seanm reinvigor...@gmail.com wrote: Thank you!  $clientcert works like a charm! I'm still unclear as to why I can't see any of the ec2 variables in my ec2 instance.  Is it because I'm running an old version of puppet or something? If you're running Puppet

Re: [Puppet Users] Windows Client DFS share Access

2011-12-29 Thread Jeff VanDellen
Awesome!! thank you so much for the information. I really appreciate it. On Thu, Dec 29, 2011 at 4:51 PM, Josh Cooper j...@puppetlabs.com wrote: Hi Jeff, On Thu, Dec 29, 2011 at 1:29 PM, jvandellen jeff.vandel...@gmail.com wrote: Does anybody know if it is possible to have a WIndows client

[Puppet Users] Re: puppet.conf questions

2011-12-29 Thread seanm
facter --version is showing: 1.5.7 On Dec 29, 4:11 pm, Michael Stahnke stah...@puppetlabs.com wrote: On Thu, Dec 29, 2011 at 10:59 AM, seanm reinvigor...@gmail.com wrote: Thank you!  $clientcert works like a charm! I'm still unclear as to why I can't see any of the ec2 variables in my

AW: [Puppet Users] Puppetserver error

2011-12-29 Thread Bernd Adamowicz
I'm pretty sure that, besides the other answers already provided, your main problem is the wrong user for your Puppet configuration. It should be user 'puppet' and not 'root'. That's how '/etc/puppet' should look like: drwxr-xr-x 5 puppet puppet 4.0K Dec 12 17:48 . drwxr-xr-x 79 root root