Re: [Puppet Users] Unable to run puppetmasterd 2.6.5 on Centos 5

2011-03-07 Thread Ben Hughes
On Mon, Mar 07, 2011 at 02:00:23AM -0800, Ankush Grover wrote: > /usr/lib/ruby/site_ruby/1.8/puppet/network/handler/fileserver.rb: > 270:in `readconfig': undefined method `name' for nil:NilClass > (NoMethodError) Do you have a /etc/puppet/fileserver.conf and is it modified in any way? -- Ben Hu

Re: [Puppet Users] nodes: internal, external, or LDAP?

2011-03-07 Thread Douglas Garstang
On Mon, Mar 7, 2011 at 4:06 PM, LarsP wrote: > Hello Puppet World - > > My company is in the early phase of building out a configuration > automation solution using Puppet. As we hash out the design, one of > the biggest questions that keeps coming up is how and *where* we > should be defining no

Re: [Puppet Users] Defines in External node classifier

2011-03-07 Thread Dan Bode
HI Matthew, Have a look at this custom function that I wrote: https://github.com/puppetlabs/create_resources The README has an example of how to pass defined resources as class parameters through an ENC. On Mon, Mar 7, 2011 at 8:53 PM, Cashdollar, Matthew wrote: > Hello, > > Does anyone know i

[Puppet Users] Defines in External node classifier

2011-03-07 Thread Cashdollar, Matthew
Hello, Does anyone know if external node classifiers support defined resource types? I am able to do it through the internal 'node X { }' but I'm not sure if this is possible with the external node yaml. I started by doing it with parameterized classes as described here: http://projects.puppet

[Puppet Users] in another certificate tangle

2011-03-07 Thread russell.fulton
I have an RHE host that is managed by puppet. Some how it got the wrong host name in the rhn/systemid file which seemed to override everything else. I fixed this and rebooted the box and it came back with the correct host name which it got via dhcp. I removed the /etc/puppet/ssl directory on the

Re: [Puppet Users] Role-based access in Dashboard

2011-03-07 Thread Dave Augustus
On 03/07/2011 06:19 PM, Randall Hansen wrote: On Mar 7, 2011, at 3:39 PM, John Warburton wrote: Everything everyone else has said plus audit logging of actions taken by the user, and ways to report on that (even a "last x changes" on the node view) Yes, absolutely. RBAC is incomplete without

Re: [Puppet Users] Role-based access in Dashboard

2011-03-07 Thread Randall Hansen
On Mar 7, 2011, at 3:39 PM, John Warburton wrote: > Everything everyone else has said plus audit logging of actions taken by the > user, and ways to report on that (even a "last x changes" on the node view) Yes, absolutely. RBAC is incomplete without good auditing. r -- You received this me

[Puppet Users] nodes: internal, external, or LDAP?

2011-03-07 Thread LarsP
Hello Puppet World - My company is in the early phase of building out a configuration automation solution using Puppet. As we hash out the design, one of the biggest questions that keeps coming up is how and *where* we should be defining nodes. At the moment we are using external nodes. We have a

Re: [Puppet Users] Role-based access in Dashboard

2011-03-07 Thread John Warburton
On 3 March 2011 06:02, Randall Hansen wrote: > Role-based access will be one of the next big features in Dashboard. If > this is something that would help you, will you tell me the minimum features > that you would consider useful? That is, the features without which RBAC > would be useless to

Re: [Puppet Users] Role-based access in Dashboard

2011-03-07 Thread Denmat
Hi Randal, I think that about covers my thoughts too. The idea being I already have a qa- team group in ldap populated with some QA staff members. I would want then to have 'view' access to say a web host group which might be a dashboard or ldap group of nodes. DBA ldap group would access the

[Puppet Users] Re: puppet file sharing issue

2011-03-07 Thread Tim Dunphy
hey guys, just a heads up, but I was able to solve this problem. what I did to solve this was cat /dev/null > /etc/puppet/fileserver.conf and then re-wrote it by hand and then it started working. my guess is that there was some weird character in there that wasn't showing up even on close inspecti

Re: [Puppet Users] modules are ignored

2011-03-07 Thread Nan Liu
On Mon, Mar 7, 2011 at 10:20 AM, Guillem Liarte wrote: > Hello, > > I am testing puppet and I have the following situation. > > OS: Centos 5 > Puppet version: 2.6.4 > > > If I create a class to do something and I I run it in some nodes in > the default manifest directories, puppet works and does t

[Puppet Users] modules are ignored

2011-03-07 Thread Guillem Liarte
Hello, I am testing puppet and I have the following situation. OS: Centos 5 Puppet version: 2.6.4 If I create a class to do something and I I run it in some nodes in the default manifest directories, puppet works and does the stuff for me. If I try to do use the most simple module example out

[Puppet Users] Re: puppet file sharing issue

2011-03-07 Thread Tim Dunphy
hello list I grabbed a little more info in case that helps anyone that would like to supply some advice Now one reason I'm on the ledge about this one is that I got this working on my home server just fine, but am so far unable to in the place where it really counts.. the WORK server! Here's a com

[Puppet Users] puppet file sharing issue

2011-03-07 Thread Tim Dunphy
hello list!! I am still having some file sharing issues with this puppet server and I was hoping someone would have an opinion they could share on this situation ## puppet errors err: //basefiles/File[/etc/yum/pluginconf.d/priorities.conf]: Failed to retrieve current state of resource: Error 40

[Puppet Users] Unable to run puppetmasterd 2.6.5 on Centos 5

2011-03-07 Thread Ankush Grover
Hi friends, Somehow puppetmasterd 2.6.5 is failing to get started on Centos 5. I am getting the below error. I am yet to configure any agent with this server. puppetmasterd --no-daemonize --verbose --debug debug: Puppet::Type::User::ProviderPw: file pw does not exist debug: Puppet::Type::User::P

[Puppet Users] Re: postfix module problems

2011-03-07 Thread jcbollinger
On Mar 4, 8:24 am, Tim Dunphy wrote: >  the puppetmaster daemon is not running as root, however I have other > modules running on this machine and a files directory in each  that > all have the same exact ownership and permissions and are being shared > without any problems. Then the puppetmast

[Puppet Users] Having tags available at master side ?

2011-03-07 Thread Olivier Le Cam
Hi - I just upgraded to puppet v2.6 hoping that tags would be available at the puppet-master side in the yaml files (/var/lib/puppet/yaml/node/*.yaml). Did I missed something? Thanks in anticipation for any pointers. -- Olivier -- You received this message because you are subscribed to the

[Puppet Users] Re: how do you overwrite inherited values?

2011-03-07 Thread jcbollinger
On Mar 5, 5:22 pm, "." wrote: >      I'm trying to find out the 'puppet' way of overwriting a > config/variable. I've tried using a define > (http://pastebin.com/ncVwtwGj) and a parameterized class > (http://pastebin.com/3UysCgi7). But both end up with duplicate definitions. > >      I'm trying

Re: [Puppet Users] Using Ruby DSL requires master restart for unrelated changes?

2011-03-07 Thread Felix Frank
On 02/28/2011 05:44 AM, blblack wrote: > > There's an open bug a few months old that states that changes to Ruby > DSL manifests require a puppetmaster restart: ( > http://projects.puppetlabs.com/issues/5256 > ). I can actually live with that, as I only plan on defining a couple > of small key t

Re: [Puppet Users] Re: Signing certificates

2011-03-07 Thread Felix Frank
On 02/25/2011 10:42 PM, Ace wrote: > Running in the --no-daemonize mode for both client and master does not > show anything interesting. > > Whats interesting is that I can have linux puppet clients connect to > the linux master but none of the solaris clients work. More > interesting is that I ca

Re: [Puppet Users] Re: ssh_authorized_key runs every time

2011-03-07 Thread Felix Frank
On 02/25/2011 10:00 PM, Stefan Schulte wrote: > On Thu, Feb 24, 2011 at 01:57:14PM -0800, mark risher wrote: >> Thanks, but I do have those parameters; I was trying to keep my quote >> short. Here's the full monty: >> >> # create an ssh key for this user >> ssh_authorized_key { "$username.$

Re: [Puppet Users] Puppet dsl

2011-03-07 Thread Felix Frank
On 03/04/2011 05:50 PM, Kevin Beckford wrote: > Is the puppet dsl a complete Turing capable language? No. There is no while loop. > As I understand it, the chain is dsl -> compiled thing -> actions. > What language is the compiled thing in? Ruby? Do you have puppet installed? You will find y

Re: [Puppet Users] Re: plusignment to add values to a resource several times

2011-03-07 Thread Felix Frank
On 03/04/2011 05:03 PM, Vladimir Kulev wrote: > I have hit a similar issue. Does anybody know if this is going to be > fixed or some workaround present? I can reproduce with 2.6.4. Currently, your best bet is probably the wooden hammer approach. class user::groupA inherits user::virtual {

Re: [Puppet Users] Re: class + each do

2011-03-07 Thread Peter Meier
>> You made a class for it? As it sounds like it's not getting called at all. >> > Yes.I did a class for this: are you including this class somewhere? ~pete -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to p