| [2010/08/30 00:01:34] @ Log started by gepetto | ||
| [2010/08/30 00:01:34] @ Quit: jangell: Remote host closed the connection | ||
| [2010/08/30 00:01:55] @ Niek-work joined channel #puppet | ||
| [2010/08/30 00:04:12] @ pmorillo joined channel #puppet | ||
| [2010/08/30 00:04:34] @ Quit: nexx: Quit: quit | ||
| [2010/08/30 00:04:59] @ coleman79 joined channel #puppet | ||
| [2010/08/30 00:06:02] @ ecolitan joined channel #puppet | ||
| [2010/08/30 00:10:10] @ redpepper is now known as RedPepper | ||
| [2010/08/30 00:10:47] @ Quit: Pupeno[work]: Quit: Pupeno[work] | ||
| [2010/08/30 00:12:18] @ kolla_ joined channel #puppet | ||
| [2010/08/30 00:12:39] @ yannL joined channel #puppet | ||
| [2010/08/30 00:13:02] @ nathan_h joined channel #puppet | ||
| [2010/08/30 00:13:35] <zipkid> Goodmornig Europe & Africa. | ||
| [2010/08/30 00:14:03] @ Pupeno[work] joined channel #puppet | ||
| [2010/08/30 00:19:12] <Roksteady> good morning | ||
| [2010/08/30 00:20:00] @ ohookins joined channel #puppet | ||
| [2010/08/30 00:20:03] <nathan_h> are <%= and %> the only things templates pickup? I have an iptables config that pupet is somehow erroring on but doesn't even have any template code in it? | ||
| [2010/08/30 00:20:14] @ Quit: pmorillo: Read error: Connection reset by peer | ||
| [2010/08/30 00:20:32] <nathan_h> err: Could not run Puppet configuration client: Parameter source failed: Could not understand source *filter | ||
| [2010/08/30 00:20:40] <nathan_h> "*filter" is just a line in the config | ||
| [2010/08/30 00:20:44] @ pmorillo joined channel #puppet | ||
| [2010/08/30 00:22:11] <nathan_h> anything i should pastebin to helP? | ||
| [2010/08/30 00:25:11] @ jab_doa joined channel #puppet | ||
| [2010/08/30 00:25:14] @ themroc joined channel #puppet | ||
| [2010/08/30 00:25:15] <nathan_h> checked the syntax and its ok too | ||
| [2010/08/30 00:25:51] <nathan_h> erb -x -T '-' bise/modules/bise_iptables/templates/sysconfig_iptables.erb | ruby -c | ||
| [2010/08/30 00:29:27] @ Quit: tim|mac: Remote host closed the connection | ||
| [2010/08/30 00:29:33] @ tim|mac joined channel #puppet | ||
| [2010/08/30 00:31:20] @ Quit: kolla: Remote host closed the connection | ||
| [2010/08/30 00:33:54] @ rawler_ joined channel #puppet | ||
| [2010/08/30 00:52:17] <nathan_h> converted it to a file for now | ||
| [2010/08/30 00:56:27] <nathan_h> i have a custom provider called 'smart', i've had this working fine in the past, but it has an issue where pluginsync doesn't work because it has a python helper. Now it won't recognize as a package provider, i've manually copied it to the /var/lib/puppet/lib/puppet/providers/package dir but it still isn't picking up. Any ideas, or anything i can pastebin to get help? | ||
| [2010/08/30 01:01:12] <nathan_h> guess everyone is asleep | ||
| [2010/08/30 01:07:27] @ francispereira joined channel #puppet | ||
| [2010/08/30 01:09:19] @ nico joined channel #puppet | ||
| [2010/08/30 01:12:14] <francispereira> what is the recommended way of managing iptables from puppet ? | ||
| [2010/08/30 01:12:15] @ Quit: Hallaj: Read error: Connection reset by peer | ||
| [2010/08/30 01:15:53] <nathan_h> francispereira, i believe someone made a module | ||
| [2010/08/30 01:22:16] @ maroon joined channel #puppet | ||
| [2010/08/30 01:28:45] <francispereira> the last time i checked, it had a bug where it used to reload all the rules on every run | ||
| [2010/08/30 01:30:05] <nathan_h> ah, i haven't used it yet. | ||
| [2010/08/30 01:39:33] @ nul0op joined channel #puppet | ||
| [2010/08/30 01:49:42] <zipkid> nathan_h: we use shorewall and just manage the config files with puppet... | ||
| [2010/08/30 01:56:39] @ Dantman is now known as ZombieDan | ||
| [2010/08/30 01:57:40] @ holsta joined channel #puppet | ||
| [2010/08/30 02:05:33] @ lkoranda joined channel #puppet | ||
| [2010/08/30 02:06:41] @ Quit: SpacePope: Ping timeout: 258 seconds | ||
| [2010/08/30 02:07:39] <nathan_h> zipkid, ya thats what we are doing with iptables now | ||
| [2010/08/30 02:07:40] @ SpacePope joined channel #puppet | ||
| [2010/08/30 02:07:57] @ sheldonh left channel #puppet ("Ex-Chat") | ||
| [2010/08/30 02:08:01] @ sheldonh joined channel #puppet | ||
| [2010/08/30 02:09:28] <zipkid> nathan_h: shorewall restarts only the changed rules... we needed that because our jBoss app died if the fw restarted al rules... | ||
| [2010/08/30 02:09:55] <sheldonh> i do class monitor::nagios-plugins { $path = ... } in modules/manifests/nagios-plugins.pp, and then refer to the variable as $monitor::nagios-plugins::path elsewhere. but i get "Could not find class monitor at /path/to/caller.pp:28" :( | ||
| [2010/08/30 02:09:56] <holsta> I'd like to only run sshd exposed to the world. Can I tunnel puppet agents in ssh? | ||
| [2010/08/30 02:10:54] <ohadlevy> holsta: sure, as long as you take care for the hostnames | ||
| [2010/08/30 02:10:59] <nathan_h> sheldonh, are you importing the module ? | ||
| [2010/08/30 02:11:07] <zipkid> sheldonh: should be modules/monitor/manifests/nagios-plugins.pp | ||
| [2010/08/30 02:11:28] <sheldonh> zipkid: yes, sorry, that's what it is :) | ||
| [2010/08/30 02:11:30] <holsta> ohadlevy: take care for the hostnames? | ||
| [2010/08/30 02:11:34] <zipkid> and as nathan_h says, don't forget to import it | ||
| [2010/08/30 02:11:37] <ohadlevy> holsta: if you tunnel it though ssh | ||
| [2010/08/30 02:11:53] <sheldonh> nathan_h: importing? i "include monitor::nagios-plugins" in caller.pp. is that what you mean? | ||
| [2010/08/30 02:13:13] <sheldonh> holsta: as in, your puppet clients are going to have to think that the puppetmaster is sort of on localhost:<forwarded port> | ||
| [2010/08/30 02:13:16] <holsta> ohadlevy: oh, I meant tunnel as in how you'd tunning git or rsync in ssh, not by ssh forwarding a tcp port. I can't find any documentation on how to have puppet agents use ssh rather than htp to connect to the master. | ||
| [2010/08/30 02:13:32] <holsta> I can't type. | ||
| [2010/08/30 02:13:37] <sheldonh> holsta: i don't think puppet has native ssh tunnelling support | ||
| [2010/08/30 02:13:45] <ohadlevy> holsta: ah, you can tunnel via a tcp port | ||
| [2010/08/30 02:14:41] <sheldonh> man, i hate these things where everything looks right and it takes a day to spot the stupid :) | ||
| [2010/08/30 02:14:46] <holsta> I'd definately prefer native support. Hm. I guess I'll have to firewall the world away from puppetmaster then. | ||
| [2010/08/30 02:16:37] <holsta> Am I correct in thinking that the best way to bring a puppet agent online is to install the OS, manually bootstrap the puppet agent and sign the certs - and then let puppet manage itself along with everything else? | ||
| [2010/08/30 02:18:11] <sheldonh> holsta: that's how we do it (although we use autosigning, so that step isn't "manual" per se) | ||
| [2010/08/30 02:19:21] <holsta> Right, I suppose I could allow individual IPs and netmasks to be autosigned. | ||
| [2010/08/30 02:22:53] <sheldonh> nathan_h: the joke is, caller.pp is actually -in- module monitor, so for it to be whining that it couldn't find module monitor is a bit rich :) | ||
| [2010/08/30 02:24:00] <holsta> Is ghoneycutt/ssh considered the best module for managing users and their ssh keys? | ||
| [2010/08/30 02:25:00] <sheldonh> maybe the string interpolator's getting confused by the hyphen in $monitor::nagios-plugins::path | ||
| [2010/08/30 02:25:35] <sheldonh> holsta: never heard of it. if you find yourself having to manage keys, it's probably time for kerberos | ||
| [2010/08/30 02:26:11] <sheldonh> holsta: i suppose if it's system users, that doesn't help :) | ||
| [2010/08/30 02:26:19] <holsta> sheldonh: I need the two-factor auth that ssh keys provide. kerberos isn't an option in this case. | ||
| [2010/08/30 02:26:52] @ Quit: littleidea: Quit: littleidea | ||
| [2010/08/30 02:26:56] <ohadlevy> holsta: i use foreman do to the initial provision / puppet ca etc | ||
| [2010/08/30 02:27:10] <holsta> ohadlevy: thanks, I'll take a look at that. | ||
| [2010/08/30 02:30:10] @ Quit: f3ew: Read error: Connection reset by peer | ||
| [2010/08/30 02:32:01] <sheldonh> here are the bits that i think are pertinent: http://paste.pocoo.org/show/256232/ | ||
| [2010/08/30 02:38:33] <sheldonh> "Help" called Pooh, softly at first, so as not to disturb anyone. | ||
| [2010/08/30 02:39:42] <nathan_h> sheldonh, nice | ||
| [2010/08/30 02:40:37] <sheldonh> it's slightly misquoted, but i don't have the book on hand :) | ||
| [2010/08/30 02:41:10] @ littleidea joined channel #puppet | ||
| [2010/08/30 02:44:18] @ Quit: maroon: Ping timeout: 240 seconds | ||
| [2010/08/30 02:44:37] <nathan_h> i'd try but its 3:00am and i have to get into work early and fix some bugs :P | ||
| [2010/08/30 02:44:41] <nathan_h> good luck man | ||
| [2010/08/30 02:45:15] <sheldonh> LOL | ||
| [2010/08/30 02:45:46] <sheldonh> curlies required "${monitor::nagios-plugins::path}/check_disk ..." | ||
| [2010/08/30 02:46:05] <sheldonh> nathan_h: there, now you can sleep peacefully ;) | ||
| [2010/08/30 02:46:08] <zipkid> sheldonh: aha :-) | ||
| [2010/08/30 02:46:18] <nathan_h> haha | ||
| [2010/08/30 02:46:48] <holsta> How do you do development on your puppet config? You edit on a development box that is identical to your production systems? | ||
| [2010/08/30 02:47:31] <nathan_h> holsta, i like to have a vm environment setup with a similar setup | ||
| [2010/08/30 02:48:09] @ f3ew joined channel #puppet | ||
| [2010/08/30 02:48:53] <holsta> nathan_h: so when you think you're done, you wipe the vm and let puppet recreate to see if everything works? | ||
| [2010/08/30 02:50:32] <nathan_h> holsta, ya pretty much, or for some stuff you don't need to really "wipe" it | ||
| [2010/08/30 02:51:00] <nathan_h> holsta, my puppetmasters are in puppet too, so my autoyast/dhcp/tftp/dashboard box comes up from bare metal too | ||
| [2010/08/30 02:51:53] <sheldonh> holsta: we have a bunch of puppetmasters and puppet clients in virtual machines. our production environment uses the master branch of our puppet git repository, and we develop new features on git feature branches | ||
| [2010/08/30 02:52:33] <sheldonh> holsta: when we're testing those features, we update /etc/puppet on the puppetmasters with "puppet-git-update some_feature_branch". puppet-git-update is a hand-rolled script. in production, the puppetmasters use "puppet-git-update master" | ||
| [2010/08/30 02:53:12] <sheldonh> holsta: everyone on the team has at least one puppetmaster and clientin the virtual lab | ||
| [2010/08/30 02:53:19] <holsta> Nitfy. I have systems at a hosting provider, so I don't have full PXE access like nathan_h. | ||
| [2010/08/30 02:53:46] @ rmiller4pi8 joined channel #puppet | ||
| [2010/08/30 02:54:03] @ Quit: rmiller4pi8: Client Quit | ||
| [2010/08/30 02:54:14] <sheldonh> holsta: what's nice is that the virtual machines support snapshot/rollback of machine state and disk. that's how we avoid "oh, the recipe only works if part of it worked before. damn" :) | ||
| [2010/08/30 02:54:34] <holsta> sheldonh: yup, that's what I wanted to avoid. | ||
| [2010/08/30 02:55:17] @ rmiller4pi8 joined channel #puppet | ||
| [2010/08/30 02:56:30] <sheldonh> holsta: it's a killer | ||
| [2010/08/30 02:56:57] <holsta> Especially since my systems are 800km away. In another country. | ||
| [2010/08/30 03:01:14] <sheldonh> i hear that! | ||
| [2010/08/30 03:01:23] @ jmccaffrey joined channel #puppet | ||
| [2010/08/30 03:01:28] <jmccaffrey> Hello | ||
| [2010/08/30 03:01:46] <sheldonh> holsta: >1300 hosts, in 4 cities on two continents. mistakes are just too expensive | ||
| [2010/08/30 03:02:06] <sheldonh> holsta: nobody ever tells us no when we ask for lab equipment :) | ||
| [2010/08/30 03:02:21] <jmccaffrey> I am having some trouble finding some documentation on the "basic windows support" touted in the release notes | ||
| [2010/08/30 03:02:25] <jmccaffrey> Any ideas where I can look? | ||
| [2010/08/30 03:02:58] @ Quit: Ramonster: Quit: So long, thanx for all the fish | ||
| [2010/08/30 03:03:11] @ Quit: littleidea: Quit: littleidea | ||
| [2010/08/30 03:03:26] <holsta> sheldonh: sounds like a nice environment. | ||
| [2010/08/30 03:04:15] @ rmiller4pi81 joined channel #puppet | ||
| [2010/08/30 03:04:43] @ Quit: rmiller4pi8: Ping timeout: 245 seconds | ||
| [2010/08/30 03:05:12] <sheldonh> holsta: well we spent a year breaking stuff a lot. that helped with the budgetary stuff :) | ||
| [2010/08/30 03:05:23] @ Quit: rmiller4pi81: Client Quit | ||
| [2010/08/30 03:05:46] @ rmiller4pi8 joined channel #puppet | ||
| [2010/08/30 03:06:12] <sheldonh> jmccaffrey: wow. a search for windows on docs.puppetlabs.com gets one hit, and it's nothing to do with microsoft windows! | ||
| [2010/08/30 03:06:39] @ markcos joined channel #puppet | ||
| [2010/08/30 03:06:47] @ markcos left channel #puppet () | ||
| [2010/08/30 03:07:55] <jmccaffrey> After sifting through the IRC log | ||
| [2010/08/30 03:07:56] <jmccaffrey> I found this | ||
| [2010/08/30 03:07:57] <jmccaffrey> http://projects.puppetlabs.com/projects/puppet/wiki/Puppet_Windows | ||
| [2010/08/30 03:08:02] <jmccaffrey> which isn't that grand either lol | ||
| [2010/08/30 03:08:17] <jmccaffrey> Im just trying to figure out what exactly one can do with puppet and windows as of now | ||
| [2010/08/30 03:08:42] <jmccaffrey> Before considering Puppet I need to ensure that it can do basic automation of file deployment and service configuration. | ||
| [2010/08/30 03:13:50] <holsta> "Puppet currently includes minimal support for deploying files." | ||
| [2010/08/30 03:13:51] @ Quit: kenneho: Read error: Connection reset by peer | ||
| [2010/08/30 03:13:58] <holsta> I'm afraid that might answer your question. | ||
| [2010/08/30 03:15:55] <darkfade1> well thats 1% of windows management options right there | ||
| [2010/08/30 03:15:57] <darkfade1> :)( | ||
| [2010/08/30 03:16:46] @ gebi_ joined channel #puppet | ||
| [2010/08/30 03:16:53] <holsta> jmccaffrey: I'm hoping right along side you then. In a few months I need to manage Windows clients and I'd like a sane tool for the job. | ||
| [2010/08/30 03:17:05] <tim|mac> i know that puppetlab hired davids to do some more porting, no idea what the status is, however | ||
| [2010/08/30 03:17:38] <tim|mac> so you might wanna ask on the mailinglist | ||
| [2010/08/30 03:20:12] @ Quit: gebi: Ping timeout: 265 seconds | ||
| [2010/08/30 03:21:13] @ Quit: rmiller4pi8: Ping timeout: 240 seconds | ||
| [2010/08/30 03:25:06] @ abien joined channel #puppet | ||
| [2010/08/30 03:31:02] @ St_Darius joined channel #puppet | ||
| [2010/08/30 03:31:50] @ Quit: nul0op: Ping timeout: 265 seconds | ||
| [2010/08/30 03:31:50] @ alcy joined channel #puppet | ||
| [2010/08/30 03:32:30] @ St_Darius left channel #puppet () | ||
| [2010/08/30 03:36:46] @ Quit: pinoyskull: Ping timeout: 258 seconds | ||
| [2010/08/30 03:37:57] @ Quit: alcy: Quit: ChatZilla 0.9.86 [Iceweasel 3.5.10/20100623112841] | ||
| [2010/08/30 03:41:56] @ Ramonster joined channel #puppet | ||
| [2010/08/30 03:44:42] @ Quit: Ramonster: Client Quit | ||
| [2010/08/30 03:44:51] @ maroon joined channel #puppet | ||
| [2010/08/30 03:45:03] @ Ramonster joined channel #puppet | ||
| [2010/08/30 03:46:08] @ Quit: Ramonster: Client Quit | ||
| [2010/08/30 03:46:32] @ Ramonster joined channel #puppet | ||
| [2010/08/30 03:49:02] @ pinoyskull joined channel #puppet | ||
| [2010/08/30 03:51:19] @ gebi_ is now known as gebi | ||
| [2010/08/30 03:58:56] <ZombieDan> Anyone try puppet-dashboard on rails 3.0.0? | ||
| [2010/08/30 04:00:50] @ Ramonste1 joined channel #puppet | ||
| [2010/08/30 04:00:57] @ nul0op joined channel #puppet | ||
| [2010/08/30 04:02:15] @ Welsh_Dwarf joined channel #puppet | ||
| [2010/08/30 04:04:35] @ Quit: Ramonster: Ping timeout: 276 seconds | ||
| [2010/08/30 04:05:39] @ Quit: Ramonste1: Client Quit | ||
| [2010/08/30 04:06:08] @ Ramonster joined channel #puppet | ||
| [2010/08/30 04:07:36] @ Quit: Welsh_Dwarf: Ping timeout: 265 seconds | ||
| [2010/08/30 04:08:39] @ Welsh_Dwarf joined channel #puppet | ||
| [2010/08/30 04:15:32] @ Quit: p3rror: Ping timeout: 255 seconds | ||
| [2010/08/30 04:19:10] <holsta> When does puppetd and puppetmasterd reload their configs? On SIGHUP only? | ||
| [2010/08/30 04:20:05] @ Quit: pinoyskull: Ping timeout: 258 seconds | ||
| [2010/08/30 04:21:56] <zeroXten> am i correct in thinking that puppet has a 'lowercase' function? | ||
| [2010/08/30 04:25:30] <joschi> zeroXten: not quite. http://docs.puppetlabs.com/references/latest/function.html | ||
| [2010/08/30 04:26:25] <zeroXten> i looked through that, although I'm sure I saw something.. perhaps it was a ruby function in a facter/plugin | ||
| [2010/08/30 04:26:50] <zeroXten> $lsbdistid is annoyingly uppercase | ||
| [2010/08/30 04:26:58] <zeroXten> well, first letter anyway | ||
| [2010/08/30 04:27:03] <ohadlevy> zeroXten: its very simple to add such a function / template/ inline_template etc | ||
| [2010/08/30 04:27:40] @ p3rror joined channel #puppet | ||
| [2010/08/30 04:27:41] <zeroXten> ohadlevy: good good, next on my list then :) | ||
| [2010/08/30 04:28:37] <joschi> will the ruby dsl replace the proprietary dsl of puppet on the long run or will they peacefully coexist? | ||
| [2010/08/30 04:33:22] @ pinoyskull joined channel #puppet | ||
| [2010/08/30 04:37:28] @ yann2 joined channel #puppet | ||
| [2010/08/30 04:37:34] <yann2> hi | ||
| [2010/08/30 04:38:07] <ZombieDan> holsta, most daemons don't reload config on their own, unless they're re-reading config on each and every request... so yes, only when you force it to. | ||
| [2010/08/30 04:38:31] <yann2> small question: to get a puppet client to communicate with the puppetmaster, which files are necessary: only the public key and the private key? What about the file in certs/ and certificate_requests, do I need them too? | ||
| [2010/08/30 04:39:09] <yann2> can I generate all this with puppetca? | ||
| [2010/08/30 04:40:36] <zipkid> yann2: they get generated by the master and client at first connect... | ||
| [2010/08/30 04:41:03] <zipkid> you can sign on the master with puppetca --sign <fqdn> | ||
| [2010/08/30 04:41:15] <zipkid> see the requests with puppetca --list | ||
| [2010/08/30 04:41:23] <yann2> zipkid, I am trying to autogenerate vms - ie get puppet deployed automatically | ||
| [2010/08/30 04:41:33] <zipkid> see all with puppetca --list --all | ||
| [2010/08/30 04:41:40] <yann2> you can get an idea of what I try to do with http://blogs.thehumanjourney.net/oaubuntu/entry/kvm_vmbuilder_puppet_really_automated | ||
| [2010/08/30 04:41:51] <zipkid> yann2: put the fqdn in autosign.conf | ||
| [2010/08/30 04:42:45] <yann2> I don't want to autosign... I'd like to autogenerate signed keys on the puppetserver, the keys would then be deployed to all kvm hosts, and then I would use these keys to kickstart the vms | ||
| [2010/08/30 04:42:51] <yann2> so puppet gets deployed automatically | ||
| [2010/08/30 04:43:10] <yann2> it works so far, but I have to go the long way to generate the keys (Ie: create a vm, generate a request, sign it, copy all files) | ||
| [2010/08/30 04:43:19] <zipkid> yann2: that i don't know how to do. | ||
| [2010/08/30 04:44:00] <yann2> puppetca --generate create me some files, but unsure if that is enough.... it creates me just a signed key and a certificate, but cant find the public key | ||
| [2010/08/30 04:46:07] <ohadlevy> yann2: you probably need the ca pub key and the certificate / key | ||
| [2010/08/30 04:46:52] <yann2> ohadlevy, any idea how I could generate them automatically for a host, from the puppet server? | ||
| [2010/08/30 04:50:25] @ rmiller4pi8 joined channel #puppet | ||
| [2010/08/30 04:51:16] @ Quit: rmiller4pi8: Client Quit | ||
| [2010/08/30 04:52:30] @ rmiller4pi8 joined channel #puppet | ||
| [2010/08/30 04:54:08] @ reyjrar joined channel #puppet | ||
| [2010/08/30 05:00:20] @ Quit: bug: Quit: bug | ||
| [2010/08/30 05:03:00] <nico> yann2: you could use mcollective to do your bootstrap | ||
| [2010/08/30 05:03:18] @ martineg1 is now known as martineg_ | ||
| [2010/08/30 05:03:37] @ martineg_ left channel #puppet () | ||
| [2010/08/30 05:08:26] @ Quit: pinoyskull: Quit: Leaving | ||
| [2010/08/30 05:11:15] @ herdingcat joined channel #puppet | ||
| [2010/08/30 05:11:53] @ Quit: rmiller4pi8: Ping timeout: 265 seconds | ||
| [2010/08/30 05:15:04] @ Quit: e1mer: Quit: abducted by aliens | ||
| [2010/08/30 05:15:15] <ohadlevy> nico: but thats in a way kind of a manual way isnt it? | ||
| [2010/08/30 05:15:40] <nico> ohadlevy: I supposed he would tweak it :) | ||
| [2010/08/30 05:15:54] <ohadlevy> nico: sure, but it wont be triggered from a puppet manifest | ||
| [2010/08/30 05:16:15] <ohadlevy> nico: well.. unless you have some sleeps and stuff | ||
| [2010/08/30 05:17:18] <nico> trigger it once and let the stuff running | ||
| [2010/08/30 05:18:18] <ohadlevy> nico: but thats similar to leaving autosign on wont it? | ||
| [2010/08/30 05:19:12] <nico> almost, add 20 lines of sinatra to see which machines are waiting and approve their install is quite easy | ||
| [2010/08/30 05:19:43] <Volcane> ohadlevy: mc doesnt do machine installs but provisioning of OS, puppet, dong runs, ca etcetc all is seamlessly automated | ||
| [2010/08/30 05:19:58] <ohadlevy> nico: hence the manual bit I mentioned | ||
| [2010/08/30 05:20:09] <ohadlevy> Volcane: mc provision the os? | ||
| [2010/08/30 05:20:26] <Volcane> 'doesnt do machine installs' | ||
| [2010/08/30 05:20:31] <nico> ohadlevy: that's why I talked about the web interface (but you can just use a file :) | ||
| [2010/08/30 05:21:03] <ohadlevy> Volcane: yep, I've seen the good demos :) | ||
| [2010/08/30 05:32:42] @ ahasenack joined channel #puppet | ||
| [2010/08/30 05:35:22] @ Quit: francispereira: Quit: Ex-Chat | ||
| [2010/08/30 05:38:20] @ Qix joined channel #puppet | ||
| [2010/08/30 05:47:35] @ Bass10 joined channel #puppet | ||
| [2010/08/30 05:48:40] @ cliff joined channel #puppet | ||
| [2010/08/30 05:50:11] @ stasheck joined channel #puppet | ||
| [2010/08/30 05:50:39] <stasheck> long time no see :-) | ||
| [2010/08/30 05:50:49] <stasheck> got a problem | ||
| [2010/08/30 05:51:08] <stasheck> I've upgraded 0.24.7 to 0.26 and all hell broke loose :/ | ||
| [2010/08/30 05:53:59] <stasheck> namely, none of the clients are served with anything except http://pastie.org/1126514 | ||
| [2010/08/30 05:56:08] <stasheck> so, why does server refuse connection? | ||
| [2010/08/30 05:57:53] @ Deesl joined channel #puppet | ||
| [2010/08/30 05:58:07] <ohadlevy> stasheck: did you upgrade your master first? | ||
| [2010/08/30 05:58:14] <ohadlevy> stasheck: does your master run :) | ||
| [2010/08/30 05:59:17] <stasheck> yes, it does | ||
| [2010/08/30 05:59:24] <stasheck> as far as I can tell | ||
| [2010/08/30 05:59:38] <stasheck> and I'm not sure, but right now it's upgraded | ||
| [2010/08/30 06:00:00] <stasheck> long time ago I setup automated upgrade, which worked fine for 0.24.x versions | ||
| [2010/08/30 06:00:11] <stasheck> that they'll update at midnight | ||
| [2010/08/30 06:00:21] <stasheck> seems it didn't go so well for 2.6.x | ||
| [2010/08/30 06:01:31] <stasheck> I changed [puppetd] for [agent] and factsync to pluginsync and master stopped yielling at me | ||
| [2010/08/30 06:02:39] <stasheck> but the client... http://pastie.org/1126528 | ||
| [2010/08/30 06:03:20] <zeroXten> Puppet::Parser::Functions.function(:lowercase) seems to work but I still get "Unknown function".. any ideas? | ||
| [2010/08/30 06:07:24] <sheldonh> Volcane: you awake yet? :) | ||
| [2010/08/30 06:08:10] @ sassyn joined channel #puppet | ||
| [2010/08/30 06:08:12] <sassyn> hi all | ||
| [2010/08/30 06:08:16] <stasheck> ohadlevy: got any idea why I get this error? | ||
| [2010/08/30 06:08:27] <ohadlevy> stasheck: does the filename match the function name? | ||
| [2010/08/30 06:08:29] <sassyn> can someone please help me to understand what is pluginsync | ||
| [2010/08/30 06:08:43] <ohadlevy> sassyn: did you read the wiki page ;) | ||
| [2010/08/30 06:09:23] <sassyn> ohadlevy can u send me the link | ||
| [2010/08/30 06:10:00] <stasheck> ohadlevy: that was zeroXten question :-) | ||
| [2010/08/30 06:10:20] <ohadlevy> sassyn: http://tinyurl.com/2e9829a | ||
| [2010/08/30 06:12:40] <stasheck> OK, puppetca --list told me that all my certifiates went bye-bye | ||
| [2010/08/30 06:12:54] @ gmason joined channel #puppet | ||
| [2010/08/30 06:13:03] <stasheck> but, why does puppet agent version yield Could not prepare for execution: Could not create PID file: /var/run/agent.pid ?? | ||
| [2010/08/30 06:13:38] @ xaoslaad joined channel #puppet | ||
| [2010/08/30 06:14:12] @ Quit: sassyn: Ping timeout: 265 seconds | ||
| [2010/08/30 06:16:48] <stasheck> got this one - it existed before | ||
| [2010/08/30 06:17:01] @ Quit: kolla_: Remote host closed the connection | ||
| [2010/08/30 06:17:10] <stasheck> but it seems that installing 2.6.0 over 0.24.7 was a really bad idea | ||
| [2010/08/30 06:17:58] <yann2> nico, but I would need autosigning then, which i am trying to avoid | ||
| [2010/08/30 06:18:19] <sheldonh> hot tip. avoid hyphens in class names | ||
| [2010/08/30 06:18:19] @ hhenkel_ joined channel #puppet | ||
| [2010/08/30 06:18:57] <joschi> sheldonh: yeah, fell for this one too. :/ | ||
| [2010/08/30 06:19:26] <hhenkel_> Hi there, quick question about determining the initial environment of a node. | ||
| [2010/08/30 06:19:55] <ohadlevy> hhenkel_: i think its production by default | ||
| [2010/08/30 06:20:03] <zeroXten> i must be doing something dumb | ||
| [2010/08/30 06:20:10] <hhenkel_> Is it possible to put a node in a class like dev or prod and determine which class the node is | ||
| [2010/08/30 06:20:17] <hhenkel_> in? | ||
| [2010/08/30 06:20:39] <f3ew> hhenkel_ facter is your friend | ||
| [2010/08/30 06:20:57] <sheldonh> joschi: hours and hours lost :( | ||
| [2010/08/30 06:21:19] <ohadlevy> hhenkel_: usually you want to do it the other way around, you define the env and classes you want the node to be in | ||
| [2010/08/30 06:21:26] <f3ew> sheldonh ouch | ||
| [2010/08/30 06:21:51] <f3ew> We got bitten by that a long time ago | ||
| [2010/08/30 06:21:53] <hhenkel_> f3ew: No, not the first time a node connects to a master. I want to do something like getting the puppet.conf from the master depending on which env is set for the node (with a template) | ||
| [2010/08/30 06:21:57] <sheldonh> ironic. i've been the guy warning the team against the use of hyphens in class names | ||
| [2010/08/30 06:22:08] <sheldonh> but i relaxed when someone showed me that the docs say it's okay | ||
| [2010/08/30 06:22:28] <hhenkel_> ohadlevy: Yeah, I know, it was just an idea... ;) | ||
| [2010/08/30 06:23:03] <Volcane> sheldonh: there were some related tickets to making it work, now it does :) you should probably avoid it though eitherway | ||
| [2010/08/30 06:23:14] <ohadlevy> hhenkel_: foreman does that if you use its provisioning features | ||
| [2010/08/30 06:23:21] <sheldonh> Volcane: okay, i'll do that ;) | ||
| [2010/08/30 06:23:47] <hhenkel_> ohadlevy: i think i'll query you for that matter... | ||
| [2010/08/30 06:25:58] @ Quit: rawler_: Read error: Operation timed out | ||
| [2010/08/30 06:26:47] @ sassyn joined channel #puppet | ||
| [2010/08/30 06:28:51] <mosez> if i want to add specific ips to my apache module within the node config, how could i do this? | ||
| [2010/08/30 06:28:59] <mosez> only with defines? | ||
| [2010/08/30 06:30:56] <zipkid> mosez: or with variables | ||
| [2010/08/30 06:31:52] <zeroXten> ohadlevy: you lied :p | ||
| [2010/08/30 06:32:17] <mosez> i've got a apache2::params class with some variables defined. how can i overwritem them within my node? | ||
| [2010/08/30 06:32:19] @ Quit: vinci: Read error: Operation timed out | ||
| [2010/08/30 06:32:22] @ vinci joined channel #puppet | ||
| [2010/08/30 06:32:31] <ohadlevy> zeroXten: what did I do? :-} | ||
| [2010/08/30 06:32:33] <zeroXten> "11:27 < ohadlevy> zeroXten: it[ should be] very simple to add such a function" | ||
| [2010/08/30 06:32:46] <ohadlevy> zeroXten: ah ;) | ||
| [2010/08/30 06:32:48] <zeroXten> :) | ||
| [2010/08/30 06:32:52] <stasheck> how can I subscribe to multiple files? | ||
| [2010/08/30 06:33:08] <stasheck> right now I had repeated "subscribe =>" stanzas | ||
| [2010/08/30 06:33:16] @ Quit: sassyn: Ping timeout: 272 seconds | ||
| [2010/08/30 06:33:20] <stasheck> but newer puppet doesn't like it | ||
| [2010/08/30 06:33:22] <ohadlevy> zeroXten: so just do $var=inline_template("<%= another_var.lowercase%>") | ||
| [2010/08/30 06:33:22] <mosez> stasheck: with arrays | ||
| [2010/08/30 06:33:25] <Volcane> stasheck: it never worked | ||
| [2010/08/30 06:33:37] <Volcane> stasheck: it just didnt error, it ignored all but the last one | ||
| [2010/08/30 06:33:46] <zeroXten> ohadlevy: huh... let me try that | ||
| [2010/08/30 06:33:56] <stasheck> oh | ||
| [2010/08/30 06:33:57] <stasheck> ok | ||
| [2010/08/30 06:34:08] <stasheck> that was one of my first modules :-) | ||
| [2010/08/30 06:34:26] <stasheck> in others I have subscribe to table | ||
| [2010/08/30 06:34:27] <zeroXten> ohadlevy: do you happen to know if puppet can concat strings with function outputs? | ||
| [2010/08/30 06:34:27] <stasheck> so the issue is solved | ||
| [2010/08/30 06:34:47] <zeroXten> eg. var => "value"+function($input) | ||
| [2010/08/30 06:34:52] @ carlasouza joined channel #puppet | ||
| [2010/08/30 06:35:16] <ohadlevy> zeroXten: $var=inline_template("<% var1 + var2 %>") | ||
| [2010/08/30 06:35:28] <joergherzinger> stasheck: subscribe => [ File["bla"], Exec["blubb"] ] | ||
| [2010/08/30 06:35:40] <kjetilho> ohadlevy: missing a '=' there | ||
| [2010/08/30 06:35:52] <kjetilho> <%= expr %> | ||
| [2010/08/30 06:36:26] <ohadlevy> kjetilho: it should not be that easy right :) | ||
| [2010/08/30 06:37:15] @ Subhro joined channel #puppet | ||
| [2010/08/30 06:37:40] @ Quit: Deesl: Read error: No route to host | ||
| [2010/08/30 06:37:49] @ jdcasey joined channel #puppet | ||
| [2010/08/30 06:38:31] <stasheck> joergherzinger: thanks :-) | ||
| [2010/08/30 06:40:38] <mosez> hum... i'm searching for a good clean way to get apache running on various boxes with custom ips and custom webmaster mail adresses... | ||
| [2010/08/30 06:40:57] <hal-j1> templates :) | ||
| [2010/08/30 06:41:04] <mosez> but i think my way is dirty | ||
| [2010/08/30 06:41:26] <mosez> hal-j1: and what's the choice to assign these vars on the node config? ;) | ||
| [2010/08/30 06:42:12] <mosez> i will paste my way... | ||
| [2010/08/30 06:42:13] <hal-j1> I do similar by having variables set in the nodes. Volcane will point you at extlookup (http://blog.klavsen.info/content/extlookup-puppet-extension-you-cant-live-without) | ||
| [2010/08/30 06:42:35] <hal-j1> I haven't had time to explore extlookup, so I can't really weigh in on that | ||
| [2010/08/30 06:42:41] <zipkid> and ohadlevy will point you at Foreman | ||
| [2010/08/30 06:42:42] <zeroXten> slowly getting there, thanks ohadlevy | ||
| [2010/08/30 06:42:57] <zipkid> and i might point you at Dashboard... | ||
| [2010/08/30 06:42:59] <hal-j1> in any case, I'd think the "custom IPs" could come from facts | ||
| [2010/08/30 06:43:19] @ Quit: Subhro: Remote host closed the connection | ||
| [2010/08/30 06:43:46] <ohadlevy> zipkid: you should put a sticky on the channel | ||
| [2010/08/30 06:44:20] <zipkid> ohadlevy: an what should i put on it? | ||
| [2010/08/30 06:46:28] <mosez> https://gist.github.com/96b1a80a39f0c8e04376 that's currently my way... but it smells a little bit i think. | ||
| [2010/08/30 06:46:42] @ sassyn joined channel #puppet | ||
| [2010/08/30 06:46:55] @ MPSimmons joined channel #puppet | ||
| [2010/08/30 06:47:28] <mosez> hal-j1: but i can not define which ips got to be listening with apache. | ||
| [2010/08/30 06:48:16] <hal-j1> a few general comments | ||
| [2010/08/30 06:48:26] @ Quit: Edgan: Ping timeout: 276 seconds | ||
| [2010/08/30 06:48:28] <hal-j1> 1) I'd use modules, things become less painful in the long run | ||
| [2010/08/30 06:48:48] <hal-j1> 2) node inheritance is tricky and often doesn't work as you expect. I'd make "general" a class, and include it | ||
| [2010/08/30 06:49:19] <mosez> apache2 comes from modules | ||
| [2010/08/30 06:49:37] @ jmeeuwen joined channel #puppet | ||
| [2010/08/30 06:49:41] <hal-j1> but other than that, it seems to work. | ||
| [2010/08/30 06:50:16] <mosez> but changind general to a class sounds good. but that's currently not my problem :( | ||
| [2010/08/30 06:50:30] <hal-j1> like I said, general comments | ||
| [2010/08/30 06:50:30] <mosez> i think i've got to take a look at extlookup | ||
| [2010/08/30 06:50:44] <mosez> yeah, sure... and thanks ;) | ||
| [2010/08/30 06:52:42] @ Quit: sassyn: Ping timeout: 240 seconds | ||
| [2010/08/30 06:54:39] @ kaptk2 joined channel #puppet | ||
| [2010/08/30 06:55:19] @ sassyn joined channel #puppet | ||
| [2010/08/30 06:55:27] <Niek-work> How do I test my changes to a manifest before sending them off to a master server? | ||
| [2010/08/30 06:56:03] <Niek-work> At the moment its more of a commit-then-check server logs to see if it still works kind of work method. I would like to change that to a test-then-commit method. :) | ||
| [2010/08/30 06:56:27] <tim|mac> Niek-work: using a test server is the best solution we could find... | ||
| [2010/08/30 06:56:34] <tim|mac> virtualisation is awesome for that, though | ||
| [2010/08/30 06:57:20] <Niek-work> Yea, we're using virtualisation too. But you'd need to check on the virtualized host to see if it works. And for small commits, managing a virtual server is quite the overhead. | ||
| [2010/08/30 06:57:28] <hal-j1> the issue is that if you have 50 slightly different servers, you need to spin up a test environment for each thing you want to test (presumably you don't have a dev version of each, waiting in the wings) | ||
| [2010/08/30 06:57:41] <Niek-work> Exactly. :) | ||
| [2010/08/30 06:58:10] <mosez> ensure => extlookup("pkg_screen", "absent") | ||
| [2010/08/30 06:58:13] @ Edgan joined channel #puppet | ||
| [2010/08/30 06:58:23] <mosez> ensure => extlookup("pkg_screen", "absent") <<< how could that csv file look like? | ||
| [2010/08/30 06:58:29] <Niek-work> It would be nice to just have something as apachectl -t or something. A quick syntax check before I send the commit off. | ||
| [2010/08/30 06:58:40] <hal-j1> at out shop, we manage the dev servers with puppet as well, and while the other devs are developing their software, I develop the deployment / config management at the same time, so the prod servers using their software and my deployment/config will be tested in dev | ||
| [2010/08/30 06:58:54] <hal-j1> s/out/our | ||
| [2010/08/30 06:59:09] <tim|mac> Niek-work: a syntax check is easy... puppetd --noop | ||
| [2010/08/30 06:59:25] <hal-j1> it's not perfect, but I can be reasonably comfortable that when something hits production, it works | ||
| [2010/08/30 06:59:30] @ hal-j1 is now known as hal-j | ||
| [2010/08/30 06:59:42] <tim|mac> hal-j: you lost 1 | ||
| [2010/08/30 06:59:45] <hal-j> of course, my own stupidity sometimes gets the best of me, but that can happen regardless of what you're doing | ||
| [2010/08/30 06:59:57] <Niek-work> tim|mac: yea, but you'd need to be running puppet locally, right? :) | ||
| [2010/08/30 07:00:30] @ Quit: Edgan: Excess Flood | ||
| [2010/08/30 07:00:32] <tim|mac> Niek-work: hm? why? just do puppetd --noop on the server? | ||
| [2010/08/30 07:01:06] <Niek-work> the server which has already received my commit? | ||
| [2010/08/30 07:01:07] <tim|mac> Niek-work: i know of people who run their cluster in noop by default and only actually apply changes when they know what puppet is going to change | ||
| [2010/08/30 07:01:19] <tim|mac> just email the noop output to the sysadmins to check | ||
| [2010/08/30 07:01:57] @ Edgan joined channel #puppet | ||
| [2010/08/30 07:02:00] @ BLZbubba joined channel #puppet | ||
| [2010/08/30 07:02:02] @ Quit: sassyn: Ping timeout: 276 seconds | ||
| [2010/08/30 07:03:13] <Niek-work> I guess you can't really break things because puppet doesn't execute when something is wrong and it's more of a declaritive language if I'm supposed to believe the documentation? :) | ||
| [2010/08/30 07:03:32] <Niek-work> commit-and-verify is a valid way in this case? | ||
| [2010/08/30 07:04:25] <tim|mac> uhm... depends on what you're committing :) | ||
| [2010/08/30 07:04:35] <tim|mac> if you're sourcing a config file, you can still break stuff :) | ||
| [2010/08/30 07:04:44] @ Quit: Edgan: Excess Flood | ||
| [2010/08/30 07:04:51] <Niek-work> I suppose so. | ||
| [2010/08/30 07:05:14] <mosez> where have i got to put extlookup.rb? /var/lib/puppet/lib/? | ||
| [2010/08/30 07:09:20] @ Quit: stasheck: Ping timeout: 252 seconds | ||
| [2010/08/30 07:09:28] <joe-mac> parser/functions | ||
| [2010/08/30 07:09:34] <joe-mac> i would jusrt stick it in a module | ||
| [2010/08/30 07:09:57] @ Ayakashi is now known as fenris02 | ||
| [2010/08/30 07:11:33] @ Quit: _CTAPOMAK_: Ping timeout: 240 seconds | ||
| [2010/08/30 07:16:21] @ sassyn joined channel #puppet | ||
| [2010/08/30 07:21:07] @ hom joined channel #puppet | ||
| [2010/08/30 07:22:00] @ incommon_ike joined channel #puppet | ||
| [2010/08/30 07:22:10] @ incommon_ike left channel #puppet () | ||
| [2010/08/30 07:22:30] @ Quit: AZed: Quit: Leaving. | ||
| [2010/08/30 07:22:45] @ AZed joined channel #puppet | ||
| [2010/08/30 07:23:03] <hom> looking for advice on changing a clients hostname. should I delete the certs and start over, or is there a way to rename them? | ||
| [2010/08/30 07:24:38] <fsweetser> you definitely can't just rename certs | ||
| [2010/08/30 07:24:48] <fsweetser> almost certainly easier to wipe them and let puppet create new ones | ||
| [2010/08/30 07:25:23] <hom> ok, thanks for the advice | ||
| [2010/08/30 07:25:27] <ohadlevy> fsweetser, hom: if you just rename the hostname, puppet will request new ones | ||
| [2010/08/30 07:25:49] <ohadlevy> hom: unless you change the certname option in puppet.conf | ||
| [2010/08/30 07:25:54] @ rmiller4pi8 joined channel #puppet | ||
| [2010/08/30 07:26:35] @ sijis_ is now known as sijis | ||
| [2010/08/30 07:26:50] @ gniks joined channel #puppet | ||
| [2010/08/30 07:29:10] @ Quit: rmiller4pi8: Client Quit | ||
| [2010/08/30 07:33:46] @ prometheanfire joined channel #puppet | ||
| [2010/08/30 07:33:49] <robinbowes> Afternoon all | ||
| [2010/08/30 07:33:58] <prometheanfire> is there a puppet only centos repo available? | ||
| [2010/08/30 07:34:52] <robinbowes> "puppet-only" ? | ||
| [2010/08/30 07:35:16] <prometheanfire> I'd rather not use epel | ||
| [2010/08/30 07:35:24] <robinbowes> Why? | ||
| [2010/08/30 07:35:27] <prometheanfire> I might just add the needed rpms to my internal repo | ||
| [2010/08/30 07:35:33] <prometheanfire> just cause I don't wanna | ||
| [2010/08/30 07:35:47] <robinbowes> Was just going to say, if you want something special, just create your own repo | ||
| [2010/08/30 07:35:58] <prometheanfire> ya, might as well | ||
| [2010/08/30 07:36:06] <robinbowes> Use cobbler and mirror epel but only include puppet rpms | ||
| [2010/08/30 07:36:41] * prometheanfire doesn't use cobbler yet | ||
| [2010/08/30 07:36:48] <robinbowes> time to start... | ||
| [2010/08/30 07:37:10] <prometheanfire> I do it image based with vmware | ||
| [2010/08/30 07:37:53] <robinbowes> You don't have to use the kickstart facility, but the repo mirroring tool is just what you're looking for | ||
| [2010/08/30 07:38:20] <prometheanfire> I currently rsync for repo sync | ||
| [2010/08/30 07:38:41] <prometheanfire> for base and updates at least | ||
| [2010/08/30 07:38:56] <robinbowes> cobbler does all that for you | ||
| [2010/08/30 07:41:00] @ rmiller4pi8 joined channel #puppet | ||
| [2010/08/30 07:41:21] @ Quit: herdingcat: Quit: Leaving | ||
| [2010/08/30 07:41:59] <robinbowes> Anyone any thoughts on this: http://pastie.org/1126690 | ||
| [2010/08/30 07:42:36] <robinbowes> Basically, I'm asking if there's any ruby library I can use in an erb template to parse line-based text files with comments | ||
| [2010/08/30 07:42:51] <robinbowes> So, ignore full line comments: | ||
| [2010/08/30 07:42:56] <robinbowes> # this is a comment | ||
| [2010/08/30 07:43:13] <robinbowes> And ignore comments at the end of lines # ie. ignore this bit | ||
| [2010/08/30 07:44:20] @ Quit: jaredrhine: Ping timeout: 255 seconds | ||
| [2010/08/30 07:45:01] @ jaredrhine joined channel #puppet | ||
| [2010/08/30 07:48:13] <prometheanfire> is it alright if the hostname of my puppetmaster on the client (CNAME) does not match the hostname on the puppetmaster? | ||
| [2010/08/30 07:48:49] @ Quit: lkoranda: Quit: Ex-Chat | ||
| [2010/08/30 07:49:16] <joe-mac> no it's not alright | ||
| [2010/08/30 07:49:30] <joe-mac> it's also not alright that i left out a half lb of bacon and now i am baconless | ||
| [2010/08/30 07:49:35] * joe-mac is furious at self | ||
| [2010/08/30 07:50:11] @ Quit: ohookins: Quit: Leaving. | ||
| [2010/08/30 07:50:27] @ ohookins joined channel #puppet | ||
| [2010/08/30 07:50:31] @ ohookins left channel #puppet () | ||
| [2010/08/30 07:50:51] <prometheanfire> ok, I'll use the real (and local) host name | ||
| [2010/08/30 07:51:03] <joe-mac> better off using a cname dude | ||
| [2010/08/30 07:51:09] <joe-mac> cname of puppet pointing to your master | ||
| [2010/08/30 07:51:13] <joe-mac> then your nodes still use 'puppet' | ||
| [2010/08/30 07:51:22] <joe-mac> and you set certname = puppet in the config on your master | ||
| [2010/08/30 07:51:23] <prometheanfire> ya, that's what I'd prefer | ||
| [2010/08/30 07:51:30] <prometheanfire> ah | ||
| [2010/08/30 07:51:31] <prometheanfire> ok | ||
| [2010/08/30 07:52:09] <prometheanfire> so I'd set certname = puppet.localhost.localdomain ? | ||
| [2010/08/30 07:52:15] @ Tas_ joined channel #puppet | ||
| [2010/08/30 07:52:16] <joe-mac> i would set it to be just puppet | ||
| [2010/08/30 07:52:17] <prometheanfire> under [puppetmasterd] | ||
| [2010/08/30 07:52:22] <joe-mac> cause your nodes will connect with just puppet | ||
| [2010/08/30 07:52:41] <prometheanfire> I used fqdn at home | ||
| [2010/08/30 07:52:56] <joe-mac> i would avoid that so that your master cert and the node cert on your master are different | ||
| [2010/08/30 07:53:23] <prometheanfire> so do I need a host definition in /etc/hosts then? | ||
| [2010/08/30 07:53:30] <prometheanfire> that makes me a sad panda | ||
| [2010/08/30 07:54:47] @ static^ joined channel #puppet | ||
| [2010/08/30 07:54:57] @ ohookins joined channel #puppet | ||
| [2010/08/30 07:57:25] @ littleidea joined channel #puppet | ||
| [2010/08/30 07:57:36] <prometheanfire> can I have a default deny rule in fileserver.conf? | ||
| [2010/08/30 07:57:43] <prometheanfire> deny * doesn't work | ||
| [2010/08/30 07:58:55] @ mpxm left channel #puppet () | ||
| [2010/08/30 08:00:12] <prometheanfire> oh, it is default deny already :D | ||
| [2010/08/30 08:00:54] @ RussS joined channel #puppet | ||
| [2010/08/30 08:02:22] <robinbowes> No thoughts on my pastie? http://pastie.org/1126690 | ||
| [2010/08/30 08:05:54] @ Quit: f3ew: Ping timeout: 252 seconds | ||
| [2010/08/30 08:06:20] <Volcane> robinbowes: cant think of a simple parser that exists out of the box pretty much a loop with some regex is the way to go | ||
| [2010/08/30 08:06:45] <robinbowes> ok - just checking! | ||
| [2010/08/30 08:07:34] * robinbowes digs out various "Learning Ruby" books... | ||
| [2010/08/30 08:10:55] <prometheanfire> has the pro puppet book been delayed? | ||
| [2010/08/30 08:12:16] <joe-mac> jamesturnbull keeps going back and forth with the publisher i think | ||
| [2010/08/30 08:13:57] <Volcane> robinbowes: http://pastie.org/1126747 that at least pulls out just the non comment bits easily | ||
| [2010/08/30 08:14:48] <robinbowes> thx - that's all I need to do | ||
| [2010/08/30 08:15:16] @ MrHeavy joined channel #puppet | ||
| [2010/08/30 08:18:01] <Volcane> robinbowes: probably also need to check for empty lines | ||
| [2010/08/30 08:18:27] <sassyn> hi all | ||
| [2010/08/30 08:18:57] <sassyn> can someone please tell me what does this error means: "info: Could not find filesystem info for file 'modules/common/module_dir' in environment production | ||
| [2010/08/30 08:18:57] <sassyn> " | ||
| [2010/08/30 08:19:04] <robinbowes> Indeed | ||
| [2010/08/30 08:19:17] <Volcane> robinbowes: something like next if line =~ /^\s*$/ | ||
| [2010/08/30 08:19:25] <robinbowes> Yup - v. perl-like ;) | ||
| [2010/08/30 08:21:03] <Volcane> yup, ruby took the awesome from all sorts of places and combined it :) | ||
| [2010/08/30 08:21:32] <robinbowes> Does ruby us \A and \z ? | ||
| [2010/08/30 08:21:35] <robinbowes> *use | ||
| [2010/08/30 08:21:42] <robinbowes> Ah, yes it does | ||
| [2010/08/30 08:26:31] <joe-mac> what are those, regex character classes? drawing a blank | ||
| [2010/08/30 08:26:44] <joe-mac> i see the [[:class:]] more often i think | ||
| [2010/08/30 08:27:33] <robinbowes> \A and \z are what you probably mean when you actually use ^ and $ | ||
| [2010/08/30 08:28:37] <sassyn> anyone? can someone please help me to understand what is pluginsync | ||
| [2010/08/30 08:28:42] <sassyn> please......? | ||
| [2010/08/30 08:28:48] <joe-mac> throw a cherry on top | ||
| [2010/08/30 08:28:51] <joe-mac> then maybe | ||
| [2010/08/30 08:29:02] <joe-mac> it's for syncing custom facts and functions etc | ||
| [2010/08/30 08:29:02] <sassyn> joe-mac :-) | ||
| [2010/08/30 08:29:18] <sassyn> to the client? | ||
| [2010/08/30 08:29:18] <joe-mac> i think the option might be deprecated, like it might just do it by itself, but i still enable it | ||
| [2010/08/30 08:29:32] @ prometheanfire left channel #puppet () | ||
| [2010/08/30 08:29:36] @ Quit: tecto_: Read error: No route to host | ||
| [2010/08/30 08:29:39] <joe-mac> yes, so you can put custom factrs in modules and they get served to the client, then the aserrver has access to the custom fact from the node | ||
| [2010/08/30 08:30:09] <sassyn> joe-mac i see. so there is no impact on this to the server side. | ||
| [2010/08/30 08:30:11] <sassyn> right? | ||
| [2010/08/30 08:30:34] <sassyn> I mean pluginsync=true in the server is useless | ||
| [2010/08/30 08:30:59] <joe-mac> i don't even know if you can disable it server side, check the configuration referecne | ||
| [2010/08/30 08:31:16] @ ohookins left channel #puppet ("Leaving.") | ||
| [2010/08/30 08:35:58] @ Quit: Qix: Ping timeout: 245 seconds | ||
| [2010/08/30 08:36:01] <robinbowes> Volcane: the final cut - http://pastie.org/1126783 | ||
| [2010/08/30 08:36:22] @ fcami joined channel #puppet | ||
| [2010/08/30 08:37:48] @ nexx joined channel #puppet | ||
| [2010/08/30 08:41:51] @ notbrien joined channel #puppet | ||
| [2010/08/30 08:44:50] <robinbowes> Wonder if ruby does non-greedy regex...? | ||
| [2010/08/30 08:45:31] <Volcane> why use \A over ^? | ||
| [2010/08/30 08:47:34] @ spawnyd joined channel #puppet | ||
| [2010/08/30 08:49:11] * Volcane 's not very hot on rege | ||
| [2010/08/30 08:49:11] <Volcane> x | ||
| [2010/08/30 08:49:39] @ Quit: Ramonster: Quit: So long, thanx for all the fish | ||
| [2010/08/30 08:51:29] @ Quit: Niek-work: Remote host closed the connection | ||
| [2010/08/30 08:53:02] <robinbowes> Volcane: http://books.google.co.uk/books?id=yMMRnPQ7CSMC&pg=PA239&lpg=PA239&dq=use+\A+and+\z+as+string+boundary+anchors&source=bl&ots=_jd6fp8hHb&sig=id9zNAyS8LRXIi9pd9u6oOjw7lk&hl=en&ei=ttN7TK3NGtO4jAey7amcBg&sa=X&oi=book_result&ct=result&resnum=2&ved=0CBoQ6AEwAQ#v=onepage&q=use%20%5CA%20and%20%5Cz%20as%20string%20boundary%20anchors&f=false | ||
| [2010/08/30 08:53:07] <robinbowes> (nice url!) | ||
| [2010/08/30 08:57:24] @ Quit: Welsh_Dwarf: Remote host closed the connection | ||
| [2010/08/30 08:57:32] <Volcane> ah | ||
| [2010/08/30 08:58:18] @ Qix joined channel #puppet | ||
| [2010/08/30 08:58:40] @ prometheanfire joined channel #puppet | ||
| [2010/08/30 08:58:45] <prometheanfire> puppetmasterd[25968]: Permission denied - /var/lib/puppet/files/all/etc/sudoers | ||
| [2010/08/30 08:58:47] <prometheanfire> :( | ||
| [2010/08/30 08:58:55] <robinbowes> Subtle distinction, and a bit cargo-cultish, but I've got into the habit of using \A | ||
| [2010/08/30 08:59:44] <joe-mac> \A == ^? | ||
| [2010/08/30 08:59:47] <joe-mac> wtf is the point... | ||
| [2010/08/30 09:00:21] @ RedPepper is now known as redpepper | ||
| [2010/08/30 09:00:57] <kjetilho> \A is beginning of string, ^ is beginning of line. | ||
| [2010/08/30 09:01:10] <robinbowes> No, \a != ^ | ||
| [2010/08/30 09:01:18] @ mikey_p joined channel #puppet | ||
| [2010/08/30 09:01:18] <robinbowes> WHS ^^^ | ||
| [2010/08/30 09:02:52] <robinbowes> ^ is actually beginning of string, unless the regex uses the /m flag, in which case it's beginning of line | ||
| [2010/08/30 09:03:04] <robinbowes> \A is always beginning of string | ||
| [2010/08/30 09:04:28] @ Quit: mikey_p: Client Quit | ||
| [2010/08/30 09:04:52] @ Quit: fcami: Remote host closed the connection | ||
| [2010/08/30 09:06:50] <kjetilho> robinbowes: so how often do you use (?m) to warrant \A rather than the more readable ^ ? | ||
| [2010/08/30 09:07:19] <robinbowes> I generally use xms most of the time | ||
| [2010/08/30 09:07:28] <kjetilho> in Puppet? | ||
| [2010/08/30 09:07:41] <Volcane> kjetilho: according to his doc perl ppl tend to use it all the time to achieve consistant behavior | ||
| [2010/08/30 09:07:54] <robinbowes> No, I'm talking more generally | ||
| [2010/08/30 09:08:11] <kjetilho> consistent, well... depends on your viewpoint | ||
| [2010/08/30 09:09:39] @ Quit: yann2: Ping timeout: 265 seconds | ||
| [2010/08/30 09:09:42] <robinbowes> What, you mean whether something being the same all the time is consistent or not? | ||
| [2010/08/30 09:12:01] @ Quit: littleidea: Quit: littleidea | ||
| [2010/08/30 09:12:26] @ mikey_p joined channel #puppet | ||
| [2010/08/30 09:13:01] <kjetilho> you may write ^ so that you can toggle behaviour easily later | ||
| [2010/08/30 09:13:20] <kjetilho> e.g., if your code switches from processing data one line at a time to a bunch of lines at a time | ||
| [2010/08/30 09:13:25] @ fcami joined channel #puppet | ||
| [2010/08/30 09:13:42] <kjetilho> if you wrote \A, this would be harder | ||
| [2010/08/30 09:16:57] <robinbowes> Well, you could do that, but I personally wouldn't | ||
| [2010/08/30 09:17:52] @ themroc is now known as themrocaw | ||
| [2010/08/30 09:18:21] <prometheanfire> it seems that files handled by puppet need at least 600 | ||
| [2010/08/30 09:18:40] <Volcane> prometheanfire: readable by the puppet user | ||
| [2010/08/30 09:19:58] @ tecto_ joined channel #puppet | ||
| [2010/08/30 09:20:12] <prometheanfire> puppet was running as root, the file was 440 and it wasn't being added to the catalog | ||
| [2010/08/30 09:20:38] <Volcane> the puppetmaster needs to read it | ||
| [2010/08/30 09:20:42] <Volcane> it doesnt run as root | ||
| [2010/08/30 09:21:17] <prometheanfire> the daemon was running as root, does it read it as another user? | ||
| [2010/08/30 09:21:38] <prometheanfire> oh, nvm, I'm stupid | ||
| [2010/08/30 09:21:40] <prometheanfire> again | ||
| [2010/08/30 09:21:56] @ yann2 joined channel #puppet | ||
| [2010/08/30 09:23:17] <robinbowes> kjetilho: some nice regexes I did a few months ago: http://projects.robinbowes.com/software/trac/browser/RangeList/trunk/lib/RangeList.pm | ||
| [2010/08/30 09:23:50] <robinbowes> Had fun doing that! | ||
| [2010/08/30 09:23:56] <robinbowes> Perhaps I need to get out more :) | ||
| [2010/08/30 09:24:33] @ Quit: jaredrhine: Ping timeout: 252 seconds | ||
| [2010/08/30 09:24:33] @ plathrop-away is now known as plathrop | ||
| [2010/08/30 09:28:29] <nathan_h> Say i have a variable $foo in current scope, I then do an inline template and change the value of $foo with some ruby code, when the inline template finishes executing will the value of $foo change? | ||
| [2010/08/30 09:28:53] <kjetilho> nathan_h: how do you change the value of $foo? | ||
| [2010/08/30 09:29:05] @ bug joined channel #puppet | ||
| [2010/08/30 09:29:11] <kjetilho> you need rather heavy-duty introspection to do that | ||
| [2010/08/30 09:29:46] @ runrig joined channel #puppet | ||
| [2010/08/30 09:31:35] <nathan_h> kjetilho, assignment operator? | ||
| [2010/08/30 09:31:50] @ spacex joined channel #puppet | ||
| [2010/08/30 09:32:34] <kjetilho> foo = "blah" will not change the Puppet value | ||
| [2010/08/30 09:32:54] <nathan_h> oh i guess i'd have to do $foo = ...inline template... | ||
| [2010/08/30 09:33:15] <nathan_h> is there anyway to ensure that line get executed in any desired order? | ||
| [2010/08/30 09:33:16] <kjetilho> Puppet will not let you change the value of a variable | ||
| [2010/08/30 09:34:01] @ Quit: spacex: Client Quit | ||
| [2010/08/30 09:34:05] <nathan_h> really | ||
| [2010/08/30 09:34:06] <nathan_h> ? | ||
| [2010/08/30 09:34:10] <kjetilho> really | ||
| [2010/08/30 09:34:18] <kjetilho> you can add to an array, that's it | ||
| [2010/08/30 09:34:25] @ Quit: mattock: Ping timeout: 258 seconds | ||
| [2010/08/30 09:35:09] <nathan_h> kjetilho, oh i don't mean modify it, i mean modify it and return the new value | ||
| [2010/08/30 09:35:28] <nathan_h> $foo = inline_template("<%= foo.downcase -%>") | ||
| [2010/08/30 09:35:33] <nathan_h> does that work? | ||
| [2010/08/30 09:35:40] <kjetilho> no, you can't reassign to $foo | ||
| [2010/08/30 09:35:49] <kjetilho> you need to use a new variable name | ||
| [2010/08/30 09:36:17] <kjetilho> not sure that will work really, since the evaluation order can get jumbled | ||
| [2010/08/30 09:36:24] <kjetilho> and Puppet doesn't know the dependency | ||
| [2010/08/30 09:36:25] @ labrown joined channel #puppet | ||
| [2010/08/30 09:36:27] <nathan_h> so $bar = inline_template | ||
| [2010/08/30 09:36:34] <nathan_h> and reference foo inside | ||
| [2010/08/30 09:36:59] <nathan_h> hrm, i guess i'd have to almost make it a class to ensure it gets executed though | ||
| [2010/08/30 09:37:08] <kjetilho> someone with more intimate knowledge of the parser will need to comment | ||
| [2010/08/30 09:37:13] <geekatcmu> Yeah, if there are dependencies, it's *always* best to be explicit in your manifests. | ||
| [2010/08/30 09:37:33] <nathan_h> unless someone knows a way to make a variable be a dependency | ||
| [2010/08/30 09:37:53] <geekatcmu> "It'll figure it out after 4-5 runs" is not just un-professional, sometimes 4-5 turns into 20-30. | ||
| [2010/08/30 09:40:18] <nathan_h> ya i agree | ||
| [2010/08/30 09:41:17] <nathan_h> do you think i could simulate a stage one by making a default require of a class, and then use the append operator on all my requires so i'll always depend on that first class | ||
| [2010/08/30 09:41:23] <nathan_h> we aren't running 2.6 | ||
| [2010/08/30 09:42:21] <hom> /usr/lib/ruby/site_ruby/1.8/puppet/util/posix.rb:23: [BUG] Segmentation fault | ||
| [2010/08/30 09:42:22] <hom> ruby 1.8.5 (2006-08-25) [x86_64-linux] | ||
| [2010/08/30 09:42:22] <hom> Aborted | ||
| [2010/08/30 09:42:36] <nathan_h> hrm i wonder if require => Class ["foo"] and then require +> Class ["bar"] will always depend on foo first, then bar | ||
| [2010/08/30 09:42:52] <matti> hom: Not nice... | ||
| [2010/08/30 09:42:57] <Volcane> nathan_h: nope | ||
| [2010/08/30 09:42:58] <hom> anyone else getting that error? I get it about 50% of the time | ||
| [2010/08/30 09:43:05] @ f3ew joined channel #puppet | ||
| [2010/08/30 09:43:14] <matti> hom: Can you update to 1.8.7? | ||
| [2010/08/30 09:43:21] <nathan_h> Volcane, hrm, guess that answers my stage question :P it won't work | ||
| [2010/08/30 09:43:26] <nathan_h> Volcane, thanks for the info. | ||
| [2010/08/30 09:44:30] <hom> 1.8.7 of which package? | ||
| [2010/08/30 09:44:36] <hom> ruby? | ||
| [2010/08/30 09:44:58] <nathan_h> guess i could setup a different "environment" for the "first" run which has a few packages and preimaging functions in there. | ||
| [2010/08/30 09:45:02] @ spacex joined channel #puppet | ||
| [2010/08/30 09:45:11] @ Quit: spacex: Client Quit | ||
| [2010/08/30 09:45:16] @ spacex joined channel #puppet | ||
| [2010/08/30 09:45:58] <hom> 1.8.5-5 is the newest I get when doing yum update | ||
| [2010/08/30 09:49:19] @ coleman79 left channel #puppet () | ||
| [2010/08/30 09:52:03] @ thekad-afk is now known as thekad | ||
| [2010/08/30 09:52:05] @ MarkN1 joined channel #puppet | ||
| [2010/08/30 09:54:50] @ tonyskapunk joined channel #puppet | ||
| [2010/08/30 09:55:26] @ prometheanfire left channel #puppet () | ||
| [2010/08/30 09:55:39] <Volcane> nathan_h: if it was easy to replicate the stage behavior it wouldnt have been implimented, we faught long and hard to get that feature :) | ||
| [2010/08/30 09:55:43] @ Quit: pmorillo: Quit: pmorillo | ||
| [2010/08/30 09:56:26] @ Quit: yannL: Remote host closed the connection | ||
| [2010/08/30 09:57:20] <nathan_h> Volcane, hehe, ya i'm starting to see that :) | ||
| [2010/08/30 09:57:51] <nathan_h> damn you chicken, damn you egg! ONE OF YOU COMES FIRST!@ ;) | ||
| [2010/08/30 09:58:28] <joe-mac> i've got my money on the egg | ||
| [2010/08/30 09:58:32] <holsta> nathan_h: that's now a solved problem, as I recall. | ||
| [2010/08/30 09:58:54] <nathan_h> holsta, ya we just need to upgrade to 2.6 in our prod env. | ||
| [2010/08/30 09:59:10] <nathan_h> joe-mac, i heard the egg is going to throw it in the 2nd round. | ||
| [2010/08/30 09:59:16] <holsta> nathan_h: i meant, humans now know which came first: the egg or the chicken. | ||
| [2010/08/30 09:59:26] <nathan_h> oh, hehe | ||
| [2010/08/30 09:59:28] <Volcane> you'd only want to use stages from 2.6.1 onward - infact you only want to use 2.6.1 onward | ||
| [2010/08/30 09:59:34] <joe-mac> haha | ||
| [2010/08/30 09:59:38] <joe-mac> yea 2.6.0 has some uhhh, bugs | ||
| [2010/08/30 09:59:41] <nathan_h> hehe | ||
| [2010/08/30 09:59:57] <nathan_h> ya we are 0.25.5 | ||
| [2010/08/30 10:00:20] @ mrwacky42 joined channel #puppet | ||
| [2010/08/30 10:01:11] @ Quit: matti: Quit: 8-X | ||
| [2010/08/30 10:06:21] <geekatcmu> Is there a rake task for purging a host from your catalogs (using storedconfigs and mysql)? | ||
| [2010/08/30 10:06:47] <geekatcmu> I've got a host that put in a bad piece of data (empty ssh key) and now all my puppet runs fail. | ||
| [2010/08/30 10:07:12] <geekatcmu> I had hoped that Foreman's "delete" action would do that, but it was … sadly lacking. | ||
| [2010/08/30 10:07:19] <kjetilho> yea, the ssh_authorized_key is notoriously fragile | ||
| [2010/08/30 10:07:24] @ nathanr joined channel #puppet | ||
| [2010/08/30 10:07:49] <nathanr> what's the proper way to say, make this file contents be the contents of this file local to the puppetmaster | ||
| [2010/08/30 10:07:59] <nathanr> is it content => file("/something") ? | ||
| [2010/08/30 10:08:08] @ Quit: jmccaffrey: Ping timeout: 265 seconds | ||
| [2010/08/30 10:08:57] @ Quit: spawnyd: Quit: leaving | ||
| [2010/08/30 10:09:13] * geekatcmu sighs and goes off to poke at the catalogs. | ||
| [2010/08/30 10:09:30] @ matti joined channel #puppet | ||
| [2010/08/30 10:10:55] @ benkevan joined channel #puppet | ||
| [2010/08/30 10:10:56] @ windowsrefund joined channel #puppet | ||
| [2010/08/30 10:10:57] <windowsrefund> hi | ||
| [2010/08/30 10:15:21] @ yannL joined channel #puppet | ||
| [2010/08/30 10:16:25] @ Quit: jdcasey: Remote host closed the connection | ||
| [2010/08/30 10:16:30] @ Quit: tecto_: Remote host closed the connection | ||
| [2010/08/30 10:16:40] @ redpepper is now known as RedPepper | ||
| [2010/08/30 10:16:54] <nathanr> does anyone know of a puppet vim plugin for syntax? | ||
| [2010/08/30 10:16:55] <notbrien> geekatcmu: I think you are looking for http://bit.ly/aFUkdn | ||
| [2010/08/30 10:17:27] <geekatcmu> notbrien++ | ||
| [2010/08/30 10:17:28] <geekatcmu> Thanks! | ||
| [2010/08/30 10:19:03] <notbrien> nathanr: I think you are looking for http://bit.ly/9SpqW6 | ||
| [2010/08/30 10:19:18] <windowsrefund> can anyone explain why my yaml dir is constantly reset to 750? | ||
| [2010/08/30 10:23:32] <geekatcmu> because puppetd sets it to whatever mode it wants, and your manifests set it to 750. Thus, constant flip-flopping. | ||
| [2010/08/30 10:24:25] @ mrhinkle joined channel #puppet | ||
| [2010/08/30 10:24:34] @ Quit: mrhinkle: Client Quit | ||
| [2010/08/30 10:25:21] @ mrhinkle joined channel #puppet | ||
| [2010/08/30 10:30:24] @ Quit: bug: Quit: bug | ||
| [2010/08/30 10:30:35] @ Quit: benkevan: Read error: Operation timed out | ||
| [2010/08/30 10:33:25] @ shadoi joined channel #puppet | ||
| [2010/08/30 10:33:41] @ Quit: shadoi: Remote host closed the connection | ||
| [2010/08/30 10:34:05] @ shadoi joined channel #puppet | ||
| [2010/08/30 10:35:35] @ lwhalen joined channel #puppet | ||
| [2010/08/30 10:35:36] @ Edgan joined channel #puppet | ||
| [2010/08/30 10:37:51] <lwhalen> question, all: what's a sane way to have one puppet server manage basic config files/modules/whatnot for a Dev, Stage, and Production environment? | ||
| [2010/08/30 10:38:03] @ Quit: Alagar: Quit: Leaving. | ||
| [2010/08/30 10:38:29] @ pting joined channel #puppet | ||
| [2010/08/30 10:43:03] <windowsrefund> geekatcmu: puppetd is not running on the node, only puppetmasterd | ||
| [2010/08/30 10:43:08] @ mclarke joined channel #puppet | ||
| [2010/08/30 10:43:34] <windowsrefund> so I manually chmod -R 755 /var/puppet/yaml but it gets reset to 750 every few minutes | ||
| [2010/08/30 10:44:54] <nathanr> notbrien: thanks! | ||
| [2010/08/30 10:46:04] <hom> puppetd --test runs for a bit then gives "Illegal instruction" occasionally. Second run usually works. Any ideas? | ||
| [2010/08/30 10:48:07] @ Quit: Edgan: Read error: Connection reset by peer | ||
| [2010/08/30 10:48:39] @ Edgan joined channel #puppet | ||
| [2010/08/30 10:48:46] <miah> your local cache is fubar'd ? | ||
| [2010/08/30 10:49:13] <geekatcmu> windowsrefunt: What do you have running that accesses that directory? puppetd will clearly reset it to what *it* thinks it should be. | ||
| [2010/08/30 10:49:58] <geekatcmu> Basically, you really don't get to control $vardir. Either learn to like what puppet sets it to, or else figure out then config settings to make yourself happy. | ||
| [2010/08/30 10:50:50] <geekatcmu> `puppetd --genconfig | ack -A2 mode` may be instructive. | ||
| [2010/08/30 10:50:57] <geekatcmu> (ack is a fabulous grep replacement) | ||
| [2010/08/30 10:51:35] <ashp> windowsrefund: say, how'd you feel about ruby vs python? | ||
| [2010/08/30 10:54:42] <hom> I thought puppetd --test would ignore the cache | ||
| [2010/08/30 10:54:58] @ scashin133 joined channel #puppet | ||
| [2010/08/30 10:55:23] <miah> ah maybe. i'm always explicit to ignore cache | ||
| [2010/08/30 10:56:29] <hom> I don't see a switch to ignore the cache | ||
| [2010/08/30 10:57:06] <Volcane> --test disables the cache | ||
| [2010/08/30 10:58:48] @ Ramonster joined channel #puppet | ||
| [2010/08/30 10:59:05] @ Quit: brothers: Quit: brothers | ||
| [2010/08/30 11:01:45] @ lak joined channel #puppet | ||
| [2010/08/30 11:03:14] @ Quit: Ramonster: Client Quit | ||
| [2010/08/30 11:03:22] @ Ramonster joined channel #puppet | ||
| [2010/08/30 11:05:40] @ Quit: phips: Quit: leaving | ||
| [2010/08/30 11:09:48] @ adrian_broher joined channel #puppet | ||
| [2010/08/30 11:10:02] @ nanliu joined channel #puppet | ||
| [2010/08/30 11:17:07] <geekatcmu> http://paste.org/pastebin/view/21901 is what I eventually came up with to deal with empty ssh keys. Does anyone have something better? | ||
| [2010/08/30 11:17:20] @ tecto_ joined channel #puppet | ||
| [2010/08/30 11:17:43] @ Quit: nul0op: Ping timeout: 265 seconds | ||
| [2010/08/30 11:19:31] @ jaredrhine joined channel #puppet | ||
| [2010/08/30 11:22:32] @ jdcasey joined channel #puppet | ||
| [2010/08/30 11:24:13] @ bmahe joined channel #puppet | ||
| [2010/08/30 11:26:59] <robinbowes> geekatcmu: I've had the same problem. It's a PITA. | ||
| [2010/08/30 11:28:37] <geekatcmu> Yep. | ||
| [2010/08/30 11:30:07] <yann2> already thought about distributing the known_host file with puppet. what problem are you trying to work around? | ||
| [2010/08/30 11:34:34] <geekatcmu> If you use the sshkey type, the known_host file is generated locally on each host. However, if Puppet generates a file while a new host is adding itself, the key field for that host may be empty. The sshkey type isn't smart enough to ignore empty keys, and so it writes out mal-formed lines in the ssh_known_hosts file. On the next run, puppet barfs on the now-incorrect ssh_host_file. It's an issue. I should check to see if there's a bug filed on it yet. | ||
| [2010/08/30 11:38:56] @ braind joined channel #puppet | ||
| [2010/08/30 11:42:59] @ Quit: nanliu: Quit: nanliu | ||
| [2010/08/30 11:43:54] @ gutseb joined channel #puppet | ||
| [2010/08/30 11:46:34] @ Quit: lak: Quit: lak | ||
| [2010/08/30 11:47:36] @ Quit: maroon: Quit: Leaving. | ||
| [2010/08/30 11:48:01] @ Quit: Ramonster: Remote host closed the connection | ||
| [2010/08/30 11:48:12] @ Ramonster joined channel #puppet | ||
| [2010/08/30 11:50:26] @ raz joined channel #puppet | ||
| [2010/08/30 11:51:10] @ Quit: mrhinkle: Quit: This computer has gone to sleep | ||
| [2010/08/30 11:54:02] <Disconnect> we had a ton of issues with locking and ssh keys - if a host timed out (or otherwise submitted a second manifest request before the first finishes) it triggered duplicate errors that required db massage to fix :/ | ||
| [2010/08/30 11:54:12] <Disconnect> host keys that is. user keys are fine. | ||
| [2010/08/30 11:56:38] <rmiller4pi8> that's not encouraging, i was just thinking of starting to use that provider | ||
| [2010/08/30 11:57:47] <Disconnect> haven't tried it in a couple of versions but yah | ||
| [2010/08/30 11:58:26] @ Quit: Ramonster: Quit: So long, thanx for all the fish | ||
| [2010/08/30 11:58:33] @ Ramonster joined channel #puppet | ||
| [2010/08/30 12:01:22] @ littleidea joined channel #puppet | ||
| [2010/08/30 12:02:31] @ nathanr is now known as proprietarysucks | ||
| [2010/08/30 12:05:07] <Disconnect> anyone know of a nagios/icinga cluster/aggregation monitor that doesn't require a list of all associated hosts/services? looking at check-cluster but the command is bacsially -d host1:$test-status$,host2:$test-status$,host3:. | ||
| [2010/08/30 12:05:24] @ ryep joined channel #puppet | ||
| [2010/08/30 12:06:37] * Volcane does certain types of check over mcollective so they need zero config | ||
| [2010/08/30 12:07:05] @ Quit: RussS: Quit: Leaving | ||
| [2010/08/30 12:07:25] <proprietarysucks> anyone know how to tell foreman not to consider notices as errors? | ||
| [2010/08/30 12:07:50] <geekatcmu> I just changed the sshkey collection O "Sshkey <<| key != "" |>>{require => Exec["ssh known hosts stuff is stupidly fragile"]}". I wonder if that will help? | ||
| [2010/08/30 12:08:26] @ Quit: SpacePope: Ping timeout: 264 seconds | ||
| [2010/08/30 12:08:42] @ SpacePope joined channel #puppet | ||
| [2010/08/30 12:10:20] @ Quit: justdave: Quit: Lost terminal | ||
| [2010/08/30 12:10:58] @ phips joined channel #puppet | ||
| [2010/08/30 12:17:14] @ bug joined channel #puppet | ||
| [2010/08/30 12:25:27] @ RussS joined channel #puppet | ||
| [2010/08/30 12:25:35] @ Quit: jdcasey: Remote host closed the connection | ||
| [2010/08/30 12:26:06] @ jdcasey joined channel #puppet | ||
| [2010/08/30 12:26:21] @ Quit: neek: Ping timeout: 265 seconds | ||
| [2010/08/30 12:32:33] @ justdave joined channel #puppet | ||
| [2010/08/30 12:35:01] @ Quit: kaptk2: Read error: Connection reset by peer | ||
| [2010/08/30 12:38:35] @ Quit: yannL: Remote host closed the connection | ||
| [2010/08/30 12:45:02] <windowsrefund> geekatcmu: ah... manage_internal_file_permissions | ||
| [2010/08/30 12:45:05] <windowsrefund> thanks | ||
| [2010/08/30 12:45:07] @ RedPepper is now known as redpepper | ||
| [2010/08/30 12:52:27] @ raz left channel #puppet () | ||
| [2010/08/30 12:53:51] @ kaptk2 joined channel #puppet | ||
| [2010/08/30 12:57:49] @ chris______ joined channel #puppet | ||
| [2010/08/30 12:58:28] <chris______> silly question time ... how does puppet know if a file needs to be changed or not? hash comparison? | ||
| [2010/08/30 12:59:23] <joergherzinger> correct | ||
| [2010/08/30 12:59:28] <chris______> bascially I'm trying to figure out how to reconcile a file change notification from something like tripwire/samhain vs a change applied via puppet | ||
| [2010/08/30 12:59:45] <chris______> is there a syslog entry that get's generated? | ||
| [2010/08/30 13:01:47] <joergherzinger> Yes, in daemon.log, although its just a short one that tells you it has been changed and not what has been changed. | ||
| [2010/08/30 13:02:17] @ Quit: nwp: Read error: Operation timed out | ||
| [2010/08/30 13:02:56] <chris______> ahh .. ok .. so you will know which file has been changed ... is there anyway to get that into the syslog infrastructure? | ||
| [2010/08/30 13:04:11] <joergherzinger> Well, in debian syslog-ng is used so yes, there is. | ||
| [2010/08/30 13:05:25] <chris______> ok, so it sends to rsyslog and then rsyslog.conf will dictate that it is sent to daemon.log? | ||
| [2010/08/30 13:05:39] <chris______> (at least for Debian lenny) | ||
| [2010/08/30 13:06:37] <joergherzinger> I hope all modern distros handle it that way. | ||
| [2010/08/30 13:07:37] <joergherzinger> There are just a few projects that still think they need their own way of handling log files (apache, cups..) | ||
| [2010/08/30 13:08:37] <chris______> yeah .. I just wanted to make sure that it goes into syslog .... and not written to some puppet specific flat file | ||
| [2010/08/30 13:08:42] <chris______> thank you very much!! | ||
| [2010/08/30 13:09:16] @ Quit: chris______: Quit: Page closed | ||
| [2010/08/30 13:09:17] <joergherzinger> no problem | ||
| [2010/08/30 13:10:31] <joergherzinger> Puppet can also send statistics and logs to other servers and services. Have a look at puppet dashboard for that. | ||
| [2010/08/30 13:14:34] <mosez> how can i merge a module files directory with a client directory? | ||
| [2010/08/30 13:15:12] <mosez> i want to write some basic webfiles recursive to /var/www on every client | ||
| [2010/08/30 13:15:14] @ pheezy joined channel #puppet | ||
| [2010/08/30 13:15:38] <pheezy> anyone know why "ensure => latest" wouldn't update a package? | ||
| [2010/08/30 13:16:13] <joergherzinger> Use file and set the recuse flag, but beware that puppets builtin webserver is not very performant an will eventually fail on bigger directories. | ||
| [2010/08/30 13:16:14] <hajile> i think it should | ||
| [2010/08/30 13:16:24] <hajile> i tend to use ensure => present and then use something else to update packages | ||
| [2010/08/30 13:16:31] <hajile> like spacewalk or the like | ||
| [2010/08/30 13:16:47] <pheezy> yeah i mean it usually does...hmmm... | ||
| [2010/08/30 13:17:00] <hajile> what's the behavior | ||
| [2010/08/30 13:17:06] <pheezy> well we actually version all our repos and just promote them up through environments | ||
| [2010/08/30 13:17:06] <hajile> is it a custom repo? | ||
| [2010/08/30 13:17:10] <pheezy> yeah | ||
| [2010/08/30 13:17:16] <pheezy> it's just behaving like ensure => present | ||
| [2010/08/30 13:17:20] <hajile> yea | ||
| [2010/08/30 13:17:21] <pheezy> it's the puppet-dashboard rpm too lol | ||
| [2010/08/30 13:17:23] <joergherzinger> pheezy: Puppet doesn't update the systems package index as far as I know. | ||
| [2010/08/30 13:17:23] <hajile> i've had to issue a yum clean all | ||
| [2010/08/30 13:17:33] <pheezy> yeah i did that, and a yum makecache | ||
| [2010/08/30 13:17:34] <hajile> whenever the repo version increments | ||
| [2010/08/30 13:17:36] <hajile> weird | ||
| [2010/08/30 13:18:01] <pheezy> odd | ||
| [2010/08/30 13:19:01] <mosez> hajile: is there something like spacewalk for debian too? =) | ||
| [2010/08/30 13:19:13] <hajile> no idea :) | ||
| [2010/08/30 13:19:35] <hajile> spacewalk isn't the greatest, but it works OK | ||
| [2010/08/30 13:21:16] <joergherzinger> For Debian you could use unattendet-updates. | ||
| [2010/08/30 13:21:31] <mosez> is there some update management within puppet? so that i can start centralized system updates? | ||
| [2010/08/30 13:21:43] <miah> you'd probably have to write a module | ||
| [2010/08/30 13:21:45] <joergherzinger> iirc you can choose which packages you want to be up to date and so on... | ||
| [2010/08/30 13:21:55] <ohadlevy> hajile: do you want it just for reporting or to push updates? | ||
| [2010/08/30 13:22:00] <hajile> ? | ||
| [2010/08/30 13:22:10] <ptman> mosez, I user apt-dater, not quite the same as spacewalk | ||
| [2010/08/30 13:22:15] <ohadlevy> hajile: spacewalk for deb | ||
| [2010/08/30 13:22:18] <miah> do you just want to report what is out of date, or update out of date | ||
| [2010/08/30 13:22:26] <hajile> oh, i'm not after something for debian, mosez is :) | ||
| [2010/08/30 13:22:37] <ohadlevy> hajile: oops | ||
| [2010/08/30 13:22:42] <ohadlevy> mosez: ^^ | ||
| [2010/08/30 13:24:16] <ohadlevy> mosez: i wrote http://github.com/ohadlevy/dish as a proof of concept, it works quiet well, buts it can just report the actual status at the moment | ||
| [2010/08/30 13:25:06] <mosez> got to take a look at apt-dater and dish :) thx | ||
| [2010/08/30 13:27:04] <robinbowes> 0.26.1 anywhere near release/usablity yet? | ||
| [2010/08/30 13:29:14] <robinbowes> And is there a status page on the web site anywhere? | ||
| [2010/08/30 13:30:06] @ thekad is now known as thekad-afk | ||
| [2010/08/30 13:30:57] @ WALoeIII joined channel #puppet | ||
| [2010/08/30 13:34:51] <mosez> ok, apt-dater looks really good for updating many systems :) | ||
| [2010/08/30 13:35:52] <dan__t> Silly question, but.... say I make a definition. How do I, well, use it? define foo() is instantiated within a class (in this case, a node itself?) with foo($arg1) etc etc? | ||
| [2010/08/30 13:38:02] <mosez> dan__t: definename(yourname: foo => bar, bar => foo) | ||
| [2010/08/30 13:38:16] <mosez> dan__t: just like calls of file, service and so on | ||
| [2010/08/30 13:38:51] <dan__t> right, I know how to create one | ||
| [2010/08/30 13:38:54] <dan__t> but using it? | ||
| [2010/08/30 13:39:12] <dan__t> node "somenode" { name($arg1) } etc etc? | ||
| [2010/08/30 13:40:03] @ Quit: nexx: Quit: quit | ||
| [2010/08/30 13:42:28] <dan__t> Can I instantiate it inside of a node definition? | ||
| [2010/08/30 13:42:54] <dan__t> So I make all these classes right, take for services for example. Some times I don't want those services to be enabled. | ||
| [2010/08/30 13:42:59] <dan__t> Depending on the machine. | ||
| [2010/08/30 13:44:33] <dan__t> So I want to default the service to be enabled, but override it as needed and ensure its disabled | ||
| [2010/08/30 13:48:03] <mosez> how could i call extlookup within templates? | ||
| [2010/08/30 13:48:28] @ lithium[] joined channel #puppet | ||
| [2010/08/30 13:49:14] @ benkevan joined channel #puppet | ||
| [2010/08/30 13:50:10] @ Quit: reyjrar: Quit: Leaving. | ||
| [2010/08/30 13:50:49] <mosez> damn, my puppetmaster seems to hangup with extlookup Oo | ||
| [2010/08/30 13:52:18] @ Quit: bug: Quit: bug | ||
| [2010/08/30 13:53:20] <mosez> err: Could not retrieve catalog: Failed to parse template apache2/ports.conf.erb: Could not find value for 'extlookup' at /etc/puppet/modules/apache2/manifests/classes/files.pp:31 on node s04.tbpro.de | ||
| [2010/08/30 13:53:25] <mosez> hum... | ||
| [2010/08/30 13:58:21] @ Quit: fcami: Quit: gone | ||
| [2010/08/30 13:59:43] @ Quit: xaoslaad: Quit: Leaving | ||
| [2010/08/30 14:03:12] @ Quit: static^: Remote host closed the connection | ||
| [2010/08/30 14:03:42] @ Quit: jdcasey: Remote host closed the connection | ||
| [2010/08/30 14:04:12] @ jdcasey joined channel #puppet | ||
| [2010/08/30 14:04:36] <dan__t> What does $extlookup_datadir and $extlookup_precedence look like? | ||
| [2010/08/30 14:07:47] <dan__t> So I can instantiate a custom definition within a node definition? | ||
| [2010/08/30 14:08:13] <mosez> # $extlookup_datadir = "/etc/puppet/manifests/extdata" | ||
| [2010/08/30 14:08:13] <mosez> # $extlookup_precedence = ["%{fqdn}", "domain_%{domain}", "common"] | ||
| [2010/08/30 14:08:22] @ nwp joined channel #puppet | ||
| [2010/08/30 14:09:11] <facade_> mosez: does this http://pastie.org/1127571 help? | ||
| [2010/08/30 14:11:05] @ Quit: lwhalen: Ping timeout: 276 seconds | ||
| [2010/08/30 14:11:14] @ imran_ joined channel #puppet | ||
| [2010/08/30 14:11:48] @ Quit: benkevan: Ping timeout: 240 seconds | ||
| [2010/08/30 14:11:51] <dan__t> Man... this means I need to pretty much rewrite all my classes | ||
| [2010/08/30 14:12:33] @ nul0op joined channel #puppet | ||
| [2010/08/30 14:12:41] @ benkevan joined channel #puppet | ||
| [2010/08/30 14:13:07] <facade_> dan__t: what do you have at present? | ||
| [2010/08/30 14:13:24] <mosez> facade_: so i can not call the extlookup within the template directly? | ||
| [2010/08/30 14:13:37] <dan__t> classes | ||
| [2010/08/30 14:13:51] <dan__t> but I need to override some specific options on a per-class basis... Can't pass variables to classes, right | ||
| [2010/08/30 14:13:52] <facade_> mosez: i'm afraid i'm not qualified to comment with accuracy on that. | ||
| [2010/08/30 14:14:05] <facade_> mosez: the pastie is the way i'm using extlookup | ||
| [2010/08/30 14:14:12] <mosez> facade_: ok, thx | ||
| [2010/08/30 14:14:19] @ Quit: benkevan: Client Quit | ||
| [2010/08/30 14:14:37] <facade_> dan__t: well, 2.6.0 introduces parameterized classes... not sure if that might help | ||
| [2010/08/30 14:15:03] <mosez> dan__t: on 2.6 you can pass parameters to classes :). but i switched from variables to extlookup, it looks much better and is much better maintainable | ||
| [2010/08/30 14:15:08] <facade_> dan__t: can't you use extlookup to get the value in the class, and then make the call from there? | ||
| [2010/08/30 14:15:28] @ lak joined channel #puppet | ||
| [2010/08/30 14:15:36] @ fluxdude|2 joined channel #puppet | ||
| [2010/08/30 14:15:47] <dan__t> I guess I could do that... | ||
| [2010/08/30 14:15:49] <dan__t> hrm | ||
| [2010/08/30 14:16:04] <dan__t> let me chew on that for a few minutes. | ||
| [2010/08/30 14:16:09] @ mikey_p is now known as context_monster | ||
| [2010/08/30 14:16:29] @ context_monster is now known as mikey_p | ||
| [2010/08/30 14:18:03] <dan__t> damnit. that's still a lot of work. | ||
| [2010/08/30 14:18:39] <imran_> I'm getting these in my syslog when puppet-master compiles a catalog for a machine: "Compiled catalog for XXXXXXXXX in environment --- "--- \"--- \\\"--- production\\\"\"" in 0.34 seconds" I just added the 'environment = production' line to puppet.conf to see if it helps (i had no 'environment' lines before when the problem started) | ||
| [2010/08/30 14:20:01] <imran_> and its eems to be recursively escaping the slashes | ||
| [2010/08/30 14:20:02] @ Quit: nul0op: Read error: Connection reset by peer | ||
| [2010/08/30 14:20:33] <facade_> imran_: which versions of master and clients? | ||
| [2010/08/30 14:20:47] <dan__t> OK, how can I default a value? Say its not present in extlookup, I want it to default to something. | ||
| [2010/08/30 14:21:14] <imran_> oh, you know, I just remember I updated to the latest rc... was running 2.6.0 without a problem | ||
| [2010/08/30 14:21:24] <imran_> i mean running 2.6.1 latest rc | ||
| [2010/08/30 14:21:31] <facade_> dan__t: using extlookup, you can have a default in the fallthrough... | ||
| [2010/08/30 14:21:36] <facade_> dan__t: e.g. $extlookup_precedence = [ "%{hostname}", "environment_%{environment}", "common" ] | ||
| [2010/08/30 14:21:44] <robinbowes> dan__t: include a default ^^^ WHS | ||
| [2010/08/30 14:21:45] <facade_> dan__t: common.csv would hold your defaults | ||
| [2010/08/30 14:21:52] <dan__t> oh, right. | ||
| [2010/08/30 14:22:06] <robinbowes> Also, you can specify a default in the extlookup call | ||
| [2010/08/30 14:22:07] <dan__t> hrm.... | ||
| [2010/08/30 14:22:15] <dan__t> didn't know that, let me look in to that | ||
| [2010/08/30 14:22:17] <facade_> dan__t: you can probably do it in the class with a 'if $value..' construct.. but i'm not sure | ||
| [2010/08/30 14:22:29] <dan__t> right | ||
| [2010/08/30 14:22:46] <facade_> imran_: i had a similar issue when i went from 0.25.5 to 2.6.0 | ||
| [2010/08/30 14:22:57] @ nul0op joined channel #puppet | ||
| [2010/08/30 14:23:03] <facade_> imran_: it somehow sorted itself out when i restarted the master after upgrading all the slaves | ||
| [2010/08/30 14:23:13] <dan__t> $ntp_servers = extlookup("ntp_servers", "1.${country}.pool.ntp.org") | ||
| [2010/08/30 14:23:14] <facade_> imran_: i have no idea what caused it, or fixed it | ||
| [2010/08/30 14:23:17] <dan__t> straight from the source. | ||
| [2010/08/30 14:23:18] <dan__t> yeehaw. | ||
| [2010/08/30 14:23:22] <robinbowes> yup | ||
| [2010/08/30 14:23:39] <facade_> dan__t: ah yes, i forgot that... good call robinbowes | ||
| [2010/08/30 14:23:46] <dan__t> Thanks. | ||
| [2010/08/30 14:23:47] <robinbowes> Personally, I would put something like that in a "common.csv file though | ||
| [2010/08/30 14:24:03] <dan__t> See I go back and forth between writing puppet manifests heavily, to working on other projects every few weeks. | ||
| [2010/08/30 14:24:06] <dan__t> Kinda.... sucks :/ | ||
| [2010/08/30 14:24:33] <facade_> robinbowes: agreed. otherwise you've got data in two seperate places, and intrmingled with code | ||
| [2010/08/30 14:24:38] <robinbowes> Right | ||
| [2010/08/30 14:25:29] <robinbowes> I use a default in the extlookup call in some places | ||
| [2010/08/30 14:25:37] <dan__t> I'll be doing that. | ||
| [2010/08/30 14:25:47] <robinbowes> But only occasionally | ||
| [2010/08/30 14:25:58] <mosez> yeah, now my apache module looks much better =) | ||
| [2010/08/30 14:26:14] @ Quit: cliff: Read error: Operation timed out | ||
| [2010/08/30 14:26:43] <mosez> dan__t: of course you can add default value within extlookup call | ||
| [2010/08/30 14:26:59] <mosez> extlookup("keyname", "yourdefaultvalue") | ||
| [2010/08/30 14:27:18] <dan__t> yes :) | ||
| [2010/08/30 14:27:29] <mosez> and you can force to get the data out of a special csv file... extlookup("keyname", "yourdefaultvalue", "specialcsvfile") | ||
| [2010/08/30 14:27:59] <dan__t> yep. | ||
| [2010/08/30 14:28:02] <mosez> dan__t: do you wanna see my apache module? =) | ||
| [2010/08/30 14:28:06] <imran_> facade: hmm, yeah thats one hting I haven't tried.. heh restaritng the master that is | ||
| [2010/08/30 14:28:16] <dan__t> nah, i got the hang of it | ||
| [2010/08/30 14:28:19] <dan__t> just needed a starting point | ||
| [2010/08/30 14:28:20] <dan__t> thanks | ||
| [2010/08/30 14:28:39] <mosez> ok | ||
| [2010/08/30 14:30:45] <imran_> actually I'm still running 2.6.0-0.7 rpm on centos 5.5. I thought I upgraded it. anyway, good. also I just see the new cilents checking in... and its fixed. | ||
| [2010/08/30 14:31:02] <mosez> so for the others... what do you think about it? looks ok? -> http://pastie.org/1127623 | ||
| [2010/08/30 14:31:07] @ thekad-afk is now known as thekad | ||
| [2010/08/30 14:31:25] <facade_> imran_: fixed after the restart? | ||
| [2010/08/30 14:32:05] <imran_> yeah, fixed after puppetmaster restart | ||
| [2010/08/30 14:32:12] <imran_> thanks a lot. | ||
| [2010/08/30 14:33:05] <facade_> imran_: kewl, ta for the confirmation | ||
| [2010/08/30 14:33:18] @ Mick27 joined channel #puppet | ||
| [2010/08/30 14:33:30] <facade_> mosez: it looks a lot better than most of the stuff i've been coming up with ;) | ||
| [2010/08/30 14:33:58] <mosez> facade_: thx, that sounds good :D | ||
| [2010/08/30 14:34:50] @ Quit: lithium[]: Quit: leaving | ||
| [2010/08/30 14:35:18] @ Quit: MPSimmons: Quit: Leaving. | ||
| [2010/08/30 14:40:15] <dan__t> ah no way... i can't have a variable name with a dash in it......... | ||
| [2010/08/30 14:42:38] @ Quit: tecto_: Remote host closed the connection | ||
| [2010/08/30 14:43:44] @ Quit: fluxdude|2: Ping timeout: 255 seconds | ||
| [2010/08/30 14:44:04] @ Quit: littleidea: Quit: littleidea | ||
| [2010/08/30 14:46:24] @ Quit: adrian_broher: Quit: Verlassend | ||
| [2010/08/30 14:51:38] <josbal> was wondering if there is a doco for migrating server from old to new puppetmaster? | ||
| [2010/08/30 14:55:44] <dan__t> haha! need to rename all my class names... replace all the dashes with underbars | ||
| [2010/08/30 14:59:32] @ MarkN1 left channel #puppet () | ||
| [2010/08/30 15:05:24] @ Quit: gniks: Read error: Operation timed out | ||
| [2010/08/30 15:06:23] @ Quit: gebi: Ping timeout: 258 seconds | ||
| [2010/08/30 15:06:57] @ Quit: vizzord: Remote host closed the connection | ||
| [2010/08/30 15:07:25] @ fredden joined channel #puppet | ||
| [2010/08/30 15:13:04] @ OpenMedia joined channel #puppet | ||
| [2010/08/30 15:13:27] @ Quit: jdcasey: Remote host closed the connection | ||
| [2010/08/30 15:14:15] <mosez> dan__t: why? oO | ||
| [2010/08/30 15:15:06] <imran_> dan_t: underscores are fine.... just no dashes... | ||
| [2010/08/30 15:15:11] <dan__t> that's why. | ||
| [2010/08/30 15:18:19] @ rodnet joined channel #puppet | ||
| [2010/08/30 15:18:21] <mosez> and i've got to write two defines for my apache module... enable/disable mod and enable/disable site | ||
| [2010/08/30 15:18:53] @ Quit: rodnet: Client Quit | ||
| [2010/08/30 15:23:47] @ Quit: pheezy: Remote host closed the connection | ||
| [2010/08/30 15:24:15] <robinbowes> Hrm, am installing puppetmaster on a new server and it's not starting, and I can't see any logs | ||
| [2010/08/30 15:24:29] <robinbowes> Can I turn up the verbosity somehow? | ||
| [2010/08/30 15:26:42] <eric0> robinbowes: puppetmasterd also accepts --no-daemonize --debug | ||
| [2010/08/30 15:26:52] <robinbowes> OK, thx | ||
| [2010/08/30 15:29:33] <robinbowes> Now wtf doesn't it dump that info to a log somewhere by default? | ||
| [2010/08/30 15:29:49] <robinbowes> Could not run: Invalid line '~ ' at /etc/puppet/fileserver.conf:4 | ||
| [2010/08/30 15:30:31] @ Quit: runrig: Quit: Leaving | ||
| [2010/08/30 15:30:36] @ Quit: Mick27: Quit: This computer has gone to sleep | ||
| [2010/08/30 15:30:48] @ Quit: kaptk2: Quit: Leaving. | ||
| [2010/08/30 15:32:32] @ Wandrewvious joined channel #puppet | ||
| [2010/08/30 15:35:20] @ Quit: Wandrewvious: Client Quit | ||
| [2010/08/30 15:36:23] @ Quit: WALoeIII: Ping timeout: 255 seconds | ||
| [2010/08/30 15:37:19] @ Quit: lak: Quit: lak | ||
| [2010/08/30 15:40:40] @ Quit: gmason: Quit: gmason | ||
| [2010/08/30 15:41:51] @ gniks joined channel #puppet | ||
| [2010/08/30 15:43:53] @ Quit: Tas_: Ping timeout: 245 seconds | ||
| [2010/08/30 15:50:35] @ Quit: shadoi: Remote host closed the connection | ||
| [2010/08/30 15:51:01] @ shadoi joined channel #puppet | ||
| [2010/08/30 15:56:01] @ Quit: notbrien: Ping timeout: 260 seconds | ||
| [2010/08/30 15:58:27] @ Quit: shadoi: Quit: Leaving. | ||
| [2010/08/30 15:58:34] @ Quit: josbal: Quit: Page closed | ||
| [2010/08/30 15:58:47] @ shadoi joined channel #puppet | ||
| [2010/08/30 16:00:52] @ lkoranda joined channel #puppet | ||
| [2010/08/30 16:01:48] @ Quit: spacex: Ping timeout: 240 seconds | ||
| [2010/08/30 16:05:42] @ WALoeIII joined channel #puppet | ||
| [2010/08/30 16:06:37] @ lak joined channel #puppet | ||
| [2010/08/30 16:07:43] @ Quit: yann2: Ping timeout: 265 seconds | ||
| [2010/08/30 16:08:09] <WALoeIII> can the template function handle switching on $operatingsystem like sourcing files | ||
| [2010/08/30 16:08:19] <WALoeIII> if I name them .default or .ubuntu or .fedora | ||
| [2010/08/30 16:09:53] <Tonnerre> template("filename.${operatingsystem}.erb") | ||
| [2010/08/30 16:10:18] @ Quit: ahasenack: Quit: Leaving | ||
| [2010/08/30 16:10:19] @ Transformer joined channel #puppet | ||
| [2010/08/30 16:10:39] @ bug joined channel #puppet | ||
| [2010/08/30 16:11:24] @ Quit: bug: Client Quit | ||
| [2010/08/30 16:11:30] @ bug joined channel #puppet | ||
| [2010/08/30 16:12:25] <WALoeIII> Tonnerre: it seems to be case sensitive though | ||
| [2010/08/30 16:12:29] <WALoeIII> which is particularly annoying | ||
| [2010/08/30 16:12:39] <WALoeIII> oh maybe because I didn't use {} | ||
| [2010/08/30 16:12:43] <WALoeIII> just did $operatingsystem | ||
| [2010/08/30 16:13:22] @ Quit: Transformer: Excess Flood | ||
| [2010/08/30 16:13:50] <Tonnerre> Of course it's case sensitive as long as your file system is | ||
| [2010/08/30 16:14:08] <WALoeIII> hrmm | ||
| [2010/08/30 16:14:21] <WALoeIII> the source => "puppet://module/file" is not case sensitive | ||
| [2010/08/30 16:14:24] @ doctane joined channel #puppet | ||
| [2010/08/30 16:20:16] @ ludicruz joined channel #puppet | ||
| [2010/08/30 16:25:28] @ Transformer joined channel #puppet | ||
| [2010/08/30 16:25:49] @ static^ joined channel #puppet | ||
| [2010/08/30 16:28:22] @ Quit: Transformer: Excess Flood | ||
| [2010/08/30 16:29:44] @ Quit: static^: Remote host closed the connection | ||
| [2010/08/30 16:32:34] @ Quit: doctane: Quit: Leaving | ||
| [2010/08/30 16:33:43] @ Quit: lak: Quit: lak | ||
| [2010/08/30 16:36:42] @ Quit: labrown: Quit: Leaving | ||
| [2010/08/30 16:38:39] @ Quit: lkoranda: Ping timeout: 265 seconds | ||
| [2010/08/30 16:41:31] @ Quit: jab_doa: Quit: Verlassend | ||
| [2010/08/30 16:43:47] @ Quit: ashp: Ping timeout: 276 seconds | ||
| [2010/08/30 16:44:27] @ ashp joined channel #puppet | ||
| [2010/08/30 16:46:50] @ notbrien joined channel #puppet | ||
| [2010/08/30 16:51:47] @ brothers joined channel #puppet | ||
| [2010/08/30 16:51:48] @ Quit: brothers: Client Quit | ||
| [2010/08/30 16:52:02] @ brothers joined channel #puppet | ||
| [2010/08/30 16:56:26] @ jmccaffrey joined channel #puppet | ||
| [2010/08/30 17:07:14] @ static^ joined channel #puppet | ||
| [2010/08/30 17:08:32] @ Quit: static^: Remote host closed the connection | ||
| [2010/08/30 17:08:44] @ Quit: brothers: Quit: brothers | ||
| [2010/08/30 17:08:51] @ brothers joined channel #puppet | ||
| [2010/08/30 17:09:16] @ Quit: mikey_p: Quit: mikey_p | ||
| [2010/08/30 17:12:46] @ Quit: WALoeIII: Quit: Bai. | ||
| [2010/08/30 17:12:49] @ littleidea joined channel #puppet | ||
| [2010/08/30 17:13:18] @ Quit: brothers: Read error: No route to host | ||
| [2010/08/30 17:13:19] @ brothers_ joined channel #puppet | ||
| [2010/08/30 17:14:37] <socomm> I'm running 'puppet -v -o' and it seems to just hang/freeze. Anyone have any idea why it would do this? It was working fine few days ago. Nothing has chagned as far as I can tell. | ||
| [2010/08/30 17:15:01] <socomm> s/chagned/changed/g | ||
| [2010/08/30 17:20:14] @ HouseAway is now known as AimanA | ||
| [2010/08/30 17:20:44] @ slackey joined channel #puppet | ||
| [2010/08/30 17:25:14] @ eshamow is now known as eshamow|afk | ||
| [2010/08/30 17:25:19] @ Djelibeybi joined channel #puppet | ||
| [2010/08/30 17:27:26] @ Quit: bug: Quit: bug | ||
| [2010/08/30 17:34:29] @ static^ joined channel #puppet | ||
| [2010/08/30 17:34:30] <socomm> Disregard. | ||
| [2010/08/30 17:40:47] @ bug joined channel #puppet | ||
| [2010/08/30 17:41:53] @ Quit: RussS: Quit: Leaving | ||
| [2010/08/30 17:45:53] @ Quit: pugnacity1: Ping timeout: 265 seconds | ||
| [2010/08/30 17:47:29] @ Quit: jaredrhine: Quit: Leaving. | ||
| [2010/08/30 17:48:19] @ pugnacity joined channel #puppet | ||
| [2010/08/30 18:03:43] @ xaoslaad joined channel #puppet | ||
| [2010/08/30 18:05:09] @ Quit: imran_: Quit: imran_ | ||
| [2010/08/30 18:05:16] @ Quit: braind: Quit: braind | ||
| [2010/08/30 18:05:29] @ Quit: tonyskapunk: Quit: ERC Version 5.3 (IRC client for Emacs) | ||
| [2010/08/30 18:09:18] @ Quit: scashin133: Ping timeout: 240 seconds | ||
| [2010/08/30 18:10:58] @ Quit: Ramonster: Quit: So long, thanx for all the fish | ||
| [2010/08/30 18:19:08] @ thekad is now known as thekad-afk | ||
| [2010/08/30 18:20:19] @ Quit: mclarke: Quit: mclarke | ||
| [2010/08/30 18:25:24] @ spacex joined channel #puppet | ||
| [2010/08/30 18:29:08] @ shadoi left channel #puppet () | ||
| [2010/08/30 18:34:17] @ Quit: Bass10: Ping timeout: 276 seconds | ||
| [2010/08/30 18:37:05] @ Quit: hggh: Ping timeout: 276 seconds | ||
| [2010/08/30 18:37:12] @ hggh joined channel #puppet | ||
| [2010/08/30 18:37:31] @ Quit: static^: Remote host closed the connection | ||
| [2010/08/30 18:39:28] @ Quit: n0ts: Quit: Tiarra 0.1+svn-37177: SIGTERM received; exit | ||
| [2010/08/30 18:39:46] @ n0ts joined channel #puppet | ||
| [2010/08/30 18:58:55] @ Quit: pting: Remote host closed the connection | ||
| [2010/08/30 19:02:39] @ Quit: kogent: Remote host closed the connection | ||
| [2010/08/30 19:05:34] @ kogent joined channel #puppet | ||
| [2010/08/30 19:06:10] <justdave> what is the correct way to load classes from files other than init.pp in a module's manifests directory? | ||
| [2010/08/30 19:06:40] <justdave> the docs don't really say (at least that I've found), and I'm not seeing any direct references anywhere in the example modules that are available | ||
| [2010/08/30 19:06:49] @ Quit: notbrien: Quit: notbrien | ||
| [2010/08/30 19:07:38] <justdave> in this case, it's classes being loaded by the module itself, not pulling them in from outside (defining them from outside init.pp for organizational purposes mostly) | ||
| [2010/08/30 19:07:44] @ jaredrhine joined channel #puppet | ||
| [2010/08/30 19:08:07] @ notbrien joined channel #puppet | ||
| [2010/08/30 19:08:26] @ |CTAPOMAK| joined channel #puppet | ||
| [2010/08/30 19:09:01] @ Quit: jmccaffrey: Ping timeout: 265 seconds | ||
| [2010/08/30 19:13:45] @ mikey_p joined channel #puppet | ||
| [2010/08/30 19:15:29] <Djelibeybi> justdave: module::class = /modules/module/manifests/class.pp | ||
| [2010/08/30 19:16:13] @ Quit: mrwacky42: Ping timeout: 260 seconds | ||
| [2010/08/30 19:16:49] @ Quit: mikey_p: Client Quit | ||
| [2010/08/30 19:17:11] @ mikey_p joined channel #puppet | ||
| [2010/08/30 19:17:37] @ Quit: mikey_p: Remote host closed the connection | ||
| [2010/08/30 19:17:40] @ plathrop is now known as plathrop-away | ||
| [2010/08/30 19:18:20] @ Quit: bug: Quit: bug | ||
| [2010/08/30 19:18:49] <Djelibeybi> justdave: so, if you include ssh::server, Puppet will try to load it from /etc/puppet/modules/ssh/manifests/server.pp | ||
| [2010/08/30 19:19:31] <justdave> ok, and that includes loading it from that module's init.pp file? | ||
| [2010/08/30 19:20:06] @ Quit: kogent: Remote host closed the connection | ||
| [2010/08/30 19:21:24] <ZombieDan> Anyone try puppet-dashboard on rails 3.0.0? | ||
| [2010/08/30 19:23:29] <Djelibeybi> justdave: includes loading it from anywhere. | ||
| [2010/08/30 19:23:44] <Djelibeybi> justdave: doesn't matter where you include module::class | ||
| [2010/08/30 19:26:44] @ kogent joined channel #puppet | ||
| [2010/08/30 19:30:24] @ bug joined channel #puppet | ||
| [2010/08/30 19:35:26] @ Quit: spacex: Quit: Leaving. | ||
| [2010/08/30 19:35:56] @ thekad-afk is now known as thekad | ||
| [2010/08/30 19:36:15] <justdave> Djelibeybi: cool, thanks | ||
| [2010/08/30 19:37:05] @ spacex joined channel #puppet | ||
| [2010/08/30 19:38:42] @ Quit: notbrien: Quit: notbrien | ||
| [2010/08/30 19:39:19] @ Quit: spacex: Remote host closed the connection | ||
| [2010/08/30 19:40:52] @ Quit: ezekiel: Ping timeout: 265 seconds | ||
| [2010/08/30 19:41:16] @ ezekiel joined channel #puppet | ||
| [2010/08/30 19:43:11] @ Quit: ZombieDan: Ping timeout: 276 seconds | ||
| [2010/08/30 19:46:05] @ Quit: kogent: Quit: kogent | ||
| [2010/08/30 19:49:56] @ spacex joined channel #puppet | ||
| [2010/08/30 19:51:18] @ Dantman joined channel #puppet | ||
| [2010/08/30 19:52:18] @ jmccaffrey joined channel #puppet | ||
| [2010/08/30 19:52:27] @ Quit: bmahe: Quit: Leaving | ||
| [2010/08/30 19:54:03] @ Quit: BLZbubba: Remote host closed the connection | ||
| [2010/08/30 19:55:12] @ Quit: gutseb: Read error: Operation timed out | ||
| [2010/08/30 19:57:38] @ Quit: littleidea: Quit: littleidea | ||
| [2010/08/30 19:59:09] @ littleidea joined channel #puppet | ||
| [2010/08/30 19:59:23] @ thekad is now known as thekad-afk | ||
| [2010/08/30 20:15:47] @ cliff-hm joined channel #puppet | ||
| [2010/08/30 20:22:07] @ Quit: xaoslaad: Quit: Leaving | ||
| [2010/08/30 20:28:05] @ Quit: tessier: Ping timeout: 276 seconds | ||
| [2010/08/30 20:28:11] @ tessier joined channel #puppet | ||
| [2010/08/30 20:29:37] @ Quit: ryep: Quit: ryep | ||
| [2010/08/30 20:31:13] @ Quit: Djelibeybi: Quit: Leaving | ||
| [2010/08/30 20:31:36] @ Djelibeybi joined channel #puppet | ||
| [2010/08/30 20:32:16] @ Quit: Djelibeybi: Client Quit | ||
| [2010/08/30 20:33:15] @ MarkN joined channel #puppet | ||
| [2010/08/30 20:36:29] @ Quit: jmccaffrey: Ping timeout: 276 seconds | ||
| [2010/08/30 20:38:33] @ MarkN left channel #puppet () | ||
| [2010/08/30 20:38:54] @ Quit: brothers_: Quit: brothers_ | ||
| [2010/08/30 20:43:15] @ Quit: littleidea: Quit: littleidea | ||
| [2010/08/30 20:44:57] @ AimanA is now known as HouseAway | ||
| [2010/08/30 20:49:02] @ jmccaffrey joined channel #puppet | ||
| [2010/08/30 20:49:03] @ Quit: jmccaffrey: Changing host | ||
| [2010/08/30 20:49:03] @ jmccaffrey joined channel #puppet | ||
| [2010/08/30 20:54:12] @ littleidea joined channel #puppet | ||
| [2010/08/30 20:56:24] @ gutseb joined channel #puppet | ||
| [2010/08/30 21:01:33] @ Quit: littleidea: Quit: littleidea | ||
| [2010/08/30 21:06:23] @ Quit: Qix: Ping timeout: 245 seconds | ||
| [2010/08/30 21:07:12] @ e1mer joined channel #puppet | ||
| [2010/08/30 21:09:39] @ mikey_p joined channel #puppet | ||
| [2010/08/30 21:19:55] @ Qix joined channel #puppet | ||
| [2010/08/30 21:20:10] @ littleidea joined channel #puppet | ||
| [2010/08/30 21:20:42] <bdha> wrgh. | ||
| [2010/08/30 21:20:59] <bdha> Upgrading a Solaris box, detached all zones for the LU, and Puppet tried to rebuild them. | ||
| [2010/08/30 21:21:27] * bdha suspects he should submit a diff to test for detachedness. | ||
| [2010/08/30 21:22:16] <bdha> (obviously my fault for not stopping puppet, but argh) | ||
| [2010/08/30 21:22:49] @ Quit: cliff-hm: Ping timeout: 258 seconds | ||
| [2010/08/30 21:24:33] @ Quit: |Mike|: Ping timeout: 260 seconds | ||
| [2010/08/30 21:39:49] @ |Mike| joined channel #puppet | ||
| [2010/08/30 21:41:39] @ kogent joined channel #puppet | ||
| [2010/08/30 21:44:05] @ Quit: axisys: Ping timeout: 276 seconds | ||
| [2010/08/30 21:45:23] @ axisys joined channel #puppet | ||
| [2010/08/30 21:50:28] <miah> doh | ||
| [2010/08/30 22:02:17] @ PaulWay[w] joined channel #puppet | ||
| [2010/08/30 22:02:31] @ Quit: kogent: Quit: kogent | ||
| [2010/08/30 22:04:22] @ dagdamor joined channel #puppet | ||
| [2010/08/30 22:04:59] @ Quit: tuf: Quit: Look whos tuf now.. | ||
| [2010/08/30 22:05:15] @ Naresh joined channel #puppet | ||
| [2010/08/30 22:07:17] @ Quit: gutseb: Quit: gutseb | ||
| [2010/08/30 22:07:36] @ kogent joined channel #puppet | ||
| [2010/08/30 22:08:08] @ Quit: kogent: Remote host closed the connection | ||
| [2010/08/30 22:08:32] @ kogent joined channel #puppet | ||
| [2010/08/30 22:11:06] @ incommon_ike joined channel #puppet | ||
| [2010/08/30 22:11:09] @ lak joined channel #puppet | ||
| [2010/08/30 22:12:56] @ Quit: incommon_ike: Client Quit | ||
| [2010/08/30 22:25:32] @ pLr joined channel #puppet | ||
| [2010/08/30 22:26:48] @ Quit: nDuff: Ping timeout: 240 seconds | ||
| [2010/08/30 22:30:19] @ Quit: lak: Quit: lak | ||
| [2010/08/30 22:30:29] @ nDuff joined channel #puppet | ||
| [2010/08/30 22:31:29] @ Quit: e1mer: Ping timeout: 265 seconds | ||
| [2010/08/30 22:36:35] @ mattock joined channel #puppet | ||
| [2010/08/30 22:41:07] @ Quit: dagdamor: Quit: leaving | ||
| [2010/08/30 22:45:46] @ BLZbubba joined channel #puppet | ||
| [2010/08/30 22:53:51] @ vizzord joined channel #puppet | ||
| [2010/08/30 22:54:21] @ nexx joined channel #puppet | ||
| [2010/08/30 22:54:53] @ Quit: rcrowley: Quit: rcrowley | ||
| [2010/08/30 23:00:35] @ Quit: fredden: Quit: Leaving | ||
| [2010/08/30 23:10:58] @ maroon joined channel #puppet | ||
| [2010/08/30 23:33:39] @ Quit: vizzord: Read error: Connection reset by peer | ||
| [2010/08/30 23:33:58] @ vizzord joined channel #puppet | ||
| [2010/08/30 23:36:49] @ Maliuta joined channel #puppet | ||
| [2010/08/30 23:38:14] @ Quit: nul0op: Ping timeout: 265 seconds | ||
| [2010/08/30 23:40:07] @ Quit: littleidea: Quit: littleidea | ||
| [2010/08/30 23:46:14] @ Quit: Dantman: Ping timeout: 264 seconds | ||
| [2010/08/30 23:48:20] @ pmorillo joined channel #puppet | ||
| [2010/08/30 23:48:31] @ ohookins joined channel #puppet | ||
| [2010/08/30 23:49:40] @ Quit: daenney: Read error: Operation timed out | ||
| [2010/08/30 23:49:53] @ Quit: pLr: Read error: Operation timed out | ||
| [2010/08/30 23:49:55] @ daenney joined channel #puppet | ||
| [2010/08/30 23:50:48] @ pLr joined channel #puppet | ||
| [2010/08/30 23:50:56] @ pinoyskull joined channel #puppet | ||
| [2010/08/30 23:51:37] @ Quit: OpenMedia: Quit: Leaving. | ||
| [2010/08/30 23:52:10] @ redpepper is now known as RedPepper | ||
| [2010/08/30 23:54:36] @ e1mer joined channel #puppet | ||
| [2010/08/30 23:57:31] <TomWork> hey guys, I was wondering if we can do something like : if ($manufacturer = Dell*) | ||
| [2010/08/30 23:57:36] <TomWork> or a regex |
Generated by irclog2html.py 2.8 by Marius Gedminas - find it at mg.pov.lt!