Wednesday, 2009-04-22

[2009/04/22 00:02:14] @ Log started by gepetto
[2009/04/22 00:02:14] @ Quit: edwardam: Remote closed the connection
[2009/04/22 00:02:17] @ Quit: ethan_rowe: Read error: 110 (Connection timed out)
[2009/04/22 00:04:36] @ Quit: d3vilb0x:
[2009/04/22 00:18:07] @ Quit: DavidS1: Read error: 104 (Connection reset by peer)
[2009/04/22 00:19:11] @ DavidS joined channel #puppet
[2009/04/22 00:20:01] @ Quit: mconigliaro1: Read error: 104 (Connection reset by peer)
[2009/04/22 00:20:11] @ mconigliaro joined channel #puppet
[2009/04/22 00:22:30] @ Quit: lak:
[2009/04/22 00:28:09] <bobbyz> heh, just realized something...I don't think puppet filebuckets things that are removed as part of a file{"blah": ensure=> directory, purge=>true, recurse=>true} when the recursively removed files aren't puppet-managed
[2009/04/22 00:28:49] <bobbyz> that would be a nice thing to have filebucketed ;)
[2009/04/22 00:39:49] @ Quit: tmz: Read error: 110 (Connection timed out)
[2009/04/22 00:42:00] @ Quit: jmarki: "Leaving"
[2009/04/22 00:44:30] @ tmz joined channel #puppet
[2009/04/22 00:59:30] @ Djelibeybi joined channel #puppet
[2009/04/22 01:02:28] @ PaulWay joined channel #puppet
[2009/04/22 01:02:45] <PaulWay> Hmmm - I've got one client that seems to not be updating regularly...
[2009/04/22 01:03:12] <PaulWay> It's sort of updating but regularly going over 2600 seconds (normal update should be 1800 seconds).
[2009/04/22 01:06:44] <PaulWay> Hmmm - looks like lots of timeouts in the puppet run.
[2009/04/22 01:07:21] @ voixd joined channel #puppet
[2009/04/22 01:08:24] <PaulWay> Running it manually seems to take a long time at "calling puppetmaster.getconfig"
[2009/04/22 01:10:20] <Djelibeybi> PaulWay: how long does it take the Puppet Master to generate the config?
[2009/04/22 01:10:51] <PaulWay> Well, for other hosts it's doing it in, oh, 0.10 seconds.
[2009/04/22 01:11:09] <PaulWay> This looks like it isn't actually talking to the puppetmaster - or packets are being dropped somewhere.
[2009/04/22 01:11:15] <PaulWay> Just tcpdumping...
[2009/04/22 01:11:35] <ohadlevy> PaulWay: Run the puppetmaster in debug mode
[2009/04/22 01:12:22] <PaulWay> ohadlevy: already on it.
[2009/04/22 01:13:13] @ gstratton joined channel #puppet
[2009/04/22 01:13:37] @ Quit: fujin:
[2009/04/22 01:17:21] <PaulWay> OK, it looks like at puppetmaster.getconfig on the client it tries to TCP connect on port 8140 and just never gets a response.
[2009/04/22 01:18:08] <PaulWay> packets are not getting to the puppetmaster
[2009/04/22 01:18:18] <PaulWay> something weird has obviously happened in the firewall config.
[2009/04/22 01:19:05] <PaulWay> What's weirder is that every 2600 seconds or so it obviously comes good, because that's when Puppet retries and works according to Nagios.
[2009/04/22 01:19:42] @ Quit: kingitchy:
[2009/04/22 01:23:37] @ lak joined channel #puppet
[2009/04/22 01:23:40] <gstratton> If I have an 'exec' resource with 'subscribe' and 'creates' attributes (both pointing to files), it should run every time until the first file is created, and then every time the other file is modified, yes?
[2009/04/22 01:24:20] <gstratton> I'm seeing the resource being triggered but not actually running when the subscribed file is modified
[2009/04/22 01:24:41] <Djelibeybi> gstratton: my guess is that the "creates" line prevents the exec from running if the file is there.
[2009/04/22 01:25:05] <gstratton> Maybe that's because the resource also 'require's another exec which is only run once
[2009/04/22 01:25:31] <gstratton> Djelibeybi: I'm pretty sure subscribe overrides everything else
[2009/04/22 01:25:48] <Djelibeybi> gstratton: I was just guessing. :)
[2009/04/22 01:31:25] @ Quit: cwebber:
[2009/04/22 01:31:58] @ WALoeIII joined channel #puppet
[2009/04/22 01:49:59] @ pleemans joined channel #puppet
[2009/04/22 01:50:40] @ randybias|away is now known as randybias
[2009/04/22 01:53:04] @ madrescher joined channel #puppet
[2009/04/22 01:55:20] @ Quit: shake-n-bake:
[2009/04/22 01:56:14] @ Quit: lak:
[2009/04/22 02:04:06] @ elementai joined channel #puppet
[2009/04/22 02:04:10] @ rawleto joined channel #puppet
[2009/04/22 02:04:38] <gstratton> Djelibeybi: Looks like you might be right. :)
[2009/04/22 02:11:27] <gstratton> I could have sworn subscribe/notify should override unless/creates.
[2009/04/22 02:22:52] @ monzie joined channel #puppet
[2009/04/22 02:22:58] <monzie> hello all
[2009/04/22 02:25:44] @ Quit: bobbyz: Read error: 113 (No route to host)
[2009/04/22 02:28:09] @ Quit: alban2: Read error: 60 (Operation timed out)
[2009/04/22 02:34:31] @ Quit: madrescher: "Leaving."
[2009/04/22 02:34:49] <PaulWay> monzie: hi!
[2009/04/22 02:37:40] @ randybias is now known as randybias|away
[2009/04/22 02:44:21] @ Quit: MarlondB:
[2009/04/22 02:54:20] @ Quit: andrewcshafer:
[2009/04/22 03:01:25] @ kibahop joined channel #puppet
[2009/04/22 03:05:44] * monachus is in limbo.
[2009/04/22 03:05:55] <hMz> that must be an ice place to be
[2009/04/22 03:06:03] <hMz> nothing to do, nothing to make you do anything
[2009/04/22 03:10:41] <monzie> hey PaulWay
[2009/04/22 03:11:00] @ MarlondB joined channel #puppet
[2009/04/22 03:11:31] @ Quit: astinus: Remote closed the connection
[2009/04/22 03:11:34] @ astinus joined channel #puppet
[2009/04/22 03:14:42] @ MattyM joined channel #puppet
[2009/04/22 03:16:35] @ HarryCalahan joined channel #puppet
[2009/04/22 03:18:14] <gstratton> What does 'refresh' mean in the context of an exec? It doesn't mean run...
[2009/04/22 03:24:02] * monachus is in limbo.
[2009/04/22 03:24:32] <Volcane> if a exec is set to refreshonly
[2009/04/22 03:24:33] @ Quit: bgupta: Read error: 104 (Connection reset by peer)
[2009/04/22 03:24:45] <Volcane> then notifying it, or doing something it's subscribe too will make it run
[2009/04/22 03:24:48] @ bgupta joined channel #puppet
[2009/04/22 03:27:26] <gstratton> So I have to set it refreshonly?
[2009/04/22 03:30:10] <Volcane> what do you want to achieve?
[2009/04/22 03:30:13] <gstratton> Volcane: I want it to run if a file doesn't exist, or if a config file is changed. I thought creates and subscribe would do the trick
[2009/04/22 03:31:01] <Volcane> creates will probably prevent it from running if the files changed, i think those 2 options probably cant be used together
[2009/04/22 03:31:30] <gstratton> I guess not.
[2009/04/22 03:31:44] <Volcane> not sure how you'd do that
[2009/04/22 03:31:45] @ Quit: erm_: Read error: 60 (Operation timed out)
[2009/04/22 03:32:39] <gstratton> I assumed subscribe/notify should override everything, otherwise what use do they have with an exec?
[2009/04/22 03:32:58] <Volcane> they'd work with a refreshonly
[2009/04/22 03:33:09] <gstratton> Ah, yes, sorry
[2009/04/22 03:33:16] <Volcane> so probably you can just specify that and not the creates
[2009/04/22 03:33:20] @ PaulWay left channel #puppet ()
[2009/04/22 03:33:20] <Volcane> and it would do what u want
[2009/04/22 03:33:33] <Volcane> freshonly+subscribe
[2009/04/22 03:34:08] <gstratton> Except that if it fails the first time it is never re-run (unless due to a notify)
[2009/04/22 03:34:23] @ mikepea joined channel #puppet
[2009/04/22 03:34:45] <gstratton> I had that happen due to an external network service being down
[2009/04/22 03:34:53] <Volcane> heh
[2009/04/22 03:35:49] <gstratton> I moved from refreshonly to creates to get round that problem!
[2009/04/22 03:40:26] @ keithlard joined channel #puppet
[2009/04/22 03:41:14] <gstratton> Volcane: I guess since creates is a parameter of exec, it will always override subscribe and notify which are metaparameters and presumably applied at a higher level.
[2009/04/22 03:42:03] @ Quit: gaveen_: Read error: 60 (Operation timed out)
[2009/04/22 03:42:19] <Volcane> notify will still notify it yeah, it just wont do anything :)
[2009/04/22 03:43:33] @ aymerick joined channel #puppet
[2009/04/22 03:46:29] @ Quit: Kindred: Read error: 104 (Connection reset by peer)
[2009/04/22 03:46:42] @ Kindred joined channel #puppet
[2009/04/22 03:50:56] <FiXion> morning :)
[2009/04/22 03:51:01] <FiXion> to those of you in CEST :)
[2009/04/22 03:52:16] <FiXion> how can I have several classes "install" the same package?
[2009/04/22 03:52:24] * HarryCalahan hands FiXion a coffee
[2009/04/22 03:52:33] <FiXion> puppet complains about package["package"] already defined :(
[2009/04/22 03:52:35] @ DerekW joined channel #puppet
[2009/04/22 03:52:48] * FiXion converts the coffee into chocolate and drinks with joy :)
[2009/04/22 03:52:54] <Volcane> FiXion: @package{"foo": ensure => present} <-- do that somewhere common, then realize(Package["foo"]) many times
[2009/04/22 03:52:58] * FiXion haven't learned to drink coffee yet.
[2009/04/22 03:52:59] <HarryCalahan> FiXion: define a master class and include that
[2009/04/22 03:54:04] <FiXion> so @package{"foo": ensure => present} in f.ex. my templates.pp won't actually install it on anything
[2009/04/22 03:54:18] <FiXion> until I: realize(Package["foo"]) ?
[2009/04/22 03:54:26] <Volcane> yes, and you can realize the same thing many times
[2009/04/22 03:54:35] <FiXion> Volcane: cool - thank you for that tip
[2009/04/22 03:54:40] <Volcane> http://reductivelabs.com/trac/puppet/wiki/VirtualResources
[2009/04/22 03:58:16] @ gaveen_ joined channel #puppet
[2009/04/22 04:03:20] @ Quit: Djelibeybi: "Leaving"
[2009/04/22 04:05:11] @ tim|mb joined channel #puppet
[2009/04/22 04:06:25] <FiXion> hmm - it doesn't seem to mix well with requiring different versions and ensure => present / ensure => absent
[2009/04/22 04:06:39] <Volcane> obviously
[2009/04/22 04:06:49] <Volcane> it only actually *does* it once
[2009/04/22 04:07:30] <FiXion> how do I handle several defines of Package{"foo" - where some want it absent, some present and in differing versions ?
[2009/04/22 04:08:16] <Volcane> you can inherit from the one that does the @package and set it to desired state, but if you include classes where some set it to version 1, some to 2, some absent some present on the same machine
[2009/04/22 04:08:26] <Volcane> you'll be up to the mercy of ordering as to what actually happens
[2009/04/22 04:08:44] <Volcane> its not like there can be any other way
[2009/04/22 04:10:44] @ Quit: mikepea:
[2009/04/22 04:11:23] <FiXion> so if i have a packages.pp with @package{"foo".. then I inherit packages, and define @package{"foo",ensure => $version ?
[2009/04/22 04:11:51] <Volcane> you need to do normal override syntax like you would on any inherited class
[2009/04/22 04:12:08] * FiXion goes looking at the wiki to see how that's done correctly
[2009/04/22 04:12:58] @ verwilst_ joined channel #puppet
[2009/04/22 04:13:38] @ Quit: verwilst_: Read error: 104 (Connection reset by peer)
[2009/04/22 04:14:07] @ mikepea joined channel #puppet
[2009/04/22 04:18:48] <gstratton> Volcane: I found a solution to my problem: onlyif => '[ trigger -nt output ]',
[2009/04/22 04:19:16] <gstratton> Which should be fine provided the clock is always correct
[2009/04/22 04:19:27] <Volcane> heh
[2009/04/22 04:19:43] <gstratton> Thanks for your input
[2009/04/22 04:23:31] @ glaw joined channel #puppet
[2009/04/22 04:28:03] @ Quit: keithlard:
[2009/04/22 04:29:40] @ Quit: mikepea:
[2009/04/22 04:33:13] @ keithlard_ joined channel #puppet
[2009/04/22 04:39:27] @ ghenry joined channel #puppet
[2009/04/22 04:40:01] <FiXion> hmm - Parameter 'ensure' is already set on Package[foo]
[2009/04/22 04:40:17] @ cirquitz joined channel #puppet
[2009/04/22 04:40:21] <FiXion> I have a @package { "foo" } in class vhosts
[2009/04/22 04:40:41] <FiXion> and vhosts::foo-www inherits vhosts
[2009/04/22 04:41:23] <Volcane> hmm, not tried overriding ensures yet i think, only versions
[2009/04/22 04:41:29] <FiXion> and this in the vhosts::foo-ww http://pastebin.com/m2451cf2e
[2009/04/22 04:41:41] <FiXion> hmm. :(
[2009/04/22 04:41:47] <FiXion> how do I uninstall it then?
[2009/04/22 04:41:57] @ glaw left channel #puppet ()
[2009/04/22 04:42:00] <FiXion> I'd like packages to disappear if a certain class is no longer assigned to a host
[2009/04/22 04:42:10] <FiXion> ie. be uninstalled :)
[2009/04/22 04:42:17] @ nakano_ is now known as nakano
[2009/04/22 04:42:26] <FiXion> instead of there being a lot of leftovers from previously assigned classes
[2009/04/22 04:43:50] @ mikepea joined channel #puppet
[2009/04/22 04:51:04] @ DasFx joined channel #puppet
[2009/04/22 04:53:52] @ fujin joined channel #puppet
[2009/04/22 05:05:03] @ Quit: ericrw:
[2009/04/22 05:05:58] @ Quit: astinus: Read error: 110 (Connection timed out)
[2009/04/22 05:06:35] @ Quit: Telmo: Read error: 110 (Connection timed out)
[2009/04/22 05:09:23] @ Log started by gepetto
[2009/04/22 05:09:23] @ Joined channel #puppet
[2009/04/22 05:09:23] @ Topic is "Puppet 0.24.8 released! http://tinyurl.com/cv2tq2 | Tickets, bugs and features at http://tinyurl.com/46ryk7"
[2009/04/22 05:09:23] @ Topic set by jamesturnbull on Mon Mar 23 07:50:35 -0400 2009
[2009/04/22 05:09:50] @ Mode +tnc by pratchett.freenode.net
[2009/04/22 05:10:32] @ Quit: gaveen_: "Enough lurking for now"
[2009/04/22 05:11:11] @ ohadlevy left channel #puppet ()
[2009/04/22 05:14:13] @ Quit: chillitom: Remote closed the connection
[2009/04/22 05:15:04] @ kolla joined channel #puppet
[2009/04/22 05:15:39] @ chip__ joined channel #puppet
[2009/04/22 05:17:25] <FiXion> I remember something creating a directory doesn't when there's no parent dir
[2009/04/22 05:17:40] <FiXion> and you can't do something a la "recurse => true" - to make it mkdir -p instead
[2009/04/22 05:17:52] <FiXion> so I have to create the parents before and make it depend on them
[2009/04/22 05:17:58] <FiXion> require them
[2009/04/22 05:18:00] <FiXion> correct?
[2009/04/22 05:19:47] <Volcane> #86
[2009/04/22 05:19:48] <gepetto> Volcane: #86 is http://projects.reductivelabs.com/issues/show/86 "Puppet - Feature #86: Directory creation fails if parent directory does not exist - ReductiveLabs.com"
[2009/04/22 05:21:06] @ zeroXten joined channel #puppet
[2009/04/22 05:21:07] <jenza> oh nice
[2009/04/22 05:21:13] <zeroXten> hmm, quite a few peeps
[2009/04/22 05:25:44] <HarryCalahan> can't gepetto say #86 the moment he hears "Directory" and "parent" or "recursive" at the same time? ;)
[2009/04/22 05:25:45] <gepetto> HarryCalahan: #86 is http://projects.reductivelabs.com/issues/show/86 "Puppet - Feature #86: Directory creation fails if parent directory does not exist - ReductiveLabs.com"
[2009/04/22 05:26:17] <Volcane> HarryCalahan: lol yeah
[2009/04/22 05:26:24] <Volcane> that'd be good, bloody hell
[2009/04/22 05:30:15] <mrrx> I noticed if I define class_A {} and a subclass class_A:sub{}, and i do "include class_A"; class_A:sub isn't included.
[2009/04/22 05:30:27] <mrrx> class_A::sub{}
[2009/04/22 05:30:45] <mrrx> that's the expected behaviour?
[2009/04/22 05:30:48] <HarryCalahan> mrrx: think more of namespaces
[2009/04/22 05:31:13] @ Quit: atlan_: Read error: 110 (Connection timed out)
[2009/04/22 05:31:44] <mrrx> as in c++?
[2009/04/22 05:32:43] * mrrx googles
[2009/04/22 05:33:04] <mrrx> oh
[2009/04/22 05:33:07] <mrrx> i see
[2009/04/22 05:33:23] <HarryCalahan> class a { info "i'm a" }; class a::sub { info "i'm a sub" }. include a::sub won't print a. inlcude a won't print sub.
[2009/04/22 05:33:41] <mrrx> ya
[2009/04/22 05:34:10] <mrrx> i thought the name also implies semantics
[2009/04/22 05:34:21] <mrrx> it's "just" namespace
[2009/04/22 05:34:24] <mrrx> aight
[2009/04/22 05:36:23] @ gaveen joined channel #puppet
[2009/04/22 05:36:36] <mrrx> also, is it advisable to define resource type properties in a global file and include it in site.pp?
[2009/04/22 05:37:47] <mrrx> for example: File {owner=> "blaat"}
[2009/04/22 05:39:16] @ Quit: voixd: Read error: 110 (Connection timed out)
[2009/04/22 05:40:08] <mrrx> Something else: the order in the which the catalog is build, is it consistent to the source files? and does it preserve the order of execution? I know I can influence this by using "require"
[2009/04/22 05:49:02] <HarryCalahan> mrrx: i hava a defaults.pp included in site.pp that sets those default values.
[2009/04/22 05:49:18] <HarryCalahan> mrrx: if you depend on the order ensure it by requirements.
[2009/04/22 05:49:43] <SyTonnerre> Hm, if I inherit a node, is it possible in some way to influence it?
[2009/04/22 05:49:58] <mrrx> so there's no guarantee that the sequence executed reflects the specification in the sources?
[2009/04/22 05:50:00] <Volcane> you cannot predict ordering, if you need ordering you need to use require/before etc
[2009/04/22 05:50:08] <mrrx> umm
[2009/04/22 05:50:09] <mrrx> ok
[2009/04/22 05:50:53] <SyTonnerre> (e.g. setting a variable in a node which sets a whole lot of variables in an inherited node)
[2009/04/22 05:50:58] <SyTonnerre> Is that possible in some way?
[2009/04/22 05:51:41] <Volcane> http://reductivelabs.com/trac/puppet/wiki/CommonMisconceptions
[2009/04/22 05:51:45] <Volcane> SyTonnerre...
[2009/04/22 05:51:56] <SyTonnerre> Volcane, I read that, nevertheless I wonder if there's a way to achieve what I want
[2009/04/22 05:52:17] <SyTonnerre> Apparently not using nodes, but I'm not sure how else one would do it
[2009/04/22 05:52:25] <Volcane> would there be an entire page dedicated to it and a suggested work around just to screw you around while we all laugh behind your back cos we know better? :)
[2009/04/22 05:52:54] <Volcane> use classes, like the page suggests
[2009/04/22 05:53:16] <SyTonnerre> But classes cannot set variables for other classes afaik?
[2009/04/22 05:53:34] <Volcane> node foo { $var = 10 include someclass }
[2009/04/22 05:53:39] <Volcane> someclass would see $var as 10
[2009/04/22 05:53:55] <SyTonnerre> Yes but that means I have to set it in the "top node"
[2009/04/22 05:54:11] <Volcane> which is what you want with node base { <do stuff with var> } and node foo inherits base { $var = 10 }
[2009/04/22 05:54:19] <Volcane> what top node?
[2009/04/22 05:54:31] <SyTonnerre> The actual host
[2009/04/22 05:54:44] * Volcane wish node inheritance didnt exist..
[2009/04/22 05:55:03] <SyTonnerre> I don't; it's fairly practical for a large number of things
[2009/04/22 05:55:22] <SyTonnerre> I only wish multiple node inheritance existed
[2009/04/22 05:55:42] <mrrx> :p
[2009/04/22 05:56:01] <mrrx> you can accomplish almost identical behaviour with classes :p
[2009/04/22 05:56:24] <Volcane> yup, with the added bonus of when you start using external nodes, you're not completely screwed and faced with massive rewrites
[2009/04/22 05:56:30] <mrrx> i must agree with volcane, node inheritance sounds weird
[2009/04/22 05:56:32] <SyTonnerre> mrrx, not really; I cannot set variables in classes to be seen in the other classes. But I can set variables in inherited nodes.
[2009/04/22 05:56:56] <Volcane> SyTonnerre: except, you cant.
[2009/04/22 05:57:21] <SyTonnerre> Yes I can
[2009/04/22 05:57:29] <SyTonnerre> I just cannot pass variables down in inheritance
[2009/04/22 05:57:39] <Volcane> so you can set them, with no effect
[2009/04/22 05:57:46] <SyTonnerre> No
[2009/04/22 05:58:05] <SyTonnerre> Look. I have a set of classes specific for some clusters of servers
[2009/04/22 05:58:19] <SyTonnerre> I set some common variables in the inherited node then
[2009/04/22 05:58:33] <SyTonnerre> (Instead of setting it in redundant fashion in every single cluster member)
[2009/04/22 05:58:45] <Volcane> include foocluster::node
[2009/04/22 05:59:07] <Volcane> class foocluster::node { $loads_of_variables=1 include common::cluster::stuff }
[2009/04/22 05:59:13] <SyTonnerre> Volcane, again: variables set in a class aren't seen by other classes.
[2009/04/22 05:59:33] <Volcane> common::cluster::stuff would have $loads_of_variables == 1
[2009/04/22 06:01:57] <Volcane> that way you can make any number of named classes, that adjusts your cluster classes by just setting variables and including them
[2009/04/22 06:04:46] @ xocas joined channel #puppet
[2009/04/22 06:08:07] @ MOZZMOZZ joined channel #puppet
[2009/04/22 06:08:28] @ nakano is now known as nakano_
[2009/04/22 06:08:30] @ stijnbe joined channel #puppet
[2009/04/22 06:11:32] <Volcane> anyway, gotta go, if that above patten doesnt work you should take your data/config outside, I've a system where i can say something like $snmp_contact = extlookup("snmp_contact") which i can set per machine, domain, country, datacenter or any arbitrary choice of collections of hosts
[2009/04/22 06:11:50] <Volcane> and with fall back to sane defaults etcetc
[2009/04/22 06:14:21] <Volcane> so I just inlclude snmp and then configure it externally to puppet for whatever behaviour i want for what machine, groups of machines, location, client name or whatever
[2009/04/22 06:14:39] * Volcane goes
[2009/04/22 06:17:34] @ fbe_ joined channel #puppet
[2009/04/22 06:18:06] @ Quit: fbe: Read error: 104 (Connection reset by peer)
[2009/04/22 06:21:40] <Baum> is there an internal variable for os release? im using intrepid but now i want to use jaunty too
[2009/04/22 06:22:10] <mikepea> i think you'll be wanting lsbdistcodename
[2009/04/22 06:22:34] <mikepea> (tis a facter fact though, not an 'internal variable')
[2009/04/22 06:23:10] <Baum> hmm ok facter i have to read the documentation about that
[2009/04/22 06:23:41] @ madrescher joined channel #puppet
[2009/04/22 06:30:33] <mikepea> Baum: facter is lovely. run 'facter' on any of your puppet nodes, and you'll see what it does. The puppet client runs it and submits the results to the master. each individual fact then is available for you to use in your manifests.
[2009/04/22 06:31:06] <mikepea> I think the lsbdistcodename fact is standard now, but you may need to install the 'lsb-release' package on ubuntu to get it to work.
[2009/04/22 06:31:58] @ chillitom joined channel #puppet
[2009/04/22 06:34:02] @ kibahop left channel #puppet ()
[2009/04/22 06:38:04] @ nakano_ is now known as nakano
[2009/04/22 06:42:36] @ kibahop joined channel #puppet
[2009/04/22 07:01:17] @ Quit: MOZZMOZZ: "Leaving..."
[2009/04/22 07:07:27] @ d3vilb0x joined channel #puppet
[2009/04/22 07:13:51] @ Quit: fujin:
[2009/04/22 07:16:04] <ChoHag> What changes has puppet seen since 0.23?
[2009/04/22 07:16:17] <ChoHag> Or, in other words, how out of date is the puppet book?
[2009/04/22 07:24:23] @ Quit: gaveen: No route to host
[2009/04/22 07:24:58] @ Quit: maxagaz: "Leaving"
[2009/04/22 07:25:05] @ fujin joined channel #puppet
[2009/04/22 07:25:20] @ gaveen joined channel #puppet
[2009/04/22 07:28:54] <HarryCalahan> why, oh why did debian invent partman?
[2009/04/22 07:29:26] @ martha joined channel #puppet
[2009/04/22 07:29:58] <tim|mb> because they love screwing their users
[2009/04/22 07:30:04] * tim|mb hates partman
[2009/04/22 07:30:22] <tim|mb> our preseeding uses the most default settings and then throws it all away in scripts to recreate
[2009/04/22 07:30:25] <HarryCalahan> i will never figure out to get my normal lvm setup into partman
[2009/04/22 07:30:44] <tim|mb> our required setup is lvm with 2 VGs... it's simply impossible in partman
[2009/04/22 07:30:55] <tim|mb> there's no support for two VGs
[2009/04/22 07:31:12] <tim|mb> or even for 1 VG that doesn't use the whole (rest of the) available space
[2009/04/22 07:31:39] <tim|mb> I've spent hours looking through the code, but it's a mess
[2009/04/22 07:31:55] <tim|mb> so many assumptions are made, I didn't know where to start to fix this
[2009/04/22 07:32:10] <tim|mb> sorry for the rant, all
[2009/04/22 07:33:27] <HarryCalahan> i want one pv to use the rest of the disk, then von vg to use this pv and then one lv that is not using the whole vg
[2009/04/22 07:36:23] @ Quit: fujin:
[2009/04/22 07:41:00] <gepetto> ::trac:: UPGRADE edited by jamtur01 @ http://reductivelabs.com/trac/puppet/wiki/UPGRADE (by james@lovedthanlost.net)
[2009/04/22 07:43:27] @ martha left channel #puppet ()
[2009/04/22 07:43:57] <FiXion> hmm - I borrowed ntp module from https://git.puppet.immerda.ch/?p=module-ntp;a=tree
[2009/04/22 07:44:06] <FiXion> he uses module_dir - but puppet doesn't know that.
[2009/04/22 07:44:12] <FiXion> anyone know what that is?
[2009/04/22 07:44:33] <FiXion> some extra puppet provider I'm guessing
[2009/04/22 07:44:48] <SyTonnerre> immerda.ch?!
[2009/04/22 07:45:01] <SyTonnerre> .oO(manchmaloffline.ch)
[2009/04/22 07:46:49] <HarryCalahan> FiXion: plugin architecture
[2009/04/22 07:47:06] <SyTonnerre> Wasn't there a simple way to check in puppet if a (manifest) variable is defined?
[2009/04/22 07:47:11] @ jamesturnbull joined channel #puppet
[2009/04/22 07:47:27] <tim|mb> hi jamesturnbull
[2009/04/22 07:47:50] <Volcane> SyTonnerre: so did my class suggestions make any sense?
[2009/04/22 07:48:36] <SyTonnerre> Volcane, I'm trying to implement the specific thing I'm having trouble with as a class now, but that gives me the problem that the variable may get overridden
[2009/04/22 07:48:54] <SyTonnerre> Volcane, which is why I'm asking now if there's some type of if (defined?($somevar))
[2009/04/22 07:48:57] <Volcane> if $var { }
[2009/04/22 07:49:07] <SyTonnerre> Hm
[2009/04/22 07:49:14] <SyTonnerre> Didn't think of that
[2009/04/22 07:49:21] <Volcane> its always the simple things :P
[2009/04/22 07:49:36] <SyTonnerre> Does if (!$var) work as well?
[2009/04/22 07:49:43] <Volcane> doubt it
[2009/04/22 07:49:48] <Volcane> but it might
[2009/04/22 07:50:24] @ Quit: beloth: Remote closed the connection
[2009/04/22 07:50:40] <jamesturnbull> tim|mb: hi
[2009/04/22 07:52:31] @ Quit: d3vilb0x:
[2009/04/22 08:01:01] @ Quit: bolt: "telnet irc.freenode.net 6667"
[2009/04/22 08:02:26] @ glaw joined channel #puppet
[2009/04/22 08:03:37] @ Quit: tim|mb:
[2009/04/22 08:10:24] @ fujin joined channel #puppet
[2009/04/22 08:15:31] @ alban2 joined channel #puppet
[2009/04/22 08:21:31] @ kambiz is now known as kambiz_away
[2009/04/22 08:23:18] @ Quit: fujin:
[2009/04/22 08:32:31] @ Quit: glaw:
[2009/04/22 08:33:29] <HarryCalahan> automatic debian install using preseed is giving me nuts.
[2009/04/22 08:34:37] @ Quit: verwilst: Read error: 113 (No route to host)
[2009/04/22 08:34:57] @ fujin joined channel #puppet
[2009/04/22 08:36:25] @ verwilst joined channel #puppet
[2009/04/22 08:38:48] @ edwardam joined channel #puppet
[2009/04/22 08:41:23] @ Quit: Demosthenes: "leaving"
[2009/04/22 08:42:05] <ChoHag> tim|imac: Late but, my method of preseeding debian partitioning is to effectively tell partman that it's already done its job and do it myself with a script.
[2009/04/22 08:43:12] <ChoHag> Fairly straightforward actually. I can't remember where I got it from but I can upload it if you want.
[2009/04/22 08:44:13] <HarryCalahan> ChoHag: please do. *pleaaaase*
[2009/04/22 08:44:37] <ChoHag> What's used for pasting stuff here?
[2009/04/22 08:44:50] <HarryCalahan> pastie.org
[2009/04/22 08:44:55] <SyTonnerre> ChoHag, Ctrl+] (into a nopaste)
[2009/04/22 08:46:07] <SyTonnerre> ~
[2009/04/22 08:46:09] <SyTonnerre> Argh
[2009/04/22 08:46:11] <SyTonnerre> Sorry
[2009/04/22 08:47:44] <ChoHag> http://pastie.org/454463
[2009/04/22 08:48:07] <ChoHag> Obviously it partitions the way I want it to, which is to create a basic set of small partitions.
[2009/04/22 08:48:14] @ Quit: sunoano: "Leaving."
[2009/04/22 08:48:22] <ChoHag> It doesn't use all the space - I enlarge partitions as needed after installation is complete.
[2009/04/22 08:49:38] <ChoHag> Assuming you want every hard drive wiped (well, actually only hd[ab] and sd[ab]), you should only need to change what's after 'logger -t autopart Creating VG
[2009/04/22 08:49:41] <ChoHag> '.
[2009/04/22 08:50:18] @ andrewcshafer joined channel #puppet
[2009/04/22 08:55:39] @ bajan joined channel #puppet
[2009/04/22 08:57:02] @ Quit: edwardam: Remote closed the connection
[2009/04/22 08:58:05] <HarryCalahan> thanks
[2009/04/22 09:04:48] @ rgsteele||work joined channel #puppet
[2009/04/22 09:05:25] @ d3vilb0x joined channel #puppet
[2009/04/22 09:05:43] @ Bass10 joined channel #puppet
[2009/04/22 09:06:28] @ ethan_rowe joined channel #puppet
[2009/04/22 09:07:00] @ nakano is now known as nakano_
[2009/04/22 09:10:54] @ rsquared joined channel #puppet
[2009/04/22 09:10:56] @ Quit: andrewcshafer:
[2009/04/22 09:15:27] @ lak joined channel #puppet
[2009/04/22 09:16:48] @ Quit: briandquinn:
[2009/04/22 09:20:13] @ edwardam joined channel #puppet
[2009/04/22 09:24:36] @ Quit: eythian: Read error: 104 (Connection reset by peer)
[2009/04/22 09:28:08] @ Quit: fujin: Read error: 110 (Connection timed out)
[2009/04/22 09:28:56] @ fujin joined channel #puppet
[2009/04/22 09:31:00] @ Quit: alban2: Read error: 110 (Connection timed out)
[2009/04/22 09:31:50] @ Quit: fujin: Client Quit
[2009/04/22 09:32:00] @ kibahop left channel #puppet ()
[2009/04/22 09:34:21] @ jbooth_ joined channel #puppet
[2009/04/22 09:35:32] @ Quit: gaveen: "Enough lurking for now"
[2009/04/22 09:37:29] @ tim|mb joined channel #puppet
[2009/04/22 09:37:52] <ChoHag> What does queueing support for storeconfigs do?
[2009/04/22 09:38:20] @ erm_ joined channel #puppet
[2009/04/22 09:38:26] <ChoHag> Reduce db load?
[2009/04/22 09:38:45] <fsweetser> it prevents puppetmaster from blocking on db operations, IIRC
[2009/04/22 09:43:24] @ glaw joined channel #puppet
[2009/04/22 09:43:41] @ Quit: glaw: Client Quit
[2009/04/22 09:45:46] @ Quit: jbooth: Read error: 110 (Connection timed out)
[2009/04/22 09:46:24] @ Quit: mikepea:
[2009/04/22 09:48:34] @ Quit: zeroXten: Remote closed the connection
[2009/04/22 09:49:08] @ joe-mac joined channel #puppet
[2009/04/22 09:51:16] @ kambiz_away is now known as kambiz
[2009/04/22 09:53:20] @ benkei_gone is now known as csmith
[2009/04/22 09:55:27] @ Quit: verwilst: Read error: 113 (No route to host)
[2009/04/22 09:55:29] @ csmith is now known as benkei_gone
[2009/04/22 09:55:45] @ Quit: kolla: Remote closed the connection
[2009/04/22 09:57:40] <rgsteele||work> Eh, what's the language construct that lets you test if a variable has been defined?
[2009/04/22 09:57:50] <rgsteele||work> (I thought it was 'defined', but can't find that in the wiki)
[2009/04/22 09:58:14] @ verwilst joined channel #puppet
[2009/04/22 09:58:35] <rgsteele||work> Oh, maybe it's this: http://reductivelabs.com/trac/puppet/wiki/FunctionReference#defined
[2009/04/22 10:00:35] @ bobbyz joined channel #puppet
[2009/04/22 10:05:23] @ bolt joined channel #puppet
[2009/04/22 10:07:21] @ Quit: lak:
[2009/04/22 10:10:22] <joe-mac> anybody ever try to set the ip attribute of a host resource using something like ip => "172.25.25.${something}", ?
[2009/04/22 10:11:04] @ Quit: bolt: Remote closed the connection
[2009/04/22 10:11:05] <joe-mac> the provider craps itself and says invalid IP, but if I do the string concatenation earlier like $master_ip = "172.25.25.${something}" then do ip => $master_ip, it works
[2009/04/22 10:11:32] <joe-mac> both versions parse fine, and don't fail until the provider tries to create the host
[2009/04/22 10:13:35] @ Quit: cirquitz: Read error: 104 (Connection reset by peer)
[2009/04/22 10:18:17] <rgsteele||work> Hm, this really shouldn't cause a language failure if it can't find the class: if defined(Class['webserver'])
[2009/04/22 10:18:23] <rgsteele||work> That's the whole point of using defined, isn't it?
[2009/04/22 10:18:56] <rgsteele||work> Ah, nevermind, typo in my manifest.
[2009/04/22 10:19:31] <rgsteele||work> Er, maybe notl
[2009/04/22 10:20:05] <rgsteele||work> Bummer, oh well.
[2009/04/22 10:22:11] @ Quit: fbe_: Remote closed the connection
[2009/04/22 10:22:31] <FiXion> rgsteele||work: I've seen references to if ($var) { ... }
[2009/04/22 10:22:40] <FiXion> I don't what it actually tests for.. though
[2009/04/22 10:22:53] <rgsteele||work> Hm, the statement "if defined(Node['webserver']) { ... }" causes a failure (says it can't find the resource type "node"). Can you not test against that?
[2009/04/22 10:23:35] @ MrHeavy joined channel #puppet
[2009/04/22 10:23:42] <rgsteele||work> It seems that using something like "if defined(File['foo'])) { ... }" works, though. I don't know what's special about the 'node' definition type.
[2009/04/22 10:24:50] <rgsteele||work> I wonder if it's because 'defined' is still dependent upon parse order, and the webserver node resource hasn't been evaluated yet.
[2009/04/22 10:24:51] @ mfoster joined channel #puppet
[2009/04/22 10:25:22] <jenza> because node isn't a resource type
[2009/04/22 10:26:26] <rgsteele||work> jenza: Wiki doesn't say it has to be. "Determine whether a given type is defined, either as a native type or a defined type, or whether a class is defined"
[2009/04/22 10:27:18] <jenza> nodes aren't types
[2009/04/22 10:27:20] <rgsteele||work> Eh, I guess 'type' precludes language constructs.
[2009/04/22 10:28:13] <rgsteele||work> jenza: Is there any way to test against the node type at all?
[2009/04/22 10:28:19] <jenza> No idea sorry
[2009/04/22 10:28:27] <rgsteele||work> jenza: No worries.
[2009/04/22 10:30:19] <jenza> I'm sure there is
[2009/04/22 10:30:23] <phantez> can someone explain me this line : http://github.com/lak/puppet/blob/916dd60dc8392c1ee612028008a52926676e894b/lib/puppet/transaction.rb#L668 ?
[2009/04/22 10:30:27] <jenza> I just don't know it
[2009/04/22 10:32:29] <seph_> I'm running into some weird ordering issues. I'm realizing both a user and an ssh_authorized_key. But puppet tries to make the ssh key first, which fails for lack of user. http://pastie.org/454552
[2009/04/22 10:32:50] <jenza> seph_: Have the ssh_authorized_key require the user
[2009/04/22 10:33:11] <jenza> Oh, you have got it
[2009/04/22 10:33:31] <seph_> This is 0.24.8-1 on ubuntu
[2009/04/22 10:38:16] @ mikepea joined channel #puppet
[2009/04/22 10:38:58] <seph_> Ha. someone mailed about this last night on puppet-users. I'll follow up there
[2009/04/22 10:41:26] @ alban2 joined channel #puppet
[2009/04/22 10:43:49] @ happymcplaksin joined channel #puppet
[2009/04/22 10:44:48] <happymcplaksin> With your Puppet config in git, is it possible to have a server-side pre-commit hook that runs the syntax check?
[2009/04/22 10:45:15] <happymcplaksin> If not, what do people do? Have the pre-commit hook *and* the right version of Puppet on every host that has a copy of the repo?
[2009/04/22 10:45:35] @ Quit: tim|mb:
[2009/04/22 10:48:56] @ jbooth_ is now known as jbooth
[2009/04/22 10:50:37] @ Quit: ssm: "byebye"
[2009/04/22 10:51:01] @ andrewcshafer joined channel #puppet
[2009/04/22 10:51:57] <HarryCalahan> happymcplaksin: only use one version of puppet
[2009/04/22 10:52:03] @ Quit: stasheck: Remote closed the connection
[2009/04/22 10:52:04] <HarryCalahan> happymcplaksin: roll out updates using puppet ;)
[2009/04/22 10:52:05] @ Ju joined channel #puppet
[2009/04/22 10:52:19] @ ericrw joined channel #puppet
[2009/04/22 10:54:32] @ atlan_ joined channel #puppet
[2009/04/22 10:58:40] @ Quit: bobbyz: Read error: 60 (Operation timed out)
[2009/04/22 10:58:42] <happymcplaksin> HarryCalahan: Yeah but maybe not every single desktop or laptop is in Puppet
[2009/04/22 10:59:00] * monachus is in limbo.
[2009/04/22 11:03:05] @ Quit: edwardam: Read error: 110 (Connection timed out)
[2009/04/22 11:05:39] @ sunoano joined channel #puppet
[2009/04/22 11:06:26] @ bolt joined channel #puppet
[2009/04/22 11:08:14] @ bobbyz joined channel #puppet
[2009/04/22 11:08:51] @ cwebber joined channel #puppet
[2009/04/22 11:10:01] @ Quit: nasrat: Remote closed the connection
[2009/04/22 11:10:44] @ Quit: chip__: Read error: 110 (Connection timed out)
[2009/04/22 11:14:47] @ kibahop joined channel #puppet
[2009/04/22 11:18:09] @ Quit: verwilst: "Ex-Chat"
[2009/04/22 11:19:22] @ randybias|away is now known as randybias
[2009/04/22 11:20:04] @ bajan left channel #puppet ()
[2009/04/22 11:22:09] @ Quit: randybias: "Leaving..."
[2009/04/22 11:23:33] <macbar> anyone here that can help me out with a "Could not migrate database" problem ?
[2009/04/22 11:23:46] <macbar> Mysql::Error: Duplicate column name 'environment': ALTER TABLE `hosts` ADD `environment` varchar(255)
[2009/04/22 11:24:45] <macbar> the short story: at a remote site, I installed a new puppet server with the config of an old one, new (empty) database, database structure gets created when the puppetmasters start
[2009/04/22 11:25:05] <macbar> I get this error however when my first puppet client connects
[2009/04/22 11:27:56] @ nasrat joined channel #puppet
[2009/04/22 11:30:39] <macbar> okay, I fixed it quick'n dirty
[2009/04/22 11:30:55] <macbar> insert into schema_migrations values ("3", NULL);
[2009/04/22 11:32:53] @ Quit: cwebber:
[2009/04/22 11:32:53] @ lak joined channel #puppet
[2009/04/22 11:35:53] @ Quit: alban2: Read error: 110 (Connection timed out)
[2009/04/22 11:39:15] @ Quit: stijnbe: Client Quit
[2009/04/22 11:43:33] @ alfism joined channel #puppet
[2009/04/22 11:46:29] @ Quit: MarlondB:
[2009/04/22 11:48:16] @ Quit: DasFx: Read error: 60 (Operation timed out)
[2009/04/22 11:48:16] @ edwardam joined channel #puppet
[2009/04/22 11:48:28] @ grim_radical_ joined channel #puppet
[2009/04/22 11:50:10] @ rdaugherty joined channel #puppet
[2009/04/22 11:50:58] @ DasFx joined channel #puppet
[2009/04/22 11:51:12] @ rdaugherty left channel #puppet ()
[2009/04/22 11:57:15] @ Quit: HarryCalahan: "."
[2009/04/22 11:59:19] @ kibahop left channel #puppet ()
[2009/04/22 12:01:26] <jbooth> If I'm reading the debug output of puppet right, a provider's flush method gets called for each resource that needs modified. I thought the point of prefetch&flush was to be called once at the very start and end. Am I misunderstanding, or is the multi-call a bug?
[2009/04/22 12:02:02] <egerlach> jbooth: I think that's the end goal... but it's not there yet. Could be wrong about that, though.
[2009/04/22 12:02:25] <egerlach> I too would love that functionality. Would help a lot with packages on Debian
[2009/04/22 12:02:26] <joe-mac> hey RL people, at http://reductivelabs.com/products/ facter is spelled on one line as 'factor' by accident
[2009/04/22 12:08:45] <jenza> heh
[2009/04/22 12:09:28] <fsweetser> usually that happens to me the other way around
[2009/04/22 12:10:03] <fsweetser> whenever I walk by a jewelry store and see signs for "pearl jewelry", I always want to go correct their spelling
[2009/04/22 12:11:01] @ Quit: DasFx: Read error: 110 (Connection timed out)
[2009/04/22 12:11:56] @ jmarki joined channel #puppet
[2009/04/22 12:17:04] @ philip joined channel #puppet
[2009/04/22 12:17:28] @ Quit: philip: Client Quit
[2009/04/22 12:18:01] @ philip joined channel #puppet
[2009/04/22 12:19:01] @ Quit: madrescher: Read error: 110 (Connection timed out)
[2009/04/22 12:25:28] @ yure joined channel #puppet
[2009/04/22 12:29:32] @ Quit: WALoeIII: Read error: 110 (Connection timed out)
[2009/04/22 12:32:52] @ ZummiG777 joined channel #puppet
[2009/04/22 12:33:11] <ZummiG777> What is the syntax for having multiple ignore => items on the same ignore?
[2009/04/22 12:35:27] <joe-mac> probably an array like ignore => [ "item1", "item2", "item3" ], have you tried that?
[2009/04/22 12:35:57] <ZummiG777> Not yet, I didn't want to just start randomly experimenting when I had a good resource like IRC to confim
[2009/04/22 12:36:26] <ZummiG777> Random experimenting is for Windows OS developers
[2009/04/22 12:37:41] <joe-mac> lol, k
[2009/04/22 12:39:40] @ WALoeIII joined channel #puppet
[2009/04/22 12:40:41] @ kingitchy joined channel #puppet
[2009/04/22 12:41:50] * Volcane learned by random expirementing.
[2009/04/22 12:44:00] <joe-mac> you must be a windows developer Volcane
[2009/04/22 12:45:09] * Volcane developed insurance systems software for windows systems in a previous life, also clipper, clarion and progress :P
[2009/04/22 12:47:46] @ Quit: erm_: Read error: 60 (Operation timed out)
[2009/04/22 12:48:05] <joe-mac> sounds fun!
[2009/04/22 12:48:36] <joe-mac> you've got all my favorite things, writing software, math, windows
[2009/04/22 12:48:48] * Volcane 's not a big math head
[2009/04/22 12:48:51] <Volcane> insurance math isnt hard
[2009/04/22 12:49:20] <joe-mac> i used to beg ood at math, now i need python to calculate anything beyond simple math
[2009/04/22 12:49:30] <joe-mac> and when i say simple, i mean like basic operations
[2009/04/22 12:49:43] <Volcane> google calculator++ :)
[2009/04/22 12:50:26] @ Quit: yure: Remote closed the connection
[2009/04/22 12:50:28] @ erm_ joined channel #puppet
[2009/04/22 12:51:11] @ ezmob joined channel #puppet
[2009/04/22 12:51:21] <Volcane> the insurance co i was at was purely paper based first, so I slowly took them first to DB III then DB IV then clipper then to VB based, math just never even seemed to feature
[2009/04/22 12:51:26] <Volcane> it was simple stuff
[2009/04/22 12:51:33] <joe-mac> o i c
[2009/04/22 12:51:42] @ Quit: mikepea: Read error: 110 (Connection timed out)
[2009/04/22 12:51:48] <Volcane> yonk ago clearly, though i know theres still a ton of my code there :)
[2009/04/22 12:51:56] <Volcane> yonks
[2009/04/22 12:53:25] @ Quit: DerekW: Remote closed the connection
[2009/04/22 12:58:25] @ cwebber joined channel #puppet
[2009/04/22 12:59:18] @ voixd joined channel #puppet
[2009/04/22 13:03:54] @ Quit: nasrat: "Ex-Chat"
[2009/04/22 13:05:50] @ Quit: edwardam: Remote closed the connection
[2009/04/22 13:06:18] @ edwardam joined channel #puppet
[2009/04/22 13:08:22] @ edwardam_ joined channel #puppet
[2009/04/22 13:08:27] @ Quit: edwardam: Read error: 104 (Connection reset by peer)
[2009/04/22 13:10:28] @ Quit: ZummiG777: "Leaving"
[2009/04/22 13:11:49] @ Quit: alfism: "Connection reset by beer"
[2009/04/22 13:12:01] @ edwardam joined channel #puppet
[2009/04/22 13:12:44] @ Quit: edwardam_: Read error: 104 (Connection reset by peer)
[2009/04/22 13:14:17] @ masterzen joined channel #puppet
[2009/04/22 13:19:02] @ Quit: BMDan: Read error: 104 (Connection reset by peer)
[2009/04/22 13:19:11] @ BMDan joined channel #puppet
[2009/04/22 13:21:17] <bevans5446> This is strange. I installed built ruby 1.8.7.p72 as an RPM and now puppet doesn't work
[2009/04/22 13:21:37] <bevans5446> "/usr/lib/ruby/site_ruby/1.8/puppet.rb:8:in `require': no such file to load -- singleton (LoadError)"
[2009/04/22 13:21:56] <riddley> did you wipe out your siteruby?
[2009/04/22 13:22:06] @ Quit: philip: Read error: 113 (No route to host)
[2009/04/22 13:22:24] <bevans5446> I tried removing and reinstalling puppet
[2009/04/22 13:22:29] <cwebber> is there a reason why i would not be able to sign certs as the puppet user
[2009/04/22 13:22:33] <bevans5446> do I need to wipe out my site ruby?
[2009/04/22 13:22:58] <riddley> bevans5446, my guess is that your site ruby dir changed and that your puppet.rpm is putting stuff where it shouldn't be
[2009/04/22 13:23:45] @ edwardam is now known as edwardam|meeting
[2009/04/22 13:24:17] <bevans5446> riddley: ahhh....I see. The rew rpm has a /usr/lib64/ruby where the older RPMS did not
[2009/04/22 13:24:37] * riddley pats himself on the back :)
[2009/04/22 13:26:25] @ mvn071 joined channel #puppet
[2009/04/22 13:27:10] <specsmu> hi hi
[2009/04/22 13:27:12] @ beloth joined channel #puppet
[2009/04/22 13:27:40] <bevans5446> thanks riddley, I'm sure thats the problem
[2009/04/22 13:27:45] <riddley> np :)
[2009/04/22 13:28:00] <cwebber> ummmmm
[2009/04/22 13:29:29] <cwebber> so i tried moving over to doing all puppet functions as puppet... and instead of working against my puppet directory... it created a .puppet directory in its home dir
[2009/04/22 13:29:36] <cwebber> is that normal behavior
[2009/04/22 13:30:09] @ Quit: voixd: Read error: 110 (Connection timed out)
[2009/04/22 13:30:51] <Volcane> cwebber: why not run as root?
[2009/04/22 13:31:14] <Volcane> but yeah i think the behaviour is documented, dont recall exactly where now
[2009/04/22 13:31:19] <cwebber> get people in the habit of doing things not a root
[2009/04/22 13:31:39] <cwebber> but i guess that point is moot
[2009/04/22 13:31:51] <Volcane> yeah i dont know how running the puppet daemon as non root helps there
[2009/04/22 13:32:11] <cwebber> no no the puppetmaster not puppetd
[2009/04/22 13:32:58] <Volcane> ah, not what you said :)
[2009/04/22 13:33:08] <Volcane> anyway, my masters run as puppet user by default
[2009/04/22 13:34:26] <cwebber> i should have been more specifitc
[2009/04/22 13:35:36] <cwebber> when i run puppetca --list as puppet it creates a .puppet dir in the homedir of the puppet user
[2009/04/22 13:36:57] <Volcane> ah
[2009/04/22 13:37:01] <Volcane> --config=/etc/puppet/puppet.conf
[2009/04/22 13:38:19] <cwebber> that is wierd
[2009/04/22 13:38:46] <Volcane> yeah i dont get why it would do it, but once your puppet.conf in /etc sets things like vardir its all good
[2009/04/22 13:38:51] <specsmu> oops
[2009/04/22 13:38:52] @ philip joined channel #puppet
[2009/04/22 13:38:52] @ specsmu left channel #puppet ()
[2009/04/22 13:39:40] @ cw_ joined channel #puppet
[2009/04/22 13:39:50] <cwebber> but it is odd that it doesnt refer to /etc/puppet/puppet.conf by default I dont know
[2009/04/22 13:40:05] <Volcane> yeah
[2009/04/22 13:40:20] <beloth> hello folks i am trying to write a manifest for install postgresql but i cant seem to figure out what the problem is http://rafb.net/p/RJc8kK76.html has the config and the error
[2009/04/22 13:41:19] <beloth> it doesn't install the postgresql-server package
[2009/04/22 13:41:22] <Volcane> cwebber: anyway, it is documented as doing that in --genconfig's output but why i cant say, doesnt seem useful to me at all
[2009/04/22 13:42:09] <Volcane> beloth: your source => parameter is wrong
[2009/04/22 13:42:21] <chu> beloth: change source => "postgresql/files/var/lib/pgsql/.bash_profile" to source => "puppet://postgresql/files/var/lib/pgsql/.bash_profile"
[2009/04/22 13:42:21] <Volcane> line 31
[2009/04/22 13:42:22] <cwebber> Volcane: thanks. It is odd but i am sure that i can fix it with some env variables
[2009/04/22 13:42:46] <beloth> Volcane: oh ok. thanks
[2009/04/22 13:42:47] <cwebber> s/env variables/aliases in .profie/
[2009/04/22 13:42:49] <beloth> chu: thanks
[2009/04/22 13:43:50] @ claymation joined channel #puppet
[2009/04/22 13:48:32] @ Quit: lak:
[2009/04/22 13:48:38] @ cirquitz joined channel #puppet
[2009/04/22 13:49:23] @ Quit: MattyM: "ta ta"
[2009/04/22 13:52:19] <beloth> hello folks, thanks for the help earlier i am stuck with the new errror http://rafb.net/p/uihMOu84.html. i was able to start the service manually "service postgresql start" works when run from the command line. i am not sure why it is trying to resolve postgresql , http://rafb.net/p/RJc8kK76.html is whre the config is and i fixed the url error thnak you
[2009/04/22 13:54:05] @ Quit: sunoano: Read error: 104 (Connection reset by peer)
[2009/04/22 13:54:05] <Volcane> surely the 2nd paste is not the config thats producing that error?
[2009/04/22 13:55:00] <Volcane> please see the documentaiton for file here http://reductivelabs.com/trac/puppet/wiki/TypeReference#file look how source => should work
[2009/04/22 13:56:37] @ sunoano joined channel #puppet
[2009/04/22 13:59:42] @ Quit: vinci:
[2009/04/22 13:59:52] @ vinci joined channel #puppet
[2009/04/22 13:59:55] @ Quit: vinci: Remote closed the connection
[2009/04/22 14:00:13] @ vinci joined channel #puppet
[2009/04/22 14:00:50] @ cw_ is now known as cw|away
[2009/04/22 14:02:16] @ Quit: the_lalelu: Read error: 104 (Connection reset by peer)
[2009/04/22 14:04:44] @ alfism joined channel #puppet
[2009/04/22 14:05:52] @ Quit: benp-: "foo"
[2009/04/22 14:08:40] @ doo joined channel #puppet
[2009/04/22 14:09:33] @ voixd joined channel #puppet
[2009/04/22 14:13:12] <masterzen> lak: regarding #1875, I just pushed the latest commit that fixes the catalog issues you had,
[2009/04/22 14:13:13] <gepetto> masterzen: lak: #1875 is http://projects.reductivelabs.com/issues/show/1875 "Puppet - Feature #1875: A REST Authorization file is needed - ReductiveLabs.com"
[2009/04/22 14:13:52] <masterzen> lak: I mean, you and I had. If you want to throw an eye... or if you want me to repost the patches, let me know
[2009/04/22 14:20:15] @ Quit: jmarki: Remote closed the connection
[2009/04/22 14:20:28] @ johnw joined channel #puppet
[2009/04/22 14:21:02] @ pheezy joined channel #puppet
[2009/04/22 14:24:03] @ alban2 joined channel #puppet
[2009/04/22 14:26:19] @ Quit: cirquitz: Read error: 113 (No route to host)
[2009/04/22 14:32:10] @ Quit: pheezy: Remote closed the connection
[2009/04/22 14:32:42] @ giles_ joined channel #puppet
[2009/04/22 14:32:48] <giles_> elo puppetiers
[2009/04/22 14:33:45] <giles_> i'm struggling a bit with a host where I create a docroot in a apache2 vhost define and in another class
[2009/04/22 14:34:03] <giles_> i thought if I gave the file resources two different ids it would work
[2009/04/22 14:34:17] <giles_> anyway round this?
[2009/04/22 14:34:25] <giles_> hrm mebe that @ thing
[2009/04/22 14:34:35] <Volcane> just dont try to make it twice?
[2009/04/22 14:36:49] <giles_> heh
[2009/04/22 14:37:04] <Volcane> seriously, if you find yourself trying to manage the same thing in more than one place you shoulkd refactor
[2009/04/22 14:37:18] <giles_> ya you may well be right
[2009/04/22 14:37:39] <Volcane> like, the define that makes the vhost should do the docroot, period
[2009/04/22 14:37:42] <Volcane> everything else should depend on it
[2009/04/22 14:37:48] <masterzen> Volcane's right
[2009/04/22 14:38:07] <giles_> elo there zen i read your blog posts the other day
[2009/04/22 14:38:37] <giles_> k i'll have a look at what I can do.
[2009/04/22 14:39:06] @ Quit: markl: "Lost terminal"
[2009/04/22 14:40:23] @ markl joined channel #puppet
[2009/04/22 14:42:07] <giles_> rite you were exactly right..
[2009/04/22 14:42:13] @ Quit: ethan_rowe: Read error: 110 (Connection timed out)
[2009/04/22 14:42:22] <Volcane> the @ thing makes sense for users, sometimes for packages and very few other things
[2009/04/22 14:42:23] @ koojoo joined channel #puppet
[2009/04/22 14:42:23] <giles_> hopefully i'll be popping up to london on monday to see the big kaino
[2009/04/22 14:42:36] <giles_> might bump into a few of you.
[2009/04/22 14:42:45] <Volcane> yeah i should be there hopefully
[2009/04/22 14:43:00] <giles_> coolio i definitely owe you a pint heh
[2009/04/22 14:43:06] <Volcane> :)
[2009/04/22 14:43:13] @ Quit: giles_: "ChatZilla 0.9.84 [Firefox 3.0.8/2009032609]"
[2009/04/22 14:44:59] @ Quit: beloth: Read error: 110 (Connection timed out)
[2009/04/22 14:47:35] @ kolla joined channel #puppet
[2009/04/22 14:54:06] @ pheezy joined channel #puppet
[2009/04/22 15:00:18] @ randybias joined channel #puppet
[2009/04/22 15:01:44] <rgsteele||work> Mm... is there a list anywhere of valid characters for $title ?
[2009/04/22 15:02:12] <rgsteele||work> Ah, nevermind.
[2009/04/22 15:05:44] @ Quit: bolt: "telnet irc.freenode.net 6667"
[2009/04/22 15:06:27] @ fbe joined channel #puppet
[2009/04/22 15:06:45] @ Quit: Bass10: Connection reset by peer
[2009/04/22 15:07:51] @ ethan_rowe joined channel #puppet
[2009/04/22 15:08:27] @ Quit: cwebber:
[2009/04/22 15:08:51] @ cwebber joined channel #puppet
[2009/04/22 15:12:53] @ Quit: edwardam|meeting: Remote closed the connection
[2009/04/22 15:13:20] @ edwardam joined channel #puppet
[2009/04/22 15:16:44] @ prgmrcom joined channel #puppet
[2009/04/22 15:24:37] @ ezmob is now known as ezmob|away
[2009/04/22 15:30:24] @ Quit: punkcut: Nick collision from services.
[2009/04/22 15:30:25] @ punkcut1 joined channel #puppet
[2009/04/22 15:30:31] @ punkcut1 is now known as punkcut
[2009/04/22 15:31:31] @ Quit: edwardam: Connection timed out
[2009/04/22 15:42:31] @ Quit: bobbyz: "Leaving"
[2009/04/22 16:01:53] @ Quit: d3vilb0x:
[2009/04/22 16:02:33] @ sdodson joined channel #puppet
[2009/04/22 16:03:16] @ lak joined channel #puppet
[2009/04/22 16:07:25] @ Quit: pleemans: Read error: 110 (Connection timed out)
[2009/04/22 16:11:43] @ ezmob|away is now known as ezmob
[2009/04/22 16:12:58] @ Steve[cug] left channel #puppet ()
[2009/04/22 16:13:23] @ Quit: pheezy: Remote closed the connection
[2009/04/22 16:18:43] @ rdaugherty1 joined channel #puppet
[2009/04/22 16:19:50] <grim_radical_> are there any 0.25.x rpms around anywhere? anybody have some built, or an SRPM I can use on RHEL[45] systems?
[2009/04/22 16:19:59] @ pheezy joined channel #puppet
[2009/04/22 16:21:43] @ briandquinn joined channel #puppet
[2009/04/22 16:23:40] @ randybias is now known as randybias|away
[2009/04/22 16:24:53] @ Quit: riddley: Read error: 104 (Connection reset by peer)
[2009/04/22 16:26:05] @ riddley joined channel #puppet
[2009/04/22 16:27:15] <masterzen> grim_radical_: I'm not aware of any, but it is usually easy to package puppet (at least on debian).
[2009/04/22 16:27:47] <grim_radical_> masterzen: yeah, I was hoping to avoid having to craft a spec file, though. :P
[2009/04/22 16:28:23] <grim_radical_> are there any new executables in 0.25 compared to 0.24.x?
[2009/04/22 16:28:34] <grim_radical_> I suppose there's puppetq
[2009/04/22 16:29:55] <masterzen> there is already a spec file in the source dist. I think you only have some minor edits to make it work for 0.25
[2009/04/22 16:30:09] <grim_radical_> ah, cool. I'll check it out, thx
[2009/04/22 16:30:39] <masterzen> I don't know if puppetq has been merged to master yet. Regarding the spec, it is in conf/redhat if I remember correctly.
[2009/04/22 16:30:52] <grim_radical_> cool
[2009/04/22 16:31:56] <grim_radical_> Luke just merged some of my performance improvement patches into master, so I figured now would be a good time to try out 0.25
[2009/04/22 16:32:43] <phantez> when does the 0.25 should be pop out ?
[2009/04/22 16:32:46] <masterzen> it seems puppetqd has been merged today.
[2009/04/22 16:33:06] <grim_radical_> masterzen: well, that's a trivial modification to the spec file
[2009/04/22 16:33:16] <masterzen> phantez: I think luke was aiming for a rc1 this week or the next week.
[2009/04/22 16:33:29] <phantez> should be nice
[2009/04/22 16:34:06] @ bobbyz joined channel #puppet
[2009/04/22 16:34:59] @ bolt joined channel #puppet
[2009/04/22 16:36:35] <phantez> I wonder why long process such as package installation are not done all within the same package manager call (for the package that does not require anything) ?
[2009/04/22 16:37:04] <masterzen> lak: sorry to disturb you :-) I pushed a couple of hours ago a "fix" for the issue you and I got about the "can't parse...". Do you want me to actually repost some if not all the patches to the list?
[2009/04/22 16:37:05] <phantez> It could dramatically improve the performance of the puppetd execution
[2009/04/22 16:37:38] <lak> masterzen: puppetqd has been merged into master
[2009/04/22 16:38:00] <lak> masterzen: i'm planning on checking your code as soon as i can, some time in the next hour?
[2009/04/22 16:38:23] <masterzen> lak: take your time :-)
[2009/04/22 16:38:31] <lak> and yeah, we're cutting an rc1 as soon as the auth file and rack support are merge
[2009/04/22 16:38:33] <lak> d
[2009/04/22 16:38:34] <lak> even
[2009/04/22 16:38:52] @ bobbyz left channel #puppet ("Leaving")
[2009/04/22 16:39:16] <masterzen> I'll try to do some general QA on master if I have some free time this week-end.
[2009/04/22 16:39:42] <masterzen> which I might not have, since I'm on duty at the Paris Gencon...
[2009/04/22 16:40:06] <Volcane> Gencon?
[2009/04/22 16:40:13] <phantez> Gencon ? ^^
[2009/04/22 16:41:57] <masterzen> A boardgame convention...
[2009/04/22 16:42:12] <Volcane> ah :)
[2009/04/22 16:42:14] <grim_radical_> sweet
[2009/04/22 16:42:30] <phantez> sounds nice
[2009/04/22 16:42:32] <Volcane> and here i was thinking there was some interesting tech con i could pop over the pond for :(
[2009/04/22 16:42:50] <phantez> Volcane: live in Paris ?
[2009/04/22 16:42:56] <Volcane> london
[2009/04/22 16:43:06] <phantez> I see
[2009/04/22 16:43:10] <phantez> Paris for me =)
[2009/04/22 16:43:14] <Volcane> ah :)
[2009/04/22 16:43:18] <masterzen> you know boardgamers are geek too :-)
[2009/04/22 16:43:25] <Volcane> quicker from here to paris than from here to the other side of london :P
[2009/04/22 16:44:22] @ Quit: dsch04: Remote closed the connection
[2009/04/22 16:44:40] <phantez> what do you think about factorizing call to package manager to improve performance ?
[2009/04/22 16:45:40] <masterzen> phantez: I don't think you'll gain anything :-(
[2009/04/22 16:45:43] <grim_radical_> phantez: that may be tricky; certain package managers subtly change their behaviour when called with multiple packages instead of single-file (like yum)
[2009/04/22 16:45:56] @ mikepea joined channel #puppet
[2009/04/22 16:46:04] <masterzen> phantez: and you'll loose ordering
[2009/04/22 16:46:09] <grim_radical_> yup
[2009/04/22 16:46:15] <phantez> not necessarly
[2009/04/22 16:46:31] @ joe-mac left channel #puppet ()
[2009/04/22 16:46:39] @ bla-bla joined channel #puppet
[2009/04/22 16:46:40] <phantez> you can push into a list package until order is needed and then you flush it to the package manager
[2009/04/22 16:46:45] <masterzen> what I'd really like is a multi-threaded puppetd, which could walk the dependency subgraphs in parallel.
[2009/04/22 16:47:02] <phantez> package manager won't be able to handle this ^^
[2009/04/22 16:47:02] <Volcane> masterzen: 80% cpu usage isnt enough for you? :)
[2009/04/22 16:47:05] <grim_radical_> masterzen: yeah, I think that would be sweet
[2009/04/22 16:47:17] <grim_radical_> Volcane: not if you've got 8 cpu's lying around. :P
[2009/04/22 16:47:20] <phantez> masterzen: but I think this is a good idea
[2009/04/22 16:47:22] <masterzen> Volcane: we all have multicores, isn't it?
[2009/04/22 16:47:29] <phantez> yep
[2009/04/22 16:47:33] <phantez> 16 =)
[2009/04/22 16:47:45] <Volcane> soon i am sure there'll be more VMs running puppet (badly)
[2009/04/22 16:48:17] <Volcane> as it is even on my dual quad boxes puppet runs are clearly visible on perf graphs
[2009/04/22 16:48:18] <bla-bla> hi..i'm tryiing to write a puppet script for installing s3sync ..could someone help me with it...its the first script i'm writing using this example as the baseling -
[2009/04/22 16:48:19] <bla-bla> http://reductivelabs.com/trac/puppet/wiki/Recipes/OpenNTPD
[2009/04/22 16:48:49] <masterzen> Volcane: master or client?
[2009/04/22 16:48:53] <Volcane> clients
[2009/04/22 16:49:04] <masterzen> Volcane: lots of package manager calls, or recursive file?
[2009/04/22 16:49:11] <Volcane> nope
[2009/04/22 16:49:19] <Volcane> been using puppet long enough to avoid those :P
[2009/04/22 16:49:24] <masterzen> Volcane: then what is it doing?
[2009/04/22 16:49:31] <masterzen> :-)
[2009/04/22 16:49:38] <Volcane> yeah who knows
[2009/04/22 16:49:39] @ Quit: briandquinn:
[2009/04/22 16:49:48] <Volcane> the reports have improved since i last looked
[2009/04/22 16:49:50] <grim_radical_> masterzen: I can send you a KCachegrind file with my profiling data, if you want to see where my CPU time goes
[2009/04/22 16:49:54] <Volcane> will have another look
[2009/04/22 16:50:03] <grim_radical_> but yeah, *lots* of CPI
[2009/04/22 16:50:07] <grim_radical_> CPU, I mean. :P
[2009/04/22 16:50:19] <masterzen> grim_radical_: I know where it was, you seem to have an insane number of resources :-)
[2009/04/22 16:50:40] <grim_radical_> yup. :P
[2009/04/22 16:50:53] <grim_radical_> file manipulation is pretty slow, though
[2009/04/22 16:50:58] <grim_radical_> that's no CPU, but it adds to wall-clock time
[2009/04/22 16:51:00] <Volcane> i do have machines though that use snippets very heavily, needless to say those are particularly bad :)
[2009/04/22 16:51:17] <masterzen> well, file can use CPU: checksuming and stating
[2009/04/22 16:51:25] <grim_radical_> true
[2009/04/22 16:51:38] <masterzen> combine this with deep recursion...
[2009/04/22 16:51:42] <grim_radical_> Luke has a patch from me that increases the block size used during checksumming
[2009/04/22 16:51:52] <masterzen> then your memory usage explodes, and you swap
[2009/04/22 16:51:56] <grim_radical_> I saw about a 10% improvement by moving from 512 bytes to 4k
[2009/04/22 16:52:16] <grim_radical_> (which is the block size of my filesystem, so reading 512 bytes at a time doesn't really make much sense)
[2009/04/22 16:52:33] <Volcane> my runs are quick, like 20 seconds, but they do use a very noticable amount of cpu
[2009/04/22 16:52:40] <Volcane> machines do tend to run pretty loaded though
[2009/04/22 16:52:43] <masterzen> Yes I saw the ticket, but I was sceptic about it. reading 512 byes should trigger readahead, so reading 4096, so it shouldn't change anything except you have to checksum 8 times more data.
[2009/04/22 16:52:58] <Volcane> java machines running a pretty heavy chat platform with 1 to 2k people per server
[2009/04/22 16:53:27] <lak> grim_radical_: i couldn't get kcachegrind installed on my debian box, and it core dumps on my mac
[2009/04/22 16:53:27] <lak> yay
[2009/04/22 16:53:33] <grim_radical_> masterzen: well, my testing is primarly on vms so it's possible that slow interaction with disk image files magnify the problem
[2009/04/22 16:53:49] <masterzen> Volcane: I tend to have longer runs, like 120s, using CPU too. Too much package, and so.
[2009/04/22 16:54:22] <Volcane> yeah i used to have dire problems with package, set up local yum mirrors, disabled things like rpmforge etc
[2009/04/22 16:54:25] <Volcane> no more, all happy
[2009/04/22 16:54:34] <Volcane> yumhelper--
[2009/04/22 16:54:49] @ Quit: lak:
[2009/04/22 16:54:54] <bla-bla> any help please?
[2009/04/22 16:55:15] <masterzen> bla-bla: what's your issue?
[2009/04/22 16:55:37] <Volcane> bla-bla: try to be specific with your problem
[2009/04/22 16:55:48] <grim_radical_> masterzen: it's also possible that by increasing the buffer size, you have 8x fewer calls to Digest::MD5#<<
[2009/04/22 16:55:52] <bla-bla> .i'm tryiing to write a puppet script for installing s3sync ..could someone help me with it...its the first script i'm writing using this example as the baseline -
[2009/04/22 16:56:00] <masterzen> grim_radical_: if you have your kcachegrind files after your changes in simple_Graph I'd like to see them.
[2009/04/22 16:56:12] <bla-bla> .i'm tryiing to write a puppet script for installing s3sync ..could someone help me with it...its the first script i'm writing using this example as the baseling -
[2009/04/22 16:56:12] <phantez> I find yum extremly long to start, that s why I thought that it would be nice to gather calls
[2009/04/22 16:56:15] <grim_radical_> yup...I'll send one your way now
[2009/04/22 16:56:19] <Volcane> bla-bla: thats not specific about what your problem is...
[2009/04/22 16:56:28] @ Quit: pheezy: "Leaving..."
[2009/04/22 16:56:31] <Volcane> phantez: yum's much more bearable since rh 5.3 thankfully!
[2009/04/22 16:56:33] <masterzen> phantez: that's the same for dpkg
[2009/04/22 16:56:43] <phantez> masterzen: true
[2009/04/22 16:56:47] <bla-bla> On one of the lines it says -
[2009/04/22 16:56:51] <bla-bla> exec { "tar xzf openntpd-$version.tar.gz":
[2009/04/22 16:56:52] <bla-bla> cwd => "/usr/local/src",
[2009/04/22 16:56:53] <bla-bla> creates => "/usr/local/src/openntpd-$version",
[2009/04/22 16:56:55] <bla-bla> alias => "untar-openntpd-source",
[2009/04/22 16:56:57] <bla-bla> subscribe => File["openntpd-source-tgz"]
[2009/04/22 16:56:58] <bla-bla> }
[2009/04/22 16:56:59] <Volcane> blah: use pastie.org polease
[2009/04/22 16:57:15] <masterzen> bla-bla: isn't there a package for your app?
[2009/04/22 16:57:16] <phantez> I am working for a company and we did some benchmark and realize that with CFengine the fact that they call only one time the package manager improve dramatically the performance
[2009/04/22 16:57:57] <bla-bla> which means to me if you untar the file - openntpd-$version.tar.gz ; it creates the file - creates => "/usr/local/src/openntpd-$version"
[2009/04/22 16:58:12] <bla-bla> no there is no debian packake fro my s3sync
[2009/04/22 16:58:16] <Volcane> bla-bla: correct
[2009/04/22 16:58:43] <bla-bla> now next i would like to exec - sh ssh.certs.shar
[2009/04/22 16:58:58] <phantez> But I'm working on CentOS 5.2 I should upgrade to CentOS 5.3
[2009/04/22 16:59:00] <Volcane> bla-bla: I'd suggest building a deb once and deploying the deb
[2009/04/22 16:59:01] <phantez> maybe
[2009/04/22 16:59:06] <bla-bla> which would create 18 cert files in the same directory
[2009/04/22 16:59:20] <Volcane> phantez: you should anyway, zero more security updates ever for you on centos 5.2, already you're in pretty dire shape
[2009/04/22 16:59:24] @ kambiz is now known as kambiz_away
[2009/04/22 16:59:27] <masterzen> phantez: yes, that's true. Unfortunately in the current state, I don't see how it could be possible.
[2009/04/22 16:59:45] <phantez> It's a dev cluster =)
[2009/04/22 16:59:47] <bla-bla> so in the creates => {} do i need to mention all the 18 different files?
[2009/04/22 16:59:55] <Volcane> bla-bla: build a package on a box and disrtibute the package, or build a tar file and distribute the tar file
[2009/04/22 17:00:04] <Volcane> bla-bla: puppet is not a replacement for make && make install
[2009/04/22 17:00:09] @ Bass10 joined channel #puppet
[2009/04/22 17:00:35] <bla-bla> i do not have any make or make install
[2009/04/22 17:00:44] <bla-bla> all i need to do is untar a s3sync.tar file
[2009/04/22 17:00:51] <masterzen> grim_radical_: I can't seem to get your file, can you send it to me by e-mail. You can grab my e-mail from the puppet-dev list archives.
[2009/04/22 17:01:05] <grim_radical_> masterzen: no problem. I blame NAT. :P
[2009/04/22 17:01:07] <bla-bla> then execute a shell script ssl.certs.shar which would download some certificate files
[2009/04/22 17:01:34] @ Quit: Bass10: SendQ exceeded
[2009/04/22 17:01:36] <masterzen> grim_radical_: my home firewall is quite tight.
[2009/04/22 17:01:37] <bla-bla> and then i'm done having a s3sync folder for backing up files to s3
[2009/04/22 17:02:05] @ Bass10 joined channel #puppet
[2009/04/22 17:02:34] <masterzen> bla-bla: do the exec like you pasted, this will do the tar. Then create a new exec resouce that does the sh you need. Use require to force puppet to exec the second one after the first one.
[2009/04/22 17:02:55] <phantez> I tried to use ruby 1.9 but I guess nobody as ever succeed to make it work, right ?
[2009/04/22 17:03:03] <phantez> s/as/has
[2009/04/22 17:03:19] <masterzen> phantez: there is a patch for 1.9 compatibility. I think it is in master so ready for 0.25
[2009/04/22 17:03:53] <masterzen> phantez: on my side I tried Jruby, with absolutely no success. I filed a bug about 6 months ago, but nobody cared....
[2009/04/22 17:03:56] <bla-bla> masterzen: the question is..in my 2nd exec...for the shell scripp...do I neeed to check for all the 18files that get created by executing the shell script?
[2009/04/22 17:04:05] <phantez> I tried last week with 0.25
[2009/04/22 17:04:07] <phantez> and no :(
[2009/04/22 17:04:16] <phantez> it's not working I send a message on the ml
[2009/04/22 17:04:23] <phantez> with the outputs
[2009/04/22 17:04:51] <masterzen> bla-bla: no, the "creates" directive just tells puppet to run the exec if this file doesn't exist. You just need one file.
[2009/04/22 17:04:57] <masterzen> phantez: ok.
[2009/04/22 17:05:04] <bla-bla> oh ok got it
[2009/04/22 17:05:44] <masterzen> phantez: I was told by someone here (can't remember who), that the MBARI patches to 1.8.7 could give you an extra 20-30% performance, but I still didn't had time to test that.
[2009/04/22 17:06:05] <phantez> I am paid for test that kind of thing =)
[2009/04/22 17:06:12] <phantez> I will try next week I think
[2009/04/22 17:06:35] <masterzen> phantez: I'd be interested in your result. Please post your findings to the list.
[2009/04/22 17:07:18] <phantez> by the way, I am working (I am an intern) for a company that have lot of High performance clusters
[2009/04/22 17:07:41] <phantez> French guys here might know, it's named the CEA
[2009/04/22 17:08:06] <phantez> our computers are in the TOP 500
[2009/04/22 17:08:16] <masterzen> you bet I know :-)
[2009/04/22 17:08:45] <masterzen> I had a friend you did her internship there, ok that was 15 years ago :-)
[2009/04/22 17:10:14] <bla-bla> masterzen: does this look correct? -
[2009/04/22 17:10:20] <bla-bla> class s3sync {
[2009/04/22 17:10:21] <bla-bla> file{"/etc/puppet/files": ensure=diretcory}
[2009/04/22 17:10:22] <bla-bla> file{"/etc/puppet/files/s2sync.tar.gz":
[2009/04/22 17:10:24] <bla-bla> alias=>"s3sync_tar_gz",
[2009/04/22 17:10:25] <bla-bla> before=>Exec["untar_s3sync"]
[2009/04/22 17:10:27] <bla-bla> }
[2009/04/22 17:10:29] <bla-bla> exec{"tar xzf s3sync.tar.gz":
[2009/04/22 17:10:30] <bla-bla> cwd => "/etc/puppet/files",
[2009/04/22 17:10:31] <bla-bla> alias => "untar_s2sync"]
[2009/04/22 17:10:33] <bla-bla> }
[2009/04/22 17:10:40] @ doo left channel #puppet ()
[2009/04/22 17:10:49] <Volcane> bla-bla: again, please use pastie.org and do not paste here
[2009/04/22 17:11:55] <bla-bla> Volcane: sorry abt that...i do not know what pastie.org was abt...and didnot want to login to it from work computer the 1st time you typed it :)
[2009/04/22 17:12:14] <Volcane> ah :)
[2009/04/22 17:12:58] @ Quit: rgsteele||work: Remote closed the connection
[2009/04/22 17:14:50] @ edwardam joined channel #puppet
[2009/04/22 17:31:30] @ rdaugherty joined channel #puppet
[2009/04/22 17:31:30] @ Quit: rdaugherty1: Read error: 104 (Connection reset by peer)
[2009/04/22 17:38:38] @ madrescher joined channel #puppet
[2009/04/22 17:39:34] @ StyleWarz joined channel #puppet
[2009/04/22 17:39:58] <StyleWarz> heyho, is there any plan when issue 2125 will be fixed?
[2009/04/22 17:40:09] <StyleWarz> atm it's set to unplanned which really bugs me ;)
[2009/04/22 17:41:06] @ Quit: mikepea:
[2009/04/22 17:42:20] @ masterzen left channel #puppet ("Leaving")
[2009/04/22 17:46:35] @ Quit: erm_: Read error: 110 (Connection timed out)
[2009/04/22 17:48:12] @ ezmob is now known as ezmob|away
[2009/04/22 17:50:29] @ ezmob|away is now known as ezmob
[2009/04/22 17:51:40] @ Quit: mvn071: "Leaving"
[2009/04/22 17:51:48] @ rdaugherty1 joined channel #puppet
[2009/04/22 17:51:53] @ Quit: rdaugherty: "Leaving."
[2009/04/22 17:54:04] @ chip__ joined channel #puppet
[2009/04/22 17:56:19] @ doo joined channel #puppet
[2009/04/22 18:00:07] @ devicenull joined channel #puppet
[2009/04/22 18:00:15] @ Quit: bla-bla: "ChatZilla 0.9.84 [Firefox 3.0.8/2009032609]"
[2009/04/22 18:00:18] @ Quit: devicenull: Read error: 54 (Connection reset by peer)
[2009/04/22 18:00:37] @ devicenull joined channel #puppet
[2009/04/22 18:01:01] @ mikepea joined channel #puppet
[2009/04/22 18:01:24] @ rdaugherty joined channel #puppet
[2009/04/22 18:01:27] @ Quit: rdaugherty1: "Leaving."
[2009/04/22 18:02:15] @ Quit: aymerick: "kit mais sage"
[2009/04/22 18:02:17] @ Djelibeybi joined channel #puppet
[2009/04/22 18:05:29] @ randybias|away is now known as randybias
[2009/04/22 18:08:35] <jrojas> hm
[2009/04/22 18:09:48] @ Quit: atlan_: Read error: 110 (Connection timed out)
[2009/04/22 18:14:10] <StyleWarz> i already posted an update
[2009/04/22 18:18:01] @ bla-bla joined channel #puppet
[2009/04/22 18:18:17] @ d3vilb0x joined channel #puppet
[2009/04/22 18:18:20] <bla-bla> how do you update a node in puppet?
[2009/04/22 18:18:38] <jrojas> bla-bla: change the manifests
[2009/04/22 18:19:13] <bla-bla> i did change the manifest
[2009/04/22 18:19:20] <bla-bla> how do i force it to the node?
[2009/04/22 18:19:31] <jrojas> puppetrun
[2009/04/22 18:19:43] <Volcane> bla-bla: http://www.devco.net/pubwiki/Puppet/GettingStarted thats a good getting started guide that should answer a lot of your questions
[2009/04/22 18:21:10] <bla-bla> most of the time it points me to IRC
[2009/04/22 18:21:26] <bla-bla> jrojas: puppet run on the controller -
[2009/04/22 18:21:34] <bla-bla> jrojas: sudo puppetrun Failed to load ruby LDAP library. LDAP functionality will not be available Finished
[2009/04/22 18:21:41] <Volcane> bla-bla: you didnt even read the link i posted.
[2009/04/22 18:22:17] <jrojas> Volcane: thats cause no one pays attention to you :P
[2009/04/22 18:22:25] <Volcane> :)
[2009/04/22 18:24:26] <bla-bla> ok...thats too much to read in one day...i wanted to get this done today...when I ran the script i was struggling with..it updated the controller instead the node :)
[2009/04/22 18:24:36] <bla-bla> i'll take a break and get back to this tomorrow
[2009/04/22 18:25:11] <bla-bla> thanks for the link...if i read use IRC help on that doc once again I should be here without even looking at that :)
[2009/04/22 18:25:50] <Volcane> if you read the doc and demonstrate you got the basics down
[2009/04/22 18:25:52] <Volcane> we'll gladly help
[2009/04/22 18:26:03] <jrojas> or you could just pay me in beer
[2009/04/22 18:26:07] <jrojas> and i will help
[2009/04/22 18:26:24] <Volcane> bla-bla: there's also a good book you can buy
[2009/04/22 18:26:39] <bla-bla> ok...pulling strings with puppet?
[2009/04/22 18:26:43] <Volcane> yes
[2009/04/22 18:26:56] <bla-bla> i used that to do the installation
[2009/04/22 18:27:44] <bla-bla> puppet infrastructure was build by someone else in my company...and i'm maintaining it now...and hence i'm lost since i'm looking at someones elses code
[2009/04/22 18:29:05] <bla-bla> i also wanted to work with someone by name Andrew Shafer to get this done for our company
[2009/04/22 18:29:12] @ Quit: koojoo: Read error: 113 (No route to host)
[2009/04/22 18:29:54] <bla-bla> but our company is not planning for ubuntu landscape , hyperix or rightscale
[2009/04/22 18:30:03] <bla-bla> i'm getting comfy with puppet now
[2009/04/22 18:30:34] <bla-bla> and i do not want to throw it away as of now...other tools are really easy to work with
[2009/04/22 18:30:43] @ Quit: edwardam: "So much for a vacation...."
[2009/04/22 18:33:15] @ Quit: bla-bla: "http://www.mibbit.com ajax IRC Client"
[2009/04/22 18:45:27] @ Quit: rsquared: "Leaving"
[2009/04/22 18:49:23] @ mib_yvpl6d joined channel #puppet
[2009/04/22 18:49:32] <mib_yvpl6d> Is Puppet still written in Java?
[2009/04/22 18:49:36] @ mib_ky1eev joined channel #puppet
[2009/04/22 18:50:00] @ Quit: randybias: "Leaving..."
[2009/04/22 18:50:08] @ Quit: mib_ky1eev: Client Quit
[2009/04/22 18:50:25] <mib_yvpl6d> I know it once was...
[2009/04/22 18:50:48] <pietro> really?
[2009/04/22 18:51:28] <jrojas> mib_yvpl6d: that sounds strange..
[2009/04/22 18:51:37] <mib_yvpl6d> :-(
[2009/04/22 18:51:42] <mib_yvpl6d> Guess that means no
[2009/04/22 18:51:49] <mib_yvpl6d> Unless there was a different 'Puppet'
[2009/04/22 18:51:53] <grim_radical_> mib_yvpl6d: it isn't, and I don't believe it ever was
[2009/04/22 18:52:14] <Volcane> ditto
[2009/04/22 18:52:29] <pietro> ruby for god's sake
[2009/04/22 18:53:01] <jrojas> mib_yvpl6d: depends on what this java puppet did
[2009/04/22 18:53:16] <chu> http://github.com/camptocamp/puppet-java/tree/master
[2009/04/22 18:53:29] <mib_yvpl6d> Puppet: A window manager written in Java, which has no window decoration and is keyboard driven. It includes a Java library, called Escher, for making X11 calls.
[2009/04/22 18:53:45] <jrojas> yeah wrong puppet :)
[2009/04/22 18:53:46] <chu> lolz a window manager written in java
[2009/04/22 18:53:46] <mib_yvpl6d> Ah
[2009/04/22 18:53:47] <chu> speeeeeedy
[2009/04/22 18:53:49] <mib_yvpl6d> Chu Thanks
[2009/04/22 18:57:15] @ doo left channel #puppet ()
[2009/04/22 18:58:44] @ bobbyz joined channel #puppet
[2009/04/22 18:59:30] @ mfoster left channel #puppet ()
[2009/04/22 19:05:51] @ Quit: ghenry: Remote closed the connection
[2009/04/22 19:08:08] @ lak joined channel #puppet
[2009/04/22 19:10:48] * Volcane tries to unravel puppetdoc to try and code something to produce a list of all known classes
[2009/04/22 19:11:46] <lak> Volcane: mainly, you need to make a Reference instance
[2009/04/22 19:11:51] <lak> in lib/puppet/reference
[2009/04/22 19:11:56] <lak> and it should provide RST text
[2009/04/22 19:12:02] <lak> hrm
[2009/04/22 19:12:08] <lak> you probably mean the doc collection stuff that brice did, tho
[2009/04/22 19:12:23] <Volcane> ah? thought it was masterzen
[2009/04/22 19:12:29] <Volcane> eitherway, just need a long list of all known classes
[2009/04/22 19:12:33] <Volcane> no docs or anything
[2009/04/22 19:14:50] @ edwardam joined channel #puppet
[2009/04/22 19:16:26] @ Quit: mib_yvpl6d: "http://www.mibbit.com ajax IRC Client"
[2009/04/22 19:17:32] @ Quit: mikepea:
[2009/04/22 19:20:28] <Volcane> i want to use it to try and populate a list of known classes in a classifier
[2009/04/22 19:22:36] <lak> Volcane: brice == masterzen
[2009/04/22 19:22:42] <Volcane> ah :)
[2009/04/22 19:22:49] <sc0ttB> any docs/pointers on global vars in puppet configs?
[2009/04/22 19:23:01] <sc0ttB> mine isn't being expanded for some reason
[2009/04/22 19:23:02] <Volcane> I'll ask him for help
[2009/04/22 19:23:17] * sc0ttB stabs self
[2009/04/22 19:24:44] <sc0ttB> file { $foo_root: ensure=>directory } comes up as a dup definition of file { $bar_root: ensure=>directory }
[2009/04/22 19:25:06] <Volcane> and whats in $foo_root and $bar_root?
[2009/04/22 19:25:45] <sc0ttB> $foo_root = "/path/to/foo" and $bar_root = "/path/to/bar" in the top of my init.pp
[2009/04/22 19:26:00] <sc0ttB> outside of the class {} def
[2009/04/22 19:26:01] <Volcane> show the actual error mesage?
[2009/04/22 19:26:50] <sc0ttB> Could not retrieve catalog: Puppet::Parser::AST::Resource failed with error ArgumentError: Duplicate definition: File[] is already defined in file /etc/puppet/modules/subversion/manifests/init.pp at line 34; cannot redefine at /etc/puppet/modules/subversion/manifests/init.pp:64 on node node.local
[2009/04/22 19:27:13] <Volcane> empty vars then
[2009/04/22 19:27:22] <Volcane> show your manifest and where you set them?
[2009/04/22 19:28:58] <lak> sc0ttB: if you've got code outside of a class definition, then you should manually import that file, rather than letting puppet autoload it for you
[2009/04/22 19:29:20] <lak> the behaviour of autoloaded code outside of classes is broken right now
[2009/04/22 19:31:38] <sc0ttB> this is basically what I have: http://pastie.org/455238
[2009/04/22 19:31:55] <sc0ttB> in the same manifest file
[2009/04/22 19:32:28] @ Quit: madrescher: Read error: 110 (Connection timed out)
[2009/04/22 19:33:05] @ madrescher joined channel #puppet
[2009/04/22 19:34:53] <sc0ttB> 0.24.8 on the puppetmaster and client, BTW
[2009/04/22 19:34:56] @ Quit: madrescher: Client Quit
[2009/04/22 19:35:12] @ Quit: lak:
[2009/04/22 19:35:51] <Volcane> and where do you include them?
[2009/04/22 19:36:26] <Volcane> and where is this file?
[2009/04/22 19:36:37] <Volcane> if you want to set vars like this setting htem in site.pp is best
[2009/04/22 19:36:45] <Volcane> else u should set htem inside node {} statements
[2009/04/22 19:38:48] <sc0ttB> I include them in the main manifest (/etc/puppet/manifests/init.pp)
[2009/04/22 19:39:09] <Volcane> put those variables there then
[2009/04/22 19:39:14] <sc0ttB> the file I pastie'd is in /etc/puppet/modules/subversion/manifests/init.pp
[2009/04/22 19:39:25] <sc0ttB> there is no way to have a default for a module?
[2009/04/22 19:39:34] <Volcane> no so you dont understand modules too well i think
[2009/04/22 19:39:46] <Volcane> that class trac { ... }
[2009/04/22 19:39:47] <sc0ttB> it looks like apache2 has defaults
[2009/04/22 19:39:49] <Volcane> totally the wrong place
[2009/04/22 19:40:10] <Volcane> modules/trac/manifests/init.pp is where class trac { } should be
[2009/04/22 19:40:15] <sc0ttB> you can't have two classes in one module?
[2009/04/22 19:40:44] <Volcane> you can, if you wanted subversion::trac, you should put it in modules/subversion/manifests/trac.pp and call it class subversion::track { }
[2009/04/22 19:41:49] <sc0ttB> let me move it and see
[2009/04/22 19:42:04] <Volcane> but still your variables should not be outside of a class {}
[2009/04/22 19:43:15] <Volcane> global variables are just bad in general, and puppets scoping and autoloading and all just isnt gonna do what u want
[2009/04/22 19:43:44] <sc0ttB> I was just following the apache2 example
[2009/04/22 19:44:05] @ nakano_ is now known as nakano
[2009/04/22 19:46:38] @ Quit: keithlard_:
[2009/04/22 19:48:50] <sc0ttB> huh... moving the trac class to it's own module didn't help
[2009/04/22 19:50:34] <Volcane> did you move the variables to your node {} ?
[2009/04/22 19:52:01] @ fujin joined channel #puppet
[2009/04/22 19:52:16] <sc0ttB> no... doing so now
[2009/04/22 19:52:34] <sc0ttB> hrm same error
[2009/04/22 19:52:43] <Volcane> before the include lines?
[2009/04/22 19:52:48] <Volcane> the variables?
[2009/04/22 19:52:50] <sc0ttB> heh no
[2009/04/22 19:53:16] * sc0ttB is a newb
[2009/04/22 19:55:15] * Volcane 's gotta go
[2009/04/22 19:55:35] <sc0ttB> k... looks to be working... thanks
[2009/04/22 19:56:25] @ Quit: cwebber:
[2009/04/22 20:16:16] @ Quit: Bass10: Read error: 110 (Connection timed out)
[2009/04/22 20:20:23] @ cwebber joined channel #puppet
[2009/04/22 20:22:37] @ keithlard joined channel #puppet
[2009/04/22 20:23:03] @ Quit: drmikecrowe: Read error: 54 (Connection reset by peer)
[2009/04/22 20:23:48] @ drmikecrowe joined channel #puppet
[2009/04/22 20:26:14] @ Quit: alfism: "Connection reset by beer"
[2009/04/22 20:29:32] @ Quit: voixd: Read error: 110 (Connection timed out)
[2009/04/22 20:41:04] @ voixd joined channel #puppet
[2009/04/22 20:45:00] @ Quit: kingitchy:
[2009/04/22 20:48:52] @ Quit: drmikecrowe: Read error: 110 (Connection timed out)
[2009/04/22 20:48:58] @ mib_t7xl9g joined channel #puppet
[2009/04/22 20:49:45] @ Quit: cw|away: "Leaving..."
[2009/04/22 20:50:08] @ Quit: ezmob: "Bye!"
[2009/04/22 20:50:11] <mib_t7xl9g> Having trouble testing puppet from master, I am getting the following error /usr/lib/ruby/site_ruby/1.8/puppet/network/server.rb:102:in `register_xmlrpc': uninitialized constant Puppet::Network::Handler (NameError)
[2009/04/22 20:50:21] <mib_t7xl9g> any ideas?
[2009/04/22 20:51:33] @ koojoo joined channel #puppet
[2009/04/22 20:53:23] <mib_t7xl9g> Also looking for the best method on helping out with testing bug fixes and new features
[2009/04/22 20:55:40] @ Quit: cwebber:
[2009/04/22 21:02:00] @ kambiz_away is now known as kambiz
[2009/04/22 21:03:36] @ DavidS1 joined channel #puppet
[2009/04/22 21:07:32] @ drmikecrowe joined channel #puppet
[2009/04/22 21:11:13] <jrojas> mib_t7xl9g: look into environments. and as for your issue, i have never seen that before, what version of puppetmaster, what OS?
[2009/04/22 21:11:50] @ Quit: bobbyz: Read error: 60 (Operation timed out)
[2009/04/22 21:18:03] <mib_t7xl9g> I am testing from master, so I assume the development branch. RHEL 5.3
[2009/04/22 21:19:14] <jamesturnbull> mib_t7xl9g: you mean testing the current Git HEAD?
[2009/04/22 21:19:19] <mib_t7xl9g> yes
[2009/04/22 21:19:48] <jamesturnbull> mib_t7xl9g: did you have a previous Puppet install on the test host?
[2009/04/22 21:20:55] <mib_t7xl9g> Yes, I installed from RPM 1st and everything was working. Did a YUM remove and started clean.
[2009/04/22 21:21:11] <jamesturnbull> mib_t7xl9g: hmmm might want to confirm all the old files went away
[2009/04/22 21:21:38] @ Quit: DavidS: Read error: 110 (Connection timed out)
[2009/04/22 21:22:00] <mib_t7xl9g> At this point I may just use a fresh vm at start from there
[2009/04/22 21:22:13] @ Quit: keithlard:
[2009/04/22 21:22:21] <jamesturnbull> mib_t7xl9g: this is not to say you mihgt not also have found a bug :)
[2009/04/22 21:22:40] <jamesturnbull> mib_t7xl9g: HEAD is in heavy dev and we're close to an RC for it
[2009/04/22 21:24:32] <mib_t7xl9g> Well, lets see if the issue still remains after testing with a fresh VM. With most of the tickets being closed I though it would be a good idea to start my initial testing
[2009/04/22 21:27:09] <jamesturnbull> mib_t7xl9g: that's great and we much appreciate it
[2009/04/22 21:33:42] <jamesturnbull> mib_t7xl9g: looking at the code that's a bug
[2009/04/22 21:34:09] <jamesturnbull> mib_t7xl9g: can you log a ticket please - from a run with --trace --debug
[2009/04/22 21:34:44] @ Quit: WALoeIII: "Bai."
[2009/04/22 21:35:33] <mib_t7xl9g> ok
[2009/04/22 21:36:36] <mib_t7xl9g> just one thing, how do you open a ticket, if there are instructions somewhere I don't mind reading
[2009/04/22 21:37:03] <jamesturnbull> mib_t7xl9g: projects.reductivelabs.com
[2009/04/22 21:37:08] <mib_t7xl9g> ok
[2009/04/22 21:37:20] <jamesturnbull> mib_t7xl9g: just register and click the New Issue button in the Puppet project
[2009/04/22 21:37:44] <jamesturnbull> mib_t7xl9g: and you can ask me whatever you need
[2009/04/22 21:38:28] <mib_t7xl9g> registering now
[2009/04/22 21:48:33] <mib_t7xl9g> created issue 2188
[2009/04/22 21:48:48] @ Quit: edwardam: Remote closed the connection
[2009/04/22 21:49:08] @ Quit: sdodson: Read error: 113 (No route to host)
[2009/04/22 21:55:17] <jamesturnbull> mib_t7xl9g: thanks
[2009/04/22 21:55:40] <mib_t7xl9g> not sure if this is an issue, but testing from a clean VM, I get the following when running puppetmasterd --mkusers
[2009/04/22 21:57:07] @ Quit: voixd: "leaving"
[2009/04/22 21:57:31] <mib_t7xl9g> http://widget.mibbit.com/pb/KWVBSB
[2009/04/22 21:58:33] <mib_t7xl9g> if I am running the command as root, should those directories be created from me?
[2009/04/22 21:59:36] @ jmarki joined channel #puppet
[2009/04/22 21:59:44] @ Quit: claymation:
[2009/04/22 22:00:40] <jamesturnbull> mib_t7xl9g: yes - that's a bug too
[2009/04/22 22:00:56] <mib_t7xl9g> ok
[2009/04/22 22:01:24] <mib_t7xl9g> Should I update bug 2188 or create a new one
[2009/04/22 22:02:24] <jamesturnbull> mib_t7xl9g: new bug please
[2009/04/22 22:03:39] @ ohadlevy joined channel #puppet
[2009/04/22 22:05:59] @ Quit: rdaugherty: Read error: 110 (Connection timed out)
[2009/04/22 22:11:48] <mib_t7xl9g> Bug #2190 has been created
[2009/04/22 22:11:49] <gepetto> mib_t7xl9g: #2190 is http://projects.reductivelabs.com/issues/show/2190 "Puppet - Bug #2190: puppetmasterd --mkusers fails to create necessary directories, user, and group when run as root - ReductiveLabs.com"
[2009/04/22 22:13:15] @ voixd joined channel #puppet
[2009/04/22 22:17:14] @ Demosthenes joined channel #puppet
[2009/04/22 22:27:58] @ Quit: johnw:
[2009/04/22 22:39:52] @ lak joined channel #puppet
[2009/04/22 22:42:54] @ atlan_ joined channel #puppet
[2009/04/22 22:45:31] <teratoma> is there a guide somewhere on using modules and configuring a machine as a nagios client ?
[2009/04/22 22:57:05] <jmarki> teratoma: what kind of guide do you need? a full walkthrough?
[2009/04/22 22:57:10] @ Quit: mib_t7xl9g: "http://www.mibbit.com ajax IRC Client"
[2009/04/22 22:58:32] <teratoma> jmarki: that wouuld be nice ! i am having a hard time wrapping my head around writing and using a puppet module
[2009/04/22 22:59:01] @ Quit: chip__: Read error: 110 (Connection timed out)
[2009/04/22 23:00:42] <jmarki> teratoma: do u already have an nrpe configuration?
[2009/04/22 23:02:02] <teratoma> jmarki: no, blank VM , running puppet client
[2009/04/22 23:02:56] <teratoma> i'd like to set up nagios server on a machine, and nrpe on a client, and of course have nagios server be aware of nagios on client, all with puppet
[2009/04/22 23:03:37] <jmarki> teratoma: ahhh. that is a little too ambitious, imho
[2009/04/22 23:04:15] <teratoma> ok how about i just go for configuring nrpe on a client with a module ?
[2009/04/22 23:04:52] <jmarki> teratoma: my suggestion is to get your nagios + nrpe working first, then use puppet to populate these to the appropriate servers
[2009/04/22 23:04:55] <teratoma> i am competent enough with puppet to make class files that contain "package puppet: ensure=>installed"
[2009/04/22 23:07:48] <jmarki> teratoma: here's an init.pp file for nrpe, for your reference. =)
[2009/04/22 23:08:04] <jmarki> teratoma: http://pastie.org/455384
[2009/04/22 23:08:25] <teratoma> thanks a lot
[2009/04/22 23:08:36] <teratoma> i will now punish 57 machines with it
[2009/04/22 23:08:46] <jmarki> teratoma: it seems to run okay now, but let me know if there are problems. =D
[2009/04/22 23:09:19] <teratoma> so you have a nrpe folder in your modules/ directory ?
[2009/04/22 23:09:20] <jmarki> teratoma: good good. that's more machines than i have punished it with. =D
[2009/04/22 23:10:55] <jmarki> teratoma: yah. an nrpe module, with the configurations as templates (1 x standard config, 1 x nrpe commands which is hostname specific)
[2009/04/22 23:11:49] <teratoma> can you put how you call it in a pastie ?
[2009/04/22 23:12:08] @ Quit: voixd: Read error: 110 (Connection timed out)
[2009/04/22 23:12:22] <jmarki> teratoma: as in? how to get puppet to call it?
[2009/04/22 23:12:38] <teratoma> yeah, a snippit of the class file you use
[2009/04/22 23:12:52] <teratoma> i guess you stick it in a class file that is called by a block in your main init.pp ?
[2009/04/22 23:12:59] <teratoma> or am i thinking of modules wrong
[2009/04/22 23:15:24] <jmarki> teratoma: http://pastie.org/455392
[2009/04/22 23:18:37] <teratoma> thanks
[2009/04/22 23:18:58] <jmarki> teratoma: welcome. let me know if there are any bugs. =D
[2009/04/22 23:30:02] @ chip__ joined channel #puppet
[2009/04/22 23:33:20] @ Quit: lak:
[2009/04/22 23:35:09] @ Quit: ethan_rowe: Read error: 60 (Operation timed out)
[2009/04/22 23:38:05] @ cwebber joined channel #puppet
[2009/04/22 23:46:11] @ Quit: atlan_: Read error: 110 (Connection timed out)
[2009/04/22 23:46:21] @ atlan_ joined channel #puppet
[2009/04/22 23:48:51] @ Quit: collier_s: "Leaving"
[2009/04/22 23:49:27] @ Quit: chip__: Read error: 110 (Connection timed out)
[2009/04/22 23:53:40] @ collier_s joined channel #puppet

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