Re: [Puppet Users] Re: Need input on how to run a file with list of commands

2013-09-15 Thread Wolf Noble
Glad to hear you got it worked out! You might have good luck with this module for controlling network interfaces https://github.com/adrienthebo/puppet-network =MobileMail= Please excuse brevity or spelling errors > On Sep 15, 2013, at 22:31, Mani Devarajan wrote: > > All,

[Puppet Users] Re: Failed to apply catalog: Netowork is unreachable - connect(2)

2013-09-15 Thread Rahul Khengare
Hi Anup, Try disabling the firewall/ iptables of both the machine puppetserver and puppet client. If you want firewall to be running then add rules for ports *8140, 61613, and 443 *in iptalbes. Commands to add rule in iptables, # iptables -I INPUT -p tcp --dport -j ACCEPT # service iptables

[Puppet Users] Re: Puppet Resources Ordering

2013-09-15 Thread Rahul Khengare
Hi Chengkai, I have faced similar kind of problem for class ordering using ordering arrow (*->)*. You can try the stage resources for ordering classes. Refer following code snippet, #Declare stage resources stage {'first':} stage {'second':} stage {'third':} #Define ordering of stages Stage

Re: [Puppet Users] "puppet module install simondean/iis" gives error "Error: cert already in hash table"

2013-09-15 Thread Rob Reynolds
Can you determine if the cert is also under Machine certificate store and not just the Current User certificate store? On Fri, Sep 13, 2013 at 1:27 AM, Samuel Huang wrote: > I deleted the cert you mentioned *(thatwte-timestamping.png)*, but I > still have the same error everyone's been mentioni

[Puppet Users] Re: Need input on how to run a file with list of commands

2013-09-15 Thread Mani Devarajan
All, Adding /bin/bash helped fix the issue. Thanks all. command => "/bin/bash $intconfigfile", Thanks, Mani On Sunday, September 15, 2013 4:55:08 PM UTC-7, Mani Devarajan wrote: > > Hello, > I am downloading a file from puppet master which has list of ifconfig > command and run it using exec

[Puppet Users] SSH configuration Question

2013-09-15 Thread John.1209
I'm somewhat new to puppet and I have this issue with SSH. Let's say I have 6 different SSH configurations. How do I get puppet to install or upgrade SSH based on the configurations? Assume the O/S and SSHD versions are all the same. So let's say I have different configurations that run SSHD

[Puppet Users] puppetlabs firewall module :: selective disable

2013-09-15 Thread Andrew
I'm trying to use the puppetlabs firewall module, but I want to selectively enable only on certain machines. I cant seem to override the default "$ensure = running" in the ./modules/firewall/manifests/init.pp and linux.pp scripts. Any suggestions would be welcome. so far I have tried (not all

Re: [Puppet Users] Parse puppet manifests in rspec tests

2013-09-15 Thread Henrik Lindberg
On 2013-16-09 24:05, James Kyle wrote: I want to do a syntax check of all our managed puppet manifests in rspec. It's an easy way to generate build reports for use in a CI. My first attempt looks like this: Puppet::Face[:parser, '0.0.1'].validate('puppet/manifests/site.pp') But this throw

[Puppet Users] Need input on how to run a file with list of commands

2013-09-15 Thread Mani Devarajan
Hello, I am downloading a file from puppet master which has list of ifconfig command and run it using exec command on client. But it fails "change from notrun to 0 failed: intconfig returned 1 instead of one of [0] at". Any suggestion on how to overcome this error. Thanks in advance. File con

[Puppet Users] Parse puppet manifests in rspec tests

2013-09-15 Thread James Kyle
I want to do a syntax check of all our managed puppet manifests in rspec. It's an easy way to generate build reports for use in a CI. My first attempt looks like this: Puppet::Face[:parser, '0.0.1'].validate('puppet/manifests/site.pp') But this throws the following error: Puppet::Erro

Re: [Puppet Users] Re: Announce: Puppet 3.3.0 Available

2013-09-15 Thread Henrik Lindberg
On 2013-15-09 3:11, William Van Hevelingen wrote: Hi Henrik or Eric, Is it possible to error on failed lookups? This is useful for replacing the fail('osfamily not supported') lines in most params.pp files. Ryan mentioned the same thing in the ticket and I wasn't sure if it was resolved. It cur

[Puppet Users] Puppetmaster revokes just signed certificates

2013-09-15 Thread hyde
I am hitting almost the same issue as https://groups.google.com/forum/#!topic/puppet-users/9U3es1Z46B0. The difference might be that it occurs randomly here, not consistently. Maybe there's some corruption with CRL file on puppetca server. Is it ok to simply nil or remove file '/var/lib/puppe