Sunday, 2009-05-17

[2009/05/17 00:02:35] @ Log started by gepetto
[2009/05/17 00:02:35] <joe-mac> hi
[2009/05/17 00:02:41] <comprehensive> is there a way to define a group of nodes in puppet?
[2009/05/17 00:03:20] <joe-mac> sort of, in site.pp you can apply the same node configuration a list of nodes. is that what you mean?
[2009/05/17 00:03:40] <comprehensive> kinda...
[2009/05/17 00:04:08] <comprehensive> instead of tagging each node, i would like to define a group of nodes and configure once, if possible.
[2009/05/17 00:05:43] <joe-mac> i meant nodes.pp, and you can do something like "node a,b,c inherits basenode_tmpl" i believe, i don't do it because my configuration has at least one unique bit per node...
[2009/05/17 00:05:54] <comprehensive> oh ok
[2009/05/17 00:06:17] <comprehensive> yeah seems like inheritance is the solution in my situation, thanks
[2009/05/17 00:06:21] <comprehensive> i'll look into it
[2009/05/17 00:06:33] <joe-mac> well, i didn't mean the inheritance part
[2009/05/17 00:06:36] <joe-mac> i was focusing on the list.
[2009/05/17 00:06:46] <joe-mac> what ae you trying to solve?
[2009/05/17 00:07:21] <comprehensive> trying to figure how to apply same configurations to a group of nodes
[2009/05/17 00:07:57] <comprehensive> i can keep on tagging node by node but that wouldn't be a scalable solution
[2009/05/17 00:08:32] <comprehensive> so maybe the list you mentioned might do the trick
[2009/05/17 00:08:37] <joe-mac> yea, so a list of nodes a,b,c should do it, but tghe inheritance bit was just typed by reflex since that's hwat i normally do heh
[2009/05/17 00:08:39] <joe-mac> yea i think so
[2009/05/17 00:08:44] <comprehensive> ok, thanks much
[2009/05/17 00:08:45] <joe-mac> i didn't know you could tag whole nodes, intereting
[2009/05/17 00:08:46] <joe-mac> np
[2009/05/17 00:12:14] <comprehensive> tag may not be the right word...i meant the act of putting "include" resources
[2009/05/17 00:12:20] <comprehensive> in node definitions
[2009/05/17 00:16:34] <joe-mac> ah, yea you can just include in a group with the list like that
[2009/05/17 00:16:59] <comprehensive> cool stuff
[2009/05/17 00:18:01] <joe-mac> yes, puppet is magic
[2009/05/17 00:20:10] @ Quit: d3vilb0x:
[2009/05/17 00:24:23] <comprehensive> can i name the list as well?
[2009/05/17 00:24:46] <comprehensive> node dbserver1, dbserver2, dbserver3 { include resources } is what you mean by a list right?
[2009/05/17 00:25:15] <comprehensive> the reason for naming is to invoke via puppetrun
[2009/05/17 00:26:05] <comprehensive> i just want to specify the name of list and execute puppetrun
[2009/05/17 00:28:21] <comprehensive> i guess inheritance would do it
[2009/05/17 00:32:20] <joe-mac> hold up
[2009/05/17 00:32:31] <joe-mac> when you run puppetrun you specify a node name
[2009/05/17 00:32:40] <comprehensive> right
[2009/05/17 00:32:58] <joe-mac> if you want to do multiple nodes, you ahve to specify each on the CLI, unless your nodes are in LDAP
[2009/05/17 00:33:11] <joe-mac> but im a little confused, because i don't see where inheritance comes into play
[2009/05/17 00:33:14] <comprehensive> what about inheritance? can't i specify the parent node?
[2009/05/17 00:33:37] <comprehensive> hmm maybe not
[2009/05/17 00:33:39] <joe-mac> no, inheritance is for the overriding of resource parameters
[2009/05/17 00:33:52] <comprehensive> that's right, my misunderstanding on that
[2009/05/17 00:34:20] <joe-mac> yea the inheritance in puppet is kind of specific in that it has basically one reason for existance, overriding resource parameters.
[2009/05/17 00:34:30] <comprehensive> got it
[2009/05/17 00:38:28] @ hessml|away joined channel #puppet
[2009/05/17 01:27:07] @ jmarki joined channel #puppet
[2009/05/17 01:31:20] @ pleemans joined channel #puppet
[2009/05/17 01:32:36] @ fujin joined channel #puppet
[2009/05/17 01:40:12] @ teyo joined channel #puppet
[2009/05/17 01:43:10] @ Quit: zoeloelip: Read error: 113 (No route to host)
[2009/05/17 01:45:38] @ shake-n-bake joined channel #puppet
[2009/05/17 01:54:10] @ Quit: comprehensive: "CHOCOA"
[2009/05/17 02:09:23] @ Quit: pleemans: Read error: 113 (No route to host)
[2009/05/17 02:11:34] @ Quit: teyo:
[2009/05/17 02:15:58] @ Quit: shake-n-bake:
[2009/05/17 02:25:17] @ comprehensive joined channel #puppet
[2009/05/17 02:29:20] @ joe-mac left channel #puppet ()
[2009/05/17 02:30:23] @ blahdeblah joined channel #puppet
[2009/05/17 02:43:55] @ Quit: blahdeblah: "Leaving."
[2009/05/17 02:43:59] @ blahdeblah joined channel #puppet
[2009/05/17 02:54:35] @ Quit: hessml|away: "Leaving..."
[2009/05/17 02:54:52] <jamesturnbull> well inheritance does more than that but both parties have left so ....
[2009/05/17 02:55:33] <jamesturnbull> comprehensive: oh wait - still here
[2009/05/17 02:56:42] <jamesturnbull> comprehensive: node groups can vbe done a couple of ways - node a,b,c obviously, external and LDAP nodes, and you can do a version using inheritance. Where you create a node with a set of base classes for example and then have other nodes inherit it.
[2009/05/17 02:58:28] <jamesturnbull> comprehensive: http://pastie.org/480564
[2009/05/17 03:05:33] <comprehensive> hi
[2009/05/17 03:05:37] <comprehensive> yup still here
[2009/05/17 03:08:01] <comprehensive> doesn't puppet process external nodes one by one?
[2009/05/17 03:09:34] <comprehensive> if i have a list of nodes outside of puppet and feed the list into puppetrun + external nodes, yes i believe node grouping can be simulated
[2009/05/17 03:10:35] <comprehensive> i guess it's a matter of where you do the node grouping
[2009/05/17 03:10:41] <jamesturnbull> comprehensive: yes
[2009/05/17 03:11:09] <jamesturnbull> comprehensive: I don't have an issue with having a nodegroup syntax - I suspect neither does lak but soeone would have to develop it
[2009/05/17 03:11:19] <comprehensive> i see
[2009/05/17 03:11:32] <jamesturnbull> or even node globbing of some kind
[2009/05/17 03:11:38] <jamesturnbull> node apache*.example.com
[2009/05/17 03:12:02] <comprehensive> yeah
[2009/05/17 03:12:08] <jamesturnbull> but as the roadmap stands it's not a high priority
[2009/05/17 03:12:18] <jamesturnbull> but you might be able to interest someone like masterzen
[2009/05/17 03:12:36] <jamesturnbull> he's about the only other person who plays in the grammar/parser area
[2009/05/17 03:12:43] <comprehensive> oh ok
[2009/05/17 03:12:53] <jamesturnbull> gepetto: seen mastezen
[2009/05/17 03:12:53] <gepetto> jamesturnbull: nope!
[2009/05/17 03:12:58] <jamesturnbull> gepetto: seen masterzen
[2009/05/17 03:12:58] <gepetto> jamesturnbull: masterzen was last seen 2 days, 15 hours and 34 seconds ago, quitting IRC ("Leaving")
[2009/05/17 03:17:41] @ Log started by gepetto
[2009/05/17 03:17:41] @ Joined channel #puppet
[2009/05/17 03:17:41] @ Topic is "Puppet 0.25.0beta1 released! http://tinyurl.com/puppet0250b1 | Tickets, bugs and features at http://tinyurl.com/46ryk7"
[2009/05/17 03:17:41] @ Topic set by jamesturnbull on Sun May 03 21:25:14 -0400 2009
[2009/05/17 03:17:49] @ Mode +tnc by hubbard.freenode.net
[2009/05/17 03:18:03] <jamesturnbull> gepetto: help
[2009/05/17 03:18:03] <gepetto> jamesturnbull: help topics: 10 core modules: auth, basics, config, filters, httputil, irclog, remote, unicode, userdata, wordlist; 8 plugins: debug, hudson, redmineurls, rss, seen, shortenurls, time, tracurls; 76 plugins ignored: use help ignored plugins to see why (help <topic> for more info)
[2009/05/17 03:18:03] <jamesturnbull> gepetto: help
[2009/05/17 03:18:03] <gepetto> jamesturnbull: help topics: 10 core modules: auth, basics, config, filters, httputil, irclog, remote, unicode, userdata, wordlist; 8 plugins: debug, hudson, redmineurls, rss, seen, shortenurls, time, tracurls (help <topic> for more info)
[2009/05/17 03:18:03] <jamesturnbull> gepetto: seen lak
[2009/05/17 03:18:03] <gepetto> jamesturnbull: lak was last seen 7 hours, 25 minutes and 59 seconds ago, quitting IRC ()
[2009/05/17 03:20:15] <comprehensive> tying puppet with mysql may be interesting
[2009/05/17 03:20:22] @ Quit: blahdeblah: "Leaving."
[2009/05/17 03:20:24] <comprehensive> i haven't tried that
[2009/05/17 03:50:09] <jamesturnbull> comprehensive: my book has some example of external node code - http://tinyurl.com/puppetbook
[2009/05/17 03:51:19] <comprehensive> thanks james
[2009/05/17 04:23:53] @ Quit: jmeeuwen: Read error: 110 (Connection timed out)
[2009/05/17 04:33:18] @ Quit: ke4qqq: Remote closed the connection
[2009/05/17 04:33:29] @ ke4qqq joined channel #puppet
[2009/05/17 04:34:20] @ Quit: jmarki: Remote closed the connection
[2009/05/17 04:42:26] @ Quit: comprehensive: "CHOCOA"
[2009/05/17 04:44:38] @ Quit: andrewcshafer:
[2009/05/17 04:58:11] @ zoeloelip joined channel #puppet
[2009/05/17 04:58:23] @ Quit: zoeloelip: Client Quit
[2009/05/17 04:58:30] @ zoeloelip joined channel #puppet
[2009/05/17 05:02:42] @ martha joined channel #puppet
[2009/05/17 05:11:27] @ jmeeuwen joined channel #puppet
[2009/05/17 05:23:12] @ nakano is now known as nakano_
[2009/05/17 05:24:56] @ Quit: jmeeuwen: Read error: 104 (Connection reset by peer)
[2009/05/17 05:25:19] @ madrescher joined channel #puppet
[2009/05/17 05:25:34] @ jmeeuwen joined channel #puppet
[2009/05/17 05:31:16] @ Quit: jmeeuwen: Read error: 104 (Connection reset by peer)
[2009/05/17 05:57:49] @ nakano_ is now known as nakano
[2009/05/17 06:26:45] @ jmeeuwen joined channel #puppet
[2009/05/17 06:30:40] @ aymerick joined channel #puppet
[2009/05/17 06:39:47] @ Quit: jmeeuwen: Read error: 104 (Connection reset by peer)
[2009/05/17 06:40:20] @ jmeeuwen joined channel #puppet
[2009/05/17 07:06:09] @ Quit: jmeeuwen: "Disconnecting from stoned server."
[2009/05/17 07:07:02] @ jmeeuwen joined channel #puppet
[2009/05/17 07:14:00] @ Quit: madrescher: Read error: 104 (Connection reset by peer)
[2009/05/17 07:14:35] @ madrescher joined channel #puppet
[2009/05/17 07:18:44] @ Quit: bartc_: Remote closed the connection
[2009/05/17 07:18:51] @ rellis_ joined channel #puppet
[2009/05/17 07:27:14] @ fujin_ joined channel #puppet
[2009/05/17 07:32:36] @ nasrat_ joined channel #puppet
[2009/05/17 07:40:27] @ Quit: nasrat_: Read error: 104 (Connection reset by peer)
[2009/05/17 07:41:41] @ nasrat_ joined channel #puppet
[2009/05/17 07:44:39] @ nakano is now known as nakano_
[2009/05/17 07:45:13] @ nakano_ is now known as nakano
[2009/05/17 07:45:43] @ Quit: fujin: Read error: 110 (Connection timed out)
[2009/05/17 07:47:19] @ blahdeblah joined channel #puppet
[2009/05/17 07:47:30] @ Quit: nasrat_:
[2009/05/17 07:53:59] @ fujin_ is now known as fujin
[2009/05/17 07:58:13] @ alhoang_ joined channel #puppet
[2009/05/17 08:00:21] @ mattock joined channel #puppet
[2009/05/17 08:00:28] @ mattock left channel #puppet ()
[2009/05/17 08:06:23] @ Quit: fujin:
[2009/05/17 08:08:11] @ fujin joined channel #puppet
[2009/05/17 08:28:45] @ Quit: fujin:
[2009/05/17 08:29:48] @ teyo joined channel #puppet
[2009/05/17 08:37:24] @ Quit: graveyard:
[2009/05/17 08:41:54] @ Quit: teyo:
[2009/05/17 08:45:29] @ fujin joined channel #puppet
[2009/05/17 08:45:30] @ Quit: fujin: Remote closed the connection
[2009/05/17 08:45:46] @ fujin joined channel #puppet
[2009/05/17 08:46:39] @ Quit: fujin: Client Quit
[2009/05/17 08:46:52] @ fujin joined channel #puppet
[2009/05/17 08:47:37] @ bartc joined channel #puppet
[2009/05/17 09:02:04] @ d3vilb0x joined channel #puppet
[2009/05/17 09:02:24] @ Quit: fujin:
[2009/05/17 09:04:23] @ fujin joined channel #puppet
[2009/05/17 09:06:05] @ burny joined channel #puppet
[2009/05/17 09:19:04] @ glaw joined channel #puppet
[2009/05/17 09:21:17] @ Quit: fujin:
[2009/05/17 09:37:44] @ Bass10 joined channel #puppet
[2009/05/17 09:39:07] @ Quit: Bass10: SendQ exceeded
[2009/05/17 09:39:54] @ Bass10 joined channel #puppet
[2009/05/17 09:40:12] <tazz> the channel is a lot quite on weekends ;)
[2009/05/17 09:44:03] <tim|imac> that's to show you how good puppet is! if it was active, it wouldn't be very good news on behalf of puppet ;-) "Puppet. Allows sysadmins to have a weekend."
[2009/05/17 09:45:04] <tazz> lol not for me. but then again that has nothing to do with puppet :-/ (just cribbing because i am at office on sunday :p )
[2009/05/17 09:46:24] <tim|imac> then you've not deployed puppet far enough yet :P
[2009/05/17 09:49:38] @ fujin joined channel #puppet
[2009/05/17 09:49:58] @ hessml|away joined channel #puppet
[2009/05/17 09:51:32] <tazz> :p
[2009/05/17 10:08:22] @ lak joined channel #puppet
[2009/05/17 10:08:40] @ Quit: fujin:
[2009/05/17 10:12:50] @ Quit: choffee: Read error: 104 (Connection reset by peer)
[2009/05/17 10:12:52] @ choffee joined channel #puppet
[2009/05/17 10:15:11] @ Quit: burny: Read error: 60 (Operation timed out)
[2009/05/17 10:15:53] @ madrescher1 joined channel #puppet
[2009/05/17 10:16:39] @ Quit: madrescher: Read error: 110 (Connection timed out)
[2009/05/17 10:20:28] <f3ew> tim|imac that's not a Puppet problem, it's a management problem
[2009/05/17 10:20:35] <f3ew> they want sysadmins in the office on weekends
[2009/05/17 10:21:04] <f3ew> tim|imac, see my LCA presentation title :P
[2009/05/17 10:21:06] <tim|imac> f3ew: replace management with a small perl script and you're done... deploy it with puppet, ofc
[2009/05/17 10:21:19] <f3ew> I could, actually
[2009/05/17 10:21:39] @ burny joined channel #puppet
[2009/05/17 10:21:51] @ Quit: choffee: "No Ping reply in 90 seconds."
[2009/05/17 10:22:03] @ choffee joined channel #puppet
[2009/05/17 10:23:54] <tazz> looks like f3ew got dragged to office on a sunday too.
[2009/05/17 10:29:39] @ Quit: friendly12345: "Leaving."
[2009/05/17 10:32:26] @ hessml|away is now known as hessml|away|away
[2009/05/17 10:32:31] @ hessml|away|away is now known as hessml|away
[2009/05/17 10:37:15] <f3ew> I showed up for a different reason
[2009/05/17 10:37:56] @ Quit: lak:
[2009/05/17 10:38:29] <tim|imac> f3ew: nice and quiet?
[2009/05/17 10:39:07] @ Quit: johan-s: "Leaving..."
[2009/05/17 10:44:44] @ nasrat_ joined channel #puppet
[2009/05/17 10:46:02] @ Quit: nasrat_: Client Quit
[2009/05/17 10:56:45] @ Quit: Joelio: "leaving"
[2009/05/17 11:01:10] @ Quit: hessml|away: "Leaving..."
[2009/05/17 11:01:25] <dsch04> Can anyone point me at a good sshd mgmt resource/module?
[2009/05/17 11:01:41] <dsch04> I'd like to distribute keys and tweak sshd_config
[2009/05/17 11:12:31] @ jmarki joined channel #puppet
[2009/05/17 11:17:06] @ Quit: blahdeblah: Remote closed the connection
[2009/05/17 11:17:48] <jenza> Just write your own
[2009/05/17 11:17:51] <jenza> it's pretty simle
[2009/05/17 11:18:01] @ blahdeblah joined channel #puppet
[2009/05/17 11:24:16] @ Quit: d3vilb0x:
[2009/05/17 11:25:10] @ andrewcshafer joined channel #puppet
[2009/05/17 11:38:42] @ hessml|away joined channel #puppet
[2009/05/17 11:42:33] @ kelseyhightower joined channel #puppet
[2009/05/17 11:48:08] @ Quit: kelseyhightower: "http://www.mibbit.com ajax IRC Client"
[2009/05/17 12:00:41] @ joe-mac joined channel #puppet
[2009/05/17 12:09:15] @ helena joined channel #puppet
[2009/05/17 12:09:19] <helena> Hello
[2009/05/17 12:09:41] <helena> I saw on the mailing list in Jan, discussion about a pkgsrc provider, but I've not seen any discussion since
[2009/05/17 12:09:55] <helena> http://pkgsrc.se/sysutils/puppet has a sectopm which includes:
[2009/05/17 12:10:03] <helena> Use OpenBSD package provider for NetBSD.
[2009/05/17 12:10:08] @ shake-n-bake joined channel #puppet
[2009/05/17 12:10:08] <helena> in the change log
[2009/05/17 12:10:18] @ Quit: glaw: Remote closed the connection
[2009/05/17 12:10:38] <helena> So - is there now a pkgsrc provider? Is anyone managing netbsd / pkgsrc binaries this way?
[2009/05/17 12:11:47] <joe-mac> helena: i believe there is, check out the type reference, it lists the providers
[2009/05/17 12:14:23] @ nakano is now known as nakano_
[2009/05/17 12:14:52] * helena looks
[2009/05/17 12:25:09] <helena> doesn't explicitly say anything about netbsd or pkgsrc
[2009/05/17 12:28:53] <joe-mac> you could grep the source then, in case that doc is dated at all
[2009/05/17 12:30:58] @ joe-mac1 joined channel #puppet
[2009/05/17 12:31:04] @ Quit: joe-mac1: Remote closed the connection
[2009/05/17 12:31:50] * helena nods; will take a look.
[2009/05/17 12:32:51] @ hessml|away is now known as hessml|away|away
[2009/05/17 12:35:14] @ hessml|away|away is now known as hessml|away
[2009/05/17 12:42:20] @ nasrat_ joined channel #puppet
[2009/05/17 12:45:33] @ Quit: joe-mac: Connection timed out
[2009/05/17 12:48:46] <helena> no sign
[2009/05/17 12:59:47] @ hessml|away is now known as hessmll
[2009/05/17 13:09:20] @ Quit: burny: Read error: 60 (Operation timed out)
[2009/05/17 13:09:32] @ mfoster joined channel #puppet
[2009/05/17 13:20:09] @ mfournier joined channel #puppet
[2009/05/17 13:23:43] @ joe-mac joined channel #puppet
[2009/05/17 13:51:34] @ burny joined channel #puppet
[2009/05/17 14:01:57] @ ryanduff|away|aw is now known as ryanduff|away
[2009/05/17 14:02:42] @ ryanduff|away is now known as ryanduff
[2009/05/17 14:05:13] @ omry joined channel #puppet
[2009/05/17 14:07:25] @ Quit: tazz: "Leaving"
[2009/05/17 14:10:40] @ hexasoft joined channel #puppet
[2009/05/17 14:10:44] <hexasoft> 'lo
[2009/05/17 14:11:49] <joe-mac> hi
[2009/05/17 14:21:46] <hexasoft> I have a strange behavior
[2009/05/17 14:22:20] <hexasoft> all the puppet stuff was fine: after installation puppetd is run to install / configure all the stuff on the machine
[2009/05/17 14:22:55] <hexasoft> I used "puppetd --test" until now (because I handle my own schedule of puppet activity for various reasons)
[2009/05/17 14:23:17] <hexasoft> and I just switched to --onetime to prevent uneeded verbosity.
[2009/05/17 14:23:45] <hexasoft> and it fail (some packages not updated, some configuration files not propagated, all silently)
[2009/05/17 14:24:07] <hexasoft> I moved back to --test, first for debug purpose, and it works again.
[2009/05/17 14:24:13] <hexasoft> so my question: why? :)
[2009/05/17 14:26:40] @ Quit: shake-n-bake:
[2009/05/17 14:27:51] @ Quit: madrescher1: Read error: 104 (Connection reset by peer)
[2009/05/17 14:28:52] <nasrat_> hexasoft: umm do you know how it failed (is there something in syslog?)
[2009/05/17 14:29:24] @ Quit: nasrat: Nick collision from services.
[2009/05/17 14:29:27] @ nasrat_ is now known as nasrat
[2009/05/17 14:30:09] <hexasoft> nasrat: well, no.
[2009/05/17 14:30:26] @ martha left channel #puppet ()
[2009/05/17 14:30:33] <nasrat> nothing in /var/log/messages ?
[2009/05/17 14:30:35] <hexasoft> I redirect stdout/err from puppetd to a dedicated logfile
[2009/05/17 14:30:42] <hexasoft> nothing at all.
[2009/05/17 14:30:55] <hexasoft> from server side I can see requests from the node.
[2009/05/17 14:31:28] <nasrat> what happens with -v --onetime
[2009/05/17 14:31:34] <hexasoft> with --test I get some output, but it works... maybe something different in the behavior of --test and --onetime
[2009/05/17 14:31:49] <nasrat> yes
[2009/05/17 14:32:04] <hexasoft> nasrat: I will try this (it takes some time as it happens at installation stage, so I need to reinstall the node)
[2009/05/17 14:32:12] <hexasoft> let say 10 minutes
[2009/05/17 14:32:23] <nasrat> well --test does onetime and verbose
[2009/05/17 14:32:29] <nasrat> whereas onetime is just that
[2009/05/17 14:32:32] <hexasoft> nothing more?
[2009/05/17 14:32:48] <hexasoft> such as things about cache or so?
[2009/05/17 14:33:10] <nasrat> it does other stuff too
[2009/05/17 14:33:17] <nasrat> puppetd --help is your friend
[2009/05/17 14:33:47] <joe-mac> yea it has no cache i think
[2009/05/17 14:33:53] <joe-mac> on --test i mean
[2009/05/17 14:35:51] <hexasoft> reinstallation running
[2009/05/17 14:37:36] <hexasoft> (with -v --onetime)
[2009/05/17 14:42:05] @ pleemans joined channel #puppet
[2009/05/17 14:43:48] @ yure_ joined channel #puppet
[2009/05/17 14:43:55] @ madrescher joined channel #puppet
[2009/05/17 14:45:30] <hexasoft> --test implies +onetime+, +verbose+, +ignorecache, and +no-usecacheonfailure+
[2009/05/17 14:45:41] <hexasoft> onetime & verbose is not complicated.
[2009/05/17 14:46:32] <hexasoft> what means the 2 lasts?
[2009/05/17 14:47:28] <hexasoft> is it cache on server side or client side? the man doesn't help on that.
[2009/05/17 14:52:00] <hexasoft> err: Could not create PID file: /var/puppet/run/puppetd.pid
[2009/05/17 14:52:39] <hexasoft> I can't explain why this message were not outputed without "-v"
[2009/05/17 14:53:01] <hexasoft> and I can't explain why this problem as it works fine with --test
[2009/05/17 14:53:33] <hexasoft> at this time the only difference beetween the 2 executions of the installation is the s/--test/-v --onetime/
[2009/05/17 14:54:19] <hexasoft> tbw I'm using puppet version 0.24.6
[2009/05/17 15:03:48] <hexasoft> !
[2009/05/17 15:05:10] <hexasoft> one big difference, at least on my machine:
[2009/05/17 15:05:50] <hexasoft> with --test the puppetd programs gives back the hand when it has finished.
[2009/05/17 15:06:09] <hexasoft> with --onetime it gives back the hand but it is still running in background.
[2009/05/17 15:07:19] <hexasoft> and at installation stage I run it more than one time, with specific options to update some particular elements of the configuration (that are run only at this time)
[2009/05/17 15:07:49] <hexasoft> so some executions failed because it thing it is still running (which is the case)
[2009/05/17 15:08:18] <hexasoft> I think the doc should be more explicit about this (strange?) difference of behavior)
[2009/05/17 15:09:04] <hexasoft> (but it is maybe not a "usual" way of working to run puppetd more than one time)
[2009/05/17 15:10:17] <hexasoft> in the doc (man) the lines:
[2009/05/17 15:10:18] <hexasoft> test: Enable the most common options used for testing. These are
[2009/05/17 15:10:19] <hexasoft> +onetime+, +verbose+, +ignorecache, and +no-usecacheonfailure+.
[2009/05/17 15:10:25] <hexasoft> sould be replaced by:
[2009/05/17 15:11:00] <hexasoft> +onetime+, +verbose+, +ignorecache+, +no-daemonize+ and +no-usecacheonfailure+.
[2009/05/17 15:11:19] <joe-mac> you';re saying that onetime doesn't terminate when it's done?
[2009/05/17 15:11:31] <hexasoft> no
[2009/05/17 15:11:39] <joe-mac> and yea onetime runs in the background, but it should terminate after one run afaik
[2009/05/17 15:11:44] <hexasoft> onetime gives back the hand without finishing
[2009/05/17 15:11:59] <joe-mac> what do you mean by gives back the hand
[2009/05/17 15:11:59] <hexasoft> joe-mac: yes, it runs in bg
[2009/05/17 15:12:09] <hexasoft> but that's not what is claimed in the doc :)
[2009/05/17 15:12:27] <hexasoft> it says that --test == +onetime+, +verbose+, +ignorecache, and +no-usecacheonfailure+
[2009/05/17 15:13:06] <joe-mac> what does the doc claim?
[2009/05/17 15:13:08] <hexasoft> so, as --test do not run in background, I induced that --onetime is the same (as verbose and cache stuff should not modify the background state)
[2009/05/17 15:13:13] <joe-mac> OH
[2009/05/17 15:13:16] <joe-mac> i see waht you're saying
[2009/05/17 15:13:23] <joe-mac> yea doc should specify test runs it in the fg
[2009/05/17 15:13:41] <hexasoft> that's the reason of the mis-behavior I get (from my interpretation, of course)
[2009/05/17 15:13:44] <joe-mac> .24.6 is not the4 latest though, so idk what the doc says on .8
[2009/05/17 15:14:46] <hexasoft> I should upgrade my client, anyway. but I concentrated myself on puppet features, so I prefer to not introduce entropy in the system for the moment ;)
[2009/05/17 15:15:22] <joe-mac> master needs to be equal or greater than client version fyi
[2009/05/17 15:15:42] <hexasoft> joe-mac: oh. good thing to know, thks.
[2009/05/17 15:16:14] <joe-mac> np
[2009/05/17 15:16:26] <hexasoft> joe-mac: "give back the hand" may not be "english", I guess. it's a "free translation" of a french term.
[2009/05/17 15:17:05] <joe-mac> hexasoft: ah, i want to learn french. i think i am too old though. do you mean like the 'return' function in most programming languages?
[2009/05/17 15:17:32] @ lak joined channel #puppet
[2009/05/17 15:18:21] <hexasoft> yes
[2009/05/17 15:18:56] <hexasoft> "rendre la main" (give back the hand) is often used in computer science to describe a program (in a shell) that let you write new commands
[2009/05/17 15:19:13] <hexasoft> so you can "take the hand"
[2009/05/17 15:20:05] <hexasoft> joe-mac: by my side I want to learn english, and I think I'm too old too ;)
[2009/05/17 15:21:32] <joe-mac> yea i get it now
[2009/05/17 15:23:27] @ shake-n-bake joined channel #puppet
[2009/05/17 15:23:27] @ Quit: madrescher: Read error: 104 (Connection reset by peer)
[2009/05/17 15:25:26] @ madrescher joined channel #puppet
[2009/05/17 15:26:26] <hexasoft> joe-mac: in the man for 0.24.8 the --test missing information is still present
[2009/05/17 15:26:40] <joe-mac> file a bug, see what RL says
[2009/05/17 15:26:40] <hexasoft> should I open a bug report for that?
[2009/05/17 15:26:48] <hexasoft> ok
[2009/05/17 15:26:51] <hexasoft> RL ?
[2009/05/17 15:26:56] <joe-mac> reductive labs
[2009/05/17 15:27:00] <hexasoft> ok
[2009/05/17 15:28:24] <hexasoft> mmmh
[2009/05/17 15:28:34] <hexasoft> I should be registered to add a ticket I guess
[2009/05/17 15:28:44] <hexasoft> will do.
[2009/05/17 15:29:25] @ Quit: shake-n-bake:
[2009/05/17 15:29:57] <joe-mac> yea , it's good to be registered so you can put in the occasional feature request or bug
[2009/05/17 15:30:16] <hexasoft> waiting for the confirmation email :)
[2009/05/17 15:30:59] @ shake-n-bake joined channel #puppet
[2009/05/17 15:36:01] @ peoplemerge joined channel #puppet
[2009/05/17 15:42:46] @ rasputnik joined channel #puppet
[2009/05/17 15:53:27] <hexasoft> bug created.
[2009/05/17 15:54:17] @ Quit: jmarki: Remote closed the connection
[2009/05/17 15:54:49] <rasputnik> is anyone using puppet on solaris? wondered what you did for package providers - blastwave, or just jumpstart everything you'll need it the first place?
[2009/05/17 15:56:22] <joe-mac> rasputnik: yea people use uit on solaris. the type reference lkists all the package providers
[2009/05/17 15:56:40] <joe-mac> can also create zones and other stuff for solaris
[2009/05/17 15:59:03] <rasputnik> I had a quick go on Solaris10, the SMF support seemed promising but had trouble recovering from errors - just wondered if anyone had any war stories, really :)
[2009/05/17 16:01:29] @ Quit: pleemans: Read error: 113 (No route to host)
[2009/05/17 16:02:46] <rellis_> I'm tying to use puppet in conjunction with selinux on rhel5, when I try to use puppet to enure a mount is in fact mounted selinux prevent it from using the file it creates in /tmp for the mount "setroubleshoot: SELinux is preventing the mount from using potentially mislabeled files (/tmp/puppet.18915.0)." any ideas how to resolve this? is there an selinux boolean that'll fix?
[2009/05/17 16:03:23] <rellis_> using puppet 0.24.8 is it matters
[2009/05/17 16:09:11] <hexasoft> using rhel5-like, but not selinux. sorry.
[2009/05/17 16:09:41] <joe-mac> rellis_: i think this error is kinda common cause i remember it and havern;'t used rhel in almost a year
[2009/05/17 16:09:46] <joe-mac> ghave you checked the mailing lists>?
[2009/05/17 16:14:02] <hexasoft> ok, so adding the --no-daemonize completly solved my problem. it is again fully fonctionnal after 3 full reinstallations.
[2009/05/17 16:14:57] * hexasoft happy (never a good thing to see that you broke something during the week-end ;))
[2009/05/17 16:22:50] @ mfoster1 joined channel #puppet
[2009/05/17 16:22:51] @ Quit: mfoster: Read error: 54 (Connection reset by peer)
[2009/05/17 16:23:33] <rellis_> joe-mac: I have a workaround.. sort of
[2009/05/17 16:23:52] <rellis_> joe-mac: I'm setting TMPDIR which puppet honors then proiperly labeling the new directory
[2009/05/17 16:24:16] <rellis_> until someone on the puppet crew fixes that bug anyway.. assuming they're okay with using pipes instead of tmp files
[2009/05/17 16:29:02] @ comprehensive joined channel #puppet
[2009/05/17 16:43:28] @ Quit: burny: "leaving"
[2009/05/17 16:43:39] @ Quit: mfoster1: Read error: 110 (Connection timed out)
[2009/05/17 16:47:21] @ xyz joined channel #puppet
[2009/05/17 16:51:55] @ Quit: rasputnik: "Leaving"
[2009/05/17 16:53:05] @ Quit: edwardam: Remote closed the connection
[2009/05/17 16:53:26] @ Quit: blahdeblah: "Leaving."
[2009/05/17 16:55:59] @ Quit: comprehensive: "CHOCOA"
[2009/05/17 16:59:43] @ Quit: aymerick: "kit mais sage"
[2009/05/17 17:06:58] @ mfoster joined channel #puppet
[2009/05/17 17:10:05] @ fbe_ joined channel #puppet
[2009/05/17 17:21:03] @ Quit: mfournier: Read error: 60 (Operation timed out)
[2009/05/17 17:26:06] @ Quit: fbe: Read error: 110 (Connection timed out)
[2009/05/17 17:27:01] @ Quit: nasrat:
[2009/05/17 17:41:48] <nico> I think I have hit a bug, but I can't find it in redmine
[2009/05/17 17:42:02] <nico> My setup is : a puppetmaster behind nginx
[2009/05/17 17:42:13] @ Quit: mellen: Read error: 110 (Connection timed out)
[2009/05/17 17:42:42] <nico> My puppetmaster connects to a mysql database to get external_nodes config
[2009/05/17 17:44:07] <nico> but it leaves some close_wait connections on the mysql server
[2009/05/17 17:44:45] <nico> those connections are bound to puppemaster, on port 8140
[2009/05/17 17:45:22] <nico> which is the port nginx listens, but puppetmaster are from 18140 => 18143
[2009/05/17 17:50:43] <nico> any clue ?
[2009/05/17 17:54:45] @ Quit: joe-mac: "Leaving."
[2009/05/17 17:57:03] <nico> ok, this looks like #1095
[2009/05/17 17:57:04] <gepetto> nico: ok: #1095 is http://projects.reductivelabs.com/issues/show/1095 "Puppet - Bug #1095: Puppetmaster leaving half-open connections - ReductiveLabs.com"
[2009/05/17 17:58:58] @ xyz left channel #puppet ()
[2009/05/17 17:59:56] @ edwardam joined channel #puppet
[2009/05/17 18:05:09] @ edwardam_ joined channel #puppet
[2009/05/17 18:10:03] @ Quit: edwardam: Read error: 60 (Operation timed out)
[2009/05/17 18:15:16] @ edwardam joined channel #puppet
[2009/05/17 18:27:59] @ Quit: edwardam_: Read error: 110 (Connection timed out)
[2009/05/17 18:30:20] @ fbe_ is now known as fbe
[2009/05/17 18:33:44] @ hessmll is now known as hessml|away
[2009/05/17 18:36:47] @ joe-mac joined channel #puppet
[2009/05/17 18:37:16] @ Quit: yure_: Remote closed the connection
[2009/05/17 19:12:56] @ Quit: lak:
[2009/05/17 19:22:32] @ Quit: nearthal: Read error: 60 (Operation timed out)
[2009/05/17 19:24:04] @ nearthal joined channel #puppet
[2009/05/17 19:28:29] @ Quit: edwardam: Remote closed the connection
[2009/05/17 19:30:56] <Risar> joe-mac, whats this about not using rhel in a year ?!
[2009/05/17 19:31:06] <Risar> Your scaring me.
[2009/05/17 19:33:42] @ Quit: alhoang_:
[2009/05/17 19:34:38] <joe-mac> Risar: i've been forced to become an ubuntard
[2009/05/17 19:34:57] <joe-mac> the place i work now set it as standard for some reason long before me
[2009/05/17 19:35:03] <Risar> Could be worse, I was waiting for the "W" word to come out.
[2009/05/17 19:35:13] <joe-mac> f*** no
[2009/05/17 19:35:15] <Risar> "user friendly"
[2009/05/17 19:35:24] <zirpu> "ubiquitous"
[2009/05/17 19:35:26] <joe-mac> the desktops use that but i don't touch it often
[2009/05/17 19:35:37] <Risar> ::shudder::
[2009/05/17 19:35:50] <zirpu> "disease"
[2009/05/17 19:35:52] <Risar> Job going well otherwise ?
[2009/05/17 19:36:00] <joe-mac> yea, lots of work to do
[2009/05/17 19:36:49] <joe-mac> the guy who worked there before my boss apparently just set things up in random ways, so there are old debian boxes on various versions that apt is so far gone you can't update them... running critical infrastructure, none of them have any set config
[2009/05/17 19:37:04] <joe-mac> pretty much a mess but getting a *lot* better
[2009/05/17 19:38:00] <Risar> Yeah, could be worse man.
[2009/05/17 19:38:34] <Risar> I inherited a custom built linux distro that is strung together by the will of garden gnomes (and lots of horrible bash + php)
[2009/05/17 19:39:00] <joe-mac> rofl, why do people like to re invent the wheel in production machines? i don't understand that
[2009/05/17 19:39:26] <Risar> Because its "hard" to learn the right way, and easy to screw it up by doing it your own way.
[2009/05/17 19:39:46] <Risar> I'm working on rebasing to as standard rhel platform.
[2009/05/17 19:40:07] <Risar> and hoping that puppet gets included in rhel6, so I dont have to fill out all the paperwork to get it "approved"
[2009/05/17 19:40:19] <Risar> s/as/a/
[2009/05/17 19:41:05] <joe-mac> i'm guessing it will be... with cobbler too
[2009/05/17 19:41:13] <joe-mac> tasty, tasty software that i don't get to use
[2009/05/17 19:41:45] <Risar> Why not write something to let it manage ubuntu's kickstart equivalent ?
[2009/05/17 19:42:35] <joe-mac> it already does, except ubuntu's kickstart equivalent sucks shit
[2009/05/17 19:42:56] <joe-mac> i;ve been wrestling with it to do software raid, just a simple mirror cause we require it, and it's seemingly impossible
[2009/05/17 19:43:15] <Risar> lolz
[2009/05/17 19:43:58] <joe-mac> and lvm over raid is literally, impossible since the installer in 8.04 lts can't do it. so I have this late command that creates a .sh script and adds it to init. it runs,c reates the LVs etc then kills itself and the system reboots. my problem is that only works in my tests on single disk systems cause i cannot for the life of me get 'partman-auto-raid' to work
[2009/05/17 19:44:19] @ Quit: Bass10: Connection timed out
[2009/05/17 19:44:55] <joe-mac> the preseed file parses with debconf-set-selections -c... weird thing is if i use \ to escape newlines and make the 'recipe'a s they call it more readable (docs indicate this is how to do it) it fails to parse
[2009/05/17 19:45:07] <joe-mac> so i have this line, it's like gotta be 200 something characters
[2009/05/17 19:45:14] <maek> in bcfg2 unless you tell it about all the pkgs installed it calls them "configuration discrepancies" so you know if a pkg is added outside of the install system. is that possible with puppet?
[2009/05/17 19:48:42] <joe-mac> Risar: you into openbsd at all?
[2009/05/17 19:48:47] <Risar> used to be.
[2009/05/17 19:48:55] <Risar> Theo is amusing.
[2009/05/17 19:48:58] <Risar> ::chuckle::
[2009/05/17 19:49:19] <joe-mac> lol, yea
[2009/05/17 19:49:51] <joe-mac> we use it on our routers and we're trying to get those in puppet and able to do automatic patching and whatnot
[2009/05/17 19:49:59] <joe-mac> it;'s proving to be a fun exercise
[2009/05/17 19:50:00] <peoplemerge> Theo? Hey it's Dave at TTV This is my nick
[2009/05/17 19:50:15] <Risar> maek, are you looking to audit all of the packages installed on a system ? (thats what it sounds like)
[2009/05/17 19:50:45] <maek> Risar: yes
[2009/05/17 19:51:13] @ Quit: victor_: Read error: 60 (Operation timed out)
[2009/05/17 19:51:17] @ victor_ joined channel #puppet
[2009/05/17 19:52:39] <maek> Risar: I have my list of pkgs I install via kickstart basically a stripped down @Base install, plus I have the pkgs I install via puppet for any given class of system, so id like to be able to check if there is a discrepancy. maybe puppet isnt the best way to do it. just wondering if that wheel already exists.
[2009/05/17 19:53:03] <Risar> I know you can force packages to not be installed, but I dont think there is a built in way to report on all packages like that. (though I might be wrong)
[2009/05/17 19:53:37] <maek> ok. I suspect I can make a nagios check with the given lists of pkgs
[2009/05/17 19:53:42] <Risar> I'm going to have to tackle that at some point too. DoD reporting.
[2009/05/17 19:53:44] <maek> or a facter of all pkgs installed. something
[2009/05/17 19:53:53] <maek> yeah, SOX and such here
[2009/05/17 19:54:19] <Risar> that would be fairly straight forward.
[2009/05/17 19:54:29] <maek> bcfg2 does it in a neat way. you have to define each pkg as a config object and if something isnt listed it shows up as a discrepancy so you know about it right away.
[2009/05/17 19:55:10] <Risar> Yeah, it has some neat features. The xml bit killed it for me.
[2009/05/17 19:55:18] <maek> haha, you beat me to typing that
[2009/05/17 19:55:32] <maek> people arent supposed to interface with xml
[2009/05/17 19:55:42] <maek> its bad enough they put us in little cube cages
[2009/05/17 19:55:53] <Risar> Nope. But leave it to somebody who works for the government to come up with THAT.
[2009/05/17 19:58:23] <maek> is it just me or is augeas super cool and handy
[2009/05/17 19:58:51] <peoplemerge> Hey it's been awhile since I've been here, what are Luke, Teyo, and Andrew's handles?
[2009/05/17 19:58:52] <joe-mac> i think it beats the hell out of the append_if_no_such_line thing i am doing now... but i won't see augeus for a long time
[2009/05/17 19:59:15] <joe-mac> lak andrewcshafer and i think teyo is teyo?
[2009/05/17 19:59:24] <peoplemerge> maek: yes it is
[2009/05/17 19:59:38] <andrewcshafer> wassup
[2009/05/17 19:59:40] <peoplemerge> joe-mac: thx
[2009/05/17 19:59:43] <joe-mac> np
[2009/05/17 19:59:45] <peoplemerge> hey man!
[2009/05/17 20:00:15] <peoplemerge> Just learning augeus for the project
[2009/05/17 20:00:15] <maek> joe-mac: why not? you cant use it at your org?
[2009/05/17 20:00:45] <maek> peoplemerge: it replaed so many of my add this line type things once I wrapped my head around it
[2009/05/17 20:01:37] <peoplemerge> maek: yeah it looks like it's going to fill that gap. Sweet.
[2009/05/17 20:02:03] <andrewcshafer> that's why it was created :)
[2009/05/17 20:03:10] <peoplemerge> I was going to ask an augeus question in #augeus but since we're talking about it here, I have a moderately simple config to write a lens for
[2009/05/17 20:04:07] <peoplemerge> what is everyone using as a replacement for pastebin nowadays?
[2009/05/17 20:04:18] <maek> that ruby one is nice
[2009/05/17 20:04:35] <maek> http://pastie.org/
[2009/05/17 20:04:42] <peoplemerge> ohyeah
[2009/05/17 20:05:44] <maek> I like it because you can do the ##foo to break things up
[2009/05/17 20:06:33] @ blahdeblah joined channel #puppet
[2009/05/17 20:07:32] <maek> someone in this channel showed me a 4 to 6 part "setting up puppet" that got progressively more advanced, dealing with /etc/hosts as the example. anyone know that link? I have to introduce puppet to some other admins and I'm barely qualified to use it let alone train people on it.
[2009/05/17 20:08:52] <maek> sorry, google works so well "puppet part 2 /etc/hosts" its the devco wiki
[2009/05/17 20:24:05] <joe-mac> maek: i tend to stick with the maintainer's version, so my puppet is at .24.4, which is what ubuntu 8.04 lts uses
[2009/05/17 20:24:28] <maek> ah
[2009/05/17 20:32:04] <hacim> maek: can you pass on that URL?
[2009/05/17 20:33:48] <maek> hacim: http://www.devco.net/pubwiki/Puppet
[2009/05/17 20:34:02] <hacim> thanks
[2009/05/17 20:39:51] <jamesturnbull> maek: Volcane wrote that if you have any questions or feedback BTW
[2009/05/17 20:40:09] <maek> jamesturnbull: thanks, thats who it was.
[2009/05/17 20:40:13] <jamesturnbull> peoplemerge: the pastie bot is in the channel too
[2009/05/17 20:44:13] <hacim> maek: hm, that page doesn't exist
[2009/05/17 20:44:44] <maek> working for me, try this one http://www.devco.net/pubwiki/Puppet/GettingStarted
[2009/05/17 21:04:32] <jamesturnbull> gepetto: seen nasrat
[2009/05/17 21:04:32] <gepetto> jamesturnbull: nasrat was last seen 3 hours, 37 minutes and 31 seconds ago, quitting IRC ()
[2009/05/17 21:10:26] @ Quit: hacim: Remote closed the connection
[2009/05/17 21:12:27] @ garin joined channel #puppet
[2009/05/17 21:13:00] @ Quit: pietro: Remote closed the connection
[2009/05/17 21:29:56] @ pietro joined channel #puppet
[2009/05/17 21:32:47] @ lak joined channel #puppet
[2009/05/17 21:42:05] @ Quit: joe-mac: "Leaving."
[2009/05/17 21:42:31] <jamesturnbull> lak: did you talk to nasrat about rc2? I am going to cut it if I don't hear from himn
[2009/05/17 21:42:49] <lak> i haven't
[2009/05/17 21:42:58] <lak> i have to go talk to teyo about whiskey instead
[2009/05/17 21:43:00] <lak> :P
[2009/05/17 21:43:04] <jamesturnbull> well I'll give him a few hours
[2009/05/17 21:43:11] <lak> it's monday morning for you, neener neener
[2009/05/17 21:43:20] <jamesturnbull> drunk again?
[2009/05/17 21:43:23] <lak> and with that, i'm off to drink :)
[2009/05/17 21:43:25] <lak> not yet
[2009/05/17 21:43:26] <lak> ta t
[2009/05/17 21:43:28] <lak> a
[2009/05/17 21:43:28] <jamesturnbull> lol
[2009/05/17 21:43:29] @ Quit: lak:
[2009/05/17 21:49:20] @ maxagaz joined channel #puppet
[2009/05/17 21:55:52] @ maxagaz_ joined channel #puppet
[2009/05/17 21:57:43] @ d3vilb0x joined channel #puppet
[2009/05/17 22:01:34] @ chip__ joined channel #puppet
[2009/05/17 22:03:06] @ ohadlevy joined channel #puppet
[2009/05/17 22:04:55] @ nakano_ is now known as nakano
[2009/05/17 22:11:14] @ fujin joined channel #puppet
[2009/05/17 22:16:35] @ edwardam joined channel #puppet
[2009/05/17 22:17:27] @ Quit: atlan_: Read error: 110 (Connection timed out)
[2009/05/17 22:17:56] @ Quit: maek:
[2009/05/17 22:18:34] @ Quit: edwardam: Remote closed the connection
[2009/05/17 22:20:31] @ jmarki joined channel #puppet
[2009/05/17 22:56:32] @ mikey_p joined channel #puppet
[2009/05/17 22:59:57] @ atlan_ joined channel #puppet
[2009/05/17 23:05:18] @ joe-mac joined channel #puppet
[2009/05/17 23:15:31] @ Quit: chip__: Read error: 110 (Connection timed out)
[2009/05/17 23:18:11] @ joe-mac left channel #puppet ()
[2009/05/17 23:32:16] @ felipe` joined channel #puppet
[2009/05/17 23:35:57] @ lak joined channel #puppet
[2009/05/17 23:38:02] @ edwardam joined channel #puppet
[2009/05/17 23:53:55] @ Quit: jmarki: Remote closed the connection

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