Thursday, 2011-12-08

[2011/12/08 00:00:32] @ Log started by gepetto
[2011/12/08 00:00:32] @ lkoranda joined channel #puppet
[2011/12/08 00:01:30] <hardcore> Callek: so maybe i have to buy the book now
[2011/12/08 00:01:43] <Callek> I'm not sure, I doubt the book is necessary
[2011/12/08 00:02:03] <Callek> (since it mostly glosses over the finer details, but aims at giving you the general knowledge necessary to do most tasks well)
[2011/12/08 00:02:30] <Callek> I just never did it, and am familiar myself mostly with RHEL systems, (cent5/6 fedora, etc.)
[2011/12/08 00:02:42] <Callek> [well that and windows ;-) ]
[2011/12/08 00:05:01] @ d3c joined channel #puppet
[2011/12/08 00:05:34] @ Quit: FaUl: Ping timeout: 252 seconds
[2011/12/08 00:05:35] <d3c> can puppet change PS1 for all users? I was thinking adding a script to /etc/profile.d but how may I source / dot it via puppet?
[2011/12/08 00:06:24] @ larstobi joined channel #puppet
[2011/12/08 00:06:40] <hardcore> Callek: okay i understand ;-)
[2011/12/08 00:10:42] @ Quit: nitram_macair: Quit: nitram_macair
[2011/12/08 00:12:43] @ inecas joined channel #puppet
[2011/12/08 00:12:58] @ raphdg joined channel #puppet
[2011/12/08 00:14:56] @ Quit: msaum: Quit: Leaving.
[2011/12/08 00:16:47] @ csanchez joined channel #puppet
[2011/12/08 00:16:48] @ msaum joined channel #puppet
[2011/12/08 00:18:09] @ nitram_macair joined channel #puppet
[2011/12/08 00:22:19] @ morsupil joined channel #puppet
[2011/12/08 00:22:28] <morsupil> hi all
[2011/12/08 00:23:14] <morsupil> need help on vcsrepo module
[2011/12/08 00:24:04] <morsupil> I've open the bug 11278
[2011/12/08 00:24:53] <morsupil> but I'm not sure if it's or a bad use ...
[2011/12/08 00:25:19] @ Quit: sumsuch: Quit: sumsuch
[2011/12/08 00:27:07] @ Quit: nitram_macair: Quit: nitram_macair
[2011/12/08 00:27:35] <fragfutter> #11278
[2011/12/08 00:27:35] <gepetto> fragfutter: #11278 is http://projects.puppetlabs.com/issues/show/11278 "Puppet - Bug #11278: rm on git repo. It has a status of Unreviewed and is assigned to -"
[2011/12/08 00:29:29] @ zorg1 joined channel #puppet
[2011/12/08 00:32:58] @ Quit: rutger_: Remote host closed the connection
[2011/12/08 00:33:03] <morsupil> I've follow the james turnbull who recommand me to log a ticket
[2011/12/08 00:33:53] @ rutger joined channel #puppet
[2011/12/08 00:34:05] @ Quit: dnjaramba: Remote host closed the connection
[2011/12/08 00:34:21] @ dnjaramba joined channel #puppet
[2011/12/08 00:37:08] <tobert> weird does the package dpkg provider always reinstall or can I get it to actually try not to do that?
[2011/12/08 00:37:22] <tobert> right now mine is reinstalling the package on every run
[2011/12/08 00:37:56] @ Quit: msaum: Quit: Leaving.
[2011/12/08 00:38:34] @ pmorillon joined channel #puppet
[2011/12/08 00:39:21] @ trickyf joined channel #puppet
[2011/12/08 00:40:13] @ msaum joined channel #puppet
[2011/12/08 00:46:43] <tobert> ah nm I think I need to set the name parameter
[2011/12/08 00:48:17] @ Quit: dylants: Ping timeout: 240 seconds
[2011/12/08 00:51:43] @ Quit: jsurfer: Remote host closed the connection
[2011/12/08 00:51:52] @ Quit: habanero: Remote host closed the connection
[2011/12/08 00:52:08] @ jsurfer joined channel #puppet
[2011/12/08 00:55:50] @ jamiei joined channel #puppet
[2011/12/08 00:56:03] @ jamiei left channel #puppet ()
[2011/12/08 01:00:41] @ Quit: msaum: Quit: Leaving.
[2011/12/08 01:01:49] @ ezryx joined channel #puppet
[2011/12/08 01:02:23] @ stevie-bash joined channel #puppet
[2011/12/08 01:03:04] @ msaum joined channel #puppet
[2011/12/08 01:07:35] @ Holocaine joined channel #puppet
[2011/12/08 01:16:12] @ davey79 left channel #puppet ()
[2011/12/08 01:19:46] @ hooper joined channel #puppet
[2011/12/08 01:22:11] @ Quit: msaum: Quit: Leaving.
[2011/12/08 01:24:18] @ mogitaff joined channel #puppet
[2011/12/08 01:24:33] @ msaum joined channel #puppet
[2011/12/08 01:27:47] @ xet7 joined channel #puppet
[2011/12/08 01:29:07] @ nan0r joined channel #puppet
[2011/12/08 01:29:34] <nan0r> Hi puppet
[2011/12/08 01:31:22] @ Quit: kinsel: Ping timeout: 255 seconds
[2011/12/08 01:32:51] @ Ramonster joined channel #puppet
[2011/12/08 01:33:00] @ kinsel joined channel #puppet
[2011/12/08 01:33:02] <nan0r> I see Pupet enterprise 2.0 product brief : http://www.puppetlabs.com/wp-content/uploads/2011/06/PL_productbrief.pdf , in the OS support, I do not see Windows,
[2011/12/08 01:33:14] <nan0r> is Windows supported in Puppet Enterprise ?
[2011/12/08 01:33:44] @ jbraeuer joined channel #puppet
[2011/12/08 01:34:03] @ lovemj1 joined channel #puppet
[2011/12/08 01:34:06] @ Quit: lovemj: Read error: Connection reset by peer
[2011/12/08 01:43:50] <Spads> nan0r: you mean that weird corner-case non-POSIX OS?
[2011/12/08 01:44:26] @ Quit: msaum: Quit: Leaving.
[2011/12/08 01:46:46] @ msaum joined channel #puppet
[2011/12/08 01:46:57] <nan0r> Spads: I Mean Microsoft Windows, you dont know it ?
[2011/12/08 01:48:26] <NuclearLucifer> `lo
[2011/12/08 01:51:09] @ Quit: zorg1: Quit: Leaving
[2011/12/08 01:51:43] <Spads> nan0r: Yeah, that's the one. Total oddball, based on VMS (which is dead these days)
[2011/12/08 01:52:04] <Spads> nan0r: doesn't work like any of the mainstream OSes like Linux or OSX
[2011/12/08 01:52:07] @ Quit: bodgit: Read error: Operation timed out
[2011/12/08 01:52:19] <Spads> just completely unrelated, really
[2011/12/08 01:52:35] <nan0r> I dont care, this is not my question, I a not here to know if windows is a good or a bad OS
[2011/12/08 01:52:42] @ Quit: kolla_: Remote host closed the connection
[2011/12/08 01:53:06] <Spads> well I'm just saying that software that is built for a Unixy OS is not going to work on Windows by virtue of the lack of shared structure
[2011/12/08 01:53:24] <Volcane> yet, puppet supports windows
[2011/12/08 01:53:26] <Volcane> boggle.
[2011/12/08 01:53:29] <Spads> fortunately nobody uses Windows for servers, so this isn't such a big problem.
[2011/12/08 01:53:31] <Spads> wow, it does?
[2011/12/08 01:53:41] <Spads> does it support CP/M too?
[2011/12/08 01:53:47] @ Quit: msaum: Ping timeout: 240 seconds
[2011/12/08 01:53:57] <nan0r> I know Windows is supported as experimental release 2.7.6 of Puppet
[2011/12/08 01:54:10] <nan0r> I wanted to know if Puppet Enterprise support, or plan to support it
[2011/12/08 01:54:15] <Spads> Bizarre.
[2011/12/08 01:54:25] <bd> not at all
[2011/12/08 01:55:54] @ bodgit joined channel #puppet
[2011/12/08 01:56:03] <Volcane> nan0r: not sure but doubt the current PE supports it, def some future release - but ask sales@puppetlabs.com
[2011/12/08 01:56:10] <nan0r> Thx Volcane, I know Puppet Community support it, do you know if Enterprise support it ?
[2011/12/08 01:57:12] <nan0r> oups, thx Volcane
[2011/12/08 02:03:42] @ yann2 joined channel #puppet
[2011/12/08 02:04:15] <yann2> hello! I was wondering: i want to deploy a file (syslog.conf) on ALL puppet nodes BUT one (the syslog server). Is there a clever way to do that?
[2011/12/08 02:06:08] <Volcane> surely you still want to deploy it on the syslog server, just a different one?
[2011/12/08 02:06:17] <yann2> yes
[2011/12/08 02:06:49] <Volcane> source => ["puppet:///modules/syslog/syslog.conf.${::fqdn}", "puppet:///modules/syslog/syslog.conf"]
[2011/12/08 02:06:55] @ Quit: Spads: Ping timeout: 240 seconds
[2011/12/08 02:07:04] <Volcane> then u can have multiple sources, first one that exist is used
[2011/12/08 02:07:22] <Volcane> so make a special case one called syslog.conf.foo.example.com and that one host gets the special one
[2011/12/08 02:07:48] <yann2> mmh using the fqdn I m not sure, but using a variable sounds good
[2011/12/08 02:09:23] <yann2> i was thinking , maybe I can override with node inheritance otherwise... I m not sure to understand your proposal, how I would define multiple sources
[2011/12/08 02:09:47] <Volcane> file{"/etc/syslog.conf": source => ["puppet:///modules/syslog/syslog.conf.${::fqdn}", "puppet:///modules/syslog/syslog.conf"]}
[2011/12/08 02:09:57] <Volcane> then in the module just make a file files/syslog.conf that all the machines get
[2011/12/08 02:10:10] <Volcane> and make a file files/syslog.conf.foo.example.com that your one odd machine gets
[2011/12/08 02:10:11] <Volcane> thats all
[2011/12/08 02:10:13] <yann2> ah, now I see :) that looks clever enough! thanks
[2011/12/08 02:11:38] <yann2> I think I ll use something like that for motds :)
[2011/12/08 02:24:07] @ jodok joined channel #puppet
[2011/12/08 02:26:34] @ ddp23 joined channel #puppet
[2011/12/08 02:27:51] <ddp23> good morning, does anyone know please of a good cheat sheet / language guide / tutorial for ERB templates? Ideally in depth enough to cover regexps if supported and/or conditionals using AND/OR etc?
[2011/12/08 02:28:02] @ ali3n0 joined channel #puppet
[2011/12/08 02:28:41] @ Quit: shanlar: Read error: Connection reset by peer
[2011/12/08 02:29:08] @ shanlar joined channel #puppet
[2011/12/08 02:29:47] @ msaum joined channel #puppet
[2011/12/08 02:30:31] <Volcane> ddp23: any intro to ruby will work
[2011/12/08 02:30:55] <dcarley> ddp23: anything within a <% %> block is pure ruby. all normal methods are available.
[2011/12/08 02:31:22] @ Quit: jodok: Remote host closed the connection
[2011/12/08 02:31:31] <ddp23> ok thanks
[2011/12/08 02:31:39] @ jodok joined channel #puppet
[2011/12/08 02:31:42] <dcarley> the only real funk comes when you need to access puppet's own methods. rather than plain variables in the same scope.
[2011/12/08 02:31:49] @ Quit: jodok: Changing host
[2011/12/08 02:31:49] @ jodok joined channel #puppet
[2011/12/08 02:33:08] @ Quit: _flex: Remote host closed the connection
[2011/12/08 02:34:14] @ jbraeuer_ joined channel #puppet
[2011/12/08 02:34:15] @ Quit: jbraeuer: Remote host closed the connection
[2011/12/08 02:34:15] @ jbraeuer_ is now known as jbraeuer
[2011/12/08 02:34:16] <ddp23> so, I guess my question is, anyone know a good ruby tutorial / cheat sheet etc that covers just enough to be useful for erb templates and not cover a bunch of ruby stuff that mostly won't get used in templating. But I can prolly google for that :)
[2011/12/08 02:37:57] <hardcore> Callek: here is an example in the git repo with puppet
[2011/12/08 02:38:08] <hardcore> so you can setup puppet with puppet :D
[2011/12/08 02:38:18] <hardcore> you have to modify some stuff i think
[2011/12/08 02:38:55] @ ddp23 left channel #puppet ()
[2011/12/08 02:42:40] @ emergion joined channel #puppet
[2011/12/08 02:43:50] @ Quit: emergion: Remote host closed the connection
[2011/12/08 02:48:27] @ Quit: msaum: Quit: Leaving.
[2011/12/08 02:48:49] @ Quit: jodok: Remote host closed the connection
[2011/12/08 02:49:04] @ jodok joined channel #puppet
[2011/12/08 02:49:04] @ Quit: jodok: Changing host
[2011/12/08 02:49:04] @ jodok joined channel #puppet
[2011/12/08 02:49:21] @ Quit: nokia3510: Ping timeout: 258 seconds
[2011/12/08 02:49:43] @ Quit: fpletz: Remote host closed the connection
[2011/12/08 02:49:48] @ fpletz joined channel #puppet
[2011/12/08 02:49:57] @ msaum joined channel #puppet
[2011/12/08 02:52:45] @ Quit: jsurfer: Quit: jsurfer
[2011/12/08 02:54:52] @ Quit: alanevans: Remote host closed the connection
[2011/12/08 02:54:58] @ pfo joined channel #puppet
[2011/12/08 03:03:01] @ ppanthe joined channel #puppet
[2011/12/08 03:04:08] @ Spads joined channel #puppet
[2011/12/08 03:04:20] <yann2> Volcane, can I actually also define multiple sources, and say, if none matches, then do nothing?
[2011/12/08 03:04:26] @ Quit: choonming: Quit: Leaving
[2011/12/08 03:04:35] @ erthad joined channel #puppet
[2011/12/08 03:04:35] <Volcane> no
[2011/12/08 03:05:04] @ Quit: erthad: Changing host
[2011/12/08 03:05:04] @ erthad joined channel #puppet
[2011/12/08 03:05:32] <yann2> alright, I ll do my best :) thanks
[2011/12/08 03:09:58] @ Quit: msaum: Quit: Leaving.
[2011/12/08 03:12:22] @ msaum joined channel #puppet
[2011/12/08 03:12:38] <yann2> Volcane, thing is, I also got a part of my config (only for clients, not servers) that is defined like this: Rsyslog::Syslog_target <<| |>> { notify => Service["rsyslog"] }
[2011/12/08 03:13:26] @ Quit: kenperkins: Quit: Computer has gone to sleep.
[2011/12/08 03:15:21] @ Quit: csanchez: Quit: csanchez
[2011/12/08 03:19:25] @ Quit: pmorillon: Quit: pmorillon
[2011/12/08 03:20:07] @ Quit: crs: Ping timeout: 240 seconds
[2011/12/08 03:21:14] @ smintz joined channel #puppet
[2011/12/08 03:21:26] @ RhysMorgan joined channel #puppet
[2011/12/08 03:22:30] <RhysMorgan> Can anyone give me an example of what a module would look like that is used purely for distributing custom facts?
[2011/12/08 03:23:00] @ nitram_macair joined channel #puppet
[2011/12/08 03:23:13] @ csanchez joined channel #puppet
[2011/12/08 03:23:31] <misc> RhysMorgan: http://svnweb.mageia.org/adm/puppet/modules/facter/ ?
[2011/12/08 03:24:04] <RhysMorgan> so no init.pp or anything is required?
[2011/12/08 03:25:42] @ Quit: nitram_macair: Client Quit
[2011/12/08 03:25:47] <misc> you need to have "pluginsync" in puppet.conf
[2011/12/08 03:27:16] <RhysMorgan> and in nodes.pp how do you designate that server should have this fact distributed to it? "include <modulename>"
[2011/12/08 03:27:32] <Volcane> all servers gets all facts
[2011/12/08 03:28:04] <RhysMorgan> ok
[2011/12/08 03:28:43] <RhysMorgan> I'm a little bit confused, I am testing PE which I can see comes with faster dot d but when i run facter --puppet on and endpoint the facts aren't populated
[2011/12/08 03:28:56] <RhysMorgan> s/faster/facter
[2011/12/08 03:29:19] <misc> you need to set a env variable to get the custom fact
[2011/12/08 03:29:30] <misc> something like FACTERLIB, something like that
[2011/12/08 03:29:50] <misc> ( and set it to /var/lib/puppet, I forgot the exat detail )
[2011/12/08 03:30:02] @ kelseyhi1htower joined channel #puppet
[2011/12/08 03:30:18] <misc> http://projects.puppetlabs.com/projects/1/wiki/Adding_Facts
[2011/12/08 03:30:29] @ Quit: kelseyhightower: Read error: Connection reset by peer
[2011/12/08 03:31:13] @ Quit: msaum: Quit: Leaving.
[2011/12/08 03:33:32] @ msaum joined channel #puppet
[2011/12/08 03:33:50] @ Quit: Holocaine:
[2011/12/08 03:34:53] @ crs joined channel #puppet
[2011/12/08 03:40:50] @ gaveen joined channel #puppet
[2011/12/08 03:40:51] @ Quit: gaveen: Changing host
[2011/12/08 03:40:51] @ gaveen joined channel #puppet
[2011/12/08 03:44:52] @ Quit: nan0r: Quit: Leaving.
[2011/12/08 03:52:28] @ Quit: msaum: Quit: Leaving.
[2011/12/08 03:53:27] @ Quit: hooper: Quit: Leaving.
[2011/12/08 03:53:57] @ msaum joined channel #puppet
[2011/12/08 04:04:50] @ Quit: toobulkeh: Read error: Connection reset by peer
[2011/12/08 04:05:29] @ toobulkeh joined channel #puppet
[2011/12/08 04:07:59] @ mgk joined channel #puppet
[2011/12/08 04:13:43] @ Quit: msaum: Quit: Leaving.
[2011/12/08 04:16:08] @ msaum joined channel #puppet
[2011/12/08 04:22:26] @ Quit: jodok: Quit: jodok
[2011/12/08 04:24:13] @ St3v3o joined channel #puppet
[2011/12/08 04:24:19] <St3v3o> good morning
[2011/12/08 04:24:51] <St3v3o> in the puppet dashboard …how is a host determined to be unresponsive?
[2011/12/08 04:25:34] <St3v3o> I have a host that puppet is successfully running on and changes are being reported to via the dashboard…but it is listed under unresponsive
[2011/12/08 04:28:40] @ Quit: pfo: Ping timeout: 255 seconds
[2011/12/08 04:30:57] @ pmorillon joined channel #puppet
[2011/12/08 04:33:30] @ Quit: danblack: Ping timeout: 244 seconds
[2011/12/08 04:33:50] @ larstobi1 joined channel #puppet
[2011/12/08 04:33:53] @ Quit: larstobi: Read error: Connection reset by peer
[2011/12/08 04:35:05] @ oc joined channel #puppet
[2011/12/08 04:35:14] @ Quit: duerF: Ping timeout: 244 seconds
[2011/12/08 04:36:43] @ Quit: msaum: Quit: Leaving.
[2011/12/08 04:38:10] <Evolution> for main configs, pluginsync is the 'new' style and factsync is the old style correct?
[2011/12/08 04:38:12] @ msaum joined channel #puppet
[2011/12/08 04:38:26] @ rideh joined channel #puppet
[2011/12/08 04:38:46] @ Quit: rideh: Client Quit
[2011/12/08 04:39:20] <oc> I keep getting Could not evaluate: Puppet::Util::FileType::FileTypeFlat could not write /home/.../.ssh/authorized_keys: Permission denied - /home/.../.ssh/authorized_key after upgrading to puppet 2.7. I assume it has something to do with the race condition change permissions security fix. What is a viable solution?
[2011/12/08 04:39:29] @ Quit: csanchez: Ping timeout: 240 seconds
[2011/12/08 04:41:30] <oc> my config is file { '/u/.ssh': ... } -> user { 'u': ... } and ssh_authorized_key { "key@u": ..., user => u, ...} (and I also use the same key@admin for User['admin']
[2011/12/08 04:42:10] @ csanchez joined channel #puppet
[2011/12/08 04:42:20] <oc> Hmm. I'll make a gist.
[2011/12/08 04:43:50] @ Quit: rubic: Quit: Leaving.
[2011/12/08 04:44:06] @ Quit: artkrz: Read error: Connection reset by peer
[2011/12/08 04:45:27] @ artkrz joined channel #puppet
[2011/12/08 04:46:05] @ mlout joined channel #puppet
[2011/12/08 04:46:14] @ Quit: larstobi1: Quit: Leaving.
[2011/12/08 04:47:34] @ duerF joined channel #puppet
[2011/12/08 04:48:22] @ nan0r joined channel #puppet
[2011/12/08 04:49:36] <oc> https://gist.github.com/1446903
[2011/12/08 04:49:47] @ Quit: artkrz: Ping timeout: 240 seconds
[2011/12/08 04:49:49] @ jimmy1980 joined channel #puppet
[2011/12/08 04:50:26] <oc> Suggestions as to why it tries to write /home/admin/.ssh/authorized_keys during ssh_authorized_key { "oc@deploy": user => deploy, … } ?
[2011/12/08 04:50:52] <oc> (other than that I use the same pubkey for two users)
[2011/12/08 04:51:57] @ Quit: AshishH: Remote host closed the connection
[2011/12/08 04:52:05] <_rc_> oc because you told it to: user => admin,
[2011/12/08 04:53:21] <oc> _rc_ that is a different key...
[2011/12/08 04:53:32] <oc> s/key/$name/
[2011/12/08 04:54:01] @ Quit: csanchez: Remote host closed the connection
[2011/12/08 04:54:02] <oc> ssh_authorized_key { "oc@admin", user => admin, … }
[2011/12/08 04:54:06] <oc> different class
[2011/12/08 04:54:17] <_rc_> http://projects.puppetlabs.com/issues/10850
[2011/12/08 04:54:18] <oc> different name, different user
[2011/12/08 04:54:20] @ csanchez joined channel #puppet
[2011/12/08 04:54:26] <_rc_> "If a parsed file resource is out of sync, puppet performs the necessary changes in memory and when flush is called, it rewrites all files that actually need modification."
[2011/12/08 04:54:43] <_rc_> so the flush on deployers is also flushing ademin
[2011/12/08 04:57:27] <oc> humm, so how do i work around that obviously unobvious behaviour? :)
[2011/12/08 04:57:32] @ natewalck joined channel #puppet
[2011/12/08 04:57:59] @ Quit: msaum: Quit: Leaving.
[2011/12/08 04:57:59] <oc> didn't find that bugreport (i promise looked;)
[2011/12/08 04:57:59] <_rc_> wait till that bug gets fixed?
[2011/12/08 04:59:08] <oc> guess I'll just throw out the ssh_authorized_keys and provision a file { /.../authorized_keys, source => puppet:///... }
[2011/12/08 05:00:22] @ msaum joined channel #puppet
[2011/12/08 05:03:23] @ sanzante joined channel #puppet
[2011/12/08 05:04:54] @ hooper joined channel #puppet
[2011/12/08 05:06:15] @ Quit: duerF: Quit: Leaving
[2011/12/08 05:06:36] <sanzante> hi, I've two different modules that deploy files in /opt/bin; if both of them define the /opt and /opy/bin file resources I got an error; I could create a new module that crates the file structure, but how I make delppoy modules dependenant on the module that creates the file strcuture?
[2011/12/08 05:06:56] <sanzante> require seems to work only for current manifest objects
[2011/12/08 05:08:02] @ csanchez_ joined channel #puppet
[2011/12/08 05:08:07] @ St3v3o left channel #puppet ()
[2011/12/08 05:08:23] @ Quit: csanchez: Ping timeout: 252 seconds
[2011/12/08 05:08:23] @ csanchez_ is now known as csanchez
[2011/12/08 05:08:36] @ habanero joined channel #puppet
[2011/12/08 05:09:42] @ Quit: jimmy1980: Ping timeout: 248 seconds
[2011/12/08 05:11:24] <_rc_> sanzante: just include your new module, puppet will automatically set up requirements between the file resources
[2011/12/08 05:12:43] <sanzante> mmm.. I thought it may be duplicated then... thanks _rc_ , I'll try that way
[2011/12/08 05:14:37] @ jimmy1980 joined channel #puppet
[2011/12/08 05:15:00] @ rideh joined channel #puppet
[2011/12/08 05:15:36] @ Quit: flatline_: Changing host
[2011/12/08 05:15:36] @ flatline_ joined channel #puppet
[2011/12/08 05:16:56] @ Quit: bobra: Ping timeout: 240 seconds
[2011/12/08 05:17:40] <sanzante> nice, it works! thanks!
[2011/12/08 05:19:59] @ Quit: msaum: Quit: Leaving.
[2011/12/08 05:20:10] @ labrown joined channel #puppet
[2011/12/08 05:21:32] @ msaum joined channel #puppet
[2011/12/08 05:21:51] @ Quit: amoe: Quit: leaving
[2011/12/08 05:23:40] @ amoe joined channel #puppet
[2011/12/08 05:27:06] @ csanchez_ joined channel #puppet
[2011/12/08 05:28:55] @ Quit: jimmy1980: Ping timeout: 252 seconds
[2011/12/08 05:29:02] @ Quit: gaveen: Remote host closed the connection
[2011/12/08 05:30:04] @ Quit: csanchez: Ping timeout: 252 seconds
[2011/12/08 05:30:04] @ csanchez_ is now known as csanchez
[2011/12/08 05:31:48] <yann2> mmh... is this syntaxically correct? Rsyslog::Syslog_target <<| tag != "$hostname" |>> { notify => Service["rsyslog"] } for some reason it will never deploy the file..
[2011/12/08 05:32:05] @ ldlework joined channel #puppet
[2011/12/08 05:32:21] @ Quit: digr11: Quit: Leaving.
[2011/12/08 05:32:50] @ mlout left channel #puppet ()
[2011/12/08 05:33:54] @ comptona joined channel #puppet
[2011/12/08 05:34:35] @ jimmy1980 joined channel #puppet
[2011/12/08 05:35:06] @ madko joined channel #puppet
[2011/12/08 05:36:05] <madko> Hi, apache error 414 request uri too large is the error I get, is there a way to tell puppet to use http post method instead of get ?
[2011/12/08 05:39:00] <madko> I'm looking in your redmine at the moment
[2011/12/08 05:39:46] <madko> I'm using puppet with mod_passenger
[2011/12/08 05:39:58] @ Quit: labrown: Ping timeout: 252 seconds
[2011/12/08 05:41:07] @ rocketeer joined channel #puppet
[2011/12/08 05:41:14] @ Quit: msaum: Quit: Leaving.
[2011/12/08 05:42:44] @ msaum joined channel #puppet
[2011/12/08 05:42:47] @ Quit: susman: Remote host closed the connection
[2011/12/08 05:43:43] @ Quit: jaydg: Quit: Verlassend
[2011/12/08 05:44:45] @ Quit: ldlework: Ping timeout: 252 seconds
[2011/12/08 05:46:01] @ ldlework joined channel #puppet
[2011/12/08 05:47:18] @ Quit: adimania: Ping timeout: 252 seconds
[2011/12/08 05:47:23] @ jabir joined channel #puppet
[2011/12/08 05:47:46] @ Quit: csanchez: Read error: Connection reset by peer
[2011/12/08 05:49:11] @ csanchez joined channel #puppet
[2011/12/08 05:49:18] @ rgsteele joined channel #puppet
[2011/12/08 05:51:29] <jabir> if i have a module as "user" under ${puppet_home}/modules/user
[2011/12/08 05:52:10] <jabir> why should i add "import modules" in site.pp instead of 'import "user" '
[2011/12/08 05:52:57] <jabir> http://projects.puppetlabs.com/projects/puppet/wiki/Advanced_Puppet_Pattern says import modules but it doesnt work
[2011/12/08 05:53:06] @ uphillian joined channel #puppet
[2011/12/08 05:54:32] @ Quit: flatline_: Quit: Ex-Chat
[2011/12/08 05:54:57] @ comptona is now known as comptona[edge]
[2011/12/08 05:55:43] <kjetilho> jabir: you shouldn't use import at all
[2011/12/08 05:55:49] <_rc_> the page is wrong
[2011/12/08 05:55:54] <_rc_> it's a wiki though
[2011/12/08 05:55:54] <jabir> oh whats the best thing to use then
[2011/12/08 05:56:00] <_rc_> include
[2011/12/08 05:56:11] <jabir> so include user should work
[2011/12/08 05:56:25] <jabir> whats the diff between nodes.pp and site.pp
[2011/12/08 05:57:20] @ _flex joined channel #puppet
[2011/12/08 05:57:47] <madko> I'm using puppet 0.25 is there a way to use http post instead of get?
[2011/12/08 05:59:58] @ marrusl joined channel #puppet
[2011/12/08 06:01:44] <kjetilho> madko: not really
[2011/12/08 06:02:10] <kjetilho> upgrading to 2.6 or 2.7 is highly recommended
[2011/12/08 06:03:14] <madko> are class/modules in 0.25 compatible with 2.6?
[2011/12/08 06:04:39] <kjetilho> for the most part, yes
[2011/12/08 06:05:14] <kjetilho> there are small changes, like "alias" in Host changing name
[2011/12/08 06:05:18] <madko> ldap environment too?
[2011/12/08 06:05:36] <kjetilho> I would expect so
[2011/12/08 06:05:40] <madko> great
[2011/12/08 06:05:44] @ Quit: msaum: Quit: Leaving.
[2011/12/08 06:05:57] <madko> thank you kjetilho we will try to upgrade
[2011/12/08 06:07:07] @ Quit: blentz: Ping timeout: 240 seconds
[2011/12/08 06:07:29] @ Quit: habanero: Remote host closed the connection
[2011/12/08 06:08:03] @ msaum joined channel #puppet
[2011/12/08 06:10:42] @ Quit: astrostl:
[2011/12/08 06:11:04] <madko> And other little problem, it seems we can't use . in the environment name, is that still the case with 2.6?
[2011/12/08 06:13:22] @ e1mer joined channel #puppet
[2011/12/08 06:14:23] <jabir> is there a better way to put in hostnames in nodes.pp instead of puttling all of them in nodes.pp since i have over 300hosts.. can i just put it somewhere and include it in nodes.pp
[2011/12/08 06:14:37] @ astrostl joined channel #puppet
[2011/12/08 06:17:13] <walkeran> jabir: You can split them out to multiple files and use import... you can use regex hosts if you have any patterns in your hostnames... or you can use an ENC
[2011/12/08 06:17:51] <jabir> cool thanks walkeran
[2011/12/08 06:17:56] <walkeran> yup, no problemo
[2011/12/08 06:19:06] @ johnston joined channel #puppet
[2011/12/08 06:19:09] <jense> jabir: import "nodes/*/*.pp" - this works quite well here
[2011/12/08 06:19:53] <jabir> ok so nodes is a dir under modules
[2011/12/08 06:20:06] <walkeran> manifests
[2011/12/08 06:20:07] <jabir> jense:
[2011/12/08 06:20:12] @ Quit: leifmadsen: Read error: Operation timed out
[2011/12/08 06:20:18] <jabir> ok
[2011/12/08 06:21:05] <jense> jabir: my nodes dir is on the same directory-level as modules dir.
[2011/12/08 06:21:10] @ MartVisser joined channel #puppet
[2011/12/08 06:21:49] <jabir> so something like $puppet_home/nodes/{grid1,grid2}/nodes.pp should work
[2011/12/08 06:22:09] <jabir> where grid1 and grid2 are two folders have nodes.pp in it with the hostnames
[2011/12/08 06:22:21] @ lborda joined channel #puppet
[2011/12/08 06:22:23] <jense> yep, should work
[2011/12/08 06:23:17] @ digr1 joined channel #puppet
[2011/12/08 06:23:48] @ DbT_ joined channel #puppet
[2011/12/08 06:23:52] @ shaunster joined channel #puppet
[2011/12/08 06:25:58] <shaunster> I would like to create a template that derives a variable value from another variable something like
[2011/12/08 06:26:19] <shaunster> <% if dbname == "dbN" %> server-id %= N %>
[2011/12/08 06:26:46] <shaunster> Is it possible to do this in Ruby?
[2011/12/08 06:26:59] @ Quit: msaum: Quit: Leaving.
[2011/12/08 06:27:30] @ hobo joined channel #puppet
[2011/12/08 06:28:13] @ Quit: espent: Quit: espent
[2011/12/08 06:28:14] <hobo> I have one puppet agent that will use upwards of 600 megs of memory. Any ideas on how to debug what I am doing wrong? Googling has not helped.
[2011/12/08 06:28:29] @ msaum joined channel #puppet
[2011/12/08 06:29:24] @ riha left channel #puppet ()
[2011/12/08 06:30:26] <kjetilho> shaunster: yes, you can use a regular expression which captures the digit
[2011/12/08 06:31:08] <shaunster> How do I write a regex in Ruby?
[2011/12/08 06:32:05] <kjetilho> <% if dbname =~ "dbN" %> server-id <%= $1 %> <% end %>
[2011/12/08 06:32:12] <kjetilho> gah
[2011/12/08 06:32:26] <kjetilho> <% if dbname =~ /^db(\d)$/ %> server-id <%= $1 %> <% end %>
[2011/12/08 06:32:52] <NuclearLucifer> shaunster, same way like in perl.
[2011/12/08 06:32:57] <shaunster> Wowee , thank you kindly!
[2011/12/08 06:34:52] @ blentz joined channel #puppet
[2011/12/08 06:37:08] @ jantman joined channel #puppet
[2011/12/08 06:37:28] <jantman> for redhat/centos, does anyone have thoughts or opinions on EPEL vs yum.puppetlabs.com?
[2011/12/08 06:38:31] @ justintime joined channel #puppet
[2011/12/08 06:40:04] @ Quit: ckauhaus: Quit: Leaving.
[2011/12/08 06:40:56] @ Bass10 joined channel #puppet
[2011/12/08 06:41:56] @ Quit: Bass10: Max SendQ exceeded
[2011/12/08 06:42:18] @ Bass10 joined channel #puppet
[2011/12/08 06:42:28] @ nadavoid joined channel #puppet
[2011/12/08 06:42:33] <Volcane> jantman: same thing really, puppetlabs one will be more up to date
[2011/12/08 06:42:44] <jantman> ok
[2011/12/08 06:43:06] <jantman> I didn't see it mentioned on the downloads page or wiki, so I thought it might just be PE or something
[2011/12/08 06:43:07] <Volcane> generally though EPEL have versions you can safely rely on
[2011/12/08 06:43:26] <pabelanger> Any pointers on using command => and exporting a bash variable?
[2011/12/08 06:43:27] <jantman> should I expect issues with the puppetlabs packages?
[2011/12/08 06:43:36] <pabelanger> I keep getting a path error
[2011/12/08 06:43:41] <Volcane> jantman: you should expect to test each release thoroughly
[2011/12/08 06:43:50] <Volcane> prior to installing in prod
[2011/12/08 06:43:53] <jantman> Volcane: *cringe*
[2011/12/08 06:43:58] <Volcane> quite
[2011/12/08 06:44:01] <jantman> I guess EPEL it is, then
[2011/12/08 06:44:07] <jantman> time to hit the release notes
[2011/12/08 06:44:16] <jantman> seeing as epel is currently at 2.6.12
[2011/12/08 06:44:31] @ jabowers joined channel #puppet
[2011/12/08 06:44:45] <Volcane> there really is an unbearable amount of non backwards compat and not mentioned in release notes issues with 2.7 dot releases - ie. bugs.
[2011/12/08 06:44:46] <jantman> ... and doesn't have dashboard...
[2011/12/08 06:44:48] @ andreaturli joined channel #puppet
[2011/12/08 06:45:21] @ cliff-hm joined channel #puppet
[2011/12/08 06:45:32] <jantman> great. well I'm at a new job, and starting our puppet infrastructure from scratch. would you go with 2.7, or stick with 2.6.12?
[2011/12/08 06:45:41] <Volcane> tough call :)
[2011/12/08 06:45:48] <jantman> $lastjob is still on 0.25.4 or so
[2011/12/08 06:45:49] @ tswicegood joined channel #puppet
[2011/12/08 06:46:00] <Volcane> i am absolutely skipping 2.7.*
[2011/12/08 06:46:56] <jantman> hmmm... well good to know, thanks
[2011/12/08 06:48:14] @ Quit: msaum: Quit: Leaving.
[2011/12/08 06:50:09] @ msaum joined channel #puppet
[2011/12/08 06:50:55] @ Quit: Wolfspyre: Quit: Leaving.
[2011/12/08 06:51:01] @ Wolfspyre joined channel #puppet
[2011/12/08 06:52:23] @ Quit: marrusl: Ping timeout: 252 seconds
[2011/12/08 06:56:16] <shaunster> Is it possible to define a ruby variable from the output of a shell command and then strip part of the shell command, thus
[2011/12/08 06:56:17] <shaunster> $dbname = `hostname | cut -c 1,2,3`
[2011/12/08 06:57:27] <Volcane> use the regsubst function and the hostname fact
[2011/12/08 06:58:02] @ sduchesneau joined channel #puppet
[2011/12/08 06:58:10] @ geekbri joined channel #puppet
[2011/12/08 06:58:28] @ riha joined channel #puppet
[2011/12/08 07:00:27] @ ckauhaus joined channel #puppet
[2011/12/08 07:03:54] @ marrusl joined channel #puppet
[2011/12/08 07:06:58] @ choonming joined channel #puppet
[2011/12/08 07:08:31] @ Quit: walterheck: Quit: Computer has gone to sleep
[2011/12/08 07:09:20] @ Quit: rclark: Quit: leaving
[2011/12/08 07:09:29] @ Quit: msaum: Quit: Leaving.
[2011/12/08 07:11:48] @ msaum joined channel #puppet
[2011/12/08 07:11:56] @ riha left channel #puppet ()
[2011/12/08 07:12:59] <shaunster> <Volcane> Something like this $dbname = hostname.sub(/^db([0-9]).*/, "\\1") ?
[2011/12/08 07:13:15] <Volcane> see the function reference
[2011/12/08 07:13:49] <shaunster> Thx
[2011/12/08 07:14:12] @ rdark joined channel #puppet
[2011/12/08 07:14:42] @ beaknit_ joined channel #puppet
[2011/12/08 07:15:58] @ Quit: snk: Quit: leaving
[2011/12/08 07:16:21] @ snk joined channel #puppet
[2011/12/08 07:18:37] @ Quit: rdark: Client Quit
[2011/12/08 07:19:33] @ rcrowley joined channel #puppet
[2011/12/08 07:20:07] @ Quit: smintz: Read error: Operation timed out
[2011/12/08 07:20:59] @ Quit: hobo: Quit: Page closed
[2011/12/08 07:21:13] @ Quit: _flex: Remote host closed the connection
[2011/12/08 07:22:47] @ easel joined channel #puppet
[2011/12/08 07:23:07] @ joe-mac joined channel #puppet
[2011/12/08 07:23:35] @ Quit: Stenbryggen: Quit: Leaving.
[2011/12/08 07:23:40] @ Stenbryggen joined channel #puppet
[2011/12/08 07:24:15] @ Quit: kelseyhi1htower: Quit: leaving
[2011/12/08 07:24:18] @ labrown joined channel #puppet
[2011/12/08 07:24:22] @ kelseyhightower joined channel #puppet
[2011/12/08 07:24:52] @ ghg joined channel #puppet
[2011/12/08 07:24:55] @ Quit: RhysMorgan: Quit: RhysMorgan
[2011/12/08 07:24:55] @ kangman joined channel #puppet
[2011/12/08 07:26:22] @ Quit: comptona[edge]: Quit: Leaving.
[2011/12/08 07:26:27] @ zwi joined channel #puppet
[2011/12/08 07:30:47] @ adimania joined channel #puppet
[2011/12/08 07:32:29] @ Quit: msaum: Quit: Leaving.
[2011/12/08 07:34:49] @ msaum joined channel #puppet
[2011/12/08 07:34:50] <oc> hmm; i've heard much good about rsyslog for centralized logging, should I convert from syslog-ng? if so, is there a decent centos-supporting puppet-module you can recommend?
[2011/12/08 07:35:38] @ benjiedmund joined channel #puppet
[2011/12/08 07:35:43] <oc> only about ~100 nodes or in this environment
[2011/12/08 07:35:51] @ pikelly left channel #puppet ()
[2011/12/08 07:36:05] @ loxo joined channel #puppet
[2011/12/08 07:36:09] @ jaytaph_ joined channel #puppet
[2011/12/08 07:36:22] @ madko left channel #puppet ()
[2011/12/08 07:36:31] <zykes-> anyone here packaging ubuntu packages ?
[2011/12/08 07:36:44] <zykes-> was wondering if i could help with packacges for nginx
[2011/12/08 07:36:49] @ movexig joined channel #puppet
[2011/12/08 07:37:17] @ Quit: jaytaph: Read error: Operation timed out
[2011/12/08 07:37:17] @ jaytaph_ is now known as jaytaph
[2011/12/08 07:37:28] <oc> think nginx has an official repo for that
[2011/12/08 07:37:29] <tobert> oc, unless your syslog-ng is causing problems, there probably isn't a good reason to switch
[2011/12/08 07:37:46] <Volcane> rsyslog has spooling on the nodes if the syslog master is down
[2011/12/08 07:37:48] <movexig> I'm having an issue with trying to start a service through upstart. Specifically, it works on one machine, but on another seemingly identical instance, it just goes "Provider upstart is not functional on this host". I can start the service manually with upstart just fine, but puppet refuses.
[2011/12/08 07:38:00] <kjetilho> zykes-: you mean running puppetmaster inside nginx?
[2011/12/08 07:38:28] <zykes-> kjetilho: as in instead of apache + puppetmaster + phusion that until now i've only been able to run inside a vhost
[2011/12/08 07:38:33] <zykes-> i want to try using nginx
[2011/12/08 07:38:36] <oc> Volcane: that seems like a nice feature
[2011/12/08 07:39:35] <Volcane> oc: syslog-ng has the same but you need to pay for the feature
[2011/12/08 07:39:37] <movexig> Any ideas? It doesn't provide any more detail than that.
[2011/12/08 07:39:39] <kjetilho> zykes-: well, if you make it work, send the maintainer an e-mail?
[2011/12/08 07:39:52] <zykes-> kjetilho: trying to yeah
[2011/12/08 07:40:00] @ Quit: fir31ight: Ping timeout: 248 seconds
[2011/12/08 07:40:37] <zykes-> but the problem with the oniric packages is that it makes /usr/share/puppet* folders that's pulling down apache
[2011/12/08 07:40:43] @ rdark joined channel #puppet
[2011/12/08 07:41:06] <zykes-> and without those folders you are setting up stuff yourself with making directories etc
[2011/12/08 07:41:23] @ fir31ight joined channel #puppet
[2011/12/08 07:41:50] <shaunster> Really struggling with finding the correct syntax for this expression: $dbname = hostname.sub(/^db([0-9]).*/, "\\1")
[2011/12/08 07:42:12] <ssm> zykes-: the puppetmaster-passenger package includes /usr/share/puppet/rack, yes.
[2011/12/08 07:42:12] <shaunster> Please could someone tell me where I am going wrong?
[2011/12/08 07:42:28] <Volcane> shaunster: did you look at the puppet function reference for the regsubst function like i said
[2011/12/08 07:42:43] <Volcane> shaunster: cos you seem to be inventing your own syntax and not reading the docs you're pointed at
[2011/12/08 07:42:45] <zykes-> ssm: but is also pulls apache i guess
[2011/12/08 07:43:11] <oc> Think I'll convert to rsyslog then.
[2011/12/08 07:43:12] @ Quit: jaytaph: Remote host closed the connection
[2011/12/08 07:43:23] <zykes-> maybe split it into having puppetmaster-passenger-apache and puppetmaster-passenger-nginx
[2011/12/08 07:43:26] <ssm> zykes-: yes, that package sets up apache+puppet+passenger
[2011/12/08 07:43:27] @ jaytaph joined channel #puppet
[2011/12/08 07:43:37] <oc> Volcane: Second part; do you know any decent rsyslog puppet-modules?
[2011/12/08 07:43:44] <zykes-> though the stock version of of nginx in ubuntu atm doesn't support passenger
[2011/12/08 07:43:49] <Volcane> oc: nope
[2011/12/08 07:43:51] <ssm> zykes-: package renames is a pain :/
[2011/12/08 07:44:04] <zykes-> ssm: what's the other alternative ?
[2011/12/08 07:44:13] <zykes-> i guess one can just make puppetmaster-passenger-nginx
[2011/12/08 07:44:16] <ssm> more pain :P
[2011/12/08 07:44:25] <zykes-> puppetmaster-nginx
[2011/12/08 07:44:26] <zykes-> :p
[2011/12/08 07:44:42] <zykes-> pain -= 1
[2011/12/08 07:44:56] @ Quit: MattyM: Remote host closed the connection
[2011/12/08 07:45:31] <ssm> zykes-: however, if you get it to run, and I can reproduce it, I'll add an puppet+passenger+nginx package :)
[2011/12/08 07:45:36] @ Quit: kelseyhightower: Quit: kelseyhightower
[2011/12/08 07:45:50] @ cwarden joined channel #puppet
[2011/12/08 07:45:57] @ kaptk2 joined channel #puppet
[2011/12/08 07:46:24] <ssm> What is needed to make nginx support passenger?
[2011/12/08 07:46:26] <zykes-> ssm: sure, but then you need to update a nginx package as well i think
[2011/12/08 07:46:39] @ tremble joined channel #puppet
[2011/12/08 07:46:46] @ Quit: tremble: Changing host
[2011/12/08 07:46:46] @ tremble joined channel #puppet
[2011/12/08 07:46:49] @ kelseyhightower joined channel #puppet
[2011/12/08 07:46:54] <zykes-> a dude from brightbox has a package for a newer version of nginx + passenger
[2011/12/08 07:47:04] <zykes-> where the nginx has support for passenger
[2011/12/08 07:47:45] @ dan__t joined channel #puppet
[2011/12/08 07:47:55] <movexig> This is really vexing.
[2011/12/08 07:48:01] <zykes-> vexing ?
[2011/12/08 07:48:33] <movexig> The upstart thing.
[2011/12/08 07:48:33] <shaunster> I guess this is better $dbname = regsubst($hostname, '^db(\d+)', '\1')
[2011/12/08 07:48:45] <movexig> I mean, upstart works fine on the machine, but puppet still can't start the job.
[2011/12/08 07:48:58] <shaunster> Thx bye for now
[2011/12/08 07:49:05] @ Quit: shaunster: Quit: Page closed
[2011/12/08 07:49:10] <ssm> movexig: run with --debug, and see which provider puppet selects
[2011/12/08 07:49:14] <zykes-> ssm: i'm gonna try later today to pull down the current package that uses apache and remove the apache deps on it and install it with the nginx thing to see if it works
[2011/12/08 07:49:36] <movexig> ssm, I presume upstart since it's specifically set to use upstart in the manifest.
[2011/12/08 07:50:12] <zykes-> sounds like an idea ?
[2011/12/08 07:50:30] <ssm> zykes-: looks like the "passenger" package must be updated to make an nginx module as well as an apache module.
[2011/12/08 07:50:44] <zykes-> yeah
[2011/12/08 07:50:51] <zykes-> and nginx as well i think or ?
[2011/12/08 07:51:27] <ssm> zykes-: If passenger makes the module, nginx should be able to include it
[2011/12/08 07:51:31] <movexig> Upstart is not listed in the list of debug: messages relating to Service providers, if that helps.
[2011/12/08 07:51:48] <movexig> It lists launchd, runit, daemontools, redhat and gentoo; well, this ia Ubuntu system, heh.
[2011/12/08 07:51:52] @ jsurfer joined channel #puppet
[2011/12/08 07:52:01] @ comptona joined channel #puppet
[2011/12/08 07:52:45] @ leifmadsen joined channel #puppet
[2011/12/08 07:52:47] @ Quit: newtMcKerr: Quit: Leaving.
[2011/12/08 07:53:11] @ Quit: verwilst: Quit: Ex-Chat
[2011/12/08 07:53:14] <movexig> But, I guess it only lists providers that don't exist?
[2011/12/08 07:53:50] <zykes-> ssm: k
[2011/12/08 07:54:08] <zykes-> https://launchpad.net/~brightbox/+archive/passenger-nginx if you see there ssm there's a packages for nginx + passenger
[2011/12/08 07:54:21] @ neonflux joined channel #puppet
[2011/12/08 07:54:38] @ comptona is now known as comptona[R2]
[2011/12/08 07:54:41] @ Quit: dnjaramba: Ping timeout: 252 seconds
[2011/12/08 07:54:53] <ssm> zykes-: I've sent a wishlist bug report to the passenger maintainers, asking for an nginx module.
[2011/12/08 07:54:53] @ dnjaramba joined channel #puppet
[2011/12/08 07:54:55] <movexig> Well how do I tell what provider it selects, then? As far as I can tell, it selects upstart (as instructed), but then fails with a mystery message with no hits in any docs.
[2011/12/08 07:55:04] <movexig> So I have no clue what is even wrong.
[2011/12/08 07:55:14] @ jabir1 joined channel #puppet
[2011/12/08 07:55:21] <zykes-> ssm: ok ! :)
[2011/12/08 07:55:38] @ Quit: jabir: Ping timeout: 240 seconds
[2011/12/08 07:58:30] <movexig> This is puppet 2.7.1, by the way.
[2011/12/08 07:59:08] <movexig> And not only does upstart work on this machine, it also worked through puppet on another machine just like it.
[2011/12/08 07:59:21] @ sumsuch joined channel #puppet
[2011/12/08 07:59:54] @ Quit: ckauhaus: Quit: Leaving.
[2011/12/08 08:03:05] @ Quit: sumsuch: Client Quit
[2011/12/08 08:03:16] <movexig> Anyone know what the message even means? "Provider x is not functional on this host"?
[2011/12/08 08:03:43] <kjetilho> movexig: it means one of the prerequisites isn't satisfied
[2011/12/08 08:03:51] <movexig> Such as?
[2011/12/08 08:04:02] <kjetilho> e.g, the "gem" provider for Package will report that if "rubygems" isn't installed already
[2011/12/08 08:04:12] <movexig> How would I find out what is required? upstart is installed and working.
[2011/12/08 08:04:21] <kjetilho> read the code ...
[2011/12/08 08:04:54] <movexig> Ugh. I don't actually speak Ruby, unfortunately.
[2011/12/08 08:05:17] <movexig> Isn't there some log when it decides some prerequisite isn't satisfied?
[2011/12/08 08:05:26] @ Quit: Ramonster: Quit: So Long and thanks for all the fish
[2011/12/08 08:05:29] <kjetilho> oh. try --debug
[2011/12/08 08:05:37] <kjetilho> I think it will report it actually
[2011/12/08 08:06:37] <movexig> I did, and it doesn't
[2011/12/08 08:06:43] <movexig> It doesn't even mention upstart until the error occurs
[2011/12/08 08:06:55] @ Quit: hooper: Quit: Leaving.
[2011/12/08 08:06:55] <movexig> And the line just before is unrelated
[2011/12/08 08:07:28] @ Quit: kermit: Quit: Leaving.
[2011/12/08 08:07:57] @ Quit: raphdg: Remote host closed the connection
[2011/12/08 08:08:26] @ kermit joined channel #puppet
[2011/12/08 08:09:20] @ Quit: soosfarm: Ping timeout: 248 seconds
[2011/12/08 08:09:20] @ kenperkins joined channel #puppet
[2011/12/08 08:11:22] @ Quit: rdark: Quit: leaving
[2011/12/08 08:11:39] @ rdark joined channel #puppet
[2011/12/08 08:12:02] <movexig> So how else can I find out what it wants me to do?
[2011/12/08 08:12:06] <movexig> Or rather, what is missing?
[2011/12/08 08:12:30] @ RhysMorgan joined channel #puppet
[2011/12/08 08:14:56] @ sdog joined channel #puppet
[2011/12/08 08:15:32] @ laudo joined channel #puppet
[2011/12/08 08:16:24] @ Quit: marcus: Quit: Leaving
[2011/12/08 08:17:41] <laudo> Can someone explain when exatcly the facts get generated for the client? Before or after the manifests for the client is read?
[2011/12/08 08:18:10] <Volcane> laudo: when the client asks for its catalog it sends the facts with - compilation is dependant on having facts
[2011/12/08 08:18:32] @ duerF joined channel #puppet
[2011/12/08 08:18:34] <laudo> Volcanes: What about the very first time it syncs?
[2011/12/08 08:18:40] <Volcane> every time
[2011/12/08 08:18:59] <Volcane> but optionally before it does that it can do something called pluginsync o fetch any custom facts you might wish to deploy
[2011/12/08 08:20:16] @ Quit: lkoranda: Quit: Ex-Chat
[2011/12/08 08:21:19] @ walterheck joined channel #puppet
[2011/12/08 08:22:16] @ Quit: jimmy1980: Ping timeout: 240 seconds
[2011/12/08 08:24:02] <laudo> what is the approach to check why a host doesn't create essential facts? For example i have a host with 3 interfaces. But it only creates the facts for the first interface
[2011/12/08 08:24:35] @ newtMcKerr joined channel #puppet
[2011/12/08 08:25:03] <kjetilho> movexig: did you actually look at the code at all?
[2011/12/08 08:25:07] <kjetilho> it's not that hard to read
[2011/12/08 08:25:09] <kjetilho> /usr/lib/ruby/1.8/puppet/provider/service/upstart.rb
[2011/12/08 08:25:15] @ Quit: jsurfer: Quit: jsurfer
[2011/12/08 08:25:19] <kjetilho> all the listed commands must be present
[2011/12/08 08:25:53] <kjetilho> and operatingsystem must be ubuntu, obviously
[2011/12/08 08:27:29] @ jaytaph_ joined channel #puppet
[2011/12/08 08:28:07] @ Quit: jsm: Quit: jsm
[2011/12/08 08:28:47] @ Quit: walterheck: Ping timeout: 252 seconds
[2011/12/08 08:29:06] @ Quit: jaytaph: Read error: Operation timed out
[2011/12/08 08:29:06] @ jaytaph_ is now known as jaytaph
[2011/12/08 08:29:28] @ jimmy1980 joined channel #puppet
[2011/12/08 08:31:37] @ shanlar- joined channel #puppet
[2011/12/08 08:32:36] @ jantman left channel #puppet ()
[2011/12/08 08:34:34] @ Quit: shanlar: Ping timeout: 244 seconds
[2011/12/08 08:36:50] @ juggernaut joined channel #puppet
[2011/12/08 08:40:51] @ Quit: kenperkins: Quit: Computer has gone to sleep.
[2011/12/08 08:40:52] @ ryancoleman joined channel #puppet
[2011/12/08 08:41:18] @ Quit: leifmadsen: Read error: Operation timed out
[2011/12/08 08:43:33] @ Quit: rdark: Quit: leaving
[2011/12/08 08:43:49] @ rdark joined channel #puppet
[2011/12/08 08:44:23] @ Quit: mogitaff: Remote host closed the connection
[2011/12/08 08:45:20] @ Quit: RhysMorgan: Quit: RhysMorgan
[2011/12/08 08:45:29] @ Quit: rdark: Client Quit
[2011/12/08 08:47:14] @ Quit: msaum: Quit: Leaving.
[2011/12/08 08:47:25] @ msaum joined channel #puppet
[2011/12/08 08:47:27] @ Quit: pmorillon: Quit: pmorillon
[2011/12/08 08:48:05] <laudo> where would you suggest to define stages? in site.pp or templates.pp? Does it matter at all?
[2011/12/08 08:48:27] @ Guest60262 joined channel #puppet
[2011/12/08 08:48:39] @ trickyf left channel #puppet ()
[2011/12/08 08:49:07] @ Quit: Guest60262: Read error: Connection reset by peer
[2011/12/08 08:49:31] @ Vulcan[OMNI] joined channel #puppet
[2011/12/08 08:49:32] @ ezryx_ joined channel #puppet
[2011/12/08 08:49:50] @ RhysMorgan joined channel #puppet
[2011/12/08 08:49:51] @ danikov joined channel #puppet
[2011/12/08 08:51:10] @ Quit: ezryx_: Remote host closed the connection
[2011/12/08 08:51:27] @ Quit: movexig: Ping timeout: 240 seconds
[2011/12/08 08:52:03] @ h4x0rzzzz joined channel #puppet
[2011/12/08 08:52:24] @ annunaki2k2 joined channel #puppet
[2011/12/08 08:53:20] @ miche joined channel #puppet
[2011/12/08 08:54:30] @ Quit: jimmy1980: Ping timeout: 252 seconds
[2011/12/08 08:54:47] @ Quit: adimania: Ping timeout: 240 seconds
[2011/12/08 08:56:21] @ leifmadsen joined channel #puppet
[2011/12/08 08:56:53] @ rdark joined channel #puppet
[2011/12/08 08:57:08] @ Quit: omry_: Ping timeout: 240 seconds
[2011/12/08 08:57:42] @ Quit: miche: Client Quit
[2011/12/08 08:57:49] <annunaki2k2> Anyone available to help with a custom function that I've failed to get working?
[2011/12/08 08:58:01] @ Quit: sdog: Quit: Leaving.
[2011/12/08 08:59:14] @ mosburn joined channel #puppet
[2011/12/08 09:00:07] @ Quit: _TB_: Quit: Konversation terminated!
[2011/12/08 09:00:11] @ miche joined channel #puppet
[2011/12/08 09:00:23] @ _TB_ joined channel #puppet
[2011/12/08 09:00:33] @ Quit: rdark: Client Quit
[2011/12/08 09:00:50] @ rdark joined channel #puppet
[2011/12/08 09:01:02] @ jimmy1980 joined channel #puppet
[2011/12/08 09:01:14] @ Quit: octane-: Quit: octane-
[2011/12/08 09:01:24] @ Quit: rdark: Client Quit
[2011/12/08 09:01:35] @ Quit: MartVisser: Quit: Leaving
[2011/12/08 09:01:42] @ rdark joined channel #puppet
[2011/12/08 09:03:09] @ dylants joined channel #puppet
[2011/12/08 09:05:29] @ SQLDarkly joined channel #puppet
[2011/12/08 09:07:29] @ williemach joined channel #puppet
[2011/12/08 09:08:01] @ ghanima joined channel #puppet
[2011/12/08 09:08:21] @ Quit: DbT_: Ping timeout: 252 seconds
[2011/12/08 09:08:30] @ Quit: msaum: Quit: Leaving.
[2011/12/08 09:08:59] @ mutex_ is now known as mutex
[2011/12/08 09:09:35] @ tblamer joined channel #puppet
[2011/12/08 09:10:54] @ msaum joined channel #puppet
[2011/12/08 09:11:25] @ omry_ joined channel #puppet
[2011/12/08 09:11:30] @ Quit: tblamer: Remote host closed the connection
[2011/12/08 09:11:37] @ tblamer joined channel #puppet
[2011/12/08 09:11:40] @ Quit: sanzante: Remote host closed the connection
[2011/12/08 09:12:44] @ Quit: rdark: Quit: leaving
[2011/12/08 09:12:59] @ rdark joined channel #puppet
[2011/12/08 09:14:22] @ sumsuch joined channel #puppet
[2011/12/08 09:16:39] @ Quit: duerF: Quit: Leaving
[2011/12/08 09:17:54] <SQLDarkly> So lets say I have a fact that returns foobar from clientA. Can I somehow grab foobar into a shell script im execing through puppet?
[2011/12/08 09:18:34] <tremble> SQLDarkly: templates
[2011/12/08 09:19:00] <SQLDarkly> templates i would use, but in this case im instructed not to.
[2011/12/08 09:19:24] <SQLDarkly> is the question fesible is what im asking. I know their are better tools for the job of course
[2011/12/08 09:19:47] @ Quit: omry_: Read error: Operation timed out
[2011/12/08 09:19:54] @ Quit: sumsuch: Quit: sumsuch
[2011/12/08 09:20:12] <ashp> For those people that use puppet with RPMs: http://www.usenix.org/events/lisa11/tech/full_papers/Pierre.pdf - a paper on using pulp for patch management combined with config management (except he uses bcfg2 but still)
[2011/12/08 09:20:29] @ omry_ joined channel #puppet
[2011/12/08 09:20:45] <tremble> SQLDarkly: I guess you could use augaes instead ?
[2011/12/08 09:21:06] <tremble> http://projects.puppetlabs.com/projects/1/wiki/Puppet_Augeas
[2011/12/08 09:21:52] <tremble> Or just get the script written such that it reads from a config file which you are permitted to template?
[2011/12/08 09:22:10] <SQLDarkly> yeah I use it a lot also. In this case it wont help what im doing. I have really strict requirements so I may just leave puppet out of the loop on this one. Ive automated everything to such an extend its like when all you have is ahammer then everything starts to look like a nail :)
[2011/12/08 09:22:11] @ maxmartin joined channel #puppet
[2011/12/08 09:22:11] @ kenperkins joined channel #puppet
[2011/12/08 09:25:18] @ Quit: rcrowley: Quit: Computer has gone to sleep.
[2011/12/08 09:25:35] @ Quit: RhysMorgan: Quit: RhysMorgan
[2011/12/08 09:25:55] <SQLDarkly> hmmm but i think i answered my question. I can pass the facter fact as a switch to my script via puppet exec. I wonder if I can do it that way. Only one way to see I suppose.
[2011/12/08 09:26:38] <tremble> SQLDarkly: Oh, yeah, yes you can do that
[2011/12/08 09:26:52] <tremble> Didn't realise you were exectuting the script through puppet
[2011/12/08 09:27:05] @ Quit: comptona[R2]: Quit: Leaving.
[2011/12/08 09:27:13] <SQLDarkly> yeah. doing a homebrew user auth thing.
[2011/12/08 09:27:37] @ Quit: maxmartin: Quit: Computer has gone to sleep.
[2011/12/08 09:28:44] @ mrwacky42 joined channel #puppet
[2011/12/08 09:32:00] @ Quit: msaum: Quit: Leaving.
[2011/12/08 09:32:32] @ Quit: paroneayea: Remote host closed the connection
[2011/12/08 09:33:10] @ Quit: mrwacky42: Ping timeout: 260 seconds
[2011/12/08 09:33:39] @ Quit: omry_: Ping timeout: 252 seconds
[2011/12/08 09:33:56] @ msaum joined channel #puppet
[2011/12/08 09:36:08] @ nfagerlund joined channel #puppet
[2011/12/08 09:36:58] @ Quit: nuknad: Quit: nuknad
[2011/12/08 09:37:30] @ ianbrandt joined channel #puppet
[2011/12/08 09:37:38] @ jsurfer joined channel #puppet
[2011/12/08 09:37:52] @ Quit: daysmen: Read error: No route to host
[2011/12/08 09:37:54] @ pcarlisle joined channel #puppet
[2011/12/08 09:37:56] <annunaki2k2> I am trying to convert a network range variable to a subnet mask that can be used in a template. (i.e. "10.0.0.0/23" is the input variable and "255.255.254.0" would be my desired output).
[2011/12/08 09:37:57] @ omry_ joined channel #puppet
[2011/12/08 09:38:46] <annunaki2k2> I have found the netaddr ruby module, but can't workout how to best call this from within a template. I have tried a custom module but it doesn't work.
[2011/12/08 09:38:48] @ mrwacky42 joined channel #puppet
[2011/12/08 09:38:54] <annunaki2k2> Anyone able to suggest/help?
[2011/12/08 09:39:24] @ Quit: nan0r: Quit: Leaving.
[2011/12/08 09:40:06] @ Quit: rideh: Quit: rideh
[2011/12/08 09:40:43] <annunaki2k2> tremble: can you help? I effectively want to call "NetAddr::CIDR.create(my_network).netmask_ext" from in a template, but how?
[2011/12/08 09:41:10] @ shanlar- is now known as shanlar
[2011/12/08 09:41:16] @ Quit: rdark: Quit: leaving
[2011/12/08 09:41:28] @ Quit: sduchesneau: Ping timeout: 268 seconds
[2011/12/08 09:41:37] @ rdark joined channel #puppet
[2011/12/08 09:41:44] @ Quit: rdark: Client Quit
[2011/12/08 09:41:48] <tremble> annunaki2k2: http://docs.puppetlabs.com/guides/templating.html down at the bottom
[2011/12/08 09:41:59] @ Quit: kolla: Remote host closed the connection
[2011/12/08 09:42:00] @ DbT_ joined channel #puppet
[2011/12/08 09:42:40] @ Quit: fir31ight: Ping timeout: 248 seconds
[2011/12/08 09:43:23] @ fir31ight joined channel #puppet
[2011/12/08 09:43:27] @ Quit: labrown: Ping timeout: 252 seconds
[2011/12/08 09:43:36] @ Quit: h4x0rzzzz: Quit: Page closed
[2011/12/08 09:43:46] @ Quit: tremble: Quit: Leaving
[2011/12/08 09:44:11] <annunaki2k2> tremble: I've tried to follow the documentation, but I don't seem to be able to get it to work. What is the syntax I should use?
[2011/12/08 09:45:35] @ Quit: miche: Quit: Computer has gone to sleep.
[2011/12/08 09:45:37] @ Razique joined channel #puppet
[2011/12/08 09:47:18] @ Quit: inecas: Ping timeout: 244 seconds
[2011/12/08 09:47:55] @ paroneayea joined channel #puppet
[2011/12/08 09:48:17] @ Quit: DbT_: Quit: zzzz
[2011/12/08 09:48:33] @ the_ramink joined channel #puppet
[2011/12/08 09:48:58] @ Quit: jeremyb: Ping timeout: 244 seconds
[2011/12/08 09:49:09] @ jodok joined channel #puppet
[2011/12/08 09:49:09] @ Quit: jodok: Changing host
[2011/12/08 09:49:09] @ jodok joined channel #puppet
[2011/12/08 09:49:23] @ Quit: ghg: Quit: Computer has gone to sleep.
[2011/12/08 09:50:58] @ Quit: mgk: Ping timeout: 265 seconds
[2011/12/08 09:50:59] @ Quit: jabir1: Quit: Leaving.
[2011/12/08 09:51:09] @ Quit: zul: Ping timeout: 252 seconds
[2011/12/08 09:51:52] @ zul joined channel #puppet
[2011/12/08 09:53:15] @ Quit: msaum: Quit: Leaving.
[2011/12/08 09:54:11] @ sduchesneau joined channel #puppet
[2011/12/08 09:55:06] @ jabir joined channel #puppet
[2011/12/08 09:55:07] @ alfism joined channel #puppet
[2011/12/08 09:55:11] @ msaum joined channel #puppet
[2011/12/08 09:55:22] @ jeremyb joined channel #puppet
[2011/12/08 09:56:29] @ maxmartin joined channel #puppet
[2011/12/08 09:56:47] @ Quit: jeremyb: Changing host
[2011/12/08 09:56:47] @ jeremyb joined channel #puppet
[2011/12/08 09:57:06] @ deni joined channel #puppet
[2011/12/08 09:58:26] @ adimania joined channel #puppet
[2011/12/08 09:58:28] @ Quit: jimmy1980: Ping timeout: 252 seconds
[2011/12/08 10:00:10] <deni> does the namespaceauth.conf file need to be set on the client or on the master?
[2011/12/08 10:00:33] @ motomike joined channel #puppet
[2011/12/08 10:00:35] @ octane- joined channel #puppet
[2011/12/08 10:00:38] <deni> and what is the difference between that file and the auth.conf file? do i need both?
[2011/12/08 10:01:24] @ Swen joined channel #puppet
[2011/12/08 10:01:31] <Swen> hi
[2011/12/08 10:01:52] @ Swen left channel #puppet ()
[2011/12/08 10:02:23] <annunaki2k2> tremble: I apologise for bugging you, but how do I call a function from the template? If I use: <%= NetAddr::CIDR.create(my_routable_network).netmask_ext %>, of course it complains "uninitialized constant Puppet::Parser::TemplateWrapper::NetAddr". But if I use <%= scope.NetAddr::CIDR.create(my_routable_network).ip %>, the puppetmaster seems to go into a memory leaking endless loop during the compile (and does not exit until I kill it), and on the clie
[2011/12/08 10:02:23] <annunaki2k2> nt eventually it just times outs.
[2011/12/08 10:02:38] @ Quit: drnexus: Ping timeout: 240 seconds
[2011/12/08 10:03:50] @ jimmy1980 joined channel #puppet
[2011/12/08 10:04:12] @ rdark joined channel #puppet
[2011/12/08 10:04:59] @ Quit: octane-: Ping timeout: 244 seconds
[2011/12/08 10:05:24] <annunaki2k2> anyone else know what's going on with my template and why the server-side compile seems to get stuck?
[2011/12/08 10:06:17] <annunaki2k2> Is "<%= scope.NetAddr::CIDR.create(my_routable_network).ip %>" the correct syntax?
[2011/12/08 10:06:22] @ druonysus joined channel #puppet
[2011/12/08 10:06:41] <SQLDarkly> well judging off a quick read on the docs maybe try scope.function_x
[2011/12/08 10:08:05] <annunaki2k2> SQLDarkly: Thanks for the response. Am I right in saying that "scope.function_x" is only for puppet (or custom) functions? (as opposed to a ruby module?)
[2011/12/08 10:09:09] <SQLDarkly> I cannot answer that question as I normally do those types of things inside facts rather than template, but only way to see is to try. The only true failure is never trying in the first place is what I always say
[2011/12/08 10:09:11] @ Quit: rdark: Quit: leaving
[2011/12/08 10:09:29] @ rdark joined channel #puppet
[2011/12/08 10:10:29] <mrwacky42> annunaki2k2: did you require 'NetAddr' in your template?
[2011/12/08 10:11:30] @ ciupicri joined channel #puppet
[2011/12/08 10:11:49] @ pll joined channel #puppet
[2011/12/08 10:11:50] <annunaki2k2> SQLDarkly: I just tried it, and again it has failed in the same way; (the puppet master sits there at 100% cpu and start chomping memory...).
[2011/12/08 10:11:57] <SQLDarkly> yeah i bet mrwacky has something there
[2011/12/08 10:12:08] <ciupicri> I remember reading somewhere on the official site that it's good to have all the users defined in a manifest then realize them where needed, but I can't find that document anymore
[2011/12/08 10:12:36] @ lindenle joined channel #puppet
[2011/12/08 10:12:44] @ marrusl_ joined channel #puppet
[2011/12/08 10:12:46] @ Quit: marrusl: Read error: Connection reset by peer
[2011/12/08 10:12:59] <annunaki2k2> mrwacky: that sounds promising, no I currently don't and I didn't know I would have to. Can I presume that I simply include a <% require 'netadd' %> anywhere in the template?
[2011/12/08 10:13:23] <lindenle> Hi Guys. I have multiple environments on my puppet master and I have set environment=test in my master config section. However when i do puppet agent -t from a client it still looks for production rather than test. Any ideas?
[2011/12/08 10:13:27] @ jabir1 joined channel #puppet
[2011/12/08 10:13:29] <SQLDarkly> annunaki2k2: http://www.ruby-doc.org/stdlib-1.9.3/libdoc/erb/rdoc/ERB.html
[2011/12/08 10:14:20] <SQLDarkly> lindenle: define environment on the client like puppet agent --test --verbose --debug --environment test
[2011/12/08 10:14:26] <annunaki2k2> SQLDarky: thank you - that looks like it'll be a great help: /bookmarked
[2011/12/08 10:14:30] @ Quit: msaum: Quit: Leaving.
[2011/12/08 10:14:42] <SQLDarkly> or add environment=test in your puppet.conf
[2011/12/08 10:14:44] <lindenle> <SQLDarkly>: That works. But I want to set the default in the master
[2011/12/08 10:14:46] @ Quit: jabir: Ping timeout: 268 seconds
[2011/12/08 10:15:10] <SQLDarkly> set the var in the puppet conf and youll be set.
[2011/12/08 10:15:35] <lindenle> SQLDarkly: It is not working. Wait does it need to be outside any sectiopn?
[2011/12/08 10:16:01] @ msaum joined channel #puppet
[2011/12/08 10:16:41] <SQLDarkly> not on the master :P
[2011/12/08 10:17:03] <SQLDarkly> you need to define those environments on the client, and then on the master define new [environmentname] sections
[2011/12/08 10:17:08] @ comptona joined channel #puppet
[2011/12/08 10:17:08] <SQLDarkly> with modulepath and what not
[2011/12/08 10:17:09] <lindenle> SQLDarkly: but the docs say I can do it on the master
[2011/12/08 10:17:28] @ seanh-ansca joined channel #puppet
[2011/12/08 10:17:31] <lindenle> SQLDarkly: http://docs.puppetlabs.com/references/stable/configuration.html#environment
[2011/12/08 10:17:35] <SQLDarkly> your misunderstanding the docs then. here ill show you my maste config as I use environments at my gig
[2011/12/08 10:17:56] <lindenle> how am i misunderstanding this sentence: For servers (i.e., puppet master) this provides the default environment for nodes we know nothing about.
[2011/12/08 10:19:06] @ movexig joined channel #puppet
[2011/12/08 10:19:31] <lindenle> <SQLDarkly> ^^
[2011/12/08 10:20:00] @ comptona is now known as comptona[R2]
[2011/12/08 10:20:35] <SQLDarkly> http://pastebin.com/qBrQXTQM
[2011/12/08 10:20:57] <annunaki2k2> SQLDarkly/mrwacky42: I have added <% require 'netaddr' %> into the template, but unfortunately it's still locking up the server when it tries to compile it.
[2011/12/08 10:21:05] <annunaki2k2> How can I debug this?
[2011/12/08 10:21:34] <ciupicri> jamesturnbull, http://docs.puppetlabs.com/guides/best_practices.html the Wiki link points to 404
[2011/12/08 10:23:06] <lindenle> <SQLDarkly>: we do it in a slicker way here ;) http://pastie.org/2987174
[2011/12/08 10:23:46] <SQLDarkly> annunaki2k2: you may want to try doing what you need in a fact. Either that or watch the master in debug.
[2011/12/08 10:23:50] <Evolution> I'm seeing an issue with puppet that's likely of my own doing. I'm getting "could not retrieve information from environment production source puppet://myserver/plugins
[2011/12/08 10:23:55] @ trickyf joined channel #puppet
[2011/12/08 10:24:02] <lindenle> SQLDarkly: We have a "lot" of environments b/c people can branch our main git repo and use that environment for testing
[2011/12/08 10:24:12] <Evolution> I have pluginsync = true set, but I think I've managed to screw something up
[2011/12/08 10:24:22] <jamesturnbull> ciupicri: can you log a ticket please?
[2011/12/08 10:24:23] @ Quit: jodok: Read error: Connection reset by peer
[2011/12/08 10:24:38] @ jodok joined channel #puppet
[2011/12/08 10:24:38] @ Quit: jodok: Changing host
[2011/12/08 10:24:38] @ jodok joined channel #puppet
[2011/12/08 10:24:43] <ciupicri> jamesturnbull, ok, if you say so
[2011/12/08 10:24:45] <Evolution> do I need the lib dir in my modules for that to stop complaining?
[2011/12/08 10:25:00] <SQLDarkly> lindenle: Lots of developers? We mostly manage database servers so it simplifies things :) A code shop yeah that would probably be a nicer approach
[2011/12/08 10:25:07] @ Quit: movexig: Read error: Connection reset by peer
[2011/12/08 10:25:23] <jamesturnbull> ciupicri: thanks!
[2011/12/08 10:25:51] <lindenle> <SQLDarkly>: works for us at the moment, nay porove to be unmanagable...but back to my question. Did i misread that sentence?
[2011/12/08 10:26:59] <SQLDarkly> Your trying to set the default?
[2011/12/08 10:27:28] @ redparchel joined channel #puppet
[2011/12/08 10:27:36] <lindenle> <SQLDarkly>: yes
[2011/12/08 10:27:53] <SQLDarkly> You can do so in your default node. What we do here is generate a puppetconf based off role, and the puppet conf puts the correct environment fo r said node.
[2011/12/08 10:27:55] @ Quit: kubicek: Excess Flood
[2011/12/08 10:28:04] <pll> Is there a way to test if a Group or User already exists ?
[2011/12/08 10:28:12] @ digr1 left channel #puppet ()
[2011/12/08 10:29:07] <SQLDarkly> pll: facter fact may work for you.
[2011/12/08 10:29:21] <SFox> question: puppetd -t -v -d doesn't work .. even if i have puppet in /etc/hosts and dns, however, with --server it work. err is err: Could not retrieve catalog from remote server: hostname was not match with the server certificate.
[2011/12/08 10:29:31] @ kubicek joined channel #puppet
[2011/12/08 10:30:03] <ciupicri> jamesturnbull, done http://projects.puppetlabs.com/issues/11283
[2011/12/08 10:30:07] @ Quit: adimania: Ping timeout: 240 seconds
[2011/12/08 10:30:10] <annunaki2k2> SQLDarkly: I've run it in debug mode, and the last line I see is: "debug: template[/etc/puppet/modules/ntpd/templates/ntp.conf.erb]: Bound template variables for /etc/puppet/modules/ntpd/templates/ntp.conf.erb in 0.00 seconds". It then just sits there eating resources.
[2011/12/08 10:30:17] <SQLDarkly> SFox: is not a DNS issue its an SSL issue. That one is answered on google quite a bit.
[2011/12/08 10:30:36] @ Quit: rocketeer: Ping timeout: 265 seconds
[2011/12/08 10:30:45] <jamesturnbull> ciupicri: thanks - otherwise they slip through the cracks
[2011/12/08 10:30:49] <annunaki2k2> SQLDarkly: Shouldn't that line be followed by a "Interpolated template" line?
[2011/12/08 10:30:59] <SQLDarkly> you can get around your issue if you cname your server or correct ssl as that would be the real answer ;)
[2011/12/08 10:31:00] @ sumsuch joined channel #puppet
[2011/12/08 10:31:21] <laudo> can i inherit from to classes?
[2011/12/08 10:31:28] <redparchel> can one do something like this INSIDE a node def that contains all of the below, basically should this regex work?
[2011/12/08 10:31:28] <redparchel> case $hostname {
[2011/12/08 10:31:28] <redparchel> /^web(100|101|102|103|104)$/: { $clustermaster = "master100" }
[2011/12/08 10:31:28] <redparchel> /^web(105|106|107|108|109|110)$/: { $clustermaster = "master101" }
[2011/12/08 10:31:28] <redparchel> default: { $clustermaster = "NULL" }
[2011/12/08 10:31:29] <redparchel> }
[2011/12/08 10:31:38] <redparchel> shoot sorry for the multi line
[2011/12/08 10:32:04] <SFox> SQLDarkly: it's already in cname, the ssl is fqdn rather.
[2011/12/08 10:32:29] <SQLDarkly> annunaki2k2: try running with trace or try running ruby itself in debug. You could probably do what you need in a fact however.
[2011/12/08 10:32:43] @ jodok_ joined channel #puppet
[2011/12/08 10:32:44] @ Quit: jodok_: Changing host
[2011/12/08 10:32:44] @ jodok_ joined channel #puppet
[2011/12/08 10:32:49] @ Reepicheep joined channel #puppet
[2011/12/08 10:33:01] @ adimania joined channel #puppet
[2011/12/08 10:33:05] <SQLDarkly> SFox: I mean cname what the cert sees, but i would honestly just correct ssl. Use openssl cli tool to see what your cert says and what you think it should say
[2011/12/08 10:33:19] @ aherzog joined channel #puppet
[2011/12/08 10:33:50] <ciupicri> jamesturnbull, by the way http://projects.puppetlabs.com/#Bugs-and-Feature-Requests does not list the "Puppet Documentation" project/component
[2011/12/08 10:34:19] <SQLDarkly> SFox: You can do openssl s_client -host puppet -port 8140 -cert /path/to/ssl/certs/node.domain.com.pem -key /path/to/ssl/private_keys/node.domain.com.pem -CAfile /path/to/ssl/certs/ca.pem to simulate a puppet connection
[2011/12/08 10:34:34] @ Quit: ezryx: Remote host closed the connection
[2011/12/08 10:34:50] <SFox> SQLDarkly: thanks .. i'll try
[2011/12/08 10:35:00] @ miche joined channel #puppet
[2011/12/08 10:35:22] <pll> SQLDarkly: Oh, sorry, I mean, in puppet code, can you test if the object has been defined ?
[2011/12/08 10:35:37] <pll> i.e. can I do "if Group["foo']..."
[2011/12/08 10:35:46] @ Quit: msaum: Quit: Leaving.
[2011/12/08 10:36:10] @ metcalfc joined channel #puppet
[2011/12/08 10:36:27] @ Quit: jodok: Ping timeout: 240 seconds
[2011/12/08 10:36:28] @ jodok_ is now known as jodok
[2011/12/08 10:36:34] <laudo> I have a base class which include network and repo definitions plus alot other stuff. I have to assure that repo comes first after network defs and than the rest in base. Is there a way i can do that?
[2011/12/08 10:36:50] <SQLDarkly> yes puppet certainly supports conditionals, id read up the docs as the language guide is a great primer.
[2011/12/08 10:37:14] <pll> SQLDarkly: yes, I know puppet supports conditionals.
[2011/12/08 10:37:30] <pll> I've read the primers, the best practices, the howtos
[2011/12/08 10:37:33] @ msaum joined channel #puppet
[2011/12/08 10:37:46] <SQLDarkly> your not explaining your question I guess ;)
[2011/12/08 10:37:52] <pll> I just don't know if it suppports a conditional on an object!
[2011/12/08 10:38:05] <pll> I know I can do: if $foo...
[2011/12/08 10:38:09] <SQLDarkly> what are you trying to do? what have you tried? what errors are you receiving if any?
[2011/12/08 10:38:18] <the_ramink> redparchel: that should work. I do simpler versions of that to add one offs to a particular hostgroup.
[2011/12/08 10:38:22] <pll> But I don't know if I can do: if Group["foo"]...
[2011/12/08 10:38:34] <pll> I have a define that creates a group.
[2011/12/08 10:38:42] <_rc_> pll: look up the defined() function, then never ever use it
[2011/12/08 10:38:53] <SFox> SQLDarkly: clean out ssl, request, resign seem to work ... odd, i have to look at my bootstrap script then. thx.
[2011/12/08 10:38:55] <pll> But I don't want to creaete the group if I've already done so.
[2011/12/08 10:39:21] @ scsinutz joined channel #puppet
[2011/12/08 10:39:33] <pll> therefore, I need to test if $group has been instantiated as an object.
[2011/12/08 10:39:33] <SQLDarkly> SFox: not a problem. openssl cli tool is sweet for fixing those quirky issues. Once you get it though youll nail it every time
[2011/12/08 10:39:38] @ RhysMorgan joined channel #puppet
[2011/12/08 10:39:40] <redparchel> thanks the_ramink that's pretty much what i'm doing
[2011/12/08 10:40:24] <the_ramink> pll: might be simpler to make the Group virtual and you can just realize it where ever.
[2011/12/08 10:41:56] @ scsinutz left channel #puppet ()
[2011/12/08 10:42:35] <pll> the_ramink: I've thought of that, but ended up taking a different path.
[2011/12/08 10:43:01] <pll> I might have to go back to that idea though if this current code doesn't work out easily enough.
[2011/12/08 10:45:37] <the_ramink> pll: virtual resources are pretty straightforward, should be fairly easy to slot into your current code
[2011/12/08 10:46:20] @ Quit: RhysMorgan: Quit: RhysMorgan
[2011/12/08 10:46:38] <SQLDarkly> Also if you give Megadeth: Lucretia a listen youll find your logic problems disappear :P
[2011/12/08 10:46:59] @ alanevans joined channel #puppet
[2011/12/08 10:49:12] <loxo> As of today, I am receiving some weird errors on a puppet enterprise installation i have been evaluating:
[2011/12/08 10:49:25] <loxo> when i restart pe-puppet-dashboard-workers I get:
[2011/12/08 10:49:25] <loxo> run 'rake db:migrate' or set environmental variable NO_MIGRATION_CHECK
[2011/12/08 10:49:40] <loxo> i did some research on how to do the rake
[2011/12/08 10:50:07] @ Quit: adimania: Ping timeout: 240 seconds
[2011/12/08 10:50:27] <loxo> when i do the rake, i get:
[2011/12/08 10:50:28] <loxo> rake aborted!
[2011/12/08 10:50:28] <loxo> Mysql::Error: Unknown table engine 'InnoDB': SELECT version FROM schema_migrations
[2011/12/08 10:50:54] <loxo> i hadn't changed anything from yesterday to today and this showed up. any ideas why i would be getting this mysql error now?
[2011/12/08 10:51:33] <Volcane> your mysql isnt running with innodb enabled
[2011/12/08 10:52:23] @ Quit: jbraeuer: Quit: jbraeuer
[2011/12/08 10:52:24] <loxo> how would i enable it?
[2011/12/08 10:52:54] <Volcane> should be on by default, log might tell you why its disabled
[2011/12/08 10:53:00] @ Quit: jaytaph: Remote host closed the connection
[2011/12/08 10:53:05] <loxo> okay let me check.
[2011/12/08 10:53:06] @ lak joined channel #puppet
[2011/12/08 10:53:06] @ Quit: lak: Changing host
[2011/12/08 10:53:07] @ lak joined channel #puppet
[2011/12/08 10:53:17] @ Quit: miche: Quit: Computer has gone to sleep.
[2011/12/08 10:53:18] @ jaytaph joined channel #puppet
[2011/12/08 10:53:48] <laudo> if i have a class in stage first are to module which i include in that class automatically first too?
[2011/12/08 10:54:13] @ Fthis joined channel #puppet
[2011/12/08 10:54:35] <Fthis> hey guys, how can i put the results of 'exec' into a $variable?
[2011/12/08 10:54:42] @ bmahe joined channel #puppet
[2011/12/08 10:54:47] <Volcane> you cant
[2011/12/08 10:54:50] <Fthis> i mean the stdout
[2011/12/08 10:54:54] <annunaki2k2> SQLDarkly: thanks for all your help - it's working now :-)
[2011/12/08 10:55:29] <Fthis> Volcane: I would like to put this into a $variable: /opt/sfw/bin/sudo -V | grep '^Sudoers path' | awk '{print $NF}'
[2011/12/08 10:55:35] @ Quit: astrostl:
[2011/12/08 10:55:47] <Fthis> it will tell you the path to the sudoer's conf file
[2011/12/08 10:55:47] <Volcane> you'd need to add a fact for that
[2011/12/08 10:55:49] <SQLDarkly> not a problem ;)
[2011/12/08 10:56:11] <Volcane> Fthis: http://docs.puppetlabs.com/guides/custom_facts.html
[2011/12/08 10:56:20] @ annunaki2k2 left channel #puppet ("Ex-Chat")
[2011/12/08 10:56:54] @ inecas joined channel #puppet
[2011/12/08 10:57:12] <Fthis> Volcane: ok what about this. say i want puppet to do an if/else based on the exit code of a shell script, how can i do that?
[2011/12/08 10:57:19] <Fthis> unless/onlyif are kind of limited
[2011/12/08 10:57:27] <Volcane> cant
[2011/12/08 10:57:27] @ Quit: lak: Ping timeout: 240 seconds
[2011/12/08 10:57:31] <Volcane> it works in 2 phases
[2011/12/08 10:57:40] @ justin_donaldson joined channel #puppet
[2011/12/08 10:57:40] <Volcane> one compile phase where all the choices are made - variables parsed etc
[2011/12/08 10:57:48] <Volcane> and one where the compiled result is 'ran'
[2011/12/08 10:58:01] <Fthis> :(
[2011/12/08 10:58:03] <Volcane> so you can see that the run phase cant influence the compile phase which is what you're asking
[2011/12/08 10:58:10] <Volcane> the only way to get variables like that set is via facts
[2011/12/08 10:58:23] @ Quit: justin_donaldson: Client Quit
[2011/12/08 10:58:31] @ Quit: msaum: Quit: Leaving.
[2011/12/08 10:58:38] @ justin_donaldson joined channel #puppet
[2011/12/08 10:59:06] <Fthis> or shell scripting what i need done, and have puppet run the shell script. but i'm trying to keep things inside puppet
[2011/12/08 10:59:30] @ soosfarm joined channel #puppet
[2011/12/08 11:00:05] <jamesturnbull> ciupicri: that's fixed! Thanks
[2011/12/08 11:00:21] <ciupicri> jamesturnbull, you're welcome
[2011/12/08 11:00:49] @ msaum joined channel #puppet
[2011/12/08 11:01:29] @ erthad left channel #puppet ()
[2011/12/08 11:01:52] <d3c> did anyone recently use macports with puppet? for whatever package I define, I get: change from absent to latest failed: Could not update: undefined method `[]' for nil:NilClass
[2011/12/08 11:02:41] @ KaiserBeto1 joined channel #puppet
[2011/12/08 11:03:24] @ KaiserBeto1 left channel #puppet ()
[2011/12/08 11:03:33] @ tnguyen joined channel #puppet
[2011/12/08 11:03:53] @ tnguyen left channel #puppet ()
[2011/12/08 11:04:16] <d3c> can't really find much on google etc about this.
[2011/12/08 11:04:22] @ Quit: omry_: Ping timeout: 248 seconds
[2011/12/08 11:04:25] @ Quit: laudo: Quit: Page closed
[2011/12/08 11:05:37] <lindenle> How can I check the fingerprint of my client cert? I am getting a could not retrieve catalog from remote server error...
[2011/12/08 11:07:07] <d3c> simple example of how it breaks with macports as package provider: http://pastebin.com/cENpPYFR
[2011/12/08 11:08:20] <SQLDarkly> puppet cert --list certname --fingerprint
[2011/12/08 11:08:36] <SQLDarkly> puppet agent --test --noop --fingerprint
[2011/12/08 11:09:11] @ omry_ joined channel #puppet
[2011/12/08 11:10:16] @ Quit: Spads: Ping timeout: 240 seconds
[2011/12/08 11:10:34] <lindenle> SQLDarkly: OK, so they match but I am still getting the error...
[2011/12/08 11:11:12] <lindenle> SQLDarkley: Can I turn up verbosity to understand what is going wrong?
[2011/12/08 11:11:17] <SQLDarkly> check master logs or run master in debug
[2011/12/08 11:11:31] <_rc_> check the time on master and client
[2011/12/08 11:12:01] <_rc_> that message is usually that it doesn't like the masters cert; often that's clock drift
[2011/12/08 11:13:49] <_rc_> d3c: run it under --debug and you should see it probe out whatever package providers you have
[2011/12/08 11:14:34] @ Quit: ghanima: Ping timeout: 255 seconds
[2011/12/08 11:14:54] @ Quit: Razique: Quit: Razique
[2011/12/08 11:15:13] <lindenle> <SQLDarkly>: Weird, I dont see anything about this machine on the master...
[2011/12/08 11:16:26] <ciupicri> what could this error mean "err: Could not prefetch mysql_user provider 'mysql': #<IO:0xb72e8990>"?
[2011/12/08 11:16:55] <ciupicri> pluginsync is set to true on both server and client
[2011/12/08 11:17:13] <d3c> _rc_: http://pastebin.com/3jFuQ0eD
[2011/12/08 11:17:44] <lindenle> <SQLDarkly>: I see waiting cert, signed cert, removed request, the client shows up in the list...
[2011/12/08 11:17:52] <lindenle> can I see th server cert on the client?
[2011/12/08 11:19:35] <SFox> ubuntu 10.04 puppet --version => 0.25.4 .. while 11.04 is 2.6.4 . is there a way to upgrade ?
[2011/12/08 11:19:42] <_rc_> d3c: what version of puppet is that?
[2011/12/08 11:19:48] <nlew> ciupicri: Which version of Puppet, and which mysql module?
[2011/12/08 11:20:25] <SFox> SQLDarkly: i found out that there's puppet mismatch version due to different OS ... i have [agent] in the config, that's why it won't work .. wonder if you know a way to upgrade to 2.6.4 cleanly?
[2011/12/08 11:21:00] @ Quit: msaum: Quit: Leaving.
[2011/12/08 11:21:14] <SQLDarkly> Well just make sure your master isnt the older version :P
[2011/12/08 11:21:16] <Fthis> SFox: search ubuntu launchpad for unofficial packages that someone may have created
[2011/12/08 11:21:32] <ciupicri> nlew, puppet-server-2.6.12-1.fc16.noarch and puppet-2.6.12-1.el6.noarch and https://github.com/ciupicri/puppet-mysql
[2011/12/08 11:21:39] <SFox> SQLDarkly: yup, master is the latest :)
[2011/12/08 11:21:57] <d3c> _rc_: sorry, 2.7.6
[2011/12/08 11:22:16] <SQLDarkly> Your older clients should work with a newer master.
[2011/12/08 11:22:27] @ Quit: omry_: Ping timeout: 252 seconds
[2011/12/08 11:22:29] <d3c> _rc_: not running under passenger or anything. just installed from source with the install.rb
[2011/12/08 11:22:40] @ ken_barber joined channel #puppet
[2011/12/08 11:22:55] <_rc_> d3c: I can see there's no passenger as you're just using puppet apply
[2011/12/08 11:23:03] <SFox> SQLDarkly: it works, but since i have generic config (from puppet source) with [agent] syntax won't work on the older puppet
[2011/12/08 11:23:19] <nlew> ciupicri: Why are you deriving your provider from the Puppet::Provider::Package class?
[2011/12/08 11:23:21] @ cparedes joined channel #puppet
[2011/12/08 11:23:25] @ msaum joined channel #puppet
[2011/12/08 11:23:57] <ciupicri> nlew, my module is based on someone else's module
[2011/12/08 11:24:18] <nlew> well I guess there's nothing package specific about the base class anyway, so that shouldn't be a problem
[2011/12/08 11:24:45] <d3c> _rc_: right. do you see why this happens though? anything I can do to figure out what's going on?
[2011/12/08 11:24:51] <nlew> very strange that you get an IO object as your error though
[2011/12/08 11:25:06] <ciupicri> nlew, yes, that's what I don't understand, too
[2011/12/08 11:25:46] <d3c> _rc_: here's with --trace: http://pastebin.com/MWtTCFJ5
[2011/12/08 11:25:55] @ ghg joined channel #puppet
[2011/12/08 11:27:07] @ Quit: maxmartin: Ping timeout: 240 seconds
[2011/12/08 11:27:17] @ omry_ joined channel #puppet
[2011/12/08 11:28:32] @ Quit: natewalck: Quit: Outta here
[2011/12/08 11:29:14] <d3c> _rc_: macports is v2.0.3
[2011/12/08 11:29:36] <ciupicri> nlew, any idea no matter how wild?
[2011/12/08 11:30:28] <nlew> ciupicri: what do you get with --trace on?
[2011/12/08 11:32:13] @ Quit: Vulcan[OMNI]: Quit: Vulcan[OMNI]
[2011/12/08 11:32:31] @ Quit: rgsteele: Quit: ChatZilla 0.9.86.1 [Firefox 3.0.7/2009030423]
[2011/12/08 11:32:39] <ciupicri> nlew, http://cristian.ipq.co:8080/puppet_trace1.txt
[2011/12/08 11:32:47] <SQLDarkly> SFox: you could always build from source and manage your own package. We do that just for sake of control here.
[2011/12/08 11:33:20] <SQLDarkly> You can rip out the rpm easy enough and install from source without ruining SSL. you wouldnt need to touch your /etc/puppet dir.
[2011/12/08 11:33:44] <ciupicri> nlew, by the way there was a similar issue with another module https://github.com/DavidS/puppet-mysql/issues/3
[2011/12/08 11:33:51] <nlew> ciupicri: my guess would be that the reason for the IO object is that we do some output capturing with execpipe
[2011/12/08 11:33:53] @ Quit: dylants: Ping timeout: 240 seconds
[2011/12/08 11:35:14] <ciupicri> nlew, what's even stranger is that the module worked fine before reinstalling the virtual machine (the client)
[2011/12/08 11:35:16] <nlew> ciupicri: the reason for the failure itself could probably be found by changing lib/puppet/transaction.rb:248 to call detail.read when printing the message
[2011/12/08 11:35:53] @ Quit: lwhalen: Ping timeout: 240 seconds
[2011/12/08 11:36:52] @ gniks joined channel #puppet
[2011/12/08 11:37:56] <ciupicri> nlew, http://www.pastie.org/2987471 this is my code; how do I change it?
[2011/12/08 11:38:00] @ Quit: SQLDarkly: Quit: Page closed
[2011/12/08 11:38:30] @ hoban joined channel #puppet
[2011/12/08 11:38:39] @ RhysMorgan joined channel #puppet
[2011/12/08 11:39:29] @ natewalck joined channel #puppet
[2011/12/08 11:39:37] <nlew> ciupicri: try this http://pastie.org/2987477
[2011/12/08 11:39:44] <hoban> Hello. Yesterday someone helped me figure out the solution to a problem I was having through the use of inline_template. One follow-up question I have is how I can get rid of a trailing newline which occurs with the following inline_template: "$gw_ip = inline_template("<%= %x{route -en | awk '/0.0.0.0.*UG/ {print \$2}'}; %>")"
[2011/12/08 11:39:48] <nlew> I haven't tested it, though
[2011/12/08 11:40:15] <hoban> http://irc-foreman.rhcloud.com/channels/puppet/posts?page=266 <--seems to indicate I can chomp inside the inline_template, but I'm not sure how
[2011/12/08 11:40:19] @ langworthy joined channel #puppet
[2011/12/08 11:40:27] <TCPcaveman> I know this is hackish but there is no way to populate a variable with the output of something run from exec or something is there?
[2011/12/08 11:40:29] <nlew> hoban: %x{route -en | awk '/0.0.0.0.*UG/ {print \$2}'}.chomp
[2011/12/08 11:40:39] <hoban> nlew: that easy eh? Thanks!
[2011/12/08 11:41:11] <hoban> nlew: worked like a charm, thanks!
[2011/12/08 11:41:14] <ciupicri> nlew, I'm running it right now (puppet agent --test --trace)
[2011/12/08 11:41:34] <nlew> TCPcaveman: no, because if there were, the command would be executed on the master, which is probably not what you want
[2011/12/08 11:41:47] <ciupicri> nlew, err: Got an uncaught exception of type NoMethodError: undefined method `read' for #<Puppet::ExecutionFailure: #<IO:0xb7738130>>
[2011/12/08 11:41:57] <nlew> OH
[2011/12/08 11:42:00] <TCPcaveman> nlew: Of course, no that is not what I want anyway, thanks! :)
[2011/12/08 11:42:47] @ nitram_macair joined channel #puppet
[2011/12/08 11:43:05] <nlew> ciupicri: Okay I see what is happening now, and it is at least partially a puppet bug
[2011/12/08 11:43:26] @ dylants joined channel #puppet
[2011/12/08 11:44:08] <nlew> ciupicri: Undo that change in transaction.rb, and try this in lib/puppet/util.rb http://pastie.org/2987493
[2011/12/08 11:44:14] @ lwhalen joined channel #puppet
[2011/12/08 11:46:11] @ hoban left channel #puppet ()
[2011/12/08 11:46:22] <ped> i just upgraded to 2.7.5 on a new puppetmaster. i am working on setting up proper environments for development/testing. i have 4 environments setup, 2 of which are working fine (operations / hosting), then i have another two (devhosting, devoperations) that are not working. If i do a puppet run on the client with —environment=devhosting, it shows up in /var/log/messages on the puppetmaster as being in environment hosting
[2011/12/08 11:46:30] <ped> client:
[2011/12/08 11:46:31] <ped> # puppet config print environment --mode agent
[2011/12/08 11:46:33] <ped> devhosting
[2011/12/08 11:47:02] <ped> Compiled catalog for fqdn-here in environment hosting
[2011/12/08 11:47:13] <ped> on the master in the logs
[2011/12/08 11:47:19] <ciupicri> nlew, err: Could not prefetch mysql_database provider 'mysql': closed stream
[2011/12/08 11:47:27] <ped> little stumped on why two of the environments seem to work fine but these do not
[2011/12/08 11:48:30] <ped> anyone have any pointers on what i can try? would be much appreciated
[2011/12/08 11:49:02] <ciupicri> nlew, I could give you SSH access to the machine, so that you can try whatever you want (I have vim and mcedit :-D)
[2011/12/08 11:49:04] @ ghanima joined channel #puppet
[2011/12/08 11:49:35] <nlew> ciupicri: I'm testing it locally now in irb
[2011/12/08 11:49:54] <nlew> ciupicri: there's definitely a problem with our execpipe method, but it's a weird one
[2011/12/08 11:52:25] <gepetto> ::redmine:: Wiki edit: Release_Notes (#152) @ http://projects.puppetlabs.com/projects/puppet/wiki/Release_Notes?version=152 (by Nick Fagerlund)
[2011/12/08 11:54:34] <ciupicri> nlew, in case you you need to replicate my environment better, this is my prestashop module https://github.com/ciupicri/puppet-prestashop and the manifest is https://gist.github.com/19eca35d4f698cabfbd6
[2011/12/08 11:54:42] @ Djelibeybi joined channel #puppet
[2011/12/08 11:56:15] <nlew> ciupicri: I think if you change process.each to process.read.each_line, you'll get meaningful output rather than an IO object
[2011/12/08 11:56:17] @ Quit: omry_: Ping timeout: 240 seconds
[2011/12/08 11:56:53] @ Quit: aherzog: Quit: aherzog
[2011/12/08 11:56:58] @ Quit: RhysMorgan: Quit: RhysMorgan
[2011/12/08 11:57:25] <nlew> ciupicri: it looks like you get the result of the block back as the output
[2011/12/08 11:57:36] <ciupicri> nlew, unfortunately I don't know ruby :-(
[2011/12/08 11:58:16] <nlew> ciupicri: the only change necessary should be using process.read.each_line in place of process.each in your providers
[2011/12/08 11:59:02] @ omry_ joined channel #puppet
[2011/12/08 11:59:06] @ Quit: comptona[R2]: Quit: Leaving.
[2011/12/08 12:03:18] @ Quit: cliff-hm: Ping timeout: 244 seconds
[2011/12/08 12:04:52] @ miche joined channel #puppet
[2011/12/08 12:07:37] @ DbT_ joined channel #puppet
[2011/12/08 12:07:39] <ciupicri> nlew, err: Could not prefetch mysql_database provider 'mysql': undefined method `read' for #<String:0xb72eba64>
[2011/12/08 12:10:10] <ciupicri> I'm gonna try something else in the mean time
[2011/12/08 12:10:42] @ Quit: DbT_: Client Quit
[2011/12/08 12:10:52] @ labrown joined channel #puppet
[2011/12/08 12:10:56] @ Quit: fir31ight: Ping timeout: 248 seconds
[2011/12/08 12:11:38] <ciupicri> nlew, wtf... all I had to do was to remove /root/.my.cnf so that I could trigger the update of the mysql admin's password
[2011/12/08 12:11:55] @ rharrison joined channel #puppet
[2011/12/08 12:12:09] @ lak joined channel #puppet
[2011/12/08 12:12:10] @ Quit: lak: Changing host
[2011/12/08 12:12:10] @ lak joined channel #puppet
[2011/12/08 12:12:16] @ comptona joined channel #puppet
[2011/12/08 12:13:29] @ fir31ight joined channel #puppet
[2011/12/08 12:16:38] <zykes-> ssm: around ?
[2011/12/08 12:16:54] @ Quit: justin_donaldson: Quit: Leaving.
[2011/12/08 12:17:08] @ Quit: newtMcKerr: Quit: Leaving.
[2011/12/08 12:17:52] @ Quit: tblamer: Ping timeout: 248 seconds
[2011/12/08 12:18:29] @ cliff-hm joined channel #puppet
[2011/12/08 12:19:43] @ redparchel left channel #puppet ()
[2011/12/08 12:21:40] @ tblamer joined channel #puppet
[2011/12/08 12:24:39] @ fredden joined channel #puppet
[2011/12/08 12:24:42] @ Quit: fredden: Remote host closed the connection
[2011/12/08 12:24:58] @ fredden joined channel #puppet
[2011/12/08 12:27:35] @ Quit: trickyf: Remote host closed the connection
[2011/12/08 12:28:13] @ newtMcKerr joined channel #puppet
[2011/12/08 12:30:13] @ comptona is now known as comptona[R2]
[2011/12/08 12:30:54] @ paxos joined channel #puppet
[2011/12/08 12:34:39] @ Spads joined channel #puppet
[2011/12/08 12:36:28] @ Quit: localhost: Remote host closed the connection
[2011/12/08 12:36:44] @ Quit: newtMcKerr: Quit: Leaving.
[2011/12/08 12:37:09] @ RhysMorgan joined channel #puppet
[2011/12/08 12:37:17] <ciupicri> why is user { 'x': groups +> ["ggg", ],...} invalid?
[2011/12/08 12:37:39] <ciupicri> I'm getting "Syntax error at '+>'; expected '}'"
[2011/12/08 12:37:39] @ localhost joined channel #puppet
[2011/12/08 12:39:19] <NuclearLucifer> groups =>
[2011/12/08 12:39:56] @ Quit: d3c: Ping timeout: 240 seconds
[2011/12/08 12:40:51] <ciupicri> NuclearLucifer, I want to add more groups to it
[2011/12/08 12:40:55] @ aherzog joined channel #puppet
[2011/12/08 12:41:04] @ Quit: inecas: Quit: Leaving
[2011/12/08 12:42:19] @ neonflux1 joined channel #puppet
[2011/12/08 12:42:35] @ Quit: neonflux: Read error: Connection reset by peer
[2011/12/08 12:47:37] @ Quit: natewalck: Quit: Outta here
[2011/12/08 12:48:52] @ newtMcKerr joined channel #puppet
[2011/12/08 12:48:56] @ Quit: newtMcKerr: Client Quit
[2011/12/08 12:49:16] @ newtMcKerr joined channel #puppet
[2011/12/08 12:49:17] @ kelseyhi1htower joined channel #puppet
[2011/12/08 12:52:05] @ Quit: kelseyhightower: Ping timeout: 252 seconds
[2011/12/08 12:52:38] @ Quit: metcalfc: Ping timeout: 248 seconds
[2011/12/08 12:53:00] @ Quit: edward_: Ping timeout: 252 seconds
[2011/12/08 12:53:24] @ Quit: cliff-hm: Remote host closed the connection
[2011/12/08 12:55:53] @ Quit: mfournier: Ping timeout: 240 seconds
[2011/12/08 12:56:04] @ DbT_ joined channel #puppet
[2011/12/08 12:56:12] @ Quit: DbT_: Client Quit
[2011/12/08 12:56:38] @ Quit: Lorn: Quit: leaving
[2011/12/08 12:56:42] @ Quit: newtMcKerr: Quit: Leaving.
[2011/12/08 12:57:55] @ mfournier joined channel #puppet
[2011/12/08 12:58:40] <nlew> ciupicri: Pretty sure you can only use +> in a resource override, like User['x'] { groups +> ['ggg', ]}
[2011/12/08 12:59:11] <ciupicri> nlew, thanks! Are there any best practices regarding users and groups?
[2011/12/08 12:59:35] <ciupicri> I'm thinking of creating an user or group for each "application", so that they're separate
[2011/12/08 13:00:03] <nlew> ciupicri: I'm not sure about that. Also, are you trying to add groups to the declared resource when you set some elsewhere, or simply set some groups and preserve the existing groups on the machine?
[2011/12/08 13:00:17] <ciupicri> nlew, I would like to add more groups
[2011/12/08 13:00:49] @ edward_ joined channel #puppet
[2011/12/08 13:01:28] @ thomas169 joined channel #puppet
[2011/12/08 13:05:04] @ benjiedm_ joined channel #puppet
[2011/12/08 13:06:10] @ Quit: benjiedmund: Ping timeout: 255 seconds
[2011/12/08 13:06:13] @ duerF joined channel #puppet
[2011/12/08 13:09:02] @ Vulcan[OMNI] joined channel #puppet
[2011/12/08 13:10:07] @ jab_doa joined channel #puppet
[2011/12/08 13:11:36] @ Quit: motomike: Quit: Leaving.
[2011/12/08 13:13:07] @ Holocaine joined channel #puppet
[2011/12/08 13:14:26] @ emergion joined channel #puppet
[2011/12/08 13:15:16] @ Quit: alfism: Quit: alfism
[2011/12/08 13:16:28] @ Quit: paroneayea: Remote host closed the connection
[2011/12/08 13:17:18] @ NightMonkey joined channel #puppet
[2011/12/08 13:17:51] @ Quit: emergion: Client Quit
[2011/12/08 13:18:09] @ paroneayea joined channel #puppet
[2011/12/08 13:19:23] @ ciupicri is now known as ciupicri|away
[2011/12/08 13:20:41] @ Quit: edward_: Ping timeout: 244 seconds
[2011/12/08 13:20:56] @ kokap joined channel #puppet
[2011/12/08 13:21:50] @ emergion joined channel #puppet
[2011/12/08 13:23:14] @ Quit: benjiedm_: Remote host closed the connection
[2011/12/08 13:24:53] @ Quit: RhysMorgan: Quit: RhysMorgan
[2011/12/08 13:27:05] @ newtMcKerr joined channel #puppet
[2011/12/08 13:28:18] @ edward_ joined channel #puppet
[2011/12/08 13:28:55] @ RhysMorgan joined channel #puppet
[2011/12/08 13:29:10] @ Quit: newtMcKerr: Client Quit
[2011/12/08 13:29:44] @ rideh joined channel #puppet
[2011/12/08 13:31:34] @ ChaosDan is now known as Dantman
[2011/12/08 13:32:27] @ Quit: joe-mac: Ping timeout: 240 seconds
[2011/12/08 13:32:30] @ newtMcKerr joined channel #puppet
[2011/12/08 13:32:44] @ nullbind joined channel #puppet
[2011/12/08 13:32:49] @ hooper joined channel #puppet
[2011/12/08 13:33:20] @ Quit: newtMcKerr: Client Quit
[2011/12/08 13:34:14] @ shog joined channel #puppet
[2011/12/08 13:34:28] @ motomike joined channel #puppet
[2011/12/08 13:36:54] @ Quit: emergion: Quit: later...
[2011/12/08 13:37:27] @ Quit: motomike: Remote host closed the connection
[2011/12/08 13:38:03] @ maxmartin joined channel #puppet
[2011/12/08 13:38:48] @ motomike joined channel #puppet
[2011/12/08 13:39:03] @ nanliu_ joined channel #puppet
[2011/12/08 13:39:15] @ sa_sh_ka joined channel #puppet
[2011/12/08 13:39:36] @ Quit: rideh: Ping timeout: 240 seconds
[2011/12/08 13:40:18] @ Quit: stevie-bash: Quit: Verlassend
[2011/12/08 13:42:17] @ Quit: mfournier: Ping timeout: 240 seconds
[2011/12/08 13:43:53] @ Quit: ken_barber: Ping timeout: 240 seconds
[2011/12/08 13:43:55] @ Quit: edward_: Ping timeout: 252 seconds
[2011/12/08 13:44:39] @ newtMcKerr joined channel #puppet
[2011/12/08 13:45:11] @ Quit: shortbus-: Quit: Leaving.
[2011/12/08 13:46:54] <MattTheRat> is there a more graceful way to add a service to chkconfig than exec{"/sbin/chkconfig --add $service"}?
[2011/12/08 13:47:37] @ shortbus- joined channel #puppet
[2011/12/08 13:47:53] @ mfournier joined channel #puppet
[2011/12/08 13:48:12] <justintime> MattTheRat: http://docs.puppetlabs.com/references/2.7.6/type.html#service - specifically the enable property
[2011/12/08 13:48:38] <MattTheRat> my understanding of enable is that it will do the equivalent of chkconfig on $service
[2011/12/08 13:49:25] <justintime> Oh, sorry, missed that.
[2011/12/08 13:49:29] <MattTheRat> :P
[2011/12/08 13:49:36] <justintime> Usually, the RPM postscript sets that up for you.
[2011/12/08 13:49:43] <justintime> Custom init script?
[2011/12/08 13:49:46] <MattTheRat> yessir
[2011/12/08 13:50:01] <MattTheRat> linking to an existing init script
[2011/12/08 13:50:30] <justintime> Yeah, I'd just have an exec with refreshonly => true, and notify the exec from your file resource
[2011/12/08 13:50:41] <justintime> Or use fpm to make an rpm
[2011/12/08 13:50:54] <MattTheRat> I was thinking of using the unless to call chkconfig --list $service
[2011/12/08 13:51:10] @ Quit: proton: Ping timeout: 255 seconds
[2011/12/08 13:51:43] @ proton joined channel #puppet
[2011/12/08 13:52:51] <justintime> That would consume more resources on each run, but if you're worried someone may come along and remove it manually, it's certainly more foolproof.
[2011/12/08 13:54:52] <MattTheRat> I like foolproof plans
[2011/12/08 13:55:11] <justintime> I prefer not to employ fools :)
[2011/12/08 13:55:37] <MattTheRat> ah ha!
[2011/12/08 13:55:45] @ juggernaut left channel #puppet ()
[2011/12/08 13:55:56] @ tilgovi joined channel #puppet
[2011/12/08 13:55:56] @ Quit: tilgovi: Changing host
[2011/12/08 13:55:56] @ tilgovi joined channel #puppet
[2011/12/08 13:56:34] @ cliff-hm joined channel #puppet
[2011/12/08 13:56:36] @ Quit: comptona[R2]: Ping timeout: 252 seconds
[2011/12/08 13:58:11] @ Ms_G joined channel #puppet
[2011/12/08 13:58:42] <Ms_G> Hmm quiet
[2011/12/08 13:59:09] @ Ms_G left channel #puppet ()
[2011/12/08 14:01:15] @ emergion joined channel #puppet
[2011/12/08 14:01:47] @ Quit: newtMcKerr: Quit: Leaving.
[2011/12/08 14:02:44] @ benjiedmund joined channel #puppet
[2011/12/08 14:03:14] @ Quit: jodok: Remote host closed the connection
[2011/12/08 14:03:26] @ jodok joined channel #puppet
[2011/12/08 14:03:26] @ Quit: jodok: Changing host
[2011/12/08 14:03:26] @ jodok joined channel #puppet
[2011/12/08 14:08:28] @ newtMcKerr joined channel #puppet
[2011/12/08 14:09:11] @ Quit: RhysMorgan: Quit: RhysMorgan
[2011/12/08 14:10:00] @ edward_ joined channel #puppet
[2011/12/08 14:10:46] @ Quit: aherzog: Quit: aherzog
[2011/12/08 14:10:48] @ jodok_ joined channel #puppet
[2011/12/08 14:10:48] @ Quit: jodok_: Changing host
[2011/12/08 14:10:48] @ jodok_ joined channel #puppet
[2011/12/08 14:11:27] @ marrusl_ is now known as marrusl
[2011/12/08 14:12:34] @ Quit: karsten: Ping timeout: 252 seconds
[2011/12/08 14:12:38] @ Quit: nanliu_: Read error: Connection reset by peer
[2011/12/08 14:12:54] @ nanliu_ joined channel #puppet
[2011/12/08 14:12:54] @ comptona joined channel #puppet
[2011/12/08 14:13:11] @ karsten joined channel #puppet
[2011/12/08 14:13:30] @ Quit: jodok: Ping timeout: 244 seconds
[2011/12/08 14:13:30] @ jodok_ is now known as jodok
[2011/12/08 14:14:29] @ Quit: uphillian: Quit: Leaving.
[2011/12/08 14:16:34] @ RhysMorgan joined channel #puppet
[2011/12/08 14:18:13] @ nullbind left channel #puppet ()
[2011/12/08 14:19:13] @ Quit: emergion: Quit: later...
[2011/12/08 14:20:30] @ Quit: ghg: Quit: Computer has gone to sleep.
[2011/12/08 14:20:38] @ Quit: edward_: Ping timeout: 240 seconds
[2011/12/08 14:22:18] @ Quit: jimmy1980: Ping timeout: 244 seconds
[2011/12/08 14:22:39] @ benkevan joined channel #puppet
[2011/12/08 14:25:06] @ Quit: nanliu_: Quit: Colloquy for iPhone - http://colloquy.mobi
[2011/12/08 14:25:14] @ Quit: lak: Quit: Leaving.
[2011/12/08 14:26:12] @ Quit: comptona: Quit: Leaving.
[2011/12/08 14:28:04] @ Quit: kokap: Read error: No route to host
[2011/12/08 14:28:31] @ jimmy1980 joined channel #puppet
[2011/12/08 14:28:56] @ emergion joined channel #puppet
[2011/12/08 14:29:11] @ metcalfc joined channel #puppet
[2011/12/08 14:31:46] @ Quit: ciupicri|away: Quit: Quit
[2011/12/08 14:31:55] @ Quit: emergion: Client Quit
[2011/12/08 14:33:08] @ Quit: mfournier: Ping timeout: 244 seconds
[2011/12/08 14:34:17] <nitram_macair> is there a way to append a line to a file if its not there ?
[2011/12/08 14:34:24] <nitram_macair> I forget how to do it.
[2011/12/08 14:34:33] @ Quit: xet7: Quit: Lähdössä
[2011/12/08 14:34:37] <justintime> see file_line() in stdlib
[2011/12/08 14:34:55] <nitram_macair> thanks
[2011/12/08 14:35:00] <justintime> np!
[2011/12/08 14:35:10] <nitram_macair> so no way with a default puppet setup?
[2011/12/08 14:35:49] <justintime> Not without a nasty exec using sed, perl, etc
[2011/12/08 14:36:03] <nitram_macair> ok thanks!
[2011/12/08 14:36:38] @ Quit: ldlework: Ping timeout: 248 seconds
[2011/12/08 14:38:02] @ Quit: labrown: Ping timeout: 252 seconds
[2011/12/08 14:39:15] @ Quit: rharrison: Quit: Leaving
[2011/12/08 14:40:56] @ kelseyhightower joined channel #puppet
[2011/12/08 14:41:15] @ ghg joined channel #puppet
[2011/12/08 14:42:56] @ mfournier joined channel #puppet
[2011/12/08 14:43:15] @ Quit: RhysMorgan: Quit: RhysMorgan
[2011/12/08 14:43:16] @ Quit: kelseyhi1htower: Ping timeout: 240 seconds
[2011/12/08 14:43:24] @ Quit: lborda: Quit: Ex-Chat
[2011/12/08 14:47:35] @ l0n joined channel #puppet
[2011/12/08 14:47:56] @ Quit: motomike: Ping timeout: 240 seconds
[2011/12/08 14:48:24] @ loxo left channel #puppet ()
[2011/12/08 14:49:06] @ motomike joined channel #puppet
[2011/12/08 14:49:31] <eric0>
[2011/12/08 14:49:33] @ mosen joined channel #puppet
[2011/12/08 14:50:28] @ Quit: proton: Changing host
[2011/12/08 14:50:28] @ proton joined channel #puppet
[2011/12/08 14:55:48] @ danblack joined channel #puppet
[2011/12/08 14:57:45] @ Quit: Stenbryggen: Quit: Leaving.
[2011/12/08 14:58:21] @ Stenbryggen joined channel #puppet
[2011/12/08 14:59:02] @ Quit: metcalfc: Ping timeout: 248 seconds
[2011/12/08 14:59:22] @ Quit: kelseyhightower: Ping timeout: 244 seconds
[2011/12/08 15:00:17] @ Quit: beaknit: Quit: beaknit
[2011/12/08 15:00:17] @ beaknit_ is now known as beaknit
[2011/12/08 15:00:32] <jbartus> notice: Finished catalog run in -17703.25 seconds
[2011/12/08 15:00:45] @ Quit: Stenbryggen: Client Quit
[2011/12/08 15:00:52] <jbartus> 2.6.12-1.el6 for what its worth
[2011/12/08 15:03:15] <thomas169> are file() functions always run before any require/before links are evaluated? im trying to read in a file with file() that puppet is managing, but it always says "could not find any files from [filename] at [placeincode]" before trying to create the file
[2011/12/08 15:03:15] @ chadh_ joined channel #puppet
[2011/12/08 15:03:41] @ Quit: chadh_: Client Quit
[2011/12/08 15:03:42] @ Quit: geekbri: Remote host closed the connection
[2011/12/08 15:04:39] @ Quit: Fthis: Ping timeout: 265 seconds
[2011/12/08 15:05:10] <Volcane> thomas169: file() runs on the master during compile, require/before etc is a runtime thing that happens on the nodes
[2011/12/08 15:07:12] <thomas169> hmm ok.. in that case is there a way that i can have a slave create an ssh key (currently doing it with an exec) and then have other users on that slave add it (currently trying with ssh_authorized_key)..?
[2011/12/08 15:07:25] <nlew> jbartus: heh time sync in the middle of the run I guess?
[2011/12/08 15:07:45] @ Quit: tilgovi: Ping timeout: 244 seconds
[2011/12/08 15:07:47] <jbartus> ahh yea good point, i do have an ntp setup in there
[2011/12/08 15:07:50] <thomas169> i was hoping to read in the contents of the generated key, but i guess that wont work (at least not with file())
[2011/12/08 15:08:05] @ Quit: ali3n0: Quit: Leaving.
[2011/12/08 15:08:32] @ Quit: GeoDud: Ping timeout: 248 seconds
[2011/12/08 15:08:34] @ Quit: sduchesneau: Remote host closed the connection
[2011/12/08 15:08:53] <Volcane> isnt really a good way to do that
[2011/12/08 15:09:42] <thomas169> hmm ok.. well, exec to the rescue i guess X_x
[2011/12/08 15:09:46] <thomas169> thanks
[2011/12/08 15:13:17] @ Quit: hooper: Quit: Leaving.
[2011/12/08 15:15:16] @ Quit: blentz: Ping timeout: 252 seconds
[2011/12/08 15:15:32] @ Quit: csanchez: Remote host closed the connection
[2011/12/08 15:15:48] @ csanchez joined channel #puppet
[2011/12/08 15:16:19] @ csanchez_ joined channel #puppet
[2011/12/08 15:16:30] @ GeoDud joined channel #puppet
[2011/12/08 15:17:28] @ Spads_ joined channel #puppet
[2011/12/08 15:18:59] @ paxos1 joined channel #puppet
[2011/12/08 15:19:16] @ Quit: csanchez_: Remote host closed the connection
[2011/12/08 15:19:30] @ csanchez_ joined channel #puppet
[2011/12/08 15:20:12] @ Quit: csanchez: Ping timeout: 252 seconds
[2011/12/08 15:20:12] @ csanchez_ is now known as csanchez
[2011/12/08 15:20:36] @ Quit: paxos: Ping timeout: 252 seconds
[2011/12/08 15:20:38] @ Quit: Spads: Ping timeout: 268 seconds
[2011/12/08 15:20:57] @ Quit: jab_doa: Quit: Verlassend
[2011/12/08 15:22:47] @ tilgovi joined channel #puppet
[2011/12/08 15:23:32] @ Quit: kangman: Remote host closed the connection
[2011/12/08 15:26:06] @ Quit: cliff-hm: Ping timeout: 252 seconds
[2011/12/08 15:27:16] @ Quit: kaptk2: Quit: Leaving.
[2011/12/08 15:28:41] @ Quit: dylants: Ping timeout: 240 seconds
[2011/12/08 15:30:49] @ Quit: wooster: Read error: Operation timed out
[2011/12/08 15:31:06] @ wooster joined channel #puppet
[2011/12/08 15:31:18] @ Quit: paxos1: Quit: Leaving.
[2011/12/08 15:33:23] <hajile> any of you use syntastic?
[2011/12/08 15:33:45] <hajile> syntastic+mvim, that is :)
[2011/12/08 15:34:01] <hajile> i can't seem to get the puppet syntax checker to work in syntastic, and i have no idea why
[2011/12/08 15:37:36] @ MrBIOS-seamicro joined channel #puppet
[2011/12/08 15:38:05] @ csanchez_ joined channel #puppet
[2011/12/08 15:38:46] @ wilmoore joined channel #puppet
[2011/12/08 15:39:34] <eric0> anybody tried chained CA setup on 2.7.x yet?
[2011/12/08 15:41:51] @ Quit: csanchez: Ping timeout: 244 seconds
[2011/12/08 15:41:52] @ csanchez_ is now known as csanchez
[2011/12/08 15:42:42] @ emergion joined channel #puppet
[2011/12/08 15:42:49] @ Quit: csanchez: Remote host closed the connection
[2011/12/08 15:43:02] @ csanchez joined channel #puppet
[2011/12/08 15:43:19] @ Quit: emergion: Remote host closed the connection
[2011/12/08 15:44:23] @ rmckee joined channel #puppet
[2011/12/08 15:45:21] @ Quit: nxhack: Quit: Quit Nadoka 0.7.2-trunk (-) - http://www.atdot.net/nadoka/
[2011/12/08 15:46:37] @ nxhack joined channel #puppet
[2011/12/08 15:49:33] @ Quit: nadavoid: Remote host closed the connection
[2011/12/08 15:52:50] <the_ramink> I've been playing around with splitting certname from node name. I can get my cert sign, pull down facts, but it fails when requesting a catalog. Any ideas on what i might be missing in auth.conf. Puppet 2.7.6 all around.
[2011/12/08 15:52:57] @ Quit: kermit: Quit: Leaving.
[2011/12/08 15:53:09] @ kermit joined channel #puppet
[2011/12/08 15:56:12] @ Quit: neonflux1: Quit: Leaving.
[2011/12/08 15:56:53] <gepetto> ::redmine:: Wiki edit: Downloading_Puppet (#131) @ http://projects.puppetlabs.com/projects/puppet/wiki/Downloading_Puppet?version=131 (by Matthaus Litteken)
[2011/12/08 15:56:59] <zykes-> ssm: ?
[2011/12/08 15:57:06] @ nadavoid joined channel #puppet
[2011/12/08 15:58:27] <the_ramink> and yes the pastie I created might help, http://pastie.org/2988624
[2011/12/08 15:58:34] @ Quit: wilmoore: Remote host closed the connection
[2011/12/08 16:00:26] @ Quit: nadavoid: Remote host closed the connection
[2011/12/08 16:00:54] <Callek> ooo 2.7.8 is no longer rc!
[2011/12/08 16:00:56] <Callek> great
[2011/12/08 16:02:39] @ Quit: benkevan: Quit: leaving
[2011/12/08 16:05:35] <eric0> the_ramink: this is what wonrked for me https://gist.github.com/1182243
[2011/12/08 16:06:39] @ Quit: ryancoleman: Ping timeout: 244 seconds
[2011/12/08 16:07:56] @ Quit: zwi: Quit: Leaving.
[2011/12/08 16:08:24] <haus> Callek: it's true, email coming in a minute
[2011/12/08 16:08:31] @ metcalfc joined channel #puppet
[2011/12/08 16:08:44] <Callek> haus: great!
[2011/12/08 16:08:57] * Callek decided to start watching gepetto notifications the other day, and I like it :-)
[2011/12/08 16:09:04] <zykes-> haus: anyone doing updated packaging for apt as well ?
[2011/12/08 16:09:16] <haus> zykes-: puppetlabs apt do you mean?
[2011/12/08 16:09:29] <zykes-> y
[2011/12/08 16:09:35] <haus> that's next on my list
[2011/12/08 16:10:31] <zykes-> haus: does the puppetlabs provided packages provide something like puppetmaster-passenger in ubuntu ?
[2011/12/08 16:11:04] <the_ramink> eric0: Thanks. Setting allow * from your example works rather than the more specific allow all-catalog-access. I suppose i just need to decide which way to go forward.
[2011/12/08 16:12:41] @ Quit: williemach: Quit: Leaving.
[2011/12/08 16:12:44] <haus> zykes-: http://apt.puppetlabs.com/ubuntu/pool/main/p/puppet/ has a listing
[2011/12/08 16:13:05] <zykes-> haus: is it you and ssm who do deb pkg ?
[2011/12/08 16:13:19] <eric0> the_ramink: i'd be interested in any other security ramifications you think of, please fork/comment there. i'd put it on the puppet wiki but it would be lost in time, like grains of sand in the wind
[2011/12/08 16:13:21] <haus> ssm?
[2011/12/08 16:14:17] @ Quit: sevard: Quit: leaving
[2011/12/08 16:14:20] <zykes-> his nick is mentioned on ubuntu launchpad
[2011/12/08 16:14:22] <Callek> haus: out of curiosity is there any form of roadmap/goals for puppet available, atm?
[2011/12/08 16:14:28] <Callek> as in for "future"
[2011/12/08 16:14:45] <Callek> abstract or specific
[2011/12/08 16:17:42] @ luckman212 joined channel #puppet
[2011/12/08 16:18:14] @ Quit: DJClean: Read error: Operation timed out
[2011/12/08 16:18:24] <the_ramink> eric0: just thinking aloud. :-) Since I'm autosigning any incoming cert, setting allow * isn't any worse. Having a single presigned cert (like in your example) is starting to look like a better idea.
[2011/12/08 16:18:37] @ astrostl joined channel #puppet
[2011/12/08 16:20:09] <zykes-> haus: question
[2011/12/08 16:20:23] <zykes-> would it be possible for you to make a package puppet-passenger that could be compatible with nginx ?
[2011/12/08 16:22:41] @ Quit: tilgovi: Read error: Connection reset by peer
[2011/12/08 16:22:49] @ tilgovi joined channel #puppet
[2011/12/08 16:22:55] <haus> zykes-: open a feature request at http://projects.puppetlabs.com/projects/puppet-community-pkg-repo/issues/new ?
[2011/12/08 16:23:10] <zykes-> will do ;)
[2011/12/08 16:23:59] @ Quit: tilgovi: Read error: Connection reset by peer
[2011/12/08 16:24:12] @ tilgovi joined channel #puppet
[2011/12/08 16:24:17] @ blentz joined channel #puppet
[2011/12/08 16:24:18] <the_ramink> zykes-: are you just looking for passenger packages?
[2011/12/08 16:24:40] <zykes-> the_ramink: the puppetmaster-passenger thing now
[2011/12/08 16:24:55] <zykes-> doesn't work, it needs to install apache which effectively borks with the nginx installation
[2011/12/08 16:26:49] @ Quit: tilgovi: Read error: Connection reset by peer
[2011/12/08 16:26:56] @ tilgovi joined channel #puppet
[2011/12/08 16:26:57] @ Quit: tilgovi: Changing host
[2011/12/08 16:26:57] @ tilgovi joined channel #puppet
[2011/12/08 16:27:35] <the_ramink> zykes-: for Ubuntu or RHEL?
[2011/12/08 16:28:00] @ Quit: csanchez: Quit: csanchez
[2011/12/08 16:29:04] @ Quit: Vulcan[OMNI]: Quit: Vulcan[OMNI]
[2011/12/08 16:29:12] <zykes-> the_ramink: ubuntu / debian
[2011/12/08 16:30:28] <zykes-> would be nice if there could be a seperate package that does the same thing but for nginx
[2011/12/08 16:30:31] <the_ramink> zykes-: http://blog.phusion.nl/2011/11/28/phusion-passenger-3-0-11-released/ I haven't tried them, but they're availible from Brightbox
[2011/12/08 16:31:01] <zykes-> the_ramink: I know, but the files needed like the rack app stuff etc is missing then
[2011/12/08 16:31:04] <zykes-> ?
[2011/12/08 16:31:28] <the_ramink> gem install rack?
[2011/12/08 16:33:41] @ Quit: jodok: Remote host closed the connection
[2011/12/08 16:33:55] @ jodok joined channel #puppet
[2011/12/08 16:33:55] @ Quit: jodok: Changing host
[2011/12/08 16:33:55] @ jodok joined channel #puppet
[2011/12/08 16:36:29] @ rubic joined channel #puppet
[2011/12/08 16:37:45] @ skm joined channel #puppet
[2011/12/08 16:38:21] @ jodok_ joined channel #puppet
[2011/12/08 16:39:06] @ Quit: jodok_: Client Quit
[2011/12/08 16:41:46] @ ldlework joined channel #puppet
[2011/12/08 16:41:56] @ Quit: benjiedmund: Ping timeout: 240 seconds
[2011/12/08 16:42:08] @ Quit: jodok: Ping timeout: 240 seconds
[2011/12/08 16:42:20] @ Quit: metcalfc: Ping timeout: 252 seconds
[2011/12/08 16:42:36] <zykes-> http://pastebin.com/MRAfqLbV the_ramink it created those folders, i wonder what the contens are of them
[2011/12/08 16:45:17] @ ryancoleman joined channel #puppet
[2011/12/08 16:46:17] <the_ramink> I suspect based on building a number of passenger based puppet masters that there's nothing in them other than a config.ru /usr/share/puppet/rack/puppetmasterd
[2011/12/08 16:46:37] @ Quit: tblamer: Quit: Going offline, see ya! (www.adiirc.com)
[2011/12/08 16:47:09] <the_ramink> only thing that matters is that your vhost matches up with dir structure
[2011/12/08 16:49:25] @ Quit: ldlework: Quit: Leaving
[2011/12/08 16:49:36] @ Quit: iw_work: Quit: Leaving
[2011/12/08 16:49:43] @ ldlework joined channel #puppet
[2011/12/08 16:49:50] @ _flex joined channel #puppet
[2011/12/08 16:55:47] @ Quit: langworthy: Quit: langworthy
[2011/12/08 16:56:38] @ Quit: bmahe: Ping timeout: 252 seconds
[2011/12/08 16:56:47] @ Quit: johnston: Ping timeout: 265 seconds
[2011/12/08 16:57:17] @ Quit: newtMcKerr: Quit: Leaving.
[2011/12/08 16:59:34] @ bmahe joined channel #puppet
[2011/12/08 16:59:34] @ Quit: bmahe: Changing host
[2011/12/08 16:59:34] @ bmahe joined channel #puppet
[2011/12/08 17:00:23] @ Quit: blentz: Read error: Connection reset by peer
[2011/12/08 17:02:12] @ Quit: trn: Read error: Connection reset by peer
[2011/12/08 17:03:01] @ Quit: msaum: Quit: Leaving.
[2011/12/08 17:03:02] @ Spads joined channel #puppet
[2011/12/08 17:03:33] @ Quit: Spads_: Read error: Operation timed out
[2011/12/08 17:03:56] @ comptona joined channel #puppet
[2011/12/08 17:04:22] @ comptona is now known as comptona[zenoss]
[2011/12/08 17:04:57] @ Quit: ianbrandt: Quit: ianbrandt
[2011/12/08 17:04:57] @ msaum joined channel #puppet
[2011/12/08 17:05:27] @ trn joined channel #puppet
[2011/12/08 17:07:26] @ Kazuhiro joined channel #puppet
[2011/12/08 17:09:41] @ Quit: wilco: Quit: Ex-Chat
[2011/12/08 17:10:02] @ Text joined channel #puppet
[2011/12/08 17:10:19] @ jroid joined channel #puppet
[2011/12/08 17:10:47] @ ben_duyujie joined channel #puppet
[2011/12/08 17:12:37] @ st33v joined channel #puppet
[2011/12/08 17:12:39] <st33v> ail?
[2011/12/08 17:13:08] <st33v> er… nervermind.
[2011/12/08 17:13:53] @ rideh joined channel #puppet
[2011/12/08 17:14:48] @ Quit: Scott-Mc: Ping timeout: 252 seconds
[2011/12/08 17:21:44] @ Scott-Mc joined channel #puppet
[2011/12/08 17:23:17] @ Quit: pcarlisle: Quit: Computer has gone to sleep.
[2011/12/08 17:24:36] <zykes-> the_ramink: seen this before? http://pastebin.com/sXuU7HV6
[2011/12/08 17:25:35] @ Quit: jroid: Ping timeout: 244 seconds
[2011/12/08 17:25:48] @ labrown joined channel #puppet
[2011/12/08 17:26:27] @ Quit: ryancoleman: Quit: Leaving.
[2011/12/08 17:26:41] @ edward joined channel #puppet
[2011/12/08 17:33:15] @ jroid joined channel #puppet
[2011/12/08 17:33:51] @ Quit: seanh-ansca: Ping timeout: 244 seconds
[2011/12/08 17:34:00] @ Quit: Text: Ping timeout: 265 seconds
[2011/12/08 17:35:27] @ Quit: jsurfer: Quit: jsurfer
[2011/12/08 17:36:13] @ dbgster joined channel #puppet
[2011/12/08 17:37:05] <the_ramink> zykes-: not a nginx user, but overall it looks like it's at least up and running. I'd see if any Rack processes are being spawned and maybe put nginx log in debug and set debug in your config.ru as well with ARGV << "--debug"
[2011/12/08 17:37:39] @ VladGh joined channel #puppet
[2011/12/08 17:38:54] @ Quit: kenperkins: Quit: Computer has gone to sleep.
[2011/12/08 17:39:15] @ Quit: nitram_macair: Quit: nitram_macair
[2011/12/08 17:39:25] @ Quit: VladGh: Client Quit
[2011/12/08 17:39:39] @ kenperkins joined channel #puppet
[2011/12/08 17:39:42] @ Quit: kenperkins: Client Quit
[2011/12/08 17:40:11] @ Quit: jimi_c: Ping timeout: 244 seconds
[2011/12/08 17:40:24] @ manlymatt83 joined channel #puppet
[2011/12/08 17:40:51] <manlymatt83> Question: is there a way to say "Require => Exec['blah']" but only if Exec['blah'] exists? Sometimes I'm not including that puppet class but if I *AM* including it in the node configuration I want it to be required.
[2011/12/08 17:40:58] @ Kazuhiro left channel #puppet ()
[2011/12/08 17:40:59] @ VladGh joined channel #puppet
[2011/12/08 17:41:01] <manlymatt83> is this a good use of defined?
[2011/12/08 17:42:14] <pabelanger> manlymatt83: yes, if (defined(Class['foo'])) { bar() }
[2011/12/08 17:42:46] <manlymatt83> can I do that within a Require?
[2011/12/08 17:42:53] @ Quit: VladGh: Read error: Connection reset by peer
[2011/12/08 17:42:58] @ Quit: nfagerlund: Remote host closed the connection
[2011/12/08 17:42:59] <manlymatt83> if (defined(Class['foo'])) { Require => Exec['bar'] }
[2011/12/08 17:43:10] <pabelanger> I don't see why not
[2011/12/08 17:43:59] @ Quit: maxmartin: Quit: Computer has gone to sleep.
[2011/12/08 17:44:36] @ Quit: sa_sh_ka: Ping timeout: 240 seconds
[2011/12/08 17:44:42] @ VladGh joined channel #puppet
[2011/12/08 17:45:48] @ Quit: Scott-Mc: Ping timeout: 240 seconds
[2011/12/08 17:50:48] @ langworthy joined channel #puppet
[2011/12/08 17:51:38] <zykes-> it doesn't give anything useful the_ramink
[2011/12/08 17:52:38] <the_ramink> zykes-: no rack processeS?
[2011/12/08 17:54:38] @ Quit: labrown: Ping timeout: 244 seconds
[2011/12/08 17:54:39] @ Quit: Wolfspyre: Quit: Leaving.
[2011/12/08 17:55:52] <zykes-> there's rack yeah
[2011/12/08 17:58:18] @ SIFTU joined channel #puppet
[2011/12/08 17:58:42] @ ryancoleman joined channel #puppet
[2011/12/08 17:58:59] @ Scott-Mc joined channel #puppet
[2011/12/08 17:59:44] <haus> zykes-: new puppet should be on apt.puppetlabs.com now
[2011/12/08 18:00:03] @ labrown joined channel #puppet
[2011/12/08 18:00:08] <zykes-> haus: k
[2011/12/08 18:00:31] <zykes-> haus: you got a clue on nginx and puppetmasteR ?
[2011/12/08 18:00:38] @ Quit: pll: Ping timeout: 240 seconds
[2011/12/08 18:00:43] @ Quit: nevyn: Ping timeout: 244 seconds
[2011/12/08 18:02:13] <haus> zykes-: don't know much about nginx or what it would involve to do a package for it
[2011/12/08 18:02:22] @ justin_donaldson joined channel #puppet
[2011/12/08 18:02:36] <zykes-> ah
[2011/12/08 18:02:50] @ nevyn joined channel #puppet
[2011/12/08 18:02:51] <WALoeIII> whats going on with the apt repo now
[2011/12/08 18:02:56] <WALoeIII> things showing up/disappearing
[2011/12/08 18:03:03] <WALoeIII> W: Failed to fetch http://apt.puppetlabs.com/ubuntu/dists/lucid/main/binary-i386/Packages.gz 404 Not Found
[2011/12/08 18:04:19] <zykes-> hmmm, ok new error
[2011/12/08 18:04:24] @ Quit: mosen: Quit: Leaving
[2011/12/08 18:04:46] <zykes-> no I get that puppet is looking for /etc/puppet/ssl, why does it do that when it's /var/lib/puppet/ssl that's stated in puppet.conf ?
[2011/12/08 18:04:50] <jbaldridge> WALoeIII: get rid of /ubuntu/
[2011/12/08 18:05:16] <WALoeIII> as of 5 minutes ago?
[2011/12/08 18:05:31] <jbaldridge> *shrug* I'm looking at the repo structure
[2011/12/08 18:05:36] <jbaldridge> and /ubuntu is empty
[2011/12/08 18:05:41] <jbaldridge> but /dists has both debian and ubuntu dists in it
[2011/12/08 18:05:42] @ benjiedmund joined channel #puppet
[2011/12/08 18:05:52] @ rcrowley joined channel #puppet
[2011/12/08 18:05:55] <jbaldridge> implying the repo root is one level higher than you're trying
[2011/12/08 18:05:56] <WALoeIII> k
[2011/12/08 18:06:01] <WALoeIII> thats new
[2011/12/08 18:06:05] <WALoeIII> as in this worked 15 minutes ago
[2011/12/08 18:06:10] <WALoeIII> 5 minutes ago it started to fail
[2011/12/08 18:06:15] @ Quit: miche: Quit: Computer has gone to sleep.
[2011/12/08 18:06:15] <WALoeIII> ubuntu got renamed to ubuntu.old
[2011/12/08 18:06:15] <haus> WALoeIII: jbaldridge: problem on our end, should be addressed in a few
[2011/12/08 18:06:27] <WALoeIII> haus: what should I use
[2011/12/08 18:06:36] <WALoeIII> (for lucid)
[2011/12/08 18:07:34] <haus> deb http://apt.puppetlabs.com/ lucid main
[2011/12/08 18:08:24] <zykes-> doesn't puppetmaster read /etc/puppet/puppet.conf by default ?
[2011/12/08 18:09:23] <jbaldridge> haus: you guys stop providing source debs?
[2011/12/08 18:09:50] <jbaldridge> I just noticed they no longer seem to be in the pool
[2011/12/08 18:10:01] @ Quit: the_ramink: Ping timeout: 244 seconds
[2011/12/08 18:10:31] @ Quit: msaum: Quit: Leaving.
[2011/12/08 18:11:00] @ newtMcKerr joined channel #puppet
[2011/12/08 18:11:16] <zykes-> or noone knows ? It seems to me that it ignores my ssl path completely
[2011/12/08 18:12:02] @ Quit: shortbus-: Ping timeout: 258 seconds
[2011/12/08 18:12:08] @ msaum joined channel #puppet
[2011/12/08 18:12:29] @ Quit: rcrowley: Quit: Computer has gone to sleep.
[2011/12/08 18:12:47] @ Quit: comptona[zenoss]: Quit: Leaving.
[2011/12/08 18:13:52] <eric0> zykes `puppet master --configprint ssldir`
[2011/12/08 18:15:57] <WALoeIII> zykes-: use nginx and reverse proxy to unicorn running puppetmaster
[2011/12/08 18:16:13] <WALoeIII> if you want to use passenger you have to compile a module into nginx, its a bit more complex
[2011/12/08 18:16:34] <WALoeIII> unicorn is the bestest ruby webserver right now, responds to the same signals as nginx
[2011/12/08 18:16:52] @ Vulcan[OMNI] joined channel #puppet
[2011/12/08 18:17:01] @ rcrowley joined channel #puppet
[2011/12/08 18:20:53] @ huismon joined channel #puppet
[2011/12/08 18:20:53] @ Quit: nate_h: Read error: Connection reset by peer
[2011/12/08 18:21:15] <haus> WALoeIII: jbaldridge apt.puppetlabs.com should be back to more or less normal now
[2011/12/08 18:21:26] <WALoeIII> haus: thank you
[2011/12/08 18:21:35] <haus> i.e deb http://apt.puppetlabs.com/ubuntu lucid main should work again
[2011/12/08 18:21:38] @ Radex_ joined channel #puppet
[2011/12/08 18:22:01] <jbaldridge> heh... nice workaround you put in there
[2011/12/08 18:22:24] @ Quit: Radex: Remote host closed the connection
[2011/12/08 18:22:48] <jbaldridge> Is that a move toward deprecating /debain and /ubuntu in the future?
[2011/12/08 18:23:40] <haus> jbaldridge: we're moving toward using freight instead of reprepo, and as we were already building the debs to work on debian and ubuntu it seemed redundant
[2011/12/08 18:24:16] <haus> jbaldridge: as for source debs, i'll dig into that tomorrow
[2011/12/08 18:24:32] <haus> jbaldridge: but the intention is to supply source debs
[2011/12/08 18:24:41] <jbaldridge> cool, thanks
[2011/12/08 18:24:45] <haus> np
[2011/12/08 18:24:48] @ maxmartin joined channel #puppet
[2011/12/08 18:25:17] @ Quit: maxmartin: Client Quit
[2011/12/08 18:25:36] @ Quit: ghanima: Ping timeout: 240 seconds
[2011/12/08 18:27:45] <jbaldridge> huh... freight looks kinda neat.
[2011/12/08 18:27:48] <jbaldridge> I may have to check it out.
[2011/12/08 18:29:12] @ Quit: tilgovi: Read error: Connection reset by peer
[2011/12/08 18:30:58] <eryc> https://www.youtube.com/watch?v=3KpPBnEtRj4
[2011/12/08 18:31:00] <eryc> LISA '11 keynote
[2011/12/08 18:32:02] @ Quit: msaum: Quit: Leaving.
[2011/12/08 18:32:15] <haus> yes, freight is pretty awesome
[2011/12/08 18:33:05] @ Quit: rcrowley: Ping timeout: 240 seconds
[2011/12/08 18:34:44] @ msaum joined channel #puppet
[2011/12/08 18:35:51] @ Quit: highclasshole: Ping timeout: 244 seconds
[2011/12/08 18:37:55] @ Quit: mrwacky42: Ping timeout: 244 seconds
[2011/12/08 18:39:08] @ Quit: ryancoleman: Read error: Connection reset by peer
[2011/12/08 18:40:28] @ ryancoleman joined channel #puppet
[2011/12/08 18:42:36] @ the_ramink joined channel #puppet
[2011/12/08 18:44:38] @ Quit: ryancoleman: Ping timeout: 244 seconds
[2011/12/08 18:47:08] @ Quit: cwarden: Ping timeout: 240 seconds
[2011/12/08 18:48:27] @ Quit: choonming: Quit: Leaving
[2011/12/08 18:48:39] @ Quit: st33v: Quit: st33v
[2011/12/08 18:50:58] @ ryancoleman joined channel #puppet
[2011/12/08 18:52:56] @ neonflux joined channel #puppet
[2011/12/08 18:53:33] @ Quit: msaum: Quit: Leaving.
[2011/12/08 18:55:50] @ Quit: l0n:
[2011/12/08 18:55:58] @ msaum joined channel #puppet
[2011/12/08 18:59:05] @ Quit: Callek: Ping timeout: 240 seconds
[2011/12/08 19:06:05] @ Quit: benjiedmund: Remote host closed the connection
[2011/12/08 19:06:34] @ Callek joined channel #puppet
[2011/12/08 19:07:28] @ Quit: fir31ight: Ping timeout: 248 seconds
[2011/12/08 19:07:45] @ Quit: NightMonkey: Quit: Body blow! Body blow!
[2011/12/08 19:09:03] @ shortbus- joined channel #puppet
[2011/12/08 19:09:34] @ fir31ight joined channel #puppet
[2011/12/08 19:15:03] @ Quit: msaum: Quit: Leaving.
[2011/12/08 19:16:58] @ msaum joined channel #puppet
[2011/12/08 19:21:23] @ benkevan joined channel #puppet
[2011/12/08 19:21:28] @ Quit: Callek: Ping timeout: 255 seconds
[2011/12/08 19:22:01] @ cliff-hm joined channel #puppet
[2011/12/08 19:22:34] @ Quit: sumsuch: Quit: sumsuch
[2011/12/08 19:26:33] @ Quit: dbgster: Quit: dbgster
[2011/12/08 19:28:27] @ jabir2 joined channel #puppet
[2011/12/08 19:28:28] @ mosen joined channel #puppet
[2011/12/08 19:30:44] @ Quit: jabir1: Ping timeout: 244 seconds
[2011/12/08 19:33:32] @ Quit: wooster: Read error: Operation timed out
[2011/12/08 19:35:55] @ Quit: viq: Ping timeout: 252 seconds
[2011/12/08 19:36:48] @ Quit: msaum: Quit: Leaving.
[2011/12/08 19:36:56] @ viq joined channel #puppet
[2011/12/08 19:37:09] @ wooster joined channel #puppet
[2011/12/08 19:38:43] @ msaum joined channel #puppet
[2011/12/08 19:39:06] @ choonming joined channel #puppet
[2011/12/08 19:39:42] @ Quit: druonysus: Remote host closed the connection
[2011/12/08 19:40:23] @ jsurfer joined channel #puppet
[2011/12/08 19:50:45] @ Callek joined channel #puppet
[2011/12/08 19:50:47] @ Quit: ryancoleman: Quit: Leaving.
[2011/12/08 19:54:18] @ Quit: bmahe: Quit: Leaving
[2011/12/08 19:54:37] @ Quit: e1mer: Ping timeout: 252 seconds
[2011/12/08 19:54:55] @ Wolfspyre joined channel #puppet
[2011/12/08 19:55:29] @ bobra joined channel #puppet
[2011/12/08 19:55:49] @ Quit: labrown: Ping timeout: 252 seconds
[2011/12/08 19:58:18] @ Quit: msaum: Quit: Leaving.
[2011/12/08 20:00:38] @ Quit: n0ts: Ping timeout: 240 seconds
[2011/12/08 20:00:43] @ msaum joined channel #puppet
[2011/12/08 20:01:07] @ Quit: bobra: Ping timeout: 240 seconds
[2011/12/08 20:03:35] @ AshishH joined channel #puppet
[2011/12/08 20:14:05] @ Quit: newtMcKerr: Quit: Leaving.
[2011/12/08 20:15:13] @ bobra joined channel #puppet
[2011/12/08 20:15:23] @ Spads_ joined channel #puppet
[2011/12/08 20:16:01] @ corren joined channel #puppet
[2011/12/08 20:17:27] @ Quit: skm: Ping timeout: 244 seconds
[2011/12/08 20:18:02] @ skm joined channel #puppet
[2011/12/08 20:18:47] @ Quit: Spads: Ping timeout: 244 seconds
[2011/12/08 20:19:49] @ Quit: msaum: Quit: Leaving.
[2011/12/08 20:21:01] @ Quit: Xeross: Ping timeout: 252 seconds
[2011/12/08 20:21:56] @ Quit: jimmy1980: Ping timeout: 240 seconds
[2011/12/08 20:22:18] @ msaum joined channel #puppet
[2011/12/08 20:23:44] @ n0ts joined channel #puppet
[2011/12/08 20:27:03] @ jimmy1980 joined channel #puppet
[2011/12/08 20:28:09] <thomas169> is it normal for puppet apply --noop to complain about missing init scripts when using a basic package -> config_file -> service manifest? or have i messed up my requires somehow..
[2011/12/08 20:28:17] @ benjiedmund joined channel #puppet
[2011/12/08 20:29:47] @ Quit: fredden: Quit: Leaving
[2011/12/08 20:29:49] @ Quit: jroid: Remote host closed the connection
[2011/12/08 20:30:28] @ Quit: rmckee: Quit: Leaving
[2011/12/08 20:31:17] @ labrown joined channel #puppet
[2011/12/08 20:31:54] @ Quit: easel: Quit: Leaving...
[2011/12/08 20:34:43] @ easel joined channel #puppet
[2011/12/08 20:36:23] @ Quit: rideh: Quit: rideh
[2011/12/08 20:36:45] @ Quit: easel: Client Quit
[2011/12/08 20:36:50] @ Quit: dan__t: Ping timeout: 252 seconds
[2011/12/08 20:39:20] @ Quit: cliff-hm: Ping timeout: 244 seconds
[2011/12/08 20:42:35] @ Quit: msaum: Quit: Leaving.
[2011/12/08 20:44:03] @ highclasshole joined channel #puppet
[2011/12/08 20:44:58] @ msaum joined channel #puppet
[2011/12/08 20:45:44] @ sumsuch joined channel #puppet
[2011/12/08 20:52:01] @ Quit: jabir2: Quit: Leaving.
[2011/12/08 20:52:37] @ Quit: dnjaramba: Read error: Connection reset by peer
[2011/12/08 20:52:49] @ jabir joined channel #puppet
[2011/12/08 20:53:23] @ emdub joined channel #puppet
[2011/12/08 20:54:02] <emdub> anyone know if it's possible to have puppet insert the autogenerated header into files it manages?
[2011/12/08 20:54:38] @ jimi_c joined channel #puppet
[2011/12/08 20:54:43] @ Quit: jabir: Client Quit
[2011/12/08 21:01:26] @ manlymatt83 left channel #puppet ()
[2011/12/08 21:02:20] @ dnjaramba joined channel #puppet
[2011/12/08 21:04:04] @ Quit: msaum: Quit: Leaving.
[2011/12/08 21:05:59] @ Quit: hobbeswalsh: Quit: hobbeswalsh
[2011/12/08 21:06:00] @ msaum joined channel #puppet
[2011/12/08 21:07:15] @ joe-mac joined channel #puppet
[2011/12/08 21:12:29] @ newtMcKerr joined channel #puppet
[2011/12/08 21:12:33] @ dan__t joined channel #puppet
[2011/12/08 21:15:55] @ rcrowley joined channel #puppet
[2011/12/08 21:22:19] @ Quit: newtMcKerr: Quit: Leaving.
[2011/12/08 21:25:35] @ Quit: msaum: Quit: Leaving.
[2011/12/08 21:27:58] @ msaum joined channel #puppet
[2011/12/08 21:33:31] @ Quit: gniks: Quit: Leaving.
[2011/12/08 21:42:47] @ Quit: joe-mac: Ping timeout: 240 seconds
[2011/12/08 21:44:54] @ jabir joined channel #puppet
[2011/12/08 21:47:06] @ Quit: msaum: Quit: Leaving.
[2011/12/08 21:48:55] @ lak joined channel #puppet
[2011/12/08 21:48:56] @ Quit: lak: Changing host
[2011/12/08 21:48:56] @ lak joined channel #puppet
[2011/12/08 21:49:33] @ msaum joined channel #puppet
[2011/12/08 21:56:28] @ Quit: astrostl:
[2011/12/08 21:57:20] @ Quit: benkevan: Quit: leaving
[2011/12/08 21:58:27] @ Quit: Azrial: Remote host closed the connection
[2011/12/08 21:59:46] @ Quit: dan__t: Quit: Leaving
[2011/12/08 22:03:47] @ Quit: paroneayea: Ping timeout: 240 seconds
[2011/12/08 22:06:02] @ Quit: benjiedmund: Remote host closed the connection
[2011/12/08 22:06:25] @ paroneayea joined channel #puppet
[2011/12/08 22:09:36] @ Quit: msaum: Quit: Leaving.
[2011/12/08 22:10:09] @ Quit: corren: Ping timeout: 252 seconds
[2011/12/08 22:11:55] @ msaum joined channel #puppet
[2011/12/08 22:17:45] @ Quit: sumsuch: Quit: sumsuch
[2011/12/08 22:17:59] @ v joined channel #puppet
[2011/12/08 22:19:00] @ Quit: v: Client Quit
[2011/12/08 22:19:24] @ v joined channel #puppet
[2011/12/08 22:20:02] @ Quit: Holocaine: Ping timeout: 252 seconds
[2011/12/08 22:20:47] @ Quit: labrown: Ping timeout: 240 seconds
[2011/12/08 22:21:00] @ Quit: lak: Quit: Leaving.
[2011/12/08 22:21:01] @ Quit: jimmy1980: Ping timeout: 255 seconds
[2011/12/08 22:23:15] @ nitram_macair joined channel #puppet
[2011/12/08 22:24:14] @ Quit: Djelibeybi: Quit: Textual IRC Client: http://www.textualapp.com/
[2011/12/08 22:24:59] @ jimmy1980 joined channel #puppet
[2011/12/08 22:31:50] @ Quit: msaum: Quit: Leaving.
[2011/12/08 22:33:08] @ riha joined channel #puppet
[2011/12/08 22:33:47] @ msaum joined channel #puppet
[2011/12/08 22:36:10] @ jaydg joined channel #puppet
[2011/12/08 22:38:37] @ Quit: riha: Quit: Leaving.
[2011/12/08 22:39:07] @ riha joined channel #puppet
[2011/12/08 22:40:32] @ jsm_ joined channel #puppet
[2011/12/08 22:46:05] @ sumsuch joined channel #puppet
[2011/12/08 22:46:15] @ Quit: danblack: Ping timeout: 244 seconds
[2011/12/08 22:48:11] @ Quit: neonflux: Quit: Leaving.
[2011/12/08 22:50:06] @ corren joined channel #puppet
[2011/12/08 22:51:32] @ nuknad joined channel #puppet
[2011/12/08 22:53:05] @ Quit: msaum: Quit: Leaving.
[2011/12/08 22:55:57] @ Kazuhiro joined channel #puppet
[2011/12/08 22:55:57] @ msaum joined channel #puppet
[2011/12/08 22:59:55] @ dissipate_ joined channel #puppet
[2011/12/08 23:01:27] @ Quit: ldlework: Ping timeout: 240 seconds
[2011/12/08 23:01:42] @ Quit: jimmy1980: Ping timeout: 248 seconds
[2011/12/08 23:05:36] @ Quit: VladGh: Ping timeout: 240 seconds
[2011/12/08 23:07:15] @ jimmy1980 joined channel #puppet
[2011/12/08 23:13:11] @ Quit: langworthy: Quit: langworthy
[2011/12/08 23:15:21] @ Quit: msaum: Quit: Leaving.
[2011/12/08 23:16:49] @ Quit: Bass10: Ping timeout: 255 seconds
[2011/12/08 23:17:47] @ msaum joined channel #puppet
[2011/12/08 23:19:03] @ Quit: nitram_macair: Quit: nitram_macair
[2011/12/08 23:20:22] @ Quit: dissipate_: Ping timeout: 252 seconds
[2011/12/08 23:20:23] @ Quit: jaydg: Quit: Verlassend
[2011/12/08 23:23:29] @ Quit: gebi: Ping timeout: 240 seconds
[2011/12/08 23:28:56] @ Quit: skm: Quit: Computer has gone to sleep.
[2011/12/08 23:32:04] @ DJClean joined channel #puppet
[2011/12/08 23:32:08] @ Spads joined channel #puppet
[2011/12/08 23:32:29] @ danblack joined channel #puppet
[2011/12/08 23:34:25] @ Quit: cpick: Ping timeout: 258 seconds
[2011/12/08 23:35:07] @ Quit: Spads_: Ping timeout: 244 seconds
[2011/12/08 23:36:36] @ Quit: msaum: Quit: Leaving.
[2011/12/08 23:36:54] @ Quit: corren: Ping timeout: 248 seconds
[2011/12/08 23:37:42] <ssm> emdub: that would be type specific, and the "file" type does not do that. Other types do.
[2011/12/08 23:39:03] @ msaum joined channel #puppet
[2011/12/08 23:39:51] @ Stenbryggen joined channel #puppet
[2011/12/08 23:43:01] <emdub> ssm: i see that the ssh_authorized_key and cron types do that, but yeah, couldn't figure out how to do it with file... what i ended up doing was converting most of my file sources (source keys) to templates and using contents => template("header.erb", "module/file.erb")
[2011/12/08 23:43:53] <emdub> i could have just as easily modified the files directly, but i wanted to have an easy way to edit the header if i ever wanted to change the contents
[2011/12/08 23:44:22] @ druggo joined channel #puppet
[2011/12/08 23:46:18] @ Quit: nated: Ping timeout: 268 seconds
[2011/12/08 23:46:29] <ssm> emdub: that works :)
[2011/12/08 23:46:50] <emdub> :)
[2011/12/08 23:47:30] <ssm> easier than writing a new file_with_header type
[2011/12/08 23:48:55] <emdub> i briefly considered hacking a header key into the file type but then realized it could get complicated with things like recursive directories and such, it would probably just be straight incompatible with recursion, but it would probably work, could just be header => <comment prefix>, so like header => "#" or header => ";" etc
[2011/12/08 23:49:47] <emdub> i also make it a habit to set all managed files to be 0444 so that one has to purposely modify them, but i figured the header would be a bit more informative
[2011/12/08 23:50:12] @ nitram_macair joined channel #puppet
[2011/12/08 23:51:20] @ bmahe joined channel #puppet
[2011/12/08 23:51:20] @ Quit: bmahe: Changing host
[2011/12/08 23:51:21] @ bmahe joined channel #puppet
[2011/12/08 23:51:34] <ssm> emdub: the 0444 mode is a good hint to a logged-in admin, yes. :)
[2011/12/08 23:51:39] @ ali3n0 joined channel #puppet
[2011/12/08 23:54:27] @ Quit: danblack: Ping timeout: 244 seconds
[2011/12/08 23:54:31] @ movexig joined channel #puppet
[2011/12/08 23:55:00] @ Quit: nitram_macair: Client Quit
[2011/12/08 23:55:57] <movexig> All right, so I still have this problem with upstart (same as the other day). Any clue why puppet would refuse to run upstart, with the message "Provider upstart is not functional on this host", on a host that does in fact have a working upstart (confirmed to work when run manually), and is an Ubuntu (oneiric) system?
[2011/12/08 23:55:58] @ nitram_macair joined channel #puppet

Generated by irclog2html.py 2.9.2 by Marius Gedminas - find it at mg.pov.lt!