Re: [Puppet Users] Storeconfigs seem slow
On Tue, Sep 13, 2011 at 12:41 AM, Justin Lambert jlamb...@localmatters.com wrote: Thanks for the response. We're using Posrgres, and the catalog build seems a bit slow, but nothing compared to the client runtime which is where I've been focusing. Your assessment is correct, it is just the nagios server that is extremely slow (~20 mins), there is minimal/no impact to the client machines. We're at about the 100 hosts, but have closer to 1500 services - maybe we have exceeded what storeconfigs can do then. If that is the case, is there a recommended alternative that isn't manually maintaining config files? It seems like most of the processing time is spent client side and I haven't been able to figure out why. Even doing an md5sum on all of the files from the CLI takes less than 2 seconds. While it would require you to generate the templates yourself, you can use foreman query script [1] to get the data you need based on all sort of conditions. Ohad [1] - https://github.com/ohadlevy/puppet-foreman/blob/master/foreman/lib/puppet/parser/functions/foreman.rb On Mon, Sep 12, 2011 at 3:30 PM, Gabriel Filion lelu...@gmail.com wrote: Hi, On 11-09-12 04:43 PM, Justin Lambert wrote: We are moving to have our nagios servers generate their nagios configs based on what services are installed on specific hosts (as well as the hosts registering themselves). What we have found is that our runtimes have gone through the roof on this and I'm trying to figure out why (summary below from a puppet run). The config pull takes a while, but the majority of the time is spent on the client side. Running puppet with -d has a large chunk of this time with nothing being updated on the screen and one processor core being pegged. We're running 2.6.9 on SL6.0 x86_64. What db backend are you using for stored configs? If you're using the sqlite3 backend, I'd recommend switching to mysql or postgresql. The sqlite3 backend is mainly there for easing puppet dev, but it's way too slow for production use.. I'm not sure if I have an unreasonable number of resources and I need to do things differently or if I have a problem on my client I need to address. Any insight or direction to go down to continue debugging? Normally the client run time shouldn't change much with or without exporting nagios resources, except on the Nagios server (the one extracting the puppet resources). In my experience, exporting native Nagios resources on Nagios clients and collecting them on the Nagios server doesn't seem to be scaling very well. But still, it's usable with around 100 hosts and 500 services.. -- Gabriel Filion -- 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 more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- 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 more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Re: [Puppet Users] Storeconfigs seem slow
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 We're at about the 100 hosts, but have closer to 1500 services - maybe we have exceeded what storeconfigs can do then. If that is the case, is there a recommended alternative that isn't manually maintaining config files? Just to be clear: After the catalog has been compiled and sent to the client, storeconfigs is not anymore involved at all. So if your compile time is reasonable, but execution time on the client is slow, then you have to look on the client side and not storeconfigs. Storeconfigs just adds a few selects (and inserts) of additional resources, that weren't directly in your manifest. But they end up the same way in the catalog as any other resource does. ~pete -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk5u+AkACgkQbwltcAfKi38OJACfXT9sumhvPpIoK0qUlH5x4JfN AaMAnROsu3S4u3w82sI9NzDeBWdlwKvP =xUF9 -END PGP SIGNATURE- -- 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 more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Re: [Puppet Users] Storeconfigs seem slow
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The good thing with this method is that you can manage the module directory (where the different config file excerpts are stored) with 'purge = true' so that only exported resources are present in the final nagios configuration (something that native types don't handle very well -- or actually handle very badly). Yes, because purging the directory would unexport the resource of the decomissioned host. But, as other resources might have been exported as well, that can't be purged by that trick, I would still recommend to clean up decommissioned hosts with the puppet node clean face-action, that got partially merged into 2.7.3 and hopefully will be fully (with the important parts for our discussion) merged into 2.7.4. ~pete -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk5u+bAACgkQbwltcAfKi39iQQCeIf2CPVgA3f11wE0VxPCefZDb OvEAn1Tw5UTSTnons6wJGyqUdO50lspD =c84z -END PGP SIGNATURE- -- 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 more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
[Puppet Users] Re: Storeconfigs seem slow
I had a similar problem with my nagios server where the catalog run took about 500seconds for about 100 nodes with about 1000 services, most of which were generated with exported resources/stored config. We use the Naginator-resources in puppet. However, the main speed issue was not with the fetching of these resources but with calculating the checksums of all the files I used (to see if there were changes compared to the master). As was suggested in the 0.25.x-documentation we put our hosts and our services in different .cfg-files (in my case we choose to have a file per host or hostgroup with all of its services included). Yesterday I changed this however to only a couple of files. In services.cfg for example all services are kept now... same thing for hosts.cfg, hostgroups.cfg and commands.cfg. My puppetrun now takes about 160 seconds, which is still very slow in my opinion but a big gain compared to the 500 seconds before. The compile time has pretty much stayed the same (about 80 seconds), but at clientside we gained a lot of time. Maybe you can try if the same action works for you? The MD5-checksum of Puppet seems to be very slow indeed. We also don't understand why it takes so long, but apparently it does. Kind regards, Bart On Sep 13, 8:35 am, Peter Meier peter.me...@immerda.ch wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The good thing with this method is that you can manage the module directory (where the different config file excerpts are stored) with 'purge = true' so that only exported resources are present in the final nagios configuration (something that native types don't handle very well -- or actually handle very badly). Yes, because purging the directory would unexport the resource of the decomissioned host. But, as other resources might have been exported as well, that can't be purged by that trick, I would still recommend to clean up decommissioned hosts with the puppet node clean face-action, that got partially merged into 2.7.3 and hopefully will be fully (with the important parts for our discussion) merged into 2.7.4. ~pete -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla -http://enigmail.mozdev.org/ iEYEARECAAYFAk5u+bAACgkQbwltcAfKi39iQQCeIf2CPVgA3f11wE0VxPCefZDb OvEAn1Tw5UTSTnons6wJGyqUdO50lspD =c84z -END PGP SIGNATURE- -- 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 more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
[Puppet Users] Re: Storeconfigs seem slow
And as an additional note, there is a related bug/feature open for it: http://projects.puppetlabs.com/issues/5650 On Sep 13, 9:49 am, Bart Descamps barty.desca...@gmail.com wrote: I had a similar problem with my nagios server where the catalog run took about 500seconds for about 100 nodes with about 1000 services, most of which were generated with exported resources/stored config. We use the Naginator-resources in puppet. However, the main speed issue was not with the fetching of these resources but with calculating the checksums of all the files I used (to see if there were changes compared to the master). As was suggested in the 0.25.x-documentation we put our hosts and our services in different .cfg-files (in my case we choose to have a file per host or hostgroup with all of its services included). Yesterday I changed this however to only a couple of files. In services.cfg for example all services are kept now... same thing for hosts.cfg, hostgroups.cfg and commands.cfg. My puppetrun now takes about 160 seconds, which is still very slow in my opinion but a big gain compared to the 500 seconds before. The compile time has pretty much stayed the same (about 80 seconds), but at clientside we gained a lot of time. Maybe you can try if the same action works for you? The MD5-checksum of Puppet seems to be very slow indeed. We also don't understand why it takes so long, but apparently it does. Kind regards, Bart On Sep 13, 8:35 am, Peter Meier peter.me...@immerda.ch wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The good thing with this method is that you can manage the module directory (where the different config file excerpts are stored) with 'purge = true' so that only exported resources are present in the final nagios configuration (something that native types don't handle very well -- or actually handle very badly). Yes, because purging the directory would unexport the resource of the decomissioned host. But, as other resources might have been exported as well, that can't be purged by that trick, I would still recommend to clean up decommissioned hosts with the puppet node clean face-action, that got partially merged into 2.7.3 and hopefully will be fully (with the important parts for our discussion) merged into 2.7.4. ~pete -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla -http://enigmail.mozdev.org/ iEYEARECAAYFAk5u+bAACgkQbwltcAfKi39iQQCeIf2CPVgA3f11wE0VxPCefZDb OvEAn1Tw5UTSTnons6wJGyqUdO50lspD =c84z -END PGP SIGNATURE- -- 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 more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
AW: [Puppet Users] Dashboard - Pending Tasks
Yes, I was simply missing the worker process. Thanks, Craig and Michael! -Ursprüngliche Nachricht- Von: puppet-users@googlegroups.com [mailto:puppet- us...@googlegroups.com] Im Auftrag von Craig White Gesendet: Montag, 12. September 2011 22:00 An: puppet-users@googlegroups.com Betreff: Re: [Puppet Users] Dashboard - Pending Tasks On Sep 12, 2011, at 11:42 AM, Michael Stahnke wrote: There is a puppet-dashboard-workers init script that will run a daemon for you in the background to do this. I presume you are referring to my script and yes, I am aware that there is a script to run the daemon. My cron script also executes the same init but my script makes sure every hour that it is still running and if not, start it. -- Craig White ~ craig.wh...@ttiltd.com 1.800.869.6908 ~~ www.ttiassessments.com Need help communicating between generations at work to achieve your desired success? Let us help! -- 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 more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- 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 more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
[Puppet Users] Re: Facter variable $puppetversion
Err, what is that 0.25-5 doc folder and what RPM owns it? rpm -qf /usr/share/doc/puppet-0.25.5 If nothing owns it, you've pretty much proved your system has old Puppet artefacts lying around. Personally I wouldn't trust any of the content in /usr/lib/ruby now. Is this a production system? Anything else use Ruby on it? I'd start to get heavy handed as this point: tar -cvzf /tmp/usrlibruby.tar.gz /usr/lib/ruby (take a backup) yum remove ruby puppet facter (remove all your RPMs) find /usr/lib/ruby (what's left in your Ruby libdir?) locate puppet (again, what's left over, should be almost nothing but / var/lib/puppet, /var/run stuff and config files) Now you could try reinstall and compare your backed up version of /usr/ lib/ruby with your new one. On Sep 12, 11:47 pm, Douglas Garstang doug.garst...@gmail.com wrote: [root@hproxy11 ~]# locate puppet ... /usr/share/doc/puppet-0.25.5 -- 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 more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Re: [Puppet Users] Facter variable $puppetversion
I don't know what pbcopy is locate can't find it. Never heard of it, Yeah never mind - its a convenient Mac OS X tool for copying something into the clipboard. Not critical. but, after removing the rpm and wiping /var/lib/puppet and running 'locate puppet', I get: (you really should use pastie.org for such a large output - its bad netiquette to paste large text onto a mailing list :-). Now I believe locate gets its info from a database, so a lot of this information is going to be old anyway. Just to be sure - can you actually look in /usr/lib/ruby/site_ruby/1.8/puppet/ to make sure its empty after RPM removal? I don't know about anyone else but I'm running out of ideas. Can you paste (which by that I mean pastie.org) the output of rpm -qlp puppet on your 0.25.5 boxes? I'd be very tempted to see the contents of the srpm/rpm for this. There was one thought I had last night ... and its a long shot. Going back to your initial statement: After doing that, I'm using the $puppetversion facter variable to determine what version of puppet the client has Can you show us the exact code for this? I just had a wary feeling about perhaps the way you were doing the expression. If that doesn't help ... can you run puppet on one of this boxes against a completely empty site.pp ... creating a new environment would probably be the cleanest way of doing this. Make sure the site.pp only has the notify: notify { Version: ${puppetversion} FQDN: ${fqdn}: } Then show us the result of running: puppet agent -t --environment myenv ken. -- Join us for PuppetConf, September 22nd and 23rd in Portland, OR: http://bit.ly/puppetconfsig; -- 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 more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Re: [Puppet Users] Re: Community Package Repos for Puppet Labs products
On Mon, Sep 12, 2011 at 3:39 PM, Vlad v...@vladgh.com wrote: Are there any plans to get the latest puppet and facter into apt.puppetlabs.com? Of course. I started with yum simply because it was asked for more loudly, and I know rpm a bit better than the debian packaging. I welcome any help, reviews, ideas on the debian packaging side (all sides really). Mike -- 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 more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
[Puppet Users] Puppet not pushing file
I have set up puppet on Ubuntu/Debian servers with no problem. I am trying to get puppet working in a RHEL environment. I have the client installed and the certificate is signed so I know the two are talking but for some reason I can not get puppet to push the file on to the client. What am I missing? OS - RHEL5.7 Installation Source - epel-testing repo Puppet server version - 2.6.6 puppetd version - 2.6.6 From fileserver.conf: snip [test] path /home/admin/puppet allow * /snip File permissions: -rwxrw-rw- 1 admin admin 99 Sep 13 11:39 /home/admin/puppet/jck.txt From site.pp: import nodes/* From /etc/puppet/manifests/nodes/client.pp node client { file { /home/admin/puppet/jck.txt owner = admin group = admin mode = 0744 source = puppet:///test/jck.txt } snip John Kennedy -- 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 more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
[Puppet Users] Re: Puppet not pushing file
Sorry, forgot to include the puppet command output...: # puppet agent --test --verbose info: Caching catalog for client info: Applying configuration version '1315910859' notice: Finished catalog run in 0.02 seconds John Kennedy On Tue, Sep 13, 2011 at 12:13, John Kennedy skeb...@gmail.com wrote: I have set up puppet on Ubuntu/Debian servers with no problem. I am trying to get puppet working in a RHEL environment. I have the client installed and the certificate is signed so I know the two are talking but for some reason I can not get puppet to push the file on to the client. What am I missing? OS - RHEL5.7 Installation Source - epel-testing repo Puppet server version - 2.6.6 puppetd version - 2.6.6 From fileserver.conf: snip [test] path /home/admin/puppet allow * /snip File permissions: -rwxrw-rw- 1 admin admin 99 Sep 13 11:39 /home/admin/puppet/jck.txt From site.pp: import nodes/* From /etc/puppet/manifests/nodes/client.pp node client { file { /home/admin/puppet/jck.txt owner = admin group = admin mode = 0744 source = puppet:///test/jck.txt } snip John Kennedy -- 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 more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
AW: [Puppet Users] Re: Puppet not pushing file
Try this: node client { file { /home/admin/puppet/jck.txt: owner = admin, group = admin, mode = 0744, source = puppet:///test/jck.txt, } Beware the colon and the commas. (Didn't you get any error messages in your log files?) Bernd Von: puppet-users@googlegroups.com [mailto:puppet-users@googlegroups.com] Im Auftrag von John Kennedy Gesendet: Dienstag, 13. September 2011 13:17 An: puppet-users@googlegroups.com Betreff: [Puppet Users] Re: Puppet not pushing file Sorry, forgot to include the puppet command output...: # puppet agent --test --verbose info: Caching catalog for client info: Applying configuration version '1315910859' notice: Finished catalog run in 0.02 seconds John Kennedy On Tue, Sep 13, 2011 at 12:13, John Kennedy skeb...@gmail.commailto:skeb...@gmail.com wrote: I have set up puppet on Ubuntu/Debian servers with no problem. I am trying to get puppet working in a RHEL environment. I have the client installed and the certificate is signed so I know the two are talking but for some reason I can not get puppet to push the file on to the client. What am I missing? OS - RHEL5.7 Installation Source - epel-testing repo Puppet server version - 2.6.6 puppetd version - 2.6.6 From fileserver.conf: snip [test] path /home/admin/puppet allow * /snip File permissions: -rwxrw-rw- 1 admin admin 99 Sep 13 11:39 /home/admin/puppet/jck.txt From site.pp: import nodes/* From /etc/puppet/manifests/nodes/client.pp node client { file { /home/admin/puppet/jck.txt owner = admin group = admin mode = 0744 source = puppet:///test/jck.txt } snip John Kennedy -- 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 more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- 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 more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Re: [Puppet Users] Re: Puppet not pushing file
On Tue, Sep 13, 2011 at 12:27, Bernd Adamowicz bernd.adamow...@esailors.dewrote: Try this: ** ** node client { file { /home/admin/puppet/jck.txt: owner = admin, group = admin, mode = 0744, source = puppet:///test/jck.txt, } ** ** Beware the colon and the commas. (Didn’t you get any error messages in your log files?) ** ** Bernd ** ** Bernd, Thanks for the reply. I added the : and , (I hate it when I forget those...). Just to ask, should there be a comma on the source line since it is the last line of the section? No errors in /var/log/messages. It just says Caching catalog for... Applying configuration version...Finished catalog run in... messages but the file is not pushed... John -- 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 more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
AW: [Puppet Users] Re: Puppet not pushing file
Von: puppet-users@googlegroups.com [mailto:puppet-users@googlegroups.com] Im Auftrag von John Kennedy Gesendet: Dienstag, 13. September 2011 13:43 An: puppet-users@googlegroups.com Betreff: Re: [Puppet Users] Re: Puppet not pushing file On Tue, Sep 13, 2011 at 12:27, Bernd Adamowicz bernd.adamow...@esailors.de wrote: Try this: node client { file { /home/admin/puppet/jck.txt: owner = admin, group = admin, mode = 0744, source = puppet:///test/jck.txt, } Beware the colon and the commas. (Didn't you get any error messages in your log files?) Bernd Bernd, Thanks for the reply. I added the : and , (I hate it when I forget those...). Just to ask, should there be a comma on the source line since it is the last line of the section? No errors in /var/log/messages. It just says Caching catalog for... Applying configuration version...Finished catalog run in... messages but the file is not pushed... Hi John, Yes, there should be a comma. Puppet's documentation clearly recommends this. If it's still not working, start your Puppet master and the client in debug mode (--debug) and check both log files and maybe post the results here. Bernd -- 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 more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
[Puppet Users] facter not returning 'fqdn' any more
I know it's not directly related to Puppet but I didn't find any better place to ask about this either. Since sometimes, there is no value for 'fqdn' in facter on the puppet agents. [root@disk10 ~]# facter hostname disk10 # [root@disk10 ~]# facter fqdn date Tue Sep 13 13:26:54 BST 2011 # [root@disk10 ~]# rpm -qa | grep facter facter-1.6.1-0.1.rc2.el5 another thing, which is strange: the certificate request from the agents used to go by the full-name (i.e. fqdn) and now it's only taking the first-part i.e. the hostname. Does anyone know what am I missing? Cheers!! -- 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 more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Re: [Puppet Users] facter not returning 'fqdn' any more
What version of facter are you running btw? You already answered that - never-mind :-). ken. -- 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 more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Re: [Puppet Users] facter not returning 'fqdn' any more
I'm guessing you get nothing when you try: facter domain ? What version of facter are you running btw? Can you show the results of the following commands: hostname dnsdomainname cat /etc/resolv.conf Cheers. ken. On Tue, Sep 13, 2011 at 1:33 PM, Sans r.santanu@gmail.com wrote: I know it's not directly related to Puppet but I didn't find any better place to ask about this either. Since sometimes, there is no value for 'fqdn' in facter on the puppet agents. [root@disk10 ~]# facter hostname disk10 # [root@disk10 ~]# facter fqdn date Tue Sep 13 13:26:54 BST 2011 # [root@disk10 ~]# rpm -qa | grep facter facter-1.6.1-0.1.rc2.el5 another thing, which is strange: the certificate request from the agents used to go by the full-name (i.e. fqdn) and now it's only taking the first-part i.e. the hostname. Does anyone know what am I missing? Cheers!! -- 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 more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- Join us for PuppetConf, September 22nd and 23rd in Portland, OR: http://bit.ly/puppetconfsig; -- 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 more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
[Puppet Users] Add a repo from an rpm, rather than with yumrepo
Hullo I'd like to add the various rpmfusion repos to my puppet manifests. Is it possible to use yum/rpm to do this directly from the rpmfusion site, using the downloadable rpm (from the rpmfusion web site): yum localinstall --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm Otherwise, I've got to define the repo using the yumrepo type, which just seems like a lot of fragile code (the rpm generates 3 repos). tia Tim -- 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 more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Re: [Puppet Users] Re: Puppet not pushing file
On Tue, Sep 13, 2011 at 12:52, Bernd Adamowicz bernd.adamow...@esailors.dewrote: Von: puppet-users@googlegroups.com [mailto:puppet-users@googlegroups.com] Im Auftrag von John Kennedy Gesendet: Dienstag, 13. September 2011 13:43 An: puppet-users@googlegroups.com Betreff: Re: [Puppet Users] Re: Puppet not pushing file On Tue, Sep 13, 2011 at 12:27, Bernd Adamowicz bernd.adamow...@esailors.de wrote: Try this: node client { file { /home/admin/puppet/jck.txt: owner = admin, group = admin, mode = 0744, source = puppet:///test/jck.txt, } Beware the colon and the commas. (Didn't you get any error messages in your log files?) Bernd Sorry, this was my error...Had a few permissions wrong and some other silly things...On to my next error (in a new email thread...) John John Kennedy -- 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 more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
[Puppet Users] Re: facter not returning 'fqdn' any more
Nope, facter domain doesn't return anything either. [root@disk10 ~]# facter domain date Tue Sep 13 14:44:21 BST 2011 hostname, dnsdomainname and resolv.conf are just fine, like this: [root@disk10 ~]# hostname disk10 [root@disk10 ~]# dnsdomainname hep.xxx.xxx.ac.uk [root@disk10 ~]# cat /etc/resolv.conf ; generated by /sbin/dhclient-script search hep.xxx.xxx.ac.uk nameserver 172.xx.xx.136 nameserver 172.xx.xx.137 Incidentally, my puppet master runs facter-1.6.0-2.el5 and here facter fqdn returns the correct value. Cheers!! On Sep 13, 2:32 pm, Ken Barber k...@puppetlabs.com wrote: I'm guessing you get nothing when you try: facter domain ? What version of facter are you running btw? Can you show the results of the following commands: hostname dnsdomainname cat /etc/resolv.conf Cheers. ken. -- 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 more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Re: [Puppet Users] Re: facter not returning 'fqdn' any more
Yep - that looks like a bug. The change was here: https://github.com/puppetlabs/facter/commit/f7daae300d5c993052dd6c49b1b5e1f3501eaa10 Basically the domain =~ part is _not_ returning true even though dnsdomainname is returning something, and not falling through as it used to to find the answer from resolv.conf I think. I'm not sure why this logic was changed to not be a fall-through logic - its really a question for the patch author. Can you raise a ticket Sans and post it to this thread? http://projects.puppetlabs.com/projects/facter/issues/new ken. On Tue, Sep 13, 2011 at 2:50 PM, Sans r.santanu@gmail.com wrote: Nope, facter domain doesn't return anything either. [root@disk10 ~]# facter domain date Tue Sep 13 14:44:21 BST 2011 hostname, dnsdomainname and resolv.conf are just fine, like this: [root@disk10 ~]# hostname disk10 [root@disk10 ~]# dnsdomainname hep.xxx.xxx.ac.uk [root@disk10 ~]# cat /etc/resolv.conf ; generated by /sbin/dhclient-script search hep.xxx.xxx.ac.uk nameserver 172.xx.xx.136 nameserver 172.xx.xx.137 Incidentally, my puppet master runs facter-1.6.0-2.el5 and here facter fqdn returns the correct value. Cheers!! On Sep 13, 2:32 pm, Ken Barber k...@puppetlabs.com wrote: I'm guessing you get nothing when you try: facter domain ? What version of facter are you running btw? Can you show the results of the following commands: hostname dnsdomainname cat /etc/resolv.conf Cheers. ken. -- 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 more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- Join us for PuppetConf, September 22nd and 23rd in Portland, OR: http://bit.ly/puppetconfsig; -- 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 more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Re: [Puppet Users] Re: facter not returning 'fqdn' any more
I could be wrong about the cause actually ... I think its still a bug though :-). Let me take a closer look at the code and see if I can work it out. ken. On Tue, Sep 13, 2011 at 3:29 PM, Ken Barber k...@puppetlabs.com wrote: Yep - that looks like a bug. The change was here: https://github.com/puppetlabs/facter/commit/f7daae300d5c993052dd6c49b1b5e1f3501eaa10 Basically the domain =~ part is _not_ returning true even though dnsdomainname is returning something, and not falling through as it used to to find the answer from resolv.conf I think. I'm not sure why this logic was changed to not be a fall-through logic - its really a question for the patch author. Can you raise a ticket Sans and post it to this thread? http://projects.puppetlabs.com/projects/facter/issues/new ken. On Tue, Sep 13, 2011 at 2:50 PM, Sans r.santanu@gmail.com wrote: Nope, facter domain doesn't return anything either. [root@disk10 ~]# facter domain date Tue Sep 13 14:44:21 BST 2011 hostname, dnsdomainname and resolv.conf are just fine, like this: [root@disk10 ~]# hostname disk10 [root@disk10 ~]# dnsdomainname hep.xxx.xxx.ac.uk [root@disk10 ~]# cat /etc/resolv.conf ; generated by /sbin/dhclient-script search hep.xxx.xxx.ac.uk nameserver 172.xx.xx.136 nameserver 172.xx.xx.137 Incidentally, my puppet master runs facter-1.6.0-2.el5 and here facter fqdn returns the correct value. Cheers!! On Sep 13, 2:32 pm, Ken Barber k...@puppetlabs.com wrote: I'm guessing you get nothing when you try: facter domain ? What version of facter are you running btw? Can you show the results of the following commands: hostname dnsdomainname cat /etc/resolv.conf Cheers. ken. -- 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 more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- Join us for PuppetConf, September 22nd and 23rd in Portland, OR: http://bit.ly/puppetconfsig; -- Join us for PuppetConf, September 22nd and 23rd in Portland, OR: http://bit.ly/puppetconfsig; -- 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 more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Re: [Puppet Users] Add a repo from an rpm, rather than with yumrepo
On 09/13/2011 09:47 AM, Tim Coote wrote: Hullo I'd like to add the various rpmfusion repos to my puppet manifests. Is it possible to use yum/rpm to do this directly from the rpmfusion site, using the downloadable rpm (from the rpmfusion web site): yum localinstall --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm Otherwise, I've got to define the repo using the yumrepo type, which just seems like a lot of fragile code (the rpm generates 3 repos). tia Tim Tim, I use this define/exec: ## # creates a repo release file by downloading the $source # # $name: name of repository (creates ${name}.repo file) # $source: URL to *-release rpm define packages::repo_release ($source) { exec { $name: command =/bin/rpm -Uvh ${source}, creates = /etc/yum.repos.d/${name}.repo, } } And then I use these instances: packages::repo_release { rpmfusion-free: source = http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm;, } packages::repo_release { rpmfusion-nonfree: source = http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm;, } package { [ rpmfusion-free-release, rpmfusion-nonfree-release, ]: ensure = latest, require = [ Packages::Repo_release[rpmfusion-free], Packages::Repo_release[rpmfusion-nonfree], ], } -Doug signature.asc Description: OpenPGP digital signature
[Puppet Users] Problems installing Puppet Dashoboard
Hi all, I'm trying to install Puppet Dashboard 1.2.0 and having some troubles, I'm aware that it's probably something wrong with my ruby/rails environment but I really can't seem to figure out why this happens.. My environment is: ruby 1.8.7 rake 0.9.2 gem 1.8.10 When I try to create the DB schema using the rake command I get alot of deprecated errors, which is weird because I meet the requirements that are specified in the Puppet docs.. This is what I get when I try to run the command: root@master:~/puppet-dashboard-1.2.0[0]# rake RAILS_ENV=production db:migrate --trace NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01. Gem.source_index called from /root/puppet-dashboard-1.2.0/config/../vendor/rails/railties/lib/rails/gem_dependency.rb:21. NOTE: Gem::SourceIndex#initialize is deprecated with no replacement. It will be removed on or after 2011-11-01. Gem::SourceIndex#initialize called from /root/puppet-dashboard-1.2.0/config/../vendor/rails/railties/lib/rails/vendor_gem_source_index.rb:100. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /usr/local/lib/site_ruby/1.8/rubygems/source_index.rb:91. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /usr/local/lib/site_ruby/1.8/rubygems/source_index.rb:91. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /usr/local/lib/site_ruby/1.8/rubygems/source_index.rb:91. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /usr/local/lib/site_ruby/1.8/rubygems/source_index.rb:91. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /usr/local/lib/site_ruby/1.8/rubygems/source_index.rb:91. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /usr/local/lib/site_ruby/1.8/rubygems/source_index.rb:91. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /usr/local/lib/site_ruby/1.8/rubygems/source_index.rb:91. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /usr/local/lib/site_ruby/1.8/rubygems/source_index.rb:91. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /usr/local/lib/site_ruby/1.8/rubygems/source_index.rb:91. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /usr/local/lib/site_ruby/1.8/rubygems/source_index.rb:91. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /usr/local/lib/site_ruby/1.8/rubygems/source_index.rb:91. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /usr/local/lib/site_ruby/1.8/rubygems/source_index.rb:91. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /usr/local/lib/site_ruby/1.8/rubygems/source_index.rb:91. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /usr/local/lib/site_ruby/1.8/rubygems/source_index.rb:91. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /usr/local/lib/site_ruby/1.8/rubygems/source_index.rb:91. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /usr/local/lib/site_ruby/1.8/rubygems/source_index.rb:91. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /usr/local/lib/site_ruby/1.8/rubygems/source_index.rb:91. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /usr/local/lib/site_ruby/1.8/rubygems/source_index.rb:91. ** Invoke db:migrate (first_time) ** Invoke
Re: [Puppet Users] Add a repo from an rpm, rather than with yumrepo
Yep, the creates makes exec know that the command given will create that file and won't run once it exists. This is similar to using onlyif/unless w/ something like test -e /etc/yum.repo.d/blah.repo. I have the requires setup on the package resources like that so the -release RPMs are installed, then they will maintain the release file and keep it updated (ensure = latest). -Doug On 09/13/2011 11:37 AM, Tim Coote wrote: Thanks. I'll try that. I had a simpler model using exec, but found that it kept being run and failing. How do I set up the dependencies such that the exec only triggers as needed (is that what creates= achieves?) Tim On 13 September 2011 16:16, Doug Warner d...@warner.fm mailto:d...@warner.fm wrote: On 09/13/2011 09:47 AM, Tim Coote wrote: Hullo I'd like to add the various rpmfusion repos to my puppet manifests. Is it possible to use yum/rpm to do this directly from the rpmfusion site, using the downloadable rpm (from the rpmfusion web site): yum localinstall --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm Otherwise, I've got to define the repo using the yumrepo type, which just seems like a lot of fragile code (the rpm generates 3 repos). tia Tim Tim, I use this define/exec: ## # creates a repo release file by downloading the $source # # $name: name of repository (creates ${name}.repo file) # $source: URL to *-release rpm define packages::repo_release ($source) { exec { $name: command =/bin/rpm -Uvh ${source}, creates = /etc/yum.repos.d/${name}.repo, } } And then I use these instances: packages::repo_release { rpmfusion-free: source = http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm;, } packages::repo_release { rpmfusion-nonfree: source = http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm;, } package { [ rpmfusion-free-release, rpmfusion-nonfree-release, ]: ensure = latest, require = [ Packages::Repo_release[rpmfusion-free], Packages::Repo_release[rpmfusion-nonfree], ], } -Doug signature.asc Description: OpenPGP digital signature
[Puppet Users] load balance multiple puppetmaster, backend workers not authenticating
I'm trying to load balance multiple puppetmasters using apache and passenger as described in James's book. Was able to get a single passenger server installation to work correctly. When I configure the frontend load balancer and backend workers, the backend workers does not authenticate even though I am passing the headers to it. curl -v -H Accept: pson, yaml \ -H X-Client-DN:: /CN=puppetclient.example \ -H X-Client-Verify: SUCCESS \ 'http://puppetmaster.example:18140/production/catalog/puppetclient.example?facts_format=b64_zlib_yamlfacts=...' * About to connect() to puppetmaster.example port 18140 * Trying puppetmaster.example... connected * Connected to puppetmaster.example (192.168.1.100) port 18140 GET /production/catalog/puppetclient.example?facts_format=b64_zlib_yamlfacts=... HTTP/1.1 User-Agent: curl/7.15.5 (x86_64-redhat-linux-gnu) libcurl/7.15.5 OpenSSL/0.9.8b zlib/1.2.3 libidn/0.6.5 Host: puppetmaster.example:18140 Accept: pson, yaml X-Client-DN:: /CN=puppetclient.example X-Client-Verify: SUCCESS HTTP/1.1 403 Forbidden Date: Tue, 13 Sep 2011 14:28:39 GMT Server: Apache/2.2.3 (CentOS) X-Powered-By: Phusion Passenger (mod_rails/mod_rack) 3.0.9 Content-Length: 98 Status: 403 Connection: close Content-Type: text/plain; charset=UTF-8 Closing connection #0 Forbidden request: puppetclient.example(192.168.1.201) access to / catalog/puppetclient.example [find] at line 93 Here is the backend configuration: Listen 18140 VirtualHost 192.168.1.100:18140 SSLEngine off # Obtain Authentication Information from Client Request Headers SetEnvIf X-Client-Verify (.*) SSL_CLIENT_VERIFY=$1 SetEnvIf X-SSL-Client-DN (.*) SSL_CLIENT_S_DN=$1 RackAutoDetect On DocumentRoot /usr/share/puppet/rack/puppetmaster_18140/public/ Directory /usr/share/puppet/rack/puppetmaster_18140/ Options None AllowOverride None Order allow,deny allow from all /Directory ErrorLog /var/log/httpd/puppetmaster_worker_error_18140.log CustomLog /var/log/httpd/puppetmaster_worker_access_18140.log combined /VirtualHost -- 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 more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Re: [Puppet Users] Re: facter not returning 'fqdn' any more
Since this is urgent and we are in RC, I've raised a bug for you Sans: http://projects.puppetlabs.com/issues/9457 ken. On Tue, Sep 13, 2011 at 3:43 PM, Ken Barber k...@puppetlabs.com wrote: Yeah okay I was close though :-). if name = Facter::Util::Resolution.exec('hostname') ... elsif domain = Facter::Util::Resolution.exec('dnsdomainname') The first bit will pretty much always be true ... and if your 'hostname' command doesn't contain your full domain - it won't fall back to checking dnsdomainnname or resolv.conf. ken. On Tue, Sep 13, 2011 at 3:36 PM, Ken Barber k...@puppetlabs.com wrote: I could be wrong about the cause actually ... I think its still a bug though :-). Let me take a closer look at the code and see if I can work it out. ken. On Tue, Sep 13, 2011 at 3:29 PM, Ken Barber k...@puppetlabs.com wrote: Yep - that looks like a bug. The change was here: https://github.com/puppetlabs/facter/commit/f7daae300d5c993052dd6c49b1b5e1f3501eaa10 Basically the domain =~ part is _not_ returning true even though dnsdomainname is returning something, and not falling through as it used to to find the answer from resolv.conf I think. I'm not sure why this logic was changed to not be a fall-through logic - its really a question for the patch author. Can you raise a ticket Sans and post it to this thread? http://projects.puppetlabs.com/projects/facter/issues/new ken. On Tue, Sep 13, 2011 at 2:50 PM, Sans r.santanu@gmail.com wrote: Nope, facter domain doesn't return anything either. [root@disk10 ~]# facter domain date Tue Sep 13 14:44:21 BST 2011 hostname, dnsdomainname and resolv.conf are just fine, like this: [root@disk10 ~]# hostname disk10 [root@disk10 ~]# dnsdomainname hep.xxx.xxx.ac.uk [root@disk10 ~]# cat /etc/resolv.conf ; generated by /sbin/dhclient-script search hep.xxx.xxx.ac.uk nameserver 172.xx.xx.136 nameserver 172.xx.xx.137 Incidentally, my puppet master runs facter-1.6.0-2.el5 and here facter fqdn returns the correct value. Cheers!! On Sep 13, 2:32 pm, Ken Barber k...@puppetlabs.com wrote: I'm guessing you get nothing when you try: facter domain ? What version of facter are you running btw? Can you show the results of the following commands: hostname dnsdomainname cat /etc/resolv.conf Cheers. ken. -- 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 more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- Join us for PuppetConf, September 22nd and 23rd in Portland, OR: http://bit.ly/puppetconfsig; -- Join us for PuppetConf, September 22nd and 23rd in Portland, OR: http://bit.ly/puppetconfsig; -- Join us for PuppetConf, September 22nd and 23rd in Portland, OR: http://bit.ly/puppetconfsig; -- Join us for PuppetConf, September 22nd and 23rd in Portland, OR: http://bit.ly/puppetconfsig; -- 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 more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Re: [Puppet Users] Re: Community Package Repos for Puppet Labs products
fpm ;) On Tue, Sep 13, 2011 at 12:35 AM, Michael Stahnke stah...@puppetlabs.comwrote: On Mon, Sep 12, 2011 at 3:39 PM, Vlad v...@vladgh.com wrote: Are there any plans to get the latest puppet and facter into apt.puppetlabs.com? Of course. I started with yum simply because it was asked for more loudly, and I know rpm a bit better than the debian packaging. I welcome any help, reviews, ideas on the debian packaging side (all sides really). Mike -- 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 more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- 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 more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Re: [Puppet Users] Re: Facter variable $puppetversion
On Tue, Sep 13, 2011 at 1:45 AM, Luke Bigum luke.bi...@lmax.com wrote: Err, what is that 0.25-5 doc folder and what RPM owns it? rpm -qf /usr/share/doc/puppet-0.25.5 If nothing owns it, you've pretty much proved your system has old Puppet artefacts lying around. Personally I wouldn't trust any of the content in /usr/lib/ruby now. Is this a production system? Anything else use Ruby on it? I'd start to get heavy handed as this point: tar -cvzf /tmp/usrlibruby.tar.gz /usr/lib/ruby (take a backup) yum remove ruby puppet facter (remove all your RPMs) find /usr/lib/ruby (what's left in your Ruby libdir?) locate puppet (again, what's left over, should be almost nothing but / var/lib/puppet, /var/run stuff and config files) Now you could try reinstall and compare your backed up version of /usr/ lib/ruby with your new one. On Sep 12, 11:47 pm, Douglas Garstang doug.garst...@gmail.com wrote: [root@hproxy11 ~]# locate puppet ... /usr/share/doc/puppet-0.25.5 So... this doesn't make sense. I just did this on the client: rpm --erase puppet rpm --erase facter find / -name *facter* -exec rm -rf {} \; find / -name *puppet* -exec rm -rf {} \; And then reinstalled puppet and facter, cleaned the certs etc, and restarted puppet. Problem persists... Doug. -- 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 more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Re: [Puppet Users] Re: Facter variable $puppetversion
- Original Message - On Tue, Sep 13, 2011 at 1:45 AM, Luke Bigum luke.bi...@lmax.com wrote: Err, what is that 0.25-5 doc folder and what RPM owns it? rpm -qf /usr/share/doc/puppet-0.25.5 If nothing owns it, you've pretty much proved your system has old Puppet artefacts lying around. Personally I wouldn't trust any of the content in /usr/lib/ruby now. Is this a production system? Anything else use Ruby on it? I'd start to get heavy handed as this point: tar -cvzf /tmp/usrlibruby.tar.gz /usr/lib/ruby (take a backup) yum remove ruby puppet facter (remove all your RPMs) find /usr/lib/ruby (what's left in your Ruby libdir?) locate puppet (again, what's left over, should be almost nothing but / var/lib/puppet, /var/run stuff and config files) Now you could try reinstall and compare your backed up version of /usr/ lib/ruby with your new one. On Sep 12, 11:47 pm, Douglas Garstang doug.garst...@gmail.com wrote: [root@hproxy11 ~]# locate puppet ... /usr/share/doc/puppet-0.25.5 So... this doesn't make sense. I just did this on the client: rpm --erase puppet rpm --erase facter find / -name *facter* -exec rm -rf {} \; find / -name *puppet* -exec rm -rf {} \; And then reinstalled puppet and facter, cleaned the certs etc, and restarted puppet. Problem persists... maybe these rogue files didnt come from rpm? then it wouldnt know to remove them. Given how much time has been spent on this, I think you should try and install a blank from scratch centos box and install the rpms on it and see how that rolls. -- R.I.Pienaar -- 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 more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Re: [Puppet Users] Re: Facter variable $puppetversion
Yeah this doesn't seem to be old versions of Puppet. So from my other email ... can you show us the code where you are doing your comparison for $puppetversion? I have a feeling I might know what it is ... although I'm probably wrong ... In fact - grep for 'puppetversion' in all of your puppet code ... I'm curious :-). ken. On Tue, Sep 13, 2011 at 6:48 PM, Douglas Garstang doug.garst...@gmail.com wrote: On Tue, Sep 13, 2011 at 10:46 AM, R.I.Pienaar r...@devco.net wrote: - Original Message - On Tue, Sep 13, 2011 at 1:45 AM, Luke Bigum luke.bi...@lmax.com wrote: Err, what is that 0.25-5 doc folder and what RPM owns it? rpm -qf /usr/share/doc/puppet-0.25.5 If nothing owns it, you've pretty much proved your system has old Puppet artefacts lying around. Personally I wouldn't trust any of the content in /usr/lib/ruby now. Is this a production system? Anything else use Ruby on it? I'd start to get heavy handed as this point: tar -cvzf /tmp/usrlibruby.tar.gz /usr/lib/ruby (take a backup) yum remove ruby puppet facter (remove all your RPMs) find /usr/lib/ruby (what's left in your Ruby libdir?) locate puppet (again, what's left over, should be almost nothing but / var/lib/puppet, /var/run stuff and config files) Now you could try reinstall and compare your backed up version of /usr/ lib/ruby with your new one. On Sep 12, 11:47 pm, Douglas Garstang doug.garst...@gmail.com wrote: [root@hproxy11 ~]# locate puppet ... /usr/share/doc/puppet-0.25.5 So... this doesn't make sense. I just did this on the client: rpm --erase puppet rpm --erase facter find / -name *facter* -exec rm -rf {} \; find / -name *puppet* -exec rm -rf {} \; And then reinstalled puppet and facter, cleaned the certs etc, and restarted puppet. Problem persists... maybe these rogue files didnt come from rpm? then it wouldnt know to remove them. Maybe not, but I'm sure the rm -fR would have taken care of any that weren't, no? I think we all know that installing puppet 2.7.3 from RPM's isn't an issue, or else everyone would be experiencing the same problem. It seems at this point, the problem may lie somewhere on the server, especially as facter locally reports the right value. Doug. -- 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 more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- Join us for PuppetConf, September 22nd and 23rd in Portland, OR: http://bit.ly/puppetconfsig; -- 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 more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Re: [Puppet Users] Re: Facter variable $puppetversion
If that were true the job of QA would be much easier On Sep 13, 2011 10:48 AM, Douglas Garstang doug.garst...@gmail.com wrote: On Tue, Sep 13, 2011 at 10:46 AM, R.I.Pienaar r...@devco.net wrote: - Original Message - On Tue, Sep 13, 2011 at 1:45 AM, Luke Bigum luke.bi...@lmax.com wrote: Err, what is that 0.25-5 doc folder and what RPM owns it? rpm -qf /usr/share/doc/puppet-0.25.5 If nothing owns it, you've pretty much proved your system has old Puppet artefacts lying around. Personally I wouldn't trust any of the content in /usr/lib/ruby now. Is this a production system? Anything else use Ruby on it? I'd start to get heavy handed as this point: tar -cvzf /tmp/usrlibruby.tar.gz /usr/lib/ruby (take a backup) yum remove ruby puppet facter (remove all your RPMs) find /usr/lib/ruby (what's left in your Ruby libdir?) locate puppet (again, what's left over, should be almost nothing but / var/lib/puppet, /var/run stuff and config files) Now you could try reinstall and compare your backed up version of /usr/ lib/ruby with your new one. On Sep 12, 11:47 pm, Douglas Garstang doug.garst...@gmail.com wrote: [root@hproxy11 ~]# locate puppet ... /usr/share/doc/puppet-0.25.5 So... this doesn't make sense. I just did this on the client: rpm --erase puppet rpm --erase facter find / -name *facter* -exec rm -rf {} \; find / -name *puppet* -exec rm -rf {} \; And then reinstalled puppet and facter, cleaned the certs etc, and restarted puppet. Problem persists... maybe these rogue files didnt come from rpm? then it wouldnt know to remove them. Maybe not, but I'm sure the rm -fR would have taken care of any that weren't, no? I think we all know that installing puppet 2.7.3 from RPM's isn't an issue, or else everyone would be experiencing the same problem. It seems at this point, the problem may lie somewhere on the server, especially as facter locally reports the right value. Doug. -- 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 more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- 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 more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Re: [Puppet Users] Problems installing Puppet Dashoboard
Just a stab in the dark, here... but looks like you might need an older version of rack installed? The key line might be: *can't activate rack-1.1.0, already activated rack-1.1.2* On Tue, Sep 13, 2011 at 8:33 AM, Galed Friedmann galed.friedm...@onavo.comwrote: Hi all, I'm trying to install Puppet Dashboard 1.2.0 and having some troubles, I'm aware that it's probably something wrong with my ruby/rails environment but I really can't seem to figure out why this happens.. My environment is: ruby 1.8.7 rake 0.9.2 gem 1.8.10 When I try to create the DB schema using the rake command I get alot of deprecated errors, which is weird because I meet the requirements that are specified in the Puppet docs.. This is what I get when I try to run the command: root@master:~/puppet-dashboard-1.2.0[0]# rake RAILS_ENV=production db:migrate --trace NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01. Gem.source_index called from /root/puppet-dashboard-1.2.0/config/../vendor/rails/railties/lib/rails/gem_dependency.rb:21. NOTE: Gem::SourceIndex#initialize is deprecated with no replacement. It will be removed on or after 2011-11-01. Gem::SourceIndex#initialize called from /root/puppet-dashboard-1.2.0/config/../vendor/rails/railties/lib/rails/vendor_gem_source_index.rb:100. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /usr/local/lib/site_ruby/1.8/rubygems/source_index.rb:91. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /usr/local/lib/site_ruby/1.8/rubygems/source_index.rb:91. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /usr/local/lib/site_ruby/1.8/rubygems/source_index.rb:91. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /usr/local/lib/site_ruby/1.8/rubygems/source_index.rb:91. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /usr/local/lib/site_ruby/1.8/rubygems/source_index.rb:91. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /usr/local/lib/site_ruby/1.8/rubygems/source_index.rb:91. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /usr/local/lib/site_ruby/1.8/rubygems/source_index.rb:91. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /usr/local/lib/site_ruby/1.8/rubygems/source_index.rb:91. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /usr/local/lib/site_ruby/1.8/rubygems/source_index.rb:91. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /usr/local/lib/site_ruby/1.8/rubygems/source_index.rb:91. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /usr/local/lib/site_ruby/1.8/rubygems/source_index.rb:91. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /usr/local/lib/site_ruby/1.8/rubygems/source_index.rb:91. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /usr/local/lib/site_ruby/1.8/rubygems/source_index.rb:91. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /usr/local/lib/site_ruby/1.8/rubygems/source_index.rb:91. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /usr/local/lib/site_ruby/1.8/rubygems/source_index.rb:91. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /usr/local/lib/site_ruby/1.8/rubygems/source_index.rb:91. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from
[Puppet Users] ANNOUNCE: Puppet-dashboard 1.2.1rc2 available
This is a maintenance release candidate of Puppet Dashboard. This release candidate (rc2) fixes a broken init script on redhat systems (issues #9101 and #9423). This release is available for download at: http://downloads.puppetlabs.com/dashboard/ We have included Debian and RPM packages as well as a tarball. See the Verifying Puppet Download section at: http://projects.puppetlabs.com/projects/puppet/wiki/Downloading_Puppet Please report feedback via the Puppet Labs Redmine site, using an affected version of 1.2.1rc2 http://projects.puppetlabs.com/projects/dashboard Documentation is available at: http://docs.puppetlabs.com/dashboard/index.html Highlights of RC2 === --- (#9101) Fix Dashboard workers init script on RH The Red Hat Dashboard workers init script last set of fixes had a typo that caused it not to be recognized by chkconfig. This patch fixes that so the script is usable by chkconfig. It also removes duplicate and possibly conflicting blocks of comments that chkconfig can read. RC2 Changelog === 2d92f0f Updated CHANGELOG for 1.2.1rc2 3ab0029 (#9101) Fix Dashboard workers init script on RH -- 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 more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Re: [Puppet Users] Problems installing Puppet Dashoboard
Did you yuse rubygems-1.3.7 as documented in the install procedure ? I did try with rubygems-1.8.10 (the latest one) and got failures as well, like yours. -- Bruno On 11-09-13 02:55 PM, Russell Van Tassell wrote: Just a stab in the dark, here... but looks like you might need an older version of rack installed? The key line might be: */can't activate rack-1.1.0, already activated rack-1.1.2/* On Tue, Sep 13, 2011 at 8:33 AM, Galed Friedmann galed.friedm...@onavo.com mailto:galed.friedm...@onavo.com wrote: Hi all, I'm trying to install Puppet Dashboard 1.2.0 and having some troubles, I'm aware that it's probably something wrong with my ruby/rails environment but I really can't seem to figure out why this happens.. My environment is: ruby 1.8.7 rake 0.9.2 gem 1.8.10 When I try to create the DB schema using the rake command I get alot of deprecated errors, which is weird because I meet the requirements that are specified in the Puppet docs.. This is what I get when I try to run the command: root@master:~/puppet-dashboard-1.2.0[0]# rake RAILS_ENV=production db:migrate --trace NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01. Gem.source_index called from /root/puppet-dashboard-1.2.0/config/../vendor/rails/railties/lib/rails/gem_dependency.rb:21. NOTE: Gem::SourceIndex#initialize is deprecated with no replacement. It will be removed on or after 2011-11-01. Gem::SourceIndex#initialize called from /root/puppet-dashboard-1.2.0/config/../vendor/rails/railties/lib/rails/vendor_gem_source_index.rb:100. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /usr/local/lib/site_ruby/1.8/rubygems/source_index.rb:91. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /usr/local/lib/site_ruby/1.8/rubygems/source_index.rb:91. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /usr/local/lib/site_ruby/1.8/rubygems/source_index.rb:91. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /usr/local/lib/site_ruby/1.8/rubygems/source_index.rb:91. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /usr/local/lib/site_ruby/1.8/rubygems/source_index.rb:91. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /usr/local/lib/site_ruby/1.8/rubygems/source_index.rb:91. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /usr/local/lib/site_ruby/1.8/rubygems/source_index.rb:91. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /usr/local/lib/site_ruby/1.8/rubygems/source_index.rb:91. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /usr/local/lib/site_ruby/1.8/rubygems/source_index.rb:91. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /usr/local/lib/site_ruby/1.8/rubygems/source_index.rb:91. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /usr/local/lib/site_ruby/1.8/rubygems/source_index.rb:91. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /usr/local/lib/site_ruby/1.8/rubygems/source_index.rb:91. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /usr/local/lib/site_ruby/1.8/rubygems/source_index.rb:91. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be removed on or after 2011-11-01. Gem::SourceIndex#add_spec called from /usr/local/lib/site_ruby/1.8/rubygems/source_index.rb:91. NOTE: Gem::SourceIndex#add_spec is deprecated, use Specification.add_spec. It will be
Re: [Puppet Users] Re: Facter variable $puppetversion
On Sep 13, 2011, at 10:48 AM, Douglas Garstang wrote: On Tue, Sep 13, 2011 at 10:46 AM, R.I.Pienaar r...@devco.net wrote: - Original Message - On Tue, Sep 13, 2011 at 1:45 AM, Luke Bigum luke.bi...@lmax.com wrote: Err, what is that 0.25-5 doc folder and what RPM owns it? rpm -qf /usr/share/doc/puppet-0.25.5 If nothing owns it, you've pretty much proved your system has old Puppet artefacts lying around. Personally I wouldn't trust any of the content in /usr/lib/ruby now. Is this a production system? Anything else use Ruby on it? I'd start to get heavy handed as this point: tar -cvzf /tmp/usrlibruby.tar.gz /usr/lib/ruby (take a backup) yum remove ruby puppet facter (remove all your RPMs) find /usr/lib/ruby (what's left in your Ruby libdir?) locate puppet (again, what's left over, should be almost nothing but / var/lib/puppet, /var/run stuff and config files) Now you could try reinstall and compare your backed up version of /usr/ lib/ruby with your new one. On Sep 12, 11:47 pm, Douglas Garstang doug.garst...@gmail.com wrote: [root@hproxy11 ~]# locate puppet ... /usr/share/doc/puppet-0.25.5 So... this doesn't make sense. I just did this on the client: rpm --erase puppet rpm --erase facter find / -name *facter* -exec rm -rf {} \; find / -name *puppet* -exec rm -rf {} \; And then reinstalled puppet and facter, cleaned the certs etc, and restarted puppet. Problem persists... maybe these rogue files didnt come from rpm? then it wouldnt know to remove them. Maybe not, but I'm sure the rm -fR would have taken care of any that weren't, no? I think we all know that installing puppet 2.7.3 from RPM's isn't an issue, or else everyone would be experiencing the same problem. It seems at this point, the problem may lie somewhere on the server, especially as facter locally reports the right value. I'm thinking that he has puppet 0.25.5 gem installed and all of the rpm -e / yum remove isn't going to solve that. try 'gem list --local' Craig -- 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 more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Re: [Puppet Users] Re: Facter variable $puppetversion
On Tue, Sep 13, 2011 at 12:25 PM, Craig White craig.wh...@ttiltd.com wrote: On Sep 13, 2011, at 10:48 AM, Douglas Garstang wrote: On Tue, Sep 13, 2011 at 10:46 AM, R.I.Pienaar r...@devco.net wrote: - Original Message - On Tue, Sep 13, 2011 at 1:45 AM, Luke Bigum luke.bi...@lmax.com wrote: Err, what is that 0.25-5 doc folder and what RPM owns it? rpm -qf /usr/share/doc/puppet-0.25.5 If nothing owns it, you've pretty much proved your system has old Puppet artefacts lying around. Personally I wouldn't trust any of the content in /usr/lib/ruby now. Is this a production system? Anything else use Ruby on it? I'd start to get heavy handed as this point: tar -cvzf /tmp/usrlibruby.tar.gz /usr/lib/ruby (take a backup) yum remove ruby puppet facter (remove all your RPMs) find /usr/lib/ruby (what's left in your Ruby libdir?) locate puppet (again, what's left over, should be almost nothing but / var/lib/puppet, /var/run stuff and config files) Now you could try reinstall and compare your backed up version of /usr/ lib/ruby with your new one. On Sep 12, 11:47 pm, Douglas Garstang doug.garst...@gmail.com wrote: [root@hproxy11 ~]# locate puppet ... /usr/share/doc/puppet-0.25.5 So... this doesn't make sense. I just did this on the client: rpm --erase puppet rpm --erase facter find / -name *facter* -exec rm -rf {} \; find / -name *puppet* -exec rm -rf {} \; And then reinstalled puppet and facter, cleaned the certs etc, and restarted puppet. Problem persists... maybe these rogue files didnt come from rpm? then it wouldnt know to remove them. Maybe not, but I'm sure the rm -fR would have taken care of any that weren't, no? I think we all know that installing puppet 2.7.3 from RPM's isn't an issue, or else everyone would be experiencing the same problem. It seems at this point, the problem may lie somewhere on the server, especially as facter locally reports the right value. I'm thinking that he has puppet 0.25.5 gem installed and all of the rpm -e / yum remove isn't going to solve that. try 'gem list --local' Craig, I posted this yesterday I think, but, on the client: [root@hproxy11 ~]# gem list --local *** LOCAL GEMS *** stomp (1.1.6) Doug -- 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 more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Re: [Puppet Users] Re: Facter variable $puppetversion
On Tue, Sep 13, 2011 at 11:01 AM, Ken Barber k...@puppetlabs.com wrote: Yeah this doesn't seem to be old versions of Puppet. So from my other email ... can you show us the code where you are doing your comparison for $puppetversion? I have a feeling I might know what it is ... although I'm probably wrong ... In fact - grep for 'puppetversion' in all of your puppet code ... I'm curious :-). Ken, The manifest has this: notify{${puppetversion} on ${fqdn}:} which is causing the following to appear on the server: Sep 13 10:36:51 sv2admin1 puppet-master[22554]: (//hproxy11.h.foo.com//Stage[main]/Puppet::Setup/Notify[0.25.5 on hproxy11.h.foo.com]/message) defined 'message' as '0.25.5 on hproxy11.h.foo.com' and the following to appear on the client: Sep 13 10:36:44 hproxy11 puppet-agent[12366]: (/Stage[main]/Puppet::Setup/Notify[0.25.5 on hproxy11.h.foocom]/message) defined 'message' as '0.25.5 on hproxy11.h.foo.com' Doug -- 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 more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Re: [Puppet Users] Re: Facter variable $puppetversion
So that is the only case where you are using the variable throughout your entire code? I mean - ALL your code ... not just the one line you are printing to the screen ... ken. On Tue, Sep 13, 2011 at 8:30 PM, Douglas Garstang doug.garst...@gmail.com wrote: On Tue, Sep 13, 2011 at 11:01 AM, Ken Barber k...@puppetlabs.com wrote: Yeah this doesn't seem to be old versions of Puppet. So from my other email ... can you show us the code where you are doing your comparison for $puppetversion? I have a feeling I might know what it is ... although I'm probably wrong ... In fact - grep for 'puppetversion' in all of your puppet code ... I'm curious :-). Ken, The manifest has this: notify{${puppetversion} on ${fqdn}:} which is causing the following to appear on the server: Sep 13 10:36:51 sv2admin1 puppet-master[22554]: (//hproxy11.h.foo.com//Stage[main]/Puppet::Setup/Notify[0.25.5 on hproxy11.h.foo.com]/message) defined 'message' as '0.25.5 on hproxy11.h.foo.com' and the following to appear on the client: Sep 13 10:36:44 hproxy11 puppet-agent[12366]: (/Stage[main]/Puppet::Setup/Notify[0.25.5 on hproxy11.h.foocom]/message) defined 'message' as '0.25.5 on hproxy11.h.foo.com' Doug -- 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 more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- Join us for PuppetConf, September 22nd and 23rd in Portland, OR: http://bit.ly/puppetconfsig; -- 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 more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Re: [Puppet Users] Re: Facter variable $puppetversion
On Sep 13, 2011, at 12:28 PM, Douglas Garstang wrote: On Tue, Sep 13, 2011 at 12:25 PM, Craig White craig.wh...@ttiltd.com wrote: I'm thinking that he has puppet 0.25.5 gem installed and all of the rpm -e / yum remove isn't going to solve that. try 'gem list --local' Craig, I posted this yesterday I think, but, on the client: [root@hproxy11 ~]# gem list --local *** LOCAL GEMS *** stomp (1.1.6) it is possible to have more than 1 ruby installed and more than 1 gem local store and then users can store gems in their home directories too. There's an amazing amount of ways to shoot yourself in the foot with local installations of ruby. Our company gave up on the rpm/apt packages and simply uses enterprise-ruby and gems to install everything. I have removed all distribution packages of anything remotely resembling ruby and life is much simpler. Got snagged when I first started playing with puppet because I was also playing with chef and used Ubuntu's packages for ruby/gems/etc. and that clearly wasn't working well. Craig -- 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 more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Re: [Puppet Users] Re: Facter variable $puppetversion
The reason why I say this - is because I can replicate this problem myself with: node default { $puppetversion = 0.25.5 notice($puppetversion) } In fact its the only way I can think of to replicate the issue - besides all the other ways we have already ruled out. *shrug*. ken. On Tue, Sep 13, 2011 at 8:34 PM, Ken Barber k...@puppetlabs.com wrote: So that is the only case where you are using the variable throughout your entire code? I mean - ALL your code ... not just the one line you are printing to the screen ... ken. On Tue, Sep 13, 2011 at 8:30 PM, Douglas Garstang doug.garst...@gmail.com wrote: On Tue, Sep 13, 2011 at 11:01 AM, Ken Barber k...@puppetlabs.com wrote: Yeah this doesn't seem to be old versions of Puppet. So from my other email ... can you show us the code where you are doing your comparison for $puppetversion? I have a feeling I might know what it is ... although I'm probably wrong ... In fact - grep for 'puppetversion' in all of your puppet code ... I'm curious :-). Ken, The manifest has this: notify{${puppetversion} on ${fqdn}:} which is causing the following to appear on the server: Sep 13 10:36:51 sv2admin1 puppet-master[22554]: (//hproxy11.h.foo.com//Stage[main]/Puppet::Setup/Notify[0.25.5 on hproxy11.h.foo.com]/message) defined 'message' as '0.25.5 on hproxy11.h.foo.com' and the following to appear on the client: Sep 13 10:36:44 hproxy11 puppet-agent[12366]: (/Stage[main]/Puppet::Setup/Notify[0.25.5 on hproxy11.h.foocom]/message) defined 'message' as '0.25.5 on hproxy11.h.foo.com' Doug -- 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 more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- Join us for PuppetConf, September 22nd and 23rd in Portland, OR: http://bit.ly/puppetconfsig; -- Join us for PuppetConf, September 22nd and 23rd in Portland, OR: http://bit.ly/puppetconfsig; -- 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 more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
[Puppet Users] Deployment of applications
I know this has come up on the list numerous times before but I thought it would be a good time to see if the state of the art has advanced for this kind of thing. I wanted to know how people are handling higher level deployment of applications - things that have to be done repeatedly but not all the time. An example of this is checking an application out of svn, building it, creating a package and then moving it off to a repo. Or even just building/installing locally for developers. It never seems to fit well into Puppet for me and I end up with crazy complicated manifests to deal with this kind of thing. I recently moved these jobs into Rundeck (www.rundeck.org) which works pretty well but doesn't really leverage any of the stuff I have within Foreman/Puppet. I've seen suggestions to use mcollective but this doesn't easily integrate our existing scripts (written in many languages) or processes and would require me to force a lot of developers to work differently. I could just have classes that trigger scripts only when some condition is met (like /.buildapp files) or something along those lines but nothing seems elegant. What I'm trying to find out is what other people did to handle this? I want something I can build up over time and slowly migrate legacy apps and processes into without having to do a massive up front development. It should also be relatively simple and not require me to code anything as anyone on the list who knows me can tell you that I am absolutely awful at coding. -- 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 more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Re: [Puppet Users] Re: Facter variable $puppetversion
Even using: notify{${::puppetversion} on ${::fqdn}:} Instead would be of interest ... ken. On Tue, Sep 13, 2011 at 8:46 PM, Ken Barber k...@puppetlabs.com wrote: The reason why I say this - is because I can replicate this problem myself with: node default { $puppetversion = 0.25.5 notice($puppetversion) } In fact its the only way I can think of to replicate the issue - besides all the other ways we have already ruled out. *shrug*. ken. On Tue, Sep 13, 2011 at 8:34 PM, Ken Barber k...@puppetlabs.com wrote: So that is the only case where you are using the variable throughout your entire code? I mean - ALL your code ... not just the one line you are printing to the screen ... ken. On Tue, Sep 13, 2011 at 8:30 PM, Douglas Garstang doug.garst...@gmail.com wrote: On Tue, Sep 13, 2011 at 11:01 AM, Ken Barber k...@puppetlabs.com wrote: Yeah this doesn't seem to be old versions of Puppet. So from my other email ... can you show us the code where you are doing your comparison for $puppetversion? I have a feeling I might know what it is ... although I'm probably wrong ... In fact - grep for 'puppetversion' in all of your puppet code ... I'm curious :-). Ken, The manifest has this: notify{${puppetversion} on ${fqdn}:} which is causing the following to appear on the server: Sep 13 10:36:51 sv2admin1 puppet-master[22554]: (//hproxy11.h.foo.com//Stage[main]/Puppet::Setup/Notify[0.25.5 on hproxy11.h.foo.com]/message) defined 'message' as '0.25.5 on hproxy11.h.foo.com' and the following to appear on the client: Sep 13 10:36:44 hproxy11 puppet-agent[12366]: (/Stage[main]/Puppet::Setup/Notify[0.25.5 on hproxy11.h.foocom]/message) defined 'message' as '0.25.5 on hproxy11.h.foo.com' Doug -- 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 more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- Join us for PuppetConf, September 22nd and 23rd in Portland, OR: http://bit.ly/puppetconfsig; -- Join us for PuppetConf, September 22nd and 23rd in Portland, OR: http://bit.ly/puppetconfsig; -- Join us for PuppetConf, September 22nd and 23rd in Portland, OR: http://bit.ly/puppetconfsig; -- 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 more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Re: [Puppet Users] Re: Facter variable $puppetversion
On Tue, Sep 13, 2011 at 12:46 PM, Ken Barber k...@puppetlabs.com wrote: The reason why I say this - is because I can replicate this problem myself with: node default { $puppetversion = 0.25.5 notice($puppetversion) } In fact its the only way I can think of to replicate the issue - besides all the other ways we have already ruled out. *shrug*. Ken, I thought about that earlier, and checked. This is on the puppet master: [root@sv2admin1 puppet]# find /etc/puppet | xargs grep puppetversion | grep -v .svn /etc/puppet/modules/puppet/manifests/init.pp:#notice (fqdn = ${fqdn}, puppetversion = ${puppetversion}) /etc/puppet/modules/puppet/manifests/init.pp: notify{${puppetversion} on ${fqdn}:} /etc/puppet/modules/puppet/manifests/init.pp:source = $puppetversion ? { Only references are the ones I am aware of. The puppetversion variable isn't being assigned anywhere that I can see. Doug. -- 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 more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Re: [Puppet Users] Re: Facter variable $puppetversion
Hmm ... well can you try using ${::puppetversion} ...? Also - I notice you are using an ENC ... can you disable that and just use node entries? Yet another place where we might be getting vars we don't expect. In fact - setup a site.pp that is really blank - and only contains that notify statement ... ken. On Tue, Sep 13, 2011 at 9:01 PM, Douglas Garstang doug.garst...@gmail.com wrote: On Tue, Sep 13, 2011 at 12:46 PM, Ken Barber k...@puppetlabs.com wrote: The reason why I say this - is because I can replicate this problem myself with: node default { $puppetversion = 0.25.5 notice($puppetversion) } In fact its the only way I can think of to replicate the issue - besides all the other ways we have already ruled out. *shrug*. Ken, I thought about that earlier, and checked. This is on the puppet master: [root@sv2admin1 puppet]# find /etc/puppet | xargs grep puppetversion | grep -v .svn /etc/puppet/modules/puppet/manifests/init.pp: #notice (fqdn = ${fqdn}, puppetversion = ${puppetversion}) /etc/puppet/modules/puppet/manifests/init.pp: notify{${puppetversion} on ${fqdn}:} /etc/puppet/modules/puppet/manifests/init.pp: source = $puppetversion ? { Only references are the ones I am aware of. The puppetversion variable isn't being assigned anywhere that I can see. Doug. -- 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 more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- Join us for PuppetConf, September 22nd and 23rd in Portland, OR: http://bit.ly/puppetconfsig; -- 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 more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Re: [Puppet Users] Deployment of applications
If you want something simple and don't need a GUI, many folks are using either Capistrano (Ruby) or the very similar Fabric (Python) for deployment. You can populate hostlists via Foreman queries. That said, I am not sure what sort of integration with Puppet/Foreman you are looking for. Cheers, Brian On Tue, Sep 13, 2011 at 3:53 PM, Ashley Penney apen...@gmail.com wrote: I know this has come up on the list numerous times before but I thought it would be a good time to see if the state of the art has advanced for this kind of thing. I wanted to know how people are handling higher level deployment of applications - things that have to be done repeatedly but not all the time. An example of this is checking an application out of svn, building it, creating a package and then moving it off to a repo. Or even just building/installing locally for developers. It never seems to fit well into Puppet for me and I end up with crazy complicated manifests to deal with this kind of thing. I recently moved these jobs into Rundeck (www.rundeck.org) which works pretty well but doesn't really leverage any of the stuff I have within Foreman/Puppet. I've seen suggestions to use mcollective but this doesn't easily integrate our existing scripts (written in many languages) or processes and would require me to force a lot of developers to work differently. I could just have classes that trigger scripts only when some condition is met (like /.buildapp files) or something along those lines but nothing seems elegant. What I'm trying to find out is what other people did to handle this? I want something I can build up over time and slowly migrate legacy apps and processes into without having to do a massive up front development. It should also be relatively simple and not require me to code anything as anyone on the list who knows me can tell you that I am absolutely awful at coding. -- 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 more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- http://aws.amazon.com/solutions/solution-providers/brandorr/ -- 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 more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Re: [Puppet Users] Re: facter not returning 'fqdn' any more
Yeah - try this copy instead if you can: https://raw.github.com/puppetlabs/facter/master/lib/facter/domain.rb ken. On Tue, Sep 13, 2011 at 9:21 PM, Sans r.santanu@gmail.com wrote: Thanks Ken! Back home an hr. or so ago and saw you reply. Is it the /usr/lib/ruby/ site_ruby/1.8/facter/domain.rb file that you were talking about? Cheers, San On Sep 13, 5:38 pm, Ken Barber k...@puppetlabs.com wrote: Since this is urgent and we are in RC, I've raised a bug for you Sans: http://projects.puppetlabs.com/issues/9457 ken. -- 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 more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- Join us for PuppetConf, September 22nd and 23rd in Portland, OR: http://bit.ly/puppetconfsig; -- 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 more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Re: [Puppet Users] Re: Storeconfigs seem slow
Thanks for everyone's comments - I finally found where the large chunk of client time was going. Client runs are still slow, but 5 mins is a lot better than 20 minutes. The issue in our case was having the directory that contained the nagios config files managed by puppet (purge = true, recurse = true, force = true), but also had a source set pushing some real files as well as the files in the stored config. The process of merging those together seems to have taken about 12 minutes in our case. Thanks again, jl -- 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 more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
[Puppet Users] Re: facter not returning 'fqdn' any more
Done!! Work like a charm. thanks. -Santanu On Sep 13, 9:25 pm, Ken Barber k...@puppetlabs.com wrote: Yeah - try this copy instead if you can: https://raw.github.com/puppetlabs/facter/master/lib/facter/domain.rb ken. -- 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 more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Re: [Puppet Users] Re: facter not returning 'fqdn' any more
Good to hear. That fix should be in the next rc. ken. On Tue, Sep 13, 2011 at 10:46 PM, Sans r.santanu@gmail.com wrote: Done!! Work like a charm. thanks. -Santanu On Sep 13, 9:25 pm, Ken Barber k...@puppetlabs.com wrote: Yeah - try this copy instead if you can: https://raw.github.com/puppetlabs/facter/master/lib/facter/domain.rb ken. -- 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 more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- Join us for PuppetConf, September 22nd and 23rd in Portland, OR: http://bit.ly/puppetconfsig; -- 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 more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Re: [Puppet Users] Re: Facter variable $puppetversion
On Tue, Sep 13, 2011 at 1:06 PM, Ken Barber k...@puppetlabs.com wrote: Hmm ... well can you try using ${::puppetversion} ...? Adding this: notify{xxx = ${::puppetversion} ...:} to the manifest gives this on the server: Sep 13 15:14:43 sv2admin1 puppet-master[22452]: (//hproxy11.h.foo.com//Stage[main]/Puppet::Setup/Notify[0.25.5 on hproxy11.h.foo.com]/message) defined 'message' as '0.25.5 on hproxy11.h.foo.com' and this on the client: Sep 13 15:14:13 hproxy11 puppet-agent[20393]: (/Stage[main]/Puppet::Setup/Notify[xxx = 0.25.5 ...]/message) defined 'message' as 'xxx = 0.25.5 ...' We're not using an ENC for this node, but the node definition for this node is: node /^hproxy[0-9]+/ { $hosttype = proxy $ganglia_cluster_name = hproxy $ganglia_cluster_hosts = [hproxy00, hproxy01, hproxy10,] include ganglia::gmond::setup include monitoring::lb_status include zone::hcluster include app::base::setup include app::proxy::setup } Also - I notice you are using an ENC ... can you disable that and just use node entries? Yet another place where we might be getting vars we don't expect. In fact - setup a site.pp that is really blank - and only contains that notify statement ... So, I went and put this and ONLY this in /etc/puppet/manifests/site.pp: notify{yyy = ${::puppetversion} ...:} and got this on the server: Sep 13 15:18:08 sv2admin1 puppet-master[22503]: (//hproxy11.h.foo.com/Puppet) xxx = 0.25.5 ... and this on the client: Sep 13 15:18:27 hproxy11 puppet-agent[23962]: (/Stage[main]//Notify[yyy = 0.25.5 ...]/message) defined 'message' as 'yyy = 0.25.5 ...' So it really seems like something is seriously screwed up here with the server. Doug. -- 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 more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Re: [Puppet Users] Deployment of applications
The kind of thing I was thinking of was selecting where to run jobs by puppet class, or even requiring that certain classes are assigned to certain nodes (requiring a pre-req class before you actually send over a job to build). In my mind I envisioned extensions to something like Foreman where you can get a list of jobs that are valid for each node by clicking the node (in a job you could apply constraints like only boxes with mysql::server and 4G of ram). Another example of the kinds of terrible stuff I engineer when left to my own devices is I wrote a job in rundeck that at the end wrote a .pp to /tmp/ and called it so that I could use templates in Puppet to build the configuration file to distribute. Basically a lot of the time I just need a way to trigger one time puppet manifests with a gui of some kind I can give to developers. I could very easily just spit a few scripts onto the boxes and call those for the build, I just want a way to enable/disable the jobs. I can't think of any other good way to say do a one time run of project::build_core on the following matching nodes: x, y, z. I am really just using rundeck for the equivalent of that. Other things I would think of using this for is handling deploying a bunch of servers where server 1 has to be fully provisioned before 2 and on 2 at least one service has to be up before 3 can do its thing. It's something that's still a hassle to do well within Puppet. On Tue, Sep 13, 2011 at 4:07 PM, Brian Gupta brian.gu...@brandorr.comwrote: If you want something simple and don't need a GUI, many folks are using either Capistrano (Ruby) or the very similar Fabric (Python) for deployment. You can populate hostlists via Foreman queries. That said, I am not sure what sort of integration with Puppet/Foreman you are looking for. Cheers, Brian On Tue, Sep 13, 2011 at 3:53 PM, Ashley Penney apen...@gmail.com wrote: I know this has come up on the list numerous times before but I thought it would be a good time to see if the state of the art has advanced for this kind of thing. I wanted to know how people are handling higher level deployment of applications - things that have to be done repeatedly but not all the time. An example of this is checking an application out of svn, building it, creating a package and then moving it off to a repo. Or even just building/installing locally for developers. It never seems to fit well into Puppet for me and I end up with crazy complicated manifests to deal with this kind of thing. I recently moved these jobs into Rundeck (www.rundeck.org) which works pretty well but doesn't really leverage any of the stuff I have within Foreman/Puppet. I've seen suggestions to use mcollective but this doesn't easily integrate our existing scripts (written in many languages) or processes and would require me to force a lot of developers to work differently. I could just have classes that trigger scripts only when some condition is met (like /.buildapp files) or something along those lines but nothing seems elegant. What I'm trying to find out is what other people did to handle this? I want something I can build up over time and slowly migrate legacy apps and processes into without having to do a massive up front development. It should also be relatively simple and not require me to code anything as anyone on the list who knows me can tell you that I am absolutely awful at coding. -- 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 more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- http://aws.amazon.com/solutions/solution-providers/brandorr/ -- 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 more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- 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 more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Re: [Puppet Users] Re: Facter variable $puppetversion
On Tue, Sep 13, 2011 at 3:21 PM, Douglas Garstang doug.garst...@gmail.com wrote: On Tue, Sep 13, 2011 at 1:06 PM, Ken Barber k...@puppetlabs.com wrote: Hmm ... well can you try using ${::puppetversion} ...? Adding this: notify{xxx = ${::puppetversion} ...:} to the manifest gives this on the server: Sep 13 15:14:43 sv2admin1 puppet-master[22452]: (//hproxy11.h.foo.com//Stage[main]/Puppet::Setup/Notify[0.25.5 on hproxy11.h.foo.com]/message) defined 'message' as '0.25.5 on hproxy11.h.foo.com' and this on the client: Sep 13 15:14:13 hproxy11 puppet-agent[20393]: (/Stage[main]/Puppet::Setup/Notify[xxx = 0.25.5 ...]/message) defined 'message' as 'xxx = 0.25.5 ...' We're not using an ENC for this node, but the node definition for this node is: node /^hproxy[0-9]+/ { $hosttype = proxy $ganglia_cluster_name = hproxy $ganglia_cluster_hosts = [hproxy00, hproxy01, hproxy10,] include ganglia::gmond::setup include monitoring::lb_status include zone::hcluster include app::base::setup include app::proxy::setup } Also - I notice you are using an ENC ... can you disable that and just use node entries? Yet another place where we might be getting vars we don't expect. In fact - setup a site.pp that is really blank - and only contains that notify statement ... So, I went and put this and ONLY this in /etc/puppet/manifests/site.pp: notify{yyy = ${::puppetversion} ...:} and got this on the server: Sep 13 15:18:08 sv2admin1 puppet-master[22503]: (//hproxy11.h.foo.com/Puppet) xxx = 0.25.5 ... and this on the client: Sep 13 15:18:27 hproxy11 puppet-agent[23962]: (/Stage[main]//Notify[yyy = 0.25.5 ...]/message) defined 'message' as 'yyy = 0.25.5 ...' So it really seems like something is seriously screwed up here with the server. Doug. I also just ran this on the server: [root@sv2admin1 ~]# find / -name *puppet* -exec grep PUPPETVERSION {} \; PUPPETVERSION = '2.7.3' PUPPETVERSION Puppet::PUPPETVERSION.to_s PUPPETVERSION = '2.7.3' PUPPETVERSION Puppet::PUPPETVERSION.to_s PUPPETVERSION = '2.6.3' PUPPETVERSION [root@sv2admin1 ~]# Strange that it finds 2.6.3, but not 0.25.5... Doug. -- 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 more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
[Puppet Users] ANNOUNCE: Puppet 2.7.4rc2
This is a maintenance release candidate of Puppet. This rc rolls in several commits that were targeted by Puppet Labs for 2.7.4 and omitted. This release is available for download at: http://downloads.puppetlabs.com/puppet/ See the Verifying Puppet Download section at: http://projects.puppetlabs.com/projects/puppet/wiki/Downloading_Puppet Please report feedback via the Puppet Labs Redmine site, using an affected version of 2.7.4rc1 http://projects.puppetlabs.com/projects/puppet Documentation is available at: http://docs.puppetlabs.com/index.html RC2 Release Notes === -- GigabitEthernet/TenGigabitEthernet are uncorrectly parsed Fix #7984 The interface name abbreviation to canonical name doesn't return the correct name for GigabitEthernet and doesn't support TenGigabitEthernet interfaces. -- Allow macauthorization provider to work on OS X Lion 10.7 Fix #9143 We've flipped around the confine check so we explicitly exclude the versions of OS X where this provider won't work, rather than working from a whitelist. -- Changelog * d59a0b3 Update certificate_spec.rb test to include spec_helper * f325b40 Fix #7984 - GigabitEthernet/TenGigabitEthernet are uncorrectly parsed * 6cc15c2 Fix #7983 - Cisco uptime facts doesn't always work * 41302e9 Fixes #9143, allows macauthorization provider to work on OS X Lion 10.7 -- 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 more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Re: [Puppet Users] Re: Facter variable $puppetversion
On Tue, Sep 13, 2011 at 4:01 PM, Douglas Garstang doug.garst...@gmail.com wrote: On Tue, Sep 13, 2011 at 3:21 PM, Douglas Garstang doug.garst...@gmail.com wrote: On Tue, Sep 13, 2011 at 1:06 PM, Ken Barber k...@puppetlabs.com wrote: Hmm ... well can you try using ${::puppetversion} ...? Adding this: notify{xxx = ${::puppetversion} ...:} to the manifest gives this on the server: Sep 13 15:14:43 sv2admin1 puppet-master[22452]: (//hproxy11.h.foo.com//Stage[main]/Puppet::Setup/Notify[0.25.5 on hproxy11.h.foo.com]/message) defined 'message' as '0.25.5 on hproxy11.h.foo.com' and this on the client: Sep 13 15:14:13 hproxy11 puppet-agent[20393]: (/Stage[main]/Puppet::Setup/Notify[xxx = 0.25.5 ...]/message) defined 'message' as 'xxx = 0.25.5 ...' We're not using an ENC for this node, but the node definition for this node is: node /^hproxy[0-9]+/ { $hosttype = proxy $ganglia_cluster_name = hproxy $ganglia_cluster_hosts = [hproxy00, hproxy01, hproxy10,] include ganglia::gmond::setup include monitoring::lb_status include zone::hcluster include app::base::setup include app::proxy::setup } Also - I notice you are using an ENC ... can you disable that and just use node entries? Yet another place where we might be getting vars we don't expect. In fact - setup a site.pp that is really blank - and only contains that notify statement ... So, I went and put this and ONLY this in /etc/puppet/manifests/site.pp: notify{yyy = ${::puppetversion} ...:} and got this on the server: Sep 13 15:18:08 sv2admin1 puppet-master[22503]: (//hproxy11.h.foo.com/Puppet) xxx = 0.25.5 ... and this on the client: Sep 13 15:18:27 hproxy11 puppet-agent[23962]: (/Stage[main]//Notify[yyy = 0.25.5 ...]/message) defined 'message' as 'yyy = 0.25.5 ...' So it really seems like something is seriously screwed up here with the server. Doug. I also just ran this on the server: [root@sv2admin1 ~]# find / -name *puppet* -exec grep PUPPETVERSION {} \; PUPPETVERSION = '2.7.3' PUPPETVERSION Puppet::PUPPETVERSION.to_s PUPPETVERSION = '2.7.3' PUPPETVERSION Puppet::PUPPETVERSION.to_s PUPPETVERSION = '2.6.3' PUPPETVERSION [root@sv2admin1 ~]# Strange that it finds 2.6.3, but not 0.25.5... Doug. I also just ran puppet on a fresh client, one that never had the 0.25.5 version of puppet installed. I get this: Sep 13 16:14:47 hproxy11 puppet-agent[13430]: xxx = 0.25.5 ... Sep 13 16:14:47 hproxy11 puppet-agent[13430]: (/Stage[main]/Puppet::Setup/Notify[xxx = 0.25.5 ...]/message) defined 'message' as 'xxx = 0.25.5 ...' Sep 13 16:14:57 hproxy11 puppet-agent[13430]: 0.25.5 on hproxy11.h.fo.com So, obviously this is a server side issue. Where can I look on the server? Doug -- 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 more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Re: [Puppet Users] Re: Facter variable $puppetversion
You could always do one of your crazy greps :-). Out of curiosity - what do your /var/lib/puppet/yaml/facts/*.yaml files show you on your server? ken. On Wed, Sep 14, 2011 at 12:16 AM, Douglas Garstang doug.garst...@gmail.com wrote: On Tue, Sep 13, 2011 at 4:01 PM, Douglas Garstang doug.garst...@gmail.com wrote: On Tue, Sep 13, 2011 at 3:21 PM, Douglas Garstang doug.garst...@gmail.com wrote: On Tue, Sep 13, 2011 at 1:06 PM, Ken Barber k...@puppetlabs.com wrote: Hmm ... well can you try using ${::puppetversion} ...? Adding this: notify{xxx = ${::puppetversion} ...:} to the manifest gives this on the server: Sep 13 15:14:43 sv2admin1 puppet-master[22452]: (//hproxy11.h.foo.com//Stage[main]/Puppet::Setup/Notify[0.25.5 on hproxy11.h.foo.com]/message) defined 'message' as '0.25.5 on hproxy11.h.foo.com' and this on the client: Sep 13 15:14:13 hproxy11 puppet-agent[20393]: (/Stage[main]/Puppet::Setup/Notify[xxx = 0.25.5 ...]/message) defined 'message' as 'xxx = 0.25.5 ...' We're not using an ENC for this node, but the node definition for this node is: node /^hproxy[0-9]+/ { $hosttype = proxy $ganglia_cluster_name = hproxy $ganglia_cluster_hosts = [hproxy00, hproxy01, hproxy10,] include ganglia::gmond::setup include monitoring::lb_status include zone::hcluster include app::base::setup include app::proxy::setup } Also - I notice you are using an ENC ... can you disable that and just use node entries? Yet another place where we might be getting vars we don't expect. In fact - setup a site.pp that is really blank - and only contains that notify statement ... So, I went and put this and ONLY this in /etc/puppet/manifests/site.pp: notify{yyy = ${::puppetversion} ...:} and got this on the server: Sep 13 15:18:08 sv2admin1 puppet-master[22503]: (//hproxy11.h.foo.com/Puppet) xxx = 0.25.5 ... and this on the client: Sep 13 15:18:27 hproxy11 puppet-agent[23962]: (/Stage[main]//Notify[yyy = 0.25.5 ...]/message) defined 'message' as 'yyy = 0.25.5 ...' So it really seems like something is seriously screwed up here with the server. Doug. I also just ran this on the server: [root@sv2admin1 ~]# find / -name *puppet* -exec grep PUPPETVERSION {} \; PUPPETVERSION = '2.7.3' PUPPETVERSION Puppet::PUPPETVERSION.to_s PUPPETVERSION = '2.7.3' PUPPETVERSION Puppet::PUPPETVERSION.to_s PUPPETVERSION = '2.6.3' PUPPETVERSION [root@sv2admin1 ~]# Strange that it finds 2.6.3, but not 0.25.5... Doug. I also just ran puppet on a fresh client, one that never had the 0.25.5 version of puppet installed. I get this: Sep 13 16:14:47 hproxy11 puppet-agent[13430]: xxx = 0.25.5 ... Sep 13 16:14:47 hproxy11 puppet-agent[13430]: (/Stage[main]/Puppet::Setup/Notify[xxx = 0.25.5 ...]/message) defined 'message' as 'xxx = 0.25.5 ...' Sep 13 16:14:57 hproxy11 puppet-agent[13430]: 0.25.5 on hproxy11.h.fo.com So, obviously this is a server side issue. Where can I look on the server? Doug -- 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 more options, visit this group at http://groups.google.com/group/puppet-users?hl=en. -- Join us for PuppetConf, September 22nd and 23rd in Portland, OR: http://bit.ly/puppetconfsig; -- 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 more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Re: [Puppet Users] Re: Facter variable $puppetversion
On Tue, Sep 13, 2011 at 4:43 PM, Ken Barber k...@puppetlabs.com wrote: How are you running your puppet master? Can you try it with just: puppet master --debug --no-daemonize Just there was a thread I recall about Mongrel - it may not be related: http://groups.google.com/group/puppet-users/browse_thread/thread/3f4072d375851ee7 I think this may be totally related. We're using mongrel... AND, running the puppet master in standalone mode as you suggested yields this now on the client: Sep 13 16:49:06 hproxy11 puppet-agent[27311]: (/Stage[main]/Puppet::Setup/Notify[xxx = 2.7.3 ...]/message) defined 'message' as 'xxx = 2.7.3 ...' I couldn't find the corresponding message on the server. Looks like a similar issue to what is happening in that other thread except in their case the values are empty, and in my case they are plain wrong. :( One step closer at least. Doug. -- 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 more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Re: [Puppet Users] Re: Facter variable $puppetversion
I think this may be totally related. We're using mongrel... AND, running the puppet master in standalone mode as you suggested yields this now on the client: Sep 13 16:49:06 hproxy11 puppet-agent[27311]: (/Stage[main]/Puppet::Setup/Notify[xxx = 2.7.3 ...]/message) defined 'message' as 'xxx = 2.7.3 ...' I couldn't find the corresponding message on the server. Looks like a similar issue to what is happening in that other thread except in their case the values are empty, and in my case they are plain wrong. :( One step closer at least. Well yes - the first sign of success we've had all week :-). I can probably get some sleep now. (its like 1 am in London). The sad thing is - I half-suggested this much earlier in the thread but thought it might be overkill for the problem. To me - it seems like data is getting mismatched across sessions perhaps? I'm guessing you have 0.25.5 clients checking into your server for example. I know absolutely nothing about Mongrel and Puppet myself having always used Passenger. Do you have clear instructions on how you set this up for yourself somewhere that you can provide us all? Include revisions, config and rpms you may have downloaded from where-ever? We would want to be able to reproduce this to fix it ... so anything you can do to help would be great. ken. -- Join us for PuppetConf, September 22nd and 23rd in Portland, OR: http://bit.ly/puppetconfsig; -- 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 more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Re: [Puppet Users] Re: Facter variable $puppetversion
On Tue, Sep 13, 2011 at 5:12 PM, Ken Barber k...@puppetlabs.com wrote: I think this may be totally related. We're using mongrel... AND, running the puppet master in standalone mode as you suggested yields this now on the client: Sep 13 16:49:06 hproxy11 puppet-agent[27311]: (/Stage[main]/Puppet::Setup/Notify[xxx = 2.7.3 ...]/message) defined 'message' as 'xxx = 2.7.3 ...' I couldn't find the corresponding message on the server. Looks like a similar issue to what is happening in that other thread except in their case the values are empty, and in my case they are plain wrong. :( One step closer at least. Well yes - the first sign of success we've had all week :-). I can probably get some sleep now. (its like 1 am in London). The sad thing is - I half-suggested this much earlier in the thread but thought it might be overkill for the problem. To me - it seems like data is getting mismatched across sessions perhaps? I'm guessing you have 0.25.5 clients checking into your server for example. I know absolutely nothing about Mongrel and Puppet myself having always used Passenger. Do you have clear instructions on how you set this up for yourself somewhere that you can provide us all? Include revisions, config and rpms you may have downloaded from where-ever? We would want to be able to reproduce this to fix it ... so anything you can do to help would be great. Ken, Thanks for your help. Unfortunately, I can't tell you much about the setup. I've only ever done this with passenger as well, and the person who did set it up has left the company. I wonder if the performance of the puppet master in 2.7.3 has increased to the point where passenger/mongrel aren't really required anymore? I'm running puppet in standalone debug right now, and forced 40 or so clients to reconnect, and the load avg on the server never went above about 1. Maybe we can throw mongrel away. We have about 500 servers. Doug -- 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 more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Re: [Puppet Users] Re: Facter variable $puppetversion
On Tue, Sep 13, 2011 at 5:16 PM, Douglas Garstang doug.garst...@gmail.comwrote: I wonder if the performance of the puppet master in 2.7.3 has increased to the point where passenger/mongrel aren't really required anymore? I'm running puppet in standalone debug right now, and forced 40 or so clients to reconnect, and the load avg on the server never went above about 1. Maybe we can throw mongrel away. We have about 500 servers. I wouldn't run 500 servers on the webrick server, particularly not with any degree of concurrency, but maybe I'm being too pessimistic here. Migrating from mongrel to passenger really is a relatively quick task that you can develop in parallel on a different port. -- 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 more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Re: [Puppet Users] Re: Facter variable $puppetversion
Thanks for your help. Unfortunately, I can't tell you much about the setup. I've only ever done this with passenger as well, and the person who did set it up has left the company. I'm not really sure if you should raise a new ticket on this one - or add an addendum to this: http://projects.puppetlabs.com/issues/9109 These issues do seem somewhat related, but the symptoms are slightly different. Either way - if you can log something within Redmine with all the details you have and a link to this thread that would be much appreciated Doug. ken. -- Join us for PuppetConf, September 22nd and 23rd in Portland, OR: http://bit.ly/puppetconfsig; -- 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 more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
[Puppet Users] Quick help… GitHub Puppet Environments...
I'm looking for a bit of best-practices here. Our puppet environment up-until-today has been owned and operated by IT Operations only. We've had a single 'production' environment and our code has been managed in a local GitHub::FI install. We have ~14,000 lines of code in our PP files. We're trying to make two changes to our environment... that may need to be done in the same way, or different ways. I'm looking for recommendations on how you might handle this given a few constraints. Constraint #1: We must continue to use GitHub as our source code repo Constraint #2: Our developers will not run their own Puppet servers. We want to use a few (2 ... max 3) 'Environments' in Puppet to handle whether our systems are getting the Production release, or the Testing release of code. Ok... here's the two issues we need to solve: #1: Our main Puppet Repo contains all of our base classes, site.pp, extlookup tables, etc. This repo also contains our private code ... private keys, operations-owned bits of data that shouldn't be exposed to the rest of our engineers. We want to break this into a Production and a Testing environment on our Puppet servers themselves. I'd like these two environments to both pull-changes every 5 minutes from Git, and have an easy but clean method of merging changes from the Testing environment into the Production environment. This can all be private ... meaning that the same access rules apply to both environments, we just have different process around them. #2: Our User Area for Puppet modules is a much more open, free-form place for our engineers to build their own puppet classes for their own machine types. We'd like to do the same thing as above ... where our engineers can update a Testing environment very easily. The difference here is that we want our IT Ops staff to be the ones who pull changes from Testing into Production for this repository, on some regular interval. Access to these repos is different. IT Ops staff will need read/write to both ... while the engineering teams will only be given read/write to the Testing environment. I'm really not super familiar with Git branching vs forking vs other things... I'm looking for suggestions on how to handle this. I was thinking that #1 could be handled with branches, and #2 could be handled with forking and push/pull requests... but that seemed ugly to me to do it differently on the two. —Matt -- 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 more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
[Puppet Users] Re: Organizational best practices / examples
On Sep 1, 4:47 am, Daniel Maher dma...@milestonelab.com wrote: On 09/01/2011 04:32 AM, col yte wrote: Hi folks, I was curious if anyone would be willing to share how they organize their puppet implementation. Perhaps something similar to what you'll find athttps://fedoraproject.org/wiki/Infrastructure/Puppet. People should have this sort of stuff documented, appreciate anything anyone would be willing to share. Hello, In our environment we've made a concious decision to maintain modules/ in as generic a fashion as possible. Basically, the way it works is that before we commit to modules/ we ask, would we be comfortable sharing this on Github? It's a surprisingly good strategy. :) I realise this is only a small element of what you're asking for, but I am also curious to know if anybody else out there has any sort of simple rules that can applied in order to preserve sanity. -- Daniel Maher makin' plans now to live on Mars 'cuz I got Earth on lock. A bit late to respond, but thought I'd offer what has worked for me. I too have adopted the idea would I be comfortable sharing this on github with most of my modules. The other thing I try to do is make each module its own git repo that's a submodule for the entire puppet module directory. I'm still working on the best workflow for that situation, but the benefit is it allows me to easily publish individual modules. Also one thing I've made use of is Mediawiki and the Semantic Mediawiki extension to effectively document my modules. It's also served well for documenting all my servers. Here are two examples... Standard Mediawiki usage (slightly out-of-date) https://cllaprojectwiki.tamu.edu/wiki/Puppetmaster_Configuration An example of how to use the Semantic extension to allow for a very neat way to organize data... https://cllaprojectwiki.tamu.edu/wiki/Puppet_Module_Overview I've found the use of Semantic mediawiki to be extremely helpful. For my server documentation each server gets it's own page and all the properties per page can easily build reports or tables (like the above link). Same goes for Puppet modules. You can have properties like node_parameters or requires_module and build tables / reports on that information. - Trey -- 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 more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.