[Puppet Users] Re: Built in rollback features

2012-07-09 Thread Ryan Bowlby
I tend to expose the ensure related resource attributes as parameters that can be specified at the node level: class { apache: package_ensure = absent, } The natural evolution is to get to a point within the organization where reinstalling a host is no longer scary. If the provisioning

[Puppet Users] Re: can nodes be grouped with IP address?

2012-07-09 Thread Ryan Bowlby
I would probably grimace and find my right eye twitch ramp back up if this was in my environmentbut here you go: node default { if $::ipaddress =~ /^10\.0\.[3,4]\.\d{1,3}$/ { include testing # testing class } } Obviously make sure no other matching node defs exist for this host.

[Puppet Users] Re: Automated deployement with puppet

2012-07-09 Thread mouhcine MOULOU
Hi, I managed to make an example that deploy a jar in a specific folder, but my main goal was to deploy the jar from the server machine in a specific node, is that possible with just the resource 'file '? thanks, Le jeudi 5 juillet 2012 16:59:09 UTC+2, mouhcine MOULOU a écrit : Hi , I

Re: [Puppet Users] Aptitude uninstalls puppet package when installing bind9

2012-07-09 Thread Felix Frank
Hi, [INSTALL, DEPENDENCIES] bind9utils [REMOVE, DEPENDENCIES] avahi-daemon [REMOVE, DEPENDENCIES] bind9-host [REMOVE, DEPENDENCIES] dnsutils [REMOVE, DEPENDENCIES] facter [REMOVE, DEPENDENCIES] libnss-mdns [REMOVE, DEPENDENCIES] puppet [REMOVE, DEPENDENCIES] puppet-common [REMOVE,

Re: [Puppet Users] Puppet not refreshing its session (from Vagrant maybe)?

2012-07-09 Thread Felix Frank
Hi, On 07/06/2012 09:26 AM, Benjamin Lei wrote: So I have added a config in Puppet to replace my OS's old Ruby version with a newer one. Unfortunately, it seems that if I run vagrant provision again (which essentially does a puppet apply), Vagrant (or Puppet) reuses the same ssh session or

Re: [Puppet Users] Node not find

2012-07-09 Thread Felix Frank
On 07/06/2012 06:09 PM, Dan Bode wrote: It's save in vpsX.ovh.net.pp in puppet/manifests/nodes and in my site.pp i include did you mean import? Assuming you did, there may still be permission problems etc. Make sure puppet can indeed find your node declaration. Cheers, Felix

Re: [Puppet Users] Re: Multiple execs within a class

2012-07-09 Thread Felix Frank
Hi, sorry for the late nitpicking. On 07/06/2012 10:54 PM, Peter Bukowinski wrote: # This will run the boost bootstrapper exec { /tmp/boost_1_41_0/bootstrap.sh : subscribe = Exec[untar_boost] , } 2. The exec /tmp/boost_1_41_0/bootstrap.sh should only

[Puppet Users] Problem when starting puppet master daemon

2012-07-09 Thread Yves Ntonfo
Hi, I'm new in using Puppet as the most people here :-) I just have a problem when i want to start the puppet master daemon. I got this : [root@FRPARSRNLINNTO ~]# service puppetmaster start Démarrage de puppetmaster :/usr/lib/ruby/site_ruby/1.8/puppet/util/pidlock.rb:77:in `unlink':

Re: [Puppet Users] Node not find

2012-07-09 Thread pierre-emmanuel degand
* * It's save in vpsX.ovh.net.pp in puppet/manifests/nodes and in my site.pp i include did you mean import? yes sorry, it's an import i don't know what happens because this morning i had tried and it works... thanks for answering :) -- You received this message because you

AW: [Puppet Users] Puppet freelancers?

2012-07-09 Thread Bernd Adamowicz
Searching LinkedIn should be a good starting point. Where are you located (US, Europe, ..)? Bernd Von: puppet-users@googlegroups.com [mailto:puppet-users@googlegroups.com] Im Auftrag von JeremyCampbell Gesendet: Samstag, 7. Juli 2012 19:06 An: puppet-users@googlegroups.com Betreff: [Puppet

Re: [Puppet Users] Inventory access forbidden

2012-07-09 Thread Matthew Burgess
On Sat, Jul 7, 2012 at 4:09 PM, Dennis Jacobfeuerborn djacobfeuerb...@gmail.com wrote: Thanks, that was indeed the issue. I just appended it to the file and didn't notice the catch-all rule. Glad you got it sorted. To the devs, is it worth perhaps considering commenting out all lines in that

Re: [Puppet Users] how to scale puppet with F5 load balancer?

2012-07-09 Thread ollies...@googlemail.com
On Monday, 9 July 2012 06:44:16 UTC+1, Alan Evans wrote: From what I can tell there is no need to use alternate names. You can make the F5 appear to the clients to be the puppetmaster by leveraging the F5 to do SSL offloading and part of the certificate verification taking some load off

[Puppet Users] Re: Problem when starting puppet master daemon

2012-07-09 Thread jcbollinger
On Monday, July 9, 2012 4:12:18 AM UTC-5, Yves Ntonfo wrote: Hi, I'm new in using Puppet as the most people here :-) I just have a problem when i want to start the puppet master daemon. I got this : [root@FRPARSRNLINNTO ~]# service puppetmaster start Démarrage de puppetmaster

Re: [Puppet Users] Re: on puppet master server , puppet agent can't connect to itself

2012-07-09 Thread Felix Frank
On 07/07/2012 12:24 AM, Clay wrote: Thanks. I already disabled puppetdb and still got the above 403 Forbidden error, also tried remove /etc/puppet/ssl and restarted puppet master, same error. This may be a case of apache refusing to talk to clients on the local host. Have you checked

[Puppet Users] Re: Puppet freelancers?

2012-07-09 Thread wernerbahlke
Hi Jeremy, I might be able to help. Currently doing some Puppet consulting work. Please drop me a line at werner dot bahlke at gmail.com. Werner On Saturday, July 7, 2012 1:05:52 PM UTC-4, JeremyCampbell wrote: I run a small shop, around 10 servers and spent some time with Puppet but I'm

[Puppet Users] Re: Installing hiera

2012-07-09 Thread llow...@oreillyauto.com
I was able to get this working thanks to the the Puppet IRC channel, and specifically Kelsey Hightower. The gem didn't install things quite well enough for Puppet, and when I ran the recommended command to get the sources in place for pluginsync, I grabbed a newer version that just happened to

Re: [Puppet Users] sslv3 alert handshake failure

2012-07-09 Thread Martinus
Right, so here is lots of interesting things now ! The puppetmaster is resolved via /etc/hosts and is set with server= in the [main] section. Trying to connect with the openssl command from a working server is just fine of course. From one of the broken servers the following error shows up:

[Puppet Users] Re: Certificate problems.

2012-07-09 Thread jcbollinger
On Friday, July 6, 2012 3:58:48 PM UTC-5, catshirt wrote: another option besides using the master as a agent to itself, would be to version your master configuration in git, and set up a post-receive hook to re-apply the master configuration. Such a setup is possible, but it discards

[Puppet Users] Re: Problem when starting puppet master daemon

2012-07-09 Thread Yves Ntonfo
Thx John. The puppet master is now daemonize Le lundi 9 juillet 2012 15:05:59 UTC+2, jcbollinger a écrit : On Monday, July 9, 2012 4:12:18 AM UTC-5, Yves Ntonfo wrote: Hi, I'm new in using Puppet as the most people here :-) I just have a problem when i want to start the puppet master

[Puppet Users] Re: Certificate problems.

2012-07-09 Thread jcbollinger
On Friday, July 6, 2012 3:17:15 PM UTC-5, llo...@oreillyauto.com wrote: Just as an update, I found a workaround by setting certname to the IP, but I was still wondering if this is the best solution when there isn't a real hostname on the system(s)? It is not the best solution. In fact,

[Puppet Users] Crontab overwritten by Puppet

2012-07-09 Thread Kmbu
Hello folks.. I suddenly found the crontab on one of my puppet clients overwritten. It had many entries, including one created by Puppet. Suddenly during one run it was overwritten, keeping only the Puppet entry and removing everything else. Nothing changed between the previous runs and the

[Puppet Users] puppet 3.0.0 and hiera

2012-07-09 Thread Henrik Lindberg
Hi, If I have understood it correctly, puppet 3.0.0 will include / require hiera. In order to add support for hiera directly in Geppetto I downloaded the puppet 3.0.0rc tarball expecting to find the puppet-hiera functions, but they where not there. What is the expected packaging going to be

Re: [Puppet Users] puppet 3.0.0 and hiera

2012-07-09 Thread Kelsey Hightower
You'll need hiera-puppet, which contains the parser functions. Puppet 3.0.0 should bring in both Hiera and hiera-puppet as deps. On Jul 9, 2012, at 9:21 AM, Henrik Lindberg henrik.lindb...@cloudsmith.com wrote: Hi, If I have understood it correctly, puppet 3.0.0 will include / require hiera.

[Puppet Users] puppetdb = rise in exection expired notices?

2012-07-09 Thread Matthew Nicholson
I'm getting more and more execution expired as systems checking and hit puppetdb for the first time (switching from a mysql instance). The command queue isn't long (1-5, if anything, all the time), and ym master itself seems to be dealing well enough. I have seen the collection time growing higher

Re: [Puppet Users] Puppet freelancers?

2012-07-09 Thread Walter Heck
Hi Jeremy, Normally I would refrain from posting commercially here, but since you asked for it I guess it's okay. My company OlinData caters to clients like yourself (smaller, lower budget). You can read about what we offer here (including guidelines for pricing) : http://olindata.com/consulting

[Puppet Users] Number of characters in string/variable

2012-07-09 Thread jkuskowski
I'm looking for a way to determine the number of characters in a string/variable. I've tested some of the ruby length functions, but no luck. Has anyone done this before? -- You received this message because you are subscribed to the Google Groups Puppet Users group. To view this discussion

[Puppet Users] manifest for files executable on windows

2012-07-09 Thread vita
Hello Puppet Users, I need a puppet master (Ubuntu) to push the executable files to the agent (windows 7) and install those executables I believe the manifest file should be set up to push such config to the windows agent. I came up with something like this: class wireshark { exec {

[Puppet Users] Trouble installing packages with Puppet on Arch Linux

2012-07-09 Thread Matthew Rayfield
Hey everyone, I seem to be running into an error that I can't find an answer for. I have a simple manifest that installs a few packages and then starts a few services. But it chokes while installing Nginx with this error: err: /Stage[main]//Package[nginx]/ensure: change from purged to present

Re: [Puppet Users] Puppet freelancers?

2012-07-09 Thread Brian Gupta
On Sat, Jul 7, 2012 at 1:05 PM, JeremyCampbell jeremycampbel...@gmail.com wrote: I run a small shop, around 10 servers and spent some time with Puppet but I'm no programmer. I've created a set of manifests but most have issues and I'm certain that they don't follow best practice etc. I would

[Puppet Users] layout question

2012-07-09 Thread llow...@oreillyauto.com
I'm in the process of refactoring some code and getting it ready for 3.0 in the process. I'm trying to better modularize things as well. I've got a general tomcat module, but I also have a number of tomcat related things that only apply to one class of appserver we have. What would be the

Re: [Puppet Users] Number of characters in string/variable

2012-07-09 Thread Darren Chamberlain
$ cat var_l.pp $var = i like pie $var_l = inline_template(%= var.length %) notice('$var' is $var_l characters long) $ puppet var_l.pp notice: Scope(Class[main]): 'i like pie' is 10 characters long * jkuskowski jkuskowski at benchmarklogic.com [2012/07/09 06:59]: I'm looking for a way to

Re: [Puppet Users] manifest for files executable on windows

2012-07-09 Thread Josh Cooper
Hi, On Mon, Jul 9, 2012 at 10:53 AM, vita vt...@yahoo.com wrote: Hello Puppet Users, I need a puppet master (Ubuntu) to push the executable files to the agent (windows 7) and install those executables I believe the manifest file should be set up to push such config to the windows agent. I

[Puppet Users] update apt key for puppetlabs and verify signature

2012-07-09 Thread rapid7bob
I did a set of google searches looking for the answer to this question, but didn't find any good ones. Since I believe the community may benefit from my experience, I thought I'd post it. While updating patches on ubuntu 10.04 on a staging puppet environment, I noticed the apt key for puppetlabs

Re: [Puppet Users] system users class hogging whole cpu

2012-07-09 Thread Marco Cancedda
Hello there, I've done the strace as suggested and I found that puppet is doing an open and lstat of all files in a user's directory which contains a large number of files. I was reading about it and I found about the recursive = false used when dealing with this kind of problem, as it

Re: [Puppet Users] system users class hogging whole cpu

2012-07-09 Thread Marco Cancedda
Hello, After I wrote the other message I actually found where to put the recursion option, on ./modules/users/manifests/definitions/useraccount.pp So now it's sorted, or at least the process is not taking ages anymore. I guess that was it, please confirm :-) Thanks in advance, Marco On

Re: [Puppet Users] manifest for files executable on windows

2012-07-09 Thread Viktoriya Tochilnikova
I have followed you suggestions for placing the file on windows and got following error. Pls advise!!!   C:\Program Files\Puppet Labs\Puppet Enterprise\binpuppet agent --test --server qalab2.pertino.com info: Caching catalog for homebasic32.pertino.com info:

Re: [Puppet Users] manifest for files executable on windows

2012-07-09 Thread Viktoriya Tochilnikova
Here is my file: file { 'C:\Users\vita\Downloads\Wireshark-win32-1.8.0.exe':   ensure = present,   source = 'puppet:///puppet/modules/wsh/Wireshark-win32-1.8.0.exe',     }   Viktoriya From: Josh Cooper j...@puppetlabs.com To:

Re: [Puppet Users] manifest for files executable on windows

2012-07-09 Thread Viktoriya Tochilnikova
Josh, This is what I got this time, after fixing the source path. Pls help. Great Thanks! C:\Program Files\Puppet Labs\Puppet Enterprise\binpuppet agent --test --server qalab2.pertino.com info: Caching catalog for homebasic32.pertino.com info: Applying configuration version '1341867021' err:

[Puppet Users] Re: Trouble installing packages with Puppet on Arch Linux

2012-07-09 Thread jcbollinger
On Monday, July 9, 2012 1:02:43 PM UTC-5, Matthew Rayfield wrote: Hey everyone, I seem to be running into an error that I can't find an answer for. I have a simple manifest that installs a few packages and then starts a few services. But it chokes while installing Nginx with this error:

Re: [Puppet Users] puppetdb = rise in exection expired notices?

2012-07-09 Thread Deepak Giridharagopal
FYI, we've been debugging this on IRC. We believe the issues were that there were insufficient system resources allocated to the database, and that frequent queries from the puppetdb dashboard itself were causing load spikes. Allocating more shared_buffers to the database and reducing the

Re: [Puppet Users] manifest for files executable on windows

2012-07-09 Thread Josh Cooper
Hi Viktoriya, On Mon, Jul 9, 2012 at 2:18 PM, Viktoriya Tochilnikova vt...@yahoo.com wrote: I have figured it out and got it to work - my executable is getting placed on win machine. Great thanks, Josh. How, I need to execute it. Here is my executable: exec {

Re: [Puppet Users] manifest for files executable on windows

2012-07-09 Thread Viktoriya Tochilnikova
I got an error with/without logoutput:   C:\Program Files\Puppet Labs\Puppet Enterprise\binpuppet agent --test --server qalab2.pertino.com info: Caching catalog for homebasic32.pertino.com info: Applying configuration version '1341871910' notice:

[Puppet Users] Custom ruby modules/classes, standard namespacing, pluginsync, etc.

2012-07-09 Thread ad
still pretty new to Ruby, please bare with me :) Say I have a module with a custom type, structured like so: [modules]/mymodule/manifests/init.pp [modules]/mymodule/lib/puppet/provider/mytype/foo.rb [modules]/mymodule/lib/puppet/type/mytype.rb In foo.rb, I'd like to call some custom ruby

Re: [Puppet Users] puppet agent won't recognize configuration

2012-07-09 Thread Nic Luciano
thanks! this is what i suspected. but, my core issue then, it would seem, is that the node_aws cloud provisioner does not run the puppet agent in sudo. i think this is the case, because when i provision a new agent via node_aws and provide a --certname, the autosigning process ignores it and uses

[Puppet Users] Chicago Puppet Camp -- would you like to speak?

2012-07-09 Thread Michael Stahnke
We've had a few cancellations for our Puppet Camp Chicago (July 23, 2 weeks from today). If you'd like to speak about Puppet,what you're doing with it, DevOps, etc we may have a spot for you. You can game fame, fortune or at least a little notoriety. If you'd like to speak, just reply to me

Re: [Puppet Users] puppet 3.0.0 and hiera

2012-07-09 Thread Henrik Lindberg
On 2012-09-07 19:07, Kelsey Hightower wrote: You'll need hiera-puppet, which contains the parser functions. Puppet 3.0.0 should bring in both Hiera and hiera-puppet as deps. Thanks, that is a good start. My issue is however that I don't want to install things in order to scan them for

[Puppet Users] reply: puppet mcollective problem

2012-07-09 Thread 刘亚丹
I find the cause of the problem, because the client and server time not synchronization. 发件人: 刘亚丹 [mailto:lyf...@gmail.com] 发送时间: 2012年7月10日 10:10 收件人: 'puppet-users@googlegroups.com' 主题: puppet mcollective problem Hi, I am a new puppet user . I had some trouble when I using

[Puppet Users] Re: Custom ruby modules/classes, standard namespacing, pluginsync, etc.

2012-07-09 Thread ad
how bout a basic 2 modules one which calls a function in the other example? On Jul 9, 5:23 pm, ad adam.denn...@gmail.com wrote: still pretty new to Ruby, please bare with me :) Say I have a module with a custom type, structured like so: [modules]/mymodule/manifests/init.pp