Wednesday, 2009-12-09

[2009/12/09 00:02:47] @ Log started by gepetto_
[2009/12/09 00:02:47] @ nigelk joined channel #puppet
[2009/12/09 00:03:13] @ bodepd joined channel #puppet
[2009/12/09 00:03:39] @ Quit: bodepd: Client Quit
[2009/12/09 00:04:24] @ Quit: Bass10: Read error: 110 (Connection timed out)
[2009/12/09 00:04:24] @ Quit: nigelk: Client Quit
[2009/12/09 00:05:24] @ Quit: pting: "Ex-Chat"
[2009/12/09 00:38:13] @ Quit: jaredrhine: Read error: 110 (Connection timed out)
[2009/12/09 00:40:14] @ jaredrhine joined channel #puppet
[2009/12/09 00:41:25] @ Quit: WALoeIII: "Bai."
[2009/12/09 00:50:57] @ nakano is now known as nakano_
[2009/12/09 00:57:41] @ Quit: kibaho1: "Leaving."
[2009/12/09 00:59:03] @ Quit: cwebber: Read error: 104 (Connection reset by peer)
[2009/12/09 01:03:44] @ cwebber joined channel #puppet
[2009/12/09 01:08:44] @ Quit: cwebber:
[2009/12/09 01:09:31] @ hy is now known as _silver
[2009/12/09 01:18:56] @ Quit: taihen: Read error: 104 (Connection reset by peer)
[2009/12/09 01:18:59] @ taihen joined channel #puppet
[2009/12/09 01:20:25] @ cwebber joined channel #puppet
[2009/12/09 01:28:41] @ ambroff_ joined channel #puppet
[2009/12/09 01:42:05] @ Quit: cwebber:
[2009/12/09 01:44:59] @ jcape joined channel #puppet
[2009/12/09 01:45:14] @ jcape left channel #puppet ()
[2009/12/09 01:46:34] @ bodepd joined channel #puppet
[2009/12/09 01:47:14] @ Quit: bodepd: Client Quit
[2009/12/09 01:50:09] @ _silver is now known as hy
[2009/12/09 01:57:43] @ Quit: ajf-: Read error: 60 (Operation timed out)
[2009/12/09 02:01:05] @ blahdeblah joined channel #puppet
[2009/12/09 02:05:04] @ ajf- joined channel #puppet
[2009/12/09 02:12:01] @ Quit: ambroff_: Read error: 60 (Operation timed out)
[2009/12/09 02:25:31] @ ambroff_ joined channel #puppet
[2009/12/09 02:33:19] @ Chiku|dc joined channel #puppet
[2009/12/09 02:36:29] @ mvn071 joined channel #puppet
[2009/12/09 02:43:02] @ nakano_ is now known as nakano
[2009/12/09 02:47:19] @ johnw joined channel #puppet
[2009/12/09 02:47:24] <nevyn> so.
[2009/12/09 02:47:27] <johnw> hit me
[2009/12/09 02:47:33] <nevyn> the problem isn't the technology part
[2009/12/09 02:47:39] <nevyn> it's the politics part.
[2009/12/09 02:47:49] <johnw> ah
[2009/12/09 02:47:50] <nevyn> creating a log server is something everyone agrees we should do.
[2009/12/09 02:47:58] <johnw> why not just use a purpose-built database?
[2009/12/09 02:48:04] <johnw> i only use PG for rsyslog and puppet, nothing else
[2009/12/09 02:48:09] <johnw> for real stuff, we always use DB2
[2009/12/09 02:48:14] <nevyn> but it's become an IDEA and idea's have to be sponsored to be Projects to get resources like a machine and disk space.
[2009/12/09 02:48:18] @ Quit: Chiku: Read error: 110 (Connection timed out)
[2009/12/09 02:48:20] <johnw> which I'd use with Puppet and rsyslog too, but they can't hack it yet
[2009/12/09 02:48:37] <johnw> oh, hmmm
[2009/12/09 02:48:38] * nevyn has oracle pre-installation puppetised
[2009/12/09 02:48:47] <johnw> yeah, I puppetised DB2 as well
[2009/12/09 02:49:00] <nevyn> and account provisioning and deprovisioning
[2009/12/09 02:49:03] <johnw> you can't do it in a VM?
[2009/12/09 02:49:09] <nevyn> cause I don't trust our directory services team
[2009/12/09 02:49:11] <nevyn> umm no
[2009/12/09 02:49:21] <nevyn> we're a substancial organisation
[2009/12/09 02:49:23] <johnw> i use puppet to manage VM clusters
[2009/12/09 02:49:25] <nevyn> ~500 unixen
[2009/12/09 02:49:28] <johnw> ah
[2009/12/09 02:49:41] <nevyn> a log server is gonna need serious throughput
[2009/12/09 02:49:57] @ friendly12345 joined channel #puppet
[2009/12/09 02:50:22] @ giskard joined channel #puppet
[2009/12/09 02:50:32] <f3ew> Log servers need fast disk for streaming io, and lots of CPU cycles for log analysis
[2009/12/09 02:50:46] <johnw> f3ew: for 500 machines, yeah
[2009/12/09 02:50:51] <johnw> f3ew: not in my case though
[2009/12/09 02:51:11] <johnw> i use multiple puppetmasters for different "clusters"
[2009/12/09 02:51:19] * f3ew is slightly bothered by the sheer number of Puppet issues we are hitting
[2009/12/09 02:51:27] <johnw> f3ew: like what?
[2009/12/09 02:51:46] @ Quit: giskard: Remote closed the connection
[2009/12/09 02:51:56] @ Ramonster joined channel #puppet
[2009/12/09 02:52:24] <f3ew> File interactions breaking (known bug)
[2009/12/09 02:52:34] * nevyn hates the version lockstepping
[2009/12/09 02:53:13] * f3ew wants a fully restful Puppet
[2009/12/09 02:53:23] <nevyn> yeah
[2009/12/09 02:53:24] <f3ew> then there need not be a lockstep
[2009/12/09 02:53:27] <nevyn> they're working on it.
[2009/12/09 02:53:32] <f3ew> I know
[2009/12/09 02:53:39] * f3ew isn't cribbing, just wishing
[2009/12/09 02:53:44] <ohadlevy> f3ew: what do you miss in 0.25.1?
[2009/12/09 02:54:37] <f3ew> ohadlevy, I would like a rather stable, working, non-buggy release
[2009/12/09 02:55:04] <ohadlevy> f3ew:I mean in the restful area
[2009/12/09 02:55:16] @ groove joined channel #puppet
[2009/12/09 02:55:16] <johnw> i wish puppet used less memory, personally
[2009/12/09 02:55:27] <ohadlevy> so switch to cron
[2009/12/09 02:55:37] <johnw> i had to stop using it on my 512M VPS, because it was using 300M of memory
[2009/12/09 02:55:44] <f3ew> ohadlevy, so I can bump up Puppet clients without bumping the master?
[2009/12/09 02:55:45] <groove> is 0.25.1 still leaking a lot?
[2009/12/09 02:55:59] <groove> johnw: how long does it take to get to 300M?
[2009/12/09 02:56:02] <ohadlevy> no, you need a higher or equal version on your master
[2009/12/09 02:56:05] <johnw> groove: i left it running for months and months
[2009/12/09 02:56:22] <ohadlevy> johnw: i reach 450mb in a few hours
[2009/12/09 02:56:27] <ohadlevy> but that was on 0.24-4
[2009/12/09 02:56:27] <johnw> ohadlevy: I suppose I could, but I'd have to rewrite several modules to not depend on state information from the db
[2009/12/09 02:56:32] <johnw> i'm using 0.25.1
[2009/12/09 02:56:33] <groove> at my previous job we ran it from cron, but at my new job they are running it daemonized
[2009/12/09 02:56:58] <groove> i would prefer to be running from cron but wasn't sure if the problems were still around
[2009/12/09 02:57:06] <ohadlevy> johnw: which db?
[2009/12/09 02:57:08] <f3ew> ohadlevy, that's one of the things I think REST may be able to fix
[2009/12/09 02:57:08] <johnw> pgsql
[2009/12/09 02:57:12] @ MattyM joined channel #puppet
[2009/12/09 02:57:19] <johnw> i used stored resources in too many places
[2009/12/09 02:57:22] <johnw> especially for managing Nagios
[2009/12/09 02:57:34] <ohadlevy> johnw: no i mean, whats the relationship between cron a store configs?
[2009/12/09 02:57:49] <johnw> ohadlevy: using cron means you don't run puppetmasterd, right?
[2009/12/09 02:58:10] <ohadlevy> johnw: no, just run puppetd from cron
[2009/12/09 02:58:27] <johnw> and it will still load stored config info from the db?
[2009/12/09 02:58:34] <ohadlevy> johnw: so this way it uses the mem only when its running
[2009/12/09 02:58:35] <ohadlevy> yes
[2009/12/09 02:58:38] <johnw> oh, cool!
[2009/12/09 02:58:44] <johnw> that would do it for me then, thanks
[2009/12/09 02:58:46] <nevyn> johnw: are you talking about memory usage of puppetmasterd?
[2009/12/09 02:58:47] <johnw> i'll have to make a note to try it
[2009/12/09 02:58:51] <nevyn> or of the puppetd's?
[2009/12/09 02:58:53] <johnw> nevyn: puppetmasterd + puppetd
[2009/12/09 02:58:58] <johnw> they are both running on a single host
[2009/12/09 02:59:05] <nevyn> puppetmasterd you're just gonna have to suck it up.
[2009/12/09 02:59:12] <groove> speaking of stored configs, can anybody tell me exactly what *isn't* stored when you use thin stored configs?
[2009/12/09 02:59:14] <nevyn> johnw: puppetd runs on EVERY host.
[2009/12/09 03:00:00] <ohadlevy> groove: if I'm not mistaken, the resources and tags are not
[2009/12/09 03:00:12] @ Quit: heydrick1: Read error: 60 (Operation timed out)
[2009/12/09 03:00:15] @ Quit: idimmu_: Read error: 60 (Operation timed out)
[2009/12/09 03:00:16] @ idimmu joined channel #puppet
[2009/12/09 03:00:17] <groove> ohadlevy: so basically just facts?
[2009/12/09 03:00:28] <ohadlevy> groove: and exported resources afaik
[2009/12/09 03:00:46] <groove> i wanted to use it for ssh keys, nagios services/hosts etc, would thin configs do that?
[2009/12/09 03:01:03] <ohadlevy> i think so
[2009/12/09 03:01:05] @ heydrick1 joined channel #puppet
[2009/12/09 03:01:07] <johnw> that's my usage scenario
[2009/12/09 03:01:09] <ohadlevy> but better re-read the docs :)
[2009/12/09 03:01:13] @ Quit: alexine_dsouza: Read error: 54 (Connection reset by peer)
[2009/12/09 03:01:25] <groove> so when you say resources are not, but exported resources are... that doesn't make much sense to me
[2009/12/09 03:01:27] @ alexine_dsouza joined channel #puppet
[2009/12/09 03:01:28] <groove> could you clarify?
[2009/12/09 03:01:41] <groove> i thought only exported resources could be used anyway
[2009/12/09 03:02:24] <ohadlevy> groove: let me look again at the docs
[2009/12/09 03:02:52] <groove> i'm not opposed to looking at the docs myself, it's just that there doesn't seem to be any clarification of what "thin" stored configs constitutes
[2009/12/09 03:03:40] <Volcane> normal exported resources exports *all resources* thin ones only export onces marked @@
[2009/12/09 03:04:02] <Volcane> so it will work as expected, bt if u use your DB to feed something else for lists of resources etc you wont get the full picture
[2009/12/09 03:04:08] @ shug joined channel #puppet
[2009/12/09 03:04:37] <ohadlevy> Volcane: do you know anyone who actually do that?
[2009/12/09 03:04:55] @ pacalm joined channel #puppet
[2009/12/09 03:06:02] <Volcane> masterzen presumably
[2009/12/09 03:06:11] <Volcane> I've not tried them, too many distant masters
[2009/12/09 03:18:11] * masterzen is a huge fan of thin_storeconfigs :-)
[2009/12/09 03:18:39] <masterzen> and it's not because I contributed the feature....
[2009/12/09 03:20:32] @ kolla joined channel #puppet
[2009/12/09 03:21:23] <groove> wow, i can see how normal storeconfigs would load up the server
[2009/12/09 03:21:40] <groove> if it is attempting to store everything
[2009/12/09 03:23:14] <masterzen> groove: only the first time, afterwars it stores only differences. But that implies reading all the resources from the db.
[2009/12/09 03:23:32] <masterzen> groove: check my puppetcamp presentation if you want more information
[2009/12/09 03:23:44] <groove> masterzen: that would be great, where can i find it?
[2009/12/09 03:24:04] <groove> nm, google ftw
[2009/12/09 03:24:20] <masterzen> groove: http://coursestream.sfsu.edu/ess/feed?id=e723afa9-1748-43c7-8231-180d2a7f7d3e&type=MP3
[2009/12/09 03:35:33] <groove> thanks
[2009/12/09 03:50:43] <pugnacity> when i try to run puppet on one client, i get the following error: err: Could not retrieve catalog: undefined method `each' for nil:NilClass
[2009/12/09 03:50:43] <pugnacity> warning: Not using cache on failed catalog
[2009/12/09 03:51:07] <pugnacity> other client, with same config and same puppet version is working
[2009/12/09 03:51:44] <johnw> pugnacity: i get that a lot
[2009/12/09 03:51:49] <johnw> pugnacity: usually means I have a bad resource in my db
[2009/12/09 03:52:05] <pugnacity> how can i resolv this?
[2009/12/09 03:52:20] <johnw> well, I usually delete the host from my database and let it start over
[2009/12/09 03:52:25] <johnw> i don't know how to "fix" it properly
[2009/12/09 03:53:52] <pugnacity> how do you delete the host?
[2009/12/09 03:54:06] <johnw> dive into your database tables
[2009/12/09 03:54:12] <johnw> drop the host entry from the host table
[2009/12/09 03:54:16] <johnw> and all its related resources from the resource table
[2009/12/09 03:54:23] <johnw> and maybe its facts from the fact table
[2009/12/09 03:54:38] <johnw> i should probably write a procedure for this, but I just don't do it often enough
[2009/12/09 03:55:19] <johnw> i use a GUI tool to do it, so it only takes a moment
[2009/12/09 04:01:25] <Volcane> there's a script on the wiki
[2009/12/09 04:04:11] <pugnacity> any idea where?
[2009/12/09 04:05:13] <Volcane> hmm
[2009/12/09 04:05:22] <Volcane> used to be on the stored configs page
[2009/12/09 04:05:59] @ giskard joined channel #puppet
[2009/12/09 04:06:02] <Volcane> in the ext directory of the tarball puppetstoredconfigclean.rb
[2009/12/09 04:07:26] @ tim|macbook joined channel #puppet
[2009/12/09 04:10:22] @ Robbie_ joined channel #puppet
[2009/12/09 04:16:23] @ rraphink is now known as raphink
[2009/12/09 04:17:56] @ poison joined channel #puppet
[2009/12/09 04:18:29] <pugnacity> Volcane and johnw thx
[2009/12/09 04:20:40] @ Quit: johnw:
[2009/12/09 04:32:09] @ Chiku joined channel #puppet
[2009/12/09 04:35:13] <Cope> morning
[2009/12/09 04:37:14] @ sdog joined channel #puppet
[2009/12/09 04:37:41] <sdog> wondering about the current state of the interface resource and it's alternatives on Centos/RHEL
[2009/12/09 04:38:55] <Cope> what do you need to do?
[2009/12/09 04:39:16] <ohadlevy> sdog: I ended up using templates..
[2009/12/09 04:39:17] <Volcane> sdog: there's no more interface resource
[2009/12/09 04:39:28] <Cope> sdog: augeas is a decent option
[2009/12/09 04:40:09] <sdog> cope: manage a bunch of /etc/sysconfig/ifcfg- files including bonding, vlans etc :)
[2009/12/09 04:40:37] * Cope nods; augeas, I think - you can make changes to a generic config from within puppet
[2009/12/09 04:40:57] <ohadlevy> augeas is a good way forward too
[2009/12/09 04:43:48] * Volcane 's still not a fan
[2009/12/09 04:44:07] <ohadlevy> templates are easier - much less dependencies
[2009/12/09 04:44:09] <Volcane> looking at how it would manage interface files, its no better than a template - unless you just manage lets say IPADDRESS in that cfg file
[2009/12/09 04:44:18] <Volcane> in which case its just terrible cos you dont know what u end up with
[2009/12/09 04:46:09] <groove> i originally used templates, but it's a bit messy since you generally want to put the default gateway in /etc/sysconfig/network
[2009/12/09 04:46:28] <groove> and of course it is completely different to debian
[2009/12/09 04:46:55] <Cope> What I want to do is set /etc/motd to be an ascii banner of $hostname. Can I just do that with a fact? How could I pass the fact to the banner program?
[2009/12/09 04:47:12] <sdog> cope: I kinda get the idea indee templates are the way forward ... (for now)
[2009/12/09 04:47:34] * Cope nods;
[2009/12/09 04:48:10] @ Quit: friendly12345: brown.freenode.net irc.freenode.net
[2009/12/09 04:48:11] @ Quit: Chiku|dc: brown.freenode.net irc.freenode.net
[2009/12/09 04:48:11] @ Quit: ewdafa: brown.freenode.net irc.freenode.net
[2009/12/09 04:48:12] @ Quit: plathrop-away: brown.freenode.net irc.freenode.net
[2009/12/09 04:48:13] @ Quit: Volcane: brown.freenode.net irc.freenode.net
[2009/12/09 04:48:13] @ Quit: Mandus: brown.freenode.net irc.freenode.net
[2009/12/09 04:48:14] @ Quit: nico: brown.freenode.net irc.freenode.net
[2009/12/09 04:48:14] @ Quit: bje: brown.freenode.net irc.freenode.net
[2009/12/09 04:48:15] @ Quit: Hollow: brown.freenode.net irc.freenode.net
[2009/12/09 04:48:15] @ Quit: hggh: brown.freenode.net irc.freenode.net
[2009/12/09 04:48:16] @ Quit: synchris: brown.freenode.net irc.freenode.net
[2009/12/09 04:48:16] @ Quit: omry_|work: brown.freenode.net irc.freenode.net
[2009/12/09 04:48:28] <groove> Cope: very easy, just have a file resource with content => "$hostname\n" or similar
[2009/12/09 04:48:39] <groove> or do you actually mean banner as in the "banner" program
[2009/12/09 04:48:49] <Cope> groove: the banner program
[2009/12/09 04:48:55] <Cope> so it makes a big banner of hostname
[2009/12/09 04:49:05] <groove> that's going to be one MASSIVE banner
[2009/12/09 04:52:11] @ nico joined channel #puppet
[2009/12/09 04:52:33] <Cope> groove: there's a sysv version
[2009/12/09 04:52:39] <Cope> groove: like the one on solaris
[2009/12/09 04:54:16] <groove> i'm only familiar with the one that generates output for line printers
[2009/12/09 04:57:11] @ Djelibeybi joined channel #puppet
[2009/12/09 04:57:22] <groove> off the top of my head you might be able to do it with a custom fact or maybe a generate command
[2009/12/09 04:57:34] <groove> but there's probably a better way of doing it
[2009/12/09 04:58:57] @ spawnyd joined channel #puppet
[2009/12/09 04:59:24] <Cope> howabout an exec in a manifest that used the hostname fact
[2009/12/09 05:00:50] <groove> if you are ok with it running every time puppetd runs
[2009/12/09 05:00:54] @ friendly12345 joined channel #puppet
[2009/12/09 05:00:54] @ ewdafa joined channel #puppet
[2009/12/09 05:00:54] @ synchris joined channel #puppet
[2009/12/09 05:00:54] @ Hollow joined channel #puppet
[2009/12/09 05:00:54] @ Mandus joined channel #puppet
[2009/12/09 05:00:54] @ omry_|work joined channel #puppet
[2009/12/09 05:00:54] @ plathrop-away joined channel #puppet
[2009/12/09 05:00:54] @ bje joined channel #puppet
[2009/12/09 05:00:55] @ hggh joined channel #puppet
[2009/12/09 05:00:55] @ Volcane joined channel #puppet
[2009/12/09 05:01:18] @ LinuxCode joined channel #puppet
[2009/12/09 05:03:05] <LinuxCode> I want to read out a a string from file and make it available as a variable to use
[2009/12/09 05:03:14] <LinuxCode> how on earth does one do that ?!?!
[2009/12/09 05:03:29] @ Quit: plathrop-away: brown.freenode.net irc.freenode.net
[2009/12/09 05:03:30] @ Quit: Volcane: brown.freenode.net irc.freenode.net
[2009/12/09 05:03:31] @ Quit: bje: brown.freenode.net irc.freenode.net
[2009/12/09 05:03:31] @ Quit: hggh: brown.freenode.net irc.freenode.net
[2009/12/09 05:03:32] @ Quit: omry_|work: brown.freenode.net irc.freenode.net
[2009/12/09 05:03:32] @ Quit: synchris: brown.freenode.net irc.freenode.net
[2009/12/09 05:03:33] @ Quit: friendly12345: brown.freenode.net irc.freenode.net
[2009/12/09 05:03:33] @ Quit: Mandus: brown.freenode.net irc.freenode.net
[2009/12/09 05:03:34] @ Quit: Hollow: brown.freenode.net irc.freenode.net
[2009/12/09 05:03:34] @ Quit: ewdafa: brown.freenode.net irc.freenode.net
[2009/12/09 05:07:21] @ omry_|work joined channel #puppet
[2009/12/09 05:09:16] <groove> LinuxCode: i've usually used custom facts
[2009/12/09 05:09:42] <LinuxCode> well, that would make it available to anything
[2009/12/09 05:09:52] <LinuxCode> I want to get out a tsig key
[2009/12/09 05:10:15] <LinuxCode> imho facter should only present known arguments
[2009/12/09 05:10:19] @ PsychoSid joined channel #puppet
[2009/12/09 05:11:24] <groove> i'm fairly certain facts are the only way you can directly execute anything on the clients
[2009/12/09 05:12:46] <LinuxCode> ?
[2009/12/09 05:12:53] <LinuxCode> Im using exec
[2009/12/09 05:13:09] <LinuxCode> to make that key, then I will get out the key, and then use errm, whats it called
[2009/12/09 05:13:19] <groove> sorry, to execute something and turn it into a variable
[2009/12/09 05:13:24] <LinuxCode> exporting of resources
[2009/12/09 05:13:32] <groove> what you execute in an exec stays within that exec
[2009/12/09 05:13:38] <LinuxCode> hmmm
[2009/12/09 05:14:13] <groove> i'm not too familiar with exported resources but i think you are still limited to what you have in the manifest or what comes out of a variable
[2009/12/09 05:14:40] <groove> you could reuse a variable or resource from another machine, but you'd still need to get that tsig key into puppet somehow
[2009/12/09 05:14:42] <LinuxCode> groove, exported resources are available to any node
[2009/12/09 05:14:51] <LinuxCode> yeh
[2009/12/09 05:15:05] <LinuxCode> how do I create a local facter var again ?
[2009/12/09 05:15:42] <LinuxCode> i guess I could somehow, make the facter var, dump it to export the resource, then remove the facter var
[2009/12/09 05:16:00] <LinuxCode> that should minimize exposure
[2009/12/09 05:17:47] <LinuxCode> export FACTER_statevar="primary"
[2009/12/09 05:18:31] @ friendly12345 joined channel #puppet
[2009/12/09 05:18:31] @ ewdafa joined channel #puppet
[2009/12/09 05:18:31] @ synchris joined channel #puppet
[2009/12/09 05:18:31] @ Hollow joined channel #puppet
[2009/12/09 05:18:31] @ Mandus joined channel #puppet
[2009/12/09 05:18:31] @ plathrop-away joined channel #puppet
[2009/12/09 05:18:31] @ bje joined channel #puppet
[2009/12/09 05:18:31] @ hggh joined channel #puppet
[2009/12/09 05:18:31] @ Volcane joined channel #puppet
[2009/12/09 05:18:39] <LinuxCode> hmmm, no that shouldnt work
[2009/12/09 05:18:52] <LinuxCode> it would require two runs ;-
[2009/12/09 05:18:54] <LinuxCode> ;-|
[2009/12/09 05:19:01] @ marcoecc joined channel #puppet
[2009/12/09 05:19:31] @ exn joined channel #puppet
[2009/12/09 05:22:46] @ Quit: friendly12345: "Leaving."
[2009/12/09 05:24:03] @ Quit: Djelibeybi: "Leaving"
[2009/12/09 05:29:38] @ Quit: PsychoSid: "Leaving."
[2009/12/09 05:32:56] <gepetto_> ::trac:: TOC edited @ http://reductivelabs.com/trac/puppet/wiki/TOC?version=81
[2009/12/09 05:37:23] @ Quit: crdant: "Leaving."
[2009/12/09 05:38:08] <groove> LinuxCode: you write the custom fact in ruby and put it into the fact path in the module
[2009/12/09 05:38:32] <LinuxCode> ?
[2009/12/09 05:38:43] <groove> oh i see
[2009/12/09 05:38:55] <LinuxCode> groove, sorry, I really welcome any ideas mate
[2009/12/09 05:38:58] <groove> you want to only have the fact long enough to run it once
[2009/12/09 05:39:03] * LinuxCode doesnt want to sound ungrateful
[2009/12/09 05:39:12] <groove> i don't know if custom fact rollout can be made conditional
[2009/12/09 05:39:12] <LinuxCode> groove, well, it is a key
[2009/12/09 05:39:20] <groove> a private key eh?
[2009/12/09 05:39:33] <groove> you don't want to have them stored in the manifest rather?
[2009/12/09 05:39:37] <tim|macbook> what's the current preferred flavour of external nodes provider?
[2009/12/09 05:39:50] <LinuxCode> groove, no, that would be fine, but I wa hoping to regenerate them every 30 days
[2009/12/09 05:40:04] <LinuxCode> as tsif keys are hmac-md5
[2009/12/09 05:40:07] <LinuxCode> tsig*
[2009/12/09 05:40:21] <LinuxCode> no wonder nobody made a more elaborate bind/dns recipe
[2009/12/09 05:40:32] <LinuxCode> bind is a pain to puppetize hehe
[2009/12/09 05:40:40] <groove> no problem regenerating them
[2009/12/09 05:40:54] <LinuxCode> yeh
[2009/12/09 05:40:56] <groove> have that be part of your rollout scripts or version control hooks
[2009/12/09 05:41:02] <LinuxCode> I keep it in a file
[2009/12/09 05:41:26] <LinuxCode> and will remove if more than whatever days old
[2009/12/09 05:41:26] <gepetto_> ::trac:: TOC edited @ http://reductivelabs.com/trac/puppet/wiki/TOC?version=82
[2009/12/09 05:41:26] <gepetto_> ::trac:: Language Tutorial edited @ http://reductivelabs.com/trac/puppet/wiki/LanguageTutorial?version=99
[2009/12/09 05:41:38] <LinuxCode> groove, define rollout scripts for me please
[2009/12/09 05:41:39] @ francois joined channel #puppet
[2009/12/09 05:42:47] <groove> i'm not familiar with tsig generation
[2009/12/09 05:42:58] <groove> but if you can run a command to check the age of your tsig files, it should be trivial
[2009/12/09 05:43:09] <LinuxCode> groove, I dont all that
[2009/12/09 05:43:25] <groove> if you have a makefile to rollout your manifests, just add a target which runs before the rollout
[2009/12/09 05:43:54] <LinuxCode> makefile ?
[2009/12/09 05:44:12] <groove> run through all the tsig files checking age, and regenerate any that are too old, and then commit again
[2009/12/09 05:44:15] <LinuxCode> groove, sounds like I need to use a version control system
[2009/12/09 05:44:24] <groove> uh, YES!
[2009/12/09 05:44:29] <groove> definitely
[2009/12/09 05:44:36] @ Quit: plathrop-away: brown.freenode.net irc.freenode.net
[2009/12/09 05:44:36] @ Quit: Volcane: brown.freenode.net irc.freenode.net
[2009/12/09 05:44:37] @ Quit: bje: brown.freenode.net irc.freenode.net
[2009/12/09 05:44:37] @ Quit: hggh: brown.freenode.net irc.freenode.net
[2009/12/09 05:44:38] @ Quit: synchris: brown.freenode.net irc.freenode.net
[2009/12/09 05:44:38] @ Quit: Mandus: brown.freenode.net irc.freenode.net
[2009/12/09 05:44:39] @ Quit: Hollow: brown.freenode.net irc.freenode.net
[2009/12/09 05:44:39] @ Quit: ewdafa: brown.freenode.net irc.freenode.net
[2009/12/09 05:44:39] <tim|macbook> someone is vandalising the wiki...
[2009/12/09 05:44:55] <LinuxCode> but, I wouldnt really want a system to even have got access
[2009/12/09 05:44:57] <LinuxCode> ;-p
[2009/12/09 05:45:12] <LinuxCode> the puppetmaster yeah
[2009/12/09 05:45:53] <tim|macbook> anyone have an account to undo the changes from that jane.neel character?
[2009/12/09 05:46:00] <LinuxCode> the reason why I was pondering to have each node generate it, is for scalability reasons
[2009/12/09 05:46:18] <LinuxCode> tim|macbook, got a link of changed sites ?
[2009/12/09 05:46:24] <tim|macbook> look at the timeline
[2009/12/09 05:47:04] <groove> LinuxCode: why do you need to access the generated tsig?
[2009/12/09 05:47:17] <LinuxCode> ahhhh
[2009/12/09 05:47:22] <LinuxCode> bah, I hate spammers
[2009/12/09 05:47:47] <LinuxCode> groove, I would like each node to obtain the tsigs, then decide if it should have that key
[2009/12/09 05:48:03] <LinuxCode> i.e. the puppetmaster would do that when compiling the yaml
[2009/12/09 05:48:12] <LinuxCode> so only keys it should have, are sent
[2009/12/09 05:48:20] <LinuxCode> anything else is non of its business
[2009/12/09 05:49:06] <LinuxCode> the idea is, if a key gets compromised, you can revoke just replace that key/system
[2009/12/09 05:49:12] <groove> it is possible puppet just isn't the right fit for the task
[2009/12/09 05:49:19] <LinuxCode> groove, well possible
[2009/12/09 05:49:24] <LinuxCode> hehe
[2009/12/09 05:49:28] <LinuxCode> but I am stibborn
[2009/12/09 05:49:31] <LinuxCode> stubborn
[2009/12/09 05:49:35] <LinuxCode> ;-D
[2009/12/09 05:49:46] @ DonovanZA joined channel #puppet
[2009/12/09 05:49:51] <LinuxCode> trying different workarounds
[2009/12/09 05:50:17] <groove> puppet wants to make things consistent, but your problem involves several different states
[2009/12/09 05:50:22] <LinuxCode> sadly, bind is a mess of different embraced options and arguments, files etc...
[2009/12/09 05:50:29] <DonovanZA> Hi guys, can you use LDAP and flat-file node manifests at the same time ?
[2009/12/09 05:51:28] <DonovanZA> i would like to progressivly cutover my nodes from flat-file to LDAP but not have to do everything at once ...
[2009/12/09 05:51:54] <LinuxCode> groove, thanks though, I appreciate your advice
[2009/12/09 05:52:07] <LinuxCode> maybe this time I really reached puppets limitations ;-|
[2009/12/09 05:52:23] <groove> don't lose hope, there probably is a way to do it
[2009/12/09 05:52:30] <LinuxCode> yeh
[2009/12/09 05:52:36] <groove> i'm not really an expert
[2009/12/09 05:52:38] <LinuxCode> I bet there is
[2009/12/09 05:52:42] <LinuxCode> nor me mate
[2009/12/09 05:52:51] <LinuxCode> but I am trying very hard to figure everything out
[2009/12/09 05:53:50] <groove> how about this
[2009/12/09 05:54:10] <groove> make a custom fact, but have it only return the tsig if a control file is present
[2009/12/09 05:54:42] <LinuxCode> groove, you would still get a delay though
[2009/12/09 05:54:49] <LinuxCode> unless I get you wrong
[2009/12/09 05:55:05] <groove> it would definitely take at least two runs
[2009/12/09 05:55:18] <LinuxCode> I mean, for my purposes it be fine, but if you end up having lets say 100's of domains
[2009/12/09 05:55:30] <LinuxCode> your logs would get filled with tsig denials
[2009/12/09 05:55:49] @ ewdafa joined channel #puppet
[2009/12/09 05:55:49] @ synchris joined channel #puppet
[2009/12/09 05:55:49] @ Hollow joined channel #puppet
[2009/12/09 05:55:49] @ Mandus joined channel #puppet
[2009/12/09 05:55:49] @ plathrop-away joined channel #puppet
[2009/12/09 05:55:49] @ bje joined channel #puppet
[2009/12/09 05:55:50] @ hggh joined channel #puppet
[2009/12/09 05:55:50] @ Volcane joined channel #puppet
[2009/12/09 05:56:08] <LinuxCode> Im trying to somehow make it scalable, secure, and efficient
[2009/12/09 05:56:41] <LinuxCode> groove, but tell me more anyway
[2009/12/09 05:56:53] <groove> that's pretty much it
[2009/12/09 05:56:58] <LinuxCode> maybe that can be fiddled so a key would not be replaced on the configs
[2009/12/09 05:57:08] <groove> i was just thinking about how you wanted the tsig to only be returned once
[2009/12/09 05:57:16] <LinuxCode> until a certain state occurs
[2009/12/09 05:57:17] <groove> but if security is the issue perhaps you could encrypt it
[2009/12/09 05:57:39] <LinuxCode> ohh no, the tsig will be made avilable on the puppet as exported resource
[2009/12/09 05:59:20] @ alban2 joined channel #puppet
[2009/12/09 05:59:25] <groove> i'm afraid i don't really get what you are trying to do, so i should probably not steer you in the wrong direction
[2009/12/09 05:59:38] <LinuxCode> groove, let em elaborate
[2009/12/09 06:00:00] <chah> hi@all, i'm trying to use templating with puppet. On my systems i have an local configuration file (bash). Is it possible to set an variable from this file?
[2009/12/09 06:00:40] <LinuxCode> groove, hmmm, now I am starting to wonder if my logic was wrong in the first place
[2009/12/09 06:01:19] <LinuxCode> chah, yah, just define the var
[2009/12/09 06:01:20] <gepetto_> ::trac:: Language Tutorial edited @ http://reductivelabs.com/trac/puppet/wiki/LanguageTutorial?version=100
[2009/12/09 06:02:18] <LinuxCode> chah, if check out the templating options in the docs on the site
[2009/12/09 06:02:21] <LinuxCode> was very useful to me
[2009/12/09 06:02:50] <chah> LinuxCode: hm, i don't understand how. Cause i have to tell puppet to read my configuration file on each client.
[2009/12/09 06:03:07] <LinuxCode> ?
[2009/12/09 06:03:15] <LinuxCode> the puppet master compiles it
[2009/12/09 06:03:24] <LinuxCode> and sends the file then to the clients
[2009/12/09 06:03:46] <LinuxCode> you keep a local template
[2009/12/09 06:03:50] <chah> in my opinion the puppetmaster sends the file to the client an then change the variables.
[2009/12/09 06:03:57] <LinuxCode> no
[2009/12/09 06:04:17] <chah> oh, therefore this is not possible
[2009/12/09 06:04:31] <chah> i think.
[2009/12/09 06:04:33] <LinuxCode> you would have to send an exec
[2009/12/09 06:04:41] <LinuxCode> if you want to change a file
[2009/12/09 06:04:43] <groove> if you have data on the client machine that you want to use as a puppet variable you need to use a custom fact
[2009/12/09 06:05:04] <LinuxCode> but it is better to generate on the puppetmaster
[2009/12/09 06:05:11] <LinuxCode> that way it has multiple benefits
[2009/12/09 06:05:21] <LinuxCode> security being the major one
[2009/12/09 06:06:17] <chah> y should this be a security problem if i use an configuration file on my server.
[2009/12/09 06:07:52] <LinuxCode> noooo
[2009/12/09 06:07:55] <LinuxCode> I didnt say that
[2009/12/09 06:08:06] <LinuxCode> but if the puppetmaster sends a file to the client
[2009/12/09 06:08:13] <LinuxCode> and a change is made on the client
[2009/12/09 06:08:29] <LinuxCode> the change will be replaced with a fresh compiled file from the puppetmaster
[2009/12/09 06:09:00] @ Quit: plathrop-away: brown.freenode.net irc.freenode.net
[2009/12/09 06:09:01] @ Quit: Volcane: brown.freenode.net irc.freenode.net
[2009/12/09 06:09:02] @ Quit: bje: brown.freenode.net irc.freenode.net
[2009/12/09 06:09:02] @ Quit: hggh: brown.freenode.net irc.freenode.net
[2009/12/09 06:09:03] @ Quit: synchris: brown.freenode.net irc.freenode.net
[2009/12/09 06:09:03] @ Quit: Mandus: brown.freenode.net irc.freenode.net
[2009/12/09 06:09:04] @ Quit: Hollow: brown.freenode.net irc.freenode.net
[2009/12/09 06:09:04] @ Quit: ewdafa: brown.freenode.net irc.freenode.net
[2009/12/09 06:09:37] <chah> LinuxCode: oh i see you said it is beeter to generate on the puppetmaster as doing an exec.
[2009/12/09 06:09:46] <LinuxCode> yah
[2009/12/09 06:09:48] <Darkflib> changing an unknown conf with a known good conf is good for consistancy and consistancy is generally good for security
[2009/12/09 06:10:09] <chah> of course this is the reason i don't like to use an exec.
[2009/12/09 06:10:20] <chah> i try to use a custom fact
[2009/12/09 06:10:24] <LinuxCode> of course, if you are an idiot, and configure your template file wrong, that change will be sent to any node
[2009/12/09 06:10:28] <LinuxCode> ;-p
[2009/12/09 06:10:40] <chah> hehe
[2009/12/09 06:10:46] <LinuxCode> that is why I review all my conf files
[2009/12/09 06:10:50] <groove> chah: what kind of variable are you trying to set in a custom fact?
[2009/12/09 06:10:56] <groove> and how are you trying to use it?
[2009/12/09 06:11:08] <Darkflib> but at least all nodes will agree on the security holes they have and you can fix them all in one place
[2009/12/09 06:11:21] <Darkflib> :P
[2009/12/09 06:12:39] <chah> it's the first time i try to use it.
[2009/12/09 06:13:33] @ nigelk joined channel #puppet
[2009/12/09 06:14:12] <chah> and the variable is in a config file like FOO="bar"
[2009/12/09 06:14:34] @ Quit: nigelk: Client Quit
[2009/12/09 06:15:34] <groove> chah: why wouldn't you just set those variables in the puppet manifest?
[2009/12/09 06:17:05] <chah> groove: cause i use this var's in a lot of scripts.
[2009/12/09 06:17:47] <chah> and they depend on the hardware of the machine
[2009/12/09 06:18:50] <LinuxCode> chah, ?!?!
[2009/12/09 06:18:53] <LinuxCode> facter ?
[2009/12/09 06:19:01] <groove> in that case i'd create a custom fact to generate the variable, and use puppet to set that variable in all of your scripts
[2009/12/09 06:19:42] <LinuxCode> groove, I made a serious logic error
[2009/12/09 06:19:54] <LinuxCode> all keys will have to be generated on the puppetmaster
[2009/12/09 06:20:11] <LinuxCode> and then made avilable via resource export
[2009/12/09 06:21:14] <LinuxCode> the problem of reading them out somehow remains, if I want them to be distributed
[2009/12/09 06:21:41] <duritong> LinuxCode: if they are created on the master, you can make them avaiable using a function
[2009/12/09 06:21:44] <LinuxCode> groove, do you happen to know, if there is a way to get all define node names ?
[2009/12/09 06:22:08] <LinuxCode> defined
[2009/12/09 06:22:26] <duritong> LinuxCode: using then function 'file' for example, you'll get then the content in a variable and can use it in the resources
[2009/12/09 06:22:53] <LinuxCode> duritong, got a reference for that somewhere ?
[2009/12/09 06:23:12] <chah> groove: yes this is what i try to do. Creating an fact on the maschine from this config file
[2009/12/09 06:24:02] <duritong> LinuxCode: wiki:FunctionReference
[2009/12/09 06:24:03] <gepetto_> duritong: LinuxCode: wiki:FunctionReference is http://reductivelabs.com/trac/puppet/wiki/FunctionReference
[2009/12/09 06:24:08] <LinuxCode> duritong, ta
[2009/12/09 06:24:23] <groove> chah: i seriously recommend having the custom fact generating the variable, if it is hardware dependent as you say
[2009/12/09 06:24:26] <LinuxCode> ;-D
[2009/12/09 06:24:37] <groove> otherwise you lose the benefit of have centralised management
[2009/12/09 06:24:48] <duritong> groove: ack
[2009/12/09 06:24:55] <groove> and all of the configs ends up being defined on the nodes themselves
[2009/12/09 06:25:19] <groove> s/have/having/
[2009/12/09 06:25:56] <groove> LinuxCode: i've only just started looking into stored configs myself, so i can't say for sure
[2009/12/09 06:26:00] <groove> probably though
[2009/12/09 06:26:23] <LinuxCode> groove, I think that was for chah
[2009/12/09 06:26:33] <LinuxCode> groove, ohh nevermind
[2009/12/09 06:26:48] <LinuxCode> groove, exported facts are stored
[2009/12/09 06:26:50] <LinuxCode> lol
[2009/12/09 06:26:53] <LinuxCode> sorry
[2009/12/09 06:26:58] <groove> yes i know
[2009/12/09 06:27:22] <groove> i don't know for sure about a function that returns all your node names though
[2009/12/09 06:27:31] <LinuxCode> k cheers
[2009/12/09 06:30:13] <chah> sorry, i don't understand. In my case my clients are on different hardware in this special case i'm using a config file where i specify the network adapters like: EXT="eth0" INT="eth1". Some script which are running on this server are using this config file to do some firewall things on the right interface.
[2009/12/09 06:31:45] <LinuxCode> chah, type in facter
[2009/12/09 06:31:54] <chah> LinuxCode: i know facter
[2009/12/09 06:32:20] <LinuxCode> ok, then you should understand, that puppet can use that to know what system this is
[2009/12/09 06:32:35] <LinuxCode> and you can write and make configs etc.. + functions accordingly
[2009/12/09 06:35:22] <chah> LinuxCode: of course know facter that i have one two or three network interfaces. But it doesnt know on which interface ist the external Interface.
[2009/12/09 06:36:17] <groove> that's the kind of thing you want in your node config
[2009/12/09 06:36:25] @ Quit: nexx|: Read error: 110 (Connection timed out)
[2009/12/09 06:37:35] <chah> ...i think i have to reconsider my configuration.
[2009/12/09 06:37:45] <chah> thanks for help
[2009/12/09 06:39:02] <LinuxCode> chah, I dont think you are the only one
[2009/12/09 06:39:04] <LinuxCode> hehe
[2009/12/09 06:39:29] * LinuxCode had to do that a number of times, due to brain failures
[2009/12/09 06:40:14] <chah> ...maybee i should learn how i define some variables based on nodes
[2009/12/09 06:41:37] <Darkflib> chah, personally I would just in the node definition add a couple of variables for extif and intif if I was you...
[2009/12/09 06:41:54] <Darkflib> keep as much off the clients as possible
[2009/12/09 06:42:21] @ ewdafa joined channel #puppet
[2009/12/09 06:42:21] @ synchris joined channel #puppet
[2009/12/09 06:42:22] @ Hollow joined channel #puppet
[2009/12/09 06:42:22] @ Mandus joined channel #puppet
[2009/12/09 06:42:22] @ plathrop-away joined channel #puppet
[2009/12/09 06:42:22] @ bje joined channel #puppet
[2009/12/09 06:42:22] @ hggh joined channel #puppet
[2009/12/09 06:42:22] @ Volcane joined channel #puppet
[2009/12/09 06:42:31] <Darkflib> since you want to be able to trash a machine and then bring it up again and have it set itself up as much as possible without extra work...
[2009/12/09 06:43:27] <jamestur1bull> chah: and consider using wiki:ExternalNodes
[2009/12/09 06:43:27] <gepetto_> jamestur1bull: chah: wiki:ExternalNodes is http://reductivelabs.com/trac/puppet/wiki/ExternalNodes
[2009/12/09 06:43:32] <Darkflib> for example, here I just kickstart machines with Centos and as part of the post section I turn off many services and install puppet.]
[2009/12/09 06:43:37] <jamestur1bull> chah: if you rely heavily on data about your nodes
[2009/12/09 06:43:58] <Darkflib> then the puppet manifest is puled down and it again checks service state and adds to it...
[2009/12/09 06:46:16] <Darkflib> if a node dies, I can just reassign the dns and reinstall on a fresh node and it just works...
[2009/12/09 06:46:34] <Darkflib> which is pretty cool
[2009/12/09 06:51:33] @ Arvind joined channel #puppet
[2009/12/09 06:53:06] @ Quit: alexine_dsouza: Read error: 104 (Connection reset by peer)
[2009/12/09 06:55:24] <ohadlevy> darkflib: yeah i do something similar too
[2009/12/09 06:56:45] @ Quit: scylla: "Connection timed out"
[2009/12/09 06:57:10] <Darkflib> if I required each node to have stuff manually setup on it in addition to the central puppet/kickstart conf it would become a nightmare with loads of machines
[2009/12/09 06:58:47] @ Quit: Ramonster: Client Quit
[2009/12/09 06:58:51] <Darkflib> as it is, I have a web interface that controls dhcp, pxe and dns... the kickstart config is pulled from the same db as the dhcp so if I wanted to I could force all machines to have static ips fairly easily...
[2009/12/09 06:59:31] <Darkflib> essentially I only have two things to control atm... web interface and puppet...
[2009/12/09 06:59:45] <ohadlevy> Darkflib: sounds very similar
[2009/12/09 07:00:10] <ohadlevy> Darkflib: what else does your web app do?
[2009/12/09 07:01:20] <Darkflib> it can put the boxes into a rescue mode or force install on the next boot...
[2009/12/09 07:01:24] <Darkflib> thats about it
[2009/12/09 07:01:51] <Darkflib> but with an IP KVM, thats enough to be able to reinstall almost any box
[2009/12/09 07:02:01] <Darkflib> or fix faults...
[2009/12/09 07:02:32] <ohadlevy> Darkflib: so it also manages tftp
[2009/12/09 07:02:37] <Darkflib> yes...
[2009/12/09 07:02:53] <Darkflib> but the tftp is pretty static... just kernels and initrds
[2009/12/09 07:02:56] <ohadlevy> Darkflib: I did something very similar in the company I work for, that was the base idea for Foreman
[2009/12/09 07:03:37] @ fluxdude joined channel #puppet
[2009/12/09 07:03:47] <Darkflib> just the pxelinux.cfg that gets overridden with a macaddress based file
[2009/12/09 07:04:15] <ohadlevy> Darkflib: yep, with gpxelinux you can tell it to query the http server and serve the file on the fly
[2009/12/09 07:05:05] <ohadlevy> Darkflib: which dhcp and dns servers do you manage?
[2009/12/09 07:05:26] <Darkflib> yeah, I know gpxe, unfortunately I have issues with boot chaining in gpxe which is the reason I'm on pxelinux for roduction
[2009/12/09 07:05:46] <ohadlevy> you know gpxelinux.0 ?
[2009/12/09 07:06:31] <ohadlevy> its a join of gpxe+pxelinux in one file
[2009/12/09 07:06:33] <Darkflib> stock isc dhcpd and pdns
[2009/12/09 07:06:35] <Darkflib> yes
[2009/12/09 07:06:58] <Darkflib> same issue with bootchaining if you need to fall through the config
[2009/12/09 07:07:03] <ohadlevy> Darkflib: does you dhcpd is on the same machine or you use omshell?
[2009/12/09 07:07:18] <Darkflib> its on the same machine...
[2009/12/09 07:07:31] <ohadlevy> Darkflib: ah yeah, I know hwat you mean, you need to load chain32 and then the file you want to boot
[2009/12/09 07:07:35] @ Quit: pinoyskull: "Leaving"
[2009/12/09 07:07:53] @ Quit: foobar___: Read error: 60 (Operation timed out)
[2009/12/09 07:07:55] @ foobar___ joined channel #puppet
[2009/12/09 07:08:16] <Darkflib> loading chain32 is fine for normal chaining, but if you want to boot from the local drives (bios order) you have issues on this hardware
[2009/12/09 07:08:30] <Darkflib> ie equiv to localboot in pxelinux
[2009/12/09 07:09:06] <groove> so pxelinux can't localboot to gpe devices?
[2009/12/09 07:09:23] <ohadlevy> Darkflib: I kind of having a memory talking to hpa about it - I'll search the archives
[2009/12/09 07:09:31] <Darkflib> groove, no... gpxe can't localboot on my hardware... pxelinux is fine
[2009/12/09 07:10:35] @ qwebirc64434 joined channel #puppet
[2009/12/09 07:10:40] <Darkflib> however, the features of gpxe are very compelling...
[2009/12/09 07:10:40] <groove> gpt i should have said
[2009/12/09 07:11:05] @ Quit: qwebirc64434: Client Quit
[2009/12/09 07:11:51] <Darkflib> not sure if its EFI related or not tbh... no time to diagnose a fault on something that isn't broke on production atm
[2009/12/09 07:13:16] <Darkflib> its not a big deal anyway, since its easy enough to drop the machines that could use the gpxe features (workstations mostly) on a different subnet with a gpxe server...
[2009/12/09 07:13:34] @ Quit: Ju: Remote closed the connection
[2009/12/09 07:13:42] @ Ju joined channel #puppet
[2009/12/09 07:15:34] @ Quit: foobar___: Remote closed the connection
[2009/12/09 07:15:36] @ foobar___ joined channel #puppet
[2009/12/09 07:15:58] <Darkflib> ooo... external nodes would allow me to tie my system to puppet better...
[2009/12/09 07:18:02] <ohadlevy> Darkflib: yeah
[2009/12/09 07:19:22] <jamestur1bull> Darkflib: combine that with something like Foreman and you've got a simple and powerful GUI interface too
[2009/12/09 07:19:45] <jamestur1bull> Darkflib: they also allow things like tie in to provisioning/workflow/help desk systems
[2009/12/09 07:21:08] <Arvind> hi
[2009/12/09 07:21:22] <Arvind> puppet standlone command can it include multiple modules "puppet -e "include module1 module2 "
[2009/12/09 07:21:59] @ Quit: ashp: Read error: 113 (No route to host)
[2009/12/09 07:22:51] <jamestur1bull> Arvind: include module1, module2
[2009/12/09 07:23:12] @ Quit: Ju: Remote closed the connection
[2009/12/09 07:23:31] <Darkflib> hmm.. wikipedia is down
[2009/12/09 07:23:42] <LinuxCode> jamestur1bull, is there a way to get a list of all defined nodes ?
[2009/12/09 07:23:50] @ Ju joined channel #puppet
[2009/12/09 07:24:20] <ohadlevy> LinuxCode: you didnt anyone else, but check /var/lib/puppet/yaml/nodes
[2009/12/09 07:24:50] <LinuxCode> ohadlevy, from within the manifests
[2009/12/09 07:25:00] <LinuxCode> I guess one could use file
[2009/12/09 07:25:28] <jamestur1bull> LinuxCode: this is another reason to use external nodes
[2009/12/09 07:25:29] <Darkflib> hmm... have to have a play with foreman on the test network...
[2009/12/09 07:25:30] <kjetilho> LinuxCode: use the magick @@
[2009/12/09 07:25:44] <LinuxCode> jamestur1bull, hmmm
[2009/12/09 07:25:52] <LinuxCode> I never looked into external nodes
[2009/12/09 07:26:07] <jamestur1bull> LinuxCode: you can use a function to query the node source in a manifests not just when connecting clinets
[2009/12/09 07:26:11] <jamestur1bull> clients even
[2009/12/09 07:26:24] <LinuxCode> ohhhh
[2009/12/09 07:26:35] <LinuxCode> even from within modules ?
[2009/12/09 07:27:08] <jamestur1bull> LinuxCode: external_node_function($hostname}
[2009/12/09 07:27:12] <jamestur1bull> LinuxCode: blah ignore that
[2009/12/09 07:27:21] <jamestur1bull> LinuxCode: whatI meant was something like the generate function
[2009/12/09 07:27:39] <jamestur1bull> LinuxCode: call your external node source with the fqdn or the hostname etc
[2009/12/09 07:28:09] <jamestur1bull> LinuxCode: that's somewhat crude but will return information if the node is defined in your external node source
[2009/12/09 07:28:12] <ohadlevy> LinuxCode: before I used external nodes, I did a hacky puppet function which parsed the var/lib/puppet/yaml/nodes dir
[2009/12/09 07:28:27] <jamestur1bull> LinuxCode: ohadlevy;s approach is another
[2009/12/09 07:28:34] <LinuxCode> jamestur1bull, I have ya book here, I will read it
[2009/12/09 07:28:40] <LinuxCode> the section of external nodes
[2009/12/09 07:28:55] <LinuxCode> tbh I didnt quite get what it did at first
[2009/12/09 07:29:00] <Arvind> james : Thanks .. can i also execute nested path where module1 is located under the default module path say /etc/puppet/modules/user1_modules/module1
[2009/12/09 07:29:02] <LinuxCode> so ignored it at first
[2009/12/09 07:29:08] * jamestur1bull is going to have a cigarette and then go to bed
[2009/12/09 07:29:09] <LinuxCode> ohadlevy, cheers
[2009/12/09 07:29:16] <LinuxCode> jamestur1bull, knows the feeling
[2009/12/09 07:29:19] <LinuxCode> hehe
[2009/12/09 07:29:20] <jamestur1bull> LinuxCode: wiki:ExternalNodes is good too
[2009/12/09 07:29:20] <gepetto_> jamestur1bull: LinuxCode: wiki:ExternalNodes is http://reductivelabs.com/trac/puppet/wiki/ExternalNodes
[2009/12/09 07:29:25] <LinuxCode> not the cigarette bit mind
[2009/12/09 07:29:30] <LinuxCode> jamestur1bull, k ta
[2009/12/09 07:29:56] @ Quit: Ju: Read error: 60 (Operation timed out)
[2009/12/09 07:31:14] @ Quit: foobar___: Remote closed the connection
[2009/12/09 07:34:06] @ Ju joined channel #puppet
[2009/12/09 07:35:45] @ ffrank joined channel #puppet
[2009/12/09 07:38:35] <ffrank> hi. why won't my template iterate one array inside the loop over another? http://pastie.org/735281
[2009/12/09 07:40:01] <ffrank> this produces only two lines, containing sudotasks[0][0] and [0][1] respectively
[2009/12/09 07:40:26] <Arvind> can there be intermodule dependencies possible for puppet modules like module1, module2 where module2 depending on module1 ?
[2009/12/09 07:42:55] <ohadlevy> ffrank: I'm not sure if you can have two dim arrays
[2009/12/09 07:43:32] <groove> i think there has been an outstanding bug for nested arrays for quite some time
[2009/12/09 07:43:51] <ffrank> i see - that'll complicate that ;/
[2009/12/09 07:44:00] <ohadlevy> ffrank: use split
[2009/12/09 07:44:48] <ffrank> ohadlevy: like http://groups.google.com/group/puppet-users/browse_thread/thread/554e355de4aa15ea?
[2009/12/09 07:45:43] <ffrank> ohadlevy: ah, no. i think i know what you're getting at instead
[2009/12/09 07:52:19] @ Ramonster joined channel #puppet
[2009/12/09 07:55:27] <kjetilho> ffrank: also see: http://groups.google.com/group/puppet-users/msg/17e3eab0a49a4f61
[2009/12/09 07:55:45] <kjetilho> groove: do you have the bug number?
[2009/12/09 07:56:04] <groove> not off the top of my head
[2009/12/09 07:56:18] <groove> last time i looked into it was like 0.24.4 days
[2009/12/09 07:56:57] <kjetilho> I tried to look for it, and didn't find anything open, at least
[2009/12/09 07:57:08] <kjetilho> I wonder if Luke thinks this is the way it should be
[2009/12/09 07:58:04] @ Quit: Ju: Remote closed the connection
[2009/12/09 07:59:08] @ Ju joined channel #puppet
[2009/12/09 07:59:34] <LinuxCode> kjetilho, time to send darth vader after him then
[2009/12/09 07:59:42] <LinuxCode> so to to speak, anyway
[2009/12/09 08:00:06] <kjetilho> hah
[2009/12/09 08:00:22] <ffrank> kjetilho: nice, i'm also considering string.each...
[2009/12/09 08:00:36] <groove> actually, that rings a bell
[2009/12/09 08:00:39] <groove> luke might have closed it
[2009/12/09 08:01:05] * LinuxCode can think of countless ways why nested arrays would be useful
[2009/12/09 08:01:23] <kjetilho> no one answered my message on puppet-users, so I guess not many people care
[2009/12/09 08:02:01] <kjetilho> LinuxCode: I wanted to use it to pass the definition of a Xen instance in a single variable to the define.
[2009/12/09 08:02:33] <kjetilho> or rather, the definition of a Xen instance' network configuration
[2009/12/09 08:03:17] @ foobar___ joined channel #puppet
[2009/12/09 08:03:25] <tim|macbook> is there an easy way to check in puppet which network interface has an ip address from a certain range?
[2009/12/09 08:03:30] * tim|macbook can't think of any
[2009/12/09 08:04:42] <ohadlevy> tim|macbook: if you have a subnet mask, then yes :)
[2009/12/09 08:05:06] <Darkflib> tim|imac, you could get the ip address using a fact, not too hot on ruby scripting myself, but a custom function (or regex) could work
[2009/12/09 08:05:07] @ sdog left channel #puppet ()
[2009/12/09 08:05:11] @ crdant joined channel #puppet
[2009/12/09 08:05:31] <tim|macbook> ohadlevy: how then?
[2009/12/09 08:05:48] <ohadlevy> tim|macbook: just to be sure, can you give us an example?
[2009/12/09 08:06:47] <tim|macbook> ohadlevy: ok... say, Host has eth0 and eth1. IP addresses are distributed via dhcp. One of the interfaces is internal, the other is external. I want puppet to add a virtual interface to the internal one.
[2009/12/09 08:07:27] <ohadlevy> so something like if ip starts with 192.168 its internal?
[2009/12/09 08:07:52] <tim|macbook> yeah, but also stuff like, if the ip is within 10.72.77.0/26
[2009/12/09 08:08:03] <kjetilho> tim|macbook: you need to do it in Ruby code to handle the general case
[2009/12/09 08:08:09] <ohadlevy> and you need it in the manifest or in a template?
[2009/12/09 08:08:11] @ synchris_ joined channel #puppet
[2009/12/09 08:08:16] <kjetilho> tim|macbook: which means a custom function or fact
[2009/12/09 08:08:26] <ohadlevy> kjetilho or a template
[2009/12/09 08:08:42] <tim|macbook> hm ok... i really should spend some time learning ruby :/
[2009/12/09 08:08:47] <tim|macbook> anyone know of a good tutorial?
[2009/12/09 08:08:57] <kjetilho> ohadlevy: well, yeah. but it's kind of ugly since you can't really pass arguments to a template
[2009/12/09 08:09:17] <kjetilho> ohadlevy: (except by setting a variable in the local scope, which is really ugly)
[2009/12/09 08:09:24] @ bodepd joined channel #puppet
[2009/12/09 08:09:28] <ohadlevy> kjetilho: i find it very useful many times - esp if you just need the facts
[2009/12/09 08:09:39] <ohadlevy> no sync issues or env problems
[2009/12/09 08:09:42] @ Quit: synchris: Nick collision from services.
[2009/12/09 08:09:50] @ synchris_ is now known as synchris
[2009/12/09 08:10:02] <tim|macbook> facter facts really are better, honestly
[2009/12/09 08:10:07] <kjetilho> ohadlevy: you do stuff like case template("func.erb") { ?
[2009/12/09 08:10:22] <Arvind> Anyone has idea if puppet standalone can specify the modulepath on command like "using puppet standlone at command line like puppet -e "include mod1" modulepath=/tmp/modules ?
[2009/12/09 08:10:26] <ohadlevy> kjetilho: you can, but usually for readability i break into two lines
[2009/12/09 08:10:34] <kjetilho> tim|macbook: the bad thing about facts is that they are evaluated on all nodes
[2009/12/09 08:10:45] <ohadlevy> Arvind: use a conf file
[2009/12/09 08:10:48] @ bug joined channel #puppet
[2009/12/09 08:10:51] <tim|macbook> kjetilho: in this case, i want to know if on each node
[2009/12/09 08:11:36] * tim|macbook is working on a puppet module that makes it easy to add service ip addresses to stuff like failover hosts... but we still use dhcp to give the machine it's original connectivity
[2009/12/09 08:12:01] <tim|macbook> so dhcp addresses for machine connectivity, aliases for every service running on there
[2009/12/09 08:13:23] <Arvind> ohadlevy : yeah .. thats the option i have to use in my application(using puppet) currently, but wanted to check if this can be dynamically specified passed than modifying the conf file everytime
[2009/12/09 08:13:40] <ohadlevy> Arvind: i think you can also do --modulepath
[2009/12/09 08:15:49] @ bodepd left channel #puppet ()
[2009/12/09 08:17:20] <Darkflib> the nsa and other hardening guides suggest disabling dhcp...
[2009/12/09 08:17:21] <Darkflib> however I personally feel that a hardened dhcp server isn't a big risk if done right
[2009/12/09 08:17:31] <Darkflib> you just need to make sure that you only accept the basics ip/mask/gw from the server and ignore anything else...
[2009/12/09 08:19:58] <Arvind> thanks ohadlevy .. its works
[2009/12/09 08:22:40] @ suchu joined channel #puppet
[2009/12/09 08:22:50] <n0ts> Hi, I use puppet 0.25.1
[2009/12/09 08:22:57] @ jimmij joined channel #puppet
[2009/12/09 08:23:22] <n0ts> I got a error on my puppetmasterserver. "Could not resolve x.x.x.x, no name for x.x.x.x"
[2009/12/09 08:23:49] <n0ts> I have 3 puppet client now, 2 client is ok, but 1 client is not working...
[2009/12/09 08:24:18] @ qwebirc92095 joined channel #puppet
[2009/12/09 08:25:07] @ Quit: qwebirc92095: Client Quit
[2009/12/09 08:27:55] <Arvind> ohadlevy : is it mandatory to have same name for module directory and the module class ?
[2009/12/09 08:28:16] <ohadlevy> Arvind: if you want autoload to work (otherwise you need import)
[2009/12/09 08:30:18] @ shine joined channel #puppet
[2009/12/09 08:34:36] @ Bass10 joined channel #puppet
[2009/12/09 08:38:45] <Arvind> ohadlevy : ok but how does import work if i have a module1 to execute present under /etc/puppet/modules/user1_modules/module1 , where as modulepath is set to /etc/puppet/modules
[2009/12/09 08:40:20] @ Telmo joined channel #puppet
[2009/12/09 08:41:37] <ohadlevy> Arvind: if the classname == module name than it should work
[2009/12/09 08:41:52] <ohadlevy> or classname == modulename::+sometime
[2009/12/09 08:41:54] <ohadlevy> something
[2009/12/09 08:44:32] <Arvind> yeah it works only then ie if classname==modulename but it does not work if modulename directory is not exactly under the modules directory but some subdirectory
[2009/12/09 08:47:16] @ Quit: Darkflib: Read error: 110 (Connection timed out)
[2009/12/09 08:49:21] <Telmo> how does puppet-dashboard looks? anyone taken a look?
[2009/12/09 08:50:34] @ glarizza joined channel #puppet
[2009/12/09 08:50:39] @ Quit: ffrank: "leaving"
[2009/12/09 08:52:57] <n0ts> Why? I dont know that I happned.
[2009/12/09 08:55:52] @ jcape joined channel #puppet
[2009/12/09 08:57:44] @ jcape left channel #puppet ()
[2009/12/09 08:58:48] <glarizza> Hey Guys, I'm using a pkg_deploy definition with the pkgdmg provider to roll out packages to OS X machines. I've defined a "wesstaff.pp" file which defines several Packages for installation. The problem exists when I want to do this at several buildings with other puppetmasters and different source servers for these packages. If I were to create an "hhsstaff.pp" file that wanted to use the Package definitions that were in this "wesstaff.pp" file but
[2009/12/09 08:58:48] <glarizza> change the sourcedir that pkg_deploy{} uses, how would I go about making that call in this new file?
[2009/12/09 08:58:54] <glarizza> Sorry --> http://www.pastie.org/735385
[2009/12/09 08:59:12] <glarizza> Wait - wrong one --> http://www.pastie.org/735392 is correct
[2009/12/09 08:59:44] @ Quit: DonovanZA:
[2009/12/09 09:00:06] <Arvind> puppet help does not expose options like -e ---modulepath "include modulename" ? is there any other way to execute a module without -e option using puppet standalone
[2009/12/09 09:01:51] <n0ts> I removed /var/lib/puppet/ssl direcotry, It's working!.
[2009/12/09 09:03:32] @ Quit: jimmij: Remote closed the connection
[2009/12/09 09:03:48] <n0ts> on client ;)
[2009/12/09 09:04:07] @ Darkflib joined channel #puppet
[2009/12/09 09:04:21] @ jimmij joined channel #puppet
[2009/12/09 09:12:02] @ cwebber joined channel #puppet
[2009/12/09 09:12:56] @ Quit: lazzurs: Remote closed the connection
[2009/12/09 09:12:58] @ lazzurs joined channel #puppet
[2009/12/09 09:17:19] @ unxfrek joined channel #puppet
[2009/12/09 09:17:33] @ Quit: bpgoldsb: "Leaving"
[2009/12/09 09:17:40] @ erm_ joined channel #puppet
[2009/12/09 09:18:19] @ Quit: unxfrek: Client Quit
[2009/12/09 09:19:12] <Arvind> reposting the question to know if there can be intermodule dependencies possible in puppet say module1, module2 where module2 depending on module1
[2009/12/09 09:19:47] @ unxfrek joined channel #puppet
[2009/12/09 09:25:14] @ nexx| joined channel #puppet
[2009/12/09 09:25:17] <n0ts> yumrepo resouce type has ensure => absent?
[2009/12/09 09:29:05] @ Quit: cwebber:
[2009/12/09 09:31:38] @ lxer1 joined channel #puppet
[2009/12/09 09:31:53] <groove> Arvind: do you mean like includes?
[2009/12/09 09:32:17] <groove> you can get into tricky situations when you have dependencies because of the unreliable parse order
[2009/12/09 09:36:47] <Arvind> ok .. wanted to know if there is possibility to have dependencies between two modules because my application is going to support puppet management on several devices without using puppet server . So wanted to know if there is such case possible with puppet to handle dependencies
[2009/12/09 09:38:14] @ drbob joined channel #puppet
[2009/12/09 09:38:27] <groove> so you will be running it over local manifests only? shouldn't change much to do with parse order etc
[2009/12/09 09:38:28] <Arvind> using dependencies is not safe but tomorrow someone using such things using puppet scripts from application should not face any concern :)
[2009/12/09 09:39:10] <groove> as long as you arrange your manifests in a top-down manner, using definitions with no cross-layer calls it should be fine
[2009/12/09 09:39:27] <lxer1> hi, the wiki documentation for resource type mailalias is not completely clear (at least to me). For red hat linux, at least, should there be a mention of newaliases as a provider?
[2009/12/09 09:39:44] <Arvind> no modules are also added and deployed to the devices from a central management server and enforced as part of some policies
[2009/12/09 09:40:00] <Arvind> groove : ok .
[2009/12/09 09:40:35] <lxer1> I want to know if type mailaliases updates /etc/aliases (again, RHEL specific), will the necessary command newaliases run to create aliases.db?
[2009/12/09 09:46:37] @ joe-mac joined channel #puppet
[2009/12/09 09:48:04] @ bobbyz_ joined channel #puppet
[2009/12/09 09:52:43] @ Quit: drbob: "leaving"
[2009/12/09 09:53:06] @ kaptk2 joined channel #puppet
[2009/12/09 10:00:43] <Arvind> AFAIK puppet support package management tools like yum , rug (SuSE) . but not zypper ..
[2009/12/09 10:01:26] <SyTonnerre> Arvind, feel free to add a provider for it
[2009/12/09 10:03:08] @ Quit: rmiller4pi81: "Leaving."
[2009/12/09 10:04:26] <Arvind> :) .i would check that with SUSE contacts if this is planned in its puppet equivalent
[2009/12/09 10:04:29] @ Quit: suchu: "ChatZilla 0.9.85 [Firefox 3.0.15/2009101601]"
[2009/12/09 10:13:59] <duritong> jamestur1bull: ping
[2009/12/09 10:15:07] <duritong> hmm auto completion
[2009/12/09 10:16:01] <duritong> anyway any ppl showing up @ 26C3, there will be definately various puppeteers attending, maybe we could meet somewhere, somehow.
[2009/12/09 10:17:49] @ labrown joined channel #puppet
[2009/12/09 10:26:33] @ greg___ joined channel #puppet
[2009/12/09 10:30:05] @ Quit: bug:
[2009/12/09 10:30:25] @ rmiller4pi8 joined channel #puppet
[2009/12/09 10:31:40] @ Quit: rmiller4pi8: Client Quit
[2009/12/09 10:32:22] @ rmiller4pi8 joined channel #puppet
[2009/12/09 10:34:08] @ cwebber joined channel #puppet
[2009/12/09 10:35:36] <zahna> if i wanted to ensure an owner and group by id number and if the user & group don't exist on the machine in question, how do i do that?
[2009/12/09 10:37:54] <groove> i'm not sure if you can use Group[gid]
[2009/12/09 10:38:17] <groove> existence isn't the problem, it's referring to them by numeric id
[2009/12/09 10:38:42] <zahna> i'm trying to use this on File[]
[2009/12/09 10:38:51] <zahna> with owner => 200, group => 200
[2009/12/09 10:39:19] <groove> but the name of that owner and group could be anything?
[2009/12/09 10:39:53] <zahna> well, does puppet understand numbers vs strings?
[2009/12/09 10:40:01] <zahna> in this context?
[2009/12/09 10:40:13] <groove> user and group resources are referred to by name
[2009/12/09 10:40:22] <Arvind> had a small clarification if i can import a module1 into module2 assuming both are at same modulepath ?
[2009/12/09 10:40:38] <groove> there really isn't any relationship between User[foo] and owner => foo
[2009/12/09 10:41:04] <zahna> right, i'm not asking about the User[] resource, but the owner attribute of the File[] reousrce
[2009/12/09 10:41:12] <groove> but you are
[2009/12/09 10:41:25] <zahna> but how?
[2009/12/09 10:41:36] <groove> File { "testfile": owner => foo, require => User[foo]; }
[2009/12/09 10:41:40] <groove> that's effectively what you want
[2009/12/09 10:41:46] <zahna> it's not though
[2009/12/09 10:41:57] <groove> except that the owner parameter of the file type allows you to specify by name OR uid
[2009/12/09 10:42:06] <groove> and the user type does not
[2009/12/09 10:42:13] <zahna> the user exists in ldap, but my backup machine isn't using ldap
[2009/12/09 10:42:13] <groove> you have to refer to a resource by name
[2009/12/09 10:42:26] <groove> and in this case you couldn't say User[200]
[2009/12/09 10:42:28] <groove> unless that was the user's actual name
[2009/12/09 10:42:35] <zahna> but i'm not requiring a User[] on the file
[2009/12/09 10:42:59] <groove> that's what you have to do though, if you want to ensure that ownership is only set on the file if the user is present
[2009/12/09 10:43:05] <zahna> i can say owner => root, without requiring a User[root] resource
[2009/12/09 10:43:24] <zahna> i don't care if the user is present
[2009/12/09 10:43:35] <zahna> which is why i was trying to set by uid/gid
[2009/12/09 10:43:40] <groove> true, but implicitly you don't care about confirming the root user is actually present
[2009/12/09 10:43:47] <groove> non-standard users are a different matter
[2009/12/09 10:43:50] <jb> what is the issues/bugs URL?
[2009/12/09 10:44:08] <groove> if you don't care about the user being present, then you have a problem either way
[2009/12/09 10:44:20] <groove> if the user is not present, the ownership operation will fail
[2009/12/09 10:44:25] <jb> nm :)
[2009/12/09 10:44:57] <zahna> no, because i can set ownership to any id by number
[2009/12/09 10:45:04] <zahna> at least on the cli i can
[2009/12/09 10:45:05] <groove> ah, i see what you are saying
[2009/12/09 10:45:10] <groove> it shouldn't matter
[2009/12/09 10:45:39] <zahna> here's what i'm getting: File[/nfs/netapp1/mail]: Failed to retrieve current state of resource: Could not find user 200
[2009/12/09 10:45:39] <groove> owner => takes a numeric argument as well
[2009/12/09 10:45:41] <jb> is rowlf 0.25.2?
[2009/12/09 10:46:47] @ Quit: joe-mac: Remote closed the connection
[2009/12/09 10:47:06] <groove> hmm, you are right
[2009/12/09 10:47:09] <zahna> hmm... it seems to not be working
[2009/12/09 10:47:23] <Arvind> groove : can i import a module1 into module2 assuming both are at same modulepath ?
[2009/12/09 10:48:04] <groove> zahna: guess you can't actually do it
[2009/12/09 10:48:32] <groove> technically i would consider that a bug, but others may disagree
[2009/12/09 10:48:38] <zahna> what's wierd is that i have set my default owner and group for File[] to be 0
[2009/12/09 10:48:57] <zahna> what version are you running? i'm using 0.24.8
[2009/12/09 10:49:03] <zahna> does 0.25.1 support it?
[2009/12/09 10:49:07] <groove> Arvind: no idea, sorry
[2009/12/09 10:49:19] <groove> i've got 0.24.8 on my workstation, i'll try 0.25.1
[2009/12/09 10:49:33] <zahna> i would consider it a bug too, and i don't know if it was fixed in 0.25.x
[2009/12/09 10:50:11] <Arvind> ok . thanks
[2009/12/09 10:50:58] <groove> zahna: works on 0.25.1
[2009/12/09 10:51:19] <zahna> groove: ok. cool.
[2009/12/09 10:52:14] <zahna> thanks for looking into that
[2009/12/09 10:52:18] <groove> no probs
[2009/12/09 10:52:45] <zahna> do you know of any outstanding issues with 0.25.1?
[2009/12/09 10:53:28] <LinuxCode> zahna, what is your os ?
[2009/12/09 10:53:31] <groove> i'm sure there are *plenty*
[2009/12/09 10:53:48] <LinuxCode> or distribution rather
[2009/12/09 10:53:54] <LinuxCode> if using linux
[2009/12/09 10:54:20] <zahna> LinuxCode: CentOS
[2009/12/09 10:54:30] <LinuxCode> using epel as repo ?
[2009/12/09 10:54:34] <zahna> yeppers
[2009/12/09 10:55:00] <LinuxCode> yum --enablerepo=epel-testing update puppet for 0.25.1
[2009/12/09 10:55:02] <zahna> i know endpoint has 0.25.1, but i don't know how standardly they package their stuff
[2009/12/09 10:55:23] <zahna> LinuxCode: oh, i haven't seen epel-testing yet
[2009/12/09 10:58:29] @ jcape joined channel #puppet
[2009/12/09 10:59:54] @ jcape left channel #puppet ()
[2009/12/09 11:01:33] @ Quit: nono_: Client Quit
[2009/12/09 11:03:14] @ _nono_ joined channel #puppet
[2009/12/09 11:05:49] @ Quit: tim|macbook:
[2009/12/09 11:08:03] @ Quit: pacalm:
[2009/12/09 11:09:03] @ ckdake joined channel #puppet
[2009/12/09 11:10:06] @ Quit: LinuxCode: "Connection Closed"
[2009/12/09 11:10:11] <groove> any suggestions for installing both the mysql rpm package, and the mysql gem using the package type?
[2009/12/09 11:11:02] @ lilmatt joined channel #puppet
[2009/12/09 11:11:35] @ Quit: mat_: brown.freenode.net irc.freenode.net
[2009/12/09 11:11:36] @ Quit: Berge: brown.freenode.net irc.freenode.net
[2009/12/09 11:11:36] @ Quit: ssm: brown.freenode.net irc.freenode.net
[2009/12/09 11:11:37] @ Quit: madduck: brown.freenode.net irc.freenode.net
[2009/12/09 11:11:38] @ Quit: omry_|work: brown.freenode.net irc.freenode.net
[2009/12/09 11:11:39] @ Quit: stahnma: brown.freenode.net irc.freenode.net
[2009/12/09 11:11:39] @ Quit: londo_: brown.freenode.net irc.freenode.net
[2009/12/09 11:11:40] @ Quit: jY: brown.freenode.net irc.freenode.net
[2009/12/09 11:11:41] @ Quit: zahna: brown.freenode.net irc.freenode.net
[2009/12/09 11:11:41] @ Quit: kjetilho: brown.freenode.net irc.freenode.net
[2009/12/09 11:11:42] @ Quit: [0x100]: brown.freenode.net irc.freenode.net
[2009/12/09 11:11:43] @ Quit: falsch: brown.freenode.net irc.freenode.net
[2009/12/09 11:11:43] @ Quit: dispalt: brown.freenode.net irc.freenode.net
[2009/12/09 11:11:44] @ Quit: Sakarias: brown.freenode.net irc.freenode.net
[2009/12/09 11:11:45] @ Quit: DmosEmp: brown.freenode.net irc.freenode.net
[2009/12/09 11:11:45] @ Quit: kambiz: brown.freenode.net irc.freenode.net
[2009/12/09 11:11:45] @ Quit: abien: brown.freenode.net irc.freenode.net
[2009/12/09 11:11:46] @ Quit: FoxFurry: brown.freenode.net irc.freenode.net
[2009/12/09 11:11:46] @ Quit: wakko666: brown.freenode.net irc.freenode.net
[2009/12/09 11:11:47] @ Quit: vollmer: brown.freenode.net irc.freenode.net
[2009/12/09 11:11:47] @ Quit: telmich: brown.freenode.net irc.freenode.net
[2009/12/09 11:11:48] @ Quit: SyTonnerre: brown.freenode.net irc.freenode.net
[2009/12/09 11:11:48] @ Quit: mizzy: brown.freenode.net irc.freenode.net
[2009/12/09 11:11:49] @ Quit: herlo: brown.freenode.net irc.freenode.net
[2009/12/09 11:11:50] @ Quit: stick: brown.freenode.net irc.freenode.net
[2009/12/09 11:11:51] @ Quit: _nono_: brown.freenode.net irc.freenode.net
[2009/12/09 11:11:52] @ Quit: nico: brown.freenode.net irc.freenode.net
[2009/12/09 11:11:53] @ Quit: mrbucket_: brown.freenode.net irc.freenode.net
[2009/12/09 11:11:53] @ Quit: chadh_: brown.freenode.net irc.freenode.net
[2009/12/09 11:11:54] @ Quit: mcbride: brown.freenode.net irc.freenode.net
[2009/12/09 11:11:54] @ Quit: neek: brown.freenode.net irc.freenode.net
[2009/12/09 11:11:55] @ Quit: FUF: brown.freenode.net irc.freenode.net
[2009/12/09 11:11:55] @ Quit: fugit: brown.freenode.net irc.freenode.net
[2009/12/09 11:11:55] @ Quit: pLr: brown.freenode.net irc.freenode.net
[2009/12/09 11:11:56] @ Quit: choffee: brown.freenode.net irc.freenode.net
[2009/12/09 11:11:56] @ Quit: henk: brown.freenode.net irc.freenode.net
[2009/12/09 11:11:59] @ Quit: kennobak1: brown.freenode.net irc.freenode.net
[2009/12/09 11:12:00] @ Quit: felipe`: brown.freenode.net irc.freenode.net
[2009/12/09 11:12:02] @ Quit: illsci: brown.freenode.net irc.freenode.net
[2009/12/09 11:12:02] @ Quit: cwebber: brown.freenode.net irc.freenode.net
[2009/12/09 11:12:03] @ Quit: labrown: brown.freenode.net irc.freenode.net
[2009/12/09 11:12:05] @ Quit: nakano: brown.freenode.net irc.freenode.net
[2009/12/09 11:12:06] @ Quit: himanshu: brown.freenode.net irc.freenode.net
[2009/12/09 11:12:06] @ Quit: Bosse: brown.freenode.net irc.freenode.net
[2009/12/09 11:12:07] @ Quit: choffee__: brown.freenode.net irc.freenode.net
[2009/12/09 11:12:07] @ Quit: ptman: brown.freenode.net irc.freenode.net
[2009/12/09 11:12:08] @ Quit: whack: brown.freenode.net irc.freenode.net
[2009/12/09 11:12:08] @ Quit: FiXion: brown.freenode.net irc.freenode.net
[2009/12/09 11:12:08] @ Quit: markwell: brown.freenode.net irc.freenode.net
[2009/12/09 11:12:09] @ Quit: cmek: brown.freenode.net irc.freenode.net
[2009/12/09 11:12:10] @ Quit: phearless: brown.freenode.net irc.freenode.net
[2009/12/09 11:12:10] @ Quit: glut: brown.freenode.net irc.freenode.net
[2009/12/09 11:12:10] @ Quit: kennethd: brown.freenode.net irc.freenode.net
[2009/12/09 11:12:11] @ Quit: blue: brown.freenode.net irc.freenode.net
[2009/12/09 11:12:11] @ Quit: samppah: brown.freenode.net irc.freenode.net
[2009/12/09 11:12:12] @ Quit: opqdonut: brown.freenode.net irc.freenode.net
[2009/12/09 11:12:12] @ Quit: windo: brown.freenode.net irc.freenode.net
[2009/12/09 11:12:13] @ Quit: `properzel: brown.freenode.net irc.freenode.net
[2009/12/09 11:12:13] @ Quit: thijso: brown.freenode.net irc.freenode.net
[2009/12/09 11:12:14] @ Quit: skaar: brown.freenode.net irc.freenode.net
[2009/12/09 11:12:14] @ Quit: arj: brown.freenode.net irc.freenode.net
[2009/12/09 11:12:15] @ Quit: JD: brown.freenode.net irc.freenode.net
[2009/12/09 11:12:15] @ Quit: ggillies_: brown.freenode.net irc.freenode.net
[2009/12/09 11:12:16] @ Quit: jameswhi1e: brown.freenode.net irc.freenode.net
[2009/12/09 11:12:16] @ Quit: cshields: brown.freenode.net irc.freenode.net
[2009/12/09 11:12:17] @ Quit: Filbert: brown.freenode.net irc.freenode.net
[2009/12/09 11:12:17] @ Quit: mark: brown.freenode.net irc.freenode.net
[2009/12/09 11:12:18] @ Quit: rodjek: brown.freenode.net irc.freenode.net
[2009/12/09 11:12:18] @ Quit: Av: brown.freenode.net irc.freenode.net
[2009/12/09 11:12:19] @ Quit: CoolCold: brown.freenode.net irc.freenode.net
[2009/12/09 11:12:19] @ Quit: jds2001: brown.freenode.net irc.freenode.net
[2009/12/09 11:12:19] @ Quit: sid77: brown.freenode.net irc.freenode.net
[2009/12/09 11:12:20] @ Quit: proton: brown.freenode.net irc.freenode.net
[2009/12/09 11:12:21] @ Quit: Dominic: brown.freenode.net irc.freenode.net
[2009/12/09 11:12:21] @ Quit: ezekiel: brown.freenode.net irc.freenode.net
[2009/12/09 11:12:22] @ Quit: pneff: brown.freenode.net irc.freenode.net
[2009/12/09 11:12:22] @ Quit: unxfrek: Remote closed the connection
[2009/12/09 11:12:22] @ jimi_c-ph joined channel #puppet
[2009/12/09 11:13:55] @ jab_doa joined channel #puppet
[2009/12/09 11:14:07] <ckdake> hello - i recently upgraded from .24 to .25 and now many of my nodes are getting an error like "Dec 9 08:11:27 od2-db2 puppetd[17675]: Could not retrieve catalog from remote server: Error 403 on SERVER: Forbidden request: warehouse1.sjc.sugarcrm.pvt(10.13.20.65) access to /catalog/od2-db2.sjc.sugarcrm.pvt [find] authenticated at line 52" that IP address is the address od od2-db2 and not warehouse1, and this is a puppet run on od2-db2, not warehouse1.
[2009/12/09 11:14:33] @ fugit joined channel #puppet
[2009/12/09 11:14:33] @ FUF joined channel #puppet
[2009/12/09 11:14:33] @ neek joined channel #puppet
[2009/12/09 11:14:34] @ mcbride joined channel #puppet
[2009/12/09 11:14:34] @ chadh_ joined channel #puppet
[2009/12/09 11:14:34] @ pLr joined channel #puppet
[2009/12/09 11:14:34] @ henk joined channel #puppet
[2009/12/09 11:14:34] @ choffee joined channel #puppet
[2009/12/09 11:14:34] @ felipe` joined channel #puppet
[2009/12/09 11:14:34] @ kennobak1 joined channel #puppet
[2009/12/09 11:14:34] @ mrbucket_ joined channel #puppet
[2009/12/09 11:14:34] @ nico joined channel #puppet
[2009/12/09 11:14:34] @ _nono_ joined channel #puppet
[2009/12/09 11:14:34] @ omry_|work joined channel #puppet
[2009/12/09 11:14:35] @ stahnma joined channel #puppet
[2009/12/09 11:14:35] @ londo_ joined channel #puppet
[2009/12/09 11:14:35] @ [0x100] joined channel #puppet
[2009/12/09 11:14:35] @ ssm joined channel #puppet
[2009/12/09 11:14:35] @ madduck joined channel #puppet
[2009/12/09 11:14:35] @ jY joined channel #puppet
[2009/12/09 11:14:35] @ telmich joined channel #puppet
[2009/12/09 11:14:35] @ kambiz joined channel #puppet
[2009/12/09 11:14:35] @ mizzy joined channel #puppet
[2009/12/09 11:14:35] @ zahna joined channel #puppet
[2009/12/09 11:14:35] @ abien joined channel #puppet
[2009/12/09 11:14:36] @ dispalt joined channel #puppet
[2009/12/09 11:14:36] @ FoxFurry joined channel #puppet
[2009/12/09 11:14:36] @ kjetilho joined channel #puppet
[2009/12/09 11:14:36] @ falsch joined channel #puppet
[2009/12/09 11:14:36] @ mat_ joined channel #puppet
[2009/12/09 11:14:36] @ Berge joined channel #puppet
[2009/12/09 11:14:36] @ Sakarias joined channel #puppet
[2009/12/09 11:14:36] @ stick joined channel #puppet
[2009/12/09 11:14:36] @ SyTonnerre joined channel #puppet
[2009/12/09 11:14:36] @ DmosEmp joined channel #puppet
[2009/12/09 11:14:36] @ wakko666 joined channel #puppet
[2009/12/09 11:14:37] @ herlo joined channel #puppet
[2009/12/09 11:14:37] @ vollmer joined channel #puppet
[2009/12/09 11:15:06] <ckdake> reposting due to netsplit crazyness:
[2009/12/09 11:15:06] <ckdake> hello - i recently upgraded from .24 to .25  and now many of my nodes are getting an error like "Dec  9 08:11:27 od2-db2 puppetd[17675]: Could not retrieve catalog from remote server: Error 403 on SERVER: Forbidden request: warehouse1.sjc.sugarcrm.pvt(10.13.20.65) access to /catalog/od2-db2.sjc.sugarcrm.pvt [find] authenticated  at line 52"  that IP address is the address od od2-db2 and not warehouse1,  and this is a puppet run on od2-db2, not warehous
[2009/12/09 11:15:25] @ cwebber joined channel #puppet
[2009/12/09 11:15:25] @ labrown joined channel #puppet
[2009/12/09 11:15:25] @ illsci joined channel #puppet
[2009/12/09 11:15:25] @ arj joined channel #puppet
[2009/12/09 11:15:25] @ blue joined channel #puppet
[2009/12/09 11:15:26] @ cmek joined channel #puppet
[2009/12/09 11:15:26] @ windo joined channel #puppet
[2009/12/09 11:15:26] @ jds2001 joined channel #puppet
[2009/12/09 11:15:26] @ CoolCold joined channel #puppet
[2009/12/09 11:15:26] @ JD joined channel #puppet
[2009/12/09 11:15:26] @ kennethd joined channel #puppet
[2009/12/09 11:15:26] @ cshields joined channel #puppet
[2009/12/09 11:15:26] @ ggillies_ joined channel #puppet
[2009/12/09 11:15:26] @ nakano joined channel #puppet
[2009/12/09 11:15:26] @ markwell joined channel #puppet
[2009/12/09 11:15:26] @ glut joined channel #puppet
[2009/12/09 11:15:27] @ himanshu joined channel #puppet
[2009/12/09 11:15:27] @ opqdonut joined channel #puppet
[2009/12/09 11:15:27] @ sid77 joined channel #puppet
[2009/12/09 11:15:27] @ mark joined channel #puppet
[2009/12/09 11:15:27] @ Bosse joined channel #puppet
[2009/12/09 11:15:27] @ jameswhi1e joined channel #puppet
[2009/12/09 11:15:27] @ choffee__ joined channel #puppet
[2009/12/09 11:15:27] @ Dominic joined channel #puppet
[2009/12/09 11:15:27] @ ptman joined channel #puppet
[2009/12/09 11:15:27] @ Av joined channel #puppet
[2009/12/09 11:15:28] @ Filbert joined channel #puppet
[2009/12/09 11:15:28] @ rodjek joined channel #puppet
[2009/12/09 11:15:28] @ whack joined channel #puppet
[2009/12/09 11:15:28] @ proton joined channel #puppet
[2009/12/09 11:15:28] @ `properzel joined channel #puppet
[2009/12/09 11:15:28] @ thijso joined channel #puppet
[2009/12/09 11:15:28] @ samppah joined channel #puppet
[2009/12/09 11:15:28] @ skaar joined channel #puppet
[2009/12/09 11:15:28] @ ezekiel joined channel #puppet
[2009/12/09 11:15:28] @ phearless joined channel #puppet
[2009/12/09 11:15:29] @ FiXion joined channel #puppet
[2009/12/09 11:15:29] @ pneff joined channel #puppet
[2009/12/09 11:25:45] @ Quit: tuf: "Look whos tuf now.."
[2009/12/09 11:27:52] @ Quit: neek: "My damn controlling terminal disappeared!"
[2009/12/09 11:27:57] @ groove left channel #puppet ()
[2009/12/09 11:29:11] @ joe-mac joined channel #puppet
[2009/12/09 11:32:44] <ckdake> if i restart httpd, clients can then connect, so perhaps its something with rack specific config?
[2009/12/09 11:33:56] @ unxfrek joined channel #puppet
[2009/12/09 11:35:19] @ lak joined channel #puppet
[2009/12/09 11:38:58] @ Quit: Ramonster: Client Quit
[2009/12/09 11:39:35] <himanshu> is there some way using puppet where I can uncomment/remove some line on target node
[2009/12/09 11:39:54] <himanshu> uncommenting/removing line in file using puppet
[2009/12/09 11:41:23] <duritong> not directly
[2009/12/09 11:41:33] <duritong> well using augeas you can
[2009/12/09 11:41:37] <himanshu> then how?
[2009/12/09 11:41:48] <duritong> but there are modules around providing you this capability
[2009/12/09 11:41:57] <duritong> like DavidS common module
[2009/12/09 11:42:07] <himanshu> say I want to remove some line "LoadModules ..." in httpd.conf using puppet, how should I do it
[2009/12/09 11:42:21] <greg___> just manage the httpd.conf file entirely
[2009/12/09 11:42:23] <duritong> I assume augeas can do that
[2009/12/09 11:42:56] @ Quit: grim_radical: Remote closed the connection
[2009/12/09 11:43:35] <himanshu> Is it good idea say I wont make any changes in httpd.conf and If i have to unload and load any extra module, just create some extra .conf file in .confd folder using pupopet
[2009/12/09 11:43:53] @ Quit: jimi_c-ph: "probably got a phone call..."
[2009/12/09 11:53:59] @ Quit: unxfrek: Remote closed the connection
[2009/12/09 11:56:59] @ bug joined channel #puppet
[2009/12/09 11:57:49] @ Quit: bug: Read error: 104 (Connection reset by peer)
[2009/12/09 11:57:54] @ bug_ joined channel #puppet
[2009/12/09 11:58:00] @ bug_ is now known as bug
[2009/12/09 12:03:27] @ Quit: bug: Read error: 113 (No route to host)
[2009/12/09 12:03:30] @ bug_ joined channel #puppet
[2009/12/09 12:03:39] @ bug_ is now known as bug
[2009/12/09 12:07:32] @ Quit: ambroff_: Read error: 110 (Connection timed out)
[2009/12/09 12:08:16] <cwebber> can you pass a list to a custom function?
[2009/12/09 12:09:40] @ Quit: bje: Remote closed the connection
[2009/12/09 12:13:39] @ lak_ joined channel #puppet
[2009/12/09 12:13:39] @ Quit: lak: Read error: 104 (Connection reset by peer)
[2009/12/09 12:13:50] @ lak_ is now known as lak
[2009/12/09 12:14:04] @ bje joined channel #puppet
[2009/12/09 12:14:13] @ Quit: orangepeel: Remote closed the connection
[2009/12/09 12:14:28] @ themurph_ joined channel #puppet
[2009/12/09 12:18:32] @ Quit: plathrop-away: brown.freenode.net irc.freenode.net
[2009/12/09 12:18:33] @ Quit: Volcane: brown.freenode.net irc.freenode.net
[2009/12/09 12:18:33] @ Quit: hggh: brown.freenode.net irc.freenode.net
[2009/12/09 12:18:34] @ Quit: Mandus: brown.freenode.net irc.freenode.net
[2009/12/09 12:18:34] @ Quit: Hollow: brown.freenode.net irc.freenode.net
[2009/12/09 12:18:34] @ Quit: ewdafa: brown.freenode.net irc.freenode.net
[2009/12/09 12:19:47] @ Quit: themurph_: "Leaving"
[2009/12/09 12:20:26] @ nakano is now known as nakano_
[2009/12/09 12:25:18] @ alfism joined channel #puppet
[2009/12/09 12:27:48] @ Mandus joined channel #puppet
[2009/12/09 12:29:36] @ nakano_ is now known as nakano
[2009/12/09 12:29:41] @ nakano is now known as nakano_
[2009/12/09 12:29:51] @ themurph joined channel #puppet
[2009/12/09 12:30:15] @ Quit: themurph: Client Quit
[2009/12/09 12:30:17] <kjetilho> cwebber: I get a syntax error when I try...
[2009/12/09 12:30:23] <cwebber> same here
[2009/12/09 12:30:27] @ themurph joined channel #puppet
[2009/12/09 12:30:36] <cwebber> i am just going to do what i want in reverse...
[2009/12/09 12:30:38] <kjetilho> cwebber: if you add it as an issue, I'll vote for it :)
[2009/12/09 12:30:40] <cwebber> i think anyway
[2009/12/09 12:33:54] @ rackerhacker left channel #puppet ()
[2009/12/09 12:35:33] @ Quit: MattyM: "ta ta"
[2009/12/09 12:38:03] @ Quit: poison: Remote closed the connection
[2009/12/09 12:38:24] @ poison joined channel #puppet
[2009/12/09 12:38:32] @ Quit: poison: Remote closed the connection
[2009/12/09 12:41:22] <gepetto_> ::trac:: Puppet Modules edited @ http://reductivelabs.com/trac/puppet/wiki/PuppetModules?version=43
[2009/12/09 12:47:20] <cwebber> so dumb question...
[2009/12/09 12:47:42] <cwebber> where do the custom functions get loaded into puppet
[2009/12/09 12:48:42] <kjetilho> cwebber: what tripped me up, was that you need to run puppetd on puppetmaster (and possibly restart puppetmasterd) for it to pick up the plugin
[2009/12/09 12:49:23] <cwebber> yeah but where are the files supposed to sit?
[2009/12/09 12:51:24] <cwebber> i am blind
[2009/12/09 12:52:43] @ ewdafa joined channel #puppet
[2009/12/09 12:52:43] @ Hollow joined channel #puppet
[2009/12/09 12:52:43] @ plathrop-away joined channel #puppet
[2009/12/09 12:52:43] @ hggh joined channel #puppet
[2009/12/09 12:52:43] @ Volcane joined channel #puppet
[2009/12/09 12:52:43] @ ambroff_ joined channel #puppet
[2009/12/09 12:53:15] @ Quit: ambroff: "Ex-Chat"
[2009/12/09 13:03:39] @ Quit: glarizza:
[2009/12/09 13:12:39] @ Quit: lxer1: "Konversation terminated!"
[2009/12/09 13:13:01] <joe-mac> /usr/lib/ruby/1.8/puppet/parser/functions
[2009/12/09 13:13:18] <joe-mac> or wherever $RUBYLIVESHERE/puppet/parser/functions/
[2009/12/09 13:13:26] <joe-mac> you most likely will have to mkdir the functions dir inside parser
[2009/12/09 13:13:36] <joe-mac> and puppetmasterd needs tpo be restarted to see new frunctions
[2009/12/09 13:17:13] @ Quit: lak:
[2009/12/09 13:18:00] @ Eghie joined channel #puppet
[2009/12/09 13:20:37] @ giskard_ joined channel #puppet
[2009/12/09 13:22:54] @ Quit: erm_: Read error: 110 (Connection timed out)
[2009/12/09 13:28:16] @ francois left channel #puppet ()
[2009/12/09 13:28:24] @ toi joined channel #puppet
[2009/12/09 13:28:54] @ WALoeIII joined channel #puppet
[2009/12/09 13:29:37] @ Quit: giskard: Read error: 145 (Connection timed out)
[2009/12/09 13:34:49] @ wbruce joined channel #puppet
[2009/12/09 13:37:54] @ pting joined channel #puppet
[2009/12/09 13:39:38] @ Quit: bug: Read error: 131 (Connection reset by peer)
[2009/12/09 13:39:39] @ unxfrek joined channel #puppet
[2009/12/09 13:41:50] @ bug joined channel #puppet
[2009/12/09 13:51:08] @ zombied joined channel #puppet
[2009/12/09 13:51:53] <zombied> I'm new to puppet and I was wondering if there is a way to copy a directory and all of its contents from the puppet master to the puppet clients?
[2009/12/09 13:52:08] <bda> recurse => true
[2009/12/09 13:52:23] <bda> Although depending on the size of the directory, you may want to just use rsync.
[2009/12/09 13:52:39] <zombied> It is tiny stuff, just a few perl scripts
[2009/12/09 13:52:42] <bda> Also, if you aren't using 0.25.x, you will notice some bloating in the Puppet client daemon if you recurse a large tree.
[2009/12/09 13:52:50] <bda> Then it shouldn't be a deal.
[2009/12/09 13:52:52] <zombied> maybe like 5 or so
[2009/12/09 13:54:06] @ Quit: giskard_: Remote closed the connection
[2009/12/09 13:54:31] <zombied> file { "/tmp/testfiles/":
[2009/12/09 13:54:31] <zombied> recurse => true,
[2009/12/09 13:54:31] <zombied> ensure => directory,
[2009/12/09 13:54:31] <zombied> owner => "root",
[2009/12/09 13:54:31] <zombied> group => "root",
[2009/12/09 13:54:32] <zombied> mode => 755
[2009/12/09 13:54:34] <zombied> }
[2009/12/09 13:54:36] <zombied> Does that look right?
[2009/12/09 13:54:55] <zombied> I've been watching the /tmp/ dir on a puppet client to see if it gets copied over, but it isn't
[2009/12/09 13:55:07] <kjetilho> zombied: you need a source
[2009/12/09 13:55:13] <zombied> Honestly, I'm brand new to puppet on a pre-existing environment, so I got thrown into the fir
[2009/12/09 13:55:48] @ erm_ joined channel #puppet
[2009/12/09 13:56:02] <zombied> Isn't the source defined right after the file function?
[2009/12/09 13:58:21] <kjetilho> no, that's the destination
[2009/12/09 13:58:55] <kjetilho> (by default -- if you specify path, you can use any string to name the File resource)
[2009/12/09 14:02:06] @ ezmobius joined channel #puppet
[2009/12/09 14:05:16] @ Quit: lilmatt: Client Quit
[2009/12/09 14:06:58] <zombied> file { "/tmp/testfiles/":
[2009/12/09 14:06:58] <zombied> recurse => true,
[2009/12/09 14:06:58] <zombied> ensure => directory,
[2009/12/09 14:06:58] <zombied> owner => "root",
[2009/12/09 14:06:58] <zombied> group => "root",
[2009/12/09 14:06:59] <zombied> mode => 755,
[2009/12/09 14:07:01] <zombied> source => "puppet://dukesrvi01.blah.net/tmp/testfiles/"
[2009/12/09 14:07:03] <zombied> }
[2009/12/09 14:07:05] <zombied> Anything look wrong with that?
[2009/12/09 14:09:31] <ezekiel> no semi-colon
[2009/12/09 14:10:09] <ezekiel> using that format, I'd put a semi-colon after the "source" directive
[2009/12/09 14:10:11] @ Quit: jaredrhine: Read error: 110 (Connection timed out)
[2009/12/09 14:10:30] @ erm__ joined channel #puppet
[2009/12/09 14:10:38] <ezekiel> I'd probably also put the mode in quotes. Maybe all of this is just imprinted from the style guide, though.
[2009/12/09 14:10:53] @ Quit: bug:
[2009/12/09 14:11:44] @ jcape joined channel #puppet
[2009/12/09 14:13:41] @ jaredrhine joined channel #puppet
[2009/12/09 14:18:09] @ lak joined channel #puppet
[2009/12/09 14:18:30] @ jcape left channel #puppet ()
[2009/12/09 14:21:27] @ mvn072 joined channel #puppet
[2009/12/09 14:21:33] @ Quit: erm_: Read error: 110 (Connection timed out)
[2009/12/09 14:21:55] <zombied> Hrmm....I restarted the puppet service on the client
[2009/12/09 14:21:56] @ Quit: jimmij: "Leaving."
[2009/12/09 14:22:01] <zombied> still isn't copying this directory
[2009/12/09 14:22:33] @ jimmij joined channel #puppet
[2009/12/09 14:34:37] @ Quit: wbruce: "The computer fell asleep"
[2009/12/09 14:34:54] @ wbruce joined channel #puppet
[2009/12/09 14:39:31] @ Quit: wbruce: Read error: 60 (Operation timed out)
[2009/12/09 14:43:12] @ erm_ joined channel #puppet
[2009/12/09 14:44:16] <kjetilho> cwebber: there is an issue for it already: http://projects.reductivelabs.com/issues/1048
[2009/12/09 14:44:41] <cwebber> kjetilho: i just reversed my approach and I am good
[2009/12/09 14:44:59] <kjetilho> cwebber: c'mon, vote anyway!
[2009/12/09 14:50:56] @ Quit: erm__: Read error: 110 (Connection timed out)
[2009/12/09 14:53:04] @ Quit: lak:
[2009/12/09 14:53:28] @ lak joined channel #puppet
[2009/12/09 14:54:19] @ Quit: unxfrek: "Leaving"
[2009/12/09 14:57:32] <dan__t> oh bad-ass, fileserver takes in to consideration --environment
[2009/12/09 14:58:08] @ nakano_ is now known as nakano
[2009/12/09 15:03:21] <dan__t> that's rad.
[2009/12/09 15:06:43] <jb> so separate fileservers for each environment?
[2009/12/09 15:06:51] <jb> does that not happen automatically?
[2009/12/09 15:07:18] <rocket> lak: got a sec for a couple of questions? :)
[2009/12/09 15:07:25] <jb> hey rocket :)
[2009/12/09 15:07:32] <rocket> Hey jb
[2009/12/09 15:07:58] <lak> rocket: i think so :)
[2009/12/09 15:08:08] <dan__t> it *does* happen automagically.
[2009/12/09 15:08:27] <rocket> I am trying to understand features fully. if there are multiple providors that supply subsets of features does puppet use them all .. or only one providor at a time?
[2009/12/09 15:08:29] <dan__t> Puppet finds files and templates in modules in locations based on what I set for that particular environment.
[2009/12/09 15:08:44] <jb> rocket: so andrew has built AIX puppet providers for packages and services, if you are interested..
[2009/12/09 15:08:53] <jb> they aren't in the puppet dist yet, though..
[2009/12/09 15:09:03] <rocket> jb: always interested .. :)
[2009/12/09 15:09:08] <jb> hopefully they wiill be soon (lak, hint hint :)
[2009/12/09 15:09:13] <zombied> So I'm trying to get the /tmp/testfiles directory and all of its contents on the puppetmaster copies over to the same path across all of my puppet clients
[2009/12/09 15:09:18] <zombied> can someone explain what is wrong with this?
[2009/12/09 15:09:21] <jb> and filesets for facter/ruby/puppet
[2009/12/09 15:09:23] <zombied> class voip_accounts {
[2009/12/09 15:09:23] <zombied> file { "/tmp":
[2009/12/09 15:09:23] <zombied> recurse => true,
[2009/12/09 15:09:23] <zombied> ensure => directory,
[2009/12/09 15:09:23] <zombied> owner => "root",
[2009/12/09 15:09:24] <zombied> group => "root",
[2009/12/09 15:09:26] <zombied> mode => 755,
[2009/12/09 15:09:30] <zombied> source => "puppet://dukesrvi01.tc.at.blah.net/tmp/testfiles",
[2009/12/09 15:09:30] <jb> pastie.org
[2009/12/09 15:09:30] <jb> please..
[2009/12/09 15:09:31] <zombied> }
[2009/12/09 15:09:31] <rocket> jb: I am working on a suse/opensuse repo type and providor for zypper
[2009/12/09 15:09:32] <zombied> }
[2009/12/09 15:09:33] <kjetilho> nice thing about providers are that you can just drop them in the right directory and they'll work
[2009/12/09 15:09:43] <lak> jb: yeah, i think they'll be in the next major release
[2009/12/09 15:09:59] <jb> which is that?
[2009/12/09 15:10:03] <lak> rocket: a given package instance can only use one provider, but a given catalog can use as many providers as you want
[2009/12/09 15:10:08] <rocket> jb: trying to figure out how to write the unit tests also but I am not sure how to call just my one set of tests soley...
[2009/12/09 15:10:18] <lak> jb: rowlf. i was hoping it'd be this year, but looks like q1 of next year
[2009/12/09 15:10:29] <kjetilho> zombied: first make sure you understand how to get *one* file across.
[2009/12/09 15:10:30] <lak> rocket: spec spec/unit/path/to/test.rb
[2009/12/09 15:10:39] <lak> rocket: i also recommend autotest
[2009/12/09 15:10:45] <lak> (part of the zentest gem)
[2009/12/09 15:10:50] @ mikerowehl joined channel #puppet
[2009/12/09 15:10:59] <rocket> lak: I was reading about autotest .. but wasnt sure how to set it up .. :p
[2009/12/09 15:11:00] <jb> ah ok.. is that 0.25.2?
[2009/12/09 15:11:21] <lak> rocket: gem install zentest; autotest
[2009/12/09 15:11:21] <lak> roughly :)
[2009/12/09 15:11:29] <lak> jb: no, that's just a bugfix release, no new features
[2009/12/09 15:11:36] <jb> http://projects.reductivelabs.com/issues/2247 would be nice too :)
[2009/12/09 15:11:39] <jb> ahh, ok.
[2009/12/09 15:12:02] <zombied> kjet: I do. I've got the voipaccounts.pp file included in site.pp
[2009/12/09 15:12:08] <lak> jb: is there code for that?
[2009/12/09 15:12:29] <jb> lak: not that I am aware of :/
[2009/12/09 15:12:33] <rocket> hrmm what am I doing wrong with gem ...
[2009/12/09 15:12:35] <rocket> gem install zentest
[2009/12/09 15:12:36] <jb> unless ben has it
[2009/12/09 15:12:36] <rocket> ERROR: could not find gem zentest locally or in a repository
[2009/12/09 15:15:37] @ `properz1l joined channel #puppet
[2009/12/09 15:17:17] <rocket> grr case sensitive gems ... ;p
[2009/12/09 15:17:22] <rocket> ZenTest ftw
[2009/12/09 15:18:08] @ Quit: cwebber:
[2009/12/09 15:19:21] <dan__t> Any way I can subscribe to all resources in a class?
[2009/12/09 15:19:51] <dan__t> Instead of like subscribe => package["name"], file["whatever"], can I do like subscribe => File[] or some such
[2009/12/09 15:20:02] @ greg___ is now known as ghg
[2009/12/09 15:20:10] <dan__t> I have an exec that I want to subscribe to some yumrepo resources.
[2009/12/09 15:20:11] @ blahdeblah1 joined channel #puppet
[2009/12/09 15:20:14] @ Quit: ghg:
[2009/12/09 15:20:24] @ Quit: alfism: "http://opensolaris.com/"
[2009/12/09 15:20:32] @ ghg joined channel #puppet
[2009/12/09 15:21:24] @ Quit: plathrop-away: brown.freenode.net irc.freenode.net
[2009/12/09 15:21:24] @ Quit: Volcane: brown.freenode.net irc.freenode.net
[2009/12/09 15:21:25] @ Quit: hggh: brown.freenode.net irc.freenode.net
[2009/12/09 15:21:25] @ Quit: Hollow: brown.freenode.net irc.freenode.net
[2009/12/09 15:21:26] @ Quit: ewdafa: brown.freenode.net irc.freenode.net
[2009/12/09 15:22:50] <himanshu> how can we call same defintion again and again passing different values?
[2009/12/09 15:23:25] @ Quit: ricky: Client Quit
[2009/12/09 15:24:16] <himanshu> say I have some $paramList = ['x', 'Y', 'Z'] and I want to call definiton ABC(inputParam) for each of the value in paramList. what is the syntax?
[2009/12/09 15:26:17] @ Quit: OMCK: Read error: 54 (Connection reset by peer)
[2009/12/09 15:26:28] <himanshu> ?
[2009/12/09 15:26:34] <zahna> ok, someone refresh my memory, isn't +> valid syntax?
[2009/12/09 15:27:20] <kjetilho> himanshu: abc { $paramList: }
[2009/12/09 15:27:41] <kjetilho> himanshu: (don't use capital letters in define names, it will break)
[2009/12/09 15:27:42] @ Quit: |Mike|: Read error: 60 (Operation timed out)
[2009/12/09 15:27:46] <zahna> like require => blah1, require +> blah2,
[2009/12/09 15:28:11] <kjetilho> zahna: no, only modification in inheriting classes
[2009/12/09 15:28:45] @ Quit: `properzel: Read error: 110 (Connection timed out)
[2009/12/09 15:28:45] @ unxfrek joined channel #puppet
[2009/12/09 15:29:32] <zahna> kjetilho: oh, ok. i saw it yesterday, but couldn't remember where i saw it today
[2009/12/09 15:30:36] <zahna> would multiple "require => ..." statements append to each other?
[2009/12/09 15:31:18] @ |Mike| joined channel #puppet
[2009/12/09 15:31:48] <kjetilho> no
[2009/12/09 15:32:00] <kjetilho> actually I don't know
[2009/12/09 15:32:09] <kjetilho> I think it's a syntax error
[2009/12/09 15:32:17] @ ricky joined channel #puppet
[2009/12/09 15:32:27] <kjetilho> if you do File { require => } and file { "/specific": require => }
[2009/12/09 15:32:40] <kjetilho> the require in specific will replace the default value
[2009/12/09 15:33:03] @ hggh joined channel #puppet
[2009/12/09 15:33:04] @ alfism joined channel #puppet
[2009/12/09 15:33:07] @ Hollow joined channel #puppet
[2009/12/09 15:33:10] @ plathrop-away joined channel #puppet
[2009/12/09 15:33:28] @ ewdafa joined channel #puppet
[2009/12/09 15:33:50] @ Djelibeybi joined channel #puppet
[2009/12/09 15:34:33] <zahna> kjetilho: yeah, i was thinking more like package { "title": require => blah1, require => blah2, }
[2009/12/09 15:35:16] @ OMCK joined channel #puppet
[2009/12/09 15:35:56] <zombied> Is there anyone that can help me troubleshoot why my recursive copy isn't working?
[2009/12/09 15:36:19] @ Quit: blahdeblah: Read error: 113 (No route to host)
[2009/12/09 15:37:01] @ grim_radical joined channel #puppet
[2009/12/09 15:39:35] @ Quit: blahdeblah1: Read error: 145 (Connection timed out)
[2009/12/09 15:43:57] @ mikerowehl_ joined channel #puppet
[2009/12/09 15:45:08] @ zombied left channel #puppet ()
[2009/12/09 15:45:12] @ mikerowehl__ joined channel #puppet
[2009/12/09 15:45:50] @ eric0 joined channel #puppet
[2009/12/09 15:45:55] @ Quit: mikerowehl: Read error: 104 (Connection reset by peer)
[2009/12/09 15:45:56] <KarlHungus> does anyone have a facter recipe for listing disk devices?
[2009/12/09 15:45:56] @ mikerowehl__ is now known as mikerowehl
[2009/12/09 15:47:29] @ lilmatt joined channel #puppet
[2009/12/09 15:47:53] @ zombied joined channel #puppet
[2009/12/09 15:50:58] @ Quit: shug: "Leaving"
[2009/12/09 15:52:27] @ Quit: ghg:
[2009/12/09 15:53:19] <zombied> Ok, so I got a file in /var/lib/puppet/files/tmp/testfiles/ called "testfile1"
[2009/12/09 15:53:56] <zombied> the file /etc/puppet/fileserver.conf has this:
[2009/12/09 15:53:56] <zombied> [files]
[2009/12/09 15:53:56] <zombied> path /var/lib/puppet/files
[2009/12/09 15:53:56] <zombied> allow *
[2009/12/09 15:54:45] <zombied> I have the following in voip_accounts.pp
[2009/12/09 15:54:45] <zombied> file { "/tmp/testfiles/testfile1":
[2009/12/09 15:54:45] <zombied> #recurse => true,
[2009/12/09 15:54:45] <zombied> #ensure => directory,
[2009/12/09 15:54:45] <zombied> #ensure => present,
[2009/12/09 15:54:46] <zombied> owner => "root",
[2009/12/09 15:54:48] <zombied> group => "root",
[2009/12/09 15:54:50] <zombied> mode => 755,
[2009/12/09 15:54:52] <zombied> source => "puppet://dukesrvi01.tc.at.blah.net/files/tmp/testfiles/testfile1"
[2009/12/09 15:54:54] <zombied> }
[2009/12/09 15:55:01] <zombied> that class file is included in site.pp
[2009/12/09 15:55:31] <zombied> Why isn't the file /var/lib/puppet/files/tmp/testfiles/testfile1 being copied over to the client at /tmp/testfiles/testfile1?
[2009/12/09 15:56:49] <eric0> please don't paste big stuff like that into irc, use pastie.org and put your config and error logs from client and server both running in --debug
[2009/12/09 15:57:14] @ ghg joined channel #puppet
[2009/12/09 15:57:23] @ Quit: marcoecc: Remote closed the connection
[2009/12/09 16:01:06] @ Quit: mikerowehl_: Read error: 110 (Connection timed out)
[2009/12/09 16:01:10] @ Quit: zombied: "Leaving."
[2009/12/09 16:07:16] <himanshu> say I have abc { $paramList: }, how can I get value of each element of $paramlist
[2009/12/09 16:07:52] <himanshu> I want sumthing like himanshu: abc { $paramList: myparam => <paramvalue>}
[2009/12/09 16:08:08] <himanshu> how can I reference this paramvalue?
[2009/12/09 16:11:00] @ Quit: Bass10: Read error: 104 (Connection reset by peer)
[2009/12/09 16:17:17] @ Robbie__ joined channel #puppet
[2009/12/09 16:17:55] @ jmeeuwen_ is now known as jmeeuwen
[2009/12/09 16:18:24] @ Quit: Robbie_: Read error: 113 (No route to host)
[2009/12/09 16:20:14] @ giskard joined channel #puppet
[2009/12/09 16:20:35] @ wbruce joined channel #puppet
[2009/12/09 16:23:15] <kjetilho> himanshu: you can't
[2009/12/09 16:23:43] <kjetilho> if I understood your question...
[2009/12/09 16:24:08] <kjetilho> all instances generated by the list will have the same parameters
[2009/12/09 16:24:34] <kjetilho> the only thing different is the name of the instance
[2009/12/09 16:26:08] @ lutter joined channel #puppet
[2009/12/09 16:27:13] @ bitmand joined channel #puppet
[2009/12/09 16:29:26] <himanshu> yes how can I get the name of instance?
[2009/12/09 16:30:01] <bitmand> I am looking at puppet and have read alot if the initial documentation. But I wonder, when changing a file on the master, how do you "initiate" the push of the file to the server? run a command or?
[2009/12/09 16:31:10] @ Quit: lak:
[2009/12/09 16:32:18] <himanshu> Kjetil; how one can get instance name ?
[2009/12/09 16:32:54] <kjetilho> the instance name is in the variable $name
[2009/12/09 16:33:13] <himanshu> I got class name when I tried using $name
[2009/12/09 16:33:20] <kjetilho> that's correct
[2009/12/09 16:33:33] @ Quit: toi: "Ex-Chat"
[2009/12/09 16:33:42] <himanshu> but how can I get instance name?
[2009/12/09 16:33:46] <kjetilho> it's available inside the define definition, or in an expanded template
[2009/12/09 16:35:27] @ `properz1l is now known as `properzel
[2009/12/09 16:38:23] <himanshu> Kjetil: I have PM my use case. can you help me out?
[2009/12/09 16:39:24] @ bitmand left channel #puppet ()
[2009/12/09 16:39:34] <KarlHungus> what should i do to have clients pull in custom facts from (lib|plugins)/facter ?
[2009/12/09 16:40:37] <kjetilho> himanshu: don't PM stuff, I'm not your personal support technician
[2009/12/09 16:41:09] <himanshu> I am sorry
[2009/12/09 16:41:11] <kjetilho> I've already explained how Puppet works. you should be able to fix your define to use $name to generate the correct value
[2009/12/09 16:41:59] <KarlHungus> it i have [puppetd] factsync = true, factpath = $vardir/lib/puppet/facter then i get an error on the client about being unable to mount the 'facts' module in the fileserver
[2009/12/09 16:43:15] @ Volcane joined channel #puppet
[2009/12/09 16:44:47] <KarlHungus> ooooh. i need pluginsync, not factsync! since the facts are in the modules.
[2009/12/09 16:50:37] @ pinko joined channel #puppet
[2009/12/09 16:53:47] @ Quit: mvn072: Remote closed the connection
[2009/12/09 16:54:37] <pinko> hi all -- if anyone could help me i'd appreciate it
[2009/12/09 16:54:37] <pinko> i'm somehow unable to get tidy to work (puppet 0.24.7) -- here is what I'm specifying, right inside a node definition in nodes.pp:
[2009/12/09 16:54:52] <pinko> tidy { tidy_tmp:
[2009/12/09 16:54:52] <pinko> path => "/tmp/",
[2009/12/09 16:54:53] <pinko> age => "7d",
[2009/12/09 16:54:53] <pinko> backup => false,
[2009/12/09 16:54:53] <pinko> matches => [ "jna*.tmp" ],
[2009/12/09 16:54:53] <pinko> }
[2009/12/09 16:55:25] <pinko> is there anything obviously wrong with that? i'm seeing no errors in the logs, but no files are being tidied, and there's lots that match
[2009/12/09 16:56:13] <kjetilho> pinko: please use pastie.org in the future
[2009/12/09 16:56:21] <pinko> (i'm finding matching files via: "find /tmp -maxdepth 1 -name \*.tmp -atime +7 -print")
[2009/12/09 16:56:25] <pinko> ah, ok -- will do
[2009/12/09 16:57:06] <kjetilho> I haven't used tidy -- hav eyou checked the docs if it wants a regexp or a glob?
[2009/12/09 16:57:24] <pinko> yeah, it's quite clear it wants a shell glob (even has examples confirming it)
[2009/12/09 16:58:08] <pinko> i've tried the following in turn, with no luck: removing the matches line altogether, removing the age line altogether, replacing the matches list with a simple string, and removing path and using "/tmp" as the name
[2009/12/09 16:58:54] <pinko> it's like tidy is one big noop -- but presumably i'm doing something wrong
[2009/12/09 17:02:38] @ Mick27 joined channel #puppet
[2009/12/09 17:04:37] <kjetilho> so age is using atime, not ctime?
[2009/12/09 17:04:59] <pinko> by default, according to the docs -- but my find also uses atime
[2009/12/09 17:05:20] <pinko> and i've also tried changing that to mtime (in puppet) -- no dice
[2009/12/09 17:05:22] @ poison joined channel #puppet
[2009/12/09 17:07:54] @ Quit: unxfrek: "Leaving"
[2009/12/09 17:08:28] @ p3rror joined channel #puppet
[2009/12/09 17:10:51] @ ckdake left channel #puppet ()
[2009/12/09 17:13:43] <dan__t> How about IP address aliases? There's no resource for that, is there'
[2009/12/09 17:14:57] <pinko> the host type has a "alias" attribute -- is that not what you want?
[2009/12/09 17:15:18] <pinko> http://reductivelabs.com/trac/puppet/wiki/TypeReference#host
[2009/12/09 17:15:32] <dan__t> I was hoping to not define a "host". I was looking at that.
[2009/12/09 17:15:39] <KarlHungus> ok. wtf just happened
[2009/12/09 17:15:40] <KarlHungus> err: undefined local variable or method `splay' for #<Puppet::Network::Client::Master:0x2aedafda39b0>
[2009/12/09 17:15:54] <KarlHungus> 0.24.8 on client and master
[2009/12/09 17:16:17] <dan__t> Regardless, I think that 'alias' is particular to that resource, not any parameters that apply to the node.
[2009/12/09 17:16:35] <dan__t> No. Lies. Its strictly for /etc/hosts management.
[2009/12/09 17:19:22] @ gpled joined channel #puppet
[2009/12/09 17:20:28] <gpled> what chmod and chown do you set your /etc/puppet to?
[2009/12/09 17:21:23] @ Quit: jimmij: Remote closed the connection
[2009/12/09 17:24:39] @ Quit: whaley: Remote closed the connection
[2009/12/09 17:25:55] @ Quit: kolla: Remote closed the connection
[2009/12/09 17:26:04] <dan__t> 644
[2009/12/09 17:27:19] @ jcape joined channel #puppet
[2009/12/09 17:27:56] @ jcape left channel #puppet ()
[2009/12/09 17:29:07] @ Quit: nevyn: Read error: 145 (Connection timed out)
[2009/12/09 17:29:15] @ Quit: ezmobius: Remote closed the connection
[2009/12/09 17:29:20] @ Quit: Eghie: Client Quit
[2009/12/09 17:34:38] @ Quit: Robbie__: Read error: 113 (No route to host)
[2009/12/09 17:36:59] @ nevyn joined channel #puppet
[2009/12/09 17:37:33] <pinko> i submitted my issue as a bug report: http://projects.reductivelabs.com/issues/2910 -- any feedback is welcome
[2009/12/09 17:38:48] <gpled> are there any disadvantages to? chown -R root:puppet /etc/puppet
[2009/12/09 17:43:57] @ joe-mac1 joined channel #puppet
[2009/12/09 17:44:29] @ Quit: wbruce: "The computer fell asleep"
[2009/12/09 17:44:49] @ wbruce joined channel #puppet
[2009/12/09 17:44:53] @ joe-mac left channel #puppet ()
[2009/12/09 17:45:35] <eric0> gpled if you start to run under passenger things will need to be r/w for the user apache runs as
[2009/12/09 17:46:00] <eric0> on the server, that is. on your clients, what you have is the normal state of things
[2009/12/09 17:48:35] @ lak joined channel #puppet
[2009/12/09 17:51:16] @ cwebber joined channel #puppet
[2009/12/09 17:54:38] @ Quit: wbruce: Read error: 148 (No route to host)
[2009/12/09 17:56:43] @ rraphink joined channel #puppet
[2009/12/09 17:56:56] @ BarnacleBob joined channel #puppet
[2009/12/09 17:57:03] <BarnacleBob> does anyone run foreman under mod_proxy in apache?
[2009/12/09 17:57:08] @ Quit: raphink: Read error: 113 (No route to host)
[2009/12/09 17:57:15] <BarnacleBob> need to know what to set to rewrite all the urls to a sub directory instead of the root
[2009/12/09 17:59:16] @ Quit: joe-mac1: "Leaving."
[2009/12/09 18:03:34] @ Quit: kaptk2: "Leaving."
[2009/12/09 18:04:56] @ Quit: themurph: Read error: 110 (Connection timed out)
[2009/12/09 18:05:36] @ Bevo joined channel #puppet
[2009/12/09 18:05:56] <Bevo> hi all, when using stored configs queueing in 0.25.x
[2009/12/09 18:06:17] <Bevo> do you need to use storedconfigs =true as well as async_storedconfigs?
[2009/12/09 18:08:54] @ Quit: [0x100]: Remote closed the connection
[2009/12/09 18:23:24] @ wbruce joined channel #puppet
[2009/12/09 18:27:25] @ Quit: crdant: "Leaving."
[2009/12/09 18:28:41] @ Quit: ghg:
[2009/12/09 18:29:21] @ Quit: gpled: Remote closed the connection
[2009/12/09 18:30:10] @ toky joined channel #puppet
[2009/12/09 18:32:02] <Bevo> jamestur1bull, hey are you around?
[2009/12/09 18:34:00] @ Quit: exn: "see you later"
[2009/12/09 18:35:14] @ Quit: giskard: Remote closed the connection
[2009/12/09 18:51:50] @ Quit: bobbyz_: Success
[2009/12/09 18:54:26] @ Quit: tmz: Read error: 113 (No route to host)
[2009/12/09 18:58:03] @ tmz joined channel #puppet
[2009/12/09 18:59:04] <himanshu> is there someway to ensure Package is not present?
[2009/12/09 18:59:19] @ Quit: Mick27: "This computer has gone to sleep"
[2009/12/09 19:00:25] @ bug joined channel #puppet
[2009/12/09 19:00:51] <eric0> himanshu: ensure => absent ...
[2009/12/09 19:01:44] <himanshu> ok great
[2009/12/09 19:05:15] <himanshu> is is possible to give repo name in package {} install option?
[2009/12/09 19:06:30] <himanshu> I have multiple repo but I want to install customized package from some particular repo
[2009/12/09 19:10:26] <Djelibeybi> himanshu: no. Just make sure that package is only in one repo.
[2009/12/09 19:11:29] @ Quit: wbruce: "The computer fell asleep"
[2009/12/09 19:11:48] @ wbruce joined channel #puppet
[2009/12/09 19:11:49] <eric0> if you're using yum provider you can use the yum-priorities plugin to rank the different repos
[2009/12/09 19:11:50] <himanshu> Actually, in my local repo, I have latest sun JDK but java package is there in default Cent0S distro also which is openjdk and I want to install sun JDK only
[2009/12/09 19:12:10] <kjetilho> himanshu: {enable,disable}repo is requested, but won't be in 0.25.2
[2009/12/09 19:12:46] <kjetilho> you can specify specific version number
[2009/12/09 19:12:53] <himanshu> I am using 0.24.8
[2009/12/09 19:13:07] <himanshu> how can we specify version number?
[2009/12/09 19:13:19] <himanshu> If that is possible, it will be great
[2009/12/09 19:13:34] <kjetilho> specify it as the package name
[2009/12/09 19:13:35] <himanshu> ohk
[2009/12/09 19:13:36] <kjetilho> same syntax as in yum
[2009/12/09 19:13:42] <himanshu> thanks
[2009/12/09 19:13:46] <Djelibeybi> himanshu: they would be different package names, so you can have both anyway
[2009/12/09 19:14:12] <Djelibeybi> himanshu: you have to specify a specific package name, so just don't refer to the openjdk ones
[2009/12/09 19:14:27] <himanshu> ohk
[2009/12/09 19:19:02] <himanshu> Actually, I want to installjre-6u17-linux-amd64.rpm but when I do yum install jre it works but if I specify 'yum install jre-6u17' it says, No package jre-6u17 avaialable
[2009/12/09 19:20:15] <Djelibeybi> himanshu: that's because "jre" is the name of the RPM and 6u17 is the version
[2009/12/09 19:20:36] <himanshu> so how can I specify version number also?
[2009/12/09 19:20:42] @ Quit: wbruce: Read error: 145 (Connection timed out)
[2009/12/09 19:22:36] <whack> you probably need to specify '6u17-linux'. When you do' yum install jre' it will tell you the version
[2009/12/09 19:24:00] @ Quit: felipe`: Client Quit
[2009/12/09 19:24:10] <himanshu> is there is any option while Package installation in puppet to specify version also?
[2009/12/09 19:25:07] <himanshu> package {"java": ensure=> installed, version =>"6u17", } is that valid entry?
[2009/12/09 19:25:42] @ Quit: Chiku: "Quitte"
[2009/12/09 19:27:12] <whack> himanshu: ensure => "version"
[2009/12/09 19:27:16] <whack> ie; ensure => "1.234"
[2009/12/09 19:27:35] <himanshu> thanks thats what I need
[2009/12/09 19:30:55] @ PsychoSid joined channel #puppet
[2009/12/09 19:36:14] @ M- joined channel #puppet
[2009/12/09 19:39:32] @ Quit: jab_doa: "Verlassend"
[2009/12/09 19:45:14] @ Quit: Djelibeybi: "Leaving"
[2009/12/09 19:46:48] @ Quit: cwebber:
[2009/12/09 19:52:39] @ qwebirc53078 joined channel #puppet
[2009/12/09 19:53:42] @ Quit: qwebirc53078: Client Quit
[2009/12/09 19:55:39] @ Quit: p3rror: "أستودعكم الله"
[2009/12/09 20:02:19] @ ezmobius joined channel #puppet
[2009/12/09 20:05:06] @ felipe` joined channel #puppet
[2009/12/09 20:07:06] @ Quit: ezmobius: Remote closed the connection
[2009/12/09 20:09:37] @ jcape joined channel #puppet
[2009/12/09 20:09:49] @ jcape left channel #puppet ()
[2009/12/09 20:13:26] @ Quit: bug: Read error: 110 (Connection timed out)
[2009/12/09 20:13:46] @ qwebirc82559 joined channel #puppet
[2009/12/09 20:14:18] <qwebirc82559> How useful is it for a new user like myself to come to the IRC channel and report poor performance of a particular version of puppet?
[2009/12/09 20:15:46] @ Quit: qwebirc82559: Client Quit
[2009/12/09 20:27:58] <ohadlevy> BarnacleBob: I use passenger, but if you want to use mongrel instead, just search for mongrel rails etc
[2009/12/09 20:38:34] @ joe-mac joined channel #puppet
[2009/12/09 20:41:35] @ raphink joined channel #puppet
[2009/12/09 20:41:54] @ Quit: rraphink: Read error: 113 (No route to host)
[2009/12/09 20:42:35] @ Quit: toky: "Lost terminal"
[2009/12/09 20:45:28] @ Quit: rmiller4pi8: Read error: 110 (Connection timed out)
[2009/12/09 20:53:05] @ whaley joined channel #puppet
[2009/12/09 20:54:41] @ estevon joined channel #puppet
[2009/12/09 20:56:10] @ Quit: lak:
[2009/12/09 20:57:14] @ pinko left channel #puppet ()
[2009/12/09 21:03:55] <hacim> has anyone seen this with 0.25.1: puppetd[14770]: Could not retrieve catalog from remote server: Error 400 on SERVER: Too many connections
[2009/12/09 21:04:15] <hacim> i'm running a nginx/mongrel setup, have not seen this one before
[2009/12/09 21:05:24] <ohadlevy> hacim: i know of a problem with rails 2.1 but I'm not sure if its the same error message.
[2009/12/09 21:06:36] <hacim> ohadlevy: i am running rails 2.1
[2009/12/09 21:11:56] <estevon> hello good people. as a happy puppet user, i wanted to easily direct others to easily download from the puppet home page, but instead of seeing something like this:
[2009/12/09 21:11:56] <estevon> http://reductivelabs.com/trac/puppet/wiki/DownloadingPuppet from the Download image menu item at http://reductivelabs.com/, this think gives me an rss feed option only:
[2009/12/09 21:11:56] <estevon> http://reductivelabs.com/download/
[2009/12/09 21:11:56] <estevon> maybe i'm quibbling, but i'm wondering if there is some theory behind this scheme?
[2009/12/09 21:14:17] <estevon> nevermind, page seems to load an rss feed every once in a while, buth then a contact form with download button
[2009/12/09 21:17:13] @ alexine_dsouza joined channel #puppet
[2009/12/09 21:17:39] <gepetto_> ::trac:: Recipes/ModuleSSHAuth edited @ http://reductivelabs.com/trac/puppet/wiki/Recipes/ModuleSSHAuth?version=4
[2009/12/09 21:17:39] <gepetto_> ::trac:: auth.pp attached to Recipes/ModuleSSHAuth @ http://reductivelabs.com/trac/puppet/attachment/wiki/Recipes/ModuleSSHAuth/auth.pp
[2009/12/09 21:22:36] @ Quit: WALoeIII: Read error: 113 (No route to host)
[2009/12/09 21:24:41] @ Quit: labrown: "Leaving"
[2009/12/09 21:36:25] <BarnacleBob> ohadlevy, i figured out how to do it with apache mod_rewrite doing a proxy. working good
[2009/12/09 21:36:45] <BarnacleBob> ohadlevy, i'll post it to the wiki if your interested
[2009/12/09 21:36:55] <joe-mac> wikis and wiki posting are good
[2009/12/09 21:36:58] @ Quit: BarnacleBob: "This computer has gone to sleep"
[2009/12/09 21:36:58] <ohadlevy> BarnacleBob: yes :)
[2009/12/09 21:37:26] @ Quit: mikerowehl:
[2009/12/09 21:45:46] @ Quit: PsychoSid: "Leaving."
[2009/12/09 21:51:29] @ jcape joined channel #puppet
[2009/12/09 21:52:01] @ Quit: jcape: Remote closed the connection
[2009/12/09 21:53:50] <jamestur1bull> Bevo: am now
[2009/12/09 21:54:00] <jamestur1bull> duritong: pon
[2009/12/09 21:54:01] <jamestur1bull> g
[2009/12/09 21:54:16] <Bevo> jamestur1bull, heh, who handles typos on the wiki these days?
[2009/12/09 21:54:31] <jamestur1bull> Bevo: anyone who signs up? :)
[2009/12/09 21:54:56] <Bevo> jamestur1bull, hehe i must of missed when the wiki edit pages was removed =)
[2009/12/09 21:55:40] <jamestur1bull> Bevo: you can't edit?
[2009/12/09 21:56:12] <Bevo> jamestur1bull, http://reductivelabs.com/trac/puppet/wiki/UsingStoredConfiguration logged in and i cant edit it
[2009/12/09 21:56:52] <jamestur1bull> Bevo: what's your user name?
[2009/12/09 21:57:02] <Bevo> jamestur1bull, mrproper
[2009/12/09 21:58:04] <jamestur1bull> Bevo: weird you have wiki_modify permissions
[2009/12/09 22:00:22] <Bevo> jamestur1bull, there should be an edit button off http://reductivelabs.com/trac/puppet/wiki/UsingStoredConfiguration right?
[2009/12/09 22:01:30] <jamestur1bull> Bevo: right at the botton you shiuld see "edit this page"
[2009/12/09 22:02:11] @ Quit: estevon: "Leaving."
[2009/12/09 22:02:30] <Bevo> jamestur1bull, uggh caching, forced cache reload now has it, i did have to verify my email
[2009/12/09 22:03:57] <Bevo> jamestur1bull, but after verifying my email and a reload still wasnt there
[2009/12/09 22:05:14] <jamestur1bull> Bevo: but all good now?
[2009/12/09 22:05:42] <Bevo> jamestur1bull, aye, sorry for wasting your time =) btw what site did you want your book review on?
[2009/12/09 22:06:42] <jamestur1bull> Bevo: Amazon is good
[2009/12/09 22:07:01] <Bevo> jamestur1bull, np i've been meaning to get around to it
[2009/12/09 22:09:01] <gepetto_> ::trac:: Using Stored Configuration edited @ http://reductivelabs.com/trac/puppet/wiki/UsingStoredConfiguration?version=46
[2009/12/09 22:14:11] @ Quit: whaley: Remote closed the connection
[2009/12/09 22:19:27] @ jmeeuwen_ joined channel #puppet
[2009/12/09 22:19:34] @ Quit: erm_: brown.freenode.net irc.freenode.net
[2009/12/09 22:19:35] @ Quit: grim_radical: brown.freenode.net irc.freenode.net
[2009/12/09 22:19:35] @ Quit: nexx|: brown.freenode.net irc.freenode.net
[2009/12/09 22:19:36] @ Quit: lazzurs: brown.freenode.net irc.freenode.net
[2009/12/09 22:19:36] @ Quit: alban2: brown.freenode.net irc.freenode.net
[2009/12/09 22:19:37] @ Quit: taihen: brown.freenode.net irc.freenode.net
[2009/12/09 22:19:38] @ Quit: markl_: brown.freenode.net irc.freenode.net
[2009/12/09 22:19:38] @ Quit: int: brown.freenode.net irc.freenode.net
[2009/12/09 22:19:39] @ Quit: jmeeuwen: brown.freenode.net irc.freenode.net
[2009/12/09 22:19:39] @ Quit: LapTop006: brown.freenode.net irc.freenode.net
[2009/12/09 22:19:40] @ Quit: jamestur1bull: brown.freenode.net irc.freenode.net
[2009/12/09 22:19:40] @ Quit: tripoux: brown.freenode.net irc.freenode.net
[2009/12/09 22:19:41] @ Quit: flakrat: brown.freenode.net irc.freenode.net
[2009/12/09 22:19:55] @ jmeeuwen_ is now known as jmeeuwen
[2009/12/09 22:20:35] @ Quit: jmeeuwen: Killed by douglas.freenode.net (Nick collision)
[2009/12/09 22:20:42] @ grim_radical joined channel #puppet
[2009/12/09 22:20:42] @ erm_ joined channel #puppet
[2009/12/09 22:20:42] @ nexx| joined channel #puppet
[2009/12/09 22:20:43] @ lazzurs joined channel #puppet
[2009/12/09 22:20:43] @ alban2 joined channel #puppet
[2009/12/09 22:20:43] @ taihen joined channel #puppet
[2009/12/09 22:20:43] @ flakrat joined channel #puppet
[2009/12/09 22:20:43] @ jmeeuwen joined channel #puppet
[2009/12/09 22:20:43] @ jamestur1bull joined channel #puppet
[2009/12/09 22:20:43] @ markl_ joined channel #puppet
[2009/12/09 22:20:43] @ LapTop006 joined channel #puppet
[2009/12/09 22:20:43] @ tripoux joined channel #puppet
[2009/12/09 22:20:43] @ int joined channel #puppet
[2009/12/09 22:20:46] @ Quit: jmeeuwen: Success
[2009/12/09 22:20:46] @ Quit: LapTop006: Success
[2009/12/09 22:20:48] @ LapTop006 joined channel #puppet
[2009/12/09 22:20:51] @ Quit: lazzurs: Broken pipe
[2009/12/09 22:21:02] @ erm__ joined channel #puppet
[2009/12/09 22:21:08] @ lazzurs joined channel #puppet
[2009/12/09 22:21:08] @ jmeeuwen joined channel #puppet
[2009/12/09 22:22:03] @ Quit: flakrat: SendQ exceeded
[2009/12/09 22:22:51] @ flakrat joined channel #puppet
[2009/12/09 22:25:01] @ cwebber joined channel #puppet
[2009/12/09 22:26:57] <Bevo> can anyone help me work this one out, as soon as i turn on pluginsync =true i get the following err: /File[/var/lib/puppet/lib]: Failed to retrieve current state of resource: Could not retrieve information from source(s) puppet://puppet.domain.tld/plugins
[2009/12/09 22:30:48] <Bevo> i have: [plugins]\n path /path/to/custom/plugins\n allow *.domain.tld\n allow 127.0.0.1 in my /etc/puppet/fileserver.conf (replace \n with new line)
[2009/12/09 22:34:32] @ Quit: erm_: Connection timed out
[2009/12/09 22:37:59] @ mrbucket_ left channel #puppet ()
[2009/12/09 22:54:46] @ crdant joined channel #puppet
[2009/12/09 23:01:51] @ themurph joined channel #puppet
[2009/12/09 23:01:53] @ bearnard joined channel #puppet
[2009/12/09 23:03:44] @ Djelibeybi joined channel #puppet
[2009/12/09 23:04:55] @ lilmatt_ joined channel #puppet
[2009/12/09 23:20:04] @ Quit: lilmatt: Read error: 113 (No route to host)
[2009/12/09 23:23:23] @ unxfrek joined channel #puppet
[2009/12/09 23:24:07] @ PaulWay[w] joined channel #puppet
[2009/12/09 23:25:58] @ Quit: lilmatt_: Client Quit
[2009/12/09 23:36:47] @ Quit: unxfrek: "Leaving"
[2009/12/09 23:41:54] @ TelmoX joined channel #puppet
[2009/12/09 23:43:16] @ Quit: jaredrhine: Read error: 60 (Operation timed out)
[2009/12/09 23:43:26] @ Quit: TelmoX: Client Quit
[2009/12/09 23:43:37] <Bevo> anyone around who knows about custom plugins?
[2009/12/09 23:45:01] @ jaredrhine joined channel #puppet

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