Friday, 2009-05-22

[2009/05/22 00:20:09] @ Log started by gepetto_
[2009/05/22 00:20:09] @ Quit: ohadlevy: "Leaving."
[2009/05/22 00:33:21] @ mfoster1 left channel #puppet ()
[2009/05/22 00:34:22] @ edwardam joined channel #puppet
[2009/05/22 00:38:04] @ teyo joined channel #puppet
[2009/05/22 00:42:09] @ fujin joined channel #puppet
[2009/05/22 00:47:11] @ Quit: grim_radical: Read error: 113 (No route to host)
[2009/05/22 00:48:44] @ Quit: edwardam: Remote closed the connection
[2009/05/22 01:03:57] @ Quit: pdt:
[2009/05/22 01:04:14] @ edwardam joined channel #puppet
[2009/05/22 01:12:51] @ mattock joined channel #puppet
[2009/05/22 01:22:29] @ Quit: teyo:
[2009/05/22 01:22:36] @ Quit: lutter1: Remote closed the connection
[2009/05/22 01:37:37] @ gebi_ joined channel #puppet
[2009/05/22 01:51:51] @ Quit: gebi: Read error: 113 (No route to host)
[2009/05/22 02:00:17] @ Quit: gstratton:
[2009/05/22 02:05:49] @ monzie joined channel #puppet
[2009/05/22 02:06:29] @ nasrat_ joined channel #puppet
[2009/05/22 02:17:08] @ Quit: webx: "My damn controlling terminal disappeared!"
[2009/05/22 02:29:13] @ Quit: langseth: Read error: 113 (No route to host)
[2009/05/22 02:30:54] @ Quit: kolla: Read error: 54 (Connection reset by peer)
[2009/05/22 02:40:07] @ gebi_ is now known as gebi
[2009/05/22 03:02:39] @ MarlondB joined channel #puppet
[2009/05/22 03:04:16] @ tim|macbook joined channel #puppet
[2009/05/22 03:11:14] @ kolla joined channel #puppet
[2009/05/22 03:15:26] <nasrat_> jamesturnbull: about?
[2009/05/22 03:16:24] @ nakano_ is now known as nakano
[2009/05/22 03:18:10] @ aymerick joined channel #puppet
[2009/05/22 03:20:16] <nasrat_> #2278
[2009/05/22 03:20:17] <gepetto_> nasrat_: #2278 is http://projects.reductivelabs.com/issues/show/2278 "Facter - Bug #2278: Virtual fact incorrect on Solaris sparc - ReductiveLabs.com"
[2009/05/22 03:28:05] <nasrat_> anyone else found anything up with facter 1.5.5rc2?
[2009/05/22 03:33:29] @ DerekW joined channel #puppet
[2009/05/22 03:44:19] @ francois joined channel #puppet
[2009/05/22 03:57:43] @ Quit: nasrat_:
[2009/05/22 03:58:08] @ madrescher joined channel #puppet
[2009/05/22 04:09:03] @ zeroXten joined channel #puppet
[2009/05/22 04:19:47] @ Quit: edwardam: Remote closed the connection
[2009/05/22 04:27:03] @ gaveen joined channel #puppet
[2009/05/22 04:28:10] @ briandquinn joined channel #puppet
[2009/05/22 04:30:26] <huggie> How can I debug a "can't convert nil into String" from a puppetmaster? Running it with --debug and --trace just gives me the line where it goes off to compile the config. And this config worked fine last week.
[2009/05/22 04:30:42] @ edwardam joined channel #puppet
[2009/05/22 04:31:33] <huggie> The line in the .pp it's complaining about is the template() function.
[2009/05/22 04:31:57] <tim|macbook> huggie: then the template is referencing a variable that isn't set at the time the template is run, most likely
[2009/05/22 04:31:58] <tim|macbook> i think
[2009/05/22 04:32:28] <huggie> Hmm I can notify in a .pp maybe to see.
[2009/05/22 04:33:14] <huggie> notice even.
[2009/05/22 04:34:18] <huggie> I get the feeling the template function isn't defined or isn't working.
[2009/05/22 04:36:11] <tim|macbook> huggie: easy to try, use a text file without any variables as a template
[2009/05/22 04:36:19] <tim|macbook> doubt that's the case, though
[2009/05/22 04:36:34] <tim|macbook> i'd try removing your variables from the template one by one to see which one is the culprit
[2009/05/22 04:36:41] <tim|macbook> or rather, remove them all and add them one by one
[2009/05/22 04:37:39] <huggie> Ah crap. Changing from template("$module/$version/$name") to template("/foo") and it compiles.
[2009/05/22 04:39:31] <huggie> Aha! My templatedir was hosed. Thanks.
[2009/05/22 04:43:10] @ mikepea joined channel #puppet
[2009/05/22 04:44:37] @ mvn071 joined channel #puppet
[2009/05/22 04:54:44] @ markp joined channel #puppet
[2009/05/22 04:58:55] @ glaw joined channel #puppet
[2009/05/22 05:18:51] * alban2 is away: Je reviens ...
[2009/05/22 05:20:37] @ ethan_rowe joined channel #puppet
[2009/05/22 05:21:32] @ ethan_rowe left channel #puppet ("Ex-Chat")
[2009/05/22 05:31:30] @ Quit: DerekW: Read error: 110 (Connection timed out)
[2009/05/22 05:46:26] @ MattyM joined channel #puppet
[2009/05/22 05:50:37] @ Quit: glaw: Remote closed the connection
[2009/05/22 06:10:43] <madduck> any idea what could be the reason for puppet failing to install a package on Debian?
[2009/05/22 06:10:46] <madduck> puppetd[6165]: (//Node[debiannode]/base/Package[vim-nox]/ensure) ensure
[2009/05/22 06:10:47] <madduck> changed 'purged' to 'present'
[2009/05/22 06:10:53] <madduck> i get this every half hour
[2009/05/22 06:11:00] <madduck> but the package remains at state purged
[2009/05/22 06:11:19] <madduck> aha!
[2009/05/22 06:11:20] <madduck> E: Package vim-nox has no installation candidate
[2009/05/22 06:11:31] @ keithlar joined channel #puppet
[2009/05/22 06:11:35] <madduck> wtf?
[2009/05/22 06:16:33] * Volcane tries to contain his amusement at the daily Debian fail.
[2009/05/22 06:16:49] <madduck> little troll! ;)
[2009/05/22 06:17:33] <madduck> mind you, this is a failure in the puppet debian provider, hardly in debian.
[2009/05/22 06:17:38] <madduck> damn, and now i bit the bait!
[2009/05/22 06:17:43] <Volcane> heh
[2009/05/22 06:17:58] <Volcane> so you're saying 'apt-get install vim-nox' works?
[2009/05/22 06:18:03] <Volcane> but puppet cant do the same?
[2009/05/22 06:18:06] <Cuchulain> i got into a cripplefight on a mailing list over debian's use of sysvinit
[2009/05/22 06:18:17] <Cuchulain> i should have known better
[2009/05/22 06:18:30] <keithlar> which side were you on?
[2009/05/22 06:19:21] <Cuchulain> debian implement sysv-init *style* runlevels the same as most other distros. The fact that they don't do anything different by default in runlevels 2-5 is just their way of setting it up...
[2009/05/22 06:19:37] <Cuchulain> i was told that all other distros do runlevels exactly the same way and that debian was bastardising it :)
[2009/05/22 06:19:46] <Cuchulain> ahem
[2009/05/22 06:19:47] <Cuchulain> anyway
[2009/05/22 06:20:27] @ Quit: MattyM: "ta ta"
[2009/05/22 06:20:36] <Cuchulain> i only say this because i was trying to use it as an analogue for Volcane/madducks conversation just now
[2009/05/22 06:20:52] <Cuchulain> but having said it all, i can't remember how i was going to do that :)
[2009/05/22 06:21:18] <keithlar> can't beat that 'someone is wrong on the internet' thing
[2009/05/22 06:21:19] <madduck> Volcane: http://stikked.com/view/91937961 looks pretty graceful to me. puppet just needs to pick up the error message and tell the admin that it failed. rather than try again in 30 minutes.
[2009/05/22 06:21:23] <Cuchulain> keithlar: bingo
[2009/05/22 06:21:56] <Volcane> madduck: either you dont understand puppet or you're the one who is trolling.
[2009/05/22 06:22:29] <madduck> Volcane: i think i understand it, and i see that puppet every 30 minutes wakes up and says "not installed, so let me install it"
[2009/05/22 06:22:37] <madduck> but the method (apt-get) returns non-zero
[2009/05/22 06:22:39] <Cuchulain> they kept going as well, even telling me i was wrong in capital letters.
[2009/05/22 06:22:42] <madduck> and puppet's debian handler ignores that
[2009/05/22 06:22:51] <Volcane> you tell puppet to install a package, its gonna try to install it forever, who knows, maybe at some point you'll add the package to your repo, are you suggesting that if at some point the package didnt install like in your case, and you then add the package to the repo is it just never supposed to try again?
[2009/05/22 06:23:11] <Volcane> or would the desired behavioir be to keep trying till the problem is resolved or till the admin tells puppet to do something that isnt impossible?
[2009/05/22 06:23:13] <keithlar> all internet arguments are won by the person with the most free time... ergo the least employed.
[2009/05/22 06:23:27] <Cuchulain> before finally admitting to only having used suse for ages, and basing his idea of a standard on what suse did :)
[2009/05/22 06:23:40] <madduck> Volcane: all i want is a meaningful warning from puppet
[2009/05/22 06:23:58] <madduck> that the provider failed. that's not too much to ask, is it?
[2009/05/22 06:23:59] <Volcane> no, you said you want it to not try again
[2009/05/22 06:24:10] <Cuchulain> keithlar: ooh, look at this one.
[2009/05/22 06:24:18] * Cuchulain makes popcorn
[2009/05/22 06:24:20] <f3ew> madduck, isn't the provider fail logged?
[2009/05/22 06:24:24] <madduck> Volcane: i retract that. i wanted it to warn me so that i could spot my misconfiguration and stop it from doing that again. :)
[2009/05/22 06:24:33] <madduck> f3ew: i cannot find it anywhere.
[2009/05/22 06:24:43] <f3ew> Not in the log?
[2009/05/22 06:24:46] <f3ew> That's a bug
[2009/05/22 06:24:48] <Cuchulain> Volcane: psst, make sure to tell him he's wrong. Use as many capital letters as you want, but the more the better :)
[2009/05/22 06:24:57] <Volcane> heh
[2009/05/22 06:25:07] <keithlar> coming soon: the 'whatever software i use is better than whatever software you use' flame war
[2009/05/22 06:25:10] * f3ew smacks Cuchulain with a large Java application
[2009/05/22 06:25:18] <f3ew> keithlar, vi
[2009/05/22 06:25:28] <Volcane> he's already said he has no clue and retracted his erroneous b/s :P
[2009/05/22 06:25:46] <Volcane> instead now its a request for clearer error messages, which i am sure the redmine will be glad to accept patches :P
[2009/05/22 06:26:05] * madduck yawns
[2009/05/22 06:27:42] <madduck> /var/log/puppet is empty, that's a bit weird.
[2009/05/22 06:27:56] <madduck> logdir=/var/log/puppet
[2009/05/22 06:28:10] <madduck> any idea why puppet might not be writing logs?
[2009/05/22 06:28:14] <madduck> it is outputting to syslog
[2009/05/22 06:28:17] <madduck> but no warning there
[2009/05/22 06:30:05] <Volcane> i think only the master logs there and then its only the rails log, actual usaful logs go to syslog
[2009/05/22 06:35:35] @ Quit: garin_: Read error: 110 (Connection timed out)
[2009/05/22 06:38:33] <madduck> definitely nothing there:
[2009/05/22 06:38:35] <madduck> http://stikked.com/view/19408913
[2009/05/22 06:39:06] <Volcane> oh you're looking for the provider output? think its surpressed unless you run with verbose or something
[2009/05/22 06:42:09] @ Quit: authentic: Read error: 104 (Connection reset by peer)
[2009/05/22 06:50:57] @ Quit: tim|macbook:
[2009/05/22 06:52:59] @ tim|macbook joined channel #puppet
[2009/05/22 06:53:36] @ Quit: tim|macbook: Client Quit
[2009/05/22 06:54:19] @ d3vilb0x joined channel #puppet
[2009/05/22 06:55:34] @ tim|macbook joined channel #puppet
[2009/05/22 07:09:41] @ loquito joined channel #puppet
[2009/05/22 07:10:20] <loquito> Hi any one in here that can help with a config problem?
[2009/05/22 07:11:06] <f3ew> loquito don't ask to ask, just ask
[2009/05/22 07:11:30] <loquito> Okay
[2009/05/22 07:12:54] <loquito> I just started using puppet today so I am testing out the simple configs, I am trying to test the file serving but every way I have tried the config it comes back as "Failed to retrieve current state of resource...
[2009/05/22 07:13:18] <f3ew> Did you allow access?
[2009/05/22 07:13:40] <loquito> Yes my fileserver.conf looks like this
[2009/05/22 07:13:49] <tim|macbook> don't paste in the channel
[2009/05/22 07:14:00] <loquito> ok
[2009/05/22 07:14:08] <tim|macbook> just an url to a paste service is allowed, ofc :)
[2009/05/22 07:14:36] <tim|macbook> like pastey.net or the like
[2009/05/22 07:14:49] <loquito> yep I will use the one from github
[2009/05/22 07:14:58] <tim|macbook> good :)
[2009/05/22 07:15:47] <loquito> So it looks like this http://gist.github.com/116067
[2009/05/22 07:16:30] <loquito> I have a file under this directory called loquito_test.txt
[2009/05/22 07:17:00] <Volcane> should be /etc/puppet/fileserver.conf
[2009/05/22 07:17:13] <Volcane> or wherver your puppets etc is
[2009/05/22 07:17:39] <loquito> That is where that file is
[2009/05/22 07:17:43] <Volcane> ok
[2009/05/22 07:17:50] <Volcane> and how does your source => bit look?
[2009/05/22 07:18:00] <loquito> 1 sec
[2009/05/22 07:18:35] <Volcane> try to show the entire resource with the problem, and the actual error message you get
[2009/05/22 07:18:37] <Volcane> pls
[2009/05/22 07:19:04] <loquito> ok
[2009/05/22 07:19:55] <loquito> So this is my site.pp http://gist.github.com/116068
[2009/05/22 07:20:40] <Volcane> and the full error?
[2009/05/22 07:21:01] <Volcane> pretty sure using ips in the servername there wont work
[2009/05/22 07:21:18] <Volcane> but lets see the error
[2009/05/22 07:21:28] @ Quit: alban2: Read error: 113 (No route to host)
[2009/05/22 07:22:28] <loquito> This is the error http://gist.github.com/116070
[2009/05/22 07:24:51] <Volcane> does your master log anythihng?
[2009/05/22 07:26:35] <loquito> Yep this http://gist.github.com/116072 I have my server running in the foreground
[2009/05/22 07:30:09] @ ssm joined channel #puppet
[2009/05/22 07:32:28] <loquito> Any clues?
[2009/05/22 07:34:48] <tim|macbook> i think Volcane is right, i think you need to make sure that the name of the fileserver is correct... maybe because of SSL, but with an incorrect error? not sure here
[2009/05/22 07:34:56] <tim|macbook> at least worth a try
[2009/05/22 07:36:54] <loquito> But how would I know if the fileserver.conf is not correct? Surely if there is something wrong with that it would complain when I started the server or something like that?
[2009/05/22 07:37:51] <tim|macbook> not the fileserver.conf, i think your site.pp should point to the same hostname as your puppetd.conf does, eg. puppet (which is the default, I think)
[2009/05/22 07:39:09] <loquito> I have changed the default to point to the ip address that I point it to in my site.pp, because i was having trouble with that this morning and it said that I would need to change the default, so that is what I did
[2009/05/22 07:39:41] <Volcane> yeah basically i think you shouldnt use ips for anything, not for servername not for source dirs etc, it has to be what the master certificate is etc
[2009/05/22 07:40:00] <Volcane> what version/
[2009/05/22 07:41:58] <loquito> But it is what the master cert is I think, this my puppet.conf http://gist.github.com/116074. I am using the latest stable 0.24.8
[2009/05/22 07:42:14] <Volcane> ah no dude, shouldnt do that
[2009/05/22 07:42:28] <loquito> Why is that?
[2009/05/22 07:42:36] <Volcane> best to avoid messing with the certnames atc
[2009/05/22 07:43:13] <loquito> I didn't, I just changed the value in the puppet.conf and let puppet do the rest
[2009/05/22 07:44:57] <Volcane> puppet does a lot of ssl validations and i think i recall many times where ppl had pains with ips in there
[2009/05/22 07:45:09] <Volcane> best to use a cname to 'puppet' and just leave it all defaults
[2009/05/22 07:45:27] <Volcane> cos if you ever move your master to another machine, you'll need to redo all the certs on all your clients if you dont do that
[2009/05/22 07:46:42] <loquito> But this was me just trying to do a simplle test with my laptop and a work machine that we have here. I didn't think it would need to be the actual machine that we are going to use.
[2009/05/22 07:46:54] <Volcane> sure, so make /etc/hosts entries
[2009/05/22 07:47:45] <loquito> The thing is I am going to the 3 day puppet course on monday in Belgium and I just want to have some of an understanding how this thing works before I get there
[2009/05/22 07:48:06] <Volcane> http://www.devco.net/pubwiki/Puppet/GettingStarted theres a step by step i wrote to get people going
[2009/05/22 07:48:37] <Volcane> but i suspect it wont help you, cos you're intent on not following suggestion :)
[2009/05/22 07:49:38] <loquito> I didn't say that I wouldn't follow suggestions, I am going to change the host file now. I just don't understand why the ip is not a good idea is all
[2009/05/22 07:50:47] @ MaGicKanGaRoo joined channel #puppet
[2009/05/22 07:55:46] @ teyo joined channel #puppet
[2009/05/22 07:57:14] @ Quit: teyo: Client Quit
[2009/05/22 08:00:08] @ Quit: monzie:
[2009/05/22 08:04:43] @ Quit: gaveen: "Enough lurking for now"
[2009/05/22 08:10:17] @ MattyM joined channel #puppet
[2009/05/22 08:23:21] @ Quit: d3vilb0x:
[2009/05/22 08:33:45] @ Quit: maxagaz: "Leaving"
[2009/05/22 08:33:49] @ Quit: rgsteele||work: Remote closed the connection
[2009/05/22 08:34:10] @ glaw joined channel #puppet
[2009/05/22 08:35:32] @ lak joined channel #puppet
[2009/05/22 08:36:55] @ Quit: mvn071: "Leaving"
[2009/05/22 08:40:44] @ Quit: MarlondB:
[2009/05/22 08:41:01] @ MarlondB joined channel #puppet
[2009/05/22 08:41:16] @ Quit: mattock: "Leaving."
[2009/05/22 08:41:52] @ mattock joined channel #puppet
[2009/05/22 08:43:05] @ Quit: mattock: Client Quit
[2009/05/22 08:46:12] @ Quit: loquito: "http://www.mibbit.com ajax IRC Client"
[2009/05/22 08:52:23] @ Quit: lak:
[2009/05/22 08:58:34] @ d3vilb0x joined channel #puppet
[2009/05/22 09:02:18] @ teyo joined channel #puppet
[2009/05/22 09:06:12] @ xocas left channel #puppet ()
[2009/05/22 09:07:19] @ rsquared joined channel #puppet
[2009/05/22 09:10:39] @ rgsteele||work joined channel #puppet
[2009/05/22 09:13:27] @ Quit: teyo:
[2009/05/22 09:14:38] @ Quit: nigelk:
[2009/05/22 09:14:51] @ kngus joined channel #puppet
[2009/05/22 09:14:57] @ kngus left channel #puppet ("Leaving.")
[2009/05/22 09:17:27] @ lak joined channel #puppet
[2009/05/22 09:21:39] <jamesturnbull> nasrat: here now
[2009/05/22 09:22:46] <nasrat> jamesturnbull: hey
[2009/05/22 09:23:06] <jamesturnbull> nasrat: hey
[2009/05/22 09:23:07] <nasrat> so we need to revert one patch as it'lll require reworking Resolution tdtrt
[2009/05/22 09:23:23] <nasrat> so I've moved the bug, sent a reversion
[2009/05/22 09:23:24] <jamesturnbull> ok
[2009/05/22 09:23:27] <jamesturnbull> saw that
[2009/05/22 09:23:31] <nasrat> also some patches from tmz
[2009/05/22 09:23:43] <nasrat> that's pretty much everything I know of for 1.5.5
[2009/05/22 09:23:45] <jamesturnbull> trying to work out if I am awake enough to do that
[2009/05/22 09:23:48] <jamesturnbull> let me try :P
[2009/05/22 09:24:04] <nasrat> jamesturnbull: you should just be able to pull my tree I think ;)
[2009/05/22 09:26:01] <jamesturnbull> nasrat: done
[2009/05/22 09:27:13] <nasrat> awesome
[2009/05/22 09:27:35] <jamesturnbull> so release then?
[2009/05/22 09:27:46] @ pdt joined channel #puppet
[2009/05/22 09:27:51] <nasrat> release and be damned
[2009/05/22 09:27:59] @ rasputnik joined channel #puppet
[2009/05/22 09:28:42] @ Quit: pdt: Client Quit
[2009/05/22 09:34:42] @ nigelk joined channel #puppet
[2009/05/22 09:36:07] <gepetto_> ::trac:: Downloading Puppet edited by jamtur01 @ http://reductivelabs.com/trac/puppet/wiki/DownloadingPuppet (by james@lovedthanlost.net)
[2009/05/22 09:38:06] <tmz> jamesturnbull: I think the Rakefile is still busted trying to use lib/facter in the current dir. lib/facter.rb tries to require facter/util/fact and facter/util/collection. both of which fail if facter is not installed.
[2009/05/22 09:38:51] <jamesturnbull> tmz: crapola
[2009/05/22 09:38:53] <tmz> I don't know what the most ruby way to extend the search path is, but googling led me to a lot of this sort of syntax: $: << File.expand_path('lib')
[2009/05/22 09:39:31] <tmz> jamesturnbull: :) but hey, at least it's not a release blocking sort of problem.
[2009/05/22 09:40:07] <tmz> nasrat: thanks for filing those tickets on my behalf.
[2009/05/22 09:40:35] <jamesturnbull> tmz: can you try it with that added in the top?
[2009/05/22 09:41:07] <nasrat> tmz: np
[2009/05/22 09:41:35] <nasrat> thanks for the patches, and happy to help work on cleaning up operating system release better too
[2009/05/22 09:42:06] @ Bass10 joined channel #puppet
[2009/05/22 09:42:08] <nasrat> tmz: yeah that syntax is right, we do similar in the spec_helper.rb
[2009/05/22 09:43:23] <tmz> jamesturnbull: I already had ;) and it does work. perhaps less cryptic is s/$:/$LOAD_PATH (which is used in a few places in facter already)
[2009/05/22 09:43:44] <jamesturnbull> tmz: okay weird that I uninstalled facter and it still worked
[2009/05/22 09:43:48] <jamesturnbull> but okay :P
[2009/05/22 09:44:02] <tmz> jamesturnbull: yeah, that is quite weird. :/
[2009/05/22 09:44:06] <nasrat> jamesturnbull: do you have RUBYLIB set?
[2009/05/22 09:44:32] <jamesturnbull> yeah I might have another non-package installed somewhere I guess
[2009/05/22 09:45:03] <tmz> jamesturnbull: ewwww, non-package installs. how dirty. :P
[2009/05/22 09:45:41] <tmz> nasrat: cleaning up the os release fact main hinges on figuring out what the policy should be. some people are going to have to be disappointed to make things consistent.
[2009/05/22 09:46:35] <nasrat> yeah there is a lot of work to be done on coming up with clear policies (and namespaces too)
[2009/05/22 09:47:27] <nasrat> breaking things in a backwards compatible way is sucky for someone always
[2009/05/22 09:48:02] @ kibahop joined channel #puppet
[2009/05/22 09:48:12] <tmz> sure. but at least breaking it on a major release boundary is more accceptable and can bring nice benefits.
[2009/05/22 09:48:22] @ Quit: nigelk:
[2009/05/22 09:48:36] <tmz> anyway, I'm off to the great outdoors for the day. many thanks to both of you for doing the dirty work to get a release out!
[2009/05/22 09:48:52] @ kibahop left channel #puppet ()
[2009/05/22 09:50:16] @ werner_ joined channel #puppet
[2009/05/22 09:52:40] <jamesturnbull> tmz: okay updated and pushed
[2009/05/22 09:53:07] <werner_> are there places available for the puppet training next week in Belgium?
[2009/05/22 09:54:04] <gepetto_> ::trac:: Downloading Puppet edited by jamtur01 @ http://reductivelabs.com/trac/puppet/wiki/DownloadingPuppet (by james@lovedthanlost.net)
[2009/05/22 09:54:19] @ shake-n-bake joined channel #puppet
[2009/05/22 09:55:32] @ MattyM_ joined channel #puppet
[2009/05/22 10:00:15] @ langseth joined channel #puppet
[2009/05/22 10:02:21] @ kngus1 joined channel #puppet
[2009/05/22 10:04:07] @ kngus1 left channel #puppet ("Leaving.")
[2009/05/22 10:06:48] @ Quit: lak:
[2009/05/22 10:09:36] @ Quit: schwagala: Read error: 54 (Connection reset by peer)
[2009/05/22 10:10:32] @ joe-mac joined channel #puppet
[2009/05/22 10:11:00] @ Quit: MattyM: Read error: 110 (Connection timed out)
[2009/05/22 10:11:01] @ Quit: tim|macbook:
[2009/05/22 10:13:53] <MaGicKanGaRoo> can a define return a varaible to the class that called it?
[2009/05/22 10:14:29] <joe-mac> puppet isn't a procedural language like that
[2009/05/22 10:14:41] <joe-mac> i think procedural would be the word, it's 'descriptive' programming i believe
[2009/05/22 10:14:51] @ schwagala joined channel #puppet
[2009/05/22 10:15:07] <MaGicKanGaRoo> righto
[2009/05/22 10:15:10] @ lutter joined channel #puppet
[2009/05/22 10:15:18] <Volcane> what you trying to do/
[2009/05/22 10:15:19] @ ssm left channel #puppet ()
[2009/05/22 10:16:16] <MaGicKanGaRoo> whats that site where i can post my script?
[2009/05/22 10:16:25] <Volcane> pastie.org
[2009/05/22 10:16:40] <MaGicKanGaRoo> thanks let me put it up
[2009/05/22 10:16:53] <MaGicKanGaRoo> http://pastie.org/486419
[2009/05/22 10:17:03] <MaGicKanGaRoo> so im trying to use $ssh_users +=["$name"]
[2009/05/22 10:17:14] @ cwebber joined channel #puppet
[2009/05/22 10:17:21] <MaGicKanGaRoo> within the define to append the username i just created to the ssh_users varaiable
[2009/05/22 10:17:30] <MaGicKanGaRoo> so that other classes can call on it
[2009/05/22 10:17:38] <MaGicKanGaRoo> like my sudo
[2009/05/22 10:17:51] <Volcane> ah, this looks familiar
[2009/05/22 10:17:57] <joe-mac> that would be awesome, i think i tried this before, forget what i did though
[2009/05/22 10:17:58] <Volcane> think this exact code has been asked about before :)
[2009/05/22 10:18:09] <Volcane> complete with camelCase
[2009/05/22 10:18:24] <joe-mac> idk how i feel about camel casing
[2009/05/22 10:18:56] <MaGicKanGaRoo> yeah I think i asked before but i couldnt remember what people said, plus its based on lots of sources and almagamted
[2009/05/22 10:19:04] <MaGicKanGaRoo> i like camel casing :)
[2009/05/22 10:19:21] @ DerekW joined channel #puppet
[2009/05/22 10:19:26] <Volcane> i think if you set $ssh_users high enough in scope, it might be possible
[2009/05/22 10:19:45] <Volcane> ie. so its just a big global variable
[2009/05/22 10:19:45] <joe-mac> i used to use it a lot then i worked at a large open source company and all the guys wrote gnu code, so they use underscores, i think i kinda got used to that
[2009/05/22 10:19:51] <Volcane> but you'd still be burned by order of execution though
[2009/05/22 10:20:36] <MaGicKanGaRoo> right i see, i get what you mean about global vars, didnt know they were aviable in puppet
[2009/05/22 10:20:39] @ monzie joined channel #puppet
[2009/05/22 10:20:54] <Volcane> yeah if you set it in site.pp not inside any class {} or node{} then it should be fine
[2009/05/22 10:21:07] @ Quit: monzie: Client Quit
[2009/05/22 10:21:12] <MaGicKanGaRoo> i see, thanks ill give that a go
[2009/05/22 10:24:43] @ Quit: shake-n-bake:
[2009/05/22 10:25:04] @ alban2 joined channel #puppet
[2009/05/22 10:27:33] @ nigelk joined channel #puppet
[2009/05/22 10:29:27] @ tim|macbook joined channel #puppet
[2009/05/22 10:45:34] <jamesturnbull> werner_: email teyo@reductivelabs.com
[2009/05/22 10:46:43] <werner_> thanks
[2009/05/22 10:51:31] @ Guest32313 joined channel #puppet
[2009/05/22 10:53:46] @ pheezy joined channel #puppet
[2009/05/22 10:53:51] <Guest32313> hi. I'm trying to create a conditional depenency in Puppet and wondered if anyone could help. I basically want to say that a resource should require a particular file if the os is linux, and not have a depenency otherwise. e.g. require => [File["/etc/passwd"], $operatingsystem ? { solaris => File["/etc/netgroup"], default => undef}],
[2009/05/22 10:54:44] @ alfism joined channel #puppet
[2009/05/22 10:58:32] <Volcane> MaGicKanGaRoo: did it work?
[2009/05/22 11:00:33] @ hessmll joined channel #puppet
[2009/05/22 11:01:42] <jamesturnbull> nasrat: released and emails out
[2009/05/22 11:03:21] @ Quit: glaw: Remote closed the connection
[2009/05/22 11:04:25] * Volcane might be going nuts but were they always extension tar.gz and not tgz?
[2009/05/22 11:09:58] * Volcane runs facter -p a few times for pure novelty value
[2009/05/22 11:10:15] @ malraid_ joined channel #puppet
[2009/05/22 11:10:21] <jamesturnbull> Volcane: you are nuts generally :) but in this case you're correct - I rewrote the build process to remove the requirement for the ReductiveLabs build library
[2009/05/22 11:10:44] <jamesturnbull> Volcane: so much easier to build tarballs and gems now
[2009/05/22 11:10:48] <Volcane> :) so why the name change?
[2009/05/22 11:11:26] <jamesturnbull> Volcane: that's the Rake default
[2009/05/22 11:11:29] <Volcane> ah
[2009/05/22 11:11:34] <Volcane> right
[2009/05/22 11:12:00] <Volcane> when you release 1.5.5rc2 the directory in the tarball was 1.5.5 not 1.5.5rc2 small thing but worth remembering
[2009/05/22 11:12:33] @ lak joined channel #puppet
[2009/05/22 11:12:44] <jamesturnbull> Volcane: yeah there is a problem with gems
[2009/05/22 11:13:06] <jamesturnbull> Volcane: they don't like releases with non-numeric versions
[2009/05/22 11:13:28] <jamesturnbull> so I can't build if the version is 1.5.5rc2 for example
[2009/05/22 11:13:35] <Volcane> ah :)
[2009/05/22 11:14:01] <jamesturnbull> it's bloody annoying but out of my control
[2009/05/22 11:14:31] * jamesturnbull takes out RubyGems and shoots it
[2009/05/22 11:14:37] <Volcane> yeah, had to untar, rename, re-tar etc to build rpms without messing around too much with spec files. anyway, doesnt matter for the actual releases so whatever
[2009/05/22 11:15:01] <jamesturnbull> ok
[2009/05/22 11:15:02] <z00dax> so much for pristine sourcs in the srpm
[2009/05/22 11:15:04] <z00dax> :p
[2009/05/22 11:15:06] @ authentic joined channel #puppet
[2009/05/22 11:15:16] <jamesturnbull> z00dax: well its fine for the release
[2009/05/22 11:15:17] <Volcane> :) just for the rc :)
[2009/05/22 11:15:22] <Volcane> release is great
[2009/05/22 11:15:27] <jamesturnbull> z00dax: it's just th RC that is kfucked
[2009/05/22 11:15:32] <Volcane> i just built it and upgraded 2 x dev box and its fine
[2009/05/22 11:15:36] <z00dax> thats what rc's are for
[2009/05/22 11:15:42] <jamesturnbull> Volcane: thanks - good to know :P
[2009/05/22 11:15:50] <Volcane> one i386 and one x86_64
[2009/05/22 11:16:01] <jamesturnbull> the last time around the first bug was like 5 minutes after release
[2009/05/22 11:16:08] <jamesturnbull> :)
[2009/05/22 11:16:09] <Volcane> heh
[2009/05/22 11:17:27] <Volcane> it works fine for me no complaints, apart from the usual facter <fact> not working for many types of facts, but nothing new there :)
[2009/05/22 11:17:48] <jamesturnbull> Volcane: 1.6 and 2.0 will work toward fixing that
[2009/05/22 11:17:51] <Volcane> and would have been nice to kill some warnings if run without root
[2009/05/22 11:17:52] <Volcane> Could not retrieve virtual: Permission denied - /proc/xen/capabilities
[2009/05/22 11:17:59] <nasrat> jamesturnbull: cool
[2009/05/22 11:18:29] @ Quit: tim|macbook: Read error: 110 (Connection timed out)
[2009/05/22 11:18:29] <Volcane> and ipv6 support for ipaddress_* :P
[2009/05/22 11:18:41] <jamesturnbull> Volcane: will go when we refacter virtual.rb and ipv6 is scheduled for 1.6
[2009/05/22 11:18:49] <Volcane> sweet sweet
[2009/05/22 11:19:10] * Volcane would be glad just to get somewhere to actually run native ipv6 so for now i couldnt care less
[2009/05/22 11:19:13] <jamesturnbull> I wanted to do it for 1.5.5 but we really needed to refacter the IP code ... again :P
[2009/05/22 11:19:40] <jamesturnbull> Volcane: lol me too
[2009/05/22 11:19:46] <MaGicKanGaRoo> Hi Volcane, sorry something came up, testing it shortly
[2009/05/22 11:19:50] <MaGicKanGaRoo> will let you nkow
[2009/05/22 11:19:52] <MaGicKanGaRoo> *know
[2009/05/22 11:20:03] @ shake-n-bake joined channel #puppet
[2009/05/22 11:20:03] <Volcane> used to be a nice little isp here that had native ipv6 but they sold out and so forth *glares at huggie*
[2009/05/22 11:20:07] @ plathrop-away is now known as plathrop
[2009/05/22 11:21:28] <jamesturnbull> okay - I think I've earnt a cigarette and a lemon, lime and bitters - later all
[2009/05/22 11:21:41] <Volcane> c'ya
[2009/05/22 11:22:12] <jamesturnbull> Volcane: ping me if you have any issues - will be back in the morning - 6-7 hours
[2009/05/22 11:22:31] <Volcane> yeah i dont think I'll be tinkering with this much, major lack of sleep here :)
[2009/05/22 11:22:37] * Volcane forsees a long weekend in the park with a book
[2009/05/22 11:22:56] <jamesturnbull> Volcane: enjoy! sounds like a damn good plan
[2009/05/22 11:22:58] <nasrat> jamesturnbull: have a good one
[2009/05/22 11:23:02] <jamesturnbull> nasrat: later
[2009/05/22 11:23:25] @ Guest32313 left channel #puppet ()
[2009/05/22 11:27:12] @ Quit: malraid: Read error: 113 (No route to host)
[2009/05/22 11:28:30] @ Quit: MarlondB:
[2009/05/22 11:31:12] <sigmonsays> anyone think of a way to get a root device ?
[2009/05/22 11:31:37] <huggie> Volcane: Means I can enjoy the bank holiday weekend without having to check in though :D
[2009/05/22 11:31:57] <huggie> Volcane: What did you want v6 for? Bogons'll do v6 colo and ADSL I think.
[2009/05/22 11:32:09] @ malraid_ is now known as malraid
[2009/05/22 11:32:10] <Volcane> huggie: ah just to start getting exposure to it etc
[2009/05/22 11:32:38] <Volcane> huggie: there'll be tons to make consulting in a few years once ipv6 takes root, so might as well get up to speed
[2009/05/22 11:34:43] <Volcane> huggie: I'm sure you care and all, but RS sold to iomart, which is annoying cos i moved all my machines to you when i got sick of iomart!
[2009/05/22 11:34:56] <Volcane> evil circle
[2009/05/22 11:43:40] @ xyz joined channel #puppet
[2009/05/22 11:46:18] <huggie> Volcane: Yeah I saw they sold out. Oops.
[2009/05/22 11:48:18] @ justindossey joined channel #puppet
[2009/05/22 11:52:25] @ Quit: madrescher: "Leaving."
[2009/05/22 11:52:28] @ Quit: fujin:
[2009/05/22 12:05:37] @ madrescher joined channel #puppet
[2009/05/22 12:16:11] @ Quit: shake-n-bake:
[2009/05/22 12:18:16] @ Quit: madrescher: "Leaving."
[2009/05/22 12:20:25] @ Quit: francois: "Leaving."
[2009/05/22 12:21:26] @ Quit: DerekW: "Leaving"
[2009/05/22 12:21:41] @ Quit: alban2: "A bientot"
[2009/05/22 12:22:33] @ fujin joined channel #puppet
[2009/05/22 12:24:49] @ madrescher joined channel #puppet
[2009/05/22 12:25:15] @ Quit: rasputnik: Read error: 110 (Connection timed out)
[2009/05/22 12:25:25] @ Quit: fujin: Client Quit
[2009/05/22 12:30:18] @ Quit: MattyM_: "ta ta"
[2009/05/22 12:36:53] @ Quit: mikepea: Read error: 60 (Operation timed out)
[2009/05/22 12:43:19] @ Quit: MaGicKanGaRoo: Remote closed the connection
[2009/05/22 12:45:27] @ Quit: fbe: Read error: 60 (Operation timed out)
[2009/05/22 12:46:17] @ fbe joined channel #puppet
[2009/05/22 12:50:30] @ ezmob joined channel #puppet
[2009/05/22 12:52:34] @ Quit: briandquinn:
[2009/05/22 12:55:14] @ Quit: malraid: Read error: 110 (Connection timed out)
[2009/05/22 12:57:31] @ grim_radical joined channel #puppet
[2009/05/22 13:06:41] @ Quit: nasrat: "Ex-Chat"
[2009/05/22 13:10:09] @ grim_fandango joined channel #puppet
[2009/05/22 13:13:26] <grim_fandango> Hi folks
[2009/05/22 13:13:37] <grim_fandango> I was on here a couple of days asking about an example configuration for Puppet
[2009/05/22 13:13:52] <grim_fandango> http://example42.com is exactly what I was looking for :-)
[2009/05/22 13:14:11] <joe-mac> there are a couple if you search for complete configuration i think on the wiki
[2009/05/22 13:14:26] <joe-mac> there's the lab42 and ahhh that guy... can't think of his name atm, i think he hangs out in here too
[2009/05/22 13:14:52] <grim_fandango> example42 appears to be lab42 stuff
[2009/05/22 13:15:26] <grim_fandango> I find the wiki search next to useless
[2009/05/22 13:21:18] @ ssm joined channel #puppet
[2009/05/22 13:30:39] @ Quit: kolla: Remote closed the connection
[2009/05/22 13:31:07] @ Quit: markp:
[2009/05/22 13:33:10] <joe-mac> grim_fandango: expound
[2009/05/22 13:33:18] <joe-mac> i think the wiki is awesome
[2009/05/22 13:33:40] <joe-mac> and it hink RL would want to hear what its users think...
[2009/05/22 13:34:14] @ Quit: zeroXten: Remote closed the connection
[2009/05/22 13:35:20] <grim_fandango> Eh? Oh, I think the wiki is great too ... it's the /search/ portion of it that I don't find particularly useful.
[2009/05/22 13:35:23] @ mikepea joined channel #puppet
[2009/05/22 13:35:51] <joe-mac> yea i agree with that
[2009/05/22 13:35:58] <joe-mac> i bookmark everything pretty much that i am going to need
[2009/05/22 13:36:24] @ ezmob is now known as ezmob|away
[2009/05/22 13:36:38] @ Quit: rgsteele||work: Read error: 113 (No route to host)
[2009/05/22 13:42:25] <jamesturnbull> joe-mac: grim_fandango we're replacing the Trac wiki with a dokuwiki shortly
[2009/05/22 13:42:46] <joe-mac> cool
[2009/05/22 13:42:53] <jamesturnbull> joe-mac: grim_fandango Trac's search is often unhelpful and we'd hoped to do it sooner but other priorities have arisen
[2009/05/22 13:43:02] <joe-mac> i c
[2009/05/22 13:45:03] <jamesturnbull> teyo and I will get it finished and migrated in the next month or so I hope and I'll start rewriting the doco shortly afterward
[2009/05/22 13:48:15] <joe-mac> jamesturnbull: you would know this, there's a way to basically watch a file in puppet but not really manage it, casuse i want to notify a service that IS managed by puppet when the file gets updated
[2009/05/22 13:49:17] <jamesturnbull> joe-mac: checksum
[2009/05/22 13:49:29] <jamesturnbull> joe-mac: read the details in the wiki:TypeReference
[2009/05/22 13:49:54] <gepetto_> jamesturnbull: joe-mac: wiki:TypeReference is http://reductivelabs.com/trac/puppet/wiki/TypeReference
[2009/05/22 13:49:54] <joe-mac> k checking it out now
[2009/05/22 13:56:19] @ ezmob|away is now known as ezmob
[2009/05/22 14:00:38] <sigmonsays> anyone aware of some code that parses the "source" attribute of Puppet::Util::Log ?
[2009/05/22 14:09:17] @ malraid joined channel #puppet
[2009/05/22 14:12:02] <sigmonsays> man this code is crazy
[2009/05/22 14:14:19] @ grey- joined channel #puppet
[2009/05/22 14:14:29] <joe-mac> codes: they're crazy
[2009/05/22 14:14:33] <joe-mac> i want that on a shirt
[2009/05/22 14:22:10] @ Quit: lak:
[2009/05/22 14:27:53] @ ryanduff is now known as ryanduff|away
[2009/05/22 14:32:51] <joe-mac> anyone wanna help me figure out how to manage the MAILADDR for mdadm, without augeus?
[2009/05/22 14:34:21] <joe-mac> i have a class, but can't get it to kick off an /etc/init.d/mdadm restart when the change happens
[2009/05/22 14:34:22] <joe-mac> let me pastie
[2009/05/22 14:35:39] <joe-mac> http://www.pastie.org/486700
[2009/05/22 14:35:44] @ Quit: keithlar: "Leaving..."
[2009/05/22 14:37:47] @ mvn071 joined channel #puppet
[2009/05/22 14:38:19] @ MarlondB joined channel #puppet
[2009/05/22 14:39:07] @ nakano is now known as nakano_
[2009/05/22 14:40:10] @ jmarki joined channel #puppet
[2009/05/22 14:41:39] @ plathrop is now known as plathrop-away
[2009/05/22 14:41:49] <jbooth> why have the file middleman, why not just notify from append_if_no_such_line?
[2009/05/22 14:42:26] <joe-mac> that won't work, because that resource runs every manifest application, the exec inside that define doesn't...
[2009/05/22 14:42:45] <joe-mac> i guess i could move the exec in to this class, and not wrap it around that define, it'll just be duplicate code and ugly
[2009/05/22 14:44:14] <jbooth> well the file exists the whole time, so it won't trigger the notify. You might be able to use jamesturnbull's checksum suggestion
[2009/05/22 14:44:27] <jbooth> Alternately
[2009/05/22 14:44:42] <joe-mac> YEA that's what i forgot
[2009/05/22 14:44:44] <joe-mac> durr,
[2009/05/22 14:44:50] <joe-mac> thanks
[2009/05/22 14:45:05] <jbooth> Rewrite the append_if as a exec { sed... onlyif=> } and chain the notify off that.
[2009/05/22 14:45:14] <jbooth> The notify should only go out if the onlyif evaluates to true
[2009/05/22 14:45:57] <joe-mac> yea that could work too
[2009/05/22 14:46:57] @ Quit: mikepea: Read error: 54 (Connection reset by peer)
[2009/05/22 14:47:56] @ mikepea joined channel #puppet
[2009/05/22 14:54:02] @ WALoeIII joined channel #puppet
[2009/05/22 14:55:58] @ juli joined channel #puppet
[2009/05/22 14:56:16] @ rasputnik joined channel #puppet
[2009/05/22 14:58:05] @ mfoster joined channel #puppet
[2009/05/22 14:58:28] <joe-mac> can you make a definition that utilizes a definition inside it>?
[2009/05/22 14:59:27] <jbooth> Sure, why not?
[2009/05/22 14:59:41] <jbooth> They're just degenerate type/reference roll-ups.
[2009/05/22 15:00:38] <joe-mac> yea i thoguth so
[2009/05/22 15:00:46] <joe-mac> jbooth: you have any experience with jbooth?
[2009/05/22 15:00:46] <jbooth> You can even use a definition inside itself to do recursion.
[2009/05/22 15:00:59] <jbooth> ?
[2009/05/22 15:01:08] <joe-mac> ROFL
[2009/05/22 15:01:39] <joe-mac> dude, that was retarded. i tried to tab complete a thought i had
[2009/05/22 15:01:46] <joe-mac> i meant augeus
[2009/05/22 15:01:48] <jbooth> Yes, I have a lot of experience being myself? I practice every day!
[2009/05/22 15:01:52] <joe-mac> lmao
[2009/05/22 15:01:52] <jbooth> Only a little
[2009/05/22 15:02:14] <jbooth> It was kinda frustrating to use. Particularly since the feature of it I needed was bugged in puppet.
[2009/05/22 15:02:17] <jbooth> I think that is fixed now.
[2009/05/22 15:02:21] <joe-mac> i'm thinking of rolling my own .24.8, since the one in ubuntu is a little old
[2009/05/22 15:02:47] <joe-mac> hm, you use red hat distros or deb based?
[2009/05/22 15:02:59] <jbooth> RHEL itself, plus a smattering of Fedora.
[2009/05/22 15:03:04] <jbooth> Mostly RHEL5
[2009/05/22 15:03:40] <jbooth> Augeas looks good on paper, but I'm not sure how great a puppet implementation it makes.
[2009/05/22 15:04:35] <jbooth> puppet type it makes, I guess. Not implementation
[2009/05/22 15:06:38] <grim_fandango> I am using RHEL4 and for some reason puppetd goes into the background even when I give it --no-daemonize --verbose as arguments.
[2009/05/22 15:06:40] <grim_fandango> Funny thing.
[2009/05/22 15:10:10] <jbooth> What version of puppet and how are you starting it?
[2009/05/22 15:11:17] <joe-mac> i've heard of that before, but not seen it
[2009/05/22 15:12:18] @ ezmob is now known as ezmob|away
[2009/05/22 15:14:03] @ kolla joined channel #puppet
[2009/05/22 15:15:15] <grim_fandango> jbooth: Latest version of puppet, I'm just doing # puppetd --no-daemonize --verbose
[2009/05/22 15:15:38] <grim_fandango> A number of other combinations result in the daemon backgrounding even thought I've told it not to.
[2009/05/22 15:15:43] <joe-mac> i've def heard of this before
[2009/05/22 15:15:50] <joe-mac> just can't remember a fix, sorry dude
[2009/05/22 15:19:08] <juli> I just added an update site
[2009/05/22 15:20:11] <jbooth> grim_fandango: wacky.
[2009/05/22 15:20:20] @ Josh_M joined channel #puppet
[2009/05/22 15:22:06] @ lak joined channel #puppet
[2009/05/22 15:22:09] <agaffney> grim_fandango: have you tried just 'puppetd --test'?
[2009/05/22 15:26:36] @ keithlar joined channel #puppet
[2009/05/22 15:26:47] @ keithlar_ joined channel #puppet
[2009/05/22 15:46:34] @ ezmob|away is now known as ezmob
[2009/05/22 15:55:18] @ tessier_ joined channel #puppet
[2009/05/22 16:04:59] @ Quit: pheezy: "Leaving..."
[2009/05/22 16:08:28] <tessier_> Where can I actually get puppet-mode.el?
[2009/05/22 16:08:53] <tessier_> It doesn't seem to have come with the puppet rpm and searching for it turns up references to it in the bug tracker but nothing else.
[2009/05/22 16:09:29] <tessier_> Nevermind. Finally found it.
[2009/05/22 16:14:47] @ joe-mac left channel #puppet ()
[2009/05/22 16:15:45] <Josh_M> I'm having a problem getting the centralized sudoers recipe to work. This is on a fresh install of puppet client/server and I merely followed the Simple->Advanced->Centralized recipes in order. I get 2 errors when running the client in debug mode.
[2009/05/22 16:15:57] @ Quit: MrHeavy: "Ex-Chat"
[2009/05/22 16:16:32] <Josh_M> err: Could not find server : getaddrinfo: Name or service not known
[2009/05/22 16:16:32] <Josh_M> err: //Node[basenode]/sudo/File[/etc/sudoers]/source: change from {md5}6370419a4bd51faa8d28e0d0a3bc7896 to puppet:///sudo/sudoers failed: Could not find server puppet
[2009/05/22 16:17:01] <fsweetser> are you passing the --server=<hostname> option to puppetd on startup?
[2009/05/22 16:17:16] <fsweetser> if you don't, it defaults to looking for a hostname of 'puppet'
[2009/05/22 16:17:36] <Josh_M> yes, I'm passing verbose,debug,trace,no-daemonize, and server
[2009/05/22 16:18:38] <fsweetser> how about your filebucket definition? I believe that also defaults to puppet if not explicitly defined
[2009/05/22 16:18:58] <Josh_M> before I moved on to the Centralized recipe, the permissions changes worked fine. In other words I would just change the perms on the client sudoers and it would change them back to 440
[2009/05/22 16:19:26] <fsweetser> that would be consistent with the error coming from the filebucket
[2009/05/22 16:19:36] <fsweetser> the filebucket doesn't come into play until puppet has to change the contents of a file
[2009/05/22 16:20:06] <Josh_M> ahh, ok instructions didn't meantion that. I'm guessing thats my problem then. In site.pp I have this:
[2009/05/22 16:20:07] <Josh_M> filebucket { main: server => puppet }
[2009/05/22 16:20:16] <Josh_M> I assume "puppet" should be changed to my actual host name?
[2009/05/22 16:20:25] <fsweetser> correct
[2009/05/22 16:21:27] <lak> Josh_M: even better, name the filebucket 'puppet' and it'll get used by default
[2009/05/22 16:21:35] <lak> the example on the wiki should say that
[2009/05/22 16:21:42] <lak> Josh_M: where is that example? i'll correct it
[2009/05/22 16:21:58] <Josh_M> I tried changing to the hostname and I get this error:
[2009/05/22 16:21:58] <Josh_M> err: Could not retrieve catalog: Could not parse for environment production: Syntax error at '.'; expected '}' at /etc/puppet/manifests/site.pp:6
[2009/05/22 16:22:34] <Josh_M> on this page: http://reductivelabs.com/trac/puppet/wiki/AdvancedPuppetRecipe in the "Updating sites.pp" section it merely shows the new file, no comments about changing to meet your environment
[2009/05/22 16:23:29] <lak> Josh_M: quote the hostname
[2009/05/22 16:23:51] <Josh_M> filebucket { main: server => test242.evolve.local }
[2009/05/22 16:25:58] <gepetto_> ::trac:: Advanced Puppet Recipe edited by luke @ http://reductivelabs.com/trac/puppet/wiki/AdvancedPuppetRecipe (by luke@madstop.com)
[2009/05/22 16:27:40] <Josh_M> excellent, that works. Thanks for the quick and accurate help guys.
[2009/05/22 16:33:02] <lak> Josh_M: filebucket { puppet: server => 'test242.evolve.local' }
[2009/05/22 16:33:08] <lak> you have to quote terms that have '.' in them
[2009/05/22 16:33:34] <lak> k
[2009/05/22 16:33:37] <lak> err, ww
[2009/05/22 16:41:54] @ Quit: d3vilb0x: Read error: 110 (Connection timed out)
[2009/05/22 16:44:26] @ briandquinn joined channel #puppet
[2009/05/22 16:46:56] @ Quit: rsquared: "Leaving"
[2009/05/22 16:48:00] @ Quit: xyz: Connection timed out
[2009/05/22 16:55:41] @ Quit: briandquinn:
[2009/05/22 17:17:15] @ Quit: lak:
[2009/05/22 17:17:49] @ Quit: kolla: Remote closed the connection
[2009/05/22 17:21:11] @ Quit: artista_frustrad: "Leaving"
[2009/05/22 17:21:40] @ Quit: MarlondB:
[2009/05/22 17:24:02] @ ezmob is now known as ezmob|away
[2009/05/22 17:47:46] @ mikepea_ joined channel #puppet
[2009/05/22 17:48:09] @ Quit: mikepea: Remote closed the connection
[2009/05/22 17:49:24] @ ezmob|away is now known as ezmob
[2009/05/22 17:49:39] @ mikepea joined channel #puppet
[2009/05/22 17:50:48] @ Quit: rasputnik: "This computer has gone to sleep"
[2009/05/22 17:51:37] @ Quit: mikepea_: Read error: 60 (Operation timed out)
[2009/05/22 17:51:59] <juli> I'm learning puppet today, is there some UI for it ? like a web ui or rich client UI?
[2009/05/22 17:52:23] <juli> (makes sense?, because is possible that I didnt completely understand how it is used)
[2009/05/22 17:56:51] @ nakano_ is now known as nakano
[2009/05/22 17:57:25] <Cuchulain> pretty sure there isn't
[2009/05/22 17:57:34] <Cuchulain> you have to use a text editor to create your manifests
[2009/05/22 17:59:47] <juli> how do I manage the nodes?
[2009/05/22 18:00:05] @ Quit: ezmob: "Bye!"
[2009/05/22 18:02:49] <agaffney> juli: with a text editor :P
[2009/05/22 18:03:48] @ Quit: jmarki: Remote closed the connection
[2009/05/22 18:04:14] <juli> I found iClassify
[2009/05/22 18:04:43] <juli> what I'm imagining to use puppet for what I want is like a UI where I can see the puppet nodes and work with them,uploading new recipes
[2009/05/22 18:04:58] <juli> and a UI for developing would be nice too but not as necessary
[2009/05/22 18:05:41] <agaffney> it's not *that* hard to create the files by hand
[2009/05/22 18:05:43] <agaffney> and add clients
[2009/05/22 18:06:21] <juli> which tool can I sue to see the status of the nodes? or puppet doesn't cover that and I have to sue something else?
[2009/05/22 18:06:31] <agaffney> puppet isn't "real time" like that
[2009/05/22 18:06:35] <juli> s/sue/use
[2009/05/22 18:07:28] @ Quit: Demosthenes: Read error: 60 (Operation timed out)
[2009/05/22 18:07:41] <juli> ok, can I do something like check the whole FS in every node to verify the file permissions are correct?
[2009/05/22 18:08:08] <juli> and check the versions of linux packages and a list of forbidden packets for example?
[2009/05/22 18:08:23] <nigelk> juli: I think you're missing the point
[2009/05/22 18:08:34] <nigelk> you write puppet manifests that describe how you want the state of the OS to be
[2009/05/22 18:08:35] <agaffney> quite
[2009/05/22 18:08:39] <nigelk> packages, file permissions etc
[2009/05/22 18:08:45] <nigelk> and then puppet runs guarantee that state
[2009/05/22 18:08:56] <agaffney> puppet is not for "information gathering"
[2009/05/22 18:09:18] <nigelk> If you want to monitor your hosts... use a monitoring systems
[2009/05/22 18:09:31] <nigelk> and if you want to manage every file on the OS, use something tripwire based
[2009/05/22 18:09:40] <nigelk> as writing all those manifests in Puppet would send most people insane
[2009/05/22 18:10:13] <juli> ok is not to automate managment tasks
[2009/05/22 18:10:28] <nigelk> um. yes it is?
[2009/05/22 18:11:22] <tessier_> http://reductivelabs.com/trac/puppet/wiki/CookBook results in a 404
[2009/05/22 18:11:26] <tessier_> And all links to the cookbook in existing docs seem to point to it
[2009/05/22 18:11:45] <tessier_> nigelk: Can puppet track md5's of files and warn us if something changes?
[2009/05/22 18:11:47] <agaffney> juli: you seem to have an odd idea of "management tasks"
[2009/05/22 18:11:50] <juli> nigelk: isn't there a way to replace tripwire with puppet if I write the scripts?
[2009/05/22 18:11:59] <nigelk> tessier_: that's exactly how the File resources work
[2009/05/22 18:12:01] <agaffney> tessier_: probably, but it's not intended to work that way
[2009/05/22 18:12:09] <nigelk> but "warn us" is the wrong idea
[2009/05/22 18:12:20] <nigelk> I think of it this way.
[2009/05/22 18:12:21] <agaffney> juli: puppet != tripwire
[2009/05/22 18:12:26] <agaffney> not even close
[2009/05/22 18:12:27] <nigelk> Puppet lets you describe the ideal state for your clients
[2009/05/22 18:12:28] <juli> yes I know is different
[2009/05/22 18:12:38] <nigelk> and you can choose whether that state is utterly comprehensive
[2009/05/22 18:12:42] <nigelk> or simply the stuff you care about
[2009/05/22 18:12:58] <nigelk> then client puppet runs aim to reach the desired state
[2009/05/22 18:13:38] <juli> ok and the configuration state is file level or it could udnerstand different config files
[2009/05/22 18:13:45] <nigelk> well.
[2009/05/22 18:13:49] <juli> I mean I can say I want this httpd.conf exactly
[2009/05/22 18:13:52] <nigelk> "file" resources are kind of a lowest common denominator
[2009/05/22 18:13:57] <juli> or can I say I want httpd.conf with this options..
[2009/05/22 18:14:03] <nigelk> you can say you want this file to contain these contents
[2009/05/22 18:14:05] <agaffney> juli: both
[2009/05/22 18:14:08] <nigelk> but you should aim to abstract at a higher level
[2009/05/22 18:14:11] <agaffney> juli: however, the latter requires something much more...custom
[2009/05/22 18:14:25] <nigelk> think more like "I want apache installed. I want it to have this virtual host with these settings just like all my other virtual hosts"
[2009/05/22 18:14:33] <nigelk> "and I want it to always be running"
[2009/05/22 18:14:42] <agaffney> juli: puppet understands how to deal with some types of configs (users/passwords, cron, etc.)
[2009/05/22 18:14:45] <juli> I'm not worried about customization the examples I'm giving are supposing I write the sripts/recipes
[2009/05/22 18:15:22] <juli> I want to udnerstand the potential more than thte current features
[2009/05/22 18:15:44] <nigelk> yep.
[2009/05/22 18:15:55] <nigelk> have you looked at the type reference?
[2009/05/22 18:15:57] <agaffney> juli: there is a ton of potential, but it's not "built-in"
[2009/05/22 18:16:03] @ omry joined channel #puppet
[2009/05/22 18:16:11] <tessier_> Looks like CookBook was renamed Recipes
[2009/05/22 18:16:16] <juli> nigelk: I was looking at the facts right now
[2009/05/22 18:16:20] <nigelk> http://reductivelabs.com/trac/puppet/wiki/TypeReference
[2009/05/22 18:16:33] <nigelk> that's the kind of things you can manage out of the box so to speak
[2009/05/22 18:18:24] <juli> I really like how those files looks
[2009/05/22 18:18:51] <tessier_> Is there an example somewhere of how to configure puppet so that it ensures that it is always running? With cfengine it would run from cron and make sure that its processes were running which would ensure it was in the crontab etc...
[2009/05/22 18:20:30] <juli> so you use augeas as an abstraction for config files
[2009/05/22 18:25:20] @ webx joined channel #puppet
[2009/05/22 18:25:45] <webx> May 22 22:20:34 hpb17016 puppetd[32483]: Could not retrieve catalog: uninitialized constant Facter::IPAddress
[2009/05/22 18:25:49] <webx> any idea what's causing that ?
[2009/05/22 18:27:01] <agaffney> tessier_: I used puppet to create a cron job that runs every 5 minutes and checks for a puppetd process and restarts the service if not found
[2009/05/22 18:27:38] @ Quit: malraid: Read error: 110 (Connection timed out)
[2009/05/22 18:27:40] <tessier_> You had to script the process checking yourself? Shouldn't puppet be able to do that?
[2009/05/22 18:27:53] <tessier_> So you should just run puppet directly from the cron or something.
[2009/05/22 18:28:42] @ mfoster left channel #puppet ()
[2009/05/22 18:29:38] @ lak joined channel #puppet
[2009/05/22 18:32:01] <webx> 0.24.8, CentOS 5.2 on an HP blade server (BL490)
[2009/05/22 18:32:11] <webx> May 22 22:20:34 hpb17016 puppetd[32483]: Could not retrieve catalog: uninitialized constant Facter::IPAddress
[2009/05/22 18:32:38] <webx> pretty cool error.. not sure wtf
[2009/05/22 18:35:54] <lak> webx: you probably installed a new facter version without uninstalling the old version
[2009/05/22 18:36:03] <webx> ohhh
[2009/05/22 18:36:05] <lak> so some old file is sitting around expecting that constant to still exist
[2009/05/22 18:36:17] <webx> where is that stuff located?
[2009/05/22 18:36:19] @ Quit: lak:
[2009/05/22 18:43:12] @ ashlin joined channel #puppet
[2009/05/22 18:44:20] @ ashlin left channel #puppet ()
[2009/05/22 18:44:40] @ Quit: webx: "..(cyp): ."
[2009/05/22 18:45:17] @ shake-n-bake joined channel #puppet
[2009/05/22 18:47:45] @ Quit: shake-n-bake: Client Quit
[2009/05/22 18:47:53] <nigelk> tessier_: you want a daemon to check itself if it dies?
[2009/05/22 18:49:44] <tessier_> nigelk: No. I like the way cfengine does it. The running procs make sure it is cron. The cron makes sure the proc which does the scheduling is running.
[2009/05/22 18:49:51] <tessier_> in cron
[2009/05/22 18:50:10] <nigelk> so that's what agaffney described right?
[2009/05/22 18:50:44] <nigelk> my puppet environment is almost exactly the way you described cfengine
[2009/05/22 18:50:55] <nigelk> I run puppet not as a daemon but as scheduled onetime operations
[2009/05/22 18:51:08] <nigelk> part of puppet running is that it ensures the appropriate cron entry is set up
[2009/05/22 18:52:28] <agaffney> I still use the puppet daemon
[2009/05/22 18:52:36] <agaffney> I just use the cron job to ensure that puppetd is still running
[2009/05/22 18:53:08] <nigelk> I guess I was trying to say that's conceptually the same thing
[2009/05/22 18:53:24] <nigelk> you have a puppet manifest that is there to rescue puppet if it dies
[2009/05/22 18:53:40] <nigelk> like cfengine is set up to ensure the cron job is there
[2009/05/22 18:53:49] <agaffney> basically
[2009/05/22 18:53:58] <agaffney> I have puppet set itself up
[2009/05/22 18:54:16] <agaffney> I just run 'puppetd --test --server puppet.foo.bar', sign the cert, run that command again, and puppet does the rest
[2009/05/22 18:54:29] <agaffney> including providing the puppet.conf and setting up the puppetd service
[2009/05/22 18:59:24] @ Quit: mikepea: Read error: 110 (Connection timed out)
[2009/05/22 19:07:28] <nigelk> does that make more sense now tessier_ ? you can see how agaffney and I have different ways of running puppet, but we both use puppet to make sure puppet is running/scheduled.
[2009/05/22 19:08:12] <tessier_> nigelk: Yes, it does. Thanks!
[2009/05/22 19:08:20] <nigelk> cool
[2009/05/22 19:14:03] @ nakano is now known as nakano_
[2009/05/22 19:14:11] @ Quit: keithlar_:
[2009/05/22 19:14:12] @ Quit: keithlar: Remote closed the connection
[2009/05/22 19:15:25] @ Quit: cwebber:
[2009/05/22 19:16:13] <tessier_> If I have filebucket { puppet: server => 'my.server.name' } does that mean I need a [puppet] section in my fileserver.conf?
[2009/05/22 19:18:31] <agaffney> I think the filebucket "just works"
[2009/05/22 19:19:07] <tessier_> warning: Configuration could not be instantiated: Could not find filebucket main at /etc/puppet/modules/sudo/manifests/init.pp:11
[2009/05/22 19:19:14] <tessier_> I'm trying to go through the advanced example.
[2009/05/22 19:19:26] <tessier_> at http://reductivelabs.com/trac/puppet/wiki/AdvancedPuppetRecipe
[2009/05/22 19:19:32] <tessier_> All well and good up to this part.
[2009/05/22 19:19:40] <tessier_> It never really explains what filebucket is or how to set it up etc.
[2009/05/22 19:20:27] @ justindossey left channel #puppet ()
[2009/05/22 19:21:39] <agaffney> tessier_: you named your filebucket "puppet"
[2009/05/22 19:21:46] <agaffney> change it to "main"
[2009/05/22 19:23:57] <tessier_> That's just what the example said to do. It says it will default to a filebucket named puppet.
[2009/05/22 19:25:26] <tessier_> Cool, changing it to main worked
[2009/05/22 19:29:24] <nigelk> ok. long weekend starts now. self-imposed IRC and email ban. later everyone
[2009/05/22 19:29:30] @ Quit: nigelk: "weeeeeeeeeeeeeeeeeeeeeeeeekend"
[2009/05/22 19:33:39] * tessier_ wonders if cfengine originally seemed this bizarre and impenetrable when he started playing with it years ago
[2009/05/22 19:33:46] <tessier_> I bet it did. Just hard to recall now.
[2009/05/22 19:34:48] <agaffney> I've never used cfengine, but puppet was quite "clear" to me when I first started playing with it
[2009/05/22 19:34:56] <agaffney> perhaps you're just used to the way cfengine does things
[2009/05/22 19:36:15] <tessier_> Yeah. That's always the issue. Unlearning.
[2009/05/22 19:36:54] <tessier_> modules, classes, manifests, I'm lost! :)
[2009/05/22 19:37:16] <tessier_> I do notice that puppet has a lot of its own lingo. "manifest" and "realize" being a couple of peculiar ones.
[2009/05/22 19:37:36] <tessier_> I prefer "policy" to manifest but maybe it's just because what I'm used to.
[2009/05/22 19:37:55] <tessier_> When I tell my boss I am implementing a new configuration policy I bet he understands that better than a new manifest.
[2009/05/22 19:40:17] @ cwebber joined channel #puppet
[2009/05/22 19:49:27] @ Quit: WALoeIII:
[2009/05/22 19:51:36] @ n0ts__ joined channel #puppet
[2009/05/22 19:55:53] @ Quit: madrescher: "Leaving."
[2009/05/22 19:59:22] @ Quit: cwebber:
[2009/05/22 19:59:55] @ Quit: alfism: "Connection reset by beer"
[2009/05/22 20:00:34] @ Quit: mvn071: Remote closed the connection
[2009/05/22 20:02:28] @ alban2 joined channel #puppet
[2009/05/22 20:03:39] @ mfoster joined channel #puppet
[2009/05/22 20:06:12] @ Quit: n0ts_: Read error: 110 (Connection timed out)
[2009/05/22 20:10:03] @ Quit: hessmll: "Leaving..."
[2009/05/22 20:18:04] <jamesturnbull> tessier_: I have a book that might help - http://tinyurl.com/puppetbook
[2009/05/22 20:23:18] @ zahna joined channel #puppet
[2009/05/22 20:23:49] @ Quit: aymerick:
[2009/05/22 20:25:06] <gepetto_> ::trac:: Advanced Puppet Recipe edited by jamtur01 @ http://reductivelabs.com/trac/puppet/wiki/AdvancedPuppetRecipe (by james@lovedthanlost.net)
[2009/05/22 20:25:48] @ zahna left channel #puppet ()
[2009/05/22 20:32:07] @ mattimustang_ joined channel #puppet
[2009/05/22 20:32:16] <gepetto_> ::trac:: Puppet Introduction edited by jamtur01 @ http://reductivelabs.com/trac/puppet/wiki/PuppetIntroduction (by james@lovedthanlost.net)
[2009/05/22 20:34:11] @ Quit: mattimustang_: Client Quit
[2009/05/22 20:34:22] @ mattimustang_ joined channel #puppet
[2009/05/22 20:37:49] <gepetto_> ::trac:: Advanced Puppet Recipe edited by jamtur01 @ http://reductivelabs.com/trac/puppet/wiki/AdvancedPuppetRecipe (by james@lovedthanlost.net)
[2009/05/22 20:51:39] @ lludwig_ joined channel #puppet
[2009/05/22 20:51:45] @ Quit: lludwig_: Remote closed the connection
[2009/05/22 21:00:26] @ Quit: punkcut: Nick collision from services.
[2009/05/22 21:00:27] @ punkcut1 joined channel #puppet
[2009/05/22 21:00:28] @ fbe_ joined channel #puppet
[2009/05/22 21:00:36] @ punkcut1 is now known as punkcut
[2009/05/22 21:04:34] @ Quit: punkcut: Client Quit
[2009/05/22 21:09:23] @ punkcut joined channel #puppet
[2009/05/22 21:12:46] @ Quit: punkcut: Client Quit
[2009/05/22 21:17:25] @ Quit: fbe: Read error: 110 (Connection timed out)
[2009/05/22 21:59:51] @ lak joined channel #puppet
[2009/05/22 22:02:04] @ atlan_ joined channel #puppet
[2009/05/22 22:06:36] @ Quit: lak:
[2009/05/22 22:12:07] @ d3vilb0x joined channel #puppet
[2009/05/22 22:12:59] @ Quit: andrewcshafer: Read error: 113 (No route to host)
[2009/05/22 22:17:10] @ andrewcshafer joined channel #puppet
[2009/05/22 22:18:25] @ Quit: chip__: Read error: 110 (Connection timed out)
[2009/05/22 22:25:05] @ Quit: fbe_: Read error: 60 (Operation timed out)
[2009/05/22 22:33:51] @ andrewcshafer_ joined channel #puppet
[2009/05/22 22:47:48] @ Quit: andrewcshafer: Read error: 113 (No route to host)
[2009/05/22 22:59:28] @ chip__ joined channel #puppet
[2009/05/22 23:02:46] @ kolla joined channel #puppet
[2009/05/22 23:06:23] @ Quit: grey-: Remote closed the connection
[2009/05/22 23:11:02] @ mattimustang_ left channel #puppet ()
[2009/05/22 23:15:49] @ Quit: atlan_: Read error: 110 (Connection timed out)
[2009/05/22 23:33:22] @ Quit: grim_fandango: Remote closed the connection
[2009/05/22 23:44:00] @ schwagal1 joined channel #puppet
[2009/05/22 23:44:00] @ Quit: schwagala: Read error: 54 (Connection reset by peer)
[2009/05/22 23:52:22] @ andrewcshafer_ is now known as andrewcshafer
[2009/05/22 23:57:16] @ Quit: schwagal1: Read error: 60 (Operation timed out)

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