| [2011/11/09 00:00:15] @ Log started by gepetto | ||
| [2011/11/09 00:00:15] @ Quit: bolt12: Remote host closed the connection | ||
| [2011/11/09 00:00:55] @ lkoranda joined channel #puppet | ||
| [2011/11/09 00:01:20] @ Quit: jodok: Quit: jodok | ||
| [2011/11/09 00:01:54] @ Quit: jaytaph: Quit: jaytaph | ||
| [2011/11/09 00:01:57] @ skm joined channel #puppet | ||
| [2011/11/09 00:03:20] @ Quit: Phungis: Remote host closed the connection | ||
| [2011/11/09 00:03:34] @ Phungis joined channel #puppet | ||
| [2011/11/09 00:04:55] @ jodok joined channel #puppet | ||
| [2011/11/09 00:04:56] @ Quit: jodok: Changing host | ||
| [2011/11/09 00:04:56] @ jodok joined channel #puppet | ||
| [2011/11/09 00:06:41] @ micrypt joined channel #puppet | ||
| [2011/11/09 00:06:48] <micrypt> j chef | ||
| [2011/11/09 00:07:33] @ Quit: poison: Remote host closed the connection | ||
| [2011/11/09 00:08:50] @ Deesl joined channel #puppet | ||
| [2011/11/09 00:09:36] @ Holocaine joined channel #puppet | ||
| [2011/11/09 00:10:08] @ poison joined channel #puppet | ||
| [2011/11/09 00:12:00] @ Fecn joined channel #puppet | ||
| [2011/11/09 00:12:17] @ sdog1 joined channel #puppet | ||
| [2011/11/09 00:12:19] @ Quit: sdog: Read error: Connection reset by peer | ||
| [2011/11/09 00:12:29] @ mpdude joined channel #puppet | ||
| [2011/11/09 00:12:44] @ KaZeR_W joined channel #puppet | ||
| [2011/11/09 00:12:48] @ Quit: tilgovi: Remote host closed the connection | ||
| [2011/11/09 00:14:22] @ Quit: duerF: Quit: Leaving | ||
| [2011/11/09 00:17:18] @ Quit: poison: Remote host closed the connection | ||
| [2011/11/09 00:17:37] @ toi joined channel #puppet | ||
| [2011/11/09 00:18:55] @ lamba joined channel #puppet | ||
| [2011/11/09 00:19:44] @ BartVB joined channel #puppet | ||
| [2011/11/09 00:21:17] @ ckauhaus joined channel #puppet | ||
| [2011/11/09 00:21:23] <lamba> lo all. Getting a weird issue. /etc/init.d/puppetmaster says the service has started but it dosent actually run, and it works fine if i just do puppetmasterd on the commend line directly. I checked for pid and lock files and neither and left hanging about. Not got any output of why its exiting out. The /etc/puppet/puppet.conf has a log location of /var/log/puppet/ but that dir is empty. Not got alot to go on - is there an easy way to get some sort of outpu | ||
| [2011/11/09 00:21:46] @ Quit: xizhendu: Quit: leaving | ||
| [2011/11/09 00:22:28] @ raphdg joined channel #puppet | ||
| [2011/11/09 00:22:47] @ Quit: Phungis: Remote host closed the connection | ||
| [2011/11/09 00:23:23] @ Phungis joined channel #puppet | ||
| [2011/11/09 00:24:09] @ Kazuhiro joined channel #puppet | ||
| [2011/11/09 00:25:34] @ pieter_ joined channel #puppet | ||
| [2011/11/09 00:26:06] @ Kazuhiro1 joined channel #puppet | ||
| [2011/11/09 00:27:42] @ Quit: skm: Quit: Computer has gone to sleep. | ||
| [2011/11/09 00:27:55] <countskm> d3c: i know u can send options directly to puppet apply, how about puppet apply --pluginsync=false ... | ||
| [2011/11/09 00:28:32] @ Quit: gnarf: Ping timeout: 258 seconds | ||
| [2011/11/09 00:29:32] <countskm> but it may be that pluginsync is for syncing from a master but u are running masterless w/ apply | ||
| [2011/11/09 00:29:45] <countskm> and the option is therefore moot | ||
| [2011/11/09 00:29:57] @ Quit: matchaw___: Read error: Connection reset by peer | ||
| [2011/11/09 00:30:50] @ zorg1 joined channel #puppet | ||
| [2011/11/09 00:32:14] @ Quit: jsurfer: Quit: jsurfer | ||
| [2011/11/09 00:34:25] @ Quit: sdog1: Quit: Leaving. | ||
| [2011/11/09 00:34:27] @ Stenbryggen joined channel #puppet | ||
| [2011/11/09 00:34:37] @ Quit: KaZeR_W: Read error: Connection reset by peer | ||
| [2011/11/09 00:34:37] @ sdog joined channel #puppet | ||
| [2011/11/09 00:37:19] @ thenulldevice joined channel #puppet | ||
| [2011/11/09 00:37:36] @ Quit: gebi: Ping timeout: 248 seconds | ||
| [2011/11/09 00:37:48] @ ctria joined channel #puppet | ||
| [2011/11/09 00:38:36] @ Quit: Spads_: Quit: Reconnecting | ||
| [2011/11/09 00:38:43] @ trickyf joined channel #puppet | ||
| [2011/11/09 00:38:51] @ Spads joined channel #puppet | ||
| [2011/11/09 00:39:08] @ gnarf joined channel #puppet | ||
| [2011/11/09 00:39:59] @ ezryx joined channel #puppet | ||
| [2011/11/09 00:40:08] @ Quit: justdave: Read error: Connection reset by peer | ||
| [2011/11/09 00:44:35] @ Quit: IndyMichaelB: Remote host closed the connection | ||
| [2011/11/09 00:44:38] @ Quit: cosman2001: Quit: cosman2001 | ||
| [2011/11/09 00:44:52] @ IndyMichaelB joined channel #puppet | ||
| [2011/11/09 00:44:57] @ justdave joined channel #puppet | ||
| [2011/11/09 00:46:58] @ Quit: larstobi: Quit: Leaving. | ||
| [2011/11/09 00:48:09] @ Quit: justdave: Read error: Connection reset by peer | ||
| [2011/11/09 00:48:21] @ Quit: sumsuch: Quit: sumsuch | ||
| [2011/11/09 00:49:31] <d3c> countskm: --pluginsync=false does not work. neither does putting pluginsync=false in the config. I need a way to disable all custom facts | ||
| [2011/11/09 00:50:00] @ justdave joined channel #puppet | ||
| [2011/11/09 00:50:25] @ Quit: zorg1: Quit: Leaving | ||
| [2011/11/09 00:52:14] @ Quit: justdave: Read error: Connection reset by peer | ||
| [2011/11/09 00:52:40] @ Quit: sdog: Changing host | ||
| [2011/11/09 00:52:40] @ sdog joined channel #puppet | ||
| [2011/11/09 00:52:41] @ Quit: Kazuhiro1: Ping timeout: 258 seconds | ||
| [2011/11/09 00:54:19] @ jaytaph joined channel #puppet | ||
| [2011/11/09 00:54:58] @ justdave joined channel #puppet | ||
| [2011/11/09 00:56:35] @ poison joined channel #puppet | ||
| [2011/11/09 00:58:07] @ Quit: langworthy: Quit: langworthy | ||
| [2011/11/09 00:59:09] <countskm> gotcha | ||
| [2011/11/09 00:59:13] @ Kazuhiro1 joined channel #puppet | ||
| [2011/11/09 01:00:22] @ nul0op joined channel #puppet | ||
| [2011/11/09 01:02:06] <_rc> that wouldn't disable them, it would just stop them from updating | ||
| [2011/11/09 01:03:24] @ Razique joined channel #puppet | ||
| [2011/11/09 01:05:36] @ Quit: doo: Remote host closed the connection | ||
| [2011/11/09 01:06:56] @ doo joined channel #puppet | ||
| [2011/11/09 01:07:48] @ Yoe joined channel #puppet | ||
| [2011/11/09 01:08:14] @ skm joined channel #puppet | ||
| [2011/11/09 01:08:23] <Yoe> hi -- where is @@file documented? I tried googling for it, but google considers @@ to be punctuation and ignores it, which only results in "file", which is something else... | ||
| [2011/11/09 01:09:05] <_rc> http://docs.puppetlabs.com/guides/exported_resources.html | ||
| [2011/11/09 01:09:46] <Yoe> ah, yes, thanks | ||
| [2011/11/09 01:12:30] @ Quit: ckauhaus: Ping timeout: 244 seconds | ||
| [2011/11/09 01:17:49] @ Quit: colon_D: Read error: Connection reset by peer | ||
| [2011/11/09 01:19:01] <jamesturnbull> d3c: if pluginsync false on both master and clients isn't working - that's a bug | ||
| [2011/11/09 01:21:26] @ larstobi joined channel #puppet | ||
| [2011/11/09 01:22:22] @ KaZeR_W joined channel #puppet | ||
| [2011/11/09 01:22:43] @ fronlius joined channel #puppet | ||
| [2011/11/09 01:23:25] @ Quit: Phungis: Remote host closed the connection | ||
| [2011/11/09 01:23:42] @ Phungis joined channel #puppet | ||
| [2011/11/09 01:23:43] <d3c> jamesturnbull: this is a puppet apply. does that change anything? | ||
| [2011/11/09 01:24:22] @ jon6000 joined channel #puppet | ||
| [2011/11/09 01:24:24] <jamesturnbull> d3c: hmmm rings a bell - might want to try the bug database to see if you can find some information | ||
| [2011/11/09 01:24:35] @ smooth_p joined channel #puppet | ||
| [2011/11/09 01:25:56] @ Quit: pamorf: Ping timeout: 260 seconds | ||
| [2011/11/09 01:26:04] @ pamorf joined channel #puppet | ||
| [2011/11/09 01:26:21] @ Quit: skm: Quit: Computer has gone to sleep. | ||
| [2011/11/09 01:27:05] @ Quit: jon6000: Client Quit | ||
| [2011/11/09 01:27:18] @ hal-j1 joined channel #puppet | ||
| [2011/11/09 01:27:22] @ Quit: hal-j: Read error: No route to host | ||
| [2011/11/09 01:30:15] <rosco_> I'm not sure how I should deal with a long list of rpms to keep installed on a client. If I use a variable in a class, yum will be called once for every separate package, yum history will be filled with many unique actions. Isn't there a way to do a massive install through puppet ? | ||
| [2011/11/09 01:34:44] <whack> rosco_: I'm not sure I follow what you're optimizing for | ||
| [2011/11/09 01:35:01] @ Quit: nul0op: Quit: Leaving | ||
| [2011/11/09 01:36:20] @ IndyMichaelB_ joined channel #puppet | ||
| [2011/11/09 01:36:26] @ Kazuhiro left channel #puppet () | ||
| [2011/11/09 01:36:45] @ ckauhaus joined channel #puppet | ||
| [2011/11/09 01:36:52] @ MartVisser joined channel #puppet | ||
| [2011/11/09 01:37:44] @ Quit: Kazuhiro1: Ping timeout: 252 seconds | ||
| [2011/11/09 01:37:44] <rosco_> I just want to know if I've missed something or if it's the correct/usual way to install a big amount of packages with puppet. | ||
| [2011/11/09 01:39:01] @ Quit: IndyMichaelB: Ping timeout: 240 seconds | ||
| [2011/11/09 01:39:01] @ IndyMichaelB_ is now known as IndyMichaelB | ||
| [2011/11/09 01:41:14] <fragfutter> rosco_: yum groups, but it's not realy nicer | ||
| [2011/11/09 01:41:17] @ emergion joined channel #puppet | ||
| [2011/11/09 01:41:29] <fragfutter> rosco_: i would stick with package list | ||
| [2011/11/09 01:42:46] @ duerF joined channel #puppet | ||
| [2011/11/09 01:43:44] <whack> rosco_: I just define all the packages I want installed | ||
| [2011/11/09 01:49:48] @ iw_work joined channel #puppet | ||
| [2011/11/09 01:51:20] @ willemb joined channel #puppet | ||
| [2011/11/09 01:51:46] @ Quit: choonming: Quit: Leaving | ||
| [2011/11/09 01:55:12] @ Quit: hal-j1: Read error: No route to host | ||
| [2011/11/09 01:55:13] @ hal-j joined channel #puppet | ||
| [2011/11/09 01:55:38] @ lpaul7 joined channel #puppet | ||
| [2011/11/09 01:59:46] @ CAMIR joined channel #puppet | ||
| [2011/11/09 02:03:54] @ Quit: Phungis: Remote host closed the connection | ||
| [2011/11/09 02:04:09] @ Phungis joined channel #puppet | ||
| [2011/11/09 02:05:37] <d3c> jamesturnbull: I found this bug: http://projects.puppetlabs.com/issues/4160 <- but seems like it should be fixed? | ||
| [2011/11/09 02:06:15] <d3c> jamesturnbull: anyway, could you maybe try running puppet apply -d -v manifests/site.pp with pluginsync=false under [main] in your puppet.conf to see if it's only my setup? | ||
| [2011/11/09 02:08:05] <_rc> d3c: what you might want to do is reset the factpath config directory, as even with pluginsync off, the facts already made it to that path | ||
| [2011/11/09 02:08:12] @ gebi joined channel #puppet | ||
| [2011/11/09 02:09:17] @ Quit: thenulldevice: Ping timeout: 252 seconds | ||
| [2011/11/09 02:09:44] @ zorg1 joined channel #puppet | ||
| [2011/11/09 02:11:08] <d3c> _rc: the only thing in puppet.conf is [main] pluginsync=false - is it still needed? | ||
| [2011/11/09 02:11:14] @ Quit: tily: Remote host closed the connection | ||
| [2011/11/09 02:11:23] @ tily joined channel #puppet | ||
| [2011/11/09 02:12:08] @ thenulldevice joined channel #puppet | ||
| [2011/11/09 02:13:18] @ Quit: Snipp: Quit: leaving | ||
| [2011/11/09 02:13:24] <d3c> _rc: how would you btw 'reset' factpath? factpath = /dev/null ? ;-) | ||
| [2011/11/09 02:14:01] @ Quit: tily: Remote host closed the connection | ||
| [2011/11/09 02:14:08] @ tily joined channel #puppet | ||
| [2011/11/09 02:17:59] <d3c> _rc: have a look at this: http://pastebin.com/0vWSpnac <- even with factpath=/dev/null, it doesn't work (will still load custom facts) | ||
| [2011/11/09 02:20:41] @ Quit: hfnix: Quit: Leaving. | ||
| [2011/11/09 02:21:08] <d3c> _rc: factpath (/var/lib/puppet/facts/) is empty as well | ||
| [2011/11/09 02:21:13] @ Quit: ckauhaus: Ping timeout: 244 seconds | ||
| [2011/11/09 02:21:17] <_rc> d3c: dunno, I'm just basing it from http://docs.puppetlabs.com/references/stable/configuration.html#factpath and my observations that just saying no to pluginsync won't cut ir | ||
| [2011/11/09 02:21:42] <_rc> then check /var/lib/puppet/lib | ||
| [2011/11/09 02:22:24] <_rc> http://docs.puppetlabs.com/references/stable/configuration.html#libdir | ||
| [2011/11/09 02:22:32] <d3c> _rc: empty as well, hm | ||
| [2011/11/09 02:23:06] <_rc> well where on your filesystem is dns_reverseipaddress.rb ? | ||
| [2011/11/09 02:23:44] <_rc> you can probably backtrack from that to something in puppet --genconfig | ||
| [2011/11/09 02:24:08] @ thisKat joined channel #puppet | ||
| [2011/11/09 02:24:14] @ Quit: thisKat: Client Quit | ||
| [2011/11/09 02:24:19] @ Quit: frostynova: Remote host closed the connection | ||
| [2011/11/09 02:24:41] <d3c> _rc: it's in a module: /etc/puppet/modules/dhclient/lib/facter/dns_reverseipaddress.rb | ||
| [2011/11/09 02:24:53] <d3c> _rc: will have a look at that | ||
| [2011/11/09 02:26:45] @ ckauhaus joined channel #puppet | ||
| [2011/11/09 02:28:55] @ bacamer27 joined channel #puppet | ||
| [2011/11/09 02:31:16] @ Quit: brtl: Read error: Connection reset by peer | ||
| [2011/11/09 02:33:20] @ Quit: simNIX: Remote host closed the connection | ||
| [2011/11/09 02:38:46] @ Quit: bacamer27: | ||
| [2011/11/09 02:38:50] @ brtl joined channel #puppet | ||
| [2011/11/09 02:43:56] <kjalil> hi, i'm trying to include a template by using the usual "content => template()" syntax, but the template is actually a perl Mason file with things like "<% args" in it, which is confusing puppet. Is there are way to tell puppet to ignore those and only use my "scope.lookupvar" variable interpolations? | ||
| [2011/11/09 02:44:16] <kjalil> the error I get is: Could not retrieve catalog from remote server: Error 400 on SERVER: compile error (erb):2: syntax error $download => undef ^ (erb):3: unknown type of %string </%args> | ||
| [2011/11/09 02:46:46] @ Quit: Holocaine: | ||
| [2011/11/09 02:47:23] @ Quit: lamba: Quit: Lost terminal | ||
| [2011/11/09 02:48:46] <whack> kjalil: you'll have to escape those in erb somehow | ||
| [2011/11/09 02:49:03] @ Quit: hal-j: Read error: No route to host | ||
| [2011/11/09 02:49:13] @ hal-j joined channel #puppet | ||
| [2011/11/09 02:49:51] <kjalil> whack, ok, thanks. Is it also possible to have things in subdirectories inside the 'templates' dir in a module? e.g. module/templates/foo/bar.erb ? | ||
| [2011/11/09 02:50:12] <whack> kjalil: yeah, template("foo/bar/baz.erb") will search for it in module/foo/templates/bar/baz.erb | ||
| [2011/11/09 02:50:52] <kjalil> if I try to do "content => template("foo/bar/baz.erb")" it keeps complaining it can't find it. I'll have a closer look at what I might be doing wrong | ||
| [2011/11/09 02:53:37] @ Quit: kubicek: Excess Flood | ||
| [2011/11/09 02:54:22] @ neilh joined channel #puppet | ||
| [2011/11/09 02:54:52] @ kubicek joined channel #puppet | ||
| [2011/11/09 02:56:34] <whack> kjalil: 40: content => template("hadoop/zookeeper/zoo.cfg.erb"), | ||
| [2011/11/09 02:56:43] <whack> hadoop/templates/zookeeper/zoo.cfg.erb | ||
| [2011/11/09 02:56:52] <whack> that's an example of what I have in my puppet manifest/modules | ||
| [2011/11/09 02:56:59] <whack> manifes tand modules, rather | ||
| [2011/11/09 02:57:05] <kjetilho> kjalil: <%% is what you want, btw | ||
| [2011/11/09 02:57:16] @ Vide joined channel #puppet | ||
| [2011/11/09 02:57:40] <kjalil> kjetilho, ah, you mean for escaping the Mason stuff? I'm thinking of giving up because it might require a lot of escapes :-( | ||
| [2011/11/09 02:58:38] <kjalil> whack, thanks, I'll try again | ||
| [2011/11/09 02:58:46] @ Quit: Phungis: Remote host closed the connection | ||
| [2011/11/09 02:58:58] @ Phungis joined channel #puppet | ||
| [2011/11/09 03:00:39] <d3c> I am completely unable to disable the loading of custom facts. my config is here and command line too: http://pastebin.com/fSj1euF8 | ||
| [2011/11/09 03:03:25] @ Quit: gebi: Ping timeout: 240 seconds | ||
| [2011/11/09 03:04:01] @ noodles775 left channel #puppet () | ||
| [2011/11/09 03:07:14] @ Quit: JStoker: Ping timeout: 258 seconds | ||
| [2011/11/09 03:09:02] @ mogitaff joined channel #puppet | ||
| [2011/11/09 03:09:03] @ Quit: hal-j: Read error: Connection reset by peer | ||
| [2011/11/09 03:09:16] @ hal-j joined channel #puppet | ||
| [2011/11/09 03:10:17] @ Quit: Enf: Quit: Leaving | ||
| [2011/11/09 03:10:20] @ JStoker joined channel #puppet | ||
| [2011/11/09 03:10:23] @ Quit: ckauhaus: Ping timeout: 245 seconds | ||
| [2011/11/09 03:11:03] @ themadcanudist joined channel #puppet | ||
| [2011/11/09 03:16:30] @ iw__work joined channel #puppet | ||
| [2011/11/09 03:17:13] @ Quit: iw_work: Ping timeout: 256 seconds | ||
| [2011/11/09 03:19:34] @ Quit: Phungis: Remote host closed the connection | ||
| [2011/11/09 03:19:55] @ Phungis joined channel #puppet | ||
| [2011/11/09 03:21:28] @ jaymurtii joined channel #puppet | ||
| [2011/11/09 03:23:09] @ erm_ joined channel #puppet | ||
| [2011/11/09 03:23:34] @ Quit: pmorillon: Quit: pmorillon | ||
| [2011/11/09 03:27:15] @ Quit: erm: Ping timeout: 276 seconds | ||
| [2011/11/09 03:29:29] @ Quit: Phungis: Remote host closed the connection | ||
| [2011/11/09 03:29:50] @ Phungis joined channel #puppet | ||
| [2011/11/09 03:30:40] @ Quit: TheDigitalNinja: Remote host closed the connection | ||
| [2011/11/09 03:35:03] @ Quit: omry: Read error: Connection reset by peer | ||
| [2011/11/09 03:37:30] @ xover1 joined channel #puppet | ||
| [2011/11/09 03:39:02] @ Quit: Phungis: Remote host closed the connection | ||
| [2011/11/09 03:39:15] @ Phungis joined channel #puppet | ||
| [2011/11/09 03:39:34] @ Quit: andreaturli: Remote host closed the connection | ||
| [2011/11/09 03:39:48] @ omry joined channel #puppet | ||
| [2011/11/09 03:42:54] @ sdog1 joined channel #puppet | ||
| [2011/11/09 03:43:37] @ jongrocho joined channel #puppet | ||
| [2011/11/09 03:43:49] <d3c> can anyone tell me if this is expected behaviour? I am completely unable to disable the loading of custom facts. my config is here and command line too: http://pastebin.com/fSj1euF8 | ||
| [2011/11/09 03:45:11] @ Quit: hal-j: Read error: No route to host | ||
| [2011/11/09 03:45:16] @ hal-j joined channel #puppet | ||
| [2011/11/09 03:45:20] @ Quit: sdog: Ping timeout: 248 seconds | ||
| [2011/11/09 03:47:24] @ hal-j1 joined channel #puppet | ||
| [2011/11/09 03:47:24] @ Quit: hal-j: Read error: Connection reset by peer | ||
| [2011/11/09 03:48:49] @ p3rror joined channel #puppet | ||
| [2011/11/09 03:49:13] <xover1> i have instaleld puppet on slackware | ||
| [2011/11/09 03:49:58] <beddari> If there's one thing missing in Pro Puppet its even more strict git syntax foo examples, in the exercises | ||
| [2011/11/09 03:50:21] <xover1> puppetca --list is not showing my new client | ||
| [2011/11/09 03:50:24] <xover1> how can i debug this? | ||
| [2011/11/09 03:50:39] @ Quit: Deesl: Ping timeout: 256 seconds | ||
| [2011/11/09 03:50:43] <beddari> They don't really go into detail on that, possibly understandable, but if you try and do stuff from the book with a central repo model, its not easy | ||
| [2011/11/09 03:51:12] <xover1> err: Could not request certificate: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed. This is often because the time is out of sync on the server or client | ||
| [2011/11/09 03:51:12] <xover1> Exiting; failed to retrieve certificate and waitforcert is disabled | ||
| [2011/11/09 03:55:04] @ sdog joined channel #puppet | ||
| [2011/11/09 03:55:31] @ Quit: jedi4ever: Quit: jedi4ever | ||
| [2011/11/09 03:56:32] @ pmorillon joined channel #puppet | ||
| [2011/11/09 03:56:54] @ Quit: sdog1: Ping timeout: 240 seconds | ||
| [2011/11/09 03:59:24] @ Quit: omry: Read error: Connection reset by peer | ||
| [2011/11/09 03:59:56] @ Quit: ezryx: Read error: Connection reset by peer | ||
| [2011/11/09 04:00:05] <xover1> when i do puppetca --list nothing appears | ||
| [2011/11/09 04:00:08] @ ezryx joined channel #puppet | ||
| [2011/11/09 04:00:08] <xover1> why? | ||
| [2011/11/09 04:00:11] @ omry joined channel #puppet | ||
| [2011/11/09 04:01:06] @ Quit: eRefre: Remote host closed the connection | ||
| [2011/11/09 04:04:58] @ Quit: leifmadsen: Ping timeout: 245 seconds | ||
| [2011/11/09 04:05:21] @ leifmadsen joined channel #puppet | ||
| [2011/11/09 04:07:11] <_rc> there's nothing outstanding to sign. to see everything add an --all | ||
| [2011/11/09 04:09:04] @ Quit: fragfutter: Quit: moving | ||
| [2011/11/09 04:09:56] <d3c> _rc: do you know is it's expected behaviour that I'm completely unable to disable custom facts? should I be able to do so? | ||
| [2011/11/09 04:10:37] @ Quit: dballing: Ping timeout: 240 seconds | ||
| [2011/11/09 04:10:45] <_rc> d3c: I don't know. it's never something I've wanted to do | ||
| [2011/11/09 04:11:15] @ thenulldevice left channel #puppet () | ||
| [2011/11/09 04:11:36] @ Quit: omry: Remote host closed the connection | ||
| [2011/11/09 04:12:21] <d3c> _rc: well, I need to do it because some of the facts have dependencies that I need to install prior to using them | ||
| [2011/11/09 04:12:44] @ omry joined channel #puppet | ||
| [2011/11/09 04:13:29] <d3c> _rc: could I solve that in any other way? | ||
| [2011/11/09 04:14:38] @ Quit: Phungis: Remote host closed the connection | ||
| [2011/11/09 04:14:57] @ Phungis joined channel #puppet | ||
| [2011/11/09 04:15:28] @ Quit: ezryx: Remote host closed the connection | ||
| [2011/11/09 04:15:58] @ Quit: kubicek: Excess Flood | ||
| [2011/11/09 04:16:34] @ kubicek joined channel #puppet | ||
| [2011/11/09 04:17:13] <_rc> have the custom fact just not setcode if it's not able to give you a valid value? | ||
| [2011/11/09 04:19:28] <d3c> _rc: but then manifests depending on that fact would fail? | ||
| [2011/11/09 04:20:30] @ luke_skywalker joined channel #puppet | ||
| [2011/11/09 04:20:56] @ hal-j1 is now known as hal-j | ||
| [2011/11/09 04:21:02] <_rc> then you code those so that they test if the fact is available | ||
| [2011/11/09 04:21:12] @ Quit: sdog: Changing host | ||
| [2011/11/09 04:21:12] @ sdog joined channel #puppet | ||
| [2011/11/09 04:21:22] <_rc> that or you have the fact reyurn a harmless dummy value, if one exists | ||
| [2011/11/09 04:21:25] <xover1> i am getting this error | ||
| [2011/11/09 04:21:32] <xover1> err: Could not request certificate: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed. This is often because the time is out of sync on the server or client | ||
| [2011/11/09 04:21:32] <xover1> Exiting; failed to retrieve certificate and waitforcert is disabled | ||
| [2011/11/09 04:21:37] <xover1> what does this crap mean? | ||
| [2011/11/09 04:21:42] @ ckauhaus joined channel #puppet | ||
| [2011/11/09 04:21:47] @ frostynova joined channel #puppet | ||
| [2011/11/09 04:21:51] <xover1> the time is not out of sync | ||
| [2011/11/09 04:22:13] <_rc> then it doesn't like the servers cert for some other reason | ||
| [2011/11/09 04:23:08] @ dballing joined channel #puppet | ||
| [2011/11/09 04:24:07] <xover1> im going to stop using slackware, its too much of a ballbreaker when it comes to installing anything none standard | ||
| [2011/11/09 04:25:12] @ Quit: DJClean: Read error: Operation timed out | ||
| [2011/11/09 04:25:19] @ Quit: hal-j: Ping timeout: 260 seconds | ||
| [2011/11/09 04:25:25] @ hal-j joined channel #puppet | ||
| [2011/11/09 04:25:25] @ Schmidt joined channel #puppet | ||
| [2011/11/09 04:26:50] @ stevie-bash joined channel #puppet | ||
| [2011/11/09 04:28:22] <stevie-bash> hello, I have a question about the scope of variables. puppet version 0.25.4. If I declare a Variable in a class and the include this class in the node. can other classes access this variable? | ||
| [2011/11/09 04:28:30] <stevie-bash> which are included afterwards | ||
| [2011/11/09 04:28:40] @ marrusl joined channel #puppet | ||
| [2011/11/09 04:29:25] @ ezryx joined channel #puppet | ||
| [2011/11/09 04:32:46] @ s0fx2 joined channel #puppet | ||
| [2011/11/09 04:33:35] @ Quit: yevlempy: Quit: Leaving | ||
| [2011/11/09 04:35:20] <tremble> stevie-bash: yes, just use $my::class:name::myvariable | ||
| [2011/11/09 04:35:55] @ _andre joined channel #puppet | ||
| [2011/11/09 04:36:05] <_andre> hello | ||
| [2011/11/09 04:36:20] <_andre> does anyone get pson errors when using hashes as resource names? | ||
| [2011/11/09 04:37:01] @ Quit: tily: Remote host closed the connection | ||
| [2011/11/09 04:40:31] @ frostyno_ joined channel #puppet | ||
| [2011/11/09 04:40:39] <stevie-bash> ok, this also works with 0.25.4 ? | ||
| [2011/11/09 04:42:06] <tremble> stevie-bash: Yup, even back to 0.24.6 (/me looks innocent) | ||
| [2011/11/09 04:42:25] @ Quit: frostynova: Read error: Connection reset by peer | ||
| [2011/11/09 04:42:37] <stevie-bash> tremble, cool, thanks | ||
| [2011/11/09 04:44:11] <erthad> hiall | ||
| [2011/11/09 04:44:29] <stevie-bash> ist the order of the classes in the inlcude statement sensetive? | ||
| [2011/11/09 04:44:33] <erthad> is it possible to check whether the custom function is defined or not? | ||
| [2011/11/09 04:46:03] <xover1> how do i generate a new ssl certificate? | ||
| [2011/11/09 04:46:35] <xover1> there is nothing in /var/lib/puppet/ssl/certs | ||
| [2011/11/09 04:47:51] <erthad> xover1: certificate request is generated automatically by puppet agent when it connects to master. you have to sign it manually on the master afterwards or enable autosigning | ||
| [2011/11/09 04:48:10] <xover1> yeah, trouble is i get this | ||
| [2011/11/09 04:48:14] <xover1> err: Could not request certificate: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed. This is often because the time is out of sync on the server or client | ||
| [2011/11/09 04:48:14] <xover1> Exiting; failed to retrieve certificate and waitforcert is disabled | ||
| [2011/11/09 04:48:36] <erthad> is time in sync on client and server? | ||
| [2011/11/09 04:52:30] @ Quit: AshishH: Remote host closed the connection | ||
| [2011/11/09 04:53:55] <xover1> yes | ||
| [2011/11/09 04:53:57] <xover1> time is synced | ||
| [2011/11/09 04:54:24] @ Quit: ezryx: Remote host closed the connection | ||
| [2011/11/09 04:54:46] <xover1> I am using ruby 1.9.1 | ||
| [2011/11/09 04:55:22] @ tizzo-afk is now known as tizzo | ||
| [2011/11/09 04:56:13] @ Quit: ckauhaus: Ping timeout: 244 seconds | ||
| [2011/11/09 04:59:09] @ ckauhaus joined channel #puppet | ||
| [2011/11/09 04:59:18] @ Quit: sdog: Ping timeout: 240 seconds | ||
| [2011/11/09 05:00:02] @ Quit: djambar: Quit: Leaving | ||
| [2011/11/09 05:00:48] <tremble> xover1: certificate B is the master cert, check the CRL on the client | ||
| [2011/11/09 05:02:03] @ _andre left channel #puppet () | ||
| [2011/11/09 05:02:30] @ rgsteele joined channel #puppet | ||
| [2011/11/09 05:03:48] <xover1> crl? | ||
| [2011/11/09 05:04:31] <tremble> Cert Revocation List | ||
| [2011/11/09 05:04:38] <xover1> where is that? | ||
| [2011/11/09 05:04:45] <tremble> /var/lib/puppet/ssl/crl.pem | ||
| [2011/11/09 05:05:17] <tremble> openssl crl -in /var/lib/puppet/ssl/crl.pem -noout -text | ||
| [2011/11/09 05:05:23] <xover1> there isnt one | ||
| [2011/11/09 05:05:27] @ marczak joined channel #puppet | ||
| [2011/11/09 05:05:59] <xover1> nothing is revoked | ||
| [2011/11/09 05:08:43] @ jwhitlock_zzz is now known as jwhitlock | ||
| [2011/11/09 05:09:09] @ fenris02 joined channel #puppet | ||
| [2011/11/09 05:09:43] @ jwhitlock is now known as jwhitlock_zzz | ||
| [2011/11/09 05:09:45] <tremble> xover1: How long ago did you set up the master? | ||
| [2011/11/09 05:11:29] @ Quit: willemb: Quit: leaving | ||
| [2011/11/09 05:14:11] <tremble> xover1: The other one to check then is the SSL cert on the master openssl x509 -noout -text -in /var/lib/puppet/ssl/certs/<hostname>.pem | ||
| [2011/11/09 05:14:26] <tremble> check the validity dates | ||
| [2011/11/09 05:14:51] @ Quit: Phungis: Remote host closed the connection | ||
| [2011/11/09 05:15:09] @ Phungis joined channel #puppet | ||
| [2011/11/09 05:15:20] @ Quit: ckauhaus: Ping timeout: 244 seconds | ||
| [2011/11/09 05:16:18] @ ezryx joined channel #puppet | ||
| [2011/11/09 05:17:41] @ Quit: jodok: Quit: jodok | ||
| [2011/11/09 05:18:06] @ Quit: bobra: Ping timeout: 240 seconds | ||
| [2011/11/09 05:18:18] <erthad> xover1: do you run client with --waitforcert option? | ||
| [2011/11/09 05:18:20] @ ckauhaus joined channel #puppet | ||
| [2011/11/09 05:19:43] @ hobbeswalsh joined channel #puppet | ||
| [2011/11/09 05:20:39] @ st33v joined channel #puppet | ||
| [2011/11/09 05:20:44] <xover1> yes | ||
| [2011/11/09 05:21:00] <xover1> i have two centos boxes working, but this slackware one is not | ||
| [2011/11/09 05:21:05] @ Quit: st33v: Client Quit | ||
| [2011/11/09 05:21:05] @ Quit: hobbeswalsh: Client Quit | ||
| [2011/11/09 05:21:25] @ hobbeswalsh joined channel #puppet | ||
| [2011/11/09 05:22:13] @ DenseBits joined channel #puppet | ||
| [2011/11/09 05:24:38] @ samkottler joined channel #puppet | ||
| [2011/11/09 05:25:48] @ cliff-hm joined channel #puppet | ||
| [2011/11/09 05:26:07] @ Quit: omry: Remote host closed the connection | ||
| [2011/11/09 05:28:07] @ DJClean joined channel #puppet | ||
| [2011/11/09 05:29:13] @ omry joined channel #puppet | ||
| [2011/11/09 05:30:56] @ Quit: samkottler: Quit: Leaving. | ||
| [2011/11/09 05:31:05] @ Quit: IndyMichaelB: Quit: IndyMichaelB | ||
| [2011/11/09 05:31:11] @ siert joined channel #puppet | ||
| [2011/11/09 05:34:58] @ andreaturli joined channel #puppet | ||
| [2011/11/09 05:35:02] @ SEJeff joined channel #puppet | ||
| [2011/11/09 05:35:21] <SEJeff> With puppet 2.7.x, is there a directory I can place all of my facts in that will always be included? | ||
| [2011/11/09 05:35:35] <SEJeff> Could I make /etc/puppet/lib/facter on the puppetmaster and dump all facts in there? | ||
| [2011/11/09 05:35:43] <SEJeff> or /etc/puppet/manifests/lib/facter? | ||
| [2011/11/09 05:39:15] <misc> you can use pluginsync, for that | ||
| [2011/11/09 05:39:30] @ Quit: DJClean: Read error: Operation timed out | ||
| [2011/11/09 05:39:40] <misc> create a module like this one : http://svnweb.mageia.org/adm/puppet/modules/facter/ | ||
| [2011/11/09 05:39:49] <SEJeff> misc, I'm migrating from 0.25 where it is /etc/puppet/facts | ||
| [2011/11/09 05:39:55] <SEJeff> misc, Thanks | ||
| [2011/11/09 05:39:58] <misc> and with pluginsync, and proper modulepath, that should work | ||
| [2011/11/09 05:40:03] <SEJeff> perfect | ||
| [2011/11/09 05:40:34] @ hal-j1 joined channel #puppet | ||
| [2011/11/09 05:40:38] @ Quit: hal-j: Read error: No route to host | ||
| [2011/11/09 05:40:44] @ hal-j1 is now known as hal-j | ||
| [2011/11/09 05:40:52] @ Quit: themadcanudist: Quit: Leaving. | ||
| [2011/11/09 05:42:49] @ Quit: swygue: Quit: Leaving | ||
| [2011/11/09 05:43:22] @ swygue joined channel #puppet | ||
| [2011/11/09 05:44:46] @ nul0op joined channel #puppet | ||
| [2011/11/09 05:44:52] @ jbraeuer joined channel #puppet | ||
| [2011/11/09 05:45:30] @ hal-j1 joined channel #puppet | ||
| [2011/11/09 05:45:48] @ Quit: nul0op: Client Quit | ||
| [2011/11/09 05:46:01] <jbraeuer> Hi everyone. I run Mcollective with ActiveMQ 5.5 on top of Scientific Linux 6.1 in AWS. Sometimes node discovers fails to find some of my nodes. Is this expected? | ||
| [2011/11/09 05:46:28] @ DJClean joined channel #puppet | ||
| [2011/11/09 05:46:30] @ Quit: hal-j: Ping timeout: 240 seconds | ||
| [2011/11/09 05:46:56] <jbraeuer> Is there a ways to give mco a minimum amount of nodes to find? (And fail otherwise.) | ||
| [2011/11/09 05:47:22] @ Quit: ckauhaus: Ping timeout: 244 seconds | ||
| [2011/11/09 05:48:02] @ Quit: stevie-bash: Quit: Verlassend | ||
| [2011/11/09 05:48:24] @ TuxOtaku joined channel #puppet | ||
| [2011/11/09 05:48:43] <TuxOtaku> hey, I'm trying to set up a manifest file that will only run once on any given node | ||
| [2011/11/09 05:49:12] @ hal-j1 is now known as hal-j | ||
| [2011/11/09 05:49:31] <TuxOtaku> like, right after the server is installed, and puppet is started, it calls this manifest file to do some post install configuration and then never uses that manifest again | ||
| [2011/11/09 05:49:49] <TuxOtaku> near as I can figure, the best way to do this is have puppet create a dummy file and then test if that file exists | ||
| [2011/11/09 05:49:55] <agwells0714> In that case why not use kickstart? | ||
| [2011/11/09 05:50:04] <TuxOtaku> but I've never done conditional stuff in puppet before | ||
| [2011/11/09 05:50:34] <agwells0714> if you are using a rhel based system | ||
| [2011/11/09 05:51:05] <TuxOtaku> because I don't want to use kickstart, I want to use puppet | ||
| [2011/11/09 05:51:25] @ st33v joined channel #puppet | ||
| [2011/11/09 05:51:36] <TuxOtaku> no offense, but answers like that aren't really helpful. | ||
| [2011/11/09 05:51:43] @ kerframil joined channel #puppet | ||
| [2011/11/09 05:51:59] <TuxOtaku> and I hear that kind of thing far too often when I show up on IRC channels for help | ||
| [2011/11/09 05:52:13] @ uphillian joined channel #puppet | ||
| [2011/11/09 05:52:32] @ sduchesneau joined channel #puppet | ||
| [2011/11/09 05:53:05] @ ckauhaus joined channel #puppet | ||
| [2011/11/09 05:53:32] <walkeran> TuxOtaku: Create multiple puppet environments, and house all of your bootstrapping-ish type things in a separate environmet | ||
| [2011/11/09 05:53:36] @ Quit: marczak: Ping timeout: 258 seconds | ||
| [2011/11/09 05:53:59] <agwells0714> okay, well then maybe we are telling you the right way, but if you want to use puppet, you can try to use a exec with the creates parameter. it will only run if the file does not exists | ||
| [2011/11/09 05:54:05] <walkeran> But in agwells0714's defense, you asked a question, and he did the right thing by answering with "the right way" | ||
| [2011/11/09 05:54:36] @ sdog joined channel #puppet | ||
| [2011/11/09 05:54:55] @ Quit: sdog: Changing host | ||
| [2011/11/09 05:54:55] @ sdog joined channel #puppet | ||
| [2011/11/09 05:56:02] @ IndyMichaelB joined channel #puppet | ||
| [2011/11/09 05:58:48] @ zwi joined channel #puppet | ||
| [2011/11/09 05:59:10] @ EL84 joined channel #puppet | ||
| [2011/11/09 06:00:55] @ Quit: poison: Remote host closed the connection | ||
| [2011/11/09 06:01:20] @ poison joined channel #puppet | ||
| [2011/11/09 06:02:13] @ Quit: p3rror: Remote host closed the connection | ||
| [2011/11/09 06:05:15] @ mcarpent joined channel #puppet | ||
| [2011/11/09 06:05:16] @ Quit: Phungis: Remote host closed the connection | ||
| [2011/11/09 06:05:33] @ Phungis joined channel #puppet | ||
| [2011/11/09 06:06:03] <kerframil> hi all. I wish to use a trivial resource chain to clean up the way dependencies are handled in some of my classes. I'm just not sure exactly where the chain ought to be declared. detail: http://dpaste.com/650028/. is there a right way? | ||
| [2011/11/09 06:08:33] @ Quit: hal-j: Ping timeout: 258 seconds | ||
| [2011/11/09 06:08:40] @ hal-j1 joined channel #puppet | ||
| [2011/11/09 06:10:04] @ tizzo is now known as tizzo-afk | ||
| [2011/11/09 06:12:13] @ Quit: zorg1: Quit: Leaving | ||
| [2011/11/09 06:12:16] @ jedi4ever joined channel #puppet | ||
| [2011/11/09 06:12:48] <agwells0714> kerframil: I would guess that works, you really do not need to have class sshd include anything | ||
| [2011/11/09 06:13:03] @ lborda joined channel #puppet | ||
| [2011/11/09 06:13:10] @ fragfutter joined channel #puppet | ||
| [2011/11/09 06:13:23] <agwells0714> but I think you have a loop | ||
| [2011/11/09 06:14:00] @ 13WAASF2X joined channel #puppet | ||
| [2011/11/09 06:14:41] <agwells0714> package <= service <= config | ||
| [2011/11/09 06:15:19] @ Quit: Phungis: Remote host closed the connection | ||
| [2011/11/09 06:15:36] @ Phungis joined channel #puppet | ||
| [2011/11/09 06:16:04] <justintime> Is Ken Barber by chance in here? Not sure of his nick. | ||
| [2011/11/09 06:17:09] @ Quit: s0fx2: Read error: Connection reset by peer | ||
| [2011/11/09 06:17:26] <ohadlevy> justintime: !seen kenbarber | ||
| [2011/11/09 06:17:31] <ohadlevy> justintime: !seen ken_barber | ||
| [2011/11/09 06:18:09] <kerframil> agwells0714: hmm, I don't see it? 'package' doesn't require anything, file resources in 'config' require the 'package', and 'service' requires 'config'. ergo, service <= config <= package. | ||
| [2011/11/09 06:18:12] <ohadlevy> justintime: ken_barber | ||
| [2011/11/09 06:19:06] @ Javid__ joined channel #puppet | ||
| [2011/11/09 06:19:13] <Javid__> hi | ||
| [2011/11/09 06:19:14] <agwells0714> she had two class that pretty much required each other | ||
| [2011/11/09 06:19:36] <Javid__> is there anybody can help met with pull methode | ||
| [2011/11/09 06:21:41] @ espent joined channel #puppet | ||
| [2011/11/09 06:22:49] @ Quit: localhost: Remote host closed the connection | ||
| [2011/11/09 06:23:10] <Sil4nc4> is there a pecl provider for the package resource type? | ||
| [2011/11/09 06:23:18] @ marczak joined channel #puppet | ||
| [2011/11/09 06:23:40] <Javid__> is there anybody can help met with pull methode | ||
| [2011/11/09 06:24:14] <walkeran> Javid__: Repeating yourself isn't going to help... you might want to explain your question a bit more, though | ||
| [2011/11/09 06:24:20] @ localhost joined channel #puppet | ||
| [2011/11/09 06:24:31] <agwells0714> service ssh requires sshd::config, sshd::config requires sshd::service | ||
| [2011/11/09 06:24:39] @ ldlework joined channel #puppet | ||
| [2011/11/09 06:24:42] @ p3rror joined channel #puppet | ||
| [2011/11/09 06:25:01] @ Quit: Phungis: Remote host closed the connection | ||
| [2011/11/09 06:25:18] @ Phungis joined channel #puppet | ||
| [2011/11/09 06:25:18] <kerframil> agaffney: no. sshd::config notifies sshd::service (not requires). | ||
| [2011/11/09 06:25:28] @ Kernel_Core joined channel #puppet | ||
| [2011/11/09 06:25:32] <Kernel_Core> Hi all | ||
| [2011/11/09 06:25:36] <kerframil> agaffney: sorry (and hi) | ||
| [2011/11/09 06:25:47] <Javid__> I am using freebsd as puppetagent. but the puppetagent can not pull the configuration from the puppetmaster. I can kick to puppetagent | ||
| [2011/11/09 06:26:04] <agwells0714> which says config needs to be run before service | ||
| [2011/11/09 06:26:25] <Kernel_Core> anybody here used puppetrunner in order to push the changes from puppetmaster to puppet agent ? | ||
| [2011/11/09 06:26:48] <walkeran> Javid__: What kind of errors are you getting? | ||
| [2011/11/09 06:27:09] @ Quit: ckauhaus: Ping timeout: 244 seconds | ||
| [2011/11/09 06:27:13] <Javid__> no error | ||
| [2011/11/09 06:27:16] <kerframil> agwells0714: exactly. which translates as "sshd::service requires sshd::config", not the inverse as you state. this has all been tested. | ||
| [2011/11/09 06:27:20] @ Chesther joined channel #puppet | ||
| [2011/11/09 06:27:52] <Javid__> I changed the runinterval to 200 but still the agent will not run | ||
| [2011/11/09 06:28:28] @ Quit: sdog: Read error: No route to host | ||
| [2011/11/09 06:28:30] <agwells0714> kerframil: maybe I am just getting lost in your chains... regardless you don't need half of them | ||
| [2011/11/09 06:28:37] @ sdog joined channel #puppet | ||
| [2011/11/09 06:29:02] <DenseBits> Is anybody running puppet with rvm? | ||
| [2011/11/09 06:29:03] @ ali3n0 joined channel #puppet | ||
| [2011/11/09 06:29:08] @ poison_ joined channel #puppet | ||
| [2011/11/09 06:29:22] <agwells0714> kerframil: also I assume you have sshd include all of the others so that you only need to include sshd? | ||
| [2011/11/09 06:29:42] <Javid__> walkeran : both servers are freebsd | ||
| [2011/11/09 06:30:03] @ unosmart joined channel #puppet | ||
| [2011/11/09 06:30:07] @ unosmart left channel #puppet () | ||
| [2011/11/09 06:30:39] <espent> puppet is complaining that my host is missing hostname and/or domin: dimuweb-test.mid.no | ||
| [2011/11/09 06:30:54] <espent> how could that be? http://pastie.textmate.org/2836444 | ||
| [2011/11/09 06:31:06] <walkeran> Javid__: There has to be some sort of error or problem somewhere. If you run in non-daemonized mode (puppetd -t) what output do you get? | ||
| [2011/11/09 06:31:06] <espent> faster reports hostname and fqdn correctly | ||
| [2011/11/09 06:31:12] @ Quit: abetterlie: Ping timeout: 248 seconds | ||
| [2011/11/09 06:31:58] <espent> hello Javid__, i am using puppet on freebsd | ||
| [2011/11/09 06:32:12] <agwells0714> kerframil: so what exactly are you looking for? a simpler way to do this chaining? | ||
| [2011/11/09 06:32:33] @ Quit: ctria: Quit: This computer has gone to sleep | ||
| [2011/11/09 06:32:36] @ Quit: adimania: Read error: Operation timed out | ||
| [2011/11/09 06:32:41] <Javid__> walkeran : when I run puppetd -t --verbose. I get no error. it works. but I want the agent to get the configuration from server after 5 min | ||
| [2011/11/09 06:32:47] @ Quit: poison: Ping timeout: 258 seconds | ||
| [2011/11/09 06:32:48] @ Quit: sdog: Changing host | ||
| [2011/11/09 06:32:48] @ sdog joined channel #puppet | ||
| [2011/11/09 06:32:49] @ edovale joined channel #puppet | ||
| [2011/11/09 06:33:13] <Javid__> espent : do you have any idea about pulling configuration from the puppetmaster | ||
| [2011/11/09 06:33:28] <Javid__> espent: puppetagent dont run automatically | ||
| [2011/11/09 06:33:30] @ Quit: edovale: Read error: Connection reset by peer | ||
| [2011/11/09 06:33:45] @ edovale joined channel #puppet | ||
| [2011/11/09 06:33:54] <walkeran> Javid__: So, when you are using the puppet agent in daemonized mode, what do the logs say? Do they report that the agent has started up? Do they say anything about attempting to run every-so-often? | ||
| [2011/11/09 06:34:30] <espent> Javid__: I run mines from cron… puppetd --server ….. 2 times per hour | ||
| [2011/11/09 06:34:33] <kerframil> agwells0714: yeah, the sshd thing is just a convention - as noted earlier, yes, I could include sshd::service in a node and achieve the same effect. anyhow ... the resource ordering is currently correct as it stands. | ||
| [2011/11/09 06:34:39] <kerframil> agwells0714: basically, see the sample chain in the top comment? I want to add that and remove the boilerplate before/require metaparams. all I'm wondering is this: assuming I go ahead and uncomment that sample chain - does it matter where it is declared? | ||
| [2011/11/09 06:34:56] <kerframil> agwells0714: top, bottom? does it even matter? | ||
| [2011/11/09 06:36:04] @ Quit: ranamalo: Ping timeout: 255 seconds | ||
| [2011/11/09 06:36:43] <agwells0714> kerframil: you know that before and require, notify and subscribe create chains, so if you already have the desired chain with those, you don't need to create an explicit chain above | ||
| [2011/11/09 06:37:23] <Javid__> walkeran : when I run puppetd -t --no-daemonize. in the log it says that staarting puppet client version 2.7.3. | ||
| [2011/11/09 06:38:18] <walkeran> Javid__: We already established that it works for you not-daemonized... I'm asking what happens when you DO daemonize it | ||
| [2011/11/09 06:38:21] <Javid__> espent : do you have any tutorial for puppet on freebsd | ||
| [2011/11/09 06:39:12] <espent> Javid__: no, there is a lot of quirks. I wouldn't recommend using the freebsd package manager | ||
| [2011/11/09 06:39:31] <Javid__> walkeran : it says finished catalog run in 0.44 seconds | ||
| [2011/11/09 06:39:47] <walkeran> Javid__: I would assume that means it's working fine | ||
| [2011/11/09 06:40:00] <Kernel_Core> espent: I was looking to your conversation... have you ever tried puppetrun on the server instead of running a cron job like puppetd --server .... ? | ||
| [2011/11/09 06:40:05] <espent> Javid__: run with --test and --debug, and post the output the pastie | ||
| [2011/11/09 06:40:27] @ Quit: Phungis: Remote host closed the connection | ||
| [2011/11/09 06:40:32] <agwells0714> kerframil: http://docs.puppetlabs.com/guides/language_guide.html#chaining-resources | ||
| [2011/11/09 06:40:38] <kerframil> agwells0714: indeed. however, going back to the original question, I actually want to use a chain. I'm already using chains in a few other places due to their power, such as here: http://paste.pocoo.org/show/505238/ | ||
| [2011/11/09 06:40:54] <espent> Kernel_Core: yes, I tried it a lot, but the puppet agents kept stopping themselves, hanging, with >90% cpu usage | ||
| [2011/11/09 06:40:57] @ Phungis joined channel #puppet | ||
| [2011/11/09 06:41:23] <Javid__> walkeran and espent : it works. when I manualy push or pull the configuration. but I want the agent self should pull the configuration. I have changed runinterval to 5 min but still no success | ||
| [2011/11/09 06:41:27] <kerframil> agwells0714: just want to keep things consistent. let's assume I've ripped out the metaparams - I don't want them. does it matter *where* I declare the chain? | ||
| [2011/11/09 06:41:32] <espent> Kernel_Core: at least for puppet <= 2.6, i have not tried with 2.7.6 | ||
| [2011/11/09 06:41:58] <walkeran> Javid__: you JUST said that it finishes in 0.44 seconds when it's running in daemonized mode. That means it's working just fine.... | ||
| [2011/11/09 06:42:14] <Kernel_Core> espent: I am running 2.6.6 so you mean it is buggy ? | ||
| [2011/11/09 06:42:22] @ chadskidmore joined channel #puppet | ||
| [2011/11/09 06:42:29] <agwells0714> kerframil: i am going to assume not, but putting it at the bottom would read better for programmers as they know what you are talking about | ||
| [2011/11/09 06:42:31] <espent> Kernel_Core: are u running it on freebsd? | ||
| [2011/11/09 06:42:40] <Kernel_Core> espent: no , CentOS | ||
| [2011/11/09 06:42:52] <kerframil> agwells0714: ok. so at the bottom, not within a class stanza? | ||
| [2011/11/09 06:43:14] <espent> Kernel_Core: there was an issue with ruby_1.8.7_p302 | ||
| [2011/11/09 06:43:57] <espent> Kernel_Core: which may caused the problems we were experiencing earlier… but i am happy with running it from cron. The problem I got now, is that the agent says my host don't have a domain | ||
| [2011/11/09 06:44:16] <espent> see output on http://pastie.textmate.org/2836444 | ||
| [2011/11/09 06:44:30] <espent> thats actually from the server-side | ||
| [2011/11/09 06:44:36] <Kernel_Core> espent: I am running ruby 1.8.5-19 , so I am immune ? | ||
| [2011/11/09 06:44:47] @ hal-j1 is now known as hal-j | ||
| [2011/11/09 06:44:55] <agwells0714> kerframil: oh no I would put it in the ssh class. but I would also move all of your other resources there | ||
| [2011/11/09 06:45:00] @ Quit: DenseBits: Remote host closed the connection | ||
| [2011/11/09 06:45:07] <espent> I have no idea, but we had lots of problems with it on freebsd | ||
| [2011/11/09 06:45:27] <walkeran> kerframil: I typically put the chain _inside_ the class that will get included by nodes. So, if you include the ssh class, put the chain inside the ssh class. | ||
| [2011/11/09 06:46:08] <kerframil> agwells0714, walkeran: thank you | ||
| [2011/11/09 06:46:20] <walkeran> kerframil: In other modules (like my ntp module), where I have a server and a client, I put the chain inside the ntp::server and ntp::client classes, instead of the ntp class, as those are the ones that I include from nodes/other classes/etc | ||
| [2011/11/09 06:46:44] <espent> Kernel_Core: if you're interested, see puppet issue #4681 | ||
| [2011/11/09 06:46:45] <gepetto> espent: Kernel_Core: #4681 is http://projects.puppetlabs.com/issues/show/4681 "Puppet - Bug #4681: Puppet 2.6.1.r2 randomly hangs on Exec in FreeBSD. It has a status of Rejected and is assigned to Markus Roberts" | ||
| [2011/11/09 06:47:28] @ bretm joined channel #puppet | ||
| [2011/11/09 06:47:33] @ wollviec1 is now known as wollviech | ||
| [2011/11/09 06:47:39] @ hal-j1 joined channel #puppet | ||
| [2011/11/09 06:48:28] <Theory> I still don't have my head around how to deal with situations where I have resources that depend on resources in other modules well | ||
| [2011/11/09 06:48:36] <kerframil> walkeran: that seems quite logical | ||
| [2011/11/09 06:49:11] @ Quit: hal-j: Ping timeout: 258 seconds | ||
| [2011/11/09 06:49:25] <walkeran> kerframil: I don't know if there are other conventions, or any "suggested practices", but that's what I've been doing, and it's worked like a charm so far :) Glad I could help! | ||
| [2011/11/09 06:50:30] <agwells0714> if you need to include something in another module, you just require => ["namespace::namespace::class"] | ||
| [2011/11/09 06:50:42] <espent> Kernel_Core: my problem now is actually the same as issue #10546 | ||
| [2011/11/09 06:50:42] <gepetto> espent: Kernel_Core: #10546 is http://projects.puppetlabs.com/issues/show/10546 "Puppet - Bug #10546: Failed to parse template apache/munin-stats: Could not find value for 'hostname'. It has a status of Unreviewed and is assigned to -" | ||
| [2011/11/09 06:50:45] <agwells0714> as long as modules.pp imports that module you are fine | ||
| [2011/11/09 06:51:51] <walkeran> agwells0714: Huh? modules.pp? import? | ||
| [2011/11/09 06:52:17] <agwells0714> /etc/puppet/manifests/modules.pp | ||
| [2011/11/09 06:52:33] <kerframil> walkeran: that's good enough for me. as you probably noticed also, it's difficult to discern an idiomatic way because real-world samples involving chain syntax are thing on the ground. there are plenty with metaparams though :) | ||
| [2011/11/09 06:52:38] <kerframil> thin* | ||
| [2011/11/09 06:52:41] <walkeran> agwells0714: Ish... you don't use auto-importing? That's horrible | ||
| [2011/11/09 06:53:11] <agwells0714> okay I got ext-nodes. what is this auto-importing? | ||
| [2011/11/09 06:53:17] @ Quit: fronlius: Quit: fronlius | ||
| [2011/11/09 06:53:42] <walkeran> agwells0714: Basically, if you use correct module structure, you don't need any imports in your code, at all... except maybe, an "import nodes.pp" in your site.pp file | ||
| [2011/11/09 06:53:55] <walkeran> agwells0714: But, since you have ext nodes, you don't need to import site.pp | ||
| [2011/11/09 06:54:30] @ themadcanudist joined channel #puppet | ||
| [2011/11/09 06:54:50] @ Quit: Chesther: Quit: Leaving. | ||
| [2011/11/09 06:55:14] <walkeran> agwells0714: Nothing new... it's been around since 0.23 http://docs.puppetlabs.com/guides/modules.html#module-autoloading | ||
| [2011/11/09 06:55:44] @ Quit: Phungis: Remote host closed the connection | ||
| [2011/11/09 06:55:52] <agwells0714> walkeran: no | ||
| [2011/11/09 06:56:00] <agwells0714> walkeran: this cannot be | ||
| [2011/11/09 06:56:05] @ Phungus joined channel #puppet | ||
| [2011/11/09 06:56:30] <walkeran> agwells0714: just realized you've been doing everything the hard way since the beginning? :) | ||
| [2011/11/09 06:56:45] @ bronto joined channel #puppet | ||
| [2011/11/09 06:56:54] <agwells0714> walkeran: no I been putting imports in my modules.pp and I didn't even need to | ||
| [2011/11/09 06:57:05] <walkeran> agwells0714: Oh.. heh :D | ||
| [2011/11/09 06:57:07] @ bronto left channel #puppet () | ||
| [2011/11/09 06:57:21] <agwells0714> walkeran: can you imagine how happy I was when I found ext-nodes | ||
| [2011/11/09 06:57:53] <walkeran> agwells0714: Well, let's just consider this an early holiday gift from me ;) hehehe | ||
| [2011/11/09 06:57:53] <agwells0714> walkeran: and now this.... | ||
| [2011/11/09 06:58:27] <flipwork> ext nodes? | ||
| [2011/11/09 06:58:39] <agwells0714> walkeran: this moves up my plans to take over the world much sooner | ||
| [2011/11/09 06:58:47] <agwells0714> flipwork: YES!\ | ||
| [2011/11/09 06:59:01] <walkeran> flipwork: External node classifier.. a script that returns information about what classes should be included, and parameters, etc... instead of defining nodes in your nodes.pp file | ||
| [2011/11/09 06:59:05] <flipwork> oh | ||
| [2011/11/09 06:59:07] <flipwork> enc | ||
| [2011/11/09 06:59:19] <flipwork> I'd just never heard it called ext nodes :-) | ||
| [2011/11/09 06:59:50] <flipwork> I've been slowly writing a browser based php enc | ||
| [2011/11/09 06:59:54] <agwells0714> my only problem was that cobbler could not use parameterized classes.... unless walkeran has something to say | ||
| [2011/11/09 06:59:58] <Kernel_Core> espent: I am new in Puppet ... I just installed puppet in my virtual boxes .... but I was interested to play with it puppetrun which failed on my box... | ||
| [2011/11/09 07:00:44] @ Quit: Wolfspyre: Quit: Leaving. | ||
| [2011/11/09 07:00:57] <walkeran> agwells0714: I actually don't know, as I don't even use an ENC :) | ||
| [2011/11/09 07:01:12] <flipwork> walkeran: you run masterless right? | ||
| [2011/11/09 07:01:46] <walkeran> flipwork: Nope... I just have buttloads of the same type of servers, so my nodes.pp file is pretty small. Only a handful of regex nodes | ||
| [2011/11/09 07:01:51] <flipwork> ah | ||
| [2011/11/09 07:01:58] <flipwork> lucky you | ||
| [2011/11/09 07:02:14] <agwells0714> walkeran: what! you can put regex to describe nodes? | ||
| [2011/11/09 07:02:18] <walkeran> hahahaha | ||
| [2011/11/09 07:02:21] <flipwork> i don't have more than a couple dozen of any single type | ||
| [2011/11/09 07:02:26] <flipwork> agwells0714: dude | ||
| [2011/11/09 07:02:47] <flipwork> I can't even imagine my nodes.pp without regexs | ||
| [2011/11/09 07:02:54] <walkeran> flipwork: Well, it's not sooo "lucky me".. we have buttloads of the same type of server, and then from there, everything is highly customized, and barely even "puppetized" | ||
| [2011/11/09 07:02:55] @ ckauhaus joined channel #puppet | ||
| [2011/11/09 07:03:08] <agwells0714> filpword: I can, I did it | ||
| [2011/11/09 07:03:11] <flipwork> walkeran: doh | ||
| [2011/11/09 07:03:24] <agwells0714> walkeran: puppet docs suck | ||
| [2011/11/09 07:03:27] <flipwork> i keep everything puppetized | ||
| [2011/11/09 07:03:28] @ cruzfox joined channel #puppet | ||
| [2011/11/09 07:03:52] <flipwork> i wish I could say the same for my coworkers | ||
| [2011/11/09 07:03:57] @ tily joined channel #puppet | ||
| [2011/11/09 07:04:08] <flipwork> "Why is it taking you 3 days to bring up that new box?" | ||
| [2011/11/09 07:04:27] <flipwork> "oh well, I ran puppet, then I had to do this this this this this and this." *Face palm* | ||
| [2011/11/09 07:04:30] @ kangman joined channel #puppet | ||
| [2011/11/09 07:04:32] <walkeran> flipwork: At this point, all of the servers that don't fall under the "buttload of redundant X servers" generally just fall under the default node | ||
| [2011/11/09 07:04:56] @ tizzo-afk is now known as tizzo | ||
| [2011/11/09 07:05:23] <flipwork> ah, yeah, I don't keep a default node in a deliberate effort to make people define node types | ||
| [2011/11/09 07:05:44] @ dfamorato joined channel #puppet | ||
| [2011/11/09 07:06:13] <walkeran> flipwork: I know what you mean, though. That's what we have going on around here... but I've been slowly-but-surely getting things puppetized. At least (it sounds like) you have other people on your puppet train. I'm the only person in our devops/hosting department that uses it, and there are 5-6 of us | ||
| [2011/11/09 07:06:50] <flipwork> suck. Its been exceedingly difficult convincing people to use it | ||
| [2011/11/09 07:07:46] <walkeran> Yeah. Part of me wishes it would find more of a home here, but part of me likes the fact that I'm the only person using it... then I know that everything is done "my way", and I know everything about our puppet environment, because, well, I wrote it :) | ||
| [2011/11/09 07:08:01] <flipwork> hah yeah | ||
| [2011/11/09 07:08:15] <flipwork> i wrote 99% of ours, which I fine with | ||
| [2011/11/09 07:08:19] <flipwork> I'm | ||
| [2011/11/09 07:08:23] @ ken_barber joined channel #puppet | ||
| [2011/11/09 07:08:54] @ Quit: mcarpent: Ping timeout: 240 seconds | ||
| [2011/11/09 07:09:05] <flipwork> i just hate when I have to spin up another instance of someone else's project, only to find that they didn't document any of it or create a module | ||
| [2011/11/09 07:09:18] <walkeran> It's nice to know absolutely everything that could possibly be happening. It also makes the deployment strategy much easier, as I only have to worry about merging in MY changes :P | ||
| [2011/11/09 07:09:51] <walkeran> flipwork: True that! That's usually when I say "Oh, this is something you set up in the past... go ahead and take over from here, kthxbai!" | ||
| [2011/11/09 07:10:32] @ Quit: Hamzah: Ping timeout: 260 seconds | ||
| [2011/11/09 07:11:37] @ dwalu joined channel #puppet | ||
| [2011/11/09 07:11:38] @ Quit: tremble: Remote host closed the connection | ||
| [2011/11/09 07:11:41] @ Quit: lpaul7: Remote host closed the connection | ||
| [2011/11/09 07:12:06] @ Quit: mfladischer: Ping timeout: 244 seconds | ||
| [2011/11/09 07:12:12] <erthad> does the order of include class statements matter if I rely one class on another? | ||
| [2011/11/09 07:12:50] @ newtMcKerr joined channel #puppet | ||
| [2011/11/09 07:13:03] @ IndyMichaelB_ joined channel #puppet | ||
| [2011/11/09 07:13:04] @ Quit: IndyMichaelB_: Client Quit | ||
| [2011/11/09 07:13:06] <_rc> no; if you have a dependency you need to state it along the lines of Class[badger] -> Class[mushroom] | ||
| [2011/11/09 07:13:59] <erthad> this will not do: I have a class which uses data provided by another class if it is defined. if not -- it gets data elsewhere | ||
| [2011/11/09 07:14:05] @ chewie71_ joined channel #puppet | ||
| [2011/11/09 07:14:10] @ Quit: IndyMichaelB: Read error: Operation timed out | ||
| [2011/11/09 07:14:54] @ Quit: tizzo: Ping timeout: 240 seconds | ||
| [2011/11/09 07:14:58] <erthad> in other words: do classes get evaluated in the order they are defined or are they evaluated in random order? | ||
| [2011/11/09 07:15:36] @ colon_D joined channel #puppet | ||
| [2011/11/09 07:15:43] <erthad> s/defined/included/ | ||
| [2011/11/09 07:16:18] <walkeran> erthad: random | ||
| [2011/11/09 07:16:22] @ jodok joined channel #puppet | ||
| [2011/11/09 07:16:23] @ Quit: jodok: Changing host | ||
| [2011/11/09 07:16:23] @ jodok joined channel #puppet | ||
| [2011/11/09 07:16:24] @ Quit: artista_frustrad: Ping timeout: 258 seconds | ||
| [2011/11/09 07:16:49] <walkeran> erthad: Do you, by chance, have the Pro Puppet book? | ||
| [2011/11/09 07:16:50] <chewie71_> Anyone using puppet to update itself? I'd like to be able to install Ubuntu or CentOS, install puppet from APT (old version) or YUM, connect to the puppetmaster and then upgrade itself to a newer version. Wondering if there is already some puppet manifests out there that do this? | ||
| [2011/11/09 07:16:59] <_rc> not to be relied upon | ||
| [2011/11/09 07:17:17] @ IndyMichaelB joined channel #puppet | ||
| [2011/11/09 07:17:17] @ mawser joined channel #puppet | ||
| [2011/11/09 07:17:40] <walkeran> chewie71_: Yeah, I do that.. it's just as simple as updating any other package: package { 'puppet': ensure => latest, } | ||
| [2011/11/09 07:18:04] <erthad> ok, sad. I'll have to make explicit includes for the classes then and a handle to switch that on or off | ||
| [2011/11/09 07:18:06] <erthad> thx | ||
| [2011/11/09 07:18:30] <walkeran> erthad: Ahhem... I do (perhaps) have a solution for you, but you'd have to answer my question first | ||
| [2011/11/09 07:19:01] <erthad> walkeran: I'm thinking of that but shipping to Russia makes the book twice as expensive :-\ | ||
| [2011/11/09 07:19:02] @ Quit: espent: Quit: Computer has gone to sleep. | ||
| [2011/11/09 07:19:17] <walkeran> erthad: Ah, right on... well in that case, I'll paraphrase a paragraph out of it... uno momento | ||
| [2011/11/09 07:19:17] @ Hamzah joined channel #puppet | ||
| [2011/11/09 07:19:57] @ Quit: siert: Quit: Lost terminal | ||
| [2011/11/09 07:20:37] <walkeran> erthad: In addition to the include function, puppet has a require function. They act the same, except that "require" introduces some order to the inclusion of resources. With include, resources are not included in any sequence. The require function tells puppet that all resources being required must be processed first | ||
| [2011/11/09 07:21:20] <walkeran> erthad: for example class ssh { require ssh::params \n include ssh::install, ssh::config, ssh::service }, then the contents of ssh::params would be processed before any other includes or resources in the ssh class | ||
| [2011/11/09 07:21:41] @ Quit: Stenbryggen: Quit: Leaving. | ||
| [2011/11/09 07:22:02] @ mcarpent joined channel #puppet | ||
| [2011/11/09 07:22:50] <walkeran> erthad: It also warns not to depend on this, and I have a feeling that's because it actually creates explicit relationships. You will have to play around with it, as if it does only create relationships, then that has nothing to do with parse order, as relationships are enforced on the agent side, not on the master | ||
| [2011/11/09 07:22:50] <erthad> thank you, this might help me | ||
| [2011/11/09 07:23:39] <walkeran> You're welcome. Hope it helps... if not, then it sounds like you need to take a step back and refactor something :D | ||
| [2011/11/09 07:24:36] @ SEJeff left channel #puppet ("Leaving") | ||
| [2011/11/09 07:25:27] <erthad> it will be tricky (but interesting) anyway as I'm trying to reduce the whole site.pp to node default { hiera_include("classes") } | ||
| [2011/11/09 07:25:52] <hajile> morning | ||
| [2011/11/09 07:26:28] @ Quit: mcarpent: Ping timeout: 255 seconds | ||
| [2011/11/09 07:26:37] @ Quit: choffee: Ping timeout: 240 seconds | ||
| [2011/11/09 07:26:59] @ ccaum joined channel #puppet | ||
| [2011/11/09 07:27:41] @ j00bar joined channel #puppet | ||
| [2011/11/09 07:27:42] @ Quit: j00bar: Changing host | ||
| [2011/11/09 07:27:42] @ j00bar joined channel #puppet | ||
| [2011/11/09 07:27:43] @ Quit: ccaum: Read error: Connection reset by peer | ||
| [2011/11/09 07:28:51] @ artista_frustrad joined channel #puppet | ||
| [2011/11/09 07:29:23] <hajile> so i'm running into a strange problem with an if/else statement | ||
| [2011/11/09 07:29:39] <hajile> it's a custom fact which is set to a ruby boolean value | ||
| [2011/11/09 07:29:55] <hajile> http://pastebin.com/pS40imzM | ||
| [2011/11/09 07:30:08] @ ccaum joined channel #puppet | ||
| [2011/11/09 07:30:11] @ Quit: ccaum: Client Quit | ||
| [2011/11/09 07:30:29] <hajile> for some reason, it seems to be interpreting that if $spacewalk_installed as "if $spacewalk_installed has anything in it, regardless of what it is" | ||
| [2011/11/09 07:30:31] @ choffee joined channel #puppet | ||
| [2011/11/09 07:30:43] <hajile> i suppose i could just print the value of spacewalk_installed.. maybe something is awry | ||
| [2011/11/09 07:30:48] @ Quit: Phungus: Remote host closed the connection | ||
| [2011/11/09 07:30:59] @ Quit: Kernel_Core: Quit: Do fish get thirsty? | ||
| [2011/11/09 07:31:04] @ Phungus joined channel #puppet | ||
| [2011/11/09 07:32:37] @ Quit: pmorillon: Ping timeout: 240 seconds | ||
| [2011/11/09 07:33:00] <erthad> hajile: what returns facter -p spacewalk_installed ? | ||
| [2011/11/09 07:33:28] <hajile> i get no output | ||
| [2011/11/09 07:34:02] <hajile> i chalked that up to it being a custom fact.. but i assume i should be getting output from facter? | ||
| [2011/11/09 07:34:16] <hajile> the fact is synced in /var/lib/puppet/lib/facter/... | ||
| [2011/11/09 07:34:47] <misc> you need to to some envrionnement variable | ||
| [2011/11/09 07:35:01] <hajile> ? | ||
| [2011/11/09 07:35:13] @ Quit: newtMcKerr: Quit: Leaving. | ||
| [2011/11/09 07:35:51] @ Quit: Phungus: Remote host closed the connection | ||
| [2011/11/09 07:36:08] @ Phungus joined channel #puppet | ||
| [2011/11/09 07:36:22] <misc> try RUBYLIB=/var/lib/puppet/lib/ facter | ||
| [2011/11/09 07:36:34] <hajile> oh i see | ||
| [2011/11/09 07:36:41] <hajile> to run it manually | ||
| [2011/11/09 07:36:42] @ Wolfspyre joined channel #puppet | ||
| [2011/11/09 07:37:15] @ Quit: lborda: Quit: Ex-Chat | ||
| [2011/11/09 07:37:30] <hajile> no change | ||
| [2011/11/09 07:37:35] <hajile> i don't understand how that would help | ||
| [2011/11/09 07:37:51] <hajile> oops. | ||
| [2011/11/09 07:37:52] <hajile> wait. | ||
| [2011/11/09 07:37:55] <hajile> :) | ||
| [2011/11/09 07:38:08] <hajile> i typoed trying what you suggested.. let's try that again :) | ||
| [2011/11/09 07:38:11] @ soh joined channel #puppet | ||
| [2011/11/09 07:38:22] @ samkottler joined channel #puppet | ||
| [2011/11/09 07:38:26] <hajile> still didn't produce anything | ||
| [2011/11/09 07:38:50] <hajile> odd. | ||
| [2011/11/09 07:39:33] <erthad> I'm not quite sure that this is the case but your custom fact returns nil which is handled very oddly in puppet manifests | ||
| [2011/11/09 07:39:58] <hajile> why would it return nil? the last entry in there is the return code from File.exists? | ||
| [2011/11/09 07:40:15] @ Quit: octane-: Quit: octane- | ||
| [2011/11/09 07:40:34] <walkeran> hajile: Better to actually return some text in any condition, and test for that text in your puppet manifest | ||
| [2011/11/09 07:40:49] <hajile> hmm, ok | ||
| [2011/11/09 07:40:58] <erthad> hajile: sorry, I was wrong, it returns false | ||
| [2011/11/09 07:41:08] <hajile> well it will return false if the file doesn't exist | ||
| [2011/11/09 07:41:12] <hajile> and true if it does | ||
| [2011/11/09 07:41:19] <hajile> walkeran: i guess, but this should work :) | ||
| [2011/11/09 07:41:41] @ gniks joined channel #puppet | ||
| [2011/11/09 07:41:45] <walkeran> Ah, I guess I (admittedly) didn't even try out your fact :) | ||
| [2011/11/09 07:41:59] <hajile> if you just fire up irb, you can do this | ||
| [2011/11/09 07:42:06] @ riha left channel #puppet () | ||
| [2011/11/09 07:42:09] <hajile> file_name="/some/file/name" | ||
| [2011/11/09 07:42:17] <hajile> File.exists? file_name | ||
| [2011/11/09 07:42:50] <hajile> or even if File.exists? file_name | ||
| [2011/11/09 07:42:56] <hajile> and it works properly | ||
| [2011/11/09 07:43:21] <walkeran> hajile: Yeah, something tells me you'll be best off returning the string "true" or "false" instead of a Ruby boolean | ||
| [2011/11/09 07:43:29] <hajile> ok i'll give that a shot | ||
| [2011/11/09 07:43:41] <hajile> seems like a bit of a bug though | ||
| [2011/11/09 07:43:51] @ Quit: zwi: Quit: Leaving. | ||
| [2011/11/09 07:44:08] <walkeran> I can never keep up with puppet's status when it comes to handling booleans. I usually just try to avoid it altogether | ||
| [2011/11/09 07:44:13] <hajile> yeah | ||
| [2011/11/09 07:44:20] <walkeran> which is definitely not ideal... but... yeah :S | ||
| [2011/11/09 07:44:26] @ pmorillon joined channel #puppet | ||
| [2011/11/09 07:44:29] <hajile> so there are facts that are booleans | ||
| [2011/11/09 07:44:32] <hajile> or so it appears | ||
| [2011/11/09 07:44:37] <hajile> is_virtual => false | ||
| [2011/11/09 07:44:37] <hajile> selinux => false | ||
| [2011/11/09 07:44:57] <hajile> that said, none of the strings are quoted in a facter run, so those may be strings | ||
| [2011/11/09 07:45:09] <walkeran> I'll take a look and see, quick | ||
| [2011/11/09 07:45:29] @ Quit: MattyM: Remote host closed the connection | ||
| [2011/11/09 07:45:43] @ ssiefkas joined channel #puppet | ||
| [2011/11/09 07:46:08] <hajile> oh one other question.. is changing puppetd to agent in puppet.conf compatible with 0.25.5? | ||
| [2011/11/09 07:46:22] <walkeran> hajile: Looking at the selinux one, it looks like it actually returns a string, and not a boolean | ||
| [2011/11/09 07:46:29] <hajile> i'm in the process of upgrading to 2.7.6, and i'd love to just make that change now to avoid all the warnings | ||
| [2011/11/09 07:46:57] <hajile> walkeran: cool, thank you for checking.. I'll just modify my fact to return a string instead. thank you for the help! | ||
| [2011/11/09 07:47:04] <walkeran> no problemo! | ||
| [2011/11/09 07:47:20] <hajile> any idea about the agent keyword working with 0.25.x? | ||
| [2011/11/09 07:47:50] <walkeran> That one I'm not sure about. I know that it didn't start throwing deprecation warnings until 2.7, though | ||
| [2011/11/09 07:48:02] <hajile> hmmt | ||
| [2011/11/09 07:48:05] <hajile> -t | ||
| [2011/11/09 07:48:09] <the_ramink> hajile: I'd just modify the template to deal with either version. https://github.com/rkhatibi/rdk-puppet-modules/blob/master/puppet/templates/puppet.conf.erb | ||
| [2011/11/09 07:48:11] <walkeran> Test it out and see what happens :) | ||
| [2011/11/09 07:48:17] @ Quit: larstobi: Quit: Leaving. | ||
| [2011/11/09 07:48:34] <ssiefkas> I am developing a custom function in a module and I am seeing behavior that appears to be from an old version of the function | ||
| [2011/11/09 07:48:51] <ssiefkas> I'm running puppet agent with --test but it appears to be doing some caching somewhere | ||
| [2011/11/09 07:49:07] <hajile> walkeran: but i'm lazy! :) i'll give it a shot and report back | ||
| [2011/11/09 07:49:07] @ Quit: chadskidmore: Quit: Textual IRC Client: http://www.textualapp.com/ | ||
| [2011/11/09 07:49:09] <hajile> :) | ||
| [2011/11/09 07:49:27] <agaffney> hajile: in 0.25.x, you'll need to use 'puppetd' instead of 'puppet agent' | ||
| [2011/11/09 07:49:55] <agaffney> oh, nm | ||
| [2011/11/09 07:50:02] <hajile> yup | ||
| [2011/11/09 07:50:03] <agaffney> you're talking about the headers in puppet.conf | ||
| [2011/11/09 07:50:06] <hajile> indeed | ||
| [2011/11/09 07:50:22] <agaffney> unsure about 0.25.x on that one | ||
| [2011/11/09 07:50:31] @ Quit: dwalu: Quit: dwalu | ||
| [2011/11/09 07:50:31] <agaffney> I know 2.6 uses the new headers and complains about the old ones | ||
| [2011/11/09 07:50:36] @ DrPppr242 joined channel #puppet | ||
| [2011/11/09 07:50:41] <agaffney> I just made my puppet.conf a template and managed via puppet | ||
| [2011/11/09 07:50:47] <agaffney> and switched the headers depending on the agent version | ||
| [2011/11/09 07:50:54] @ Quit: Phungus: Remote host closed the connection | ||
| [2011/11/09 07:51:14] <agaffney> while I was upgrading all of my agents from 0.24.x to 2.6.7 | ||
| [2011/11/09 07:51:18] @ Phungus joined channel #puppet | ||
| [2011/11/09 07:51:18] <hajile> that is a fantastic idea. | ||
| [2011/11/09 07:51:26] <hajile> i already manage the config via puppet | ||
| [2011/11/09 07:51:46] <hajile> how do you handle puppet.conf on your puppetmaster(s)? | ||
| [2011/11/09 07:52:13] @ Quit: toi: Ping timeout: 240 seconds | ||
| [2011/11/09 07:52:40] <hajile> with a standard file/source combo, that's easy.. with a puppetmaster, that get's a little more difficult | ||
| [2011/11/09 07:52:47] <hajile> gets* | ||
| [2011/11/09 07:53:09] <chewie71_> Anyone use the puppet-module tool by hakamadore through a PROXY? I've set http_proxy ENV and also configured the proxy settings in puppet.conf, but I always get the timeout message. | ||
| [2011/11/09 07:53:33] <agaffney> hajile: I use a shared puppet.conf between agents and masters | ||
| [2011/11/09 07:53:59] <hajile> oh i guess the agents will simply ignore the [puppetmaster] header | ||
| [2011/11/09 07:54:04] @ ghg joined channel #puppet | ||
| [2011/11/09 07:54:29] @ Phungus is now known as Guest31267 | ||
| [2011/11/09 07:54:42] <DrPppr242> I'm having trouble getting a puppet module to sync files to the agents | ||
| [2011/11/09 07:54:43] <DrPppr242> https://gist.github.com/1351865 | ||
| [2011/11/09 07:55:14] <DrPppr242> can anyone tell me if this is a permissions issue, and if it is how permissions are supposed to work for this? | ||
| [2011/11/09 07:55:19] <hajile> hmm.. only problem i see is that i have "report = true" on my clients and "reports = log,tagmail" on my server | ||
| [2011/11/09 07:55:50] @ Quit: Guest31267: Remote host closed the connection | ||
| [2011/11/09 07:56:00] @ bosszaru joined channel #puppet | ||
| [2011/11/09 07:56:10] @ Phungis joined channel #puppet | ||
| [2011/11/09 07:56:38] <hajile> nevermind, got it. | ||
| [2011/11/09 07:56:44] <hajile> agaffney: thanks dude, that makes my life easier. | ||
| [2011/11/09 07:57:07] <the_ramink> DrPppr242: did you mean to leave out a couple of Os on this line? source => "puppet:///gento-verlay/overlay", | ||
| [2011/11/09 07:57:48] <fragfutter> it's consistent wit the missing e's | ||
| [2011/11/09 07:57:53] <walkeran> I like leaving out random vowels when creating paths on our servers... it makes life more interesting | ||
| [2011/11/09 07:58:06] <agaffney> hajile: yep, different sections, so no conflict | ||
| [2011/11/09 07:58:12] <DrPppr242> the_ramink: I am both embarassed and grateful | ||
| [2011/11/09 07:58:15] <hajile> indeed, just need to clean up my config files | ||
| [2011/11/09 07:58:36] @ Quit: p3rror: Ping timeout: 244 seconds | ||
| [2011/11/09 07:58:44] @ newtMcKerr joined channel #puppet | ||
| [2011/11/09 07:59:20] @ Quit: artista_frustrad: Ping timeout: 258 seconds | ||
| [2011/11/09 07:59:37] @ choonming joined channel #puppet | ||
| [2011/11/09 07:59:40] <bd> if there are any devlopers here, thank you all for puppet. I just migrated 75 machines from NIS to LDAP. With uncommenting one line. | ||
| [2011/11/09 07:59:53] <hajile> yay puppet | ||
| [2011/11/09 08:00:07] @ Quit: lkoranda: Quit: Ex-Chat | ||
| [2011/11/09 08:00:40] <bd> srsly, if anyone of you comes to munich, shout, I'll offer a beer. | ||
| [2011/11/09 08:00:57] @ Quit: Phungis: Remote host closed the connection | ||
| [2011/11/09 08:01:15] <walkeran> Lies!! There's no beer in Germany! | ||
| [2011/11/09 08:01:16] @ Phungis joined channel #puppet | ||
| [2011/11/09 08:01:35] <fragfutter> munich is not part of germany. it's bavaria | ||
| [2011/11/09 08:01:42] <hajile> god i love ruby | ||
| [2011/11/09 08:01:48] @ ghanima joined channel #puppet | ||
| [2011/11/09 08:02:05] <hajile> var1="2.7.6" var2="0.25.5" var2>var1 returns false | ||
| [2011/11/09 08:02:12] <walkeran> fragfutter: Wait...what? Isn't that part of Germany? | ||
| [2011/11/09 08:02:26] @ Quit: Razique: Quit: Razique | ||
| [2011/11/09 08:02:27] <hajile> i wonder if that would evaluate the same in the puppet dsl | ||
| [2011/11/09 08:02:37] <fragfutter> walkeran: it's a joke. | ||
| [2011/11/09 08:02:45] <Vide> hi, I've a problem with templating and undef variables... basically I define a var as undef and check if has_variable? in the template to only print a string if the variable exists, but instead it always prints the string and the var value, putting "undef". here's the paste http://pastebin.com/PjphNd3B | ||
| [2011/11/09 08:02:57] <walkeran> fragfutter: Oh, ok :) You could have had me fooled... I'm just a silly American! | ||
| [2011/11/09 08:03:31] @ nigelk_ joined channel #puppet | ||
| [2011/11/09 08:04:07] <fragfutter> walkeran: they are proud to be "special" in bavaria. like saying i'm from california and the rest of the US has nothing to do with me. | ||
| [2011/11/09 08:04:13] @ octane- joined channel #puppet | ||
| [2011/11/09 08:04:43] <walkeran> fragfutter: Hah, touché :) | ||
| [2011/11/09 08:05:14] <erthad> hajile: these are strings so this might be evaluated as such in any language | ||
| [2011/11/09 08:05:29] <hajile> ruby is still awesome :D | ||
| [2011/11/09 08:05:47] <erthad> hajile: puppet has versioncmp function for comparing versions: http://docs.puppetlabs.com/references/stable/function.html#versioncmp | ||
| [2011/11/09 08:05:57] <bd> fragfutter: I am having a gut feeling that you like äppelwoi :) | ||
| [2011/11/09 08:06:10] @ Quit: Javid__: Quit: Page closed | ||
| [2011/11/09 08:06:43] <fragfutter> bd: nope. | ||
| [2011/11/09 08:06:50] <hajile> oh ncie | ||
| [2011/11/09 08:07:02] @ gob_bluth joined channel #puppet | ||
| [2011/11/09 08:08:18] @ Quit: octane-: Ping timeout: 245 seconds | ||
| [2011/11/09 08:08:23] @ benkevan joined channel #puppet | ||
| [2011/11/09 08:08:33] @ joshcooper joined channel #puppet | ||
| [2011/11/09 08:09:13] @ eliteyxnpd joined channel #puppet | ||
| [2011/11/09 08:09:44] @ abetterlie joined channel #puppet | ||
| [2011/11/09 08:10:12] @ eliteyxnpd left channel #puppet () | ||
| [2011/11/09 08:10:43] @ Quit: luke_skywalker: | ||
| [2011/11/09 08:11:03] <fragfutter> ruby question. i have an array of strings and want to discard any item matching a regexp | ||
| [2011/11/09 08:11:12] @ Quit: bretm: Remote host closed the connection | ||
| [2011/11/09 08:11:23] <Volcane> newarr = arr.reject{|i| i.match(/foo/)} | ||
| [2011/11/09 08:11:33] <fragfutter> thanks. | ||
| [2011/11/09 08:11:45] <fragfutter> (did i say that i don't want to learn ruby?) | ||
| [2011/11/09 08:11:56] <Volcane> ruby is awesome :P | ||
| [2011/11/09 08:11:56] @ langworthy joined channel #puppet | ||
| [2011/11/09 08:12:01] <walkeran> Welcome back Volcane! | ||
| [2011/11/09 08:12:02] @ artista_frustrad joined channel #puppet | ||
| [2011/11/09 08:12:39] @ Quit: the_ramink: Ping timeout: 252 seconds | ||
| [2011/11/09 08:14:21] @ Quit: verwilst: Quit: Ex-Chat | ||
| [2011/11/09 08:14:59] @ dwalu joined channel #puppet | ||
| [2011/11/09 08:15:53] <Vide> does "undef" inherited change somehow its meaning? | ||
| [2011/11/09 08:15:59] @ Quit: nigelk_: Quit: leaving | ||
| [2011/11/09 08:16:00] @ Quit: nigelk: Quit: leaving | ||
| [2011/11/09 08:16:38] @ Quit: artista_frustrad: Ping timeout: 245 seconds | ||
| [2011/11/09 08:16:43] @ lkoranda joined channel #puppet | ||
| [2011/11/09 08:16:54] @ Quit: hal-j1: Ping timeout: 240 seconds | ||
| [2011/11/09 08:17:13] @ hal-j joined channel #puppet | ||
| [2011/11/09 08:18:05] @ nigelk joined channel #puppet | ||
| [2011/11/09 08:19:40] <jpalmer> Volcane: did you ever check out ascendos, after you saw my patches to facter? (I know you retweeted it, but wasn't sure if you tried it) | ||
| [2011/11/09 08:19:51] <erthad> where do conditionals get evaluated? master or agent? | ||
| [2011/11/09 08:20:00] @ Quit: iw__work: Quit: Leaving | ||
| [2011/11/09 08:20:06] @ Quit: pieter_: Quit: Ex-Chat | ||
| [2011/11/09 08:20:12] <fragfutter> i'm trying to write a puppet provider to handle gconf settings. does this http://pastie.org/2836972 make any sense? | ||
| [2011/11/09 08:23:03] @ aj__ joined channel #puppet | ||
| [2011/11/09 08:23:06] @ jaytaph_ joined channel #puppet | ||
| [2011/11/09 08:23:36] <hajile> Volcane: any idea why this doesn't work? http://pastebin.com/JA1hJecS | ||
| [2011/11/09 08:24:07] <hajile> the if/else in puppet doesn't seem to handle booleans nicely, just curious if you know why | ||
| [2011/11/09 08:24:21] @ lborda joined channel #puppet | ||
| [2011/11/09 08:24:36] <aj__> Hi could anyone help me with an error im getting : "Could not parse for environment production: Syntax error at '{'; expected '}' at /etc/puppet/manifests/nodes.pp" | ||
| [2011/11/09 08:24:53] @ eRefre joined channel #puppet | ||
| [2011/11/09 08:24:54] <fragfutter> aj__: pastie your nodes.pp | ||
| [2011/11/09 08:25:01] <aj__> working on it :P | ||
| [2011/11/09 08:25:08] @ Quit: samkottler: Quit: Leaving. | ||
| [2011/11/09 08:25:35] @ Quit: dwalu: Quit: dwalu | ||
| [2011/11/09 08:25:36] <hajile> i've modified the fact to return a string value instead, but it makes me feel dirty to have those extra lines in the fact script ;) | ||
| [2011/11/09 08:25:40] <tmz> hajile: facter returns the strings 'true' or 'false' rather than real booleans, so you have to test for $var == 'true' and such. | ||
| [2011/11/09 08:25:47] <hajile> oh. | ||
| [2011/11/09 08:25:53] <hajile> well that explains that | ||
| [2011/11/09 08:26:17] <hajile> nice | ||
| [2011/11/09 08:26:18] <hajile> thanks! | ||
| [2011/11/09 08:26:18] <tmz> Yeah, it's bitten more than a few people, I'm sure. I know it got me. | ||
| [2011/11/09 08:26:33] @ Quit: jaytaph: Ping timeout: 258 seconds | ||
| [2011/11/09 08:26:57] @ Quit: soh: Quit: Computer has gone to sleep. | ||
| [2011/11/09 08:27:05] @ craftytech joined channel #puppet | ||
| [2011/11/09 08:27:16] @ Stenbryggen joined channel #puppet | ||
| [2011/11/09 08:27:18] @ Quit: jaytaph_: Ping timeout: 240 seconds | ||
| [2011/11/09 08:27:31] @ kelseyhightower joined channel #puppet | ||
| [2011/11/09 08:29:11] @ artista_frustrad joined channel #puppet | ||
| [2011/11/09 08:29:26] <aj__> Cancel the request for help.. turns out i cant spell properly.. shouldnt have taken me this long to notice incorrect spelling.. Gah! Cheers!! | ||
| [2011/11/09 08:29:30] @ Quit: nigelk: Remote host closed the connection | ||
| [2011/11/09 08:29:55] @ soh joined channel #puppet | ||
| [2011/11/09 08:30:09] <erthad> hajile: you can just write File.exists?("/foo/bar").to_s to explicitely return string instead of boolean | ||
| [2011/11/09 08:30:18] @ Quit: jbraeuer: Quit: jbraeuer | ||
| [2011/11/09 08:30:31] <ali3n0> hey guys… is there a change to get my hand on the "ensure => at_pub" t-shirt? | ||
| [2011/11/09 08:30:44] @ Quit: Phungis: Remote host closed the connection | ||
| [2011/11/09 08:30:57] <hajile> well returning the boolean is OK, since facter will just convert it to a string | ||
| [2011/11/09 08:31:00] @ Phungis joined channel #puppet | ||
| [2011/11/09 08:31:19] @ p3rror joined channel #puppet | ||
| [2011/11/09 08:31:28] <hajile> i just changed it to a single line which is "File.exists? file_name" | ||
| [2011/11/09 08:32:25] @ jbraeuer joined channel #puppet | ||
| [2011/11/09 08:32:40] @ Quit: aj__: Quit: Leaving | ||
| [2011/11/09 08:32:40] @ adimania joined channel #puppet | ||
| [2011/11/09 08:33:42] @ Quit: artista_frustrad: Ping timeout: 240 seconds | ||
| [2011/11/09 08:34:16] <erthad> walkeran: it seems that if I define classes but not include them (i.e. put class {"blah":} in manifest instead of include) they get into catalogue at once before being evaluated and I can check for Class['blah'] resource presence in any order | ||
| [2011/11/09 08:34:44] <erthad> but to make sure they are evaluated in right order I'll have to require them explicitely anyway | ||
| [2011/11/09 08:35:23] <erthad> and I might have to patch hiera_include to use defines instead of includes | ||
| [2011/11/09 08:35:33] <TuxOtaku> hey, how do I pull files from a filebucket and send them to a node? | ||
| [2011/11/09 08:35:43] @ Quit: raphdg: Remote host closed the connection | ||
| [2011/11/09 08:36:09] @ Quit: Phungis: Remote host closed the connection | ||
| [2011/11/09 08:36:30] @ Phungis joined channel #puppet | ||
| [2011/11/09 08:37:21] @ Quit: ckauhaus: Ping timeout: 244 seconds | ||
| [2011/11/09 08:37:57] @ zwi joined channel #puppet | ||
| [2011/11/09 08:38:49] @ Quit: kermit: Quit: Leaving. | ||
| [2011/11/09 08:39:04] @ kermit joined channel #puppet | ||
| [2011/11/09 08:39:57] @ tnguyen joined channel #puppet | ||
| [2011/11/09 08:39:59] @ tnguyen left channel #puppet () | ||
| [2011/11/09 08:41:58] @ Quit: jbraeuer: Quit: jbraeuer | ||
| [2011/11/09 08:42:21] @ ken_barber1 joined channel #puppet | ||
| [2011/11/09 08:43:05] <hajile> anyone know if this will work? :) http://pastebin.com/XxcCvJcQ | ||
| [2011/11/09 08:43:28] <_rc> what happened when you tried it? | ||
| [2011/11/09 08:44:11] <hajile> i'm just asking to save myself from breaking puppet.conf on all my hosts :) | ||
| [2011/11/09 08:44:12] <dym> Hey - im having trouble with authorizing a client host. i can run the puppetd command --waitforcert 30 on the client and after running puppetca --list on the master, i get blanks - any idea? | ||
| [2011/11/09 08:44:34] <_rc> just break it on your test hosts | ||
| [2011/11/09 08:44:40] @ Quit: rew: Remote host closed the connection | ||
| [2011/11/09 08:44:40] <TuxOtaku> hey, how do I pull files from a filebucket and send them to a node? | ||
| [2011/11/09 08:45:26] @ Quit: adimania: Ping timeout: 260 seconds | ||
| [2011/11/09 08:45:30] @ Chesther joined channel #puppet | ||
| [2011/11/09 08:45:43] @ Quit: ken_barber: Ping timeout: 258 seconds | ||
| [2011/11/09 08:46:30] <ghanima> hello all.. a friend of mine just told me about a puppet gem module | ||
| [2011/11/09 08:46:38] <ghanima> just curious if anyone has any exposure with it | ||
| [2011/11/09 08:46:48] @ artista_frustrad joined channel #puppet | ||
| [2011/11/09 08:46:54] @ kaptk2 joined channel #puppet | ||
| [2011/11/09 08:48:24] @ gob_bluth left channel #puppet () | ||
| [2011/11/09 08:49:20] <_rc> do you mean installing puppet from gems, or using puppet to install gems? | ||
| [2011/11/09 08:49:21] @ neonflux joined channel #puppet | ||
| [2011/11/09 08:49:22] @ Quit: soh: Quit: Computer has gone to sleep. | ||
| [2011/11/09 08:49:27] <hajile> i wish there was something like irb for testing templates | ||
| [2011/11/09 08:49:29] <hajile> that would be hot. | ||
| [2011/11/09 08:49:47] <windowsrefund> there is | ||
| [2011/11/09 08:49:51] <windowsrefund> it's called erb | ||
| [2011/11/09 08:49:54] <erthad> hajile: are you sure you can use puppet functions inside ruby? | ||
| [2011/11/09 08:49:55] <ghanima> _rc: I mean this http://rubygems.org/gems/puppet-module | ||
| [2011/11/09 08:50:11] <hajile> wow, do i feel like an idiot | ||
| [2011/11/09 08:50:32] <_rc> oh, the 'puppet module tool' | ||
| [2011/11/09 08:50:41] <hajile> is that for real or are you full of shit | ||
| [2011/11/09 08:50:46] @ chadskidmore joined channel #puppet | ||
| [2011/11/09 08:51:11] <_rc> hajile: ahem. | ||
| [2011/11/09 08:51:13] <hajile> hmm | ||
| [2011/11/09 08:51:13] <hajile> haha | ||
| [2011/11/09 08:51:19] @ ezryx_ joined channel #puppet | ||
| [2011/11/09 08:51:24] @ Quit: ezryx: Read error: Connection reset by peer | ||
| [2011/11/09 08:51:32] @ Quit: artista_frustrad: Ping timeout: 256 seconds | ||
| [2011/11/09 08:51:38] <_rc> try to avoid phrases like "full of shit" when you're getting free information | ||
| [2011/11/09 08:51:43] <hajile> um | ||
| [2011/11/09 08:52:19] <stahnma> ghanima: what would you like to know about puppet module tool? | ||
| [2011/11/09 08:52:20] <hajile> why? :) | ||
| [2011/11/09 08:52:25] @ kenperkins joined channel #puppet | ||
| [2011/11/09 08:52:50] <walkeran> hajile: Not only for other people's sake... but for your sake. Chances are, anyone helping you will just quit helping you | ||
| [2011/11/09 08:52:57] <hajile> fair enough | ||
| [2011/11/09 08:53:12] <ghanima> stahnma: From what I read and I must admit I am still coming up to speed it is a method to either download existing modules from the puppet forge or construct your own... I am curious if using this gem to construct modules has been known to be easier than the traditional route | ||
| [2011/11/09 08:53:22] <hajile> i guess i've gotten my fair share of insulting answers when i've asked a valid question | ||
| [2011/11/09 08:53:25] <ghanima> stahnma: Also just curious about people's impression of it | ||
| [2011/11/09 08:53:39] <hajile> whereas i'm happy to help whenever i can, even if someone is being stupid | ||
| [2011/11/09 08:53:41] @ Quit: hobbeswalsh: Quit: hobbeswalsh | ||
| [2011/11/09 08:53:45] <stahnma> ghanima: depends on what you want to do with it | ||
| [2011/11/09 08:53:48] @ Quit: MartVisser: Quit: This computer has gone to sleep | ||
| [2011/11/09 08:54:03] <stahnma> ghanima: it's good at downloading modules | ||
| [2011/11/09 08:54:19] <stahnma> you can use it to scaffold modules...though I haven't done that much | ||
| [2011/11/09 08:54:29] <hajile> erthad: ahhh, i'm guessing i can't | ||
| [2011/11/09 08:54:30] <stahnma> it allows your modules to have some metadata in json format | ||
| [2011/11/09 08:54:35] <_rc> ghanima: it works. I still make most of my modules by hand as mkdir -p module/{manifests,templates,files} is just finger memory | ||
| [2011/11/09 08:54:39] @ dnjaramba joined channel #puppet | ||
| [2011/11/09 08:54:52] <stahnma> it allows you to upload modules to the forge too, I think | ||
| [2011/11/09 08:54:53] <hajile> i guess i can just do a ruby comparison | ||
| [2011/11/09 08:55:20] <stahnma> it's not all that sophisticated, I think we'll have some more features in it sometime in the next couple months | ||
| [2011/11/09 08:55:27] <stahnma> but it basically works for what it does | ||
| [2011/11/09 08:55:28] @ Quit: jodok: Quit: jodok | ||
| [2011/11/09 08:55:28] <cjz> hi all, anyone know the status of 2.7.7rc? | ||
| [2011/11/09 08:55:28] <stahnma> :) | ||
| [2011/11/09 08:55:30] <erthad> hajile: I'm not sure in that -- you possibly can | ||
| [2011/11/09 08:55:34] <stahnma> cjz: yeah | ||
| [2011/11/09 08:55:48] <stahnma> cjz: sent a mail about that yesterday to puppet-users (maybe 2 days ago) | ||
| [2011/11/09 08:55:51] @ trickyf left channel #puppet () | ||
| [2011/11/09 08:55:56] <erthad> hajile: if you can't you can compare strings puppet-side and cache the result in var for using that in your template | ||
| [2011/11/09 08:55:57] <stahnma> we have a couple bugs blocking to release rc2 | ||
| [2011/11/09 08:55:59] <hajile> walkeran: and don't get me wrong, i completely appreciate the help.. i just don't understand the attitude that it sometimes comes with :) we're all here to learn, eh.. I suppose it gets old answering the same questions day after day | ||
| [2011/11/09 08:56:05] @ Quit: Meier: Quit: Leaving. | ||
| [2011/11/09 08:56:16] @ Quit: Phungis: Remote host closed the connection | ||
| [2011/11/09 08:56:21] <walkeran> hajile: That, and I doubt that you've ever been cursed at when someone was answering you | ||
| [2011/11/09 08:56:27] <ghanima> _rc: thanks rc | ||
| [2011/11/09 08:56:30] <Volcane> hajile: often its not the questions but how its asked. | ||
| [2011/11/09 08:56:32] @ Phungis joined channel #puppet | ||
| [2011/11/09 08:56:35] <hajile> walkeran: hahaha, got me there. :) | ||
| [2011/11/09 08:56:37] <cjz> stahnma: saw that email, im interested in 9983.. and would love it sooner rather than later | ||
| [2011/11/09 08:56:44] <ghanima> stannma: Cool thanks | ||
| [2011/11/09 08:56:49] <hajile> Volcane: agreed on that.. | ||
| [2011/11/09 08:57:28] <hajile> so seriously, apologies to anyone I offended, I'll check out how to use erb to validate templates. | ||
| [2011/11/09 08:57:56] @ Quit: alanevans: Remote host closed the connection | ||
| [2011/11/09 08:57:58] @ ed2091 joined channel #puppet | ||
| [2011/11/09 08:58:22] <walkeran> hajile: You can use `erb` to validate erbs, but if you are expecting it to just automatically know facts and stuff that would normally be available to an erb being parsed by puppet, I don't know of a nice way | ||
| [2011/11/09 08:58:37] <walkeran> hajile: Personally, I just test it out in a different environment so as not to mess up my production hosts | ||
| [2011/11/09 08:58:40] <hajile> walkeran: oh, that's what I was hoping to figure out.. that's a bummer. | ||
| [2011/11/09 08:58:58] @ thisKat joined channel #puppet | ||
| [2011/11/09 08:59:24] <hajile> I have several environments, but changing the puppet.conf in this way could be painful if done wrong | ||
| [2011/11/09 08:59:33] <hajile> even if applied to only one of them | ||
| [2011/11/09 09:00:11] @ pmcarthur joined channel #puppet | ||
| [2011/11/09 09:01:02] @ Quit: Phungis: Remote host closed the connection | ||
| [2011/11/09 09:01:03] <walkeran> hajile: Out of curiosity, how do you use your environments? Do you have each envrionment pointing at a set of puppet modules that are similar, but differ only by changes that you have made and are planning on moving into production? Or do they differ greatly as far as what they supply to the nodes? (I realize that was worded terribly :S) | ||
| [2011/11/09 09:01:18] @ Phungis joined channel #puppet | ||
| [2011/11/09 09:02:10] <hajile> walkeran: Currently, I have a single "environment" (as it's defined in puppet), my modules are all templated/sourced based on where they're going | ||
| [2011/11/09 09:02:42] <hajile> we've talked about moving to using the puppet environments, but haven't gone down that road yet because we don't want to deal with possible discrepencies between dev/test/prod | ||
| [2011/11/09 09:02:49] @ Quit: langworthy: Quit: langworthy | ||
| [2011/11/09 09:02:55] <hajile> brb meeting | ||
| [2011/11/09 09:03:05] <Volcane> you can have multiple module paths | ||
| [2011/11/09 09:03:11] @ sumsuch joined channel #puppet | ||
| [2011/11/09 09:03:14] <Volcane> so you can have a set of common modules thats the same between environments | ||
| [2011/11/09 09:03:20] <Volcane> and have just the diffs in your environments | ||
| [2011/11/09 09:03:24] <Volcane> perhaps via a branch in your scm | ||
| [2011/11/09 09:03:32] <stahnma> cjz: let me check on that ticket | ||
| [2011/11/09 09:03:46] <cjz> stahnma: thank you :) | ||
| [2011/11/09 09:03:51] @ indigo joined channel #puppet | ||
| [2011/11/09 09:03:58] <stahnma> cjz: looks like its pending review | ||
| [2011/11/09 09:04:00] @ artista_frustrad joined channel #puppet | ||
| [2011/11/09 09:04:10] <cjz> yeah there is a pull request? | ||
| [2011/11/09 09:04:32] <stahnma> if you wanted to try out the fix, you could apply a patch: https://github.com/puppetlabs/puppet/pull/192.patch | ||
| [2011/11/09 09:04:34] @ nigelk joined channel #puppet | ||
| [2011/11/09 09:04:40] @ Quit: jongrocho: Remote host closed the connection | ||
| [2011/11/09 09:04:45] @ Quit: frostyno_: Remote host closed the connection | ||
| [2011/11/09 09:04:59] <cjz> oooh | ||
| [2011/11/09 09:05:03] <cjz> ill definitely do that | ||
| [2011/11/09 09:05:37] <indigo> if i have a step of a server build that should be interactive (for example, i want to prompt for a passphrase to encrypt a CA private key), what's a good solution? Can I do something that will raise an given error if a file doesn't exist? | ||
| [2011/11/09 09:05:44] <ed2091> Volcane: along that vein, the environments based on git branchs is cool http://puppetlabs.com/blog/ | ||
| [2011/11/09 09:06:41] <walkeran> ed2091: Yeah, it's nice that they did a blog post about that. It's strikingly similar to the environment I've set up where I work, and it works amazingly for us :) | ||
| [2011/11/09 09:06:54] <flipwork> so here's a good one | ||
| [2011/11/09 09:07:22] <flipwork> I use the ipaddress fact pretty often, but I've recently run into an issue with bonded interfaces | ||
| [2011/11/09 09:07:47] <flipwork> since bond0 comes before eth0 alphabetically, facter is using bond0's address | ||
| [2011/11/09 09:08:26] @ Quit: pmorillon: Quit: pmorillon | ||
| [2011/11/09 09:08:27] @ the_ramink joined channel #puppet | ||
| [2011/11/09 09:08:45] <flipwork> Now i have to figure out how to cycle through the ipaddress facts and find the right one | ||
| [2011/11/09 09:08:52] <ed2091> is eth0 not a slave of bond0? | ||
| [2011/11/09 09:08:54] <flipwork> Or i guess I could write a custom fact | ||
| [2011/11/09 09:09:15] <flipwork> ed2091: it is sometimes, sometimes it isn't | ||
| [2011/11/09 09:09:37] <ed2091> oh, yeah that sucks | ||
| [2011/11/09 09:09:41] <flipwork> sure does | ||
| [2011/11/09 09:09:47] @ astrostl joined channel #puppet | ||
| [2011/11/09 09:09:52] <flipwork> so I need to find a way to find the right ip on the right subnet | ||
| [2011/11/09 09:10:10] <astrostl> unless => "/bin/grep -q Permissive < <(/usr/sbin/getenforce)" doesn't work for me but unless => "/usr/sbin/getenforce | /bin/grep -q Permissive" does. why? | ||
| [2011/11/09 09:10:35] <astrostl> (both return 0 as expected from a bash prompt) | ||
| [2011/11/09 09:10:50] @ adimania joined channel #puppet | ||
| [2011/11/09 09:11:23] @ Quit: Phungis: Remote host closed the connection | ||
| [2011/11/09 09:12:01] @ Phungis joined channel #puppet | ||
| [2011/11/09 09:12:14] <stahnma> astrostl: you can also run selinuxenabled | ||
| [2011/11/09 09:12:17] <stahnma> it basically does that | ||
| [2011/11/09 09:12:18] <flipwork> can you override facts with different facts? | ||
| [2011/11/09 09:12:18] <stahnma> :) | ||
| [2011/11/09 09:12:24] <flipwork> like say I wanted to replace the ipaddress fact | ||
| [2011/11/09 09:12:28] <astrostl> cool for that, thx | ||
| [2011/11/09 09:12:41] <astrostl> any idea why bash input redirection doesn't work though? | ||
| [2011/11/09 09:13:18] @ fronlius joined channel #puppet | ||
| [2011/11/09 09:13:50] @ ccaum joined channel #puppet | ||
| [2011/11/09 09:13:50] <_rc> there's no guarantee the command will be run under a shell, and if it is, that that shell will be bash | ||
| [2011/11/09 09:14:44] <astrostl> even sh points to bash on rhel6 | ||
| [2011/11/09 09:15:23] @ seanh-ansca joined channel #puppet | ||
| [2011/11/09 09:15:29] <_rc> bash invoked as sh should behave differently to bash invoked as bash | ||
| [2011/11/09 09:15:52] @ jsm joined channel #puppet | ||
| [2011/11/09 09:16:00] @ Quit: ali3n0: Ping timeout: 258 seconds | ||
| [2011/11/09 09:16:32] <jsm> how do i see all the facter facts that are made available to the puppet agent? | ||
| [2011/11/09 09:16:42] <flipwork> jsm: facter -p | ||
| [2011/11/09 09:16:57] @ Quit: nevyn: Ping timeout: 276 seconds | ||
| [2011/11/09 09:17:08] <flipwork> can I replace a fact within a puppet module? | ||
| [2011/11/09 09:17:18] <jsm> flipwork: thanks :) | ||
| [2011/11/09 09:17:27] <flipwork> like say I wanted to replace the ipaddress fact with one that works better in our environment | ||
| [2011/11/09 09:17:45] @ cosman2001 joined channel #puppet | ||
| [2011/11/09 09:18:18] <_rc> you should be able to provide a fact resolution that's considered more relevant than the default one | ||
| [2011/11/09 09:18:27] @ nevyn joined channel #puppet | ||
| [2011/11/09 09:18:38] <_rc> what version of facter?? | ||
| [2011/11/09 09:18:45] <flipwork> any tips on doing that? | ||
| [2011/11/09 09:18:46] <flipwork> 1.5.8 | ||
| [2011/11/09 09:19:30] @ Quit: rutger_: Remote host closed the connection | ||
| [2011/11/09 09:20:09] <_rc> well there's the has_weight thingy, but I'm not sure when that got released | ||
| [2011/11/09 09:21:24] <flipwork> what about just replacing the fact completely. If I do a Facter.add(:ipaddress) that won't work right? | ||
| [2011/11/09 09:21:28] <flipwork> since it already exists | ||
| [2011/11/09 09:22:01] <_rc> what that does is it adds a new way for facter to resolve that fact | ||
| [2011/11/09 09:22:06] @ Quit: duerF: Quit: Leaving | ||
| [2011/11/09 09:22:24] <_rc> but it'll pick the one with the greater specifity | ||
| [2011/11/09 09:22:33] <flipwork> how might it know to use my new version over the old one? | ||
| [2011/11/09 09:22:53] <clustermagnet> guys, question about groups… i need to have wheel:x:10:root,user1,user2 … how would you recommend I do this? | ||
| [2011/11/09 09:23:10] <_rc> ok, the has_weight stuff was added in 1.6.0 | ||
| [2011/11/09 09:23:15] <flipwork> doh | ||
| [2011/11/09 09:23:22] <_rc> you could probably fake it if you know other facts | ||
| [2011/11/09 09:23:29] @ alanevans joined channel #puppet | ||
| [2011/11/09 09:23:53] <_rc> confine :fact => :someknownvalue | ||
| [2011/11/09 09:23:58] @ mrwacky42 joined channel #puppet | ||
| [2011/11/09 09:24:17] <flipwork> so there's already the confine :kernel => blah | ||
| [2011/11/09 09:24:30] <flipwork> if something has additional confines, will it take priority? | ||
| [2011/11/09 09:25:37] <_rc> yes, as the length property (weight in 1.6.0) of the potential resolution will be 1 | ||
| [2011/11/09 09:25:50] <_rc> the length is the number of confines | ||
| [2011/11/09 09:25:54] <flipwork> ahh | ||
| [2011/11/09 09:26:20] <flipwork> So i could just add an additional confine that always resolves true | ||
| [2011/11/09 09:26:26] <_rc> yeah | ||
| [2011/11/09 09:26:56] <flipwork> can I just do confine true => true? (new to ruby...clearly) | ||
| [2011/11/09 09:26:59] <_rc> that should make facter prefer your resolution when it comes to evaluate it | ||
| [2011/11/09 09:27:28] <_rc> you could confine :kernel => :blah twice I think | ||
| [2011/11/09 09:27:35] <flipwork> ah, good call | ||
| [2011/11/09 09:27:42] <_rc> https://github.com/puppetlabs/facter/blob/master/lib/facter/util/resolution.rb#L86 | ||
| [2011/11/09 09:28:06] <_rc> that's how it works in 1.6, cause I needed to be able to say environment variables were very special | ||
| [2011/11/09 09:28:24] <abetterlie> wc/ | ||
| [2011/11/09 09:28:24] @ abetterlie left channel #puppet () | ||
| [2011/11/09 09:28:31] <flipwork> _rc: that totally worked | ||
| [2011/11/09 09:28:35] <flipwork> _rc: you rule | ||
| [2011/11/09 09:28:39] @ Quit: mrwacky42: Ping timeout: 260 seconds | ||
| [2011/11/09 09:28:57] @ samkottler joined channel #puppet | ||
| [2011/11/09 09:29:00] <dym> Hey - im having trouble with authorizing a client host. i can run the puppetd command --waitforcert 30 on the client and after running puppetca --list on the master, i get blanks - any idea? | ||
| [2011/11/09 09:29:08] @ luckman212 joined channel #puppet | ||
| [2011/11/09 09:30:06] <_rc> if/when you move to facter 1.6 you can make that be 'has_weight 1_000_000' like the environment variables get https://github.com/puppetlabs/facter/blob/master/lib/facter/util/loader.rb#L92 | ||
| [2011/11/09 09:30:12] <indigo> dym: try running puppet agent --no-daemonize --test --waitforcert 30; it's more verbose. | ||
| [2011/11/09 09:30:22] <flipwork> awesome, thanks | ||
| [2011/11/09 09:30:32] <indigo> dym: i suspect the agent can't contact the master. | ||
| [2011/11/09 09:30:40] @ Quit: sdog: Quit: Leaving. | ||
| [2011/11/09 09:30:51] @ jsurfer joined channel #puppet | ||
| [2011/11/09 09:32:19] @ Quit: jedi4ever: Quit: jedi4ever | ||
| [2011/11/09 09:32:48] <indigo> is there an expression that evaluates to the attribute of some resource? Something like File['/whatever'].mode ? | ||
| [2011/11/09 09:33:28] <whack> indigo: nope | ||
| [2011/11/09 09:33:30] @ Quit: mogitaff: Quit: Leaving | ||
| [2011/11/09 09:33:48] <indigo> ok, then is there a way i can signal an error if a file does not exist? | ||
| [2011/11/09 09:35:20] <dym> indigo: http://pastebin.com/uZnabaw0 | ||
| [2011/11/09 09:36:12] <indigo> dym: doesn't look like a problem with certificates. | ||
| [2011/11/09 09:36:23] @ Quit: Phungis: Remote host closed the connection | ||
| [2011/11/09 09:36:24] @ Chesther left channel #puppet () | ||
| [2011/11/09 09:36:43] @ Phungis joined channel #puppet | ||
| [2011/11/09 09:37:23] <dym> indigo: okay - but does the puppetmaster have to be in a running state for it to work? | ||
| [2011/11/09 09:37:29] @ dwalu joined channel #puppet | ||
| [2011/11/09 09:37:53] <indigo> dym: for what to work? | ||
| [2011/11/09 09:38:02] <dym> well, that waitforcert call | ||
| [2011/11/09 09:38:08] <dym> why does the call crash? | ||
| [2011/11/09 09:38:23] <indigo> what makes you think it's crashing, and it has anything to do with --waitforcert? | ||
| [2011/11/09 09:38:35] <indigo> the problem is right there, on line 2 | ||
| [2011/11/09 09:38:39] <dym> could not retrieve catalog -> which catalog is this? | ||
| [2011/11/09 09:38:46] <dym> must obviously be something remote | ||
| [2011/11/09 09:38:49] <dym> as its "retrieving" | ||
| [2011/11/09 09:39:03] <dym> so i ask myself - where does the process look? | ||
| [2011/11/09 09:39:09] <dym> could strace it | ||
| [2011/11/09 09:39:16] <dym> but then again you could just tell me :D | ||
| [2011/11/09 09:39:17] @ peridot joined channel #puppet | ||
| [2011/11/09 09:39:21] <indigo> it couldn't retrieve the catalog because: "Could not find default node or by name with 'xxxx.login-center.eu, xxxx.login-center, equinox' on node xxxx.login-center.eu" | ||
| [2011/11/09 09:39:36] <indigo> did you define a default node or one by one of those names? | ||
| [2011/11/09 09:39:46] @ Quit: rcrowley: Quit: Computer has gone to sleep. | ||
| [2011/11/09 09:40:14] <dym> in puppet.conf on the client? | ||
| [2011/11/09 09:40:26] <dym> indigo: there i only defined server = in the puppetd section | ||
| [2011/11/09 09:40:34] <_rc> in any of your manifests on the puppetmaster | ||
| [2011/11/09 09:41:00] <indigo> dym: http://docs.puppetlabs.com/guides/language_guide.html#nodes | ||
| [2011/11/09 09:41:02] <dym> i thought the puppetmaster didnt have to know the client before the authentication negotiation | ||
| [2011/11/09 09:41:05] <_rc> it''s the puppetmaster saying "I don't know who you are to configure you" | ||
| [2011/11/09 09:41:06] @ hobbeswalsh joined channel #puppet | ||
| [2011/11/09 09:41:37] <indigo> dym: i don't know why you think you are hung up on authentication, but it doesn't seem to be the case. | ||
| [2011/11/09 09:42:04] <dym> indigo: so you think this is a post authentication thing? | ||
| [2011/11/09 09:42:08] <indigo> dym: yes. | ||
| [2011/11/09 09:42:17] <dym> i havent accepted or signed a cert - thats why :D | ||
| [2011/11/09 09:42:19] <dym> i think | ||
| [2011/11/09 09:42:35] <indigo> maybe you have autosigning enabled. | ||
| [2011/11/09 09:42:48] <indigo> or maybe you actually did sign the cert. | ||
| [2011/11/09 09:42:54] <dym> :D | ||
| [2011/11/09 09:42:56] <indigo> puppet cert --list --all | ||
| [2011/11/09 09:43:01] <dym> on master? | ||
| [2011/11/09 09:43:06] @ ianbrandt joined channel #puppet | ||
| [2011/11/09 09:43:10] <indigo> yes, on master | ||
| [2011/11/09 09:43:32] <dym> oh | ||
| [2011/11/09 09:43:37] <dym> there actually is a cert for the host | ||
| [2011/11/09 09:43:42] <dym> odd enough | ||
| [2011/11/09 09:43:51] <indigo> puppet cert --list will list only unsigned certs | ||
| [2011/11/09 09:44:00] <indigo> pupet cert --help :) | ||
| [2011/11/09 09:44:34] <indigo> maybe it's a suprising default | ||
| [2011/11/09 09:45:33] @ Quit: Boltsky: Quit: Computer has gone to sleep. | ||
| [2011/11/09 09:45:38] <peridot> puppet cert print <hostname> will show you the cert of a host if it's signed or ls /etc/puppet/ssl/ca/signed if that's where you keep ssl certs | ||
| [2011/11/09 09:46:06] @ Quit: st33v: Ping timeout: 260 seconds | ||
| [2011/11/09 09:46:09] @ dan__t joined channel #puppet | ||
| [2011/11/09 09:46:23] @ Quit: Phungis: Remote host closed the connection | ||
| [2011/11/09 09:46:40] @ Phungis joined channel #puppet | ||
| [2011/11/09 09:48:38] <dym> indigo: mhh - on the client i get a certificate verification error though. | ||
| [2011/11/09 09:48:42] <dym> I did erase some files. | ||
| [2011/11/09 09:48:52] <dym> How can I start over? remove all certs | ||
| [2011/11/09 09:48:57] <dym> oh, --help | ||
| [2011/11/09 09:49:19] <peridot> on the client you can remove the entire /var/lib/puppet/ssl directory and on the master puppet cert clean <clienthost> | ||
| [2011/11/09 09:50:55] @ Quit: kermit: Ping timeout: 252 seconds | ||
| [2011/11/09 09:50:56] @ Quit: Phungis: Remote host closed the connection | ||
| [2011/11/09 09:51:18] @ Phungis joined channel #puppet | ||
| [2011/11/09 09:52:34] @ jaytaph joined channel #puppet | ||
| [2011/11/09 09:53:06] @ Quit: jaytaph: Read error: Connection reset by peer | ||
| [2011/11/09 09:53:09] <dym> peridot: http://pastebin.com/UPgB4YPi | ||
| [2011/11/09 09:53:12] <dym> any idea on that one? | ||
| [2011/11/09 09:53:16] @ lak joined channel #puppet | ||
| [2011/11/09 09:53:17] @ Quit: lak: Changing host | ||
| [2011/11/09 09:53:17] @ lak joined channel #puppet | ||
| [2011/11/09 09:53:41] @ jaytaph joined channel #puppet | ||
| [2011/11/09 09:54:08] @ kermit joined channel #puppet | ||
| [2011/11/09 09:54:55] @ johnston joined channel #puppet | ||
| [2011/11/09 09:55:05] <jamesturnbull> d3c: sorry was asleep when you replied | ||
| [2011/11/09 09:55:08] @ Quit: ldlework: Read error: Connection reset by peer | ||
| [2011/11/09 09:55:14] <jamesturnbull> d3c: Puppet version? | ||
| [2011/11/09 09:55:20] <dym> jamesturnbull: sleep is no good! | ||
| [2011/11/09 09:55:27] <dym> bad habit | ||
| [2011/11/09 09:56:22] <peridot> did you sign it? are the dates on both servers aligned correctly? | ||
| [2011/11/09 09:56:29] @ Quit: cosman2001: Quit: cosman2001 | ||
| [2011/11/09 09:56:31] @ Quit: lak: Client Quit | ||
| [2011/11/09 09:57:12] <dym> peridot: i signed it but the time is off 2 minutes - would that cause trouble? | ||
| [2011/11/09 09:57:50] @ Quit: joshcooper: Quit: joshcooper | ||
| [2011/11/09 09:58:05] @ Quit: luckman212: Remote host closed the connection | ||
| [2011/11/09 09:58:32] @ toi joined channel #puppet | ||
| [2011/11/09 09:58:50] @ joshcooper joined channel #puppet | ||
| [2011/11/09 09:59:00] @ Quit: IndyMichaelB: Quit: IndyMichaelB | ||
| [2011/11/09 10:00:09] @ Quit: brtl: Quit: Leaving. | ||
| [2011/11/09 10:00:38] @ mitchellh joined channel #puppet | ||
| [2011/11/09 10:00:43] <hajile> walkeran: i'm back if you have questions | ||
| [2011/11/09 10:00:46] <peridot> dym: I don't really know. I just know that when I have trouble, I remove that directory and clean it on the master and it usually works. Here's a website you might want to peruse: http://projects.puppetlabs.com/projects/1/wiki/Certificates_And_Security | ||
| [2011/11/09 10:01:39] @ lak joined channel #puppet | ||
| [2011/11/09 10:01:40] @ Quit: lak: Changing host | ||
| [2011/11/09 10:01:40] @ lak joined channel #puppet | ||
| [2011/11/09 10:03:55] @ ldlework joined channel #puppet | ||
| [2011/11/09 10:04:42] @ larstobi joined channel #puppet | ||
| [2011/11/09 10:05:02] @ Quit: CAMIR: Read error: Connection reset by peer | ||
| [2011/11/09 10:05:24] <dym> peridot: http://pastebin.com/CUSRMK0Y - i re-signed now | ||
| [2011/11/09 10:06:06] <erthad> is it a bug (minor though) that for variables like $hostname deprecation warning is produced but not always? | ||
| [2011/11/09 10:06:13] <erthad> 2.7.6 | ||
| [2011/11/09 10:06:27] <dym> peridot: client side: http://pastebin.com/k4CzJdKs | ||
| [2011/11/09 10:07:37] @ Boltsky joined channel #puppet | ||
| [2011/11/09 10:08:18] <peridot> dym: If your client is behind by 2 minutes, the cert might not be usable for 2 minutes. | ||
| [2011/11/09 10:09:02] <peridot> try running the agent again | ||
| [2011/11/09 10:10:16] <dym> now i get the same error but just more instantly | ||
| [2011/11/09 10:10:26] <dym> could not retrieve catalog.... | ||
| [2011/11/09 10:11:01] <peridot> Someone with more experience will have to help you dym, sorry... | ||
| [2011/11/09 10:11:12] <dym> :| | ||
| [2011/11/09 10:11:12] <dym> ok | ||
| [2011/11/09 10:11:21] @ Quit: Phungis: Remote host closed the connection | ||
| [2011/11/09 10:11:39] @ Phungis joined channel #puppet | ||
| [2011/11/09 10:11:45] <agaffney> dym: check that the time (and timezone) match on the client and master | ||
| [2011/11/09 10:12:49] <jsm> can facter use hashes? | ||
| [2011/11/09 10:13:10] <agaffney> no | ||
| [2011/11/09 10:13:26] <agaffney> simple values only | ||
| [2011/11/09 10:13:29] <dym> agaffney: same error | ||
| [2011/11/09 10:14:37] <jsm> i suppose you could split a fact into the format you wanted though. | ||
| [2011/11/09 10:14:39] @ Quit: ezryx_: Remote host closed the connection | ||
| [2011/11/09 10:16:36] <Whoop> Hi, I'm trying to access the "type" fact within an erb template, however it spits out Puppet::Parser::TemplateWrapper - looks like its a reserved word? How can I get around this? | ||
| [2011/11/09 10:18:23] @ Quit: toi: Read error: Operation timed out | ||
| [2011/11/09 10:19:01] @ sdog joined channel #puppet | ||
| [2011/11/09 10:19:20] @ Kazuhiro joined channel #puppet | ||
| [2011/11/09 10:19:32] @ Kazuhiro left channel #puppet () | ||
| [2011/11/09 10:19:58] @ ezryx joined channel #puppet | ||
| [2011/11/09 10:21:19] @ hooper joined channel #puppet | ||
| [2011/11/09 10:21:26] <eric0> scope.lookupvar("type") | ||
| [2011/11/09 10:21:33] <Whoop> yeah, just figured that, thanks :) | ||
| [2011/11/09 10:21:41] * Whoop should rtfm | ||
| [2011/11/09 10:21:57] <eric0> further proof: procrastinate long enough and problems will solve themselves :D | ||
| [2011/11/09 10:22:05] <Whoop> indeed | ||
| [2011/11/09 10:26:14] @ jnewland joined channel #puppet | ||
| [2011/11/09 10:26:40] @ Quit: Phungis: Remote host closed the connection | ||
| [2011/11/09 10:26:56] @ Quit: smooth_p: Ping timeout: 260 seconds | ||
| [2011/11/09 10:26:58] @ Phungis joined channel #puppet | ||
| [2011/11/09 10:27:23] <alop> I'm writing a custom function, and I would like to see what's going on at run time, what's the equivalent of "echo" in a puppet function? | ||
| [2011/11/09 10:27:53] <dan__t> Hey, Volcane . Yesterday you said I could run standalone by pointing to site.pp. Looks like, though, Puppet is still trying to look for a server... I get: err: Could not request certificate: getaddrinfo: Name or service not known | ||
| [2011/11/09 10:28:06] <peridot> alop: I've just been raising an error instead. Would like to find out myself. | ||
| [2011/11/09 10:28:15] <alop> thanks | ||
| [2011/11/09 10:28:59] <Volcane> dan__t: your source params should be puppet:///foo/bar then | ||
| [2011/11/09 10:29:04] <Volcane> not puppet://server/foo/bar | ||
| [2011/11/09 10:29:36] @ williemach joined channel #puppet | ||
| [2011/11/09 10:29:49] <dan__t> hrm | ||
| [2011/11/09 10:30:14] <dan__t> What happens when running normally, distributed, not standalone? Does "puppet:///" resolve to server = ? | ||
| [2011/11/09 10:30:21] @ mcarpent joined channel #puppet | ||
| [2011/11/09 10:30:31] <Volcane> yes | ||
| [2011/11/09 10:30:45] <dan__t> I have no source => that specifies "puppet://foo" | ||
| [2011/11/09 10:31:02] <Volcane> and you're using puppet apply not puppetd or puppet agent right? | ||
| [2011/11/09 10:31:08] <dan__t> :) | ||
| [2011/11/09 10:31:28] <dan__t> negative. | ||
| [2011/11/09 10:31:33] <dan__t> it works. | ||
| [2011/11/09 10:31:37] @ anveo joined channel #puppet | ||
| [2011/11/09 10:31:45] @ Quit: anveo: Client Quit | ||
| [2011/11/09 10:32:06] @ Quit: bosszaru: Ping timeout: 240 seconds | ||
| [2011/11/09 10:32:24] <eric0> alop: i believe you can use any of 'debug','notice','info', etc to log at the appropriate level on the master | ||
| [2011/11/09 10:32:45] @ Quit: thisKat: Quit: Computer has gone to sleep. | ||
| [2011/11/09 10:32:54] @ Quit: lkoranda: Quit: Ex-Chat | ||
| [2011/11/09 10:33:00] @ Quit: kelseyhightower: Ping timeout: 276 seconds | ||
| [2011/11/09 10:33:24] @ langworthy joined channel #puppet | ||
| [2011/11/09 10:33:49] @ cosman2001 joined channel #puppet | ||
| [2011/11/09 10:34:39] <dym> peridot: next client - http://pastebin.com/iJewEaGj | ||
| [2011/11/09 10:34:45] <dym> is seem to be jumping from error to error :D | ||
| [2011/11/09 10:34:46] <dan__t> thank you, Volcane. | ||
| [2011/11/09 10:35:36] @ toi joined channel #puppet | ||
| [2011/11/09 10:36:31] <peridot> dym: do you use webrick, mongrel, passenger? | ||
| [2011/11/09 10:36:54] @ Quit: Phungis: Remote host closed the connection | ||
| [2011/11/09 10:37:06] @ Phungis joined channel #puppet | ||
| [2011/11/09 10:38:32] <alop> can I use notice/notify inside a function? | ||
| [2011/11/09 10:38:55] @ Quit: fronlius: Quit: fronlius | ||
| [2011/11/09 10:39:18] @ Quit: jsurfer: Remote host closed the connection | ||
| [2011/11/09 10:39:19] <dan__t> Volcane, looks like extlookup_datadir is messing me up. It's pointed to /etc/puppet/manifests/extdata, but the puppet module/manifest dir is right now under /opt/foo. Can I override extlookup_datadir from command-line to apply this? | ||
| [2011/11/09 10:39:35] <dym> peridot: excuse me? :D | ||
| [2011/11/09 10:39:38] @ Quit: ezryx: Remote host closed the connection | ||
| [2011/11/09 10:39:41] @ jsurfer joined channel #puppet | ||
| [2011/11/09 10:39:42] <dym> peridot: im using packaged puppet | ||
| [2011/11/09 10:39:45] <dym> (Debian) | ||
| [2011/11/09 10:39:52] <peridot> so webrick | ||
| [2011/11/09 10:39:56] <dym> i wanted to play around a bit before deployment | ||
| [2011/11/09 10:40:27] @ soh joined channel #puppet | ||
| [2011/11/09 10:41:42] <Volcane> dan__t: you can try: FACTER_extlookup_datadir=foo puppet apply.... | ||
| [2011/11/09 10:41:58] <dan__t> hmmm | ||
| [2011/11/09 10:42:43] <Volcane> this will make a fact - i dont know if it will do what u want though | ||
| [2011/11/09 10:42:47] <jsm> i currently have a defined resource that takes a hash as a parameter. i'd like to make it a little more flexible in such a way that it can also just take a set of 3 variables. i could just copy the entire define, but that seems hacky. | ||
| [2011/11/09 10:43:03] <jsm> those variables would just be strings | ||
| [2011/11/09 10:43:08] <dan__t> "Cannot reassign variable extlookup_datadir at...>" | ||
| [2011/11/09 10:43:16] @ Quit: ken_barber1: Quit: Leaving. | ||
| [2011/11/09 10:45:29] <jsm> alternately, could a defined resource do an include on a parameterized class? | ||
| [2011/11/09 10:47:01] @ Quit: Rince: Ping timeout: 240 seconds | ||
| [2011/11/09 10:47:08] @ bosszaru joined channel #puppet | ||
| [2011/11/09 10:47:14] <Volcane> dan__t: guess you can wrap it in an if in your site.pp and not try to redefine? | ||
| [2011/11/09 10:48:08] @ Rince joined channel #puppet | ||
| [2011/11/09 10:48:08] @ Quit: Rince: Changing host | ||
| [2011/11/09 10:48:08] @ Rince joined channel #puppet | ||
| [2011/11/09 10:51:50] @ Quit: Phungis: Remote host closed the connection | ||
| [2011/11/09 10:52:26] @ Phungis joined channel #puppet | ||
| [2011/11/09 10:52:45] @ jsurfer_ joined channel #puppet | ||
| [2011/11/09 10:53:45] <jsm> is there a way to tell if a variable is a hash? | ||
| [2011/11/09 10:54:14] @ Quit: dnjaramba: | ||
| [2011/11/09 10:54:30] <alop> Volcane: when using template_for, where does the function look for the sources? No matter what I try, I keep getting "No match found for..." | ||
| [2011/11/09 10:54:47] @ thisKat joined channel #puppet | ||
| [2011/11/09 10:55:49] @ gebi joined channel #puppet | ||
| [2011/11/09 10:55:54] @ Quit: jsurfer: Ping timeout: 260 seconds | ||
| [2011/11/09 10:55:54] @ jsurfer_ is now known as jsurfer | ||
| [2011/11/09 10:56:13] <alop> when I use the example in the pastie, template_for("puppet:///module/file.erb") I get Error 400 Invalid module name; module names must be alphanumeric (plus '-'), not 'puppet:' | ||
| [2011/11/09 10:56:41] @ christophermlee joined channel #puppet | ||
| [2011/11/09 10:56:51] <Volcane> it cant take puppet://... urls | ||
| [2011/11/09 10:57:53] @ Quit: pugnacity: Ping timeout: 245 seconds | ||
| [2011/11/09 10:57:54] @ Quit: ccaum: Ping timeout: 256 seconds | ||
| [2011/11/09 10:58:04] <flipwork> alop: template('module/file.erb') | ||
| [2011/11/09 10:58:14] <alop> ok, then when I specify it just as I would a standard template, it raises the no Match error | ||
| [2011/11/09 10:58:34] <justintime> I think I'm running into an order-of-inclusion issue. I want to add firewall rules for ssh, only if I've assigned the iptables class to a node. So in ssh::config, I have: http://www.pastie.org/2837664 | ||
| [2011/11/09 10:58:52] <justintime> That's an exact copy of what's in apache::config. | ||
| [2011/11/09 10:59:08] @ Quit: peridot: Quit: bye! | ||
| [2011/11/09 10:59:13] <justintime> When I run the puppet client, it builds a rule for apache, but not ssh. | ||
| [2011/11/09 10:59:25] @ otaku_coder joined channel #puppet | ||
| [2011/11/09 10:59:32] <justintime> How do people deal with that sort of thing? | ||
| [2011/11/09 10:59:33] @ negronjl joined channel #puppet | ||
| [2011/11/09 11:00:17] @ Quit: astrostl: | ||
| [2011/11/09 11:00:27] @ Quit: lak: Quit: Leaving. | ||
| [2011/11/09 11:00:29] <dan__t> Volcane, maybe I can, sure. I'll look for a fact from env called FACTER_extlookup_datadir_override or something | ||
| [2011/11/09 11:00:37] @ Quit: soh: Quit: Computer has gone to sleep. | ||
| [2011/11/09 11:01:05] @ Chillax joined channel #puppet | ||
| [2011/11/09 11:02:13] @ kelseyhightower joined channel #puppet | ||
| [2011/11/09 11:03:50] @ Quit: thisKat: Quit: Computer has gone to sleep. | ||
| [2011/11/09 11:04:34] @ thisKat joined channel #puppet | ||
| [2011/11/09 11:04:46] @ Quit: Chillax: Changing host | ||
| [2011/11/09 11:04:46] @ Chillax joined channel #puppet | ||
| [2011/11/09 11:05:37] @ lak joined channel #puppet | ||
| [2011/11/09 11:05:38] @ Quit: lak: Changing host | ||
| [2011/11/09 11:05:39] @ lak joined channel #puppet | ||
| [2011/11/09 11:06:42] @ Quit: samkottler: Quit: Leaving. | ||
| [2011/11/09 11:06:59] @ Quit: Phungis: Remote host closed the connection | ||
| [2011/11/09 11:07:19] @ Phungis joined channel #puppet | ||
| [2011/11/09 11:09:01] @ Quit: artista_frustrad: Ping timeout: 240 seconds | ||
| [2011/11/09 11:10:25] @ Chillax_ joined channel #puppet | ||
| [2011/11/09 11:10:25] @ Djelibeybi joined channel #puppet | ||
| [2011/11/09 11:10:32] @ Quit: Djelibeybi: Changing host | ||
| [2011/11/09 11:10:32] @ Djelibeybi joined channel #puppet | ||
| [2011/11/09 11:10:52] @ Quit: jsurfer: Remote host closed the connection | ||
| [2011/11/09 11:10:54] @ Quit: Chillax: Ping timeout: 240 seconds | ||
| [2011/11/09 11:11:03] @ pugnacity joined channel #puppet | ||
| [2011/11/09 11:11:16] @ jsurfer joined channel #puppet | ||
| [2011/11/09 11:11:57] @ ckauhaus joined channel #puppet | ||
| [2011/11/09 11:15:18] @ ^scott^_ is now known as ^scott^ | ||
| [2011/11/09 11:15:45] @ bmahe joined channel #puppet | ||
| [2011/11/09 11:15:46] @ Quit: bmahe: Changing host | ||
| [2011/11/09 11:15:46] @ bmahe joined channel #puppet | ||
| [2011/11/09 11:18:48] <gepetto> ::redmine:: Wiki edit: Downloading_Puppet (#116) @ http://projects.puppetlabs.com/projects/puppet/wiki/Downloading_Puppet?version=116 (by Matthaus Litteken) | ||
| [2011/11/09 11:19:58] @ soh joined channel #puppet | ||
| [2011/11/09 11:20:12] @ Quit: hobbeswalsh: Quit: hobbeswalsh | ||
| [2011/11/09 11:21:25] @ Quit: ChikuLinu__: Ping timeout: 240 seconds | ||
| [2011/11/09 11:21:44] <walkeran> hajile: Oh, hi... sorry I was taking a lunch break. I was just curious how you had your environments set up such that you wouldn't be able to make a change in a new and/or testing environment and not have it apply to more than the one host you wanted to test it on. But, it sounds like you are working towards that :) | ||
| [2011/11/09 11:22:45] <hajile> walkeran: Well, the way we've handled this in the past is via branching in git. Overall, most of the time we're fine having all of our environments contain the same puppet tree. | ||
| [2011/11/09 11:23:12] @ IndyMichaelB joined channel #puppet | ||
| [2011/11/09 11:23:16] <walkeran> hajile: Ah, yeah, that's how we do it here too.. dynamic environments that are deployed/destroyed by git hooks | ||
| [2011/11/09 11:23:23] <hajile> yep | ||
| [2011/11/09 11:23:29] <christophermlee> i am looking to convert our current manual process of adding network interfaces to a box to puppet. I don't want to hard code ip info into a module. I am looking at ext_lookup or hiera as a solution, does anyone know of any examples of network interface with exteral values? | ||
| [2011/11/09 11:23:55] <hajile> this was super helpful when testing the 2.7.6 upgrade | ||
| [2011/11/09 11:24:23] <walkeran> hajile: As well as, I have a couple static environments set up that are in my working tree... so whenever I want to test something out that's not necessarily going to get shared with the rest of the team, I just pop up a new branch in my home folder, switch to it, make a quick change, and then "puppet agent -t --environment walkeran" on some host | ||
| [2011/11/09 11:24:40] <walkeran> hajile: Yeah. I don't really know how I managed before puppet environments :P | ||
| [2011/11/09 11:24:47] <walkeran> I guess I wrecked things a lot... that's how | ||
| [2011/11/09 11:24:57] <hajile> I really need to learn more about puppet environments | ||
| [2011/11/09 11:25:39] @ Quit: kerframil: Ping timeout: 276 seconds | ||
| [2011/11/09 11:25:48] <hajile> i just need to sit down and read pro puppet cover to cover | ||
| [2011/11/09 11:26:01] <hajile> I bought it, might as well make use of my already spent money :) | ||
| [2011/11/09 11:26:12] <walkeran> hajile: Yeah... that benefitted (is that a word?) me enormously | ||
| [2011/11/09 11:26:57] <hajile> Unfortunately, I have limited reading time.. so I'm reading game of thrones instead ;) | ||
| [2011/11/09 11:27:09] <hajile> all in good time | ||
| [2011/11/09 11:27:24] <walkeran> :) | ||
| [2011/11/09 11:27:32] <hajile> interesting | ||
| [2011/11/09 11:28:03] @ KaiserBeto joined channel #puppet | ||
| [2011/11/09 11:28:22] @ Quit: ckauhaus: Ping timeout: 244 seconds | ||
| [2011/11/09 11:28:30] @ Quit: adimania: Ping timeout: 240 seconds | ||
| [2011/11/09 11:28:52] @ fronlius joined channel #puppet | ||
| [2011/11/09 11:29:33] @ jsurfer_ joined channel #puppet | ||
| [2011/11/09 11:29:51] <hajile> woohoo! | ||
| [2011/11/09 11:30:05] <hajile> success on all fronts | ||
| [2011/11/09 11:30:13] <walkeran> hajile: Got your template doing what you want? | ||
| [2011/11/09 11:30:15] <otaku_coder> hi, does anyone know what this error means ? - err: Could not retrieve catalog from remote server: Error 400 on SERVER: Failed when searching for node | ||
| [2011/11/09 11:30:29] <hajile> yup, and have my yum module nice and tidy | ||
| [2011/11/09 11:30:35] @ cek joined channel #puppet | ||
| [2011/11/09 11:30:35] <walkeran> otaku_coder: You don't have a node set up for that hostname... and you don't have a "default" node | ||
| [2011/11/09 11:30:36] @ Chillax_ is now known as Chillax | ||
| [2011/11/09 11:30:41] @ Quit: Chillax: Changing host | ||
| [2011/11/09 11:30:41] @ Chillax joined channel #puppet | ||
| [2011/11/09 11:30:42] <hajile> the yum module was the one i was having trouble with the custom fact | ||
| [2011/11/09 11:30:45] <walkeran> hajile: Grats :) | ||
| [2011/11/09 11:30:47] <cek> Dynamic lookup of $sa_plugins at local.cf:4 is deprecated. What's considired a non-dyn lookup in templates? | ||
| [2011/11/09 11:30:51] <hajile> thanks for your help! | ||
| [2011/11/09 11:30:59] <hajile> and thanks to everyone else too :) | ||
| [2011/11/09 11:31:00] @ Quit: jsurfer: Read error: No route to host | ||
| [2011/11/09 11:31:00] @ jsurfer_ is now known as jsurfer | ||
| [2011/11/09 11:31:00] <cek> http://docs.puppetlabs.com/guides/templating.html clearly states that method of accessing vars | ||
| [2011/11/09 11:31:18] @ Quit: Fecn: Ping timeout: 252 seconds | ||
| [2011/11/09 11:31:18] <walkeran> cek: scope.lookupvar('$fully::scoped::var') | ||
| [2011/11/09 11:31:22] <otaku_coder> walkeran: thought so, thanks! Is there another way to define node definitions other than regex? e.g. ec2 instance tags? | ||
| [2011/11/09 11:31:30] @ Quit: iamchrisf: Quit: iamchrisf | ||
| [2011/11/09 11:31:46] @ ckauhaus joined channel #puppet | ||
| [2011/11/09 11:32:04] <cek> i don't want "fully::scoped". that's another layer of idiocy. is it possible to do just "$var" as the template is evaluated in var's scope ? | ||
| [2011/11/09 11:32:06] @ rtyler is now known as hair_brain | ||
| [2011/11/09 11:32:09] @ hair_brain is now known as rtyler | ||
| [2011/11/09 11:32:18] <hajile> sure, if you don't scope it, it'll work until 2.8 | ||
| [2011/11/09 11:32:20] <walkeran> otaku_coder: I've never done anything in ec2, so I have no idea. You can either do regex nodes, you can do exact node/host names, or you can do a default node... that's about all I know of. Or, you can use an ENC, and have your script do the logic and decide what classes to include | ||
| [2011/11/09 11:32:24] <cek> crap | ||
| [2011/11/09 11:32:26] <hajile> OR | ||
| [2011/11/09 11:32:44] <walkeran> cek: Idiocy? Dynamic scoping is idiocy... | ||
| [2011/11/09 11:32:44] <hajile> i guess if you wanted to get around it, you could assign the variable locally in the manifest and use that instead | ||
| [2011/11/09 11:32:52] <hajile> but it's still going to ask you to scope it | ||
| [2011/11/09 11:32:52] @ BManojlovic joined channel #puppet | ||
| [2011/11/09 11:32:53] @ Quit: BManojlovic: Changing host | ||
| [2011/11/09 11:32:53] @ BManojlovic joined channel #puppet | ||
| [2011/11/09 11:32:58] <otaku_coder> walkeran: ah ok, thanks for your help | ||
| [2011/11/09 11:33:00] <cek> what if I decide to change class' name, I will have to change all those parent scopes | ||
| [2011/11/09 11:33:02] <walkeran> otaku_coder: Yup! | ||
| [2011/11/09 11:33:06] <hajile> correct | ||
| [2011/11/09 11:33:17] @ adimania joined channel #puppet | ||
| [2011/11/09 11:33:18] @ Quit: poison_: Remote host closed the connection | ||
| [2011/11/09 11:33:19] <cek> that's shitload of useless work. | ||
| [2011/11/09 11:33:20] <hajile> that said | ||
| [2011/11/09 11:33:36] <hajile> if it's a variable that is depended on by multiple modules, you should just make it a custom fact at the top level | ||
| [2011/11/09 11:33:43] <walkeran> cek: Why would you change your class name? :P I'd much rather that, than change something, and all of a sudden have it pulling a variable dynamically from somewhere that I can't find | ||
| [2011/11/09 11:33:44] <hajile> that's just my opinion, may be wrong | ||
| [2011/11/09 11:33:44] @ poison joined channel #puppet | ||
| [2011/11/09 11:34:36] <cek> have you guys developed for really big deployments, containing hundeds of res types? | ||
| [2011/11/09 11:34:42] @ Quit: dgillies: Quit: Eaten by a grue | ||
| [2011/11/09 11:35:05] @ Fecn joined channel #puppet | ||
| [2011/11/09 11:35:06] <walkeran> nope | ||
| [2011/11/09 11:35:17] <cek> i have a class "postfix::spamassassin::spf", then I decide to move it to "postfix::spf". now i have to change all that underlying shit | ||
| [2011/11/09 11:35:52] <cek> i think it complicates things rahter than easens them | ||
| [2011/11/09 11:35:59] <walkeran> And you can do a find/replace across alllll of your modules AND erb files looking for postfix::spamassassin::spf::varname, and you're all better | ||
| [2011/11/09 11:36:33] <walkeran> I could be wrong, but the larger your environment/infrastructure, I would think you'd much rather have explicitness than things that are dynamic | ||
| [2011/11/09 11:37:20] @ Quit: fronlius: Ping timeout: 248 seconds | ||
| [2011/11/09 11:37:42] <cek> soon, we have a hitler stretching his hands from puppet installments strangling sysadmins. much like how happened with debian distro | ||
| [2011/11/09 11:37:47] @ Quit: craftytech: Ping timeout: 265 seconds | ||
| [2011/11/09 11:38:06] @ Quit: poison: Ping timeout: 240 seconds | ||
| [2011/11/09 11:38:19] @ Quit: jsurfer: Remote host closed the connection | ||
| [2011/11/09 11:38:48] @ jsurfer joined channel #puppet | ||
| [2011/11/09 11:39:52] <eric0> yes, refactoring your code is exactly like exterminating millions of jews. | ||
| [2011/11/09 11:40:23] <agaffney> the parallels are amazing | ||
| [2011/11/09 11:41:08] <misc> yeah, i wonder why they do not teach you that in university | ||
| [2011/11/09 11:41:43] <walkeran> misc: Yours didn't? That was practically taught to us as they were handing out the syllabus | ||
| [2011/11/09 11:42:17] <misc> walkeran: they just said that using a vcs was like doing terrorism | ||
| [2011/11/09 11:42:22] @ Quit: lak: Quit: Leaving. | ||
| [2011/11/09 11:42:37] <walkeran> misc: Oo.. I guess it's one-or-the-other, then... we didn't learn that one :) | ||
| [2011/11/09 11:44:23] @ simNIX joined channel #puppet | ||
| [2011/11/09 11:44:53] <cek> i'm not talking about dynscoping there. i want a clear access to the same scope variables | ||
| [2011/11/09 11:45:38] <cek> main moto of ruby (and other OO) is DRY. with that grand::parent::class its nowhere near that DRY | ||
| [2011/11/09 11:45:42] @ Quit: lborda: Ping timeout: 240 seconds | ||
| [2011/11/09 11:46:27] @ jab_doa joined channel #puppet | ||
| [2011/11/09 11:46:28] @ Quit: jab_doa: Changing host | ||
| [2011/11/09 11:46:28] @ jab_doa joined channel #puppet | ||
| [2011/11/09 11:46:40] <cek> we need to leave <%= var %> syntax, but look it up only in class' scope or inherited scope, that's all | ||
| [2011/11/09 11:46:42] @ Quit: Phungis: Remote host closed the connection | ||
| [2011/11/09 11:47:00] @ Phungis joined channel #puppet | ||
| [2011/11/09 11:47:03] @ smooth_p joined channel #puppet | ||
| [2011/11/09 11:47:10] <walkeran> cek: Hrmm. I was actually under the impression that it DID work like that | ||
| [2011/11/09 11:47:24] @ samkottler joined channel #puppet | ||
| [2011/11/09 11:47:32] <cek> walkeran, yes, it works, but my logs are full of those dynscope warnings | ||
| [2011/11/09 11:47:39] <walkeran> cek: In fact, I'm fairly certain that it does... if the var is defined in the class that invoked the erb, I could have sworn that it didn't throw a deprecation warning | ||
| [2011/11/09 11:47:55] <walkeran> Weird... ok, I guess I retract all the mean nasty evil things I said.. I agree that that should be fine | ||
| [2011/11/09 11:47:55] <cek> even though the var itself is declared right in scope that's invoking the template() | ||
| [2011/11/09 11:49:04] <flipwork> the ipaddress fact is a mother, so hard to define what it should do | ||
| [2011/11/09 11:49:23] <rodjek> return ip addresses? | ||
| [2011/11/09 11:49:35] <flipwork> which one? | ||
| [2011/11/09 11:49:57] <agaffney> eth0, of course! | ||
| [2011/11/09 11:50:03] <flipwork> I know what it does, but defining what it should do is harder | ||
| [2011/11/09 11:50:09] <agaffney> doesn't everybody have an eth0 and use it as the primary interface? | ||
| [2011/11/09 11:50:17] <flipwork> no? | ||
| [2011/11/09 11:50:25] <cek> it's the defacto standard | ||
| [2011/11/09 11:50:27] <walkeran> Then change the name of your interface! :) | ||
| [2011/11/09 11:50:27] * agaffney was being sarcastic | ||
| [2011/11/09 11:50:29] <flipwork> and besides, it doesn't return eth0 | ||
| [2011/11/09 11:50:30] <rodjek> i just use the ipaddress_<bleh> facts | ||
| [2011/11/09 11:50:36] @ fronlius joined channel #puppet | ||
| [2011/11/09 11:50:36] <rodjek> fuck the ipaddress fact | ||
| [2011/11/09 11:50:57] <flipwork> it returns the ip of the first alphabetically listed interface | ||
| [2011/11/09 11:51:14] <christophermlee> what if you use an external card on eth2 as your primary interface, we do with 10GB cards on some servers. | ||
| [2011/11/09 11:51:17] <flipwork> on a linux system that's usually the first ethX | ||
| [2011/11/09 11:52:01] <flipwork> but not always | ||
| [2011/11/09 11:52:07] <Volcane> the new nic naming stuff i going to really screw this up so badly :) | ||
| [2011/11/09 11:52:37] <rodjek> Volcane: bridges already screw this up badly :) | ||
| [2011/11/09 11:52:40] * flipwork will rewrite his fact when that happens | ||
| [2011/11/09 11:52:50] <flipwork> bridges, bonded interfaces | ||
| [2011/11/09 11:52:59] <Volcane> good luck to you, there's no right answer | ||
| [2011/11/09 11:53:07] <flipwork> its true | ||
| [2011/11/09 11:53:12] <rodjek> yeah | ||
| [2011/11/09 11:53:20] <walkeran> Maybe that's why the fact does it the way it does :P | ||
| [2011/11/09 11:53:33] <walkeran> The author finally said, "the heck with this!" | ||
| [2011/11/09 11:53:43] <rodjek> you could probably look for the default route, find which nic that goes out on then get the ip of that | ||
| [2011/11/09 11:53:47] <rodjek> at least it would be consistent | ||
| [2011/11/09 11:53:50] <flipwork> yeah | ||
| [2011/11/09 11:53:58] <flipwork> I was tempted to do that | ||
| [2011/11/09 11:54:19] <flipwork> and might still | ||
| [2011/11/09 11:55:01] <Volcane> you can have multiple default routes out multiple nics | ||
| [2011/11/09 11:55:08] <Volcane> with policies for which to choose or even round robin | ||
| [2011/11/09 11:55:08] <flipwork> i accept that some systems might not have a default route, it wouldn't work for everyone | ||
| [2011/11/09 11:55:15] <flipwork> but we don't do that | ||
| [2011/11/09 11:55:31] <Volcane> so this is the problem - its deceptively simple when you only think about how you do it :P | ||
| [2011/11/09 11:55:32] @ Quit: kelseyhightower: Quit: leaving | ||
| [2011/11/09 11:55:35] @ kelseyhightower_ joined channel #puppet | ||
| [2011/11/09 11:55:35] <flipwork> sure is | ||
| [2011/11/09 11:55:38] <Volcane> but there's always some crazy fucker | ||
| [2011/11/09 11:55:43] <cek> what | ||
| [2011/11/09 11:55:52] <flipwork> yeah, and that crazy fucker can write his own fact :-) | ||
| [2011/11/09 11:55:58] <Volcane> heh | ||
| [2011/11/09 11:56:06] <flipwork> like I'm doing | ||
| [2011/11/09 11:56:07] @ Quit: chadskidmore: Quit: Computer has gone to sleep. | ||
| [2011/11/09 11:56:51] <rodjek> in the long run, it's easier to just avoid using facts like that | ||
| [2011/11/09 11:57:10] @ Quit: thisKat: Quit: Computer has gone to sleep. | ||
| [2011/11/09 11:57:22] @ weloki joined channel #puppet | ||
| [2011/11/09 11:57:38] <flipwork> I'm open to suggestions for determining what IP to put in config files that need an IP | ||
| [2011/11/09 11:58:11] <rodjek> use the other ipaddress facts | ||
| [2011/11/09 11:58:35] <flipwork> that doesn't work if your nodes don't all have the same 'primary' interface | ||
| [2011/11/09 11:59:02] * rodjek <3s having a homogeneous environment | ||
| [2011/11/09 11:59:11] <flipwork> lucky you | ||
| [2011/11/09 11:59:23] @ shadoi joined channel #puppet | ||
| [2011/11/09 12:00:16] <dwalu> what is the explicit namespace for a facter variable?for example if I wanted to reference lsbdistcodename in a definition, would I use $::lsbdistcodename ? | ||
| [2011/11/09 12:00:18] <TuxOtaku> hey, I'm trying to set up puppet, but the agent isn't getting a cert from the master | ||
| [2011/11/09 12:00:18] <rodjek> use a regexp to discard any ipaddresses in reserved private ranges? | ||
| [2011/11/09 12:00:28] <rodjek> or do you have multiple nics with public ips on a machine | ||
| [2011/11/09 12:00:41] <rodjek> dwalu: correct | ||
| [2011/11/09 12:00:45] <flipwork> that only works if you use public ips anywhere :-) | ||
| [2011/11/09 12:00:51] <dwalu> rodjek: thanks! the namespace thing always trips me up | ||
| [2011/11/09 12:01:05] <rodjek> flipwork: hrrm | ||
| [2011/11/09 12:01:09] <flipwork> I'm going with the default route suggestion, that works for our environment | ||
| [2011/11/09 12:01:10] @ Quit: Wolfspyre: Quit: Leaving. | ||
| [2011/11/09 12:01:21] <flipwork> its not for everyone, but it works for me | ||
| [2011/11/09 12:01:44] <rodjek> cool | ||
| [2011/11/09 12:02:16] @ Quit: jsurfer: Remote host closed the connection | ||
| [2011/11/09 12:02:21] @ Quit: Phungis: Remote host closed the connection | ||
| [2011/11/09 12:02:25] <rodjek> you should submit it upstream as well, i imagine it would fit most peoples environments | ||
| [2011/11/09 12:02:35] @ Phungis joined channel #puppet | ||
| [2011/11/09 12:02:39] @ jsurfer joined channel #puppet | ||
| [2011/11/09 12:02:43] <flipwork> sure, I will | ||
| [2011/11/09 12:03:17] <dwalu> one last question, if I crate a define or a class with a required parameter, can I say define apt::pa($ppa_package = $title) and have that $ppa_package requirement be satisfied by the title of the call to the definition? | ||
| [2011/11/09 12:04:01] @ Quit: pugnacity: Ping timeout: 244 seconds | ||
| [2011/11/09 12:04:30] @ Quit: soh: Quit: Computer has gone to sleep. | ||
| [2011/11/09 12:05:53] @ lborda joined channel #puppet | ||
| [2011/11/09 12:06:22] <walkeran> dwalu: Yes. That does work | ||
| [2011/11/09 12:06:48] <hajile> has anyone used versioncmp() before? | ||
| [2011/11/09 12:07:12] <hajile> I'm trying to use versioncmp('2.6.0', $puppetversion) | ||
| [2011/11/09 12:07:21] <hajile> let me pastebin | ||
| [2011/11/09 12:07:22] @ Quit: Phungis: Remote host closed the connection | ||
| [2011/11/09 12:07:41] @ Phungis joined channel #puppet | ||
| [2011/11/09 12:08:13] <hajile> http://pastebin.com/7PdjKseP | ||
| [2011/11/09 12:08:27] @ pugnacity joined channel #puppet | ||
| [2011/11/09 12:08:34] <hajile> it's only using puppetmasterd/puppetd, even when puppetversion is 2.7.6 | ||
| [2011/11/09 12:09:48] @ soh joined channel #puppet | ||
| [2011/11/09 12:12:10] @ poison joined channel #puppet | ||
| [2011/11/09 12:12:18] @ Quit: Phungis: Remote host closed the connection | ||
| [2011/11/09 12:12:36] @ Phungis joined channel #puppet | ||
| [2011/11/09 12:14:36] @ hyde joined channel #puppet | ||
| [2011/11/09 12:15:49] @ Quit: negronjl: Ping timeout: 255 seconds | ||
| [2011/11/09 12:15:51] @ negronjl_ joined channel #puppet | ||
| [2011/11/09 12:17:05] @ verwilst joined channel #puppet | ||
| [2011/11/09 12:17:23] @ Quit: Phungis: Remote host closed the connection | ||
| [2011/11/09 12:18:01] @ Phungis joined channel #puppet | ||
| [2011/11/09 12:18:08] @ Quit: adimania: Read error: Connection reset by peer | ||
| [2011/11/09 12:18:22] @ Quit: cek: Ping timeout: 256 seconds | ||
| [2011/11/09 12:18:40] @ adimania joined channel #puppet | ||
| [2011/11/09 12:19:47] <hajile> argh | ||
| [2011/11/09 12:19:49] <hajile> this should be simple | ||
| [2011/11/09 12:21:09] @ Quit: soh: Ping timeout: 258 seconds | ||
| [2011/11/09 12:21:27] @ peridot joined channel #puppet | ||
| [2011/11/09 12:21:38] @ hobbeswalsh joined channel #puppet | ||
| [2011/11/09 12:23:14] <hajile> Nov 9 13:22:58 puppet puppet-agent[3161]: Starting Puppet client version 2.7.6 | ||
| [2011/11/09 12:23:18] <hajile> Nov 9 13:22:59 puppet puppet-master[29343]: (Scope(Class[Puppet::Params])) puppetversion = [0.25.5] | ||
| [2011/11/09 12:23:23] <hajile> haha, whiskey tango foxtrot, charlie | ||
| [2011/11/09 12:24:06] @ IndyMichaelB_ joined channel #puppet | ||
| [2011/11/09 12:24:45] <TuxOtaku> foxtrot uniform charlie kilo? | ||
| [2011/11/09 12:24:53] <hajile> indeed :) | ||
| [2011/11/09 12:25:08] <hajile> something is amiss here.. my puppetmaster is at 2.7.6, as is the client ON my puppetmaster | ||
| [2011/11/09 12:25:18] <hajile> yet the puppetverson fact is reporting 0.25.5 on this box | ||
| [2011/11/09 12:25:24] <hajile> puppetversion | ||
| [2011/11/09 12:25:41] @ soh joined channel #puppet | ||
| [2011/11/09 12:26:55] @ fredden joined channel #puppet | ||
| [2011/11/09 12:27:14] <hajile> so now this is even more strange.. if i determine the fact myself, via irb, it returns 2.7.6 properly | ||
| [2011/11/09 12:27:27] @ Quit: Phungis: Remote host closed the connection | ||
| [2011/11/09 12:27:28] @ Quit: IndyMichaelB: Ping timeout: 245 seconds | ||
| [2011/11/09 12:27:28] @ IndyMichaelB_ is now known as IndyMichaelB | ||
| [2011/11/09 12:27:30] @ Quit: samkottler: Quit: Leaving. | ||
| [2011/11/09 12:27:44] @ cr3 joined channel #puppet | ||
| [2011/11/09 12:27:46] @ Phungis joined channel #puppet | ||
| [2011/11/09 12:30:05] @ st33v joined channel #puppet | ||
| [2011/11/09 12:31:42] <hajile> are there any jenky problems with versioncmp? | ||
| [2011/11/09 12:31:54] @ samkottler joined channel #puppet | ||
| [2011/11/09 12:31:58] @ peridot left channel #puppet () | ||
| [2011/11/09 12:32:00] @ Quit: ssiefkas: Quit: ssiefkas | ||
| [2011/11/09 12:32:08] <hajile> i realize that's a broad question, but there seems to be something seriously jacked here | ||
| [2011/11/09 12:33:59] <blkperl> stahnma: is puppet-apt under the apache liscense? | ||
| [2011/11/09 12:34:33] @ cek joined channel #puppet | ||
| [2011/11/09 12:36:39] @ Quit: shog: Quit: Changing server | ||
| [2011/11/09 12:36:40] @ Quit: alop: Read error: Connection reset by peer | ||
| [2011/11/09 12:37:03] <TuxOtaku> I set up a puppet agent and it doesn't seem to be getting a cert from the master | ||
| [2011/11/09 12:37:30] @ Quit: rgsteele: Quit: ChatZilla 0.9.86.1 [Firefox 3.0.7/2009030423] | ||
| [2011/11/09 12:37:44] @ ezmobius joined channel #puppet | ||
| [2011/11/09 12:38:54] <dwalu> is it bad form to declare a package resource inside of a defined type? | ||
| [2011/11/09 12:39:47] <rodjek> dwalu: nope | ||
| [2011/11/09 12:39:49] <walkeran> dwalu: Depends on if the package resource is variable or not.. ie: if the resource name is static, or differs based on the name of the parent definition | ||
| [2011/11/09 12:40:04] <hajile> walkeran: holy crap man, do you have any idea why this is behaving this way | ||
| [2011/11/09 12:40:08] <hajile> this is mind boggling | ||
| [2011/11/09 12:40:15] <hajile> let me pastebin something | ||
| [2011/11/09 12:40:18] @ Quit: ckauhaus: Quit: Leaving. | ||
| [2011/11/09 12:40:20] @ Quit: hal-j: Quit: Leaving. | ||
| [2011/11/09 12:40:20] <walkeran> hajile: I have no idea, dude :) | ||
| [2011/11/09 12:40:51] <walkeran> I've kinda been following your trials and tribulations, but dared not pipe up, because I have noooo idea | ||
| [2011/11/09 12:40:52] @ hal-j joined channel #puppet | ||
| [2011/11/09 12:40:57] @ Quit: st33v: Quit: st33v | ||
| [2011/11/09 12:41:01] <hajile> crap | ||
| [2011/11/09 12:41:05] <hajile> it's really weird. | ||
| [2011/11/09 12:41:15] @ Quit: maes_: Read error: Connection reset by peer | ||
| [2011/11/09 12:42:26] @ maes_ joined channel #puppet | ||
| [2011/11/09 12:43:12] <hajile> the expiration time has passed for the fact on the server | ||
| [2011/11/09 12:43:33] <hajile> yet the file in /var/lib/puppet/yaml/node/<hostname>.yaml still has the old data | ||
| [2011/11/09 12:43:40] <christophermlee> what is the lastest versio on the 2.6.x release is it .12 or .11? | ||
| [2011/11/09 12:43:42] <hyde> In puppetmaster server, under [master] section, I have a few hostnames (including localhost) listed for certdnsnames. There is a new flag dns_alt_names, do I just need to replace certdnsnames with dns_alt_names on the puppetmaster /etc/puppet/puppet.conf file? | ||
| [2011/11/09 12:46:00] <hajile> it appears that the server is somehow caching these facts | ||
| [2011/11/09 12:46:49] <stahnma> christophermlee: 12 | ||
| [2011/11/09 12:47:10] <christophermlee> stahnma: thanks | ||
| [2011/11/09 12:47:40] <cosman2001> why doesn't puppet ignore facts that don't end in .rb | ||
| [2011/11/09 12:48:06] @ jongrocho joined channel #puppet | ||
| [2011/11/09 12:48:25] <cosman2001> puppet continues to spit out /var/lib/puppet/lib/puppet/type/README.markdown files | ||
| [2011/11/09 12:48:31] @ Quit: poison: Remote host closed the connection | ||
| [2011/11/09 12:48:32] <stahnma> cosman2001: in several situations, facts don't end in *.rb | ||
| [2011/11/09 12:48:33] <stahnma> like yaml | ||
| [2011/11/09 12:48:40] <stahnma> oh that issue | ||
| [2011/11/09 12:48:56] <stahnma> yeah, I *think* that has either recently been fixed or is in the backlog | ||
| [2011/11/09 12:49:41] <cosman2001> do you have the bug # | ||
| [2011/11/09 12:49:52] <stahnma> hajile: if you restart puppetmaster does it clear up the old fact cache? | ||
| [2011/11/09 12:50:10] @ poison joined channel #puppet | ||
| [2011/11/09 12:50:48] <stahnma> cosman2001: possibly...sec | ||
| [2011/11/09 12:51:04] @ rharrison joined channel #puppet | ||
| [2011/11/09 12:51:48] <hajile> stahnma: no :/ | ||
| [2011/11/09 12:53:15] <stahnma> cosman2001: I was thinking it was 6907, but that's not quite the right one | ||
| [2011/11/09 12:53:42] @ Quit: davewongillies: Read error: Operation timed out | ||
| [2011/11/09 12:53:50] <hajile> stahnma: any idea how to get these facts to refresh? | ||
| [2011/11/09 12:54:04] <stahnma> hajile: I'm trying to solve that problem in my subconscious :) | ||
| [2011/11/09 12:54:11] <hajile> haha ok | ||
| [2011/11/09 12:54:28] <hajile> i tried to blow away the facts and nodes yaml file for one of my test clients | ||
| [2011/11/09 12:54:37] <hajile> and that has resulted in serious issues | ||
| [2011/11/09 12:54:44] <hajile> now i can't get the fact files for that host to show up at all :) | ||
| [2011/11/09 12:56:56] <stahnma> cosman2001: http://projects.puppetlabs.com/issues/4135 | ||
| [2011/11/09 12:57:47] <stahnma> hajile: are you forwarding facts to an inventory service? | ||
| [2011/11/09 12:57:50] <stahnma> like dashboard? | ||
| [2011/11/09 12:58:07] <hajile> stahnma: no | ||
| [2011/11/09 12:58:51] @ djm68 joined channel #puppet | ||
| [2011/11/09 12:58:51] <stahnma> hmm | ||
| [2011/11/09 12:59:00] <stahnma> hajile: what's your puppet.conf look like | ||
| [2011/11/09 12:59:05] <hajile> 1 sec | ||
| [2011/11/09 12:59:33] <cosman2001> stahnma, thanks can that be back ported to 2.6.12+ | ||
| [2011/11/09 12:59:47] <stahnma> cosman2001: that I don't now | ||
| [2011/11/09 12:59:51] <stahnma> erer know | ||
| [2011/11/09 13:00:10] <cosman2001> I'll open a ticket referencing 4135 | ||
| [2011/11/09 13:00:50] @ althara joined channel #puppet | ||
| [2011/11/09 13:02:06] @ Quit: cruzfox: Quit: cruzfox | ||
| [2011/11/09 13:03:00] @ smooth_p_ joined channel #puppet | ||
| [2011/11/09 13:03:02] <hajile> hmmm | ||
| [2011/11/09 13:03:39] @ matchaw_ joined channel #puppet | ||
| [2011/11/09 13:04:19] @ Quit: matchaw_: Remote host closed the connection | ||
| [2011/11/09 13:04:57] @ cruzfox joined channel #puppet | ||
| [2011/11/09 13:05:09] <blkperl> stahnma: is puppet-apt under the apache liscense? | ||
| [2011/11/09 13:06:13] @ Quit: smooth_p: Ping timeout: 255 seconds | ||
| [2011/11/09 13:06:16] <hajile> i'll be right back | ||
| [2011/11/09 13:06:23] <hajile> i need to go play some foosball and get some of the rage out | ||
| [2011/11/09 13:06:25] <hajile> :) | ||
| [2011/11/09 13:06:39] @ Quit: flipwork: Quit: Lost terminal | ||
| [2011/11/09 13:07:15] @ mawser_ joined channel #puppet | ||
| [2011/11/09 13:07:15] @ Quit: mawser_: Client Quit | ||
| [2011/11/09 13:07:26] <hajile> stahnma: please let me know if you see anything strange! :) | ||
| [2011/11/09 13:07:28] <stahnma> adrient: maybe you can help hajile | ||
| [2011/11/09 13:07:29] <hajile> thanks in advance if you do | ||
| [2011/11/09 13:07:36] @ davewongillies joined channel #puppet | ||
| [2011/11/09 13:07:36] <stahnma> hajile: I have no idea :) | ||
| [2011/11/09 13:07:43] <hajile> haha darn :) | ||
| [2011/11/09 13:07:49] <stahnma> adrient knows much more about facter than i | ||
| [2011/11/09 13:07:52] <hajile> ok | ||
| [2011/11/09 13:07:53] <stahnma> blkperl: lemme check | ||
| [2011/11/09 13:07:54] @ paxos joined channel #puppet | ||
| [2011/11/09 13:08:15] @ lak joined channel #puppet | ||
| [2011/11/09 13:08:17] @ Quit: lak: Changing host | ||
| [2011/11/09 13:08:17] @ lak joined channel #puppet | ||
| [2011/11/09 13:08:41] <cosman2001> is the google groups puppet users slow for anybody else? | ||
| [2011/11/09 13:08:51] <stahnma> blkperl: looks like MIT | ||
| [2011/11/09 13:09:20] @ matchaw joined channel #puppet | ||
| [2011/11/09 13:09:25] <stahnma> hajile: the only time I remember seeing something similar to what you are seeing is when I updated facter without restarting puppet agent and masters | ||
| [2011/11/09 13:09:37] <adrient> hajile: I've seen a few cases where facter was returning multiple puppetversion values, and I believe that some of the time it was due to multiple versions of puppet installed or in the ruby load path | ||
| [2011/11/09 13:09:47] @ negronjl__ joined channel #puppet | ||
| [2011/11/09 13:09:51] <adrient> That could do it too | ||
| [2011/11/09 13:09:54] @ marksteele joined channel #puppet | ||
| [2011/11/09 13:10:05] @ Quit: negronjl__: Read error: Connection reset by peer | ||
| [2011/11/09 13:10:18] @ Quit: mawser: Ping timeout: 276 seconds | ||
| [2011/11/09 13:10:40] @ negronjl joined channel #puppet | ||
| [2011/11/09 13:10:58] <marksteele> hello, is puppet a good choice for automation of deployments to appliances? (I need to automate the process of deploying linux to a specific hardware build) | ||
| [2011/11/09 13:11:36] <marksteele> so every so often i'll have a batch of appliances to build. I'd like to rack, plug into the network and hit a button | ||
| [2011/11/09 13:12:04] @ trnzmeta joined channel #puppet | ||
| [2011/11/09 13:12:04] <marksteele> also a semi-related question, anyone using secstate integration with puppet? | ||
| [2011/11/09 13:12:54] @ Quit: negronjl_: Ping timeout: 258 seconds | ||
| [2011/11/09 13:13:03] <indigo> marksteele: insofar as that question can be answered without knowing any of your specific requirements, the answer is probably yes. | ||
| [2011/11/09 13:13:26] <blkperl> stahnma: thanks | ||
| [2011/11/09 13:13:32] @ Quit: matchaw: Remote host closed the connection | ||
| [2011/11/09 13:13:53] <blkperl> stahnma: will it be aligned with puppet and become apache? | ||
| [2011/11/09 13:14:24] <stahnma> blkperl: I am not sure at all | ||
| [2011/11/09 13:14:42] <blkperl> ok well thanks anyways | ||
| [2011/11/09 13:15:22] <blkperl> trying to get riseup labs to submit some pull requesets and they were curious what liscense was :) | ||
| [2011/11/09 13:15:37] @ Quit: hobbeswalsh: Quit: hobbeswalsh | ||
| [2011/11/09 13:16:19] @ Quit: jsurfer: Remote host closed the connection | ||
| [2011/11/09 13:16:23] <stahnma> MIT is pretty good for most people, it's what the majority of ruby stuff is under | ||
| [2011/11/09 13:16:42] @ jsurfer joined channel #puppet | ||
| [2011/11/09 13:16:46] @ siert joined channel #puppet | ||
| [2011/11/09 13:17:23] <marksteele> so nobody using secstate/openscap/puppet combo to manage application/remediation of security state? | ||
| [2011/11/09 13:17:59] @ ccaum joined channel #puppet | ||
| [2011/11/09 13:18:40] @ matchaw_ joined channel #puppet | ||
| [2011/11/09 13:19:19] @ Quit: fronlius: Quit: fronlius | ||
| [2011/11/09 13:21:04] @ iamchrisf joined channel #puppet | ||
| [2011/11/09 13:23:47] @ Holocaine joined channel #puppet | ||
| [2011/11/09 13:24:20] @ Quit: emergion: Quit: later... | ||
| [2011/11/09 13:24:55] @ emergion joined channel #puppet | ||
| [2011/11/09 13:26:09] @ flipwork joined channel #puppet | ||
| [2011/11/09 13:26:28] <hajile> interesting | ||
| [2011/11/09 13:26:37] <hajile> so i've restarted both my agent and my puppetmaster | ||
| [2011/11/09 13:27:23] @ Quit: Phungis: Remote host closed the connection | ||
| [2011/11/09 13:27:40] @ Phungis joined channel #puppet | ||
| [2011/11/09 13:27:55] <hajile> the only other possible issue i can think of is that i'm upgrading from 0.25.5 out of epel to 2.7.6 out of puppetlabs | ||
| [2011/11/09 13:27:58] @ Hypnoz joined channel #puppet | ||
| [2011/11/09 13:28:31] <hajile> adrient: any ideas for how to debug what's going on? | ||
| [2011/11/09 13:29:15] <hajile> or for how to force the cached information to be re-read | ||
| [2011/11/09 13:29:41] <hajile> also | ||
| [2011/11/09 13:29:49] @ Quit: jsurfer: Remote host closed the connection | ||
| [2011/11/09 13:30:14] @ jsurfer joined channel #puppet | ||
| [2011/11/09 13:31:09] <hajile> adrient: if i run irb, require 'puppet' and then look at the value of Puppet::PUPPETVERSION | ||
| [2011/11/09 13:31:15] <hajile> it returns the proper value | ||
| [2011/11/09 13:31:21] @ Quit: samkottler: Quit: Leaving. | ||
| [2011/11/09 13:31:52] @ hobbeswalsh joined channel #puppet | ||
| [2011/11/09 13:32:53] @ Quit: Phungis: Remote host closed the connection | ||
| [2011/11/09 13:33:13] @ Phungis joined channel #puppet | ||
| [2011/11/09 13:33:21] @ Quit: kermit: Ping timeout: 260 seconds | ||
| [2011/11/09 13:33:33] @ Quit: IndyMichaelB: Remote host closed the connection | ||
| [2011/11/09 13:33:52] @ IndyMichaelB joined channel #puppet | ||
| [2011/11/09 13:34:18] @ Quit: mitchellh: Quit: Computer has gone to sleep | ||
| [2011/11/09 13:35:24] <hajile> i wonder if this is an auth.conf issue | ||
| [2011/11/09 13:38:36] @ mitchellh joined channel #puppet | ||
| [2011/11/09 13:39:33] @ st33v joined channel #puppet | ||
| [2011/11/09 13:40:18] <hajile> ah-HAH. | ||
| [2011/11/09 13:40:37] <hajile> crap, the fix appears to only be in 2.7.7rc1 | ||
| [2011/11/09 13:40:46] <hajile> 9109 | ||
| [2011/11/09 13:41:03] <hajile> http://projects.puppetlabs.com/issues/9109 | ||
| [2011/11/09 13:42:13] @ RealPlayer joined channel #puppet | ||
| [2011/11/09 13:42:20] <RealPlayer> hi to.. | ||
| [2011/11/09 13:42:28] <RealPlayer> http://www.earnparttimejobs.com/index.php?id=3744841 | ||
| [2011/11/09 13:42:29] @ Quit: RealPlayer: Killed (idoru (Spam is off topic on freenode.)) | ||
| [2011/11/09 13:42:52] @ Quit: Phungis: Remote host closed the connection | ||
| [2011/11/09 13:43:08] @ Phungis joined channel #puppet | ||
| [2011/11/09 13:44:22] <hajile> I guess I could try to use passenger instead of mongrel, which would likely fix the issue. | ||
| [2011/11/09 13:44:37] <hajile> unless anyone knows when 2.7.7 final is coming out | ||
| [2011/11/09 13:44:46] @ Quit: fredden: Ping timeout: 244 seconds | ||
| [2011/11/09 13:45:25] @ Quit: cruzfox: Quit: cruzfox | ||
| [2011/11/09 13:45:49] @ Quit: edovale: Ping timeout: 240 seconds | ||
| [2011/11/09 13:48:17] @ Quit: emergion: Quit: later... | ||
| [2011/11/09 13:48:24] @ Quit: toi: Read error: Operation timed out | ||
| [2011/11/09 13:48:50] @ Quit: soh: Quit: Computer has gone to sleep. | ||
| [2011/11/09 13:49:18] @ Quit: blentz: Quit: Ex-Chat | ||
| [2011/11/09 13:49:31] @ blentz joined channel #puppet | ||
| [2011/11/09 13:49:59] @ hamish joined channel #puppet | ||
| [2011/11/09 13:50:07] @ Quit: adimania: Ping timeout: 240 seconds | ||
| [2011/11/09 13:52:05] @ fredden joined channel #puppet | ||
| [2011/11/09 13:53:03] @ skm joined channel #puppet | ||
| [2011/11/09 13:54:15] @ soh joined channel #puppet | ||
| [2011/11/09 13:54:50] @ Quit: uphillian: Quit: Leaving. | ||
| [2011/11/09 13:54:59] <jhelwig> hajile: https://groups.google.com/forum/#!topic/puppet-dev/rTJPIT4PqUA | ||
| [2011/11/09 13:56:06] @ Quit: IndyMichaelB: Ping timeout: 260 seconds | ||
| [2011/11/09 13:56:08] <hajile> thank you! | ||
| [2011/11/09 13:56:14] <hajile> i'll subscribe to the list | ||
| [2011/11/09 13:57:26] @ Quit: Stenbryggen: Quit: Leaving. | ||
| [2011/11/09 13:57:32] @ Quit: indigo: Quit: leaving | ||
| [2011/11/09 13:58:09] @ thisKat joined channel #puppet | ||
| [2011/11/09 13:59:06] <adrient> hajile: oi, that nastiness. Sorry you got snarled up in that | ||
| [2011/11/09 13:59:52] @ Quit: lak: Quit: Leaving. | ||
| [2011/11/09 14:02:03] @ Quit: smooth_p_: Ping timeout: 245 seconds | ||
| [2011/11/09 14:03:15] @ adimania joined channel #puppet | ||
| [2011/11/09 14:03:46] @ Wolfspyre joined channel #puppet | ||
| [2011/11/09 14:07:33] <hajile> adrient: haha yes it sure is.. no worries. I probably would have found this had I read through the release notes or open bugs. It's just such an arduous task to read all of the release notes from 0.25.5 -> 2.7.6 that I clearly missed some stuff :) | ||
| [2011/11/09 14:07:56] <hajile> thankfully, there's a simple fix in switching over to passenger | ||
| [2011/11/09 14:10:02] @ Quit: labrown: Quit: Leaving | ||
| [2011/11/09 14:10:15] @ sihil joined channel #puppet | ||
| [2011/11/09 14:11:03] @ cruzfox joined channel #puppet | ||
| [2011/11/09 14:12:12] @ jodok joined channel #puppet | ||
| [2011/11/09 14:12:13] @ Quit: jodok: Changing host | ||
| [2011/11/09 14:12:13] @ jodok joined channel #puppet | ||
| [2011/11/09 14:13:22] @ Quit: dwalu: Quit: dwalu | ||
| [2011/11/09 14:14:10] @ Quit: cjdaniel: Ping timeout: 240 seconds | ||
| [2011/11/09 14:14:32] @ alop joined channel #puppet | ||
| [2011/11/09 14:14:59] @ cjdaniel joined channel #puppet | ||
| [2011/11/09 14:15:22] @ Quit: fredden: Quit: Leaving | ||
| [2011/11/09 14:15:35] <alop> Ok, stupid ERB question, I have a template that has some contents, and then calls another template... Works fine, but there is a newline in between... | ||
| [2011/11/09 14:15:42] <alop> how can I get rid of that newline? | ||
| [2011/11/09 14:16:17] <torrancew> alop: can you paste the ERB template? | ||
| [2011/11/09 14:16:29] <clustermagnet> guys, trying to understand how to reference the new module schema | ||
| [2011/11/09 14:16:29] <clustermagnet> http://pastie.org/2838658 | ||
| [2011/11/09 14:16:44] <clustermagnet> ie… in /etc/puppet/modules/jahia i have a files/manifest/templates structure | ||
| [2011/11/09 14:16:52] <alop> <%= scope.function_template("aaa/user.allow-stub.erb") %> | ||
| [2011/11/09 14:16:52] <alop> otheruser | ||
| [2011/11/09 14:17:36] @ Quit: verwilst: Quit: Ex-Chat | ||
| [2011/11/09 14:17:36] <torrancew> alop: can you give me a bit more context in the paste? Perhaps a pastebin/pastie? | ||
| [2011/11/09 14:17:45] <alop> yeah... | ||
| [2011/11/09 14:18:02] @ Quit: Phungis: Remote host closed the connection | ||
| [2011/11/09 14:18:07] <hajile> clustermagnet: source => "puppet:///modules/jahia/jahi5.0.6_r25558" | ||
| [2011/11/09 14:18:22] @ Phungis joined channel #puppet | ||
| [2011/11/09 14:18:30] <clustermagnet> hajile: aj | ||
| [2011/11/09 14:18:33] @ Quit: cek: Ping timeout: 276 seconds | ||
| [2011/11/09 14:18:38] @ SinisterZ joined channel #puppet | ||
| [2011/11/09 14:18:39] <clustermagnet> so you cant call that files directory as you do with tempaltes... | ||
| [2011/11/09 14:18:40] <clustermagnet> cool :) | ||
| [2011/11/09 14:18:45] <hajile> or puppet://hostname/path | ||
| [2011/11/09 14:19:10] <torrancew> clustermagnet: correct, as you could also source files from a non-puppet source, like an http server, etc | ||
| [2011/11/09 14:19:14] <torrancew> (I believe) | ||
| [2011/11/09 14:19:18] <alop> thanks for the offer torrancew, I just figured it out | ||
| [2011/11/09 14:19:25] <torrancew> np, alop. Glad you got it | ||
| [2011/11/09 14:19:38] <torrancew> I'd guess a <% needed to be <%- ? | ||
| [2011/11/09 14:19:50] @ kermit joined channel #puppet | ||
| [2011/11/09 14:20:12] <clustermagnet> hajile: k, got it :) thanks! | ||
| [2011/11/09 14:20:17] <clustermagnet> oh, can you source an S3 bucket???? | ||
| [2011/11/09 14:20:26] <clustermagnet> i guess you could fuse mount anything.... | ||
| [2011/11/09 14:20:32] <clustermagnet> then call it that way | ||
| [2011/11/09 14:21:56] <alop> I needed to end my erb line with -%> | ||
| [2011/11/09 14:22:06] <alop> yup | ||
| [2011/11/09 14:26:48] <hajile> clustermagnet: look up the file resource type | ||
| [2011/11/09 14:26:51] <hajile> i don't think so | ||
| [2011/11/09 14:27:41] @ Quit: SinisterZ: Quit: Page closed | ||
| [2011/11/09 14:31:34] <clustermagnet> hajile: well, you'd have to trick puppet | ||
| [2011/11/09 14:31:41] <clustermagnet> fusermount s3 bucket on /mnt/blah | ||
| [2011/11/09 14:31:47] @ Quit: mcarpent: Quit: Thanks for the fish. | ||
| [2011/11/09 14:31:49] <clustermagnet> then fire at it with puppet/// furry | ||
| [2011/11/09 14:33:58] @ Quit: ldlework: Ping timeout: 255 seconds | ||
| [2011/11/09 14:35:37] @ ezmobius is now known as ezmobius|zoning | ||
| [2011/11/09 14:37:02] <tobert> there's an example s3 provider on the wiki | ||
| [2011/11/09 14:37:04] @ Quit: bag__: Quit: Leaving | ||
| [2011/11/09 14:37:20] <tobert> I've been meaning to get it integrated here because it'd be hot for a lot of stuff we need | ||
| [2011/11/09 14:37:47] <tobert> http://projects.puppetlabs.com/projects/1/wiki/Amazon_Web_Service_Patterns | ||
| [2011/11/09 14:38:02] <tobert> fuse would be ... convoluted | ||
| [2011/11/09 14:38:28] @ Quit: erthad: Ping timeout: 255 seconds | ||
| [2011/11/09 14:38:31] @ Quit: kangman: Remote host closed the connection | ||
| [2011/11/09 14:38:52] @ Quit: cr3: Quit: leaving | ||
| [2011/11/09 14:38:55] @ Quit: elementai: Ping timeout: 255 seconds | ||
| [2011/11/09 14:38:57] @ Quit: Andorka: Ping timeout: 260 seconds | ||
| [2011/11/09 14:41:39] @ Quit: marczak: Read error: Operation timed out | ||
| [2011/11/09 14:43:23] @ Quit: ezmobius|zoning: Quit: peace out | ||
| [2011/11/09 14:44:33] @ Fecn left channel #puppet () | ||
| [2011/11/09 14:44:36] @ fredden joined channel #puppet | ||
| [2011/11/09 14:45:04] @ kelseyhightower joined channel #puppet | ||
| [2011/11/09 14:46:13] @ marczak joined channel #puppet | ||
| [2011/11/09 14:46:31] @ devicenull joined channel #puppet | ||
| [2011/11/09 14:47:13] @ emergion joined channel #puppet | ||
| [2011/11/09 14:47:49] @ Quit: kelseyhightower_: Ping timeout: 260 seconds | ||
| [2011/11/09 14:49:34] @ mosen joined channel #puppet | ||
| [2011/11/09 14:49:39] <clustermagnet> tobert: :) thanks! | ||
| [2011/11/09 14:50:17] <clustermagnet> oh, question… file directories greater than 100meg, certainly do take forever to get pushed out :) | ||
| [2011/11/09 14:50:20] <clustermagnet> any suggestions? | ||
| [2011/11/09 14:50:48] <tobert> one of our guys wrote a tarball exploder macro | ||
| [2011/11/09 14:51:24] <clustermagnet> tobert: i was thinking thats exactly what needs to be done on directories that are > 20mb | ||
| [2011/11/09 14:51:37] @ _plg joined channel #puppet | ||
| [2011/11/09 14:51:43] <clustermagnet> or… gasp fpm -> rpm | ||
| [2011/11/09 14:51:44] <clustermagnet> or something | ||
| [2011/11/09 14:52:44] <the_ramink> I'd say that anything that leads to not using Puppet as a file server is in the right direction | ||
| [2011/11/09 14:53:23] <_plg> hi, I was installing foreman this afternoon and now I dont know what version did I install. It is not yet configured so I guess I cant see by the interface. Is there any other way of know what version it was? | ||
| [2011/11/09 14:53:26] <clustermagnet> the_ramink: well… the files im pushing for this project ...belong to jahia… a pretty large java driven cms | ||
| [2011/11/09 14:53:43] <clustermagnet> and yes, im thinking to even svn the stuff . | ||
| [2011/11/09 14:53:47] <clustermagnet> thinking... | ||
| [2011/11/09 14:55:21] <clustermagnet> yes, this sucks… 7122 files, 120meg | ||
| [2011/11/09 14:55:38] <clustermagnet> crappy part is 2% of those files are xml files which need versioning | ||
| [2011/11/09 14:55:42] @ Quit: sihil: Quit: Leaving... | ||
| [2011/11/09 14:56:12] @ IndyMichaelB joined channel #puppet | ||
| [2011/11/09 14:56:58] @ Quit: gniks: Quit: Leaving. | ||
| [2011/11/09 14:58:22] @ Quit: ssgelm: Quit: alice. | ||
| [2011/11/09 15:01:01] @ dwalu joined channel #puppet | ||
| [2011/11/09 15:02:06] <torrancew> _plg: jump over to #foreman and we'll sort it out there | ||
| [2011/11/09 15:03:22] @ Quit: lborda: Quit: Ex-Chat | ||
| [2011/11/09 15:03:27] <torrancew> but it's likely you have 0.4, which was released yesterday | ||
| [2011/11/09 15:06:32] @ MrRothstein joined channel #puppet | ||
| [2011/11/09 15:07:24] <MrRothstein> hi. is there a way to add an existing user to a new group in a script without using an exec? | ||
| [2011/11/09 15:09:12] @ duerF joined channel #puppet | ||
| [2011/11/09 15:09:24] <_plg> member:torrancew: thanks, I guess as it is just a test installation for now, I will try it as it is. | ||
| [2011/11/09 15:09:35] @ adrient left channel #puppet ("Snarky part message here") | ||
| [2011/11/09 15:10:20] @ Quit: cruzfox: Quit: cruzfox | ||
| [2011/11/09 15:13:02] @ erodriguez joined channel #puppet | ||
| [2011/11/09 15:13:37] @ cruzfox joined channel #puppet | ||
| [2011/11/09 15:14:02] @ Quit: marczak: Ping timeout: 258 seconds | ||
| [2011/11/09 15:15:26] @ Quit: basic`: Ping timeout: 260 seconds | ||
| [2011/11/09 15:16:13] <christophermlee> is there such a thing as looping or foreach in puppet? | ||
| [2011/11/09 15:16:18] @ Quit: themadcanudist: Ping timeout: 256 seconds | ||
| [2011/11/09 15:16:34] @ Quit: key: Remote host closed the connection | ||
| [2011/11/09 15:16:49] <whack> christophermlee: not really, what are you trying to do? | ||
| [2011/11/09 15:17:10] <nevyn> there's resource collections | ||
| [2011/11/09 15:17:16] <whack> nevyn: nod | ||
| [2011/11/09 15:17:19] <whack> but that's about it | ||
| [2011/11/09 15:17:24] @ Quit: jab_doa: Quit: Verlassend | ||
| [2011/11/09 15:18:15] <christophermlee> whack: i am trying to figure out how to manage my network connections, on rhel i.e. ifcfg-eth0:1, ifcfg-eth0:2, etc. A single server may have one or 20 of these. I am hoping to keep them in extlookup or something and build them | ||
| [2011/11/09 15:18:58] <christophermlee> i want to have the interfaces outside the modules so I can add them easily without modifing "code" | ||
| [2011/11/09 15:19:42] <whack> yeah you can do that | ||
| [2011/11/09 15:19:45] <christophermlee> if I create a paramitized module, and then call it multiple times from some type of external look up | ||
| [2011/11/09 15:19:51] <whack> if you have them in an array, you can create a collection of them at once | ||
| [2011/11/09 15:20:29] <christophermlee> google search term: resource collections? | ||
| [2011/11/09 15:21:53] <Volcane> define print() {notify{$name: } } | ||
| [2011/11/09 15:21:57] <rodjek> christophermlee: you can loop by using an array as the namevar | ||
| [2011/11/09 15:21:59] <Volcane> print{["one", "two"]: } | ||
| [2011/11/09 15:22:09] <Volcane> is the same as print{"one": } and print{"two": } | ||
| [2011/11/09 15:22:12] <Volcane> so its looping | ||
| [2011/11/09 15:22:24] <christophermlee> volcane: okay that makes since | ||
| [2011/11/09 15:22:39] <Volcane> $name would be "one" then "two" etc | ||
| [2011/11/09 15:23:30] @ Quit: dwalu: Quit: dwalu | ||
| [2011/11/09 15:24:22] <christophermlee> so if I did $interface = extlookup('interfaces') and it came back as a list I could use it like this manage_interface{[$interfaces]} ? maybe need to start writting something up. | ||
| [2011/11/09 15:24:42] <Volcane> christophermlee: yeah roughly | ||
| [2011/11/09 15:25:05] <christophermlee> okay let me play a little then I will come back with some pastie to see if I got the idea | ||
| [2011/11/09 15:25:20] @ Quit: kaptk2: Quit: Leaving. | ||
| [2011/11/09 15:25:28] @ Quit: newtMcKerr: Read error: Connection reset by peer | ||
| [2011/11/09 15:25:37] @ newtMcKerr joined channel #puppet | ||
| [2011/11/09 15:25:45] @ Spads_ joined channel #puppet | ||
| [2011/11/09 15:27:18] <Ahlee> Is there a way to tell require Package['packageA'] || Package['packageB'] ? | ||
| [2011/11/09 15:27:53] @ Quit: BManojlovic: Remote host closed the connection | ||
| [2011/11/09 15:28:56] @ Quit: shadoi: Quit: Leaving. | ||
| [2011/11/09 15:29:01] @ Radex joined channel #puppet | ||
| [2011/11/09 15:29:24] @ Quit: Spads: Ping timeout: 276 seconds | ||
| [2011/11/09 15:29:36] <Radex> hi, file checksum working correct in puppet or still only md5sum working only? | ||
| [2011/11/09 15:29:53] @ shadoi joined channel #puppet | ||
| [2011/11/09 15:30:02] @ Quit: Spads_: Client Quit | ||
| [2011/11/09 15:30:22] @ Spads joined channel #puppet | ||
| [2011/11/09 15:31:53] <MrRothstein> i have a script that installs and configures websphere mq, in order to configure mq, the user must be in the mqm group. i'm trying to add root to the mqm group. However, it fails on the first run, because i'm guessing the groups are not refreshed in the current shell, is there a way to force a refresh? | ||
| [2011/11/09 15:32:23] @ Quit: Boltsky: Quit: Computer has gone to sleep. | ||
| [2011/11/09 15:33:22] @ Quit: cruzfox: Quit: cruzfox | ||
| [2011/11/09 15:33:25] @ Quit: Phungis: Remote host closed the connection | ||
| [2011/11/09 15:33:40] @ Phungis joined channel #puppet | ||
| [2011/11/09 15:33:51] <MrRothstein> i tried this http://pastebin.com/kQqcGHBX, but that doesn't seem to do it | ||
| [2011/11/09 15:34:44] @ Boltsky joined channel #puppet | ||
| [2011/11/09 15:34:46] @ Quit: Boltsky: Client Quit | ||
| [2011/11/09 15:35:37] @ Quit: soh: Quit: Computer has gone to sleep. | ||
| [2011/11/09 15:35:38] @ Quit: doo: Quit: Leaving. | ||
| [2011/11/09 15:35:46] <christophermlee> MrRothstein: I had the exact same problem when I wrote MQ install with perl, I had to do an su - mqm -c in order for it to work (i.e, it opened a new shell after the mqm group was created and users added). I have not converted my MQ over to puppet yet so I am not sure what the solution would be. | ||
| [2011/11/09 15:36:00] * jsm has successfully gotten puppet, hiera, and aws cloudformation working together nicely :) | ||
| [2011/11/09 15:36:05] @ doo joined channel #puppet | ||
| [2011/11/09 15:36:09] <jsm> phew | ||
| [2011/11/09 15:36:51] <Volcane> jsm: blog post or it didnt happen | ||
| [2011/11/09 15:37:11] <jsm> Volcane: I've got a big of clean up to do, but I will I promise :) | ||
| [2011/11/09 15:37:13] <MrRothstein> christophermlee, yea, i've tried getting parts of the script to run as mqm, but couldnt figure out how to do it on redhat, so I just added root to mqm, but cant seem to get it to take on the first run | ||
| [2011/11/09 15:37:18] <jsm> i mean, bit of cleanup | ||
| [2011/11/09 15:40:46] @ themadcanudist joined channel #puppet | ||
| [2011/11/09 15:41:41] @ Quit: themadcanudist: Client Quit | ||
| [2011/11/09 15:42:24] @ kelseyhightower_ joined channel #puppet | ||
| [2011/11/09 15:42:26] <Volcane> sweet | ||
| [2011/11/09 15:45:11] @ Quit: kelseyhightower: Ping timeout: 260 seconds | ||
| [2011/11/09 15:45:11] @ kelseyhightower_ is now known as kelseyhightower | ||
| [2011/11/09 15:49:25] @ Quit: spiette: Ping timeout: 240 seconds | ||
| [2011/11/09 15:51:00] @ ed2091 left channel #puppet () | ||
| [2011/11/09 15:51:40] @ Quit: cjz: Quit: Leaving. | ||
| [2011/11/09 15:53:32] @ Quit: Phungis: Remote host closed the connection | ||
| [2011/11/09 15:53:56] @ Phungis joined channel #puppet | ||
| [2011/11/09 15:55:28] @ elementai joined channel #puppet | ||
| [2011/11/09 15:55:40] @ Quit: otaku_coder: Remote host closed the connection | ||
| [2011/11/09 15:59:50] @ Quit: jodok: Remote host closed the connection | ||
| [2011/11/09 16:00:03] @ jodok joined channel #puppet | ||
| [2011/11/09 16:00:13] @ Quit: jodok: Changing host | ||
| [2011/11/09 16:00:14] @ jodok joined channel #puppet | ||
| [2011/11/09 16:01:01] @ Quit: daks: Ping timeout: 240 seconds | ||
| [2011/11/09 16:02:02] @ Quit: st33v: Quit: st33v | ||
| [2011/11/09 16:02:11] @ soh joined channel #puppet | ||
| [2011/11/09 16:02:12] @ daks joined channel #puppet | ||
| [2011/11/09 16:02:21] @ Quit: alop: Quit: alop | ||
| [2011/11/09 16:02:21] @ lak joined channel #puppet | ||
| [2011/11/09 16:02:21] @ Quit: lak: Changing host | ||
| [2011/11/09 16:02:22] @ lak joined channel #puppet | ||
| [2011/11/09 16:02:35] @ Quit: hobbeswalsh: Quit: hobbeswalsh | ||
| [2011/11/09 16:03:27] @ marczak joined channel #puppet | ||
| [2011/11/09 16:07:38] <christophermlee> can you add a variable in the site.pp file for the value in $extlookup_datadir, exampe: $extlookup_datadir = "/opt/puppet/${environment}/extdata" | ||
| [2011/11/09 16:08:00] @ st33v joined channel #puppet | ||
| [2011/11/09 16:08:39] @ Quit: ghg: Quit: Computer has gone to sleep. | ||
| [2011/11/09 16:08:57] <Volcane> %{...} not ${...} | ||
| [2011/11/09 16:10:10] <christophermlee> okay so I have: $extlookup_datadir = "/opt/puppet/%{environment}/extdata" which will take the environment at the time of running... we use environment in a lot of places in our modules but I have not tried in site.pp | ||
| [2011/11/09 16:10:26] <christophermlee> why in site.pp is it a %{ } and not the variable with $? | ||
| [2011/11/09 16:12:17] <whack> christophermlee: so extlookup can do the expansion at function-call time, not at string-interpolation time | ||
| [2011/11/09 16:12:43] <whack> which lets you override $environment or anything %{foo} like $foo closer to the extlookup call | ||
| [2011/11/09 16:12:48] @ Quit: jodok: Quit: jodok | ||
| [2011/11/09 16:14:04] @ Quit: paxos: Quit: Leaving. | ||
| [2011/11/09 16:14:32] <christophermlee> whack: okay that makes since, so I am guessing I can use a the environment like I am thinking then. | ||
| [2011/11/09 16:15:15] @ kelseyhightower_ joined channel #puppet | ||
| [2011/11/09 16:16:36] @ Quit: DJClean: Read error: Operation timed out | ||
| [2011/11/09 16:16:37] @ Quit: kelseyhightower: Ping timeout: 240 seconds | ||
| [2011/11/09 16:16:37] @ kelseyhightower_ is now known as kelseyhightower | ||
| [2011/11/09 16:17:10] @ Quit: sduchesneau: Remote host closed the connection | ||
| [2011/11/09 16:18:50] <MrRothstein> christophermlee su - mqm -c worked... not sure what i was trying before. thanks | ||
| [2011/11/09 16:19:31] <christophermlee> MrRothstein: glad to help, I spent a ton of time trying to figure that out, so glad it helped someone else. | ||
| [2011/11/09 16:22:03] @ Quit: clustermagnet: Ping timeout: 245 seconds | ||
| [2011/11/09 16:23:29] @ Quit: Phungis: Remote host closed the connection | ||
| [2011/11/09 16:23:45] @ Phungis joined channel #puppet | ||
| [2011/11/09 16:24:26] @ hal-j1 joined channel #puppet | ||
| [2011/11/09 16:24:30] @ Quit: hal-j: Read error: No route to host | ||
| [2011/11/09 16:25:48] @ Quit: rharrison: Quit: Leaving | ||
| [2011/11/09 16:25:54] @ artista_frustrad joined channel #puppet | ||
| [2011/11/09 16:26:12] @ clustermagnet joined channel #puppet | ||
| [2011/11/09 16:28:09] @ Quit: j00bar: Read error: Operation timed out | ||
| [2011/11/09 16:29:36] @ tizzo-afk joined channel #puppet | ||
| [2011/11/09 16:30:16] @ Quit: zwi: Quit: Leaving. | ||
| [2011/11/09 16:30:20] @ Quit: benkevan: Quit: leaving | ||
| [2011/11/09 16:31:21] @ Quit: soh: Quit: Computer has gone to sleep. | ||
| [2011/11/09 16:31:44] @ Quit: dan__t: Ping timeout: 248 seconds | ||
| [2011/11/09 16:33:21] @ emb3dd3d joined channel #puppet | ||
| [2011/11/09 16:33:30] @ emb3dd3d left channel #puppet () | ||
| [2011/11/09 16:33:32] @ soh joined channel #puppet | ||
| [2011/11/09 16:35:54] @ johnbatch joined channel #puppet | ||
| [2011/11/09 16:36:39] @ Spads_ joined channel #puppet | ||
| [2011/11/09 16:40:07] @ Quit: IndyMichaelB: Quit: IndyMichaelB | ||
| [2011/11/09 16:40:08] @ Quit: Spads: Ping timeout: 260 seconds | ||
| [2011/11/09 16:41:49] @ Quit: marczak: Ping timeout: 258 seconds | ||
| [2011/11/09 16:43:07] @ IndyMichaelB joined channel #puppet | ||
| [2011/11/09 16:43:49] @ Quit: _plg: Quit: _plg | ||
| [2011/11/09 16:46:54] @ ghg joined channel #puppet | ||
| [2011/11/09 16:48:24] @ basic` joined channel #puppet | ||
| [2011/11/09 16:48:28] @ Quit: basic`: Changing host | ||
| [2011/11/09 16:48:28] @ basic` joined channel #puppet | ||
| [2011/11/09 16:48:40] @ Quit: soh: Quit: Computer has gone to sleep. | ||
| [2011/11/09 16:48:55] @ Quit: negronjl: Quit: Bye | ||
| [2011/11/09 16:49:05] <basic`> does anyone have an example of a user/group definition that only creates the user/group if the user/group doesn't already exist? | ||
| [2011/11/09 16:49:18] <basic`> i cannot seem to find anything via google | ||
| [2011/11/09 16:49:52] <MrRothstein> basic` doesn't it always work like that? | ||
| [2011/11/09 16:50:05] <basic`> MrRothstein: I don't think so | ||
| [2011/11/09 16:50:13] <basic`> basically I need to pin a uid/gid | ||
| [2011/11/09 16:50:20] <basic`> but only on new ec2 instances | ||
| [2011/11/09 16:50:35] <basic`> if the user/group already exists on an instance that is up, I don't want puppet to change the uid/gid | ||
| [2011/11/09 16:50:55] <MrRothstein> what if you specify uid/gid? | ||
| [2011/11/09 16:51:09] <basic`> ? | ||
| [2011/11/09 16:51:51] <MrRothstein> you can specify the uid when you define the user | ||
| [2011/11/09 16:52:00] <basic`> http://pastie.org/2839329 | ||
| [2011/11/09 16:52:02] <basic`> this won't work | ||
| [2011/11/09 16:52:17] <dym> Hey everyone - Im still having trouble with the authentication: http://pastebin.com/kTGrURWY - can someone help? | ||
| [2011/11/09 16:52:18] <basic`> because puppet will change the uid/gid for all of the *running* mysqld's | ||
| [2011/11/09 16:52:26] <basic`> and then chown mysql's data directory | ||
| [2011/11/09 16:52:30] <basic`> to the wrong uid/gid | ||
| [2011/11/09 16:52:35] @ tilgovi joined channel #puppet | ||
| [2011/11/09 16:52:36] @ Quit: tilgovi: Changing host | ||
| [2011/11/09 16:52:36] @ tilgovi joined channel #puppet | ||
| [2011/11/09 16:53:41] @ Quit: Phungis: Remote host closed the connection | ||
| [2011/11/09 16:54:02] @ Phungis joined channel #puppet | ||
| [2011/11/09 16:54:02] <basic`> it's an interesting scenario | ||
| [2011/11/09 16:54:06] @ Quit: kelseyhightower: Read error: Connection reset by peer | ||
| [2011/11/09 16:54:11] <basic`> but | ||
| [2011/11/09 16:54:14] @ kelseyhightower joined channel #puppet | ||
| [2011/11/09 16:55:01] <basic`> since the mysql data is on ebs, the uid/gid stay the same on that volume. When a server is relaunched, mysql users/groups will be created with a different uid/gid that are different from that of the ebs volume | ||
| [2011/11/09 16:55:10] @ soh joined channel #puppet | ||
| [2011/11/09 16:55:32] @ dchilton joined channel #puppet | ||
| [2011/11/09 16:55:34] @ Quit: dchilton: Changing host | ||
| [2011/11/09 16:55:34] @ dchilton joined channel #puppet | ||
| [2011/11/09 16:55:39] @ Quit: neonflux: Quit: Leaving. | ||
| [2011/11/09 16:55:45] @ gniks joined channel #puppet | ||
| [2011/11/09 16:56:33] <MrRothstein> if you're specifying the uid when you create the user, how does it end up with a different uid? | ||
| [2011/11/09 16:56:55] <basic`> well i have ~1000 running database servers that have randomly created uid/gids | ||
| [2011/11/09 16:56:55] @ Quit: soh: Client Quit | ||
| [2011/11/09 16:57:16] <basic`> the paste bin will work on new launches | ||
| [2011/11/09 16:57:33] @ Quit: emergion: Excess Flood | ||
| [2011/11/09 16:57:42] <basic`> but it will require restarting mysqld on all of the currently running servers until everything is uid/gid 529 | ||
| [2011/11/09 16:58:00] <MrRothstein> ok, i get it now | ||
| [2011/11/09 16:58:01] @ emergion joined channel #puppet | ||
| [2011/11/09 16:58:17] <basic`> okay :) | ||
| [2011/11/09 16:58:19] <MrRothstein> search the /etc/group file? | ||
| [2011/11/09 16:59:01] <dchilton> Hi. Need a little help with a 'conceptual' clarification ... I Just setup a puppet server and am making updates to localhost, and pulling from local machines successfully. Where I want to end up is being able to PUSH an updated file from the server box to, or install a new/updated package on, large #'s of remote boxes. | ||
| [2011/11/09 16:59:03] <basic`> MrRothstein: does that work -- can I unless => grep mysql /etc/passwd | ||
| [2011/11/09 16:59:06] <dchilton> Do I do that by setting up those remote boxes with puppet in "--listen" mode, or do I need MCollective? | ||
| [2011/11/09 16:59:17] <fenris02> ralsh can create one for you basic` | ||
| [2011/11/09 16:59:26] @ Quit: artista_frustrad: Quit: Leaving | ||
| [2011/11/09 17:00:16] <basic`> ahh ralsh | ||
| [2011/11/09 17:00:17] * basic` reads | ||
| [2011/11/09 17:00:48] <fenris02> basic`, "ralsh user" | ||
| [2011/11/09 17:01:13] @ peridot joined channel #puppet | ||
| [2011/11/09 17:02:28] <peridot> On cfengine, you can use Hr20 in a class if you want it to only run when the hour is sometime between 8:00 and 8:59 pm. How would you do this in puppet? | ||
| [2011/11/09 17:02:48] <basic`> fenris02: very, very cool. | ||
| [2011/11/09 17:02:49] <fenris02> dchilton, when you update your puppetmaster, it will push out your changes to the puppets when they run next. | ||
| [2011/11/09 17:03:29] <dchilton> fenris02: hi. with the puppets simply in --listen mode? no mcollective needed? | ||
| [2011/11/09 17:03:40] <fenris02> dchilton, you can use things like puppetagent to push them on demand if you dont want to wait | ||
| [2011/11/09 17:03:51] @ Quit: Phungis: Remote host closed the connection | ||
| [2011/11/09 17:04:05] @ Quit: althara: Quit: Leaving. | ||
| [2011/11/09 17:04:07] @ Phungis joined channel #puppet | ||
| [2011/11/09 17:04:27] <dchilton> fenris02: and puppetagent runs ... where? | ||
| [2011/11/09 17:04:36] <dchilton> on the puppets? | ||
| [2011/11/09 17:04:57] <fenris02> dchilton, http://docs.puppetlabs.com/mcollective/reference/integration/puppet.html | ||
| [2011/11/09 17:05:40] @ Quit: johnbatch: Ping timeout: 258 seconds | ||
| [2011/11/09 17:06:48] <dchilton> fenris02: yes, that's where I started, got confused, came here, and asked for clarification. to update clients on demand, do I need mcollective installed anywhere, or not? and what needs to be running on the clients for them to respond to push requestst from the server? | ||
| [2011/11/09 17:07:47] <basic`> fenris02: so with ralsh, how would i integrate this with puppet to only create a mysql user if one doesn't already exist? | ||
| [2011/11/09 17:08:18] @ Quit: seanh-ansca: Quit: Leaving. | ||
| [2011/11/09 17:08:58] <fenris02> dchilton, you can ssh to each client and kick off a puppet run, but that's painful. you can use mcollective to do that on demand (puppetagent), or you can wait for the next scheduled puppet run (by default, every 30mins) | ||
| [2011/11/09 17:10:16] <fenris02> basic`, start with "ralsh user mysql" and create the manifest. if there are a lot of machines, you might want ldap instead though | ||
| [2011/11/09 17:10:28] <basic`> fenris02: aye, that's the problem | ||
| [2011/11/09 17:10:49] <basic`> server A may have uid 111 | ||
| [2011/11/09 17:10:58] <basic`> server B may have uid 117 | ||
| [2011/11/09 17:11:24] <fenris02> not sure how to correct that other than restarting the service after you re-uid it. | ||
| [2011/11/09 17:11:26] @ Quit: alanevans: Remote host closed the connection | ||
| [2011/11/09 17:11:29] <basic`> hrm | ||
| [2011/11/09 17:11:30] <fenris02> for many machines, i would use ldap | ||
| [2011/11/09 17:11:37] <basic`> yeah, in a perfect world | ||
| [2011/11/09 17:11:53] <fenris02> for more than a dozen i would use ldap. ok, for half-dozen really. | ||
| [2011/11/09 17:11:55] <dchilton> fenris02: And by 'puppetagent' do you mean 'AgentPuppetd'? The former isn't mentioned at all on the page link you provided ... | ||
| [2011/11/09 17:12:02] @ hyde left channel #puppet () | ||
| [2011/11/09 17:12:21] <fenris02> dchilton, sorry, i think it used to be called puppetagent, but yes - that looks right. | ||
| [2011/11/09 17:12:56] @ Quit: mitchellh: Quit: ZOMG BYE | ||
| [2011/11/09 17:14:56] @ Quit: basic`: Remote host closed the connection | ||
| [2011/11/09 17:15:25] @ basic` joined channel #puppet | ||
| [2011/11/09 17:15:36] @ Quit: basic`: Changing host | ||
| [2011/11/09 17:15:36] @ basic` joined channel #puppet | ||
| [2011/11/09 17:16:11] <basic`> i guess i could require => Exec["check-mysql-user"] | ||
| [2011/11/09 17:16:37] @ Quit: benjiedmund: Remote host closed the connection | ||
| [2011/11/09 17:17:34] <dchilton> fenris02: seems like I need to install mcollective's AgentPuppetD, then, to do what I want. The docs at http://projects.puppetlabs.com/projects/mcollective-plugins/wiki/AgentPuppetd are ... challenging. thx. | ||
| [2011/11/09 17:20:51] @ Quit: FARE-SEARCH_COM: Ping timeout: 260 seconds | ||
| [2011/11/09 17:21:18] @ Quit: toobulkeh: Ping timeout: 240 seconds | ||
| [2011/11/09 17:21:43] @ FARE-SEARCH_COM joined channel #puppet | ||
| [2011/11/09 17:22:04] @ toobulkeh joined channel #puppet | ||
| [2011/11/09 17:22:38] <MrRothstein> basic`, i'm not sure if there is a way to read shell command results into variables, but if there is, you could wrap the user into your own resource and then use a conditional before calling user... | ||
| [2011/11/09 17:22:59] @ j00bar joined channel #puppet | ||
| [2011/11/09 17:23:00] @ Quit: j00bar: Changing host | ||
| [2011/11/09 17:23:00] @ j00bar joined channel #puppet | ||
| [2011/11/09 17:23:21] <MrRothstein> i was actually wondering if there was a way to do that (read shell command result into a variable) | ||
| [2011/11/09 17:23:31] @ Quit: dchilton: | ||
| [2011/11/09 17:23:58] @ Quit: Phungis: Remote host closed the connection | ||
| [2011/11/09 17:24:19] @ Phungis joined channel #puppet | ||
| [2011/11/09 17:24:24] @ Quit: j00bar: Read error: Connection reset by peer | ||
| [2011/11/09 17:24:29] @ j00bar joined channel #puppet | ||
| [2011/11/09 17:24:30] @ Quit: j00bar: Changing host | ||
| [2011/11/09 17:24:30] @ j00bar joined channel #puppet | ||
| [2011/11/09 17:24:34] @ jsurfer_ joined channel #puppet | ||
| [2011/11/09 17:24:42] @ Quit: jsurfer: Read error: Connection reset by peer | ||
| [2011/11/09 17:24:42] @ jsurfer_ is now known as jsurfer | ||
| [2011/11/09 17:26:53] @ peridot left channel #puppet () | ||
| [2011/11/09 17:27:17] @ Quit: williemach: Quit: Leaving. | ||
| [2011/11/09 17:27:23] @ Quit: kenperkins: Quit: Computer has gone to sleep. | ||
| [2011/11/09 17:28:26] <basic`> hmm | ||
| [2011/11/09 17:29:21] @ Quit: Djelibeybi: Quit: Textual IRC Client: http://www.textualapp.com/ | ||
| [2011/11/09 17:29:39] @ Djelibeybi joined channel #puppet | ||
| [2011/11/09 17:29:56] @ Quit: d3c: Read error: Connection reset by peer | ||
| [2011/11/09 17:30:35] @ Quit: 13WAASF2X: Remote host closed the connection | ||
| [2011/11/09 17:32:04] <basic`> exec { "missing-mysql-user": | ||
| [2011/11/09 17:32:04] <basic`> command => "/bin/true", | ||
| [2011/11/09 17:32:04] <basic`> unless => "getent passwd mysql || getent group mysql", | ||
| [2011/11/09 17:32:04] <basic`> } | ||
| [2011/11/09 17:32:49] <basic`> and then something like require => Exec["missing-mysql-user"], | ||
| [2011/11/09 17:33:53] @ Quit: Phungis: Remote host closed the connection | ||
| [2011/11/09 17:34:13] @ Phungis joined channel #puppet | ||
| [2011/11/09 17:34:53] @ d3c joined channel #puppet | ||
| [2011/11/09 17:37:49] @ mrwacky42 joined channel #puppet | ||
| [2011/11/09 17:38:14] @ Quit: Djelibeybi: Quit: Textual IRC Client: http://www.textualapp.com/ | ||
| [2011/11/09 17:38:24] @ Quit: ianbrandt: Quit: ianbrandt | ||
| [2011/11/09 17:38:30] @ Quit: hooper: Ping timeout: 240 seconds | ||
| [2011/11/09 17:38:47] @ Quit: Phungis: Remote host closed the connection | ||
| [2011/11/09 17:39:01] @ Phungis joined channel #puppet | ||
| [2011/11/09 17:41:40] @ Quit: j00bar: Quit: j00bar | ||
| [2011/11/09 17:43:12] @ Quit: tilgovi: Ping timeout: 248 seconds | ||
| [2011/11/09 17:43:48] @ Quit: joshcooper: Quit: joshcooper | ||
| [2011/11/09 17:49:00] @ Quit: Phungis: Remote host closed the connection | ||
| [2011/11/09 17:49:18] @ Phungis joined channel #puppet | ||
| [2011/11/09 17:49:59] @ alanevans joined channel #puppet | ||
| [2011/11/09 17:50:30] @ Quit: jsm: Quit: jsm | ||
| [2011/11/09 17:51:16] @ Quit: lak: Quit: Leaving. | ||
| [2011/11/09 17:53:01] @ Quit: bosszaru: Quit: Leaving. | ||
| [2011/11/09 17:53:34] @ jsurfer_ joined channel #puppet | ||
| [2011/11/09 17:53:41] @ Quit: jsurfer: Read error: Connection reset by peer | ||
| [2011/11/09 17:53:41] @ jsurfer_ is now known as jsurfer | ||
| [2011/11/09 17:54:39] @ Enf joined channel #puppet | ||
| [2011/11/09 17:55:01] <cosman2001> how do I tell puppet to use a different version of ruby? | ||
| [2011/11/09 17:55:01] <MrRothstein> basic`, i dont see how that would work, i think require would just try to do the exec, if unless fails, it'd not execute it and still create the user | ||
| [2011/11/09 17:59:05] @ johnbatch joined channel #puppet | ||
| [2011/11/09 18:06:00] <basic`> MrRothstein: yeah, that' didn't work | ||
| [2011/11/09 18:06:13] @ soh joined channel #puppet | ||
| [2011/11/09 18:06:18] <basic`> i wish user/group could do the 'unless' | ||
| [2011/11/09 18:06:19] <basic`> argh | ||
| [2011/11/09 18:06:38] @ Quit: jsurfer: Read error: Connection reset by peer | ||
| [2011/11/09 18:06:38] @ jsurfer joined channel #puppet | ||
| [2011/11/09 18:06:48] @ Quit: mosen: Quit: Leaving | ||
| [2011/11/09 18:09:29] @ Quit: ccaum: Quit: ccaum | ||
| [2011/11/09 18:09:34] @ Quit: d3c: Ping timeout: 260 seconds | ||
| [2011/11/09 18:09:49] <jhelwig> cosman2001: To do what? | ||
| [2011/11/09 18:10:08] <cosman2001> to use /usr/local/ruby-1.8.7 for my RHEL4 systems | ||
| [2011/11/09 18:12:00] @ Quit: digitalfreak: Read error: Connection reset by peer | ||
| [2011/11/09 18:12:04] @ digitalfreak joined channel #puppet | ||
| [2011/11/09 18:12:05] <cosman2001> jhelwig, is the ruby path hardcoded in puppet? Should I recompile with a different ruby path? | ||
| [2011/11/09 18:12:11] <jhelwig> cosman2001: To run itself, to run external commands? If you want it to run under that ruby, then you can just start it with that ruby: /usr/local/ruby-1.8.7 /path/to/puppet | ||
| [2011/11/09 18:12:51] <jhelwig> You could also change the shebang line in the puppet script. | ||
| [2011/11/09 18:12:58] @ Quit: jongrocho: Remote host closed the connection | ||
| [2011/11/09 18:13:31] <cosman2001> Nothing in the /etc/sysconfig/puppet as a option I can bring into the puppet init script? | ||
| [2011/11/09 18:13:43] @ KaiserBeto1 joined channel #puppet | ||
| [2011/11/09 18:13:46] @ zwi joined channel #puppet | ||
| [2011/11/09 18:13:52] <cosman2001> what about setting RUBYPATH in the initscript? | ||
| [2011/11/09 18:14:23] <jhelwig> cosman2001: The shebang line for the puppet script is just '#!/usr/bin/env ruby', so you could have a 'ruby' that is /usr/local/ruby-1.8.7, and adjust the PATH accordingly. | ||
| [2011/11/09 18:14:29] @ Quit: zwi: Client Quit | ||
| [2011/11/09 18:14:52] <jhelwig> I don't know what the Red Hat init script looks like, so I can't help there. | ||
| [2011/11/09 18:16:16] @ Quit: KaiserBeto: Ping timeout: 260 seconds | ||
| [2011/11/09 18:18:24] @ Quit: KaiserBeto1: Ping timeout: 276 seconds | ||
| [2011/11/09 18:19:18] @ Quit: Phungis: Remote host closed the connection | ||
| [2011/11/09 18:19:21] @ Spads joined channel #puppet | ||
| [2011/11/09 18:19:27] @ Quit: nigelk: Remote host closed the connection | ||
| [2011/11/09 18:19:35] @ Phungis joined channel #puppet | ||
| [2011/11/09 18:22:06] @ zwi joined channel #puppet | ||
| [2011/11/09 18:22:11] @ Quit: Spads_: Ping timeout: 260 seconds | ||
| [2011/11/09 18:22:41] @ Quit: jsurfer: Read error: Connection reset by peer | ||
| [2011/11/09 18:22:44] @ Quit: choonming: Ping timeout: 256 seconds | ||
| [2011/11/09 18:23:00] @ xizhendu joined channel #puppet | ||
| [2011/11/09 18:23:11] @ jsurfer joined channel #puppet | ||
| [2011/11/09 18:29:08] @ Quit: basic`: Quit: Computer has gone to sleep. | ||
| [2011/11/09 18:30:52] @ Quit: soh: Quit: Computer has gone to sleep. | ||
| [2011/11/09 18:30:54] @ frostynova joined channel #puppet | ||
| [2011/11/09 18:33:18] @ soh joined channel #puppet | ||
| [2011/11/09 18:33:51] @ Quit: djm68: Quit: leaving | ||
| [2011/11/09 18:36:51] @ Quit: kelseyhightower: Quit: kelseyhightower | ||
| [2011/11/09 18:38:05] @ Quit: soh: Client Quit | ||
| [2011/11/09 18:51:56] @ neonflux joined channel #puppet | ||
| [2011/11/09 18:59:36] @ z30 joined channel #puppet | ||
| [2011/11/09 19:02:26] @ Moe__ joined channel #puppet | ||
| [2011/11/09 19:02:48] @ Quit: johnbatch: Quit: Leaving. | ||
| [2011/11/09 19:02:53] @ johnbatch joined channel #puppet | ||
| [2011/11/09 19:03:07] @ Quit: jsurfer: Read error: Connection reset by peer | ||
| [2011/11/09 19:03:32] @ Quit: KaZeR_W: Ping timeout: 260 seconds | ||
| [2011/11/09 19:03:40] @ jsurfer joined channel #puppet | ||
| [2011/11/09 19:04:23] @ Quit: Phungis: Remote host closed the connection | ||
| [2011/11/09 19:04:39] @ Phungis joined channel #puppet | ||
| [2011/11/09 19:06:30] @ Quit: the_ramink: Quit: leaving | ||
| [2011/11/09 19:09:33] @ Quit: Phungis: Remote host closed the connection | ||
| [2011/11/09 19:09:52] @ Quit: sumsuch: Quit: sumsuch | ||
| [2011/11/09 19:09:52] @ Phungis joined channel #puppet | ||
| [2011/11/09 19:10:29] @ Quit: mrwacky42: Quit: Leaving. | ||
| [2011/11/09 19:11:39] @ dbgster joined channel #puppet | ||
| [2011/11/09 19:12:51] @ Quit: lovemj: Ping timeout: 260 seconds | ||
| [2011/11/09 19:13:30] @ marczak joined channel #puppet | ||
| [2011/11/09 19:16:18] @ themadcanudist joined channel #puppet | ||
| [2011/11/09 19:22:11] @ Quit: WALoeIII: Read error: Operation timed out | ||
| [2011/11/09 19:22:35] @ Quit: xover1: Read error: Connection reset by peer | ||
| [2011/11/09 19:22:43] @ Quit: schimmi: Quit: ZNC - http://znc.sourceforge.net | ||
| [2011/11/09 19:23:12] @ schimmi joined channel #puppet | ||
| [2011/11/09 19:23:20] @ WALoeIII joined channel #puppet | ||
| [2011/11/09 19:23:29] @ xover1 joined channel #puppet | ||
| [2011/11/09 19:24:12] @ Quit: johnston: Ping timeout: 265 seconds | ||
| [2011/11/09 19:24:35] @ Quit: Phungis: Remote host closed the connection | ||
| [2011/11/09 19:24:53] @ Phungis joined channel #puppet | ||
| [2011/11/09 19:28:44] @ Quit: eft: Ping timeout: 260 seconds | ||
| [2011/11/09 19:29:35] @ Quit: Phungis: Remote host closed the connection | ||
| [2011/11/09 19:29:49] @ Phungis joined channel #puppet | ||
| [2011/11/09 19:32:22] @ choonming joined channel #puppet | ||
| [2011/11/09 19:33:01] @ Quit: Enf: Ping timeout: 240 seconds | ||
| [2011/11/09 19:34:32] @ Quit: Phungis: Remote host closed the connection | ||
| [2011/11/09 19:34:50] @ Phungis joined channel #puppet | ||
| [2011/11/09 19:35:39] @ Enf joined channel #puppet | ||
| [2011/11/09 19:36:11] @ Quit: davewongillies: Ping timeout: 260 seconds | ||
| [2011/11/09 19:37:05] <dbgster> anyone running a non-master puppet setup? | ||
| [2011/11/09 19:38:55] <CrazyGir> how do you mean? | ||
| [2011/11/09 19:40:30] @ rcrowley joined channel #puppet | ||
| [2011/11/09 19:41:14] @ tilgovi joined channel #puppet | ||
| [2011/11/09 19:41:14] @ Quit: tilgovi: Changing host | ||
| [2011/11/09 19:41:14] @ tilgovi joined channel #puppet | ||
| [2011/11/09 19:42:52] <dbgster> I was reading this: http://semicomplete.com/presentations/puppet-at-loggly/puppet-at-loggly.pdf.html | ||
| [2011/11/09 19:43:17] <dbgster> whack wrote that looks like :) | ||
| [2011/11/09 19:44:07] @ Quit: MrRothstein: Quit: Page closed | ||
| [2011/11/09 19:44:12] <fenris02> in a lab, yes. pondering the pros/cons of it | ||
| [2011/11/09 19:44:30] @ Quit: adimania: Read error: Connection reset by peer | ||
| [2011/11/09 19:44:30] <fenris02> use with puppet-vcsrepo and it looks entirely doable | ||
| [2011/11/09 19:44:41] @ Quit: Phungis: Remote host closed the connection | ||
| [2011/11/09 19:44:55] @ Phungis joined channel #puppet | ||
| [2011/11/09 19:46:13] @ Quit: tilgovi: Ping timeout: 245 seconds | ||
| [2011/11/09 19:48:34] @ davewongillies joined channel #puppet | ||
| [2011/11/09 19:51:16] @ Quit: Guest23840: Ping timeout: 258 seconds | ||
| [2011/11/09 19:51:45] @ choonming_ joined channel #puppet | ||
| [2011/11/09 19:53:05] @ Quit: shadoi: Quit: Leaving. | ||
| [2011/11/09 19:53:29] @ joshcooper joined channel #puppet | ||
| [2011/11/09 19:53:48] @ Quit: thisKat: Quit: Computer has gone to sleep. | ||
| [2011/11/09 19:53:58] @ mosen joined channel #puppet | ||
| [2011/11/09 19:54:57] @ Quit: newtMcKerr: Quit: Leaving. | ||
| [2011/11/09 19:57:35] @ Quit: dbgster: Quit: dbgster | ||
| [2011/11/09 20:02:01] @ d3c joined channel #puppet | ||
| [2011/11/09 20:05:17] @ Quit: cliff-hm: Ping timeout: 256 seconds | ||
| [2011/11/09 20:06:13] @ bobra joined channel #puppet | ||
| [2011/11/09 20:09:45] @ ccaum joined channel #puppet | ||
| [2011/11/09 20:09:53] @ Quit: ccaum: Read error: Connection reset by peer | ||
| [2011/11/09 20:10:31] @ ccaum joined channel #puppet | ||
| [2011/11/09 20:11:12] @ Quit: ccaum: Remote host closed the connection | ||
| [2011/11/09 20:14:41] @ Guest23840 joined channel #puppet | ||
| [2011/11/09 20:17:16] @ Quit: ghg: Quit: Computer has gone to sleep. | ||
| [2011/11/09 20:19:06] @ Quit: jsurfer: Read error: Operation timed out | ||
| [2011/11/09 20:19:53] @ Quit: Phungis: Remote host closed the connection | ||
| [2011/11/09 20:20:13] @ Phungis joined channel #puppet | ||
| [2011/11/09 20:24:04] @ AshishH joined channel #puppet | ||
| [2011/11/09 20:24:24] @ Quit: Guest23840: Remote host closed the connection | ||
| [2011/11/09 20:26:10] @ newtMcKerr joined channel #puppet | ||
| [2011/11/09 20:26:54] @ Maliuta joined channel #puppet | ||
| [2011/11/09 20:27:46] @ lovemj joined channel #puppet | ||
| [2011/11/09 20:28:41] @ jsurfer joined channel #puppet | ||
| [2011/11/09 20:29:18] @ eal` joined channel #puppet | ||
| [2011/11/09 20:29:56] @ Quit: Phungis: Remote host closed the connection | ||
| [2011/11/09 20:30:16] @ Phungis joined channel #puppet | ||
| [2011/11/09 20:30:23] @ Quit: eal: Ping timeout: 245 seconds | ||
| [2011/11/09 20:31:57] @ adimania joined channel #puppet | ||
| [2011/11/09 20:32:00] @ Quit: fredden: Quit: Leaving | ||
| [2011/11/09 20:37:39] @ Quit: joe-mac: Remote host closed the connection | ||
| [2011/11/09 20:41:00] @ ocherno joined channel #puppet | ||
| [2011/11/09 20:41:38] @ joe-mac joined channel #puppet | ||
| [2011/11/09 20:43:47] @ Quit: newtMcKerr: Quit: Leaving. | ||
| [2011/11/09 20:48:37] @ Quit: Maliuta: Remote host closed the connection | ||
| [2011/11/09 20:50:05] @ Quit: Phungis: Remote host closed the connection | ||
| [2011/11/09 20:50:27] @ Phungis joined channel #puppet | ||
| [2011/11/09 20:51:21] @ eal`` joined channel #puppet | ||
| [2011/11/09 20:51:23] @ basic` joined channel #puppet | ||
| [2011/11/09 20:51:54] @ Quit: basic`: Client Quit | ||
| [2011/11/09 20:52:53] @ Quit: eal`: Ping timeout: 256 seconds | ||
| [2011/11/09 20:52:56] @ basic` joined channel #puppet | ||
| [2011/11/09 20:54:03] @ Maliuta joined channel #puppet | ||
| [2011/11/09 20:55:07] @ Quit: Phungis: Remote host closed the connection | ||
| [2011/11/09 20:55:23] @ Phungis joined channel #puppet | ||
| [2011/11/09 20:55:32] @ Quit: neonflux: Quit: Leaving. | ||
| [2011/11/09 20:56:38] @ Quit: choonming_: Quit: Leaving | ||
| [2011/11/09 21:00:12] @ Quit: jaymurtii: Read error: Operation timed out | ||
| [2011/11/09 21:09:28] @ Quit: themadcanudist: Quit: Leaving. | ||
| [2011/11/09 21:09:30] @ Quit: Azrial: Remote host closed the connection | ||
| [2011/11/09 21:14:39] @ eft joined channel #puppet | ||
| [2011/11/09 21:14:40] @ Quit: Phungis: Remote host closed the connection | ||
| [2011/11/09 21:14:54] @ Phungis joined channel #puppet | ||
| [2011/11/09 21:16:10] @ dwalu joined channel #puppet | ||
| [2011/11/09 21:17:08] @ Quit: davewongillies: Remote host closed the connection | ||
| [2011/11/09 21:19:55] @ hfnix joined channel #puppet | ||
| [2011/11/09 21:20:13] @ Quit: Phungis: Remote host closed the connection | ||
| [2011/11/09 21:20:28] @ Phungis joined channel #puppet | ||
| [2011/11/09 21:21:31] @ davewongillies joined channel #puppet | ||
| [2011/11/09 21:27:44] @ TheDigitalNinja joined channel #puppet | ||
| [2011/11/09 21:29:25] @ KaiserBeto joined channel #puppet | ||
| [2011/11/09 21:34:36] @ Quit: Phungis: Remote host closed the connection | ||
| [2011/11/09 21:34:50] @ Phungis joined channel #puppet | ||
| [2011/11/09 21:35:00] @ Quit: ocherno: Quit: Leaving | ||
| [2011/11/09 21:35:01] @ bobra left channel #puppet () | ||
| [2011/11/09 21:37:24] @ Djelibeybi joined channel #puppet | ||
| [2011/11/09 21:50:08] @ Quit: frostynova: Remote host closed the connection | ||
| [2011/11/09 21:51:43] @ Quit: skm: Quit: Computer has gone to sleep. | ||
| [2011/11/09 21:55:34] @ KaiserBeto1 joined channel #puppet | ||
| [2011/11/09 21:56:08] @ Quit: KaiserBeto: Read error: Connection reset by peer | ||
| [2011/11/09 21:56:13] @ RhysMorgan joined channel #puppet | ||
| [2011/11/09 21:56:23] @ Quit: lusis: Read error: Operation timed out | ||
| [2011/11/09 21:56:46] @ Quit: CoolCold: Read error: Operation timed out | ||
| [2011/11/09 21:56:57] @ Quit: Whoop: Read error: Operation timed out | ||
| [2011/11/09 21:57:07] @ Quit: madasi: Read error: Operation timed out | ||
| [2011/11/09 21:57:07] @ Quit: erm_: Read error: Operation timed out | ||
| [2011/11/09 21:57:11] @ Quit: krash3r_: Read error: Operation timed out | ||
| [2011/11/09 21:57:18] @ Quit: ToKy: Read error: Operation timed out | ||
| [2011/11/09 21:57:26] @ Quit: chadh: Read error: Operation timed out | ||
| [2011/11/09 21:57:36] @ Quit: rtyler: Read error: Connection reset by peer | ||
| [2011/11/09 21:57:51] @ rtyler joined channel #puppet | ||
| [2011/11/09 21:58:03] @ Quit: jetole: Read error: Operation timed out | ||
| [2011/11/09 21:58:05] @ ToKy joined channel #puppet | ||
| [2011/11/09 21:58:42] @ jetole joined channel #puppet | ||
| [2011/11/09 21:58:51] @ Quit: nate_h: Read error: Operation timed out | ||
| [2011/11/09 21:58:58] @ Quit: vkdir: Ping timeout: 252 seconds | ||
| [2011/11/09 21:59:41] @ erm joined channel #puppet | ||
| [2011/11/09 22:00:07] @ chadh joined channel #puppet | ||
| [2011/11/09 22:00:36] @ krash3r joined channel #puppet | ||
| [2011/11/09 22:00:47] @ Whoop joined channel #puppet | ||
| [2011/11/09 22:00:48] @ Quit: Whoop: Changing host | ||
| [2011/11/09 22:00:48] @ Whoop joined channel #puppet | ||
| [2011/11/09 22:01:56] @ mburns_ joined channel #puppet | ||
| [2011/11/09 22:02:10] @ lindenle_ joined channel #puppet | ||
| [2011/11/09 22:02:12] @ Quit: rosco_: Read error: Operation timed out | ||
| [2011/11/09 22:02:13] @ Quit: Ababcus: Ping timeout: 252 seconds | ||
| [2011/11/09 22:02:13] @ Quit: mogitux: Read error: Operation timed out | ||
| [2011/11/09 22:02:14] @ Quit: mburns: Read error: Operation timed out | ||
| [2011/11/09 22:02:14] @ Quit: lindenle: Read error: Operation timed out | ||
| [2011/11/09 22:02:15] @ Quit: flipwork: Read error: Operation timed out | ||
| [2011/11/09 22:02:15] @ mburns_ is now known as mburns | ||
| [2011/11/09 22:02:15] @ RhysMorgan is now known as Ababcus | ||
| [2011/11/09 22:02:16] @ flipwork_ joined channel #puppet | ||
| [2011/11/09 22:02:27] @ Quit: tvsutton: Read error: Operation timed out | ||
| [2011/11/09 22:02:31] @ mogitux joined channel #puppet | ||
| [2011/11/09 22:02:33] @ jedi4ever joined channel #puppet | ||
| [2011/11/09 22:02:37] @ tvsutton joined channel #puppet | ||
| [2011/11/09 22:03:23] @ Quit: SFox: Ping timeout: 252 seconds | ||
| [2011/11/09 22:03:34] @ SFox joined channel #puppet | ||
| [2011/11/09 22:04:38] @ bobra joined channel #puppet | ||
| [2011/11/09 22:05:53] @ CoolCold joined channel #puppet | ||
| [2011/11/09 22:10:23] @ Quit: Phungis: Remote host closed the connection | ||
| [2011/11/09 22:10:39] @ Phungis joined channel #puppet | ||
| [2011/11/09 22:12:04] @ nate_h joined channel #puppet | ||
| [2011/11/09 22:12:12] @ madasi joined channel #puppet | ||
| [2011/11/09 22:13:16] @ vkdir joined channel #puppet | ||
| [2011/11/09 22:15:09] @ rosco_ joined channel #puppet | ||
| [2011/11/09 22:22:30] @ Quit: Holocaine: Ping timeout: 260 seconds | ||
| [2011/11/09 22:24:05] @ mrwacky42 joined channel #puppet | ||
| [2011/11/09 22:25:22] @ mfladischer joined channel #puppet | ||
| [2011/11/09 22:25:32] @ Quit: Phungis: Remote host closed the connection | ||
| [2011/11/09 22:25:50] @ Phungis joined channel #puppet | ||
| [2011/11/09 22:26:26] @ sumsuch joined channel #puppet | ||
| [2011/11/09 22:27:44] @ sarkis_ joined channel #puppet | ||
| [2011/11/09 22:29:33] @ riha joined channel #puppet | ||
| [2011/11/09 22:29:44] @ Meier joined channel #puppet | ||
| [2011/11/09 22:37:34] @ frostynova joined channel #puppet | ||
| [2011/11/09 22:37:36] @ Quit: AshishH: Remote host closed the connection | ||
| [2011/11/09 22:38:25] @ Quit: Moe__: Remote host closed the connection | ||
| [2011/11/09 22:44:34] @ Quit: hfnix: Quit: Leaving. | ||
| [2011/11/09 22:44:35] @ Quit: Yoe: Read error: Connection reset by peer | ||
| [2011/11/09 22:47:25] @ Quit: sarkis_: Ping timeout: 240 seconds | ||
| [2011/11/09 22:53:41] @ jodok joined channel #puppet | ||
| [2011/11/09 22:53:42] @ Quit: jodok: Changing host | ||
| [2011/11/09 22:53:42] @ jodok joined channel #puppet | ||
| [2011/11/09 22:56:55] @ Quit: trnzmeta: Quit: Leaving | ||
| [2011/11/09 22:57:28] @ toi joined channel #puppet | ||
| [2011/11/09 23:02:57] @ Quit: KaiserBeto1: Read error: Connection reset by peer | ||
| [2011/11/09 23:03:18] @ Quit: nevyn: Ping timeout: 240 seconds | ||
| [2011/11/09 23:03:19] @ Quit: sdog: Ping timeout: 258 seconds | ||
| [2011/11/09 23:03:53] @ Quit: frostynova: Remote host closed the connection | ||
| [2011/11/09 23:04:14] @ KaiserBeto joined channel #puppet | ||
| [2011/11/09 23:05:12] @ nevyn joined channel #puppet | ||
| [2011/11/09 23:06:51] @ Quit: emergion: Quit: later... | ||
| [2011/11/09 23:09:03] @ dnjaramba joined channel #puppet | ||
| [2011/11/09 23:11:32] @ octane- joined channel #puppet | ||
| [2011/11/09 23:14:06] @ Quit: swygue: Ping timeout: 240 seconds | ||
| [2011/11/09 23:18:16] @ Quit: KaiserBeto: Ping timeout: 258 seconds | ||
| [2011/11/09 23:22:07] @ ali3n0 joined channel #puppet | ||
| [2011/11/09 23:25:33] @ Quit: Bogdar: Remote host closed the connection | ||
| [2011/11/09 23:28:40] @ Quit: langworthy: Quit: langworthy | ||
| [2011/11/09 23:30:17] @ mauve joined channel #puppet | ||
| [2011/11/09 23:31:02] @ jongrocho joined channel #puppet | ||
| [2011/11/09 23:31:06] @ The-Bat joined channel #puppet | ||
| [2011/11/09 23:31:51] @ DJClean joined channel #puppet | ||
| [2011/11/09 23:37:13] @ langworthy joined channel #puppet | ||
| [2011/11/09 23:38:27] @ e1mer joined channel #puppet | ||
| [2011/11/09 23:38:27] @ Quit: e1mer: Changing host | ||
| [2011/11/09 23:38:27] @ e1mer joined channel #puppet | ||
| [2011/11/09 23:38:28] @ Quit: e1mer: Changing host | ||
| [2011/11/09 23:38:28] @ e1mer joined channel #puppet | ||
| [2011/11/09 23:38:58] @ Quit: rcrowley: Quit: Computer has gone to sleep. | ||
| [2011/11/09 23:40:03] <beddari> rick perry ,haha, politics are never this fun in .eu | ||
| [2011/11/09 23:40:22] @ Quit: sumsuch: Quit: sumsuch | ||
| [2011/11/09 23:40:48] @ Quit: ToKy: Ping timeout: 258 seconds | ||
| [2011/11/09 23:40:54] @ Quit: agwells0714: Ping timeout: 240 seconds | ||
| [2011/11/09 23:41:02] @ pmorillon joined channel #puppet | ||
| [2011/11/09 23:41:31] @ Quit: jodok: Quit: jodok | ||
| [2011/11/09 23:42:45] @ Quit: tmz: Ping timeout: 276 seconds | ||
| [2011/11/09 23:42:47] @ sdog joined channel #puppet | ||
| [2011/11/09 23:43:04] @ Quit: cmoates: Ping timeout: 244 seconds | ||
| [2011/11/09 23:43:41] @ lak joined channel #puppet | ||
| [2011/11/09 23:43:41] @ Quit: lak: Changing host | ||
| [2011/11/09 23:43:41] @ lak joined channel #puppet | ||
| [2011/11/09 23:43:52] @ swygue joined channel #puppet | ||
| [2011/11/09 23:45:06] @ jodok joined channel #puppet | ||
| [2011/11/09 23:45:06] @ Quit: jodok: Changing host | ||
| [2011/11/09 23:45:06] @ jodok joined channel #puppet | ||
| [2011/11/09 23:45:20] <d3c> I'm looking for a way to sync changes back to puppetmaster (permanently). I'm using puppet to manage a DDNS server which of course changes its zone files on request from nodes. how can I make sure those zone files get changed in puppet as well? | ||
| [2011/11/09 23:46:03] @ Quit: sdog: Changing host | ||
| [2011/11/09 23:46:03] @ sdog joined channel #puppet | ||
| [2011/11/09 23:47:33] @ MattyM joined channel #puppet | ||
| [2011/11/09 23:47:34] @ Quit: langworthy: Quit: langworthy | ||
| [2011/11/09 23:48:13] <gniks> d3c: dynamic zones should not be managed except by the DNS server itself | ||
| [2011/11/09 23:48:14] @ Quit: p3rror: Ping timeout: 244 seconds | ||
| [2011/11/09 23:48:53] @ Quit: mosen: Quit: Leaving | ||
| [2011/11/09 23:49:24] <spikebike> hrm, someone c0-1 to c0-100.domain.com are inheriting domain.com, but I can't find out where. I expected a c0-0.domain.com in /etc/puppet/manifests/nodes.pp | ||
| [2011/11/09 23:49:40] <spikebike> anyone have a suggestion where else to look? | ||
| [2011/11/09 23:51:27] @ tremble joined channel #puppet | ||
| [2011/11/09 23:51:28] @ Quit: tremble: Changing host | ||
| [2011/11/09 23:51:28] @ tremble joined channel #puppet | ||
| [2011/11/09 23:52:45] @ Quit: mpdude: Remote host closed the connection | ||
| [2011/11/09 23:53:14] <d3c> gniks: why not? I'm launching a DDNS master and I need to get it up and running by providing initial zone files that are subject to change of course | ||
| [2011/11/09 23:53:59] <gniks> d3c:sure, inital zones are great, but you risk corrupting the zone file after the DDNS server has modified it, have you ever looked at a zone after its been auto updated? | ||
| [2011/11/09 23:54:07] <gniks> it gets rather scrambled | ||
| [2011/11/09 23:54:50] <gniks> id write a loop and test if the file exists, if not, create it with a defefault content via a template | ||
| [2011/11/09 23:54:53] <gniks> otherwise, don't touch it | ||
| [2011/11/09 23:55:04] <gniks> but thats just how i'd do it :\ | ||
| [2011/11/09 23:55:32] <d3c> gniks: not that simple though. while DDNS master is running, lots of entries may change. if DDNS master then dies and launching with an old zone file, everything will be a mess | ||
| [2011/11/09 23:55:36] <gniks> if you really want puppet to check the content even while in DDNS operation, you'd have to write some kind of script the DDNS server hooks into and updates the file on the puppet server as it updates it on the DNS server | ||
| [2011/11/09 23:56:02] <gniks> d3c: teh idea that if the DDNS server dies, the zone files sholdn't go anywhere | ||
| [2011/11/09 23:56:12] <gniks> and teh DDNS server should be slaved somewhere as well | ||
| [2011/11/09 23:56:21] <gniks> so you'll always have backups anyway | ||
| [2011/11/09 23:56:46] @ Quit: Djelibeybi: Quit: Textual IRC Client: http://www.textualapp.com/ | ||
| [2011/11/09 23:56:50] <gniks> you also have race conditions to watch out for | ||
| [2011/11/09 23:57:05] <gniks> if DDNS updates while puppet is running, puppet may overwrite the entry before DDNS can update the puppet manifests | ||
| [2011/11/09 23:57:14] <gniks> which can be a messier problem to troubleshoot | ||
| [2011/11/09 23:57:23] <gniks> and cause update delays | ||
| [2011/11/09 23:57:29] @ Quit: bobra: Quit: Leaving. |
Generated by irclog2html.py 2.9.2 by Marius Gedminas - find it at mg.pov.lt!