[Puppet Users] Re: Executing command via puppet !

2013-09-17 Thread Rahul Khengare
Hi Adeel, You can send the manifests execution reports to puppet master. For the execution report files refer /var/lib/puppet/reports directory. For that you have to add report=true in /etc/puppet/puppet.conf file # # /etc/puppet/puppet.conf file # [agent] report =true From the reports

[Puppet Users] Re: The security of the puppet master

2013-09-17 Thread huangming...@gmail.com
I want the puppetmaster can sign the manifest. avoid some guys publish dangerous manifest to agent. like exec{foo: command=rm / -rf;} there is a software named samhain. it's a integrity checker and host intrusion detection system . when compile the source code of the software, you can

Re: [Puppet Users] Need help with defining same package resource in two modules

2013-09-17 Thread Martin Alfke
On Sep 17, 2013, at 8:18 AM, Rahul Khengare rahulk1...@gmail.com wrote: Hi Mani, Case2: A=true, when B runs it fails Error 400 on SERVER: Duplicate definition: Package[pkg1] is already defined in file A at line ; cannot redefine at How do i overcome this issue to complete the workflow

[Puppet Users] b64_zlib_yaml errros after server upgrade to

2013-09-17 Thread Andrei-Florian Staicu
Hi, After upgrading the puppet server to puppet-server-3.3.0-1.el6.noarch, I get the following on a puppet-3.2.2-1.el6.noarch client: puppet agent --test --noop Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not intern from b64_zlib_yaml: invalid bit length

Re: [Puppet Users] Need help with defining same package resource in two modules

2013-09-17 Thread Rahul Khengare
Refer http://docs.puppetlabs.com/puppet/2.7/reference/lang_virtual.html this for creating and realizing the virtual resource. Thanks and Regards, Rahul Khengare NTT DATA OSS Center, Pune, India. On Tue, Sep 17, 2013 at 12:29 PM, Martin Alfke tux...@gmail.com wrote: On Sep 17, 2013, at 8:18

[Puppet Users] puppet-chocolatey error

2013-09-17 Thread Nate Walck
I started using chocolatey today and when trying to install an app (Teamspeak3 in this case), I got the following error: Info: Applying configuration version '1379384597' Warning: Puppet::Type::Package::ProviderChocolatey: Failed to match line ==no version Warning:

Re: [Puppet Users] SSH configuration Question

2013-09-17 Thread Antoine Benkemoun-André
This is all going to depend on the criteria on which you will decide which ports gets used where. You can make a standard puppet configuration and have code in the template (ERB file) to decide what port to bind sshd on depending on facts from facter. If the default facter you are working

[Puppet Users] Re: puppet-chocolatey error

2013-09-17 Thread Paul Tötterman
I think puppet does not provide the support for chocolatey. Not out-of-the-box, but https://github.com/chocolatey/puppet-chocolatey adds that support. Cheers, Paul -- You received this message because you are subscribed to the Google Groups Puppet Users group. To unsubscribe from

[Puppet Users] Run a custom function through the ruby debugger

2013-09-17 Thread Andrea Ieri
Hallo, I'm developing a custom function that is exhibiting some odd behavior, so I would like to debug it. How do I load it in the ruby shell in a way that lets me execute it? I have tried the steps on the documentation: irb(main):001:0 require 'puppet' = true irb(main):002:0 require

[Puppet Users] Puppet ignores schedules

2013-09-17 Thread jamido
Hello, the following small code works, but the file /tmp/test will never be created because the schedule is skipped because running on an host. 1. site.pp: 2. test::test_define {hallo: 3. } 4. include test 5. 6. test/init.pp: 7. class test { 8. } 9.

[Puppet Users] Re: puppet-chocolatey error

2013-09-17 Thread Sneha More
Hi Nate, install_options is an array of additional options to pass when installing a package. so you can not pass 'latest' parameter to it, instead you can try this for latest version installation package { 'Teamspeak3' : ensure = latest, provider= 'chocolatey',

Re: [Puppet Users] Re: puppet-chocolatey error

2013-09-17 Thread Nate Walck
I am using the puppet-chocolatey module. The forge page linked here to submit issues. Perhaps the link is not correct? Nate On Tue, Sep 17, 2013 at 8:23 AM, Sneha More snehamore...@gmail.com wrote: Hi Nate, install_options is an array of additional options to pass when installing a

[Puppet Users] Re: b64_zlib_yaml errros after server upgrade to

2013-09-17 Thread Andrei-Florian Staicu
Sorry, I pasted the wrong message. These are the errors: puppet agent --test --noop Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not intern from b64_zlib_yaml: invalid code lengths set puppet agent --test --noop --debug Error: Could not retrieve catalog from

Re: [Puppet Users] Using Puppet for downgrading Varnish (circular dependency)

2013-09-17 Thread Nikolay Mishin
Hello! Help me please how do I get puppet to downgrade several packages at the same time? I want to downgrade to samba 3.6.9 to 3.5.10 for this I am writing yum downgrade samba-winbind-3.5.10, samba-common-3.5.10, samba-common-clients-3.5.10 and how do I get puppet to do the same? is it possible?

[Puppet Users] Re: Puppet agent and puppet master

2013-09-17 Thread Adeel Bhatti
Thanks !! :) On Monday, September 16, 2013 4:12:44 PM UTC+2, jcbollinger wrote: On Monday, September 16, 2013 7:40:35 AM UTC-5, Adeel Bhatti wrote: Thanks for your reply ! This would be really cool if the agent can look and identify the manifect changes ! I have a service restart in my

[Puppet Users] Re: The security of the puppet master

2013-09-17 Thread jcbollinger
On Tuesday, September 17, 2013 1:20:40 AM UTC-5, huangm...@gmail.com wrote: I want the puppetmaster can sign the manifest. avoid some guys publish dangerous manifest to agent. like exec{foo: command=rm / -rf;} there is a software named samhain. it's a integrity checker and host

[Puppet Users] Re: b64_zlib_yaml errros after server upgrade to

2013-09-17 Thread Andrei-Florian Staicu
Again, sorry for lots of emails. After updating the client to puppet-3.3.0-1.el6.noarch, i now get the following: puppet agent --test --noop Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not intern from pson: source '%7B%22timestamp%22%3' not in PSON! this

Re: [Puppet Users] Need help with defining same package resource in two modules

2013-09-17 Thread jcbollinger
On Tuesday, September 17, 2013 1:59:02 AM UTC-5, Martin Alfke wrote: On Sep 17, 2013, at 8:18 AM, Rahul Khengare rahul...@gmail.comjavascript: wrote: Hi Mani, Case2: A=true, when B runs it fails Error 400 on SERVER: Duplicate definition: Package[pkg1] is already defined in

Re: [Puppet Users] Re: The security of the puppet master

2013-09-17 Thread Ashley Gould
On Tue, Sep 17, 2013 at 06:18:48AM -0700, jcbollinger wrote: On Tuesday, September 17, 2013 1:20:40 AM UTC-5, huangm...@gmail.com wrote: I want the puppetmaster can sign the manifest. avoid some guys publish dangerous manifest to agent. like exec{foo: command=rm / -rf;} Sure, but

[Puppet Users] Re: /var/opt/lib/pe-puppet/reports/$hostname yaml files not recent

2013-09-17 Thread Ellison Marks
By default, reports are not stored on the individual nodes, but sent to the master. There are some situations where local files get created, mostly involving the node running standalone. Not sure if PE has different defaults, but normally you should find all reports on the master, in the

[Puppet Users] Re: Configuring a Windows Domain Controller (DC) using puppet

2013-09-17 Thread Harsh Desai
Hi Rich dcpromo.exe with an answers file is a great idea. Thanks for that ! This will give me a machine with DC and DNS (but not a DHCP server). Since I am working with a test environment, I will be having DHCP, DNS and DC on the same 2008 R2 machine. Do you have references I can use to add a

[Puppet Users] fact_values id

2013-09-17 Thread Nielsen, Roy S
Hello, We seem to have run out of values for our id field in the fact_values table – how big should we be making the field? (we're using mysql) - should we make it an unsigned bigint? Thanks, -Roy -- You received this message because you are subscribed to the Google Groups Puppet Users

Re: [Puppet Users] Fail/stop after a step fails?

2013-09-17 Thread Robin Lee Powell
On Tue, Sep 17, 2013 at 12:35:15PM -0700, Robin Lee Powell wrote: Is it possible to get puppet to just *give up* if a particular step fails? Thousands upon thousands of Skipping because of failed dependencies gets really old. Or, indeed, have it stop after a particular step *succeeds* would

[Puppet Users] rspec-puppet require syntax

2013-09-17 Thread Guy Knights
Can someone tell me the correct way to specify the following require statement in an rspec-puppet test? *require = [Class['ssl'],Class['pcre3'],Staging::Extract[nginx-${version}.tar.gz]]* I tried this: *'require' = [Class['ssl'],Class['pcre3'],Staging::Extract['nginx-1.4.1.tar.gz']]* but got

[Puppet Users] Fail/stop after a step fails?

2013-09-17 Thread Robin Lee Powell
Is it possible to get puppet to just *give up* if a particular step fails? Thousands upon thousands of Skipping because of failed dependencies gets really old. -Robin -- http://intelligence.org/ : Our last, best hope for a fantastic future. .i ko na cpedu lo nu stidi vau loi jbopre .i danfu

Re: [Puppet Users] Dashboard not working (406 Not Acceptable)

2013-09-17 Thread Will Turnage
I ran into the same issue, and this resolved it. Thanks! On Thursday, June 21, 2012 8:04:13 AM UTC-5, James Tan wrote: Old thread, but I ran into the same problem so figured I'll post my solution here. In my case, I added more verbose logging which pointed me to the missing spool directory.

[Puppet Users] Re: b64_zlib_yaml errros after server upgrade to

2013-09-17 Thread Andrei-Florian Staicu
Well, In case anyone is interested, after a rollback with yum to puppet-server-3.2.4-1.el6.noarch, it works again, with no errors. It also seems to work well with 3.3.0 clients. Thanks. On Tue, Sep 17, 2013 at 4:20 PM, Andrei-Florian Staicu andrei.sta...@gmail.com wrote: Again, sorry for

[Puppet Users] 3.3.0 bug? Could not prefetch package provider/UTF-8

2013-09-17 Thread Robin Lee Powell
As of upgrading master and clients to 3.3.0, some of my servers are saying: Error: Could not prefetch package provider 'yum': invalid byte sequence in UTF-8 Error: Could not prefetch package provider 'rpm': invalid byte sequence in UTF-8 I can't tell whether this actually stops them from

Re: [Puppet Users] 3.3.0 bug? Could not prefetch package provider/UTF-8

2013-09-17 Thread Wolf Noble
When I ran into this, what bit me was funky characters hiding in comments in the manifests. On Tue, Sep 17, 2013 at 3:42 PM, Robin Lee Powell rlpow...@digitalkingdom.org wrote: As of upgrading master and clients to 3.3.0, some of my servers are saying: Error: Could not prefetch package

[Puppet Users] Creating multiple redis instances

2013-09-17 Thread Charles Mean
Hello guys, I'm creating a module to manage redis, and facing just a little problem with that. I have the following init.pp class redis { include redis::install include redis::service include redis::params # redis:: params also import # redis::config and