Re: [Puppet Users] puppet autosign by VLAN IP

2011-07-01 Thread Denmat
Hi, I'm pretty sure the signing can only reference the cert name in the SSL certificate. Cheers, Den On 01/07/2011, at 4:12, hyzhang wrote: > Hi, > > Can puppet autosign work by giving vlan IP instead of domain? > > For example, in the autosign.conf file, instead of using > *.mydomain.org

Re: [Puppet Users] Re: How to define a hash table and loop over them in a definition?

2011-07-01 Thread vagn scott
Maybe you've got network issues? 1 minute sounds like two DNS lookups timing out. -- vagn On 06/30/2011 01:42 PM, Haitao Jiang wrote: Thanks a lot for both answers! Very helpful. However, I was a little surprised that how slow Puppet was when I run your example. Was it Puppet just slow or was

Re: [Puppet Users] functions and environments

2011-07-01 Thread vagn scott
On 06/17/2011 10:52 AM, Nigel Kersten wrote: It's not entirely unreasonable to expect that if module 'foo' is found in one modulepath component, that no other module named 'foo' should come into play, but I think we have some edge cases here. Please feel free to file a feature request around mo

[Puppet Users] Re: How to define a hash table and loop over them in a definition?

2011-07-01 Thread jcbollinger
On Jun 30, 12:42 pm, Haitao Jiang wrote: > Thanks a lot for both answers! Very helpful. > > However, I was a little surprised that how slow Puppet was when I run > your example. Was it Puppet just slow or was it just my VM is slow? I > literally had to wait 1 min to get the result: > > Thu Jun 3

[Puppet Users] Re: Puppet 2.7.1, variable scoping, best practices

2011-07-01 Thread jcbollinger
On Jun 30, 6:15 am, Martijn Grendelman wrote: > Hi, > > Having installed Puppet 2.7.1 on my testserver yesterday, I am now bugged > by log messages, that tell me not to use dynamic variable lookups: > > Jun 29 13:31:09 os1 puppet-master[31910]: Dynamic lookup of > $ssh_permitrootlogin at /etc/pu

[Puppet Users] Re: undefined method error when installing Puppet Dashboard 1.1.1

2011-07-01 Thread Nathan Yehle
I'm stuck at this bug too, SL55 x86_64 ruby-1.8.5-5.el5_4.8, puppet- dashboard-1.1.1-1 -N -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send em

[Puppet Users] Puppet dashboard cannot work behind a Apache reverse proxy?

2011-07-01 Thread heriyanto
Dear All, I already deploy puppet-dashboard with passanger. i'm want to try puppet-dasboard work in like myserver.com/puppet-report using apache proxy reverse, but still getting work, its just show the index then when i try to click some link like nodes, its will be goto myserver.com/nodes, not

[Puppet Users] Override resource in nested class structure

2011-07-01 Thread Chris de Villiers
Hello everybody I have a set of nested classes and the deepest class looks after a file resource. I want all my nodes to be of the parent class type except one of them needs a special copy of the same file resource. How do I override the file resource for that specific node without copying the en

[Puppet Users] Re: Puppet agent creates certificates for localhost.localdomain and does not pick up the changed hostname

2011-07-01 Thread jcbollinger
On Jun 30, 10:57 am, Nigel Kersten wrote: > As an aside that really isn't that relevant to the OP, I've had good success > with nsscache in the past. > > http://code.google.com/p/nsscache/wiki/MotivationBehindNssCache That's cool. I'll have to study it is a possible solution for some of my cur

Re: [Puppet Users] Re: Puppet 2.7.1, variable scoping, best practices

2011-07-01 Thread vagn scott
On 07/01/2011 10:01 AM, jcbollinger wrote: Parameterized classes address problem (1) by formalizing class parameterization, and they address problem (2) by making it illegal to include a parameterized class more than once (even with the same parameters). One of my main objections to parameteriz

[Puppet Users] Linux hardening

2011-07-01 Thread Nicolas Arias
Hi guys!. I want to use puppet to automate initial linux hardening and to maintain a security configuration standard. Does any one knows if there are modules going around that take care of the usual hardening steps?. If not, i will work on them and share them. thanks! -- You received this mes

[Puppet Users] Re: undefined method error when installing Puppet Dashboard 1.1.1

2011-07-01 Thread Nathan Yehle
Fixed by downgrading ruby. Thanks for depreciating so much functionality ruby team! I had to create a second virtual machine just to run puppetdash because its required ruby versions do not seem to work with the versions we use for our puppetmaster server. Working config: SL55 libselinux-ruby-1

Re: [Puppet Users] Puppet client do-overs

2011-07-01 Thread Craig White
On Jun 30, 2011, at 8:21 PM, Nathan Clemons wrote: > What problem do you have with puppetstoreconfigclean.rb? The problem I > usually have is that I forget it has to be run as root on the puppetmaster, I > keep thinking I need to run it on the client machine. The other issue I fixed... PEB

[Puppet Users] Bug or Feature

2011-07-01 Thread Craig White
I had a number of symbolic links for file resources and didn't consider the impact. source => "puppet:///modules/$some_module/some_file_which_is_a_symbolic_link" would actually transfer the link and not the content of the source link. Moving it to templates and appending .erb to the names handl

Re: [Puppet Users] Re: undefined method error when installing Puppet Dashboard 1.1.1

2011-07-01 Thread Nigel Kersten
Has anyone bug reported this yet? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For m

[Puppet Users] pluginsync fails to load custom facts or providers

2011-07-01 Thread nate
possibly related to (or the same as) issues 4830 and 2244, i'm getting errors when adding a custom fact and provider to a module to propagate to clients. am i missing something here? i tried the workaround of adding a fileserver.conf to the master (referenced below and in the tickets) with no chan

[Puppet Users] puppetmaster gets no certificate request

2011-07-01 Thread newguy
Hi guys, I am very new to puppet and am trying to install puppet master-client on my ubuntu system. Client is a ubuntu on virtual box. problem is that my puppet mastere gets no certificate request and puppet client keeps on saying : warning: peer certificate wont be verified in this SSL session.

Re: [Puppet Users] Linux hardening

2011-07-01 Thread James Turnbull
Nicolas Arias wrote: Hi guys!. I want to use puppet to automate initial linux hardening and to maintain a security configuration standard. Does any one knows if there are modules going around that take care of the usual hardening steps?. If not, i will work on them and share them. I started

Re: [Puppet Users] Override resource in nested class structure

2011-07-01 Thread vagn scott
Here's one way. It's ugly, but it works. -- vagn #! /usr/bin/puppet apply # Hello everybody # # I have a set of nested classes and the deepest class looks after a # file resource. I want all my nodes to be of the parent class type # except one of them needs a special copy of the same file re

Re: [Puppet Users] sysv init scripts when using gem to install

2011-07-01 Thread vagn scott
does /var/run/puppet exist? -v On 06/21/2011 12:30 PM, Craig White wrote: I am using ruby-enterprise for ruby packages and gem for puppet/facter installation and I 'borrowed' the ubuntu sysv init scripts and they mostly work but for some reason, it won't stop the service as written but it

[Puppet Users] Re: Puppet agent creates certificates for localhost.localdomain and does not pick up the changed hostname

2011-07-01 Thread Sriramu Singaram
Thank you very much for the reply Guyz. I really appreciate it. I am working on CentOS and as suggested I tried turning off the nscd service with no success. I am curently working setting the hostname in the different configuration files, hope it works. will keep you guys posted. Thanks, Sriramu

[Puppet Users] err: Could not retrieve catalog from remote server: Could not intern from pson: Could not convert from pson: Could not find relationship target "File[]"

2011-07-01 Thread Michael Halligan
I'm running Puppet 2.7.1 on the master as well as the agent and just received a new error which doesn't actually reference a module or a file, so I'm somewhat stuck as to how to debug this. Any pointers? The error is err: Could not retrieve catalog from remote server: Could not intern from pson: C