Tuesday, 2010-02-16

[2010/02/16 00:13:05] @ Log started by gepetto
[2010/02/16 00:13:05] <justdave> I don't see anything in that example you're citing that says it can only have one role on a machine
[2010/02/16 00:13:11] <justdave> all of the examples indeed only show one
[2010/02/16 00:13:27] <justdave> but the way the roles are set up in that example, they're just classes
[2010/02/16 00:13:35] <justdave> there's no reason you can't include more than one class
[2010/02/16 00:14:01] <justdave> how effective it is depends on your not having conflicting definitions of something within the two though
[2010/02/16 00:16:04] @ malraid joined channel #puppet
[2010/02/16 00:19:20] <QtPlatypus> They have the variable "$role" set that would conflict.
[2010/02/16 00:24:31] <justdave> you could leave that out unless you're actually using it
[2010/02/16 00:26:16] @ Quit: OpenMedia: Quit: Leaving.
[2010/02/16 00:26:46] <QtPlatypus> Cool
[2010/02/16 00:30:41] @ Quit: Bass10: Ping timeout: 260 seconds
[2010/02/16 00:33:22] @ Quit: jcape: Ping timeout: 252 seconds
[2010/02/16 00:41:09] @ Quit: lilmatt: Quit: lilmatt
[2010/02/16 00:41:20] @ jcape joined channel #puppet
[2010/02/16 00:52:16] @ Quit: jcape: Ping timeout: 245 seconds
[2010/02/16 00:53:40] <QtPlatypus> Also I have a setup where I wish all but on of my servers to have my syslog-ng client configuration and one to have my syslog-ng server configuration. Can anyone point me to documentation or tell me how best to do this.
[2010/02/16 00:55:37] @ Quit: Djelibeybi: Quit: Leaving
[2010/02/16 01:03:28] @ Quit: Bevo: Quit: Leaving
[2010/02/16 01:07:49] @ jcape joined channel #puppet
[2010/02/16 01:10:57] @ Quit: malraid: Quit: malraid
[2010/02/16 01:19:06] @ Quit: Demosthenes: Ping timeout: 240 seconds
[2010/02/16 01:20:14] <justdave> simplest thing would be an if () block that checked the hostname
[2010/02/16 01:32:46] @ PaulWay[w] left channel #puppet ("I must go, there are too many tangrams on this channel.")
[2010/02/16 01:39:05] @ Quit: murkk: Quit: murkk
[2010/02/16 01:44:10] @ m1nish joined channel #puppet
[2010/02/16 01:50:20] @ Quit: ahuman: Remote host closed the connection
[2010/02/16 01:56:09] @ plathrop-away is now known as plathrop
[2010/02/16 01:57:07] @ Demosthenes joined channel #puppet
[2010/02/16 02:05:12] @ Quit: jfreeman: Remote host closed the connection
[2010/02/16 02:06:28] @ Quit: tessier_: Quit: Leaving
[2010/02/16 02:10:51] @ Quit: bug: Quit: bug
[2010/02/16 02:13:32] @ Quit: jcape: Read error: Operation timed out
[2010/02/16 02:18:18] @ Quit: alban2: Ping timeout: 276 seconds
[2010/02/16 02:19:08] @ ahuman joined channel #puppet
[2010/02/16 02:22:05] @ Quit: ahuman: Remote host closed the connection
[2010/02/16 02:26:41] @ jcape joined channel #puppet
[2010/02/16 02:26:59] @ giskard joined channel #puppet
[2010/02/16 02:28:31] @ Quit: rcrowley: Quit: rcrowley
[2010/02/16 02:29:19] @ pacalm joined channel #puppet
[2010/02/16 02:30:29] @ plathrop is now known as plathrop-away
[2010/02/16 02:30:36] @ gebi joined channel #puppet
[2010/02/16 02:42:03] @ Djelibeybi joined channel #puppet
[2010/02/16 02:43:19] @ p3rror joined channel #puppet
[2010/02/16 02:44:58] @ Quit: gebi: Read error: Operation timed out
[2010/02/16 02:48:03] @ MattyM joined channel #puppet
[2010/02/16 02:52:14] @ Quit: giskard: Remote host closed the connection
[2010/02/16 02:53:07] @ Quit: p3rror: Quit: أستودعكم الله
[2010/02/16 02:56:01] @ Quit: jason^: Read error: Operation timed out
[2010/02/16 02:57:26] @ Quit: f3ew: Quit: You can /quit any time you like, but you can never leave
[2010/02/16 02:57:32] <nico> morning
[2010/02/16 03:02:08] @ PsychoSid joined channel #puppet
[2010/02/16 03:02:18] @ francois left channel #puppet ()
[2010/02/16 03:02:43] @ f3ew joined channel #puppet
[2010/02/16 03:05:28] @ jason^ joined channel #puppet
[2010/02/16 03:06:40] @ Quit: jason^: Changing host
[2010/02/16 03:06:40] @ jason^ joined channel #puppet
[2010/02/16 03:08:05] @ Ramonster joined channel #puppet
[2010/02/16 03:08:16] @ Quit: Djelibeybi: Quit: Leaving
[2010/02/16 03:08:53] @ Quit: jcape: Ping timeout: 260 seconds
[2010/02/16 03:11:07] @ Djelibeybi joined channel #puppet
[2010/02/16 03:13:33] @ Quit: blahdeblah: Ping timeout: 260 seconds
[2010/02/16 03:14:52] @ zobbo left channel #puppet ()
[2010/02/16 03:20:47] @ giskard joined channel #puppet
[2010/02/16 03:21:46] @ Quit: Djelibeybi: Quit: Leaving
[2010/02/16 03:24:57] @ tessier__ joined channel #puppet
[2010/02/16 03:25:46] <tessier__> Why does puppet keep adding my public key to authorized_keys over and over again?! Feb 15 23:45:53 bouncer puppetd[6354]: (//Node[basenode]/base/virt_users/Ssh_authorized_key[treed]/ensure) created
[2010/02/16 03:29:04] <asenchi> you going to need to give a snippet of that manifest, difficult to tell by just the log line
[2010/02/16 03:32:43] @ Quit: robinbowes: Ping timeout: 265 seconds
[2010/02/16 03:34:08] @ robinbowes joined channel #puppet
[2010/02/16 03:35:59] @ zoeloelip joined channel #puppet
[2010/02/16 03:44:40] @ xerxas joined channel #puppet
[2010/02/16 03:44:46] @ mfournier joined channel #puppet
[2010/02/16 03:45:34] @ p3rror joined channel #puppet
[2010/02/16 03:45:44] @ Djelibeybi joined channel #puppet
[2010/02/16 03:46:03] @ yarihm joined channel #puppet
[2010/02/16 03:50:58] @ Robbie joined channel #puppet
[2010/02/16 03:51:26] @ Robbie is now known as Guest76985
[2010/02/16 03:52:05] <tessier__> asenchi: http://pastebin.ca/1798163
[2010/02/16 03:52:26] <tessier__> asenchi: I think maybe I should not have put it in virt_users
[2010/02/16 03:52:35] <tessier__> I just moved it to where the user is realized.
[2010/02/16 03:53:36] <tessier__> Still seems odd though. ensure => present shouldn't mean give me a zillion copies of the same key in the authorized_keys file.
[2010/02/16 03:53:46] @ Welsh_Dwarf joined channel #puppet
[2010/02/16 03:54:12] <asenchi> tessier__: you could also add a require in there, and I think subscribe might also work
[2010/02/16 03:54:19] <asenchi> that way it's based on something changing
[2010/02/16 03:54:59] @ verwilst joined channel #puppet
[2010/02/16 04:00:18] @ Quit: yarihm: Quit: Leaving
[2010/02/16 04:07:39] @ alban2 joined channel #puppet
[2010/02/16 04:16:54] @ gebi joined channel #puppet
[2010/02/16 04:18:39] <tim|imac> if I include or import from within a class, and the file to be included doesn't contain a class but just defines, can I expect them to become part of the class? or is it simply treated as outside any class?
[2010/02/16 04:18:55] <tim|imac> looks like the latter
[2010/02/16 04:24:30] @ Quit: Djelibeybi: Quit: Leaving
[2010/02/16 04:31:44] @ Quit: maxagaz: Read error: Connection reset by peer
[2010/02/16 04:34:55] @ Quit: alban2: Quit: Leaving.
[2010/02/16 04:45:26] @ blahdeblah joined channel #puppet
[2010/02/16 04:46:53] @ fdz joined channel #puppet
[2010/02/16 04:49:10] @ maxagaz joined channel #puppet
[2010/02/16 04:50:15] <duritong> TimeoutError: Unable to get database connection within 20 seconds
[2010/02/16 04:50:54] <tim|imac> busy server :)
[2010/02/16 04:52:59] @ maxagaz_ joined channel #puppet
[2010/02/16 05:01:06] <tessier__> asenchi: What would I require or subscribe to?
[2010/02/16 05:01:12] @ mattwynne joined channel #puppet
[2010/02/16 05:05:23] <asenchi> require that the user be created
[2010/02/16 05:05:38] <asenchi> or, subscribe to the user, (if that works, honestly don't remember, test it :))
[2010/02/16 05:06:01] <asenchi> but subscribe will update your authorized keys when anything dealing with the user changes
[2010/02/16 05:24:03] <nico> is the puppet trac down ?
[2010/02/16 05:26:44] @ tyll joined channel #puppet
[2010/02/16 05:28:10] @ jab_doa joined channel #puppet
[2010/02/16 05:33:48] @ ckauhaus joined channel #puppet
[2010/02/16 05:34:00] @ Quit: falsch: Ping timeout: 256 seconds
[2010/02/16 05:34:27] @ falsch joined channel #puppet
[2010/02/16 05:35:37] @ mvn071 joined channel #puppet
[2010/02/16 05:35:42] @ Quit: ckauhaus: Client Quit
[2010/02/16 05:36:56] @ ckauhaus joined channel #puppet
[2010/02/16 05:46:32] @ Quit: Welsh_Dwarf: Quit: http://quassel-irc.org - Discuter simplement. Partout.
[2010/02/16 05:47:02] @ Welsh_Dwarf joined channel #puppet
[2010/02/16 05:48:12] @ Quit: alexine_dsouza: Read error: Connection reset by peer
[2010/02/16 05:48:28] @ kjalil joined channel #puppet
[2010/02/16 05:48:58] <kjalil> hello, I am unable to get to the Documentation area of the Puppet website, is there are ongoing issue?
[2010/02/16 05:52:48] @ Quit: markwell: Ping timeout: 276 seconds
[2010/02/16 05:52:53] <asenchi> i think the trac is down, but you can go here also: http://docs.reductivelabs.com/
[2010/02/16 05:53:02] <asenchi> doesn't include everything, but may have what you are looking for
[2010/02/16 05:55:38] <kjalil> asenchi: thank you. weird that the docs are in 2 places? I was looking for the language reference
[2010/02/16 05:56:10] <asenchi> well the link i gave is the "eventual" home
[2010/02/16 05:56:21] <asenchi> lots of work is being done on the docs from my understanding
[2010/02/16 05:59:42] @ Quit: m1nish: Ping timeout: 258 seconds
[2010/02/16 06:01:15] @ cynicismic joined channel #puppet
[2010/02/16 06:04:31] @ Quit: Ramonster: Quit: Computer has gone to sleep
[2010/02/16 06:09:49] @ lucky__ joined channel #puppet
[2010/02/16 06:12:04] <tim|imac> is there any way to check if a certain exported resource already exists?
[2010/02/16 06:30:27] @ PsychoSid1 joined channel #puppet
[2010/02/16 06:31:52] @ Quit: PsychoSid: Ping timeout: 272 seconds
[2010/02/16 06:32:48] <doubleukay> tim|imac: hm.. what are you trying to do?
[2010/02/16 06:33:03] <tim|imac> just send a message to the list :)
[2010/02/16 06:33:23] <tim|imac> I'm trying to automatically create @@nagios_servicegroups based on my define for nagios services
[2010/02/16 06:34:13] <tim|imac> but I just considered that they might not clash if two nodes created a @@nagios_servicegroup with the same name... going to check that just now
[2010/02/16 06:34:27] <doubleukay> i believe they will..
[2010/02/16 06:34:46] <doubleukay> normally i prepend the name with $fqdn- to avoid clashes
[2010/02/16 06:34:57] @ Quit: ckauhaus: Quit: Leaving.
[2010/02/16 06:35:24] <doubleukay> and you need to do the prepending where it's exported, not where it's collected (took me awhile to figure that one)
[2010/02/16 06:35:52] @ Spruit_elf joined channel #puppet
[2010/02/16 06:36:22] <tim|imac> yeah, but then I get clashes in the nagios config once i instantiate it...
[2010/02/16 06:36:35] <tim|imac> which is actually what I'm trying to avoid
[2010/02/16 06:37:19] @ blahdeblah left channel #puppet ()
[2010/02/16 06:40:18] <doubleukay> ok i think i'm now grasping what your goal is.
[2010/02/16 06:40:33] @ Quit: mattwynne: Remote host closed the connection
[2010/02/16 06:40:43] <tim|imac> any idea on how to handle it?
[2010/02/16 06:40:53] <tim|imac> actually... i think i might have a solution...
[2010/02/16 06:41:33] <inveratulo> Good morning guys --- is there any reason *not* to go straight to the mongrel implementation, even if there's no plan to scale?
[2010/02/16 06:41:35] <tim|imac> I can export a define that simply checks upon instantiation if the nagios_servicegroup already exists...
[2010/02/16 06:41:45] <tim|imac> inveratulo: none
[2010/02/16 06:41:51] <tim|imac> inveratulo: imho
[2010/02/16 06:42:18] <inveratulo> tim|imac that's what I thought..
[2010/02/16 06:43:26] <doubleukay> i don't use servicegroups/hostgroups, but how i may do it is to define them as real resources on the nagios monitor..
[2010/02/16 06:43:40] <doubleukay> which i'm sure you've thought about too.. because it's the simplest thing you can do
[2010/02/16 06:44:19] <tim|imac> yeah, but that's actually what I want to avoid :)
[2010/02/16 06:44:20] <doubleukay> bu tit doesn't have as clean a separation as if you were to define both the nagios servicegroup and service in the service manifest i guess.
[2010/02/16 06:44:29] <doubleukay> so, sorry i can't help :)
[2010/02/16 06:44:33] <tim|imac> because then you need to know up front which groups you're going to need
[2010/02/16 06:44:44] <tim|imac> and I want to create groups on an on-demand basis
[2010/02/16 06:44:50] <doubleukay> yup
[2010/02/16 06:44:58] <Volcane> doubleukay: using exported resources means if u put apache on some node, nagios gets automagically configured without any extra work
[2010/02/16 06:45:37] <doubleukay> Volcane: yes, i use it too, just not in the context that tim|imac's asking about
[2010/02/16 06:45:58] @ lucky__ left channel #puppet ("Leaving...")
[2010/02/16 06:46:09] <tim|imac> I think my check-within-the-exported-defined-resource method is going to work
[2010/02/16 06:46:11] <tim|imac> checking it now
[2010/02/16 06:48:37] @ PsychoSid joined channel #puppet
[2010/02/16 06:49:54] @ Quit: PsychoSid1: Ping timeout: 248 seconds
[2010/02/16 06:53:26] <doubleukay> tim|imac: am interested to know if you have a solution :)
[2010/02/16 06:53:52] @ PsychoSid1 joined channel #puppet
[2010/02/16 06:55:14] @ Quit: PsychoSid: Ping timeout: 248 seconds
[2010/02/16 06:55:50] <tim|imac> doubleukay: I'm solving it now by exporting a defined resource, safe_nagios_servicegroup, which simply does a "if ! defined(Nagios_servicegroup['bla']) { nagios_servicegroup { 'bla': etc. } }", I think that will work, but need to model it before I can actually test it :)
[2010/02/16 06:56:59] <jmeeuwen> is it me or is the puppet wiki down/unable to get a database connection?
[2010/02/16 06:57:08] <jmeeuwen> trying to visit page: http://reductivelabs.com/trac/puppet/wiki/ExportedResources
[2010/02/16 06:57:33] <doubleukay> jmeeuwen: same here..
[2010/02/16 06:57:49] <Dominic> it's ok for me at the moment, but was hit and miss earlier
[2010/02/16 06:58:38] <jmeeuwen> ohw now it seems OK again
[2010/02/16 06:59:10] @ Ramonster joined channel #puppet
[2010/02/16 07:03:46] @ jcape joined channel #puppet
[2010/02/16 07:04:05] @ serverhorror joined channel #puppet
[2010/02/16 07:04:59] @ mattwynne joined channel #puppet
[2010/02/16 07:05:11] <serverhorror> hi, is the modulename available in file resources (e.g. can I say >>source => "puppet:///$modulename/foo"<<), would be nice :)
[2010/02/16 07:08:40] <Volcane> unfort not, there's a ticket but all that ever happens with it is that it gets bumped to the next release
[2010/02/16 07:09:37] <tim|imac> doubleukay: it seems to work, but not for arrays...
[2010/02/16 07:10:41] @ Quit: lazzurs: Ping timeout: 260 seconds
[2010/02/16 07:30:09] @ PsychoSid joined channel #puppet
[2010/02/16 07:31:16] @ alban2 joined channel #puppet
[2010/02/16 07:32:34] @ Quit: PsychoSid1: Ping timeout: 248 seconds
[2010/02/16 07:37:08] @ Quit: Spruit_elf: Quit: Spruit_elf
[2010/02/16 07:38:38] @ Quit: mattwynne: Remote host closed the connection
[2010/02/16 07:39:02] @ mattwynne joined channel #puppet
[2010/02/16 07:39:38] @ davea1 joined channel #puppet
[2010/02/16 07:39:57] @ Quit: davea1: Client Quit
[2010/02/16 07:40:38] @ suchu joined channel #puppet
[2010/02/16 07:41:09] @ Quit: Demosthenes: Quit: leaving
[2010/02/16 07:42:31] @ kolla joined channel #puppet
[2010/02/16 07:45:02] @ Quit: kolla: Remote host closed the connection
[2010/02/16 07:45:40] @ kolla joined channel #puppet
[2010/02/16 07:45:55] @ m1nish joined channel #puppet
[2010/02/16 07:48:41] @ Spruit_elf joined channel #puppet
[2010/02/16 07:50:13] @ Quit: rmiller4pi8: Quit: Leaving.
[2010/02/16 07:51:38] @ rmiller4pi8 joined channel #puppet
[2010/02/16 07:54:46] @ Quit: rmiller4pi8: Client Quit
[2010/02/16 07:55:12] @ Quit: maxagaz: Quit: Ex-Chat
[2010/02/16 07:55:13] @ Quit: maxagaz_: Quit: Ex-Chat
[2010/02/16 07:55:34] @ rmiller4pi8 joined channel #puppet
[2010/02/16 08:00:47] @ ckauhaus joined channel #puppet
[2010/02/16 08:01:40] @ Quit: ckauhaus: Client Quit
[2010/02/16 08:02:10] @ ckauhaus joined channel #puppet
[2010/02/16 08:04:19] <tim|imac> doubleukay: In case you're still wondering, apparantly, all my research could have been avoided if I had just tested it... apparantly, exported nagios_hostgroups with the same name are allowed and only collected once
[2010/02/16 08:04:20] @ Quit: tuf: Ping timeout: 272 seconds
[2010/02/16 08:04:22] <tim|imac> go figure
[2010/02/16 08:05:13] @ Quit: Boney: Ping timeout: 264 seconds
[2010/02/16 08:09:33] @ newpupp joined channel #puppet
[2010/02/16 08:09:39] @ Quit: newpupp: Client Quit
[2010/02/16 08:09:51] <doubleukay> oho okay
[2010/02/16 08:09:57] @ Quit: euclid: Ping timeout: 276 seconds
[2010/02/16 08:10:03] <doubleukay> wonder if that generally applies to all collected resources
[2010/02/16 08:10:37] @ PsychoSid1 joined channel #puppet
[2010/02/16 08:10:53] @ euclid joined channel #puppet
[2010/02/16 08:11:19] <tim|imac> if you create them with the same name and exactly the same settings, it seems like it works
[2010/02/16 08:12:29] <tim|imac> honestly, haven't tried with changing the contents, since hostgroups are fairly simple things
[2010/02/16 08:12:31] @ Quit: PsychoSid: Ping timeout: 256 seconds
[2010/02/16 08:13:00] <doubleukay> thanks for letting me know
[2010/02/16 08:13:34] <tim|imac> still need a solution for the array thing, though, so I'm not out of the woods yet
[2010/02/16 08:13:39] <tim|imac> but at least there's some progress :)
[2010/02/16 08:13:48] <doubleukay> what's the array problem about?
[2010/02/16 08:14:19] <tim|imac> I need to do locally if ! defined(Nagios_hostgroup["$hostgroup"]) {
[2010/02/16 08:14:29] <tim|imac> but if $hostgroup is an array, that won't work
[2010/02/16 08:16:07] <doubleukay> might be overkill, but do you think you can use inline_template to flatten the array into a string?
[2010/02/16 08:16:45] <tim|imac> yeah, but that still doesn't help, because I need to loop over the values to check them all...
[2010/02/16 08:17:03] <doubleukay> ahh, I see what you're getting at
[2010/02/16 08:18:12] <doubleukay> but wait, why do you still need to check if the Nagios_hostgroup[] is defined?
[2010/02/16 08:18:38] <tim|imac> because if I create it several times from the same host, it does clash
[2010/02/16 08:18:42] <doubleukay> I thought you said that you can export the same hostgroup on different machines?
[2010/02/16 08:18:47] <doubleukay> ah, ok
[2010/02/16 08:18:55] <tim|imac> it only doesn't clash if you create it on different hosts
[2010/02/16 08:19:23] <tim|imac> I get the feeling there's something obvious that I'm missing :S
[2010/02/16 08:24:57] @ Quit: mattwynne: Remote host closed the connection
[2010/02/16 08:28:15] @ danielbln joined channel #puppet
[2010/02/16 08:29:21] @ bug joined channel #puppet
[2010/02/16 08:30:56] <tim|imac> grrr... need this to work :(
[2010/02/16 08:31:47] @ skiold joined channel #puppet
[2010/02/16 08:36:12] @ malraid joined channel #puppet
[2010/02/16 08:37:17] @ mattwynne joined channel #puppet
[2010/02/16 08:38:28] @ ahasenack joined channel #puppet
[2010/02/16 08:40:14] @ jmccune joined channel #puppet
[2010/02/16 08:40:29] <jmccune> Good morning
[2010/02/16 08:41:02] <tim|imac> mornin' jmccune
[2010/02/16 08:41:29] <doubleukay> tim|imac: hmm.. what argument does your safe_nagios_servicegroup { } definition take? hostgroups?
[2010/02/16 08:41:34] @ Quit: m1nish: Quit: Leaving
[2010/02/16 08:42:19] <tim|imac> doubleukay: not using that one anymore :) Instead of calling safe_nagios_servicegroup, I simply do if ! defined(bla) { @@nagios_servicegroup { bla } }
[2010/02/16 08:43:10] <doubleukay> if you make it take a hostgrouP, I think puppet would expand the array if you instantiate safe_nagios_servicegroup { ["a","b", ..] } .. ?
[2010/02/16 08:44:25] @ Quit: jcape: Ping timeout: 260 seconds
[2010/02/16 08:46:02] <tim|imac> yeah, but then it would complain about duplicate safe_nagios_servicegroups :)
[2010/02/16 08:46:09] <tim|imac> it's a chicken and egg problem, I'm afraid :(
[2010/02/16 08:46:13] <doubleukay> doh! haha
[2010/02/16 08:46:25] <tim|imac> made it a feature request, #3181
[2010/02/16 08:46:25] <gepetto> tim|imac: #3181 is http://projects.reductivelabs.com/issues/show/3181 "Puppet - Feature #3181: Create resource if it doesn't already exist (with array support) - ReductiveLabs.com"
[2010/02/16 08:49:21] @ Quit: nevyn: Ping timeout: 256 seconds
[2010/02/16 08:50:56] @ nevyn joined channel #puppet
[2010/02/16 08:54:30] @ Quit: malraid: Quit: malraid
[2010/02/16 08:54:42] @ TREllis joined channel #puppet
[2010/02/16 08:59:39] @ jcape joined channel #puppet
[2010/02/16 09:01:16] @ vad3R joined channel #puppet
[2010/02/16 09:03:06] @ malraid joined channel #puppet
[2010/02/16 09:03:29] <vad3R> Hi all. Anybody familar with writing custom types and providers? I was playing around and just can't get it working. Details are her: http://groups.google.com/group/puppet-users/browse_frm/thread/449e106437c3f673 . Any help is highly appreciated
[2010/02/16 09:07:40] <janwari> if the runinterval is set to a day, how often will puppetd run the catalog from its local cache before it tries to contact the master for an updated catalog ?
[2010/02/16 09:09:05] <mikepea> janwari: puppetd will always try to contact the PM, and only use the cache on failure.
[2010/02/16 09:10:27] @ Quit: PsychoSid1: Ping timeout: 245 seconds
[2010/02/16 09:10:27] @ Quit: hamish: Ping timeout: 258 seconds
[2010/02/16 09:10:27] <janwari> so if i set runinterval = 86400 puppetd will run only once each day right
[2010/02/16 09:13:47] @ jmccune_ joined channel #puppet
[2010/02/16 09:14:03] @ Quit: jmccune_: Client Quit
[2010/02/16 09:16:19] @ Quit: xerxas: Remote host closed the connection
[2010/02/16 09:18:59] @ Quit: jcape: Read error: Operation timed out
[2010/02/16 09:20:08] @ PsychoSid joined channel #puppet
[2010/02/16 09:29:44] @ Bass10 joined channel #puppet
[2010/02/16 09:31:16] <mikepea> janwari: yup, though most folk tend to run puppetd from cron.
[2010/02/16 09:31:48] <mikepea> anyone seen this: err: Got an uncaught exception of type NoMethodError: undefined method `each' for true:TrueClass
[2010/02/16 09:31:59] <mikepea> after upgrade to 0.25.4 client (from 0.24.7)
[2010/02/16 09:32:56] <duritong> mikepea: and your server is?
[2010/02/16 09:33:02] @ murkk joined channel #puppet
[2010/02/16 09:33:13] <mikepea> 0.25.4, both nodes are ubuntu hardy
[2010/02/16 09:33:52] <mikepea> 0.25.4 server to 0.24.7 client works fine btw.
[2010/02/16 09:36:44] <mikepea> should point out that this is with preferred_serialization_format = yaml btw - the unicode bug with PSON was affecting me
[2010/02/16 09:37:06] @ kaptk2 joined channel #puppet
[2010/02/16 09:37:57] @ bobbyz joined channel #puppet
[2010/02/16 09:38:33] @ jcape joined channel #puppet
[2010/02/16 09:40:25] @ jcape left channel #puppet ()
[2010/02/16 09:40:36] @ Quit: kolla: Ping timeout: 245 seconds
[2010/02/16 09:41:53] @ Quit: mattwynne: Remote host closed the connection
[2010/02/16 09:45:44] @ Quit: Spruit_elf: Quit: Spruit_elf
[2010/02/16 09:46:39] @ mattwynne joined channel #puppet
[2010/02/16 09:47:37] @ sts joined channel #puppet
[2010/02/16 09:47:44] @ pheezy joined channel #puppet
[2010/02/16 09:48:05] <sts> puppet/git sync script i wrote if anybody would like to use it. :) http://github.com/sts/tools/blob/master/psync/psync
[2010/02/16 09:48:18] @ afletcher joined channel #puppet
[2010/02/16 09:50:52] @ Quit: afletcher: Remote host closed the connection
[2010/02/16 09:51:07] @ notbrien joined channel #puppet
[2010/02/16 09:51:19] @ afletcher joined channel #puppet
[2010/02/16 09:53:56] @ ten8nine joined channel #puppet
[2010/02/16 09:56:58] @ Quit: nevyn: Ping timeout: 265 seconds
[2010/02/16 09:57:53] @ zz_RedPepper is now known as RedPepper
[2010/02/16 09:58:01] @ Quit: mattwynne: Remote host closed the connection
[2010/02/16 10:00:49] @ mattwynne joined channel #puppet
[2010/02/16 10:01:09] @ Quit: mattwynne: Remote host closed the connection
[2010/02/16 10:01:50] @ Quit: rmiller4pi8: Quit: Leaving.
[2010/02/16 10:02:49] @ mattwynne joined channel #puppet
[2010/02/16 10:02:52] @ suchu_ joined channel #puppet
[2010/02/16 10:04:02] @ Quit: suchu_: Client Quit
[2010/02/16 10:06:01] @ Quit: suchu: Ping timeout: 245 seconds
[2010/02/16 10:07:24] @ Quit: Welsh_Dwarf: Remote host closed the connection
[2010/02/16 10:13:21] @ naresh joined channel #puppet
[2010/02/16 10:13:50] @ naresh is now known as nareshov
[2010/02/16 10:18:35] @ Quit: ten8nine: Quit: ten8nine
[2010/02/16 10:22:09] @ Quit: mattwynne: Remote host closed the connection
[2010/02/16 10:23:33] @ lludwig joined channel #puppet
[2010/02/16 10:23:36] @ Quit: lludwig: Client Quit
[2010/02/16 10:25:01] @ inveratulo is now known as Uberz1aq-x12sw2|
[2010/02/16 10:25:09] @ Uberz1aq-x12sw2| is now known as inveratulo
[2010/02/16 10:26:05] @ C00l_Sam03 joined channel #puppet
[2010/02/16 10:26:22] @ mattwynne joined channel #puppet
[2010/02/16 10:28:33] @ rmiller4pi8 joined channel #puppet
[2010/02/16 10:31:39] @ boomshankerx joined channel #puppet
[2010/02/16 10:31:43] <pastamancer> sts: function cfg.parser terrifies me...
[2010/02/16 10:32:24] @ ccaum joined channel #puppet
[2010/02/16 10:32:49] @ nevyn joined channel #puppet
[2010/02/16 10:33:42] <sts> pastamancer: yes. me too, a bit at least. know a better way to do it? :)
[2010/02/16 10:34:11] @ Quit: notbrien: Quit: notbrien
[2010/02/16 10:34:23] <pastamancer> sts: don't do it in bash? :p
[2010/02/16 10:34:37] <pastamancer> or just source the file
[2010/02/16 10:34:55] @ Quit: rmiller4pi8: Quit: Leaving.
[2010/02/16 10:34:57] @ ccaum left channel #puppet ()
[2010/02/16 10:35:58] <sts> pastamancer: well, i wanted it to be a single drop-in script which can do that for me. how do you mean source the file? then i don't get any differences between [main] manifestdir, and [$environment] manifestdir
[2010/02/16 10:36:13] <pastamancer> oh, is that parsing a puppet config file?
[2010/02/16 10:36:17] @ rcrowley joined channel #puppet
[2010/02/16 10:36:19] <sts> pastamancer: yes
[2010/02/16 10:36:21] <pastamancer> ah
[2010/02/16 10:37:01] @ kjalil left channel #puppet ()
[2010/02/16 10:37:28] @ Quit: boomshankerx: Quit: Leaving
[2010/02/16 10:37:35] @ boomshankerx joined channel #puppet
[2010/02/16 10:37:50] <sts> pastamancer: it's actually just reformating the config file and putting it in an eval so it defines everything from puppet.conf in shell variables.
[2010/02/16 10:39:56] @ rmiller4pi8 joined channel #puppet
[2010/02/16 10:39:59] <pastamancer> do you need to be concerned about puppetmasterd trying to read the config during sync_branch_deploy, between the rm and the mv?
[2010/02/16 10:42:23] @ Quit: PsychoSid: Quit: Leaving.
[2010/02/16 10:51:09] @ notbrien joined channel #puppet
[2010/02/16 10:51:22] @ kolla joined channel #puppet
[2010/02/16 10:51:22] <sts> pastamancer: well, i could change it to just stop puppetmaster while reloading it's config.
[2010/02/16 10:51:35] <sts> pastamancer: but i didn't expect any problems with this jet.
[2010/02/16 10:51:37] <sts> yet
[2010/02/16 10:56:03] @ nigelk joined channel #puppet
[2010/02/16 10:58:33] @ venturaville joined channel #puppet
[2010/02/16 11:01:52] @ Quit: giskard: Remote host closed the connection
[2010/02/16 11:04:26] @ eshamow joined channel #puppet
[2010/02/16 11:09:09] @ Quit: nareshov: Quit: Leaving
[2010/02/16 11:12:57] @ benkevan joined channel #puppet
[2010/02/16 11:13:08] @ Quit: verwilst: Quit: Ex-Chat
[2010/02/16 11:17:56] @ Quit: mvn071: Remote host closed the connection
[2010/02/16 11:18:01] @ giskard joined channel #puppet
[2010/02/16 11:22:26] @ Quit: serverhorror: Remote host closed the connection
[2010/02/16 11:25:14] @ happymcplaksin joined channel #puppet
[2010/02/16 11:25:36] @ happymcplaksin left channel #puppet ()
[2010/02/16 11:26:48] @ erm_ joined channel #puppet
[2010/02/16 11:27:25] @ littleidea joined channel #puppet
[2010/02/16 11:32:16] @ Quit: bobbyz: Ping timeout: 245 seconds
[2010/02/16 11:34:11] @ cmoates joined channel #puppet
[2010/02/16 11:35:09] @ Quit: mqr: Quit: mqr
[2010/02/16 11:39:41] @ bobbyz joined channel #puppet
[2010/02/16 11:40:03] @ Quit: fdz: Quit: Leaving.
[2010/02/16 11:41:55] @ lilmatt joined channel #puppet
[2010/02/16 11:42:00] @ HouseAway is now known as DrHouseMD
[2010/02/16 11:43:58] @ Quit: pacalm: Quit: pacalm
[2010/02/16 11:44:27] @ Quit: bobbyz: Ping timeout: 256 seconds
[2010/02/16 11:44:58] @ Quit: MattyM: Quit: ta ta
[2010/02/16 11:49:38] @ Quit: cmoates: Quit: Leaving
[2010/02/16 11:50:38] @ rgsteele joined channel #puppet
[2010/02/16 11:52:11] @ Quit: Ramonster: Quit: Get MacIrssi - http://www.sysctl.co.uk/projects/macirssi/
[2010/02/16 11:53:20] @ cmoates joined channel #puppet
[2010/02/16 11:54:07] @ tonyskapunk joined channel #puppet
[2010/02/16 11:55:03] @ autowidget joined channel #puppet
[2010/02/16 11:58:23] @ nigelk left channel #puppet ()
[2010/02/16 11:58:29] @ nigelk joined channel #puppet
[2010/02/16 11:58:29] @ nigelk left channel #puppet ()
[2010/02/16 12:00:25] @ nigelk joined channel #puppet
[2010/02/16 12:01:19] @ tuf joined channel #puppet
[2010/02/16 12:01:19] @ Quit: ckauhaus: Quit: Leaving.
[2010/02/16 12:01:59] @ alfism joined channel #puppet
[2010/02/16 12:05:13] @ Quit: tonyskapunk: Remote host closed the connection
[2010/02/16 12:05:37] @ tonyskapunk joined channel #puppet
[2010/02/16 12:06:12] @ labrown joined channel #puppet
[2010/02/16 12:09:06] @ Quit: jaredrhine: Ping timeout: 240 seconds
[2010/02/16 12:10:22] @ Quit: alban2: Ping timeout: 265 seconds
[2010/02/16 12:11:45] @ bobbyz joined channel #puppet
[2010/02/16 12:13:30] @ Pirate_Hunter joined channel #puppet
[2010/02/16 12:14:38] @ j00bar joined channel #puppet
[2010/02/16 12:14:40] @ Quit: tonyskapunk: Remote host closed the connection
[2010/02/16 12:15:52] <j00bar> with 0.24.8, i'm having a little trouble fileserving from modules... in /etc/puppet/modules/mymodule/files/ i have a particular file referenced in a manifest as puppet:///mymodule/myfile
[2010/02/16 12:15:55] <j00bar> logs report:
[2010/02/16 12:16:17] <j00bar> Failed to retrieve current state of resource: No specified source was found from puppet:///mymodule/myfile
[2010/02/16 12:16:44] <j00bar> i'm not sure what to interpret this error to mean -- is my syntax wrong for my uri?
[2010/02/16 12:19:13] <masterzen> j00bar: it might be a permission problem on the puppetmaster.
[2010/02/16 12:19:29] @ tonyskapunk joined channel #puppet
[2010/02/16 12:19:33] @ Quit: tonyskapunk: Remote host closed the connection
[2010/02/16 12:21:04] <j00bar> masterzen: *facepalm* thank you for curing me of my idiocy.
[2010/02/16 12:22:21] @ tonyskapunk joined channel #puppet
[2010/02/16 12:24:06] @ Quit: bobbyz: Ping timeout: 276 seconds
[2010/02/16 12:25:52] @ Quit: tonyskapunk: Remote host closed the connection
[2010/02/16 12:26:22] @ tonyskapunk joined channel #puppet
[2010/02/16 12:27:12] @ bobbyz joined channel #puppet
[2010/02/16 12:30:11] @ mqr joined channel #puppet
[2010/02/16 12:33:14] @ Quit: vad3R: Read error: Operation timed out
[2010/02/16 12:38:14] @ Quit: shadoi: Quit: Leaving.
[2010/02/16 12:38:39] @ shadoi joined channel #puppet
[2010/02/16 12:39:11] <j00bar> with an exec type and the onlyif parameter, it says the exec will run when the onlyif returns zero and when the onlyif returns true.
[2010/02/16 12:39:26] <j00bar> it being the docs
[2010/02/16 12:39:45] @ Bryce_ joined channel #puppet
[2010/02/16 12:39:54] <j00bar> both of which in sh are 0
[2010/02/16 12:40:10] <j00bar> i've got an onlyif that returns 1, but the exec appears to still be running
[2010/02/16 12:43:41] <nigelk> j00bar: what's the onlyif statement?
[2010/02/16 12:43:55] <j00bar> onlyif => "/usr/bin/apt-key list | /bin/grep -F C2BBBA93 | /usr/bin/wc -l",
[2010/02/16 12:44:16] <nigelk> that won't exit 1
[2010/02/16 12:44:20] <nigelk> will it?
[2010/02/16 12:44:26] <j00bar> oh shit
[2010/02/16 12:44:30] <j00bar> i was thinking stdout
[2010/02/16 12:44:34] <nigelk> :)
[2010/02/16 12:44:41] <j00bar> masterzen: i lied. my idiocy persists.
[2010/02/16 12:44:55] <nigelk> I'd use grep -q
[2010/02/16 12:45:12] @ Quit: C00l_Sam03: Quit: ChatZilla 0.9.85 [Firefox 3.5.2/20090729225027]
[2010/02/16 12:45:18] <nigelk> we should add that to the docs I reckon
[2010/02/16 12:45:44] <nigelk> calling out "this is *not* stdout, it is the exit status" as this is a common issue
[2010/02/16 12:49:40] @ sjefen6 joined channel #puppet
[2010/02/16 12:51:25] @ Quit: Guest76985: Remote host closed the connection
[2010/02/16 12:51:36] @ Quit: lilmatt: Quit: lilmatt
[2010/02/16 12:52:02] @ Quit: mqr: Ping timeout: 256 seconds
[2010/02/16 12:55:54] @ Quit: skiold: Ping timeout: 240 seconds
[2010/02/16 12:55:55] @ Quit: sjefen6: Read error: Connection reset by peer
[2010/02/16 12:56:52] @ dirtyalpaca joined channel #puppet
[2010/02/16 12:57:17] <dirtyalpaca> hi all
[2010/02/16 12:57:27] @ skiold joined channel #puppet
[2010/02/16 12:58:06] @ toi joined channel #puppet
[2010/02/16 12:58:14] <dirtyalpaca> i keeping getting the "Cannot request certificate: undefined method `closed?' for nil:NilClass" error on 0.25.4 on CentOS 5.4
[2010/02/16 12:58:26] @ jes5 joined channel #puppet
[2010/02/16 12:58:31] <dirtyalpaca> checked DNS and hostnames on both servers and everything seems to be good
[2010/02/16 13:00:44] @ gaveen joined channel #puppet
[2010/02/16 13:01:25] <dirtyalpaca> i'm getting this on a virtual machine setup on my workstation as well as fresh servers on rackspace cloud
[2010/02/16 13:01:50] <j00bar> nigelk: but how would you invert that
[2010/02/16 13:02:01] <j00bar> i want a return of zero if nothing is found, not if anything is found
[2010/02/16 13:02:02] <nigelk> j00bar: grep -qv
[2010/02/16 13:02:30] <j00bar> nigelk: isn't that going to return zero if there are any lines that don't have the match?
[2010/02/16 13:03:00] <nigelk> um. maybe? :) what was your command again? ... /me goes back
[2010/02/16 13:03:14] <j00bar> i want to run a command if a certain key is not in the apt keychain...
[2010/02/16 13:03:32] <j00bar> onlyif => "/usr/bin/apt-key list | /bin/grep -F C2BBBA93 | /usr/bin/wc -l",
[2010/02/16 13:03:37] <j00bar> (which is wrong)
[2010/02/16 13:04:03] <j00bar> if i get rid of the wc -l and do grep with -v, it will return true if there are any lines lacking the key id
[2010/02/16 13:04:05] <j00bar> which there are
[2010/02/16 13:04:21] <nigelk> j00bar: switch to unless rather than onlyif
[2010/02/16 13:04:30] <j00bar> *facepalm*
[2010/02/16 13:04:33] <nigelk> :)
[2010/02/16 13:04:41] <nigelk> I had to think about it for a second too :)
[2010/02/16 13:04:53] <j00bar> wasn't aware of there being an unless
[2010/02/16 13:04:58] <j00bar> btw, what happened to the skinning of the docs?
[2010/02/16 13:05:11] <j00bar> the style-less html is really much harder to read.
[2010/02/16 13:05:55] <nigelk> this stuff? http://docs.reductivelabs.com/references/0.25.1rc2/type.html ?
[2010/02/16 13:05:58] <nigelk> it is a bit
[2010/02/16 13:06:10] <nigelk> not sure what they're doing there
[2010/02/16 13:06:19] @ jaredrhine joined channel #puppet
[2010/02/16 13:06:20] <j00bar> and the various trac wiki pages for the references now all redirect there.
[2010/02/16 13:06:44] @ ckauhaus joined channel #puppet
[2010/02/16 13:07:01] @ Quit: ckauhaus: Client Quit
[2010/02/16 13:07:32] <dirtyalpaca> do my subdomains need to be set via A-records?
[2010/02/16 13:07:53] <dirtyalpaca> (for the puppetmaster and puppet client servers)
[2010/02/16 13:08:07] @ lilmatt joined channel #puppet
[2010/02/16 13:10:05] @ venturaville left channel #puppet ()
[2010/02/16 13:18:25] @ allsystemsarego joined channel #puppet
[2010/02/16 13:23:38] <silfreed> I'm using puppet 0.24.8 and was under the impression that I could specify the "title" attribute to definitions without adding it as a parameter to the define; I'm getting "err: Could not retrieve catalog: <definition_name> does not accept attribute title"
[2010/02/16 13:23:54] @ Spruit_elf joined channel #puppet
[2010/02/16 13:24:47] <dirtyalpaca> nobody's been getting that nil error with 0.25.4 lately?
[2010/02/16 13:25:40] <explody> eric0: hey cool, thanks. although, that doesn't cover setting up the directory servers for native auth/contacts
[2010/02/16 13:25:58] @ sjefen6 joined channel #puppet
[2010/02/16 13:26:02] @ Quit: \ask: Remote host closed the connection
[2010/02/16 13:26:29] @ Quit: sjefen6: Remote host closed the connection
[2010/02/16 13:28:27] @ Quit: giskard: Remote host closed the connection
[2010/02/16 13:29:39] @ Quit: Pirate_Hunter: Ping timeout: 246 seconds
[2010/02/16 13:30:17] @ Pirate_Hunter joined channel #puppet
[2010/02/16 13:31:16] <murkk> anybody here been using dashboard?
[2010/02/16 13:32:04] @ Quit: p3rror: Quit: Quitte
[2010/02/16 13:32:05] <axisys> how do I generate a html output w/ puppetdoc ? i tried to create a pdf format and then may be using pdf2html (??) .. but creating a pdf format is failing too like this
[2010/02/16 13:32:08] <axisys> puppetdoc -m pdf
[2010/02/16 13:32:11] <axisys> creating pdf
[2010/02/16 13:32:13] <axisys> /usr/lib/ruby/1.8/puppet/util/reference.rb:47:in `pdf': Could not find rst2latex (RuntimeError)
[2010/02/16 13:32:16] <axisys> from /usr/bin/puppetdoc:249
[2010/02/16 13:32:17] @ sjefen6 joined channel #puppet
[2010/02/16 13:32:23] @ ambroff joined channel #puppet
[2010/02/16 13:33:24] @ Quit: Spruit_elf: Remote host closed the connection
[2010/02/16 13:33:44] @ Spruit_elf joined channel #puppet
[2010/02/16 13:38:14] @ paxos joined channel #puppet
[2010/02/16 13:45:01] @ Quit: tonyskapunk: Remote host closed the connection
[2010/02/16 13:45:24] @ joe-mac joined channel #puppet
[2010/02/16 13:48:39] @ Quit: robinbowes: Read error: Connection reset by peer
[2010/02/16 13:50:35] @ Quit: mattwynne: Remote host closed the connection
[2010/02/16 13:51:37] @ mattwynne joined channel #puppet
[2010/02/16 13:53:23] @ \ask joined channel #puppet
[2010/02/16 13:54:32] <dirtyalpaca> anyone around right now?
[2010/02/16 13:55:08] @ alban2 joined channel #puppet
[2010/02/16 13:55:14] @ Quit: RageLink: Quit: up up and away
[2010/02/16 13:56:26] @ Quit: mattwynne: Ping timeout: 245 seconds
[2010/02/16 13:59:36] @ allsystemsarego_ joined channel #puppet
[2010/02/16 13:59:41] <nDuff> dirtyalpaca, "around" is such a variable thing. If someone asks an interesting question that I'm qualified to answer, I'm around. Otherwise, I'm not.
[2010/02/16 13:59:53] <dirtyalpaca> lol
[2010/02/16 13:59:54] <nDuff> dirtyalpaca, ...ask your question, don't ask who's around.
[2010/02/16 14:00:12] <dirtyalpaca> i'm getting the nomethoderror closed? on nil
[2010/02/16 14:00:14] <dirtyalpaca> fresh system
[2010/02/16 14:00:35] <dirtyalpaca> the only thing i could find on it was issue #3101
[2010/02/16 14:00:36] <gepetto> dirtyalpaca: #3101 is http://projects.reductivelabs.com/issues/show/3101 "Puppet - Bug #3101: Unhelpful message "undefined method `closed?' for nil:NilClass" when DNS misconfigured - ReductiveLabs.com"
[2010/02/16 14:00:50] <dirtyalpaca> yeah.. everything with my DNS seems fine
[2010/02/16 14:01:01] @ Quit: allsystemsarego: Ping timeout: 245 seconds
[2010/02/16 14:01:07] <nDuff> sounds like you've got a null pointer where a file object is expected -- pastebinning a stack trace and (even better) a minimal configuration that reproduces the issue would be useful.
[2010/02/16 14:01:11] * axisys goesback
[2010/02/16 14:01:13] * axisys goes back
[2010/02/16 14:01:31] @ Quit: Pirate_Hunter: Quit: Oh nO! wHo pUlleD ThE pLUg?
[2010/02/16 14:01:45] <dirtyalpaca> how do i get the stacktrace? i inserted Puppet[:trace] into the puppetd script but i don't get anything
[2010/02/16 14:01:45] @ jcape joined channel #puppet
[2010/02/16 14:02:31] @ Quit: allsystemsarego_: Client Quit
[2010/02/16 14:02:31] <dirtyalpaca> i installed via the gem on a rubygems 1.3.5 and ruby 1.8.7-p249 on centos 5.4
[2010/02/16 14:02:38] @ allsystemsarego joined channel #puppet
[2010/02/16 14:03:27] <explody> dirtyalpaca: run whichever program you're running (puppetd, puppetmasterd, etc.) with "--debug --trace"
[2010/02/16 14:04:22] <dirtyalpaca> http://pastie.org/827557
[2010/02/16 14:06:07] @ giskard joined channel #puppet
[2010/02/16 14:09:41] <dirtyalpaca> that's with those flags... am i missing something?
[2010/02/16 14:11:23] @ tonyskapunk joined channel #puppet
[2010/02/16 14:18:14] @ vad3R joined channel #puppet
[2010/02/16 14:19:18] @ Quit: bobbyz: Ping timeout: 256 seconds
[2010/02/16 14:19:35] @ bobbyz joined channel #puppet
[2010/02/16 14:25:33] <jcape> Anyone know how to unset a file source in a subclass?
[2010/02/16 14:26:01] @ jcape left channel #puppet ()
[2010/02/16 14:26:11] @ jcape joined channel #puppet
[2010/02/16 14:27:05] <nDuff> dirtyalpaca, oh -- it's happening on "could not request certificate"? That puts a different spin on things -- makes the ticket you pointed to and its kin seem very relevant.
[2010/02/16 14:27:22] <dirtyalpaca> ah
[2010/02/16 14:27:42] <dirtyalpaca> is there something in like /etc/hosts or something i might need to set or change?
[2010/02/16 14:28:30] @ wagner joined channel #puppet
[2010/02/16 14:28:45] <dirtyalpaca> explody: passing --trace to puppetd doesn't seem to do anything
[2010/02/16 14:29:44] <wagner> we just upgraded from 0.25.2 -> 0.25.4 and it seems to be appending a domain onto the clients hostname when trying to puppetrun
[2010/02/16 14:30:14] <nDuff> *shrug*. Personally, I'd use ltrace to follow the library call that the ruby interpreter is using to do its DNS lookup, but that's just me -- I tend to dive low-level quickly.
[2010/02/16 14:30:30] <nDuff> ...more to the point, I don't have time right now to help someone else take that same approach.
[2010/02/16 14:30:41] @ Quit: n0ts: Ping timeout: 260 seconds
[2010/02/16 14:30:54] <dirtyalpaca> well thanks for the hint :)
[2010/02/16 14:31:02] <joe-mac> puppetrun needs a lot of work like mike dehaan has said on the ML
[2010/02/16 14:31:43] <joe-mac> i try not ot use it honestly, kicking off restarts i do via cap but my env is small and that doesn't scale. big environments it's better to use a message broker like Volcane's mcollective i'd say
[2010/02/16 14:32:34] <|Mike|> link?
[2010/02/16 14:33:14] <joe-mac> |Mike|: to which? mcollective? www.devco.net/s?mcollective i think
[2010/02/16 14:33:46] <dirtyalpaca> if my puppetmaster is residing on a subdomain, does that subdomain need to be an A-record?
[2010/02/16 14:34:20] <joe-mac> dirtyalpaca: i don't really make A records for domains, it's a little weird... are you having a problem?
[2010/02/16 14:34:50] <dirtyalpaca> joe-mac: yeah i'm getting this: http://pastie.org/827557
[2010/02/16 14:35:14] <dirtyalpaca> CentOS 5.4, puppet 0.25.4, ruby 1.8.7p249
[2010/02/16 14:35:23] @ n0ts joined channel #puppet
[2010/02/16 14:35:31] <dirtyalpaca> the only thing i've found close to the problem was issue #3101
[2010/02/16 14:35:31] <gepetto> dirtyalpaca: #3101 is http://projects.reductivelabs.com/issues/show/3101 "Puppet - Bug #3101: Unhelpful message "undefined method `closed?' for nil:NilClass" when DNS misconfigured - ReductiveLabs.com"
[2010/02/16 14:35:48] @ Quit: jaredrhine: Ping timeout: 246 seconds
[2010/02/16 14:36:38] <dirtyalpaca> joe-mac: for some reason i only get that output i put in the pastie too even when i add --trace
[2010/02/16 14:37:44] @ Quit: tonyskapunk: Remote host closed the connection
[2010/02/16 14:37:49] <dirtyalpaca> joe-mac: reverse dns points to the correct hostname as well, if that might make a difference
[2010/02/16 14:38:55] @ tonyskapunk joined channel #puppet
[2010/02/16 14:39:02] @ Quit: rcrowley: Quit: rcrowley
[2010/02/16 14:44:42] @ jbeez joined channel #puppet
[2010/02/16 14:44:43] @ Quit: tonyskapunk: Remote host closed the connection
[2010/02/16 14:44:46] <jbeez> HI
[2010/02/16 14:45:02] <|Mike|> ih.
[2010/02/16 14:45:43] @ spencert joined channel #puppet
[2010/02/16 14:46:19] <wagner> no one else has had problems with puppetrun appending a domain to the client hostnames?
[2010/02/16 14:47:06] <paxos> wagner: I think there is a flag to prevent that
[2010/02/16 14:47:16] <joe-mac> wagner: so, you enter "puppetrun -d hostname" without domain and it appends it
[2010/02/16 14:47:17] <jbeez> its the canadian flag
[2010/02/16 14:47:23] <spencert> question: can you use an if { } else { } statement inside of a resource type?
[2010/02/16 14:47:30] <joe-mac> if so, sounds like a feature not a bug
[2010/02/16 14:47:30] <|Mike|> y
[2010/02/16 14:47:46] <joe-mac> spencert: no, but we have 'selectors' for that
[2010/02/16 14:47:56] <joe-mac> wiki:LanguageTutorial
[2010/02/16 14:47:57] <gepetto> joe-mac: wiki: wiki:LanguageTutorial is http://reductivelabs.com/trac/puppet/wiki/LanguageTutorial
[2010/02/16 14:48:04] <joe-mac> search for "Conditionals" and look at Selectors
[2010/02/16 14:48:25] <paxos> wagner: try using --no-fqdn
[2010/02/16 14:48:31] <paxos> wagner: let me know if that helps
[2010/02/16 14:48:51] <wagner> paxos: ah that worked. many thanks
[2010/02/16 14:49:01] @ ohadlevy joined channel #puppet
[2010/02/16 14:49:01] <paxos> wagner: great!
[2010/02/16 14:49:10] <dirtyalpaca> what could be the problem if the puppetmaster is running yet netstat -npl doesn't turn up anything listening on port 8140
[2010/02/16 14:49:14] <spencert> ah, yea, I have used selectors in the past, did not think of them in this problem, focused on if { } else {} instead.
[2010/02/16 14:49:15] <spencert> thanks!
[2010/02/16 14:49:32] @ Quit: bobbyz: Ping timeout: 252 seconds
[2010/02/16 14:50:14] @ bobbyz joined channel #puppet
[2010/02/16 14:52:45] <spencert> in this example, http://reductivelabs.com/trac/puppet/wiki/LanguageTutorial#selectors they use $operatingsystem (which comes from facter) can I use a variable that comes from within the node {} scope?
[2010/02/16 14:53:10] <spencert> that I define? specifically $oracle_u01 = true ?
[2010/02/16 14:53:21] @ jaredrhine joined channel #puppet
[2010/02/16 14:53:27] <ohadlevy> spencert: sure
[2010/02/16 14:53:48] <spencert> excellent,
[2010/02/16 14:56:07] <spencert> bbl, meeting about annual performance reviews... wish me luck!
[2010/02/16 14:56:08] @ qwebirc50950 joined channel #puppet
[2010/02/16 14:57:27] @ Quit: qwebirc50950: Client Quit
[2010/02/16 14:59:17] @ Quit: vad3R: Quit: vad3R
[2010/02/16 15:03:57] @ Quit: jcape: Ping timeout: 252 seconds
[2010/02/16 15:05:12] @ Quit: ohadlevy: Ping timeout: 256 seconds
[2010/02/16 15:05:52] <dan__t> Can someone help me track this one down please: http://pastebin.com/mdef428a
[2010/02/16 15:06:03] @ mattwynne joined channel #puppet
[2010/02/16 15:06:18] <dan__t> It won't work the first time around, but on the second pass, it works.
[2010/02/16 15:07:43] @ Quit: cynicismic: Quit: leaving
[2010/02/16 15:16:34] @ tonyskapunk joined channel #puppet
[2010/02/16 15:18:38] @ Quit: erm_: Ping timeout: 258 seconds
[2010/02/16 15:19:25] @ qwebirc79022 joined channel #puppet
[2010/02/16 15:19:46] @ Quit: qwebirc79022: Client Quit
[2010/02/16 15:20:03] @ erm_ joined channel #puppet
[2010/02/16 15:20:42] @ Quit: erm_: Client Quit
[2010/02/16 15:27:31] @ blahdeblah joined channel #puppet
[2010/02/16 15:37:49] @ Boney joined channel #puppet
[2010/02/16 15:39:54] @ Quit: mfournier: Ping timeout: 240 seconds
[2010/02/16 15:41:38] @ RageLink joined channel #puppet
[2010/02/16 15:44:49] @ plathrop-away is now known as plathrop
[2010/02/16 15:47:52] @ Quit: kaptk2: Quit: Leaving.
[2010/02/16 15:50:42] @ Quit: bug: Quit: bug
[2010/02/16 15:51:28] @ Quit: tyll: Quit: leaving
[2010/02/16 15:53:45] @ kaptk2 joined channel #puppet
[2010/02/16 15:55:27] @ Quit: autowidget: Quit: autowidget
[2010/02/16 15:59:21] @ Quit: dirtyalpaca: Ping timeout: 260 seconds
[2010/02/16 15:59:27] @ Quit: mattwynne: Ping timeout: 256 seconds
[2010/02/16 16:00:21] @ WALoeIII joined channel #puppet
[2010/02/16 16:00:33] @ autowidget joined channel #puppet
[2010/02/16 16:00:50] @ dirtyalpaca joined channel #puppet
[2010/02/16 16:04:27] @ zahna joined channel #puppet
[2010/02/16 16:05:17] <zahna> specifying "ensure => directory, recurse => true" will ensure the entire directory path exists, right?
[2010/02/16 16:05:35] <zahna> i'm not seeing the answer in the docs
[2010/02/16 16:05:55] <nDuff> zahna, recurse goes down the tree, not up it.
[2010/02/16 16:06:04] <nDuff> (IIRC)
[2010/02/16 16:06:50] <zahna> i thought there was something i could specify that was equivalent to mkdir -p
[2010/02/16 16:07:35] * nDuff doesn't know of such a thing.
[2010/02/16 16:07:43] <Volcane> mkdir -p is non deterministic
[2010/02/16 16:07:43] <hggh> zahna: no. you have to use file { "/tmp/foo": ensure => directory; "/tmp/foo/bar": ensure => directory; }
[2010/02/16 16:08:02] <zahna> i guess i'm remembering incorrectly
[2010/02/16 16:08:08] <Volcane> hggh: file{["/one", "/one/two", "/one/two/three"]: ensure => directory}
[2010/02/16 16:08:30] <hggh> ups. Volcane's is better
[2010/02/16 16:08:37] <plathrop> zahna: yeah, you are remembering incorrectly. Long-standing request that seems trivial on the surface but isn't once you dive in.
[2010/02/16 16:08:48] <zahna> Volcane: other than syntax, is that actually executed differently?
[2010/02/16 16:09:03] <Volcane> zahna: nope, identical to hggh's
[2010/02/16 16:09:16] <hggh> but shorter :)
[2010/02/16 16:10:18] <zahna> ok, well i'm glad i asked and didn't keep searching the docs
[2010/02/16 16:10:30] @ Quit: skiold: Quit: skiold
[2010/02/16 16:10:42] <Volcane> zahna: see #86 i think
[2010/02/16 16:10:43] <gepetto> Volcane: zahna: #86 is http://projects.reductivelabs.com/issues/show/86 "Puppet - Feature #86: Directory creation fails if parent directory does not exist - ReductiveLabs.com"
[2010/02/16 16:12:11] <zahna> oh wow, the problem defeated plathrop
[2010/02/16 16:12:48] <plathrop> zahna: yeah, it turns out to be a poorly-defined problem. mkdir -p actually does it in a way I'd consider "wrong"
[2010/02/16 16:13:14] <plathrop> Or rather, it makes assumptions that wouldn't fit well into the puppet model I think
[2010/02/16 16:13:48] <zahna> gotcha
[2010/02/16 16:14:25] @ skiold joined channel #puppet
[2010/02/16 16:14:53] <plathrop> Like if you have a resource file { "/one/two/three": ensure => directory, recurse => true, owner => "zahna" } how do you set permissions on /one and /two?
[2010/02/16 16:14:55] <Volcane> very deceptively complex :)
[2010/02/16 16:15:05] <plathrop> sorry /one and /one/two
[2010/02/16 16:15:43] <zahna> plathrop: yeah, i see what you mean.
[2010/02/16 16:15:57] <zahna> the ambiguity isn't good
[2010/02/16 16:16:28] @ Djelibeybi joined channel #puppet
[2010/02/16 16:20:58] @ Quit: duritong: Quit: leaving
[2010/02/16 16:21:15] @ duritong joined channel #puppet
[2010/02/16 16:22:29] @ Quit: allsystemsarego: Quit: Leaving
[2010/02/16 16:22:48] <paxos> plathrop: I'd have seperate file {} types for all the parent directories, using the require resource type to tie them together in the correct order
[2010/02/16 16:23:22] <Spruit_elf> paxos: actualy i think puppet handles requires autmaticaly for directories
[2010/02/16 16:23:49] <Spruit_elf> so /one/two always requires /one (if defined)
[2010/02/16 16:24:05] <paxos> smart!
[2010/02/16 16:24:23] <Spruit_elf> im not sure though, i thought i saw that somewhere
[2010/02/16 16:24:46] <Spruit_elf> never had a problem either though
[2010/02/16 16:25:08] <Volcane> paxos: it auto requires yes.
[2010/02/16 16:25:29] <Volcane> paxos: it also requires users if you do say file{.... owner => "foo"} etc
[2010/02/16 16:25:51] <Spruit_elf> hmm thats nice (kinda logical but still)
[2010/02/16 16:25:54] @ Quit: duritong: Client Quit
[2010/02/16 16:26:24] <Spruit_elf> Volcane: do you know if puppet also realizes them automaticaly?
[2010/02/16 16:26:24] @ duritong joined channel #puppet
[2010/02/16 16:26:30] <Volcane> it doesnt
[2010/02/16 16:26:37] <Spruit_elf> hmm
[2010/02/16 16:26:40] <plathrop> paxos: yes, that's the correct way
[2010/02/16 16:27:39] @ Quit: boomshankerx: Quit: Leaving
[2010/02/16 16:31:19] @ webx joined channel #puppet
[2010/02/16 16:32:17] <webx> http://pastie.org/827866
[2010/02/16 16:32:26] <webx> any idea how I can fix that ?
[2010/02/16 16:33:00] @ OpenMedia joined channel #puppet
[2010/02/16 16:34:31] <webx> nm.. looks like someone installed ruby from source
[2010/02/16 16:34:32] <webx> awesome
[2010/02/16 16:35:58] <joe-mac> yea, path problem
[2010/02/16 16:41:02] @ fzzzt joined channel #puppet
[2010/02/16 16:41:11] <fzzzt> hello.
[2010/02/16 16:41:32] @ jfreeman joined channel #puppet
[2010/02/16 16:41:59] @ vad3R joined channel #puppet
[2010/02/16 16:42:04] <plathrop> yo
[2010/02/16 16:42:16] <fzzzt> I'm trying to manually add a new client (certs). Which files does the server need? Is it just ca/signed/domain.pem? It doesn't need the private key I wouldn't think
[2010/02/16 16:43:08] @ mfournier joined channel #puppet
[2010/02/16 16:43:41] <cm1> puppetca --list ; puppetca --sign name-of-client
[2010/02/16 16:44:54] <fzzzt> I know, that's not what I'm looking for
[2010/02/16 16:44:58] @ lak joined channel #puppet
[2010/02/16 16:45:58] @ bug joined channel #puppet
[2010/02/16 16:47:37] @ Quit: rgsteele: Remote host closed the connection
[2010/02/16 16:49:57] @ Quit: toi: Ping timeout: 276 seconds
[2010/02/16 16:51:00] @ Quit: kolla: Remote host closed the connection
[2010/02/16 16:53:10] @ Quit: artista_frustrad: Ping timeout: 272 seconds
[2010/02/16 16:53:52] @ Spruit_elf_ joined channel #puppet
[2010/02/16 16:58:09] @ Quit: Spruit_elf: Ping timeout: 260 seconds
[2010/02/16 16:58:09] @ Spruit_elf_ is now known as Spruit_elf
[2010/02/16 17:00:01] @ jcape joined channel #puppet
[2010/02/16 17:00:37] @ Quit: webx: Quit: ..(cyp): [BX] Abort Retry Fail
[2010/02/16 17:01:33] @ windowsrefund joined channel #puppet
[2010/02/16 17:01:35] <windowsrefund> greets
[2010/02/16 17:01:45] <windowsrefund> does anyone have a screenshot of puppet-reporter?
[2010/02/16 17:02:13] @ jusfreeman joined channel #puppet
[2010/02/16 17:02:16] @ Quit: jfreeman: Ping timeout: 252 seconds
[2010/02/16 17:02:55] @ Quit: gebi: Ping timeout: 256 seconds
[2010/02/16 17:03:44] @ Quit: labrown: Quit: Leaving
[2010/02/16 17:05:19] @ bodepd joined channel #puppet
[2010/02/16 17:05:33] <dan__t> I hate VMware.
[2010/02/16 17:05:38] <dan__t> Browser plugin sucks. Ass. Hardcore.
[2010/02/16 17:05:45] <dan__t> Xen is leaving RedHat-based stuff
[2010/02/16 17:05:55] <dan__t> KVM in large part requires vmx/vt, which I don't have.
[2010/02/16 17:05:56] @ Quit: bug: Quit: bug
[2010/02/16 17:06:07] <dan__t> <rock> dan__t <hard_place>
[2010/02/16 17:06:10] @ artista_frustrad joined channel #puppet
[2010/02/16 17:06:34] <fzzzt> the new vmware free stuff blows
[2010/02/16 17:06:40] <fzzzt> the web ui
[2010/02/16 17:06:46] @ Quit: Djelibeybi: Quit: Leaving
[2010/02/16 17:06:52] <fzzzt> i liked the old standalone app better
[2010/02/16 17:06:55] <windowsrefund> well vmware sucks regardless of how much it sucks just because it is non-free
[2010/02/16 17:07:06] <fzzzt> i use it for free
[2010/02/16 17:07:10] <dan__t> Your non-free argument is moot.
[2010/02/16 17:07:12] <fzzzt> esxi4
[2010/02/16 17:07:27] <windowsrefund> fzzzt: but you don't use it in freedom
[2010/02/16 17:07:28] <dan__t> It works. Its "free". Show me a Xen or KVM install that works out of the box and appeases everyone.
[2010/02/16 17:07:30] <windowsrefund> big difference
[2010/02/16 17:07:33] <fzzzt> vsphere is a bit slow but i find it acceptable
[2010/02/16 17:07:55] <fzzzt> (the ui)
[2010/02/16 17:08:06] <windowsrefund> dan__t: "works" is a subjective term
[2010/02/16 17:08:31] <windowsrefund> but the issue of providing freedoms 0-3 are not
[2010/02/16 17:08:32] <dan__t> I'm not going to play the whole FOSS zealot game, that's retarded. I understand what it entails just as much as anyone else. That's not my point.
[2010/02/16 17:08:43] <windowsrefund> then don't argue against it
[2010/02/16 17:08:48] <dan__t> I'm looking for something that does EVERYTHING that I want it to, I don't give a shit if it costs $0, $beer, or $5M.
[2010/02/16 17:08:54] <fzzzt> freedoms 0-3? O_o
[2010/02/16 17:09:19] <windowsrefund> dan__t: and in my opinion, you need to get your priorities in order
[2010/02/16 17:09:21] <fzzzt> what isn't it doing for you?
[2010/02/16 17:09:21] * Volcane distinctly recall windowsrefund being asked to take his bigotry elsewhere
[2010/02/16 17:09:30] <dan__t> I need a bigger budget to get rid of this shitty hardware so I can use KVM. That will solve all the problems.
[2010/02/16 17:09:45] * windowsrefund looks at Volcane
[2010/02/16 17:09:47] <windowsrefund> problem?
[2010/02/16 17:09:54] <dan__t> Dickery.
[2010/02/16 17:10:57] <windowsrefund> anyway, back to my original question
[2010/02/16 17:11:00] <dan__t> Volcane, you coming anywhere close to Phoenix soon?
[2010/02/16 17:11:11] <windowsrefund> anyone have screenshot of puppet-reporter?
[2010/02/16 17:11:12] <Volcane> dan__t: not sure, its a long way off :)
[2010/02/16 17:11:38] <Volcane> dan__t: and the terrorist services of america seem to make it their mission to make it suck coming there
[2010/02/16 17:11:49] <dan__t> Yeah we're good at that.
[2010/02/16 17:12:18] <dan__t> I've been having a difficult time getting a passport. I can't help but think its because of that time I was flying back from Kansas City and had to use the restroom.
[2010/02/16 17:12:35] <Volcane> dan__t: lol
[2010/02/16 17:13:01] <dan__t> When you're in there for 10 minutes because you're really messed up, and the flight attendant says "Sir, if you don't come out of there we're going to have to come in there", and you respond with "Go ahead", I think they put some note down with regards to you being a terrorist?
[2010/02/16 17:13:03] <jrojas> windowsrefund: look at puppet-dashboard
[2010/02/16 17:13:36] <dan__t> I enjoyed talking to the TSA when I got off the flight. It was a grand experience.
[2010/02/16 17:13:47] @ bug joined channel #puppet
[2010/02/16 17:13:48] <windowsrefund> jrojas: yea that's a much bigger animal
[2010/02/16 17:14:04] <windowsrefund> I'd be happy to just get a better idea of what puppet-reporter actually does
[2010/02/16 17:14:10] <dan__t> Why not test it?
[2010/02/16 17:14:13] <windowsrefund> I don't need an external nodes tool and all that
[2010/02/16 17:14:14] <dan__t> Where's your dev environment?
[2010/02/16 17:14:19] <jrojas> windowsrefund: unless there is a public repo of it, i dont think it exists.
[2010/02/16 17:14:21] <windowsrefund> this guy
[2010/02/16 17:14:27] <windowsrefund> dan__t: just go away already
[2010/02/16 17:15:03] <dan__t> I'm not being a douche on purpose, I'm asking, why don't you just give it a spin?
[2010/02/16 17:15:03] <windowsrefund> jrojas: I'm talking about the one on github
[2010/02/16 17:15:24] <jrojas> * This is pre-alpha quality software. Use at own risk.
[2010/02/16 17:15:26] <jrojas> heh
[2010/02/16 17:15:27] <windowsrefund> dan__t: I'm supposed to default to "giving it a spin" over asking to see a screenshot if available?
[2010/02/16 17:15:51] <jrojas> hasnt been touched since aug 2009
[2010/02/16 17:16:00] <plathrop> windowsrefund: No. Nobody has a screenshot.
[2010/02/16 17:16:04] <jrojas> windowsrefund: i dont think anyone has touched it,
[2010/02/16 17:16:10] <windowsrefund> ah
[2010/02/16 17:16:17] <dan__t> Yeah, that's exactly what a logical person would do.
[2010/02/16 17:16:25] <windowsrefund> dan__t: you're really an idiot
[2010/02/16 17:16:37] <windowsrefund> and I could care less if it's on purpose or not
[2010/02/16 17:16:37] <plathrop> dan__t: You're wasting your keystrokesw
[2010/02/16 17:16:40] <jrojas> windowsrefund: dan__t: go argue with eachother elsewhere
[2010/02/16 17:16:44] <dan__t> That's a fact, plathrop.
[2010/02/16 17:16:49] <jrojas> :P
[2010/02/16 17:16:51] <dan__t> Anyway.
[2010/02/16 17:17:06] @ mattwynne joined channel #puppet
[2010/02/16 17:17:18] <windowsrefund> you gotta love the ego a person can get when they're typing across a terminal
[2010/02/16 17:17:23] <dan__t> Hrm, never used the VMware Server console plugin in IE8.
[2010/02/16 17:17:27] <dan__t> It looks kinda pretty.
[2010/02/16 17:17:33] <windowsrefund> I'd like to see this dan idiot give me this attitude in person
[2010/02/16 17:17:48] <windowsrefund> figures this idiot uses IE and VMware
[2010/02/16 17:17:49] <windowsrefund> hahaha
[2010/02/16 17:17:50] <jrojas> windowsrefund: just stop. you are worse than my gf. yes i know you are a big bad internet guy. just go away or be usefule.
[2010/02/16 17:17:50] <plathrop> windowsrefund: Please stop now.
[2010/02/16 17:17:58] <jrojas> -e
[2010/02/16 17:17:59] <windowsrefund> yea yea
[2010/02/16 17:18:06] @ Mode +o Volcane by ChanServ
[2010/02/16 17:18:14] <windowsrefund> here we go
[2010/02/16 17:18:16] <windowsrefund> the big @
[2010/02/16 17:18:18] <windowsrefund> haha
[2010/02/16 17:18:21] @ windowsrefund has been kicked from #puppet by Volcane (please go and be abusive elsewhere)
[2010/02/16 17:18:26] <grim_radical> jesus, thank you
[2010/02/16 17:18:28] <jrojas> thanks Volcane
[2010/02/16 17:18:33] * plathrop cheers Volcane
[2010/02/16 17:18:43] <dan__t> <jrojas> windowsrefund: just stop. you are worse than my gf
[2010/02/16 17:18:44] <dan__t> ahahahaha
[2010/02/16 17:18:46] <Volcane> 22:18 [windowsrefund(~windowsre@dsl081-135-015.nyc1.dsl.speakeasy.net)] you'll regret that fool
[2010/02/16 17:18:48] <agaffney> hah
[2010/02/16 17:18:57] <agaffney> Volcane: ooh, scary
[2010/02/16 17:19:01] <jrojas> omg is he going to ctcp flood you?
[2010/02/16 17:19:25] <plathrop> I got the same threats when I did it to him. Nothing ever came up
[2010/02/16 17:19:26] <agaffney> you didn't even ban him
[2010/02/16 17:19:28] <agaffney> pfft
[2010/02/16 17:19:31] <agaffney> it's a slap on the wrist
[2010/02/16 17:20:56] <dan__t> Any more books coming out on Puppet any time soon?
[2010/02/16 17:21:06] <joe-mac> what a dick, esp to Volcane i'd like to see how much he has contributed to theinfrastructure mgmt community other than these annoying irc rants
[2010/02/16 17:21:14] <joe-mac> dan__t: i think jamesturnbull might be working on a new one
[2010/02/16 17:21:22] <Volcane> dan__t: jamesturnbull is working on it but having publisher issues
[2010/02/16 17:21:31] <dan__t> Very cool.
[2010/02/16 17:21:31] <agaffney> lame
[2010/02/16 17:21:35] <Volcane> joe-mac: shrug, he's been a constant feature of idiocy here for months
[2010/02/16 17:21:38] <dan__t> I've got his other one sitting on my desk.
[2010/02/16 17:21:44] <joe-mac> yea
[2010/02/16 17:22:04] <jamesturnbull> Volcane: I do away for two days and miss all the fun
[2010/02/16 17:22:19] <jrojas> jamesturnbull: shh. we are enjoying the silence.
[2010/02/16 17:22:22] <jamesturnbull> dan__t: negociations with publishers are SLOW>
[2010/02/16 17:22:29] <dan__t> Noted, jamesturnbull.
[2010/02/16 17:22:38] <dan__t> You know how much I enjoy your work.
[2010/02/16 17:22:42] <Volcane> jamesturnbull: damn, now you're back and we have chill i guess :P
[2010/02/16 17:22:49] @ Mode -o Volcane by Volcane
[2010/02/16 17:22:51] <dan__t> Tell $publisher that they're going to have to speak with *me* if they lollygag any more.
[2010/02/16 17:23:06] <jamesturnbull> dan__t: yes ... that'll work :P
[2010/02/16 17:23:28] <jamesturnbull> dan__t: almost there
[2010/02/16 17:23:35] <dan__t> hah.
[2010/02/16 17:23:37] @ Quit: littleidea: Quit: littleidea
[2010/02/16 17:24:09] <Volcane> [windowsrefund] do me a favor and spare me your little power trip. If I've got something to say, bet your ass I'm going to say it
[2010/02/16 17:24:13] <Volcane> etc
[2010/02/16 17:24:20] * z00dax ponders creating a puppet-passenger setup to setup and run with apache-passenger, out of the box
[2010/02/16 17:24:24] <dan__t> Poor little guy.
[2010/02/16 17:24:29] @ paxos is now known as windowsrefund
[2010/02/16 17:24:38] @ windowsrefund is now known as paxos
[2010/02/16 17:24:46] <hggh> wtf?
[2010/02/16 17:24:58] * paxos looks around
[2010/02/16 17:25:16] <plathrop> Volcane: just ignore him, he winds down eventually
[2010/02/16 17:25:18] <dan__t> Its not him, he would have mouthed off by now.
[2010/02/16 17:25:22] @ nwp joined channel #puppet
[2010/02/16 17:25:23] <agaffney> heh
[2010/02/16 17:25:31] <Volcane> plathrop: yeah, like all trolls
[2010/02/16 17:25:33] <jrojas> im hoping he goes to the mailing list
[2010/02/16 17:25:41] <plathrop> jrojas: no, please.
[2010/02/16 17:25:45] <dan__t> haha
[2010/02/16 17:25:51] <dan__t> "this guy dan__t is really mean"
[2010/02/16 17:25:51] <jrojas> :)
[2010/02/16 17:25:56] <jrojas> ^^
[2010/02/16 17:26:11] <nwp> anyone got a good recipe for an exec to have a "creates" on a file in a user's home directory?
[2010/02/16 17:26:17] <dan__t> off to the dc
[2010/02/16 17:26:18] <dan__t> later, kids.
[2010/02/16 17:26:20] <nwp> can't seem to make it work at the moment
[2010/02/16 17:26:49] <jrojas> nwp: exec { "name": command => "somecommand", creates => "/path/to/home/dir/file" }
[2010/02/16 17:26:50] <nwp> surely I'm not the only person who's ever wanted it ;-)
[2010/02/16 17:27:02] @ Quit: afletcher: Quit: afletcher
[2010/02/16 17:27:11] <nwp> jrojas: nope, /path/to/home is not known
[2010/02/16 17:27:16] <nwp> user is known
[2010/02/16 17:27:37] @ Quit: shadoi: Quit: Leaving.
[2010/02/16 17:27:39] <jrojas> then how are you going to specify what the exec creates if its unknown?
[2010/02/16 17:27:57] <nwp> because there are 1001 ways of finding home from $user
[2010/02/16 17:28:11] <nwp> the problem is how to get that into the creates
[2010/02/16 17:28:29] <nwp> and that all ways of finding it involve doing something on the client
[2010/02/16 17:28:42] <zahna> z00dax: would you make that in rpm form?
[2010/02/16 17:29:12] <z00dax> zahna: yeah
[2010/02/16 17:29:30] <jrojas> nwp: still a little too vague, if you have something that relates to a user name, i would create a custom define that runs an exec and accepts a username as a parameter so you can access it within the exec and do something like creates => "/path/${username}/file"
[2010/02/16 17:29:33] <z00dax> you can do it by hand already :) I just want it to be all done for me, so i can yum install puppet-passenger; and be done
[2010/02/16 17:29:37] <jrojas> inside of the exec
[2010/02/16 17:29:38] <plathrop> nwp: There's no standard convention for home directories?
[2010/02/16 17:29:42] <z00dax> not sure if puppet-passenger is the right name for it though
[2010/02/16 17:30:02] <nwp> jorjas, plathrop: not when the user could be 'postgres' or 'www-data'
[2010/02/16 17:30:28] <plathrop> nwp: hrm... you have a point
[2010/02/16 17:31:01] <nwp> jrojas, still trying to make sense of what you're suggesting + work out whether it's possible
[2010/02/16 17:31:50] <nwp> jrojas, what you seem to be describing is what I'm doing, and it's that exec which needs to have the creates on a file in $HOME
[2010/02/16 17:31:51] <jrojas> define thing($username) { exec { "${username}_exec": command => "command", creates => "/home/${username}" }
[2010/02/16 17:31:54] <jrojas> something like that
[2010/02/16 17:31:56] @ Quit: wagner: Quit: Leaving
[2010/02/16 17:31:57] <jrojas> }
[2010/02/16 17:32:28] <jrojas> so all you need to do is specify: thing { "jrojas": }
[2010/02/16 17:32:31] <nwp> jrojas: but that's exactly the problem - $HOME is not /home/${username}
[2010/02/16 17:32:40] <jrojas> well then there is no way to do it
[2010/02/16 17:32:44] <nwp> and I need to get the info about where the hell it is from the client system
[2010/02/16 17:32:46] <jrojas> you need to have a smarter script for the exec
[2010/02/16 17:32:58] <jrojas> and not worry about what it creates
[2010/02/16 17:33:25] <nwp> jrojas: that's no good because it needs to notify another service based on whether or not it happened
[2010/02/16 17:33:44] <nwp> this should be easy, dammit! ;-)
[2010/02/16 17:33:45] <jrojas> nwp: then you might want a templated file resource
[2010/02/16 17:33:58] <jrojas> in the file resource you can run some ruby code but it happens on the master only afaik
[2010/02/16 17:34:35] <nwp> hang on, will paste somewhere
[2010/02/16 17:34:40] <jrojas> that might help
[2010/02/16 17:35:16] <joe-mac> '/bin/bash -c "dosomething ~someguy/file"'
[2010/02/16 17:35:27] <jrojas> joe-mac: you have a good point.
[2010/02/16 17:35:27] @ pheezy_ joined channel #puppet
[2010/02/16 17:35:28] <joe-mac> that way, home is always dynamically expanded in the exec
[2010/02/16 17:36:14] <zahna> z00dax: if it's just the passenger related part, then yes
[2010/02/16 17:36:17] <jrojas> joe-mac: now can you do a creates => "!someguy/file" ?
[2010/02/16 17:36:21] @ Quit: pheezy: Read error: Connection reset by peer
[2010/02/16 17:36:22] <jrojas> err ~someguy/file ?
[2010/02/16 17:36:23] @ fzzzt left channel #puppet ()
[2010/02/16 17:36:35] <joe-mac> o you're using creates, you should use onlyif
[2010/02/16 17:36:38] <z00dax> zahna: I already have passenger packaged up as mod_rails
[2010/02/16 17:36:49] <z00dax> but i also have nginx-passenger
[2010/02/16 17:36:50] <joe-mac> only if /bin/bash -e ~someguy/file
[2010/02/16 17:37:09] <z00dax> oh well, something to look at soon. for now, its json time!
[2010/02/16 17:37:10] <jrojas> i think he wants the exec to make that file
[2010/02/16 17:37:11] <nwp> joe-mac, been playing around with that kind of thing, just not worked out exact way to make it work
[2010/02/16 17:37:39] <joe-mac> show me the code nwp
[2010/02/16 17:37:40] @ MetalDust joined channel #puppet
[2010/02/16 17:37:56] <zahna> z00dax: yeah, i've had a bad time figuring out how to rpmize that stuff. i'm currently using it via rubygems
[2010/02/16 17:37:57] <nwp> hang on, you might have just given me the answer...
[2010/02/16 17:38:21] <zahna> of course, i think nginx's not being able to handle plugins is its one drawback.
[2010/02/16 17:38:40] @ Quit: TREllis: Quit: leaving
[2010/02/16 17:38:44] <joe-mac> nwp: exec, onlyif and unless just execute things, so you have to execute a shell with -c that can expand variables like $HOME or ~ if you need to
[2010/02/16 17:39:07] <nwp> I think using onlyif rather than creates was the thought I needed
[2010/02/16 17:39:24] <Volcane> j.van.meeuwen has some wicked passenger rpms
[2010/02/16 17:39:25] <agaffney> even if I'm just testing for a file, I still use onlyif/unless
[2010/02/16 17:39:39] <agaffney> unless => "test -f /path/to/some/file"
[2010/02/16 17:39:45] <zahna> Volcane: for apache and nginx?
[2010/02/16 17:39:47] <z00dax> zahna: true. but i've been mostly ok with the nginx passenger linking stuff, its just a case of doing a specific build. the pain is in getting the passenger code base along for the ride including HelpserServer and that lot of fluff
[2010/02/16 17:39:50] <Volcane> apache
[2010/02/16 17:39:57] <Volcane> he might have nginx donno
[2010/02/16 17:40:17] <joe-mac> agaffney: it is more flexible but there is somethjing elegant about using creates
[2010/02/16 17:40:19] <z00dax> Volcane: he was standing next to us at fosdem for a bit, then wandered off :)
[2010/02/16 17:40:41] <agaffney> joe-mac: it's too...specific for my tastes :P
[2010/02/16 17:40:45] <Volcane> heh face to nick to email parsing sux
[2010/02/16 17:40:50] <z00dax> i think he's got pulled down a blackhole with his ruby.1.9.1 tasks
[2010/02/16 17:41:18] @ Quit: bobbyz: Ping timeout: 276 seconds
[2010/02/16 17:41:22] <nwp> winner. thanks.
[2010/02/16 17:41:33] <nwp> at least it looks like it at the moment ;o)
[2010/02/16 17:42:00] <nwp> knew it ought to be simple :-P
[2010/02/16 17:42:17] <z00dax> i need to try a nginx-passenger build with ruby-1.8.5 and try using that against 1.9.1
[2010/02/16 17:42:28] <z00dax> there are people who seem to think it will work
[2010/02/16 17:45:03] @ Quit: vad3R: Quit: vad3R
[2010/02/16 17:48:15] @ RedPepper is now known as zz_RedPepper
[2010/02/16 17:48:30] <Whoop> Does anyone know which version nested classes were introduced in?
[2010/02/16 17:49:25] @ Quit: skiold: Quit: skiold
[2010/02/16 17:51:42] @ Quit: mattwynne: Remote host closed the connection
[2010/02/16 17:58:28] @ Quit: notbrien: Quit: notbrien
[2010/02/16 18:00:51] @ verwilst joined channel #puppet
[2010/02/16 18:00:58] @ Quit: weaselkeeper: Remote host closed the connection
[2010/02/16 18:03:02] @ Quit: malraid: Quit: malraid
[2010/02/16 18:03:35] @ TREllis joined channel #puppet
[2010/02/16 18:05:56] * Volcane tries to remember the windowsrefund idiots old nick
[2010/02/16 18:06:09] <jrojas> i think it was lak
[2010/02/16 18:06:13] <jrojas> or jamesturnbull
[2010/02/16 18:06:15] <jrojas> one of those
[2010/02/16 18:06:15] @ Quit: pheezy_: Quit: Leaving...
[2010/02/16 18:06:17] <jrojas> :P
[2010/02/16 18:06:19] <plathrop> lol
[2010/02/16 18:06:21] <Volcane> lol
[2010/02/16 18:06:33] <plathrop> Okay, I confess. It's me.
[2010/02/16 18:06:35] <plathrop> :-P
[2010/02/16 18:06:38] <jrojas> i knew it
[2010/02/16 18:08:27] @ mattwynne joined channel #puppet
[2010/02/16 18:08:31] @ Quit: tonyskapunk: Remote host closed the connection
[2010/02/16 18:08:54] @ bobbyz joined channel #puppet
[2010/02/16 18:09:03] <tessier> ah-HAH
[2010/02/16 18:09:17] <tessier> I had my ssh_authorized_key type all misconfigured. No wonder it was doing silly things.
[2010/02/16 18:09:35] <tessier> Not only did I have the type wrong but I had left the type at the front of the key when I pasted it into key =>
[2010/02/16 18:09:38] @ weaselkeeper joined channel #puppet
[2010/02/16 18:09:56] <lak> Whoop: i think we've essentially always had nested classes
[2010/02/16 18:10:31] <Whoop> really? hmm, I must just be blind then, never realised :O
[2010/02/16 18:11:37] @ Quit: paxos: Quit: paxos
[2010/02/16 18:11:51] <weaselkeeper> ok, starting a puppet setup here, and I have the client/'server testing pair set up, and working. But I can't seem to figure out how to activate the class user::admin I defined in /etc/puppet/modules/users/manifests/admin.pp for a given node. I am missing something obvious I fear, but I don't know what.
[2010/02/16 18:12:43] <weaselkeeper> reading the fm now, and I am just not getting it. Hints? tips?
[2010/02/16 18:15:36] @ tonyskapunk joined channel #puppet
[2010/02/16 18:16:44] @ Quit: OpenMedia: Ping timeout: 256 seconds
[2010/02/16 18:17:29] @ OpenMedia joined channel #puppet
[2010/02/16 18:18:41] <Spruit_elf> weaselkeeper: include user::admin doesnt work?
[2010/02/16 18:19:48] <j00bar> with the "user" type, when you specify the password property, if i'm copying from an existing password database, am i using the hash from the shadow file?
[2010/02/16 18:19:58] <j00bar> i assume that i don't have to put the plaintext password in there.
[2010/02/16 18:20:04] <j00bar> but what hashes are supported? just crypt?
[2010/02/16 18:20:12] <j00bar> os is debian/ubuntu derivatives
[2010/02/16 18:20:20] @ Quit: bug: Quit: bug
[2010/02/16 18:20:29] @ littleidea joined channel #puppet
[2010/02/16 18:20:31] <Spruit_elf> j00bar: im not sure, i used ralsh to copy
[2010/02/16 18:21:02] <Spruit_elf> "ralsh user name"
[2010/02/16 18:21:31] <Spruit_elf> i think it copied the crypt hashes
[2010/02/16 18:21:34] <j00bar> Spruit_elf: i don't have that luxury -- i'm moving from where users all ssh in as root to having unprivileged accounts with sudo access.
[2010/02/16 18:22:21] <jrojas> dont crypt hashes only matter for the first 6 characters of the password or something
[2010/02/16 18:22:45] <Spruit_elf> jrojas: 8 i thought
[2010/02/16 18:22:58] <jrojas> yeah
[2010/02/16 18:23:00] <jrojas> something like that
[2010/02/16 18:23:01] <weaselkeeper> Spruit_elf: I tried that in the node config for the test node, bitched that it couldn't retrieve the tag
[2010/02/16 18:24:08] <Spruit_elf> weaselkeeper: hmm never had an error about tags, but i didn't use them
[2010/02/16 18:24:33] <Spruit_elf> maybe you got something wrong there?
[2010/02/16 18:24:42] <j00bar> anybody have a clue what hashes are allowed?
[2010/02/16 18:24:51] <j00bar> i'd rather not use crypt.
[2010/02/16 18:24:54] <Spruit_elf> j00bar: crypt for sure
[2010/02/16 18:25:00] <j00bar> lol
[2010/02/16 18:25:02] <weaselkeeper> Oh, I am sure I have something wrong :P
[2010/02/16 18:25:05] <weaselkeeper> else it would work...
[2010/02/16 18:25:08] @ Quit: littleidea: Client Quit
[2010/02/16 18:25:24] <Spruit_elf> hashes get probably copy literaly to /etc/password or watever backend you use
[2010/02/16 18:25:32] <Spruit_elf> so it probably depends on that
[2010/02/16 18:26:21] <Spruit_elf> weaselkeeper: euuhh /etc/shadow ofcourse
[2010/02/16 18:28:11] <Spruit_elf> maybe some of the pro's know..
[2010/02/16 18:28:25] <j00bar> it seems like on deb/ubuntu it calls usermod
[2010/02/16 18:28:29] <j00bar> which requires crypt
[2010/02/16 18:28:32] <j00bar> :-/
[2010/02/16 18:28:42] <j00bar> suppose i could write shadow myself, but that seems brutish.
[2010/02/16 18:28:42] @ bug joined channel #puppet
[2010/02/16 18:28:47] <jrojas> bcrypt?
[2010/02/16 18:29:07] <j00bar> -p passwdThe encrypted password, as returned by crypt.
[2010/02/16 18:29:10] <j00bar> --^^^ from manpage
[2010/02/16 18:29:15] <weaselkeeper> where does the user::admin include go, in the node definition right?
[2010/02/16 18:29:48] <Spruit_elf> weaselkeeper: yeah or in another class included by the node def
[2010/02/16 18:30:46] <Spruit_elf> or in a define if you call it from the node (or any class included)
[2010/02/16 18:30:47] @ Quit: kaptk2: Quit: Leaving.
[2010/02/16 18:30:49] <Spruit_elf> etc
[2010/02/16 18:30:54] <weaselkeeper> yeah, that was what I thought. I think the include would work fine, if it could find the stuff to include. That's where my problem is, but I haven't figured out where
[2010/02/16 18:31:02] <jrojas> j00bar: provider => useradd
[2010/02/16 18:31:03] <jrojas> ?
[2010/02/16 18:31:17] <jrojas> that work? i have a password specified as a SHA1 hash or whatever the hell it is
[2010/02/16 18:31:25] <jrojas> for a user and it works fine
[2010/02/16 18:31:37] <Spruit_elf> weaselkeeper: sure puppet has the right module directory?
[2010/02/16 18:31:52] <jamesturnbull> Whoop: wiki:ReleaseNotes
[2010/02/16 18:31:54] <gepetto> jamesturnbull: Whoop: wiki:ReleaseNotes is http://reductivelabs.com/trac/puppet/wiki/ReleaseNotes
[2010/02/16 18:32:18] <jamesturnbull> jrojas: you watch it - I have op on the channel too :)
[2010/02/16 18:32:23] @ Quit: bug: Client Quit
[2010/02/16 18:32:29] <weaselkeeper> I have other modules there, (/etc/puppet/modules) and they are working fine. /etc/modules/users for some reason, is not.
[2010/02/16 18:32:40] <jrojas> jamesturnbull: huh?
[2010/02/16 18:33:09] <Spruit_elf> weaselkeeper: om not sure but do modules need an init.pp?
[2010/02/16 18:33:10] <jamesturnbull> jrojas: I was you earlier - telling Volcane I was windowsrefund ... :)
[2010/02/16 18:33:15] <jamesturnbull> s/was/saw/
[2010/02/16 18:33:22] <jrojas> jamesturnbull: oh, well i thought you were
[2010/02/16 18:33:24] <jrojas> jamesturnbull: :P
[2010/02/16 18:33:44] <jamesturnbull> I think I am turning dysletic
[2010/02/16 18:34:12] <jamesturnbull> Spruit_elf: all modules need an init.pp
[2010/02/16 18:34:26] @ kolla joined channel #puppet
[2010/02/16 18:34:38] <Spruit_elf> weaselkeeper: maybe that is your problem?
[2010/02/16 18:35:32] <weaselkeeper> I tried with the init.pp, no difference. although it's talking about a class, not a tag now, not sure when that changed :P been poking at it all the time.
[2010/02/16 18:37:26] <Spruit_elf> hehe i know the feeling, puppet can be very cryptical about errors, i have (had) my share of 'poking' aswell
[2010/02/16 18:37:50] <weaselkeeper> hehe, I hear ya'
[2010/02/16 18:37:54] @ Quit: bobbyz: Ping timeout: 252 seconds
[2010/02/16 18:38:42] <weaselkeeper> what I am trying to do, is make sure that an admin user and ssh key exist on all boxes in a given group. That should be simple, but it's not turning out that way.
[2010/02/16 18:38:42] <Spruit_elf> weaselkeeper: can you pastbin the exact error?
[2010/02/16 18:40:00] <weaselkeeper> sure thing. It's at http://pastebin.com/m3856fae3 (slightly redacted for OCD security reasons
[2010/02/16 18:40:37] @ Quit: steve_m: Remote host closed the connection
[2010/02/16 18:41:48] <Spruit_elf> hmmm looks like a problem i had. not sure how i fixed it though. It maybe had something to do with the order in which the classes are parsed
[2010/02/16 18:43:08] @ spencert left channel #puppet ()
[2010/02/16 18:43:09] <Spruit_elf> http://reductivelabs.com/trac/puppet/wiki/LanguageTutorial#classes
[2010/02/16 18:43:55] <Spruit_elf> and then the last part about the order of evaluation. although im not sure if thats relevant since you probably don't nest the class.
[2010/02/16 18:44:31] <weaselkeeper> yeah, no nesting atm, although I just updated the pastebin with the init.pp and the dir tree for clarity
[2010/02/16 18:44:53] <Spruit_elf> you could also try importing the file. kind of a hack but i remeber that worked for me (as a workaround)
[2010/02/16 18:45:14] @ steve_m joined channel #puppet
[2010/02/16 18:45:29] <weaselkeeper> importing the init.pp?
[2010/02/16 18:45:38] <Spruit_elf> no admin.pp
[2010/02/16 18:46:18] @ Quit: TREllis: Quit: foooood
[2010/02/16 18:46:21] <weaselkeeper> I think I tried that, but honestly, at this point, I am not sure :P
[2010/02/16 18:47:39] <Spruit_elf> hehe i know the feeling. I kinda gave up on classes that way en mainly use define which include classes or just simple classes defined in their init.pp
[2010/02/16 18:48:45] @ bug joined channel #puppet
[2010/02/16 18:48:50] <Spruit_elf> maybe Volcane or jamesturnbull can help they probably know a lot more then me, ive been only at it for 2 weeks now
[2010/02/16 18:49:59] <Spruit_elf> and it time to sleep for me as well :-)
[2010/02/16 18:51:08] @ zz_RedPepper is now known as RedPepper
[2010/02/16 18:52:33] <weaselkeeper> ah, if I import the .pp specifically, *and* remove the @ from @user, it errors out, but with a useful "can't do that because" message
[2010/02/16 18:52:36] <weaselkeeper> hehe
[2010/02/16 18:52:39] <weaselkeeper> thanks for the help
[2010/02/16 18:55:11] @ Quit: murkk: Ping timeout: 245 seconds
[2010/02/16 18:57:23] @ Quit: grim_radical: Quit: Leaving
[2010/02/16 18:58:18] @ Quit: verwilst: Quit: Ex-Chat
[2010/02/16 19:02:48] @ justinfreeman joined channel #puppet
[2010/02/16 19:02:49] @ Quit: jusfreeman: Ping timeout: 264 seconds
[2010/02/16 19:03:58] @ Quit: mattwynne: Remote host closed the connection
[2010/02/16 19:05:51] @ Quit: Bryce_: Quit: Say What?
[2010/02/16 19:06:02] @ littleidea joined channel #puppet
[2010/02/16 19:06:16] @ Quit: autowidget: Quit: autowidget
[2010/02/16 19:08:03] @ Quit: jab_doa: Quit: Verlassend
[2010/02/16 19:08:27] @ tjoe joined channel #puppet
[2010/02/16 19:09:17] @ Quit: lak: Ping timeout: 256 seconds
[2010/02/16 19:10:16] @ Quit: littleidea: Client Quit
[2010/02/16 19:12:28] <weaselkeeper> OK, in case anyone is interested, I specifically include the users module in site.pp, and remove the @ from the class user::admin { @user then all works well.
[2010/02/16 19:12:58] <weaselkeeper> the former I can understand. but I think I am not doing the right thing on the user bit. but thanks for the help
[2010/02/16 19:13:23] @ Djelibeybi joined channel #puppet
[2010/02/16 19:14:23] @ Quit: \ask: Ping timeout: 256 seconds
[2010/02/16 19:17:31] @ Quit: giskard: Remote host closed the connection
[2010/02/16 19:29:59] <dan__t> Hello.
[2010/02/16 19:31:12] @ afletcher joined channel #puppet
[2010/02/16 19:31:13] @ Quit: glut: Remote host closed the connection
[2010/02/16 19:32:29] @ Quit: ahasenack: Quit: Leaving
[2010/02/16 19:32:49] @ Quit: rmiller4pi8: Ping timeout: 264 seconds
[2010/02/16 19:32:57] @ Quit: benkevan: Remote host closed the connection
[2010/02/16 19:35:25] @ Quit: Spruit_elf: Quit: Spruit_elf
[2010/02/16 19:35:55] @ littleidea joined channel #puppet
[2010/02/16 19:37:31] @ elmo joined channel #puppet
[2010/02/16 19:37:37] @ glut joined channel #puppet
[2010/02/16 19:42:44] @ \ask joined channel #puppet
[2010/02/16 19:48:06] @ Quit: MetalDust:
[2010/02/16 19:52:03] @ Quit: mfournier: Read error: Operation timed out
[2010/02/16 19:57:49] @ Quit: jaredrhine: Ping timeout: 260 seconds
[2010/02/16 20:04:55] @ Quit: WALoeIII: Quit: Bai.
[2010/02/16 20:07:13] @ Quit: ppickfor: Quit: Leaving.
[2010/02/16 20:10:25] @ plathrop is now known as plathrop-away
[2010/02/16 20:16:25] @ RedPepper is now known as zz_RedPepper
[2010/02/16 20:17:13] @ Quit: madduck|afk: Read error: Operation timed out
[2010/02/16 20:17:18] @ alien___ joined channel #puppet
[2010/02/16 20:17:36] @ Demosthenes joined channel #puppet
[2010/02/16 20:17:54] @ madduck|afk joined channel #puppet
[2010/02/16 20:17:55] @ Quit: madduck|afk: Changing host
[2010/02/16 20:17:55] @ madduck|afk joined channel #puppet
[2010/02/16 20:20:23] @ WALoeIII joined channel #puppet
[2010/02/16 20:21:02] @ davidj joined channel #puppet
[2010/02/16 20:22:58] @ Quit: Bass10: Quit: Leaving
[2010/02/16 20:26:02] @ lak joined channel #puppet
[2010/02/16 20:29:33] @ Quit: blahdeblah: Quit: Leaving.
[2010/02/16 20:31:05] @ Quit: alfism: Quit: http://opensolaris.com/
[2010/02/16 20:32:50] @ Quit: nigelk: Quit: nigelk
[2010/02/16 20:36:39] @ Bass10 joined channel #puppet
[2010/02/16 20:36:53] @ p3rror joined channel #puppet
[2010/02/16 20:38:09] @ Quit: Bass10: Max SendQ exceeded
[2010/02/16 20:38:55] @ Bass10 joined channel #puppet
[2010/02/16 20:41:11] @ Quit: jcape: Ping timeout: 246 seconds
[2010/02/16 20:41:12] @ gebi joined channel #puppet
[2010/02/16 20:48:13] @ jaredrhine joined channel #puppet
[2010/02/16 20:49:17] @ ahuman joined channel #puppet
[2010/02/16 20:51:57] @ TREllis joined channel #puppet
[2010/02/16 20:54:41] @ Quit: littleidea: Quit: littleidea
[2010/02/16 20:59:35] @ Quit: Djelibeybi: Quit: Leaving
[2010/02/16 20:59:45] @ docelic_ joined channel #puppet
[2010/02/16 21:02:46] @ Quit: docelic__: Ping timeout: 256 seconds
[2010/02/16 21:03:17] @ tonyskapunk left channel #puppet ()
[2010/02/16 21:04:03] @ Quit: londo: Remote host closed the connection
[2010/02/16 21:04:06] @ jcape joined channel #puppet
[2010/02/16 21:06:06] @ jcape left channel #puppet ()
[2010/02/16 21:06:23] @ Quit: p3rror: Read error: Operation timed out
[2010/02/16 21:07:43] @ cmatheson joined channel #puppet
[2010/02/16 21:09:35] @ rmiller4pi8 joined channel #puppet
[2010/02/16 21:10:30] @ mqr joined channel #puppet
[2010/02/16 21:11:50] @ Quit: jes5: Quit: Leaving.
[2010/02/16 21:12:58] @ bodepd left channel #puppet ()
[2010/02/16 21:17:51] <cmatheson> i've been looking for the puppet modules on modules.reductivelabs.com, but they seem to have been removed. is that right? (or maybe i'm misreading the manual and there are no stock modules?)
[2010/02/16 21:20:18] @ joe-mac left channel #puppet ()
[2010/02/16 21:20:55] <justdave> if I have a file definition in a class that pulls a complete file from a source parameter, and I override it in a subclass, but I want my subclass to do content => template("foo") instead of source => .... what's the proper way to clear the source parameter?
[2010/02/16 21:21:13] <justdave> is there a nil or null or delete or something, or just assign an empty string to it, or?
[2010/02/16 21:23:00] <justdave> figures, I dig in the docs for a half hour before I ask, then I immediately find it when I got back to continue digging after I ask on irc. :)
[2010/02/16 21:23:06] <justdave> it's "undef" for the record.
[2010/02/16 21:26:07] @ p3rror joined channel #puppet
[2010/02/16 21:29:15] @ Quit: mqr: Ping timeout: 256 seconds
[2010/02/16 21:33:22] @ littleidea joined channel #puppet
[2010/02/16 21:37:21] <agaffney> justdave: good to know
[2010/02/16 21:39:51] <justdave> are the template docs somewhere new?
[2010/02/16 21:39:52] <justdave> The requested URL /trac/puppet/wiki/PuppetTemplating was not found on this server.
[2010/02/16 21:40:05] <justdave> (linked from http://docs.reductivelabs.com/references/stable/function.html#template )
[2010/02/16 21:40:42] @ ppickfor joined channel #puppet
[2010/02/16 21:41:23] <justdave> found em. http://reductivelabs.com/trac/puppet/wiki/PuppetTemplating
[2010/02/16 21:41:52] <justdave> the bad URL has a "docs." in front
[2010/02/16 21:42:15] <agaffney> probably relative vs. absolute URLs
[2010/02/16 21:43:19] @ Quit: WALoeIII: Quit: Bai.
[2010/02/16 21:45:14] @ Quit: davidj: Ping timeout: 246 seconds
[2010/02/16 21:46:05] <nb> it won't hurt anything if two modules require a particular package will it?
[2010/02/16 21:47:13] <justdave> doubt it. First one will say "oh, I need to install this" and the second will say "oh, it's installed already"
[2010/02/16 21:47:14] <nDuff> nb, as in require=>Package[foo]? no.
[2010/02/16 21:47:34] <nDuff> nb, ...if you mean they define package { "foo": ensure=>present }, then yes.
[2010/02/16 21:47:54] <nDuff> nb, ...you need them both to include something which defines Package[foo], and then they can both require=> it.
[2010/02/16 21:48:09] <nb> nDuff, ok thanks
[2010/02/16 21:50:30] @ Quit: TREllis: Quit: leaving
[2010/02/16 21:55:11] @ Quit: eshamow: Quit: eshamow
[2010/02/16 22:09:03] @ Quit: lak: Quit: lak
[2010/02/16 22:10:10] @ Quit: bug: Quit: bug
[2010/02/16 22:12:53] @ Quit: gaveen: Quit: Leaving
[2010/02/16 22:12:57] @ bug joined channel #puppet
[2010/02/16 22:16:27] @ Quit: littleidea: Quit: littleidea
[2010/02/16 22:17:43] @ littleidea joined channel #puppet
[2010/02/16 22:22:50] @ Bosse_ joined channel #puppet
[2010/02/16 22:22:52] @ windo_ joined channel #puppet
[2010/02/16 22:23:02] @ darkseed joined channel #puppet
[2010/02/16 22:23:02] @ zipkid_ joined channel #puppet
[2010/02/16 22:23:05] @ RSpacePo1e joined channel #puppet
[2010/02/16 22:23:05] @ getha joined channel #puppet
[2010/02/16 22:23:50] @ Quit: zahna: Write error: Broken pipe
[2010/02/16 22:23:50] @ Quit: thijso: Write error: Broken pipe
[2010/02/16 22:23:50] @ Quit: dan__t: Quit: changing servers
[2010/02/16 22:24:23] @ dan__t joined channel #puppet
[2010/02/16 22:24:25] @ xmslack_ joined channel #puppet
[2010/02/16 22:24:36] @ mecca_ joined channel #puppet
[2010/02/16 22:24:41] @ zahna joined channel #puppet
[2010/02/16 22:26:00] @ WALoeIII joined channel #puppet
[2010/02/16 22:27:52] @ Insyte_ joined channel #puppet
[2010/02/16 22:28:36] @ Quit: RSpacePope: Ping timeout: 265 seconds
[2010/02/16 22:28:36] @ Quit: windo: Ping timeout: 265 seconds
[2010/02/16 22:28:37] @ Quit: Bosse: Ping timeout: 265 seconds
[2010/02/16 22:28:37] @ Quit: darkseed_: Ping timeout: 265 seconds
[2010/02/16 22:28:38] @ Quit: zipkid: Ping timeout: 265 seconds
[2010/02/16 22:28:39] @ Quit: mecca: Ping timeout: 265 seconds
[2010/02/16 22:28:39] @ Quit: Insyte: Ping timeout: 265 seconds
[2010/02/16 22:28:39] @ Quit: xmslack: Ping timeout: 265 seconds
[2010/02/16 22:47:14] @ davidj joined channel #puppet
[2010/02/16 22:47:16] <justdave> so if I have a "tags = foo" line in the puppet.conf that limits it to a specific set of tags, how do I manually override that on the command line when I want it to go ahead and retrieve everything?
[2010/02/16 22:47:20] <justdave> on 0.25.4 now
[2010/02/16 22:47:37] <justdave> when I was on 0.24 something I experimented with that and discovered I could do --tags='' and it would do that
[2010/02/16 22:47:50] <justdave> doing that on 0.25.4 gives err: Got an uncaught exception of type NoMethodError: undefined method `each' for true:TrueClass
[2010/02/16 22:48:33] <nDuff> that smells like a bug to me
[2010/02/16 22:51:03] @ blahdeblah joined channel #puppet
[2010/02/16 22:51:47] @ Quit: davidj: Read error: Connection reset by peer
[2010/02/16 22:52:15] @ davidj joined channel #puppet
[2010/02/16 22:53:19] @ murkk joined channel #puppet
[2010/02/16 22:57:48] @ Quit: davidj: Ping timeout: 256 seconds
[2010/02/16 22:58:27] @ davidj joined channel #puppet
[2010/02/16 23:05:08] @ Quit: davidj: Read error: Connection reset by peer
[2010/02/16 23:05:19] @ davidj joined channel #puppet
[2010/02/16 23:06:53] <justdave> experimenting with --debug, looks like --tags=main actually works.
[2010/02/16 23:06:56] <justdave> hard to tell for sure though
[2010/02/16 23:09:44] @ bodepd joined channel #puppet
[2010/02/16 23:09:56] @ Quit: davidj: Ping timeout: 246 seconds
[2010/02/16 23:11:02] @ davidj joined channel #puppet
[2010/02/16 23:25:12] @ Quit: eric0: Ping timeout: 245 seconds
[2010/02/16 23:25:18] @ maxagaz joined channel #puppet

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