Thursday, 2009-05-28

[2009/05/28 00:08:29] @ Log started by gepetto
[2009/05/28 00:08:29] @ Quit: d3vilb0x:
[2009/05/28 00:20:07] @ joe-mac1 joined channel #puppet
[2009/05/28 00:20:16] <joe-mac1> does a subclass automatically include its parent?
[2009/05/28 00:26:07] @ andrewcshafer joined channel #puppet
[2009/05/28 00:41:04] @ raphink joined channel #puppet
[2009/05/28 00:42:39] <tessier> joe-mac1: Yes. That's the point of a subclass I would think.
[2009/05/28 00:42:50] <joe-mac1> yea, just making sure
[2009/05/28 01:10:13] @ ceren_ joined channel #puppet
[2009/05/28 01:18:14] @ Quit: ceren_:
[2009/05/28 01:18:18] <joe-mac1> zzzzzzzzzzzzzzzzzz
[2009/05/28 01:18:20] @ joe-mac1 left channel #puppet ()
[2009/05/28 01:31:46] <gepetto> ::trac:: Documentation Start edited by jamtur01 @ http://reductivelabs.com/trac/puppet/wiki/DocumentationStart (by james@lovedthanlost.net)
[2009/05/28 01:33:09] @ ceren joined channel #puppet
[2009/05/28 01:36:47] @ fujin joined channel #puppet
[2009/05/28 01:41:53] <gepetto> ::trac:: Puppet Books edited by jamtur01 @ http://reductivelabs.com/trac/puppet/wiki/PuppetBooks (by james@lovedthanlost.net)
[2009/05/28 01:42:26] @ saurabhverma joined channel #puppet
[2009/05/28 01:42:57] @ Quit: saurabhverma: Client Quit
[2009/05/28 01:43:02] @ saurabhverma joined channel #puppet
[2009/05/28 01:43:37] @ Quit: saurabhverma: Client Quit
[2009/05/28 01:43:40] @ tuf joined channel #puppet
[2009/05/28 01:44:07] @ saurabhverma joined channel #puppet
[2009/05/28 02:01:11] @ edwardam joined channel #puppet
[2009/05/28 02:09:15] @ DavidS joined channel #puppet
[2009/05/28 02:09:42] @ Quit: andrewcshafer:
[2009/05/28 02:10:56] @ ohadlevy joined channel #puppet
[2009/05/28 02:11:25] <ohadlevy> what should I do if I want to extend an array within a define block? i always have the problem of variable scope
[2009/05/28 02:11:30] @ DavidS1 joined channel #puppet
[2009/05/28 02:11:44] @ Quit: DavidS: Nick collision from services.
[2009/05/28 02:11:49] @ DavidS1 is now known as DavidS
[2009/05/28 02:12:20] @ pleemans joined channel #puppet
[2009/05/28 02:14:09] <ohadlevy> for example something like :http://pastie.org/492341
[2009/05/28 02:24:34] @ mattock joined channel #puppet
[2009/05/28 02:30:47] @ Quit: edwardam: Remote closed the connection
[2009/05/28 02:40:18] @ Quit: ceren:
[2009/05/28 02:41:26] @ ceren_ joined channel #puppet
[2009/05/28 02:43:12] @ tim|macbook joined channel #puppet
[2009/05/28 02:44:31] @ Quit: DavidS: "Leaving."
[2009/05/28 02:47:02] @ Quit: ceren_:
[2009/05/28 02:54:09] @ aymerick joined channel #puppet
[2009/05/28 02:58:40] @ edwardam joined channel #puppet
[2009/05/28 02:59:55] @ Quit: raphink: Read error: 104 (Connection reset by peer)
[2009/05/28 03:02:32] @ raphink joined channel #puppet
[2009/05/28 03:02:44] <FiXion> Volcane: did you like my search idea for puppetview?
[2009/05/28 03:03:07] @ Quit: nigelk:
[2009/05/28 03:07:23] <mattock> Hi, is anyone running Puppet from EPEL on CentOS5? We're having strange connection issues. Software versions are here: http://pastie.org/492358
[2009/05/28 03:08:31] @ Quit: pleemans: Read error: 110 (Connection timed out)
[2009/05/28 03:08:32] @ MarlondB joined channel #puppet
[2009/05/28 03:08:59] <FiXion> mattock: I run the exact same on our CentOS5 - they work perfectly here
[2009/05/28 03:09:19] @ Quit: MarlondB: Client Quit
[2009/05/28 03:14:06] @ Quit: oschad: Remote closed the connection
[2009/05/28 03:25:23] <mattock> FiXion... ok
[2009/05/28 03:25:56] <mattock> the problem is that connections to puppetmaster time out
[2009/05/28 03:26:15] <mattock> even though SSH and everything works like a charm
[2009/05/28 03:26:26] <FiXion> mattock: tcpdump to a file and look at it with wireshark
[2009/05/28 03:26:45] <FiXion> if the package are seen on the wire - it's not your clients fault
[2009/05/28 03:27:08] <mattock> I did that actually... packets do get to the puppetmaster
[2009/05/28 03:27:42] <mattock> 90% of the time the connection is just fine, but sometimes (on several puppet clients) the connections just fail
[2009/05/28 03:27:50] <mattock> then they start working
[2009/05/28 03:29:10] <FiXion> mattock: then have a look at your master instead
[2009/05/28 03:29:17] <FiXion> or a switch in between
[2009/05/28 03:29:23] * FiXion hates network problems :)
[2009/05/28 03:29:35] <FiXion> Volcane: ping
[2009/05/28 03:29:52] @ Innocenti joined channel #puppet
[2009/05/28 03:29:52] <mattock> fixion, thanks, I'll do that
[2009/05/28 03:35:06] @ tim|macbook_ joined channel #puppet
[2009/05/28 03:41:53] @ Welsh_Dwarf joined channel #puppet
[2009/05/28 03:42:20] @ HarryCalahan joined channel #puppet
[2009/05/28 03:45:41] @ oschad joined channel #puppet
[2009/05/28 03:49:22] @ Quit: Welsh_Dwarf: Remote closed the connection
[2009/05/28 03:50:37] @ omry joined channel #puppet
[2009/05/28 03:53:30] @ Quit: tim|macbook: Read error: 110 (Connection timed out)
[2009/05/28 03:53:39] @ Quit: werner__: "bolt het af"
[2009/05/28 03:57:16] @ ceren_ joined channel #puppet
[2009/05/28 03:59:46] @ Welsh_Dwarf joined channel #puppet
[2009/05/28 04:02:09] <Volcane> lo
[2009/05/28 04:03:53] @ francois joined channel #puppet
[2009/05/28 04:05:08] @ allesmueller2 joined channel #puppet
[2009/05/28 04:08:26] <allesmueller2> hi, when loading custom fact I get "err: undefined local variable or method `splay` for #<Puppet::Network::Client::Master:0x2aaaab4d87c8>", when running without custom facts it runs without problems ... otherwise when testing the facts only with facter it works
[2009/05/28 04:08:57] <allesmueller2> puppet version 0.24.8-1.el5.1 from EPEL
[2009/05/28 04:09:39] <allesmueller2> anyone a glue how I can tackle this problem?
[2009/05/28 04:11:41] @ mfournier joined channel #puppet
[2009/05/28 04:13:19] @ zeroXten joined channel #puppet
[2009/05/28 04:15:22] @ briandquinn joined channel #puppet
[2009/05/28 04:16:56] @ Quit: Innocenti: Read error: 113 (No route to host)
[2009/05/28 04:20:25] @ fbe joined channel #puppet
[2009/05/28 04:24:26] <ssm> allesmueller2: that's from the puppetd?
[2009/05/28 04:25:18] <allesmueller2> yes, when running manually
[2009/05/28 04:25:41] <ssm> is this a freshly installed server, or a server which has had other versions of puppet installed?
[2009/05/28 04:25:53] <allesmueller2> this is fresh installed
[2009/05/28 04:26:19] <allesmueller2> I could track it a little bit:
[2009/05/28 04:26:43] @ Quit: oschad: Remote closed the connection
[2009/05/28 04:26:55] <allesmueller2> my custom fact contains an include, when commenting this the failure above is gone
[2009/05/28 04:27:12] <allesmueller2> of course my fact doesn't work anymore
[2009/05/28 04:27:39] <ssm> splay is defined in /usr/lib/ruby/1.8/puppet/network/client/master.rb on my (debian/ubuntu) puppet install of 0.24.8-1
[2009/05/28 04:27:40] <allesmueller2> sorry not an include, but require
[2009/05/28 04:28:19] <allesmueller2> yes but why does my custom fact interfere with this?
[2009/05/28 04:28:39] @ poison joined channel #puppet
[2009/05/28 04:28:42] <ssm> strange...
[2009/05/28 04:29:17] <ssm> could you pastebin the fact somewhere?
[2009/05/28 04:29:44] <allesmueller2> I've commented everything but the require, and the error is still there ...
[2009/05/28 04:32:35] @ nakano_ is now known as nakano
[2009/05/28 04:33:00] <allesmueller2> ssm pastebin.com/d741216d
[2009/05/28 04:33:27] <nico> [solarisfiler2:~] puppetd --version
[2009/05/28 04:33:27] <nico> 0.23.2
[2009/05/28 04:33:33] <nico> ho, it's the upgrade time
[2009/05/28 04:34:07] <ssm> allesmueller2: you mean http://pastebin.com/d7421216d ?
[2009/05/28 04:34:18] <allesmueller2> ssm, and http://pastebin.com/m7db891e8
[2009/05/28 04:34:30] <allesmueller2> yes, sorry
[2009/05/28 04:37:01] <allesmueller2> ssm, in the first one you can see the require commented, I've also tried it without that path expansion thing - allways the same error
[2009/05/28 04:37:01] <ssm> nico: indeed :)
[2009/05/28 04:37:50] <Volcane> zeroXten: you were looking for me?
[2009/05/28 04:37:58] @ MattyM joined channel #puppet
[2009/05/28 04:38:28] <ssm> allesmueller2: I guess I would try to make a mininal fact to reproduce the error, then post it as an issue in the puppet BTS. I'm not sure where the problem is.
[2009/05/28 04:39:03] <allesmueller2> ssm, thank you anyway
[2009/05/28 04:39:50] @ Quit: tim|macbook_: Read error: 60 (Operation timed out)
[2009/05/28 04:43:24] @ tim|macbook joined channel #puppet
[2009/05/28 04:46:50] @ Quit: tim|macbook: Read error: 104 (Connection reset by peer)
[2009/05/28 04:47:53] @ oschad joined channel #puppet
[2009/05/28 04:52:10] @ Quit: ceren_:
[2009/05/28 04:52:33] <zeroXten> Volcane: me? when?
[2009/05/28 04:53:04] @ ceren joined channel #puppet
[2009/05/28 04:53:14] @ Quit: penthief: "Leaving"
[2009/05/28 04:53:50] <Volcane> oh, no it wasnt you, sorry :)
[2009/05/28 04:54:00] @ tim|macbook joined channel #puppet
[2009/05/28 05:02:10] @ MarlondB joined channel #puppet
[2009/05/28 05:02:15] @ Quit: MarlondB: Remote closed the connection
[2009/05/28 05:04:05] @ Quit: garin_: Remote closed the connection
[2009/05/28 05:08:37] @ mib_6cy7t2 joined channel #puppet
[2009/05/28 05:09:25] <mib_6cy7t2> Has anyone installed a Joomla extension (component, module, etc) using puppet?
[2009/05/28 05:10:17] <mib_6cy7t2> I've googled all over the place and Joomla only seems to have a web interface for the installation, not much use if you're trying to automate it.
[2009/05/28 05:11:13] @ pvenkata joined channel #puppet
[2009/05/28 05:12:26] <mib_6cy7t2> How about automating a process that typically requires a web interface. Joomla is written in PHP so I was hoping to run it from a command line but can't find the right extension-installation files.
[2009/05/28 05:13:43] <HarryCalahan> mib_6cy7t2: automating web processes can be done with twig scripts. but its out of puppets scope
[2009/05/28 05:14:47] @ mib_6cy7t3 joined channel #puppet
[2009/05/28 05:15:00] @ Innocenti joined channel #puppet
[2009/05/28 05:15:17] <SyTonnerre> mib_6cy7t3, is that your password you entered as nick?
[2009/05/28 05:15:34] @ Quit: mib_6cy7t2: "http://www.mibbit.com ajax IRC Client"
[2009/05/28 05:15:49] <mib_6cy7t3> I don't understand your question.
[2009/05/28 05:16:05] <mib_6cy7t3> I didn't enter a password.
[2009/05/28 05:16:11] <SyTonnerre> mib_6cy7t3, it seems to me that you entered your password in the nick name field ;)
[2009/05/28 05:16:29] <mib_6cy7t3> Oh, I see - know it was just the default.
[2009/05/28 05:16:50] <mib_6cy7t3> I haven't used this before so I just followed my nose.
[2009/05/28 05:17:27] <SyTonnerre> In fact I was just making a joke about your nick which looks partially random
[2009/05/28 05:17:40] @ Thorhs joined channel #puppet
[2009/05/28 05:17:58] <mib_6cy7t3> I'm kind of liking it :-|
[2009/05/28 05:18:17] <SyTonnerre> mib_6cy7t3, just keep it, no worries ;)
[2009/05/28 05:18:30] <mib_6cy7t3> I was actually timed out from a previous attempt, so I'll ask my question again. Anyone automated anything with Joomla? I have a bunch of servers I want to keep sync'd.
[2009/05/28 05:18:42] <HarryCalahan> 11:13 < HarryCalahan> mib_6cy7t2: automating web processes can be done with twig scripts. but its out of puppets scope
[2009/05/28 05:19:01] <HarryCalahan> and very error prone
[2009/05/28 05:19:43] <mib_6cy7t3> Something to look at though I guess. I'm getting know where with Joomla itself. I would have hoped they'd give something out on the command-line.
[2009/05/28 05:20:09] @ Quit: poison: Remote closed the connection
[2009/05/28 05:20:25] <HarryCalahan> mib_6cy7t3: maybee joomla extensions land in a specific directory? then you could try to just copy them there? But most likely there are also some database entries.
[2009/05/28 05:21:17] @ poison joined channel #puppet
[2009/05/28 05:21:33] <mib_6cy7t3> There typically are tables updated. I was just hoping someone with more PHP knowledge than me has pulled the installation code apart. But thanks for the suggestion.
[2009/05/28 05:21:51] <Thorhs> I'm having some strange behaviour using 0.24.8 on RHEL4. The puppetd process does not connect, except when I use the --test option. Running in no-daemon verbose debug stops at 'notice: Starting Puppet client version 0.24.8' and does not try to connect to the server.
[2009/05/28 05:23:30] <mib_6cy7t3> HarryCalahan, Do you have any links to twig scripts. Google shows lots of stuff but it doesn't seem to fit what you described.
[2009/05/28 05:24:30] @ MarlondB joined channel #puppet
[2009/05/28 05:24:35] <HarryCalahan> mib_6cy7t3: ah twill is the name
[2009/05/28 05:24:36] <HarryCalahan> ;)
[2009/05/28 05:24:56] <HarryCalahan> http://twill.idyll.org/
[2009/05/28 05:25:45] <mib_6cy7t3> That looks a lot better, thx :)
[2009/05/28 05:26:23] <HarryCalahan> sorry mixed the tool names. to many.
[2009/05/28 05:27:20] <mib_6cy7t3> I know what you mean - Opensource developers are too innovative with their product names. Twig scripts did actually find stuff too.
[2009/05/28 05:28:32] @ mib_6cy7t2 joined channel #puppet
[2009/05/28 05:29:43] <mib_6cy7t2> I better get an account, this interface keeps timing out on me. thx again harrycalahan. ciao
[2009/05/28 05:30:10] @ Quit: mib_6cy7t2: Client Quit
[2009/05/28 05:30:38] @ Quit: mib_6cy7t3: "http://www.mibbit.com ajax IRC Client"
[2009/05/28 05:35:38] @ allesmue1ler2 joined channel #puppet
[2009/05/28 05:39:51] @ MaGicKanGaRoo joined channel #puppet
[2009/05/28 05:43:46] @ Quit: allesmueller2: Read error: 110 (Connection timed out)
[2009/05/28 05:48:05] @ maarten joined channel #puppet
[2009/05/28 05:52:06] @ |roald| joined channel #puppet
[2009/05/28 05:55:18] @ Quit: pvenkata: "Nettalk6 - www.ntalk.de"
[2009/05/28 05:57:40] @ mikepea joined channel #puppet
[2009/05/28 06:03:41] @ Quit: ceren:
[2009/05/28 06:06:57] @ verwilst joined channel #puppet
[2009/05/28 06:08:30] @ Djelibeybi joined channel #puppet
[2009/05/28 06:09:13] @ Quit: bje: Read error: 104 (Connection reset by peer)
[2009/05/28 06:09:23] @ bje joined channel #puppet
[2009/05/28 06:29:16] @ ohadlevy left channel #puppet ()
[2009/05/28 06:48:14] <zeroXten> heh
[2009/05/28 06:48:17] <zeroXten> </lag>
[2009/05/28 06:48:29] @ Quit: Innocenti: Read error: 113 (No route to host)
[2009/05/28 07:05:01] @ d3vilb0x joined channel #puppet
[2009/05/28 07:05:21] @ Quit: alex1: Read error: 104 (Connection reset by peer)
[2009/05/28 07:13:17] @ rasputnik joined channel #puppet
[2009/05/28 07:13:54] @ Quit: f3ew: "You can /quit any time you like, but you can never leave"
[2009/05/28 07:14:52] <rasputnik> If I have multiple file {} resources that only differ by name (perms/owners/etc all identical), is there a shorthand to define them with one resource?
[2009/05/28 07:16:25] <Volcane> set a default first
[2009/05/28 07:16:30] <Volcane> File{ owner => foo }
[2009/05/28 07:17:00] <Volcane> then file{"one": source => "puppet://...../"; "two": source => "puppet://..../" }
[2009/05/28 07:17:13] @ Quit: Djelibeybi: "Leaving"
[2009/05/28 07:18:08] @ f3ew joined channel #puppet
[2009/05/28 07:23:12] <rasputnik> Volcane, did I dream there was some kind of array syntax for this? like file { ["/one", "/two", "/three" : owner => root, group => wheel, mode => 644 } ?
[2009/05/28 07:23:27] <rasputnik> oops missed the closing ']' there
[2009/05/28 07:23:32] <Volcane> yes, but then you cant do individual source properites
[2009/05/28 07:23:39] <Volcane> if you dont need to actually fetch the files, then thats fine
[2009/05/28 07:24:14] <rasputnik> Volcane, oh cool. These are squid cache directories, I just need them to exist and be the right permission.
[2009/05/28 07:26:55] <rasputnik> yup, that seems to work. thanks.
[2009/05/28 07:27:53] <rasputnik> If I did set a default File{} block, does that apply to the current scope only, or globally.
[2009/05/28 07:28:40] <Volcane> scoped
[2009/05/28 07:29:17] <rasputnik> perfick.
[2009/05/28 07:29:55] <rasputnik> while the cluetrain is in town, I'm thinking about how to 'solve' iptables. Let me run a plan by the room.
[2009/05/28 07:30:42] <rasputnik> I was going to do a template iptables file, then use implicit tags to 'enable' certain lines. Does that seem reasonable?
[2009/05/28 07:30:57] <Volcane> i use snippets
[2009/05/28 07:31:10] <Volcane> so if i really wanted, apache module could drop in some rules to open port 80
[2009/05/28 07:31:35] <rasputnik> Volcane, you mean in each module? then how do you cat them together?
[2009/05/28 07:31:44] <Volcane> I've a define to do the hard work
[2009/05/28 07:31:56] <Volcane> http://nephilim.ml.org/~rip/puppet/concatfile/
[2009/05/28 07:31:59] <Volcane> see the sample.pp
[2009/05/28 07:32:17] <Volcane> it puts a little helper shell script on all the machines, this seems to annoy the crap out of some people *shrug*
[2009/05/28 07:32:52] <rasputnik> well, that's your own fault for giving people local accounts :D thanks, that looks like it might be useful.
[2009/05/28 07:33:21] <Volcane> nah i mean some people here, they wont use it rather just a big error prone cat construct in an exec rather than run a script
[2009/05/28 07:33:40] <rasputnik> still like my tags idea, think I'm going to go with that. potential problems depending on when a tag becomes visible, but will be fun to find out.
[2009/05/28 07:34:05] <Volcane> yeah so i roll out several chains to all machines
[2009/05/28 07:34:13] <Volcane> admin_access to let my admin ip ranges in
[2009/05/28 07:34:19] <Volcane> backup_access, monitor_access etc
[2009/05/28 07:34:42] <Volcane> this gets applied to all machines early on, then theres a chain for the machines specific rules
[2009/05/28 07:34:51] <Volcane> and modules can register into that chain if they wanted
[2009/05/28 07:38:13] <rasputnik> reading that url; the idea is modules write some iptables config into /tmp/snippets/01_whatever, then you finally "cat /tmp/snippets/* > /etc/sysconfig/iptables" ?
[2009/05/28 07:38:31] <Volcane> basically, i use /etc/iptables.d but whatever
[2009/05/28 07:38:36] <Volcane> err, /etc/sysconfig/iptables.d
[2009/05/28 07:38:46] <Volcane> cos redhat wants /etc/sysconfig/iptables so that seems a good place
[2009/05/28 07:39:49] <rasputnik> Volcane, so is there built in support in iptables itself for iptables.d then, or is that your own convention? having an includes dir for firewall rules seems like a good idea.
[2009/05/28 07:40:23] <Volcane> no, i mean the concat thing uses /etc/sysconfig/iptables.d, it then makes /etc/sysconfig/iptables via concatenation
[2009/05/28 07:42:25] <FiXion> how do I see what the content of a certain variable is on a given host?
[2009/05/28 07:42:45] <FiXion> I have a $version = "1234" in one node, and $version = "4321" in another node
[2009/05/28 07:42:55] <FiXion> but suddenly somethings off.
[2009/05/28 07:43:09] <FiXion> I would like to see what $version is set to on the node.. when puppetd -t runs
[2009/05/28 07:43:16] <Volcane> info("The version is ${version}")
[2009/05/28 07:43:20] <Volcane> check mastr logs
[2009/05/28 07:44:01] <Volcane> or notify{"the version is ${version}": }
[2009/05/28 07:44:03] <Volcane> check client logs
[2009/05/28 07:44:53] <FiXion> Volcane: it only wrote "compiled rule set .." in the master log
[2009/05/28 07:47:50] <FiXion> hmm it wrote something with notify.. I'll play around with it..
[2009/05/28 07:47:53] <FiXion> Volcane: thanks
[2009/05/28 07:48:30] <FiXion> Volcane: btw. did you see my idea for search capabilities? it's not something that's in your "soon-to-be-released"-version? if not.. if I get the time to code it.. would you want it?
[2009/05/28 07:48:37] <Volcane> yeah might be log level related on the master, you could do notice() too i think
[2009/05/28 07:48:52] <Volcane> fixion: no didnt see? but i am heading to lunch now chat when i am back :)
[2009/05/28 07:51:43] <rasputnik> Volcane, gotcha. think that's a reasonable way to proceed, still think I'll go with my tags instinct but I'll bookmark yours in case my plan backfires :)
[2009/05/28 07:54:25] @ bajan joined channel #puppet
[2009/05/28 07:54:32] @ bajan left channel #puppet ()
[2009/05/28 07:59:04] <FiXion> is there a way to "un-instantiate" a module?
[2009/05/28 07:59:33] <FiXion> I have a module (apache) - which includes another module (vhosts::default)
[2009/05/28 07:59:52] <FiXion> problem is- that my $version variable is set to 1234 when apache module is loaded.
[2009/05/28 08:00:07] <FiXion> and then, when I later call vhosts::mysite - I have set version = 4321
[2009/05/28 08:00:48] <FiXion> but because vhosts init is already instantiated (by apache) it keeps the version = 1234 :(
[2009/05/28 08:01:17] @ Quit: fujin:
[2009/05/28 08:07:15] @ Quit: briandquinn:
[2009/05/28 08:14:33] @ Innocenti joined channel #puppet
[2009/05/28 08:15:33] @ Quit: rasputnik: Read error: 60 (Operation timed out)
[2009/05/28 08:20:36] <FiXion> I call vhosts::default (which inherits vhosts).. because of that my $version variable is seemingly "locked" to what is was when vhosts::default was called
[2009/05/28 08:25:21] <proton> you can't modify a variable once it's set
[2009/05/28 08:28:11] <FiXion> I know that.
[2009/05/28 08:28:48] <FiXion> I set the same variable in two different nodes (webserver and stageservers) and then call vhosts::site
[2009/05/28 08:29:03] <FiXion> this works perfectly so that I can install the same sites on webservers and stageservers in different versions
[2009/05/28 08:29:20] <FiXion> but then I went and created a vhosts::default, which was used by my apache module (to set the default vhost :)
[2009/05/28 08:30:00] <FiXion> and vhosts::default had "inherits vhosts" - which is where my virtual resource was defined, that used the $version variable.
[2009/05/28 08:30:27] <proton> yeah, the moment you use it, no changing it :)
[2009/05/28 08:30:30] <FiXion> and that locked (or instantiated if you want) vhosts virtual resources with the webservers versionnr.
[2009/05/28 08:30:54] <FiXion> fixed by NOT inhering from vhosts in the vhosts::default class :)
[2009/05/28 08:31:21] @ rasputnik joined channel #puppet
[2009/05/28 08:31:23] <FiXion> what's the design decision behind making variables unchangeable?
[2009/05/28 08:32:00] <proton> i'd guess it's because there's no real "ordering" of evaluation of things
[2009/05/28 08:32:17] <proton> so it might be changed for some resources and not others and generally be a mess
[2009/05/28 08:34:02] <FiXion> fair enough.. the ordering of things is quite unexpected unless you remember ALL that you require :)
[2009/05/28 08:34:36] <proton> it's the same mind bending you get when you do function programming like that :)
[2009/05/28 08:36:20] @ jief- joined channel #puppet
[2009/05/28 08:36:22] <jief-> morning
[2009/05/28 08:41:18] <jief-> i know ive asked the question before. but other than Puppetshow, are there other web gui's for puppet? can't seem to find any on google this morning
[2009/05/28 08:43:59] <jenza> puppetview
[2009/05/28 08:44:04] <jenza> doesn't do config tho
[2009/05/28 08:44:49] <jief-> at this point, i dont care much about that
[2009/05/28 08:44:56] <jief-> i just want something our managers can look at
[2009/05/28 08:45:11] <jief-> also, at some point, our operation team will have to review the deployments
[2009/05/28 08:45:35] <jief-> puppetshow just won't work on debian lenny\
[2009/05/28 08:46:54] <jief-> jenza: what is the state of puppetview? site says its a very early beta
[2009/05/28 08:47:26] <Volcane> it works, theres a small patch needed i think for most recent puppets which i can help you with
[2009/05/28 08:47:38] @ Quit: Innocenti: Read error: 110 (Connection timed out)
[2009/05/28 08:47:46] <Volcane> but its obviously fugly, the point is you can easily modify the templates to make it look like your intranet or whatever
[2009/05/28 08:47:49] <jief-> i just found something about installing older gems for puppetshow
[2009/05/28 08:48:08] <jief-> ill give that a spin
[2009/05/28 08:48:23] <jief-> but i might wanna talk to you about some issues I'm having with Puppet in a few minutes if you're available
[2009/05/28 08:48:41] @ Innocenti joined channel #puppet
[2009/05/28 08:50:01] <jief-> so my issue right now is, we have to run puppetd 3-4 times to have the entire profile applied to a given host
[2009/05/28 08:50:15] <jief-> i think im missing something about the dependencies in puppet
[2009/05/28 08:50:20] @ bacs joined channel #puppet
[2009/05/28 08:52:30] <Volcane> yeah have similar cases, its just sometimes too complex to get the dependencies so it works in one run first run
[2009/05/28 08:52:50] <jief-> cause right now, first run applies default profile
[2009/05/28 08:52:52] <duritong> .win 35
[2009/05/28 08:52:54] <duritong> bleh
[2009/05/28 08:52:57] <jief-> then on second run, its gonna install most packages
[2009/05/28 08:53:01] <jief-> and on third, config files
[2009/05/28 08:53:23] <jief-> obviously, that's during initial config
[2009/05/28 08:53:23] <Volcane> and you have many require => etc lines to help it know what order things should be done in?
[2009/05/28 08:53:31] <jief-> we try to
[2009/05/28 08:53:35] <jief-> our recipes are stabilizing
[2009/05/28 08:53:48] <jief-> ive handed it to our other seniors
[2009/05/28 08:53:53] <Volcane> only viable approach is to run it, note problems and add requires/before statements
[2009/05/28 08:53:55] <jief-> they're starting to add to it too
[2009/05/28 08:54:21] <jief-> ya a figured that much. ive seen you have more than one item in the require
[2009/05/28 08:54:24] <jief-> will have to play with that
[2009/05/28 08:54:31] <Volcane> sometimes using defaults help, like Package{ require => Class["apt"] } in site.pp will mean all packages require your apt module
[2009/05/28 08:56:08] <jief-> my next challenge, is to deploy it on a large number of machines
[2009/05/28 08:56:21] <jief-> im not set on that yet. there's so many ways it could go wrong
[2009/05/28 08:58:25] @ Quit: bje: "."
[2009/05/28 08:58:36] @ bje joined channel #puppet
[2009/05/28 08:58:52] <Volcane> well i dont know i mean many people here have it on 100s or 1000s of machines
[2009/05/28 08:59:08] @ glaw joined channel #puppet
[2009/05/28 08:59:34] <jief-> i could easily script the deployment
[2009/05/28 08:59:48] <jief-> to apply say the default profile for now, which would allow us to deploy other softwares easily
[2009/05/28 09:00:07] <jief-> but i never feel safe when i run something on say 1000 box at the same time ;)
[2009/05/28 09:00:16] <Volcane> so do them slowly
[2009/05/28 09:00:23] <jief-> that's prolly what we'll do
[2009/05/28 09:00:32] <jief-> i have to let our juniors get comfy with it too
[2009/05/28 09:02:40] <Volcane> yeah defo, before rolling out to many machines, let ppl know it, and start in batches cos you dont want to suddenly realize your master cant cope with the load etc
[2009/05/28 09:05:24] @ kngus joined channel #puppet
[2009/05/28 09:05:30] @ kngus left channel #puppet ("Leaving.")
[2009/05/28 09:05:56] @ maarten left channel #puppet ()
[2009/05/28 09:06:16] <jief-> well, i thought i was going to be able to use it to deliver large number of files
[2009/05/28 09:06:29] <jief-> and soon realised ill keep packaging it in .deb instead
[2009/05/28 09:07:24] @ briandquinn joined channel #puppet
[2009/05/28 09:09:44] @ lak joined channel #puppet
[2009/05/28 09:11:20] <jief-> ah there we go with puppetshow
[2009/05/28 09:11:22] @ nmalik joined channel #puppet
[2009/05/28 09:15:22] @ joe-mac joined channel #puppet
[2009/05/28 09:19:36] @ pleemans joined channel #puppet
[2009/05/28 09:19:43] @ Quit: lak:
[2009/05/28 09:20:40] <FiXion> anyone know if puppet can configure interfaces ?
[2009/05/28 09:20:48] <FiXion> I want it to add some aliases on loopback :)
[2009/05/28 09:20:52] @ nmalik_ joined channel #puppet
[2009/05/28 09:20:55] <FiXion> can't find "interface" in typereference
[2009/05/28 09:20:55] <jief-> you could with an exec
[2009/05/28 09:21:02] <Volcane> used to be able to on redhat and solaris, but not anymore
[2009/05/28 09:21:04] <FiXion> jief-: I'd like it to be lasting :)
[2009/05/28 09:21:14] <FiXion> :(
[2009/05/28 09:21:27] <FiXion> so I have to use augeas - or implement the provider myself
[2009/05/28 09:21:35] <Volcane> or use templates
[2009/05/28 09:21:43] <FiXion> since debian based hosts has all interfaces in one file
[2009/05/28 09:21:51] <Volcane> use snippets :P
[2009/05/28 09:21:56] <jief-> undefined local variable or method `superclass' for #<ResourcesController:0x2aaab0cb33f8>
[2009/05/28 09:22:02] <FiXion> Volcane: snippets requires augeas, right?
[2009/05/28 09:22:08] <jief-> i keep getting that error in puppetshow, anyone knows what its all about?
[2009/05/28 09:22:08] <Volcane> no
[2009/05/28 09:22:15] <Volcane> snippets just concats bits together to make the result
[2009/05/28 09:22:41] <Volcane> or use some of those hacky "line" custom defined types that sed's a file
[2009/05/28 09:22:50] <FiXion> Volcane: so I could concat the existing /etc/network/interfaces and my extra interface "unless grep matches.."
[2009/05/28 09:23:15] <HarryCalahan> FiXion: place multiple files on the machine and add a final exec that concats all files
[2009/05/28 09:23:41] <jief-> HarryCalahan: that's very hackish hehe
[2009/05/28 09:23:42] <Volcane> FiXion: there are stuff on the wiki to just insert individual lines into a file unless the line is already there
[2009/05/28 09:24:02] <HarryCalahan> Volcane: but interface config on debian is multiline
[2009/05/28 09:24:04] @ bacs left channel #puppet ("Konversation terminated!")
[2009/05/28 09:24:06] <FiXion> Volcane: like cfengine does ?
[2009/05/28 09:24:14] <Volcane> yeah
[2009/05/28 09:24:37] <FiXion> onn cfengine I could check for the "primary line (containg the interface name or whatever)" and then insert a snippet
[2009/05/28 09:24:53] @ Quit: mattock: "Leaving."
[2009/05/28 09:24:59] <FiXion> Volcane: btw. my ideas to puppetview was this:
[2009/05/28 09:25:03] <HarryCalahan> jief-: works for me. If the application doesn't support a config folder to include, i build the config by concat of the folder. did this even before puppet.
[2009/05/28 09:25:05] <Volcane> not seen ones thats quite that sophisticated, line editing is a crap thing
[2009/05/28 09:25:19] <FiXion> search functionality - so you could search on 3 variables:
[2009/05/28 09:25:30] <FiXion> hostnames, variable name and variable data
[2009/05/28 09:25:34] <jief-> HarryCalahan: will have to look into that technique. because sometimes, say with the sudoers file, id like to have a base one, and then include more
[2009/05/28 09:26:00] <FiXion> searching for things like: variable name = interface.* + hostname = webserver*
[2009/05/28 09:26:07] <Volcane> FiXion: I've built puppetview into http://www.machdb.org/ but i guess the guy is yet to make a release that includes it
[2009/05/28 09:26:11] <FiXion> to see all configured interfaces on hosts named webserver*
[2009/05/28 09:26:28] @ Quit: Innocenti: Read error: 110 (Connection timed out)
[2009/05/28 09:26:58] <FiXion> Volcane: does it support searching?
[2009/05/28 09:27:11] <Volcane> yes, on all sorts of tings
[2009/05/28 09:27:16] <FiXion> nice.
[2009/05/28 09:27:22] <Volcane> machines runs an agent that sends config to the central db regularly
[2009/05/28 09:27:26] <FiXion> pls. inform me when he makes a release with puppetview support :)
[2009/05/28 09:27:30] <Volcane> you can say show all machines with this model seagate harddrive
[2009/05/28 09:27:39] <FiXion> Volcane: but if using puppet, you don't need the agent ?
[2009/05/28 09:27:41] <Volcane> or all machines on centos 5.2 or whatever
[2009/05/28 09:27:46] <Volcane> u need the agent
[2009/05/28 09:27:56] <FiXion> yet another agent :(
[2009/05/28 09:28:02] <Volcane> its just a cron job
[2009/05/28 09:28:09] <Volcane> not a daemon or anything
[2009/05/28 09:28:09] <joe-mac> CROOOOOON
[2009/05/28 09:28:15] <FiXion> ok - a lot better.
[2009/05/28 09:28:23] <FiXion> but it adds what the puppet client sends?
[2009/05/28 09:28:29] <FiXion> or does it just call facter and add that?
[2009/05/28 09:28:53] <Volcane> i just have it so that if machdb finds it has puppet reports for a machine, theres a link to view the puppetview stuff
[2009/05/28 09:29:08] <FiXion> Volcane: and you can search on the puppetview stuff as well?
[2009/05/28 09:29:14] <FiXion> and isn't there a lot of duplication
[2009/05/28 09:29:18] <Volcane> cant search for facts
[2009/05/28 09:29:19] <jief-> interesting software that machdb
[2009/05/28 09:29:23] <Volcane> its not awesome
[2009/05/28 09:29:38] <FiXion> perhaps it would be better to make machdb server "pull" data from puppet store
[2009/05/28 09:29:41] <Volcane> and the person isnt looking too keen to release new versions so i am no doubt going to go back on hacking up something myself
[2009/05/28 09:29:59] <jief-> we're really missing some nice webfrontend for puppet
[2009/05/28 09:30:05] <jief-> if i had more time, id probably build one
[2009/05/28 09:30:08] <Volcane> like he wants to add a tagging ability to each machine - which would be perfect for a classifier
[2009/05/28 09:30:16] <HarryCalahan> i can throw in open-audit.org
[2009/05/28 09:30:16] <Volcane> but he doesnt seem keen on doing it full and proper
[2009/05/28 09:30:17] <jief-> with support for RBAC/Krb5/LDAPS/reporting
[2009/05/28 09:30:30] <FiXion> any idea as to what to search for on the puppet wiki to find the way to add a snippet to a file - unless a certain string is there?
[2009/05/28 09:30:44] <verwilst> is it possible to request your current environment with puppet?
[2009/05/28 09:30:47] <FiXion> jief-: webfrontend for config
[2009/05/28 09:30:50] <FiXion> jief-: ?
[2009/05/28 09:30:56] <verwilst> like when you run puppetd --environment=testing
[2009/05/28 09:31:18] <verwilst> is there a macro or sth that can request this during a puppet run?
[2009/05/28 09:31:21] <HarryCalahan> FiXion: the concat is an exec, and before concat you do an unless which greps the file
[2009/05/28 09:31:33] * FiXion prefers text file format as is. webinterfaces generally makes it harder for advanced users
[2009/05/28 09:31:54] <jief-> FiXion: nah something to look at for reports
[2009/05/28 09:32:06] <FiXion> jief-: puppetview isn't good ?
[2009/05/28 09:32:20] <FiXion> puppetview would be perfect for me - if it just had a small search functionality
[2009/05/28 09:32:30] @ Quit: nmalik: Read error: 110 (Connection timed out)
[2009/05/28 09:32:32] <jief-> FiXion: i work in an environment where different type of people need access to different kind of infos
[2009/05/28 09:32:33] <poison> verwilst: great idea, I could use that macro too, does that one exist?
[2009/05/28 09:32:37] <Volcane> searching through tons of yaml files isnt awesome
[2009/05/28 09:32:49] <Volcane> processing them isnt fast etc, its not like puppetview has a DB or anything
[2009/05/28 09:32:52] <jief-> FiXion: when i pick a product, it needs RBAC and enterprisy things like LDAP over SSL supoport
[2009/05/28 09:33:08] <FiXion> jief-: apache has this - so no problem
[2009/05/28 09:33:14] @ mfoster joined channel #puppet
[2009/05/28 09:33:16] <jief-> got PuppetShow running right now, that might to it
[2009/05/28 09:33:21] <jief-> FiXion: RBAC? nope
[2009/05/28 09:33:45] <FiXion> jief-: RBAC no.. but you could do access matching on url's. .for simple rbac :)
[2009/05/28 09:34:07] <jief-> FiXion: might hand that to a junior hehe. no time to waste with that
[2009/05/28 09:34:11] <FiXion> but what use case do you have, where you need some users to only see info from some of the hosts?
[2009/05/28 09:35:03] * FiXion can't find the concat unless example.. always nice to see a working example instead of screwing the pooch on a working server :(
[2009/05/28 09:35:19] <jief-> so we have an IT operations team. they will soon need to get reports on change managements
[2009/05/28 09:35:23] <Volcane> FiXion: http://nephilim.ml.org/~rip/puppet/concatfile/
[2009/05/28 09:35:23] <HarryCalahan> never tell users how much free diskspace there is, they will fill it. So hide free disk from users ;)
[2009/05/28 09:35:39] <jief-> i dont want them to get info like SSH keys (which is shown in puppetshow) or IPs, or services, etc
[2009/05/28 09:35:45] <jief-> they dont need that kind of info
[2009/05/28 09:35:55] <jief-> just like our management team doesnt need it also
[2009/05/28 09:35:58] <joe-mac> jief-: hmm, i'm curious- what does IT operations do at your workplace?
[2009/05/28 09:36:04] <Volcane> jief-: the puppetview thing is a tiny frontend to reusable objects, you could pull those objects into anything you build in php, so you can easily make it work
[2009/05/28 09:36:15] <FiXion> Volcane: thanks :)
[2009/05/28 09:36:18] <joe-mac> for instance, i am "operations", and i do need all that stuff lol...
[2009/05/28 09:36:31] @ Robbie joined channel #puppet
[2009/05/28 09:36:34] <jief-> Volcane: if i had time, i prolly would
[2009/05/28 09:36:39] <Robbie> verwilst:
[2009/05/28 09:36:44] <verwilst> Robbie: ?
[2009/05/28 09:36:45] <Robbie> we have the same problem
[2009/05/28 09:36:47] <FiXion> jief-: don't you have some slaves?
[2009/05/28 09:36:50] <jief-> joe-mac: ok so our Ops ain't techies. they take care of answering the '911' service we have internally
[2009/05/28 09:36:59] <joe-mac> ah, i c
[2009/05/28 09:37:05] <verwilst> lots of people with the same problem so it seems!
[2009/05/28 09:37:10] <jief-> they will make sure its a real incident before escalating it to juniors\
[2009/05/28 09:37:15] <verwilst> must be an important question then ;)
[2009/05/28 09:37:19] <jief-> they are our 'firewall'
[2009/05/28 09:37:25] <Robbie> i hope we get answer soon
[2009/05/28 09:37:30] <jief-> before, we had VPs coming to our desks to report 'issues'
[2009/05/28 09:37:48] <joe-mac> that is an awesome title to have at that level lol, usually that's called 'helpdesk' or some other derogatory term
[2009/05/28 09:38:06] <Volcane> "service desk"
[2009/05/28 09:38:25] <joe-mac> gahh, that's what they called us at RH, but we were really desktop linux admins
[2009/05/28 09:38:33] <Volcane> yeah its a ITIL term
[2009/05/28 09:38:42] <jief-> nah they don't do tech support
[2009/05/28 09:38:57] <jief-> they route production problems to the proper team
[2009/05/28 09:39:03] <joe-mac> Volcane: ITIL is big on your side of the pond eh?
[2009/05/28 09:39:05] <jief-> they just make sure its real issues
[2009/05/28 09:39:07] <Volcane> thats a service desk yes
[2009/05/28 09:39:11] <Volcane> joe-mac: yeah its shit.
[2009/05/28 09:39:15] <joe-mac> yep.
[2009/05/28 09:39:22] <jief-> fuck ITIL
[2009/05/28 09:39:28] <joe-mac> my brain began to bleed when RT was hacked to 'support' ITIL
[2009/05/28 09:39:48] <jief-> apparently the new iteration of SOX404 will be less of a PITA for us IT staffers
[2009/05/28 09:40:38] <jief-> so what's the default admin user for puppetshow?
[2009/05/28 09:45:24] <Volcane> i dont think anyone here actually uses puppetshow :P
[2009/05/28 09:48:07] <FiXion> Volcane: why was the interface config thingy removed for Red Hat :(
[2009/05/28 09:48:12] <FiXion> I need it on CentOS :)
[2009/05/28 09:48:30] <Volcane> lots of problems with it
[2009/05/28 09:48:32] @ Quit: MarlondB:
[2009/05/28 09:49:09] <jief-> ya its as unstable as lindsey lohan
[2009/05/28 09:49:17] <jief-> i think ill give puppetview a spin
[2009/05/28 09:49:48] <Volcane> FiXion: i think they wanted infacer{} to be like package{} same manifest configure many operating systems, but with interfaces operating systems are just too different
[2009/05/28 09:49:59] <Volcane> FiXion: and i thin kthe type was missing key features and no1 to add them
[2009/05/28 09:50:13] @ bobbyz joined channel #puppet
[2009/05/28 09:57:43] @ kjetilho joined channel #puppet
[2009/05/28 09:58:10] <kjetilho> hi, from TypeReference: "The pattern can be a simple string or any legal Ruby pattern."
[2009/05/28 09:58:28] <kjetilho> is Ruby pattern == Ruby regular expression?
[2009/05/28 09:58:50] @ Quit: omry: Remote closed the connection
[2009/05/28 09:59:09] @ shake-n-bake joined channel #puppet
[2009/05/28 09:59:26] @ Quit: shake-n-bake: Client Quit
[2009/05/28 10:01:38] <Volcane> yeah
[2009/05/28 10:02:44] <kjetilho> pity it's not a wiki page so I could fix it simply
[2009/05/28 10:02:46] <kjetilho> :)
[2009/05/28 10:03:05] <Volcane> they're not full on regex
[2009/05/28 10:03:18] <kjetilho> oh?
[2009/05/28 10:03:18] <Volcane> lke you couldnt search replace using something like "\u\1" to upcase the first char
[2009/05/28 10:03:45] <kjetilho> you mean they're not full on *Perl* regex?
[2009/05/28 10:04:10] <Volcane> i think the \u etc is extended regex isnt it? not perl specific? who knows regex is like this sea of confusion
[2009/05/28 10:04:21] @ erm_ joined channel #puppet
[2009/05/28 10:04:35] @ Quit: erm_: Client Quit
[2009/05/28 10:05:33] @ sid77_ joined channel #puppet
[2009/05/28 10:06:02] @ erm_ joined channel #puppet
[2009/05/28 10:07:19] <kjetilho> extended regex isn't very, really
[2009/05/28 10:07:25] <Volcane> heh
[2009/05/28 10:07:39] <kjetilho> it has + and [:classes:]
[2009/05/28 10:07:45] <kjetilho> and | !
[2009/05/28 10:07:58] <Volcane> yeah see i always just did regex with perl, thats where i learned it etc first time, so in my mind they're all just perlregex :P
[2009/05/28 10:08:03] <kjetilho> but not stuff like non-greedy matching or assertions...
[2009/05/28 10:12:01] <kjetilho> Volcane: so this is in the service type. do you happen to know what it matches against?
[2009/05/28 10:12:08] <Volcane> ps
[2009/05/28 10:12:28] <Volcane> service{"foo": } would grep the process list for 'foo' or if you tell it, whatever regex u say
[2009/05/28 10:12:30] <Volcane> processs names
[2009/05/28 10:12:34] @ thatch_ joined channel #puppet
[2009/05/28 10:13:18] <joe-mac> when i call the template function in a module, it looks in the module's template dir automagically, but does it also look in the templatedir defined in puppet.conf
[2009/05/28 10:13:19] <kjetilho> has an issue with the default "nsca" (with ensure => stopped) matching "send_nsca"
[2009/05/28 10:13:20] <Volcane> though not sure if that includes arguments passed to processes
[2009/05/28 10:13:20] <joe-mac> ?
[2009/05/28 10:13:39] <Volcane> joe-mac: no
[2009/05/28 10:13:50] <joe-mac> k, so i can remove the templatedir altogether?
[2009/05/28 10:13:57] <Volcane> joe-mac: template("modulename/foo.erb") is the foo.erb in the module
[2009/05/28 10:14:00] <kjetilho> but it would be a bigger problem if it was "nsca_send", actually. ^nsca will do
[2009/05/28 10:14:08] <Volcane> joe-mac: however template("foo.erb") would look in templatedir
[2009/05/28 10:14:21] @ lak joined channel #puppet
[2009/05/28 10:14:31] <Volcane> afaik, since using modules my templatedir is empty
[2009/05/28 10:15:01] <joe-mac> o alright, thanks for that Volcane
[2009/05/28 10:16:08] @ madrescher joined channel #puppet
[2009/05/28 10:17:06] @ Quit: sid77: Read error: 110 (Connection timed out)
[2009/05/28 10:17:22] @ Quit: nmalik_: "leaving"
[2009/05/28 10:17:33] @ nmalik joined channel #puppet
[2009/05/28 10:17:49] @ Quit: mfoster: "Leaving."
[2009/05/28 10:18:24] @ Quit: tim|macbook:
[2009/05/28 10:18:46] <thatch_> real quick, can I use wildcards in puppet recipies? I have like 20 rpms which all need to be installed before processing a file and service
[2009/05/28 10:18:57] <thatch_> so can I put somthing like
[2009/05/28 10:19:00] <Volcane> no
[2009/05/28 10:19:15] <thatch_> thanks!
[2009/05/28 10:19:31] <Volcane> cos it needs to veirfy as well next run that they're installed
[2009/05/28 10:19:41] <Volcane> how should it know what foo* means? is that 2 packages or 200? and what are they?
[2009/05/28 10:20:33] <thatch_> I was hoping that the package facility translated and returned information about packges based on the package name as an install param
[2009/05/28 10:20:55] <thatch_> therefore foo* in yum means "all pkgs that start with foo"
[2009/05/28 10:21:03] <Volcane> what i am saying is, puppet confirms on each run that things are exactly as you say it is
[2009/05/28 10:21:38] <Volcane> so it does a rpm -qa type query, and then verifies that all your packages are there and the version required
[2009/05/28 10:21:43] @ mfoster joined channel #puppet
[2009/05/28 10:21:47] <Volcane> answering if foo* is installed is pretty hard
[2009/05/28 10:22:35] <thatch_> Thanks, that makes sense, but I never know what magic you guys have made, so I thought it would be worth checking
[2009/05/28 10:23:54] <HarryCalahan> thatch_: you can use a list in a variable. still need to name each package but no need to always write package { ... }
[2009/05/28 10:24:57] <thatch_> hey, thanks! I should have thought of that!
[2009/05/28 10:26:05] @ nmalik_ joined channel #puppet
[2009/05/28 10:27:24] @ jmarki joined channel #puppet
[2009/05/28 10:32:32] @ ceren joined channel #puppet
[2009/05/28 10:35:29] <joe-mac> i still can't reassign a variable even if i inherit the class it's set in correect?
[2009/05/28 10:36:19] @ Quit: jief-: "Lost terminal"
[2009/05/28 10:36:53] @ Quit: nmalik: Read error: 110 (Connection timed out)
[2009/05/28 10:43:32] @ figa joined channel #puppet
[2009/05/28 10:48:25] @ Innocenti joined channel #puppet
[2009/05/28 10:55:35] @ Quit: figa: Remote closed the connection
[2009/05/28 10:56:21] <rasputnik> urk, puppet wiki is dead.
[2009/05/28 10:59:01] @ matty joined channel #puppet
[2009/05/28 10:59:30] @ Quit: saurabhverma: Read error: 113 (No route to host)
[2009/05/28 11:00:25] @ hessmll joined channel #puppet
[2009/05/28 11:03:40] @ andrewcshafer joined channel #puppet
[2009/05/28 11:05:06] <sigmonsays> If I had to, could I turn puppet manifest variables in a class into a fact?
[2009/05/28 11:05:36] <sigmonsays> or I guess I could use scope.lookupvar() in manifest directly..
[2009/05/28 11:08:15] <Volcane> cant use lookupvar in a manifest
[2009/05/28 11:08:30] <verwilst> i want to write my own report
[2009/05/28 11:08:43] <verwilst> the reference tells me to drop it into lib/puppet/reports
[2009/05/28 11:09:36] <verwilst> but the store report already throws logs inthere
[2009/05/28 11:09:40] @ PeBenito|work joined channel #puppet
[2009/05/28 11:09:51] <verwilst> should i just put my report in there too?
[2009/05/28 11:10:25] <Volcane> ther's log.rb, rrdgraph.rb, store.rb and tagmail.rb there too ?
[2009/05/28 11:10:28] <Volcane> they all go in the same dir
[2009/05/28 11:11:21] @ Tuf8 joined channel #puppet
[2009/05/28 11:12:18] @ nigelk joined channel #puppet
[2009/05/28 11:13:57] <PeBenito|work> I've got a rhel5 (stock puppet.conf) and I tried putting a new type in /var/lib/puppet/lib, but it doesnt work; thoughts?
[2009/05/28 11:14:29] <PeBenito|work> I should say, the puppet.conf is RHEL5's stock puppet.conf
[2009/05/28 11:15:20] <PeBenito|work> which has vardir set as /var/lib/puppet, but no libdir set. I tried explicitly putting /var/lib/puppet/lib as the libdir but that didnt help
[2009/05/28 11:15:37] <Volcane> error messages are usually more useful than "it doesnt work"
[2009/05/28 11:15:56] @ Quit: Robbie: Remote closed the connection
[2009/05/28 11:15:59] <PeBenito|work> the type isn't found
[2009/05/28 11:16:33] @ alfism joined channel #puppet
[2009/05/28 11:16:43] <PeBenito|work> if I put it in the /usr/lib/ruby/site_ruby/1.8/puppet/type/ dir, it works fine. but I'd prefer to keep it out of /usr
[2009/05/28 11:17:51] <Volcane> /var/lib/puppet/lib/puppet/type/foo.rb maybe? not sure
[2009/05/28 11:18:24] @ jsm joined channel #puppet
[2009/05/28 11:19:31] <PeBenito|work> Volcane: that worked. seems that the docs need to be clarified, because it just says to put the .rb in $libdir
[2009/05/28 11:20:14] <Volcane> yeah libdir basically is a local replacement for /usr/lib/ruby/site_ruby/1.8 you need to keep the rest of the structure the same
[2009/05/28 11:20:44] <PeBenito|work> ok
[2009/05/28 11:20:55] <PeBenito|work> thanks for the help
[2009/05/28 11:21:29] @ Whoop joined channel #puppet
[2009/05/28 11:22:53] @ Whoop is now known as GeckoPie
[2009/05/28 11:23:00] @ PeBenito|work left channel #puppet ("avc: granted { sigkill } for pid=6645 exe=/usr/bin/xchat")
[2009/05/28 11:24:29] @ sid77_ is now known as sid77
[2009/05/28 11:26:18] @ Quit: HarryCalahan: "."
[2009/05/28 11:29:50] <GeckoPie> Does puppet auto update on hosts? It only seems to update when I restart puppetd?
[2009/05/28 11:31:34] <lak> GeckoPie: you mean, does it automatically apply the catalog, or does it update itself?
[2009/05/28 11:32:17] <GeckoPie> The catalog sorry (new to puppet)
[2009/05/28 11:32:30] <GeckoPie> I'm running ubuntu and the init.d script is running successfully
[2009/05/28 11:33:00] <GeckoPie> so its certainly started however a file isn't created (as instructed on the puppetmaster) until I restart puppet via /etc/init.d/puppet restart
[2009/05/28 11:33:20] <Volcane> how long did you wait?
[2009/05/28 11:33:27] <Volcane> puppet wakes up only every 30 mins by default
[2009/05/28 11:33:27] <GeckoPie> Not sure, >5 minutes
[2009/05/28 11:33:31] <GeckoPie> Ahhh
[2009/05/28 11:33:32] <GeckoPie> ok
[2009/05/28 11:33:37] <GeckoPie> How can I adjust that?
[2009/05/28 11:33:41] <Volcane> its quite cpu intensive, you dont want it to run every minute for example
[2009/05/28 11:33:49] <joe-mac> $runinterval in puppet.conf
[2009/05/28 11:33:50] <GeckoPie> I do during testing :)
[2009/05/28 11:33:53] <rasputnik> GeckoPie, you can run 'puppetd -tv' if you want to force a client to pull changes.
[2009/05/28 11:33:55] <GeckoPie> But yes, I'll adjust that when live
[2009/05/28 11:33:56] <joe-mac> GeckoPie: what version of ubuntu you on?
[2009/05/28 11:34:00] <GeckoPie> Thanks
[2009/05/28 11:34:02] <GeckoPie> intrepid joe-mac
[2009/05/28 11:34:05] <joe-mac> o i c
[2009/05/28 11:34:33] <GeckoPie> joe-mac: Do I set that config var on the client or master?
[2009/05/28 11:34:35] <GeckoPie> I assume client
[2009/05/28 11:35:37] @ Quit: madrescher: Read error: 110 (Connection timed out)
[2009/05/28 11:38:45] @ madrescher joined channel #puppet
[2009/05/28 11:39:38] <joe-mac> GeckoPie: yea on the client in the [puppetd] section
[2009/05/28 11:39:42] <joe-mac> it's been a while, i think it's in seconds
[2009/05/28 11:39:49] <GeckoPie> Done, it is, thanks
[2009/05/28 11:40:02] <Volcane> puppetd --genconfig shows you a handy config reference
[2009/05/28 11:40:07] @ mfoster left channel #puppet ()
[2009/05/28 11:40:24] @ Quit: nmalik_: Read error: 110 (Connection timed out)
[2009/05/28 11:41:33] <GeckoPie> awesome, thanks
[2009/05/28 11:42:33] @ Quit: Innocenti: Client Quit
[2009/05/28 11:43:12] <GeckoPie> I saw a really good puppet screencast a short while ago (<1 month), don't suppose anyone knows what it could have been?
[2009/05/28 11:43:19] <GeckoPie> I can't seem to find it anymore :(
[2009/05/28 11:43:38] <rasputnik> how do I define a dependency on a resource in a different module?
[2009/05/28 11:43:48] <Volcane> GeckoPie: dont know the one, but i do have a simple guide here http://www.devco.net/pubwiki/Puppet/GettingStarted
[2009/05/28 11:43:51] <rasputnik> GeckoPie, was it a beardy guy at a ruby conference?
[2009/05/28 11:44:06] <Volcane> rasputnik: File["foo"] stays that regardless of what module its in
[2009/05/28 11:44:15] <rasputnik> Volcane, cool and the gang.
[2009/05/28 11:44:17] * rasputnik tries
[2009/05/28 11:44:25] <GeckoPie> ty Volcane
[2009/05/28 11:44:38] <GeckoPie> rasputnik: Nah, it didn't show any face, it was just a screencast...no video or anything
[2009/05/28 11:44:46] <GeckoPie> I don't think it was from a conference either
[2009/05/28 11:45:27] <joe-mac> GeckoPie: bitpusher put one up recently
[2009/05/28 11:45:32] @ Quit: andrewcshafer: Read error: 113 (No route to host)
[2009/05/28 11:45:39] <joe-mac> ask the google what bitpusher is, should come up
[2009/05/28 11:45:44] <joe-mac> it's on their blog page
[2009/05/28 11:46:56] <rasputnik> need to say a package depends on a yum repo being defined but can't think how to do it: 'depends => Yumrepo['somerepo'] ' ?
[2009/05/28 11:47:12] <Volcane> require => Yumrepo["foo"] ?
[2009/05/28 11:47:31] <Volcane> or if you have a class/module that sets up all your repos, require => Class["yum"]
[2009/05/28 11:48:48] <rasputnik> Volcane, ooh, even better. thanks a lot.
[2009/05/28 11:50:59] <GeckoPie> Thanks joe-mac, shall take a look for that later
[2009/05/28 11:51:10] @ Quit: Welsh_Dwarf: Remote closed the connection
[2009/05/28 11:51:28] @ eden joined channel #puppet
[2009/05/28 11:51:30] <joe-mac> np
[2009/05/28 11:51:40] <eden> Hi everybody
[2009/05/28 11:51:51] <eden> I have a small question
[2009/05/28 11:51:57] <eden> about puppet
[2009/05/28 11:52:00] <eden> :)
[2009/05/28 11:52:18] <eden> I want to know, how to manager a groupe of node
[2009/05/28 11:52:36] <eden> for example you have node host1 host2 ....
[2009/05/28 11:52:48] <eden> i you have 100 hosts
[2009/05/28 11:52:55] <eden> how do you manage it ?
[2009/05/28 11:53:04] <Volcane> using this: http://reductivelabs.com/trac/puppet/wiki/ExternalNodes
[2009/05/28 11:53:14] <jmslagle> Anyone know how to remove a node from storedconfigs?
[2009/05/28 11:53:17] <eden> sorry for my English (i'm a french boy)Ã
[2009/05/28 11:53:28] <Volcane> and ake a class say web_nodes and put all the stuff you want on all web nodes, and just include that on them all
[2009/05/28 11:53:40] <Volcane> jmslagle: theres a script on the wiki page
[2009/05/28 11:53:48] <jmslagle> Doesn't work for me :(
[2009/05/28 11:53:56] @ jfoote joined channel #puppet
[2009/05/28 11:54:16] <Volcane> ah donno then, dont use them myself
[2009/05/28 11:55:03] <eden> nobody for my small question ?
[2009/05/28 11:55:17] <Volcane> eden: http://reductivelabs.com/trac/puppet/wiki/ExternalNodes
[2009/05/28 11:55:36] <eden> oh sorry thanks you
[2009/05/28 11:55:45] @ Quit: ceren:
[2009/05/28 11:58:14] @ Quit: rasputnik: "This computer has gone to sleep"
[2009/05/28 11:59:38] <eden> quit
[2009/05/28 11:59:43] <eden> quit
[2009/05/28 11:59:45] @ Quit: eden: "Leaving"
[2009/05/28 11:59:49] <Volcane> :)
[2009/05/28 12:04:14] <jmslagle> SyTonnerre: Could not create cvslogin: 'echo ''|/usr/bin/cvs -d :pserver:anoncvs@arvcs01.to.int.authenticresponse.net:/usr/local/ar/cvsroot login' is both unqualifed and specified no search path at /etc/puppet/modules/buildtools/manifests/init.pp:10
[2009/05/28 12:04:18] <jmslagle> Ok..
[2009/05/28 12:04:23] <jmslagle> Why does that puke?
[2009/05/28 12:05:07] <Volcane> full path to "echo"
[2009/05/28 12:05:31] @ Quit: WALoeIII: Read error: 60 (Operation timed out)
[2009/05/28 12:05:40] <jmslagle> Ahh
[2009/05/28 12:06:25] <Volcane> well thats what it seems, u need to show the whole resource if that doesnt solve it
[2009/05/28 12:06:46] <jmslagle> Yeah
[2009/05/28 12:06:47] <jmslagle> It did
[2009/05/28 12:06:50] <Volcane> sweet
[2009/05/28 12:06:54] <jmslagle> Danke :D
[2009/05/28 12:07:00] @ matty_ joined channel #puppet
[2009/05/28 12:11:53] @ Quit: bgupta: Read error: 104 (Connection reset by peer)
[2009/05/28 12:13:20] @ figa joined channel #puppet
[2009/05/28 12:14:58] @ Quit: matty: Read error: 113 (No route to host)
[2009/05/28 12:18:04] @ andrewcshafer joined channel #puppet
[2009/05/28 12:19:32] @ Quit: andrewcshafer: Client Quit
[2009/05/28 12:20:48] @ bgupta joined channel #puppet
[2009/05/28 12:21:52] @ francois left channel #puppet ()
[2009/05/28 12:26:10] @ WALoeIII joined channel #puppet
[2009/05/28 12:27:47] @ Quit: alfism: "Connection reset by beer"
[2009/05/28 12:28:36] @ penthief joined channel #puppet
[2009/05/28 12:29:18] <penthief> Hi, someone tells me I can override the fqdn of a client, but I can't see anything about this in the configuration reference.
[2009/05/28 12:29:46] <Volcane> puppetd --fqdn it seems
[2009/05/28 12:29:53] @ Quit: matty_: Read error: 60 (Operation timed out)
[2009/05/28 12:30:58] @ Quit: mfournier: Read error: 113 (No route to host)
[2009/05/28 12:33:23] @ andrewcshafer joined channel #puppet
[2009/05/28 12:34:36] @ justindossey joined channel #puppet
[2009/05/28 12:37:04] @ Quit: fbe: Read error: 60 (Operation timed out)
[2009/05/28 12:37:05] <joe-mac> is there a way to test if a resource is present in a manifest? for example, if i detect Apache::module["ssl"] is set to ensure => "present", i want to serve out the certs
[2009/05/28 12:38:14] <Volcane> why not just servce out the certs in Apache::module ?
[2009/05/28 12:38:28] <Volcane> ah i see, i'd have a class like apache::ssl
[2009/05/28 12:38:41] <Volcane> and in there do apache::module{"ssl": } and serve out the certs there
[2009/05/28 12:38:46] <Volcane> in that class
[2009/05/28 12:38:54] <joe-mac> hm, ok
[2009/05/28 12:38:58] <Volcane> then u dont need to worry about it, cos when someone include apache::ssl they'll get htem
[2009/05/28 12:38:59] <joe-mac> thanks'
[2009/05/28 12:40:07] @ fujin joined channel #puppet
[2009/05/28 12:40:16] @ plathrop-away is now known as plathrop
[2009/05/28 12:40:59] <GeckoPie> Urg, I'm confused. How is it possible for a file to be created on a client when puppetmaster isn't running?
[2009/05/28 12:41:23] <lak> GeckoPie: what do you mean?
[2009/05/28 12:41:27] <agaffney> the client caches the last config it got from the puppetmaster
[2009/05/28 12:41:51] <agaffney> and if you're not using puppet:// as the source (using contents => instead), it'll still work on the client
[2009/05/28 12:42:03] <GeckoPie> ah ok agaffney, how long does that cache work?
[2009/05/28 12:42:10] <agaffney> not sure
[2009/05/28 12:42:11] <GeckoPie> The catalog just says to create a file and set perms on it
[2009/05/28 12:42:14] <GeckoPie> Its not a copy of a file or anything
[2009/05/28 12:42:24] <agaffney> I know my puppetmaster was down for ~16 hours over the weekend, and all my puppet clients kept using their cache
[2009/05/28 12:42:36] <agaffney> then yes, that should work fine without the puppetmaster
[2009/05/28 12:43:07] <GeckoPie> How do I stop it working :-)
[2009/05/28 12:43:45] <Volcane> do you want to stop all the clients by just shutting the master?
[2009/05/28 12:44:51] @ ezmob joined channel #puppet
[2009/05/28 12:46:56] <grim_radical> I suppose you could run all your clients such that they ignore their cache
[2009/05/28 12:47:20] @ Quit: fujin:
[2009/05/28 12:47:49] * Volcane isnt understanding what GeckoPie wants
[2009/05/28 12:48:34] <grim_radical> GeckoPie: do you want the clients to not run using their cached copy of the catalog, ever?
[2009/05/28 12:49:51] <GeckoPie> Nah, I'd just like to clear the cache on a single client
[2009/05/28 12:49:54] <f3ew> Volcane, that might be a desirable feature
[2009/05/28 12:49:55] <GeckoPie> as its screwing with my testing
[2009/05/28 12:50:03] <f3ew> We just had a minor issue
[2009/05/28 12:50:36] <GeckoPie> On a seperate issue, any idea to why puppet might be deleting a symlink in /etc/puppet and recreating the dir with a manifests dir inside?
[2009/05/28 12:50:48] <GeckoPie> *symlink to /etc/puppet
[2009/05/28 12:51:31] <Volcane> GeckoPie: wel lyou could just run puppetd --test by hand and it wont use the cache
[2009/05/28 12:51:36] <joe-mac> GeckoPie: puppetd -t will run it witout cache
[2009/05/28 12:51:40] <joe-mac> yea ^^
[2009/05/28 12:52:08] <joe-mac> the single option is like nousecacheonfailure or something, it's in puppetd --help
[2009/05/28 12:52:33] <Volcane> puppetd --help is actually helpful :P
[2009/05/28 12:53:07] <GeckoPie> thanks :)
[2009/05/28 12:53:13] <GeckoPie> any idea re the symlink deletion?
[2009/05/28 12:54:18] @ Quit: madrescher: Read error: 113 (No route to host)
[2009/05/28 12:54:23] <Volcane> yeah thats a known thing, its very++ annoying but i doubt you'll get away from that
[2009/05/28 12:55:01] <GeckoPie> uuurg
[2009/05/28 12:55:05] <Volcane> you should set confdir to where you want on the daemon startup
[2009/05/28 12:55:12] <Volcane> to move it rather than symlinks etc
[2009/05/28 12:55:35] <Volcane> whats wrong with /etc/puppet being a dir?
[2009/05/28 12:56:31] <GeckoPie> That requires tampering with the default ubuntu init.d script, which I'd rather not do. I'm not using /etc/puppet as I checkout all my svn repos to a central location on my machine...I was symlinking /etc/puppet to there. Obviously thats not going to be possible however so I'll have to dupe up a few files and checkout in /etc/puppet
[2009/05/28 12:56:55] <Volcane> what files? puppet.conf or others?
[2009/05/28 12:56:59] @ Quit: bobbyz: Read error: 110 (Connection timed out)
[2009/05/28 12:57:54] <GeckoPie> everything in /etc/puppet I have in an svn repo
[2009/05/28 12:57:57] <agaffney> GeckoPie: I use SVN for /etc/puppet on my puppetmaster and then use puppet itself to distribute puppet.conf for the clients
[2009/05/28 12:58:10] <joe-mac> affirmative
[2009/05/28 12:58:12] <GeckoPie> Yes, thats what I'm doing
[2009/05/28 12:58:13] <Volcane> yeah++
[2009/05/28 12:58:24] <GeckoPie> Just I don't checkout svn to various different places, I have a central location on my machine
[2009/05/28 12:58:31] @ Quit: MaGicKanGaRoo: Remote closed the connection
[2009/05/28 12:58:31] <GeckoPie> due to one massive repo sharing a load of small projects
[2009/05/28 12:58:36] <GeckoPie> hence I prefer symlink around
[2009/05/28 12:58:39] <Volcane> all that i have from svn is the actual manifests, puppetmaster managesi ts own config
[2009/05/28 12:58:39] <agaffney> /etc/puppet is my SVN checkout on the puppetmaster
[2009/05/28 12:58:39] @ rgsteele||work joined channel #puppet
[2009/05/28 12:58:40] <agaffney> no symlinks
[2009/05/28 12:58:45] <GeckoPie> but doesn't matter, if its not possible I'll checkout in /etc/puppet
[2009/05/28 12:59:30] <agaffney> GeckoPie: you can always put the symlink in that central location and run 'svn up' there
[2009/05/28 13:01:05] <GeckoPie> bah, I could do, thats very backwards though. I'll check dupe things up, doesn't matter
[2009/05/28 13:04:14] @ mfoster joined channel #puppet
[2009/05/28 13:05:22] @ nmalik joined channel #puppet
[2009/05/28 13:07:26] <sigmonsays> Hey, is there a way to get the current class name in manifest?
[2009/05/28 13:07:41] <Volcane> $name on recent puppet versions
[2009/05/28 13:07:57] <sigmonsays> intersting.
[2009/05/28 13:08:02] * sigmonsays checks recent-ness
[2009/05/28 13:08:34] @ Quit: mikepea: Read error: 110 (Connection timed out)
[2009/05/28 13:10:18] @ Quit: kolla: Remote closed the connection
[2009/05/28 13:12:07] @ Quit: nmalik: "leaving"
[2009/05/28 13:12:32] @ alfism joined channel #puppet
[2009/05/28 13:13:42] @ wyvern_gb left channel #puppet ()
[2009/05/28 13:14:15] <Volcane> http://pastie.org/492877
[2009/05/28 13:15:32] @ nmalik joined channel #puppet
[2009/05/28 13:16:39] @ ezmob is now known as ezmob|away
[2009/05/28 13:16:59] @ Quit: MattyM: "ta ta"
[2009/05/28 13:19:00] <plathrop> reductive site not responding for me, FYI
[2009/05/28 13:19:42] <plathrop> andrewcshafer / lak
[2009/05/28 13:19:54] <lak> i'll look into it
[2009/05/28 13:20:13] <plathrop> lak: sure. I only bring it up because my bud in MI says it doesn't work for him either.
[2009/05/28 13:20:18] <andrewcshafer> plathrop: you broke it
[2009/05/28 13:20:29] <lak> plathrop: all three sites seem to work for me (reductivelabs.com, projects.rl.com, and trac)
[2009/05/28 13:20:31] <lak> what's not working?
[2009/05/28 13:21:01] <plathrop> Network timeout to reductivelabs.com - if it works for you I'm prepared to blame something else :-)
[2009/05/28 13:21:32] @ ezmob|away is now known as ezmob
[2009/05/28 13:21:41] <Volcane> yeah works ok, i think maybe one or two worker threads on the server is screwed does take a reload sometimes to get something up
[2009/05/28 13:22:11] <plathrop> andrewcshafer: UCSF has a con venue at their Bakar center: http://campuslifeservices.ucsf.edu/conference/mb/ - supposedly reasonably priced and the location is nice.
[2009/05/28 13:23:03] <andrewcshafer> I sent that link to Luke's sister yesterday. The other place people suggested was the 'Swedish American Hall'
[2009/05/28 13:23:34] <figa> works for me too
[2009/05/28 13:23:40] <lak> that kind of location seems better suited -- hopefully much less spendy
[2009/05/28 13:23:48] <plathrop> andrewcshafer: Yeah. Depending on what the con is *for* you can also try getting in touch with Mitch Kapor, he's got a beautiful space he often lends out to various groups
[2009/05/28 13:24:10] <plathrop> andrewcshafer: I've got contact info for him and his assistant, if you want.
[2009/05/28 13:24:32] <andrewcshafer> what does *for* mean?
[2009/05/28 13:24:34] @ Quit: poison: Remote closed the connection
[2009/05/28 13:24:57] <plathrop> andrewcshafer: He tends to do it for things like humanitarian groups, nonprofits, and open-source organizations.
[2009/05/28 13:25:22] <andrewcshafer> email me the info and I'll pass it on to Gwen.
[2009/05/28 13:25:37] <plathrop> andrewcshafer: will do
[2009/05/28 13:25:41] <figa> hi. do you guys mind if I ask a couple of questions about puppet?
[2009/05/28 13:25:53] <lak> figa: that's what the channel's for :)
[2009/05/28 13:26:00] <figa> ok. nice
[2009/05/28 13:26:01] <lak> plathrop: that would be awesome, if he could get us space
[2009/05/28 13:26:05] <lak> and he'd be a great connection :)
[2009/05/28 13:26:27] <figa> well Im running a puppet master on rhel 4 and clients also on rhel 4
[2009/05/28 13:27:08] <figa> the only way I can get the pupped clients to update and get configuration from the puppet master is if I run it manually with the onetime flag.
[2009/05/28 13:27:25] <figa> what is hte purpose of the rhel pupped service?
[2009/05/28 13:27:58] <figa> I hope my question is clear enough..
[2009/05/28 13:28:46] @ Quit: briandquinn:
[2009/05/28 13:28:46] @ cshields left channel #puppet ()
[2009/05/28 13:30:25] @ mccune joined channel #puppet
[2009/05/28 13:31:58] @ Quit: glaw:
[2009/05/28 13:32:07] @ Quit: zeroXten: Remote closed the connection
[2009/05/28 13:32:47] <figa> anyone?
[2009/05/28 13:34:44] <Volcane> it should update every 30 minutes by default yeah, something must be preventing it
[2009/05/28 13:35:46] <figa> ok I'll keep checking. thanks
[2009/05/28 13:38:49] @ allesmueller2 joined channel #puppet
[2009/05/28 13:47:44] <flashn> hum
[2009/05/28 13:47:52] <flashn> how do I Append nodes? >:]
[2009/05/28 13:48:09] <flashn> node node1 node2 { include bla } doesnt seem to work >:/
[2009/05/28 13:48:32] <flashn> do I need to create a nodes.pp and then import nods into site.pp?
[2009/05/28 13:48:44] <flashn> only so far played around with a single node
[2009/05/28 13:48:47] <lak> flashn: or just put your nodes in site.pp
[2009/05/28 13:48:48] <Volcane> amazingly, the documentation does cover this.
[2009/05/28 13:48:54] <flashn> nope
[2009/05/28 13:48:58] <lak> heh
[2009/05/28 13:48:58] <flashn> not really
[2009/05/28 13:49:01] <Volcane> it does
[2009/05/28 13:49:04] <Volcane> *exact* example
[2009/05/28 13:49:09] <Volcane> language tutorial
[2009/05/28 13:49:39] <flashn> lak. I did that, but appending "node server1 server2" and I got syntax error
[2009/05/28 13:49:47] <Volcane> read the docs.
[2009/05/28 13:49:50] <lak> commas, man; commas
[2009/05/28 13:49:57] <lak> node foo, bar, baz { .. }
[2009/05/28 13:50:17] <Volcane> lak: damnit :P we need to make the best of the fact when the docs are actually useful AND the wiki is up at the same time :P
[2009/05/28 13:50:38] <lak> Volcane: eh, i'm a big fan of quick help when possible
[2009/05/28 13:51:02] <Volcane> sure, i agree usually, but pointing to the exact doc that answers the question is quite valuable too
[2009/05/28 13:51:13] <flashn> yeah Id appreciate a pointer to the docs >:]
[2009/05/28 13:51:14] <lak> sorry, i didn't see a link :)
[2009/05/28 13:51:16] * jmslagle looks at module to do ant builds
[2009/05/28 13:51:17] <Volcane> i mean i could say, 'read the docs' instead of 'read the language tutorial it has a full example'
[2009/05/28 13:51:26] <Volcane> wiki:LanguageTutorial
[2009/05/28 13:51:28] <gepetto> Volcane: wiki: wiki:LanguageTutorial is http://reductivelabs.com/trac/puppet/wiki/LanguageTutorial
[2009/05/28 13:51:29] <lak> that's true, you could
[2009/05/28 13:51:32] <flashn> sweet!
[2009/05/28 13:51:39] @ Quit: andrewcshafer:
[2009/05/28 13:51:39] <lak> bam!
[2009/05/28 13:52:04] <Volcane> also see wiki:TypeReference and wiki:FunctionReference
[2009/05/28 13:52:26] <gepetto> Volcane: wiki:TypeReference is http://reductivelabs.com/trac/puppet/wiki/TypeReference
[2009/05/28 13:52:32] <gepetto> Volcane: wiki:FunctionReference is http://reductivelabs.com/trac/puppet/wiki/FunctionReference
[2009/05/28 13:52:37] @ Quit: allesmue1ler2: Read error: 110 (Connection timed out)
[2009/05/28 13:52:58] * jmslagle riles lak up randomly.
[2009/05/28 13:53:08] <lak> this week, that'd be hard to do
[2009/05/28 13:53:41] <jmslagle> Hehehehehe
[2009/05/28 13:53:44] <jmslagle> ;)
[2009/05/28 13:54:21] <jmslagle> Going further into my EC2 puppet thingermajig. Puppet seems to always take back burner to other more pressing work when it could make that work easier!.
[2009/05/28 13:55:34] @ Quit: artista_frustrad: "Leaving"
[2009/05/28 13:55:54] @ bobbyz joined channel #puppet
[2009/05/28 13:56:01] <lak> no argument from me
[2009/05/28 13:56:42] <jmslagle> So had a location been finalized for the puppetcon?
[2009/05/28 13:57:05] <lak> city but not specific location
[2009/05/28 13:57:09] <jmslagle> SF?
[2009/05/28 13:57:38] <lak> yeah
[2009/05/28 13:57:43] <jmslagle> Dates set?
[2009/05/28 13:57:53] * jmslagle votes for right before or after oracleworld ;)
[2009/05/28 14:01:27] @ cwebber joined channel #puppet
[2009/05/28 14:03:01] <lak> no dates set yet
[2009/05/28 14:03:02] @ ezmob is now known as ezmob|away
[2009/05/28 14:07:45] @ ezmob|away is now known as ezmob
[2009/05/28 14:08:59] @ Quit: lak:
[2009/05/28 14:18:49] <joe-mac> allt he good stuff happens on the left coast
[2009/05/28 14:22:16] @ Quit: rgsteele||work: Read error: 113 (No route to host)
[2009/05/28 14:22:58] @ Quit: edwardam: Remote closed the connection
[2009/05/28 14:23:57] <flashn> to make sure a service restarts or reloads its configuration whenever it gets updated do I just add subscribe to the SERVICE?
[2009/05/28 14:24:13] <agaffney> other way around
[2009/05/28 14:24:18] <agaffney> have the service subscribe to the File
[2009/05/28 14:24:30] <agaffney> or have the file notify the Service
[2009/05/28 14:25:38] <flashn> ah, I think Ill go with notify => Service["foo"]
[2009/05/28 14:25:53] <flashn> and to add for example graceful instead of restart
[2009/05/28 14:26:14] <flashn> do I have to add a command => to the service or do I have to write a whole new exec?
[2009/05/28 14:28:03] @ rgsteele||work joined channel #puppet
[2009/05/28 14:28:09] <flashn> also need to make sure if a webfarm has to restart due to config update, make sure they wont restart at the same time
[2009/05/28 14:28:20] <flashn> but with a .. 5 min interval or such
[2009/05/28 14:28:35] <flashn> is this doable with the Service module?
[2009/05/28 14:29:18] <grim_radical> the service type won't do that automagically, no
[2009/05/28 14:29:58] <flashn> so whats recommended, adding stuff to service or handle the services with my own module?
[2009/05/28 14:30:24] <grim_radical> well, the inter-machine scheduling feature will be tricky
[2009/05/28 14:30:38] @ ceren joined channel #puppet
[2009/05/28 14:31:04] <flashn> I have a few big and popular sites.. need to sort this out in a good way
[2009/05/28 14:31:27] <grim_radical> so I have a separate tool I use to "broadcast" restarts of key services
[2009/05/28 14:31:43] <grim_radical> and that toolage has a built in staggering restart mechanism
[2009/05/28 14:31:54] <flashn> sounds neat
[2009/05/28 14:32:01] <grim_radical> I just have my stuff set to notify that exec
[2009/05/28 14:32:23] <grim_radical> bbl
[2009/05/28 14:33:16] <flashn> I might go with something more sophisticated since there's some really really complex restarts, where you have to take down services on different servers in the right order and then start them up again in the right order
[2009/05/28 14:33:58] <flashn> CMS stuff
[2009/05/28 14:35:21] <gepetto> ::trac:: Whos Using Puppet edited by coffeeshake @ http://reductivelabs.com/trac/puppet/wiki/WhosUsingPuppet (by jim@coffeeshake.com)
[2009/05/28 14:36:46] <flashn> ah, might wanna update that one soon I hope >:D
[2009/05/28 14:40:48] @ Quit: jmarki: Remote closed the connection
[2009/05/28 14:45:36] @ matty joined channel #puppet
[2009/05/28 14:48:20] @ bacs joined channel #puppet
[2009/05/28 14:48:48] @ edwardam joined channel #puppet
[2009/05/28 14:49:15] * jmslagle grumbles at yum
[2009/05/28 14:50:29] @ Quit: edwardam: Read error: 104 (Connection reset by peer)
[2009/05/28 14:53:55] @ rasputnik joined channel #puppet
[2009/05/28 14:54:32] @ Quit: rasputnik: Client Quit
[2009/05/28 14:55:13] @ Quit: MrHeavy: Remote closed the connection
[2009/05/28 14:57:51] @ MrHeavy joined channel #puppet
[2009/05/28 14:59:11] @ rasputnik joined channel #puppet
[2009/05/28 14:59:15] @ ezmob is now known as ezmob|away
[2009/05/28 14:59:20] @ devicenull joined channel #puppet
[2009/05/28 14:59:45] @ Quit: rasputnik: Client Quit
[2009/05/28 15:00:11] @ andrewcshafer joined channel #puppet
[2009/05/28 15:00:57] @ edwardam joined channel #puppet
[2009/05/28 15:04:11] @ ezmob|away is now known as ezmob
[2009/05/28 15:12:45] <justindossey> Hey everyone, according to the wiki, the "next" puppet class in Leuven ended /yesterday/ and there's a discount before may 1st
[2009/05/28 15:12:52] <justindossey> looks kind of silly
[2009/05/28 15:14:48] @ Quit: bgupta: Read error: 104 (Connection reset by peer)
[2009/05/28 15:14:55] @ bgupta joined channel #puppet
[2009/05/28 15:18:29] @ fujin joined channel #puppet
[2009/05/28 15:21:22] @ Quit: fujin: Client Quit
[2009/05/28 15:22:58] @ Quit: raphink: Read error: 113 (No route to host)
[2009/05/28 15:25:17] <joe-mac> justindossey: ping lak or andrewcshafer... since lak is gone maybe andrew knows
[2009/05/28 15:26:10] <andrewcshafer> joe-mac and justindossey, I'm fixing it now.
[2009/05/28 15:26:28] <justindossey> andrewcshafer: thanks
[2009/05/28 15:26:44] <justindossey> it matters when I'm showing your site to my boss
[2009/05/28 15:30:11] @ ezmob is now known as ezmob|away
[2009/05/28 15:35:05] <figa> arrrg. Red Hat's facter packages from epel repos have a bug that prevent the puppet daemon from updating/getting the catalog
[2009/05/28 15:35:24] @ Quit: mfoster: "Leaving."
[2009/05/28 15:37:13] <ricky> figa: kanarip maintains that package, you can probably find him on #fedora-devel if you want to ask him about it
[2009/05/28 15:37:32] <ricky> Or a bug report would be appreciated if he's not around :-)
[2009/05/28 15:38:01] * ricky hasn't been having any problems with the epel packages though
[2009/05/28 15:38:46] @ lak joined channel #puppet
[2009/05/28 15:41:20] @ nakano is now known as nakano_
[2009/05/28 15:44:06] @ Quit: nmalik: "leaving"
[2009/05/28 15:44:12] <figa> ricky: I'm trying to recompile the package with 1.5.5, once I am sure that fixes it, Ill definitely try to report a bug
[2009/05/28 15:44:18] @ nmalik joined channel #puppet
[2009/05/28 15:44:36] <ricky> figa: Cool, thanks a lot
[2009/05/28 15:45:17] <figa> no problem
[2009/05/28 15:51:09] @ nasrat joined channel #puppet
[2009/05/28 15:51:26] <figa> Oh yeah!! Rebuilt the rpm package with 1.5.5 and puppet is working nicely. Well at least I can see it doing the catalog runs.
[2009/05/28 16:06:29] @ Quit: edwardam: Remote closed the connection
[2009/05/28 16:07:06] @ ezmob|away is now known as ezmob
[2009/05/28 16:07:16] @ nasrat_ joined channel #puppet
[2009/05/28 16:07:57] @ Quit: ceren:
[2009/05/28 16:09:22] <plathrop> lak: Thank you for puppet logging.
[2009/05/28 16:09:39] <lak> i *knew* i should have made that a commercial add-on
[2009/05/28 16:09:40] <lak> :)
[2009/05/28 16:09:40] <plathrop> lak: It's *incredibly* rich and so nice to write one-liners agains.
[2009/05/28 16:09:46] <lak> really?
[2009/05/28 16:09:50] <plathrop> Yes, really.
[2009/05/28 16:09:50] <lak> huh, cool
[2009/05/28 16:10:04] <plathrop> See my twitter feed for a doozy that saved me a bit of time.
[2009/05/28 16:10:04] <lak> what kind of stuff are you extracting?
[2009/05/28 16:10:07] @ ceren_ joined channel #puppet
[2009/05/28 16:11:00] <plathrop> lak: Usually I grep for a certain error and pull the node name out so I can take action to resolve the errors when the platform makes it hard/impossible for puppet to fix those errors.
[2009/05/28 16:11:19] <nasrat_> plathrop: you @plathrop on twitter?
[2009/05/28 16:11:26] <plathrop> nasrat_: @greytalyn
[2009/05/28 16:11:46] @ figa left channel #puppet ("Konversation terminated!")
[2009/05/28 16:12:29] <plathrop> lak: But we've also used it to ask and answer questions like "How many hosts checked in in the last hour?" "What changes were applied between $TIMEA and $TIMEB?"
[2009/05/28 16:12:37] <plathrop> heh
[2009/05/28 16:12:39] @ edwardam joined channel #puppet
[2009/05/28 16:12:50] <sigmonsays> yah, the log format rules. I had a semi easy time parsing and summarizing .yaml logs ;)
[2009/05/28 16:12:52] <plathrop> several twitter followers! Welcome! I'm boring.
[2009/05/28 16:12:55] <MrHeavy> Are there any up-to-date OpenSolaris repositories for Puppet, or is it still recommended practice to install from rubygems?
[2009/05/28 16:13:34] <lak> heh
[2009/05/28 16:13:57] <lak> plathrop: i could have sworn i was following you before, but i must have dropped you on one of my "it's all too damn much!" days
[2009/05/28 16:14:26] <plathrop> lak: Yeah, I go through those periodically. I wouldn't blame ya for un-following (see above comment re: boring) :-P
[2009/05/28 16:14:56] <tmz> ricky: figures I missed figa talking about facter in epel. 1.5.5 is already in epel-testing, fwiw.
[2009/05/28 16:15:08] <nasrat_> tmz: cool
[2009/05/28 16:15:24] <ricky> tmz: Ah, I should have mentioned you as well :-) Thanks for the fast response
[2009/05/28 16:15:49] @ Innocenti joined channel #puppet
[2009/05/28 16:16:30] <nasrat_> I've not heard much in the way of interest in the MA puppet meet, maybe it's a sign :)
[2009/05/28 16:17:56] <zirpu> how close is 0.25.0 to rc1?
[2009/05/28 16:20:29] <zirpu> i'm trying to decide whether to upgrade from 0.24.7 to 0.24.8, or wait for 0.25.0
[2009/05/28 16:20:52] <joe-mac> nasrat MA as in mass?
[2009/05/28 16:20:54] <joe-mac> i am in boston
[2009/05/28 16:20:55] <plathrop> zirpu: I recommend the upgrade.
[2009/05/28 16:20:55] <joe-mac> i would go
[2009/05/28 16:21:04] <tmz> zirpu: 0.24.8 has a number of fixes over 0.24.7, so it's worth updating.
[2009/05/28 16:21:30] <zirpu> ok. thanks.
[2009/05/28 16:22:25] <GeckoPie> Does the puppetmaster need to be restarted when a manifest change is made?
[2009/05/28 16:22:27] <nasrat_> joe-mac: yeah I was thinking of Cambridge Brewery Company
[2009/05/28 16:22:36] <nasrat_> feel free to reply on list :)
[2009/05/28 16:22:41] @ veritas_aequitas joined channel #puppet
[2009/05/28 16:22:54] <joe-mac> nasrat_: are you at harvard?
[2009/05/28 16:23:05] @ Quit: nasrat: Read error: 110 (Connection timed out)
[2009/05/28 16:23:07] <nasrat_> joe-mac: no I'm in London
[2009/05/28 16:23:10] @ nasrat_ is now known as nasrat
[2009/05/28 16:23:39] <joe-mac> ok i'm confused now
[2009/05/28 16:23:44] <nasrat> however I used to live in Somerville for a few years and am back visiting for a week in June
[2009/05/28 16:23:52] <nasrat> so I'm trying to herd geeks
[2009/05/28 16:23:55] <joe-mac> o i c, SCUMMAVILLE
[2009/05/28 16:24:05] <joe-mac> i am from lowell, idk if you know where that is
[2009/05/28 16:24:25] <nasrat> yeah work used to be Westford
[2009/05/28 16:25:09] <joe-mac> rh?
[2009/05/28 16:25:28] <nasrat> yeah
[2009/05/28 16:25:30] <joe-mac> or big blue
[2009/05/28 16:25:38] <joe-mac> ah, yeai worked at rh... when did you leave?
[2009/05/28 16:25:45] <nasrat> lets take it to pm
[2009/05/28 16:25:48] <joe-mac> k
[2009/05/28 16:26:06] @ Quit: ceren_:
[2009/05/28 16:27:19] @ ceren_ joined channel #puppet
[2009/05/28 16:27:34] <sigmonsays> GeckoPie, normally no. If you make syntax errors. *sometimes* on older versions
[2009/05/28 16:28:26] @ alexs____ joined channel #puppet
[2009/05/28 16:31:34] <GeckoPie> thanks sigmonsays
[2009/05/28 16:34:23] @ nasrat_ joined channel #puppet
[2009/05/28 16:35:53] <sigmonsays> np
[2009/05/28 16:36:29] @ Quit: pleemans: Read error: 110 (Connection timed out)
[2009/05/28 16:38:10] @ alexs____ left channel #puppet ()
[2009/05/28 16:47:53] @ joe-mac left channel #puppet ()
[2009/05/28 16:50:55] @ Quit: nasrat: Read error: 110 (Connection timed out)
[2009/05/28 16:51:09] @ mfournier joined channel #puppet
[2009/05/28 16:51:19] <Volcane> phew, ruby's Build gem is pretty sweet for making xml
[2009/05/28 16:51:20] <Volcane> hate mxl
[2009/05/28 16:51:21] <Volcane> xml
[2009/05/28 16:52:30] @ mfoster joined channel #puppet
[2009/05/28 16:53:33] @ elo11 joined channel #puppet
[2009/05/28 16:54:45] @ nakano_ is now known as nakano
[2009/05/28 16:55:23] @ nakano is now known as nakano_
[2009/05/28 16:57:57] @ cwebber_ joined channel #puppet
[2009/05/28 16:58:10] @ nasrat joined channel #puppet
[2009/05/28 16:58:41] @ Quit: rgsteele||work: Remote closed the connection
[2009/05/28 17:04:03] @ poison joined channel #puppet
[2009/05/28 17:07:05] @ Quit: ceren_:
[2009/05/28 17:10:53] @ Quit: cwebber: Read error: 110 (Connection timed out)
[2009/05/28 17:11:07] @ Quit: bgupta: Read error: 104 (Connection reset by peer)
[2009/05/28 17:11:31] @ bgupta joined channel #puppet
[2009/05/28 17:16:25] @ nakano_ is now known as nakano
[2009/05/28 17:20:08] @ Quit: matty:
[2009/05/28 17:21:44] @ Quit: nasrat_: Read error: 110 (Connection timed out)
[2009/05/28 17:25:42] @ Quit: fsweetser: Remote closed the connection
[2009/05/28 17:26:00] @ plathrop is now known as plathrop-away
[2009/05/28 17:29:11] @ fsweetser joined channel #puppet
[2009/05/28 17:30:27] @ mikepea joined channel #puppet
[2009/05/28 17:34:28] @ madrescher joined channel #puppet
[2009/05/28 17:34:42] @ Quit: nmalik: "leaving"
[2009/05/28 17:34:44] @ claymation joined channel #puppet
[2009/05/28 17:39:07] @ Quit: Thorhs: "leaving"
[2009/05/28 17:42:16] @ Quit: mikepea:
[2009/05/28 17:45:03] @ matty joined channel #puppet
[2009/05/28 17:45:04] @ Quit: madrescher: Read error: 104 (Connection reset by peer)
[2009/05/28 17:45:44] @ Quit: matty: Client Quit
[2009/05/28 17:46:16] @ Quit: erm_: Read error: 110 (Connection timed out)
[2009/05/28 17:46:29] <hMz> how do i get puppet to refresh after downloading new plugins?
[2009/05/28 17:46:53] <nwp> OK, I need some suggestions -- I have a define that runs a command in an exec
[2009/05/28 17:47:05] <nwp> the define is passed a username, and the command creates a file in that user's home dir
[2009/05/28 17:47:22] @ madrescher joined channel #puppet
[2009/05/28 17:47:23] <nwp> what I need is a way of specifying a "creates" for the exec that covers that file
[2009/05/28 17:48:41] @ mikepea joined channel #puppet
[2009/05/28 17:49:40] @ Quit: cwebber_:
[2009/05/28 17:50:23] <nwp> but I can't see a way of getting $user's home dir to put into the creates parameter
[2009/05/28 17:51:25] <Volcane> nwp: maybe use unless or onlyif and a bit of shell to verify it?
[2009/05/28 17:52:18] <nwp> the whole point is to avoid shelling out - I could just include something in the script that is being run, but I don't want to be exec-ing shells unnecessarily, nor filling up the logs
[2009/05/28 17:52:25] <Volcane> nods :(
[2009/05/28 17:52:38] <nwp> I suppose I could stick something into facter, but...
[2009/05/28 17:52:39] <Volcane> doubt theres a way for puppet to know where homedirs are
[2009/05/28 17:52:43] <Volcane> other than facts
[2009/05/28 17:53:39] @ kambiz is now known as kambiz_away
[2009/05/28 17:53:49] @ grey- joined channel #puppet
[2009/05/28 17:56:20] <sigmonsays> How do I have a service getting refreshed from 3 deps when i know i only have one
[2009/05/28 17:56:38] <sigmonsays> does a single resource trigger a refresh many times?
[2009/05/28 17:57:04] <Volcane> even if i have 20 files notifying a service it only restarts the service once
[2009/05/28 18:00:11] <sigmonsays> right, but the counters is what i'm concerned with
[2009/05/28 18:00:15] @ Quit: thatch_: "leaving"
[2009/05/28 18:00:20] <sigmonsays> triggering refresh from 3 deps
[2009/05/28 18:00:28] <sigmonsays> then it only refreshes once (of course)
[2009/05/28 18:00:35] <Volcane> donno, gotta see your output from --test
[2009/05/28 18:01:12] <sigmonsays> it appears "mode" and "file contents" changing trigger it twice
[2009/05/28 18:01:22] <sigmonsays> but the refresh only happens once
[2009/05/28 18:01:24] @ Quit: lak:
[2009/05/28 18:01:29] <Volcane> yeah thats right
[2009/05/28 18:01:47] <sigmonsays> makes sense, just suprised me to see the number higher than 1
[2009/05/28 18:02:45] @ Quit: ssm: Read error: 61 (Connection refused)
[2009/05/28 18:03:12] @ Quit: Josh_M: Read error: 104 (Connection reset by peer)
[2009/05/28 18:03:17] @ Djelibeybi joined channel #puppet
[2009/05/28 18:03:23] @ Quit: mikepea: Read error: 104 (Connection reset by peer)
[2009/05/28 18:03:56] @ Josh_M joined channel #puppet
[2009/05/28 18:06:26] @ andrewcshafer_ joined channel #puppet
[2009/05/28 18:06:30] @ Quit: CoolCold: Remote closed the connection
[2009/05/28 18:11:08] @ jantman joined channel #puppet
[2009/05/28 18:12:16] @ jantman left channel #puppet ()
[2009/05/28 18:13:57] @ Quit: andrewcshafer: Read error: 110 (Connection timed out)
[2009/05/28 18:14:46] @ CoolCold joined channel #puppet
[2009/05/28 18:17:34] @ Quit: kjetilho: Read error: 110 (Connection timed out)
[2009/05/28 18:26:52] @ shake-n-bake joined channel #puppet
[2009/05/28 18:30:54] <nasrat> jamesturnbull: if I'm fiddling in virtual.rb do you want a big monolithic patch or step by step refactoring?
[2009/05/28 18:35:00] @ Quit: grey-: "bbias"
[2009/05/28 18:36:28] @ grey- joined channel #puppet
[2009/05/28 18:36:42] @ bacs left channel #puppet ("Konversation terminated!")
[2009/05/28 18:37:19] @ fbe joined channel #puppet
[2009/05/28 18:38:35] @ nakano is now known as nakano_
[2009/05/28 18:42:12] @ Quit: bobbyz: Connection timed out
[2009/05/28 18:42:25] @ Quit: jsm: "Leaving."
[2009/05/28 18:45:44] @ Quit: nasrat:
[2009/05/28 18:49:52] @ ceren_ joined channel #puppet
[2009/05/28 18:51:32] @ Quit: poison: Remote closed the connection
[2009/05/28 18:52:42] @ mib_143igi joined channel #puppet
[2009/05/28 18:53:39] @ Quit: mib_143igi: Client Quit
[2009/05/28 19:01:36] @ nakano_ is now known as nakano
[2009/05/28 19:01:40] @ nakano is now known as nakano_
[2009/05/28 19:01:54] <sigmonsays> damn guys. my catalog takes 45 sec on avg
[2009/05/28 19:02:52] <Djelibeybi> sigmonsays: to generate or run?
[2009/05/28 19:02:56] <sigmonsays> to run
[2009/05/28 19:03:13] <sigmonsays> something I never paid attention to. But now that I got centralized stats I see it's worse than I expected
[2009/05/28 19:03:18] <sigmonsays> i already got 8 mongrels ;)
[2009/05/28 19:03:26] <Djelibeybi> sigmonsays: heh, that'd be really quick for me. Most of my machines take about 2 minutes to run a full catalog.
[2009/05/28 19:03:28] <sigmonsays> might be time to finally run a seperate file server
[2009/05/28 19:03:41] <sigmonsays> use stored configs?
[2009/05/28 19:03:45] <Djelibeybi> Nope.
[2009/05/28 19:03:52] <sigmonsays> damn dude, what u do!
[2009/05/28 19:03:53] <Djelibeybi> I just do a LOT of augeas checking
[2009/05/28 19:03:55] <sigmonsays> ah
[2009/05/28 19:03:56] <sigmonsays> heh
[2009/05/28 19:04:13] <Djelibeybi> It's lots and lots of Oracle/WebLogic servers and DBAs who need to be kept in check.
[2009/05/28 19:04:14] <grim_radical> file resources in 0.24.x are notoriously slow, as well
[2009/05/28 19:04:38] <grim_radical> however, 0.25.x improves this a *ton*
[2009/05/28 19:04:40] <Djelibeybi> Though, if there are no changes, it'll run in about 70-90 seconds
[2009/05/28 19:04:53] <sigmonsays> right, mine run in this time
[2009/05/28 19:09:36] @ ezmob is now known as ezmob|away
[2009/05/28 19:11:27] <justindossey> why is reductivelabs.com so slow?
[2009/05/28 19:12:27] <justindossey> It takes long enough to respond that I incorporate reading documentation into my workflow-- click a link, go do something, come back, see if the page loaded, if so, click another link...
[2009/05/28 19:12:29] <flashn> is there already a tool for doing instant checking? like from the master running a script that checks the manifests and ssh to concerning nodes and runs a one-time check if the ordinary check wont occure withing lets say 1 minute
[2009/05/28 19:16:27] @ Quit: fbe: Remote closed the connection
[2009/05/28 19:17:18] <jbk> hmm.. how can you conditionally define a parameter to a type?
[2009/05/28 19:18:36] <jbk> in a definition, i'm creating a user, but depending on some other settings, i don't always want to manage the password
[2009/05/28 19:19:50] <grim_radical> user { "foobar": ... }
[2009/05/28 19:20:11] <grim_radical> if $should_manage_password { User["foobar"] { password => "blah" } }
[2009/05/28 19:20:35] <grim_radical> needs to be within the same class (or a subclass) for this to work
[2009/05/28 19:21:00] @ Quit: ceren_:
[2009/05/28 19:22:26] @ ceren joined channel #puppet
[2009/05/28 19:26:28] <jbk> ahh thanks..
[2009/05/28 19:26:45] @ ezmob|away is now known as ezmob
[2009/05/28 19:32:06] @ Quit: aymerick:
[2009/05/28 19:32:43] @ Quit: edwardam: Read error: 104 (Connection reset by peer)
[2009/05/28 19:33:40] <sigmonsays> got a strange issue I see
[2009/05/28 19:33:49] <sigmonsays> I have a define like this define blah ( $var = $some_global)
[2009/05/28 19:34:46] <sigmonsays> now if $some_global is in two classes, A and B. then B inherits A, and overriding in B like Blah["xyz"] { } does nothing
[2009/05/28 19:35:27] <sigmonsays> it's like $some_global in A is always being used
[2009/05/28 19:37:24] @ Quit: mfoster: "Leaving."
[2009/05/28 19:39:18] @ Quit: mccune: "Leaving."
[2009/05/28 19:58:25] @ rasputnik joined channel #puppet
[2009/05/28 20:02:49] @ Quit: alfism: "http://opensolaris.com/"
[2009/05/28 20:06:12] @ Quit: mfournier: Read error: 113 (No route to host)
[2009/05/28 20:10:11] @ Quit: rasputnik: "Leaving"
[2009/05/28 20:13:42] @ blahdeblah joined channel #puppet
[2009/05/28 20:14:09] @ blahdeblah left channel #puppet ()
[2009/05/28 20:19:41] @ |ntegra| joined channel #puppet
[2009/05/28 20:33:23] @ Quit: hessmll: "Leaving..."
[2009/05/28 20:36:35] @ Quit: agaffney: Read error: 104 (Connection reset by peer)
[2009/05/28 20:38:07] @ Quit: madrescher: "Leaving."
[2009/05/28 20:41:38] @ agaffney joined channel #puppet
[2009/05/28 20:43:19] @ Quit: ezmob: "Bye!"
[2009/05/28 20:52:05] @ notbrien joined channel #puppet
[2009/05/28 20:54:00] @ Quit: elo11: Read error: 110 (Connection timed out)
[2009/05/28 20:54:23] @ Quit: |ntegra|: "Leaving."
[2009/05/28 21:04:15] <jbk> hmm if I have $foo = [ a, b, c, d ]
[2009/05/28 21:04:43] <jbk> define bar($val) { type { $name: param => $val } }
[2009/05/28 21:05:15] <jbk> and want to do bar { $foo: } is ther a way for each instance created to set it to the value of $foo
[2009/05/28 21:05:46] <jbk> i.e. equiv to bar { a: param => a } bar { b: param => b } etc.
[2009/05/28 21:07:38] @ Quit: justindossey: Read error: 60 (Operation timed out)
[2009/05/28 21:09:26] @ Quit: shake-n-bake: Read error: 110 (Connection timed out)
[2009/05/28 21:14:25] @ Quit: ceren:
[2009/05/28 21:23:11] @ ohadlevy joined channel #puppet
[2009/05/28 21:23:29] <jbk> anyone use the zone type w/ multiple ip addresses in a zone?
[2009/05/28 21:28:54] @ edwardam joined channel #puppet
[2009/05/28 21:35:36] <ohadlevy> is a '-' char is illegal in class name?
[2009/05/28 21:35:52] <ohadlevy> I'm trying to access a variable $my-class:var and it doesnt work
[2009/05/28 21:36:00] <ohadlevy> $my-class::var
[2009/05/28 21:38:39] @ Quit: Innocenti: Read error: 110 (Connection timed out)
[2009/05/28 21:41:32] @ allesmue1ler2 joined channel #puppet
[2009/05/28 21:45:20] @ devicenull_ joined channel #puppet
[2009/05/28 21:45:53] @ Quit: nigelk:
[2009/05/28 21:56:35] @ Quit: allesmueller2: Read error: 110 (Connection timed out)
[2009/05/28 22:07:13] @ Quit: devicenull: Read error: 110 (Connection timed out)
[2009/05/28 22:12:59] @ garin_ joined channel #puppet
[2009/05/28 22:14:42] @ Quit: WALoeIII: No route to host
[2009/05/28 22:18:40] @ poison joined channel #puppet
[2009/05/28 22:23:49] @ incommon_ike joined channel #puppet
[2009/05/28 22:30:11] @ drmikecrowe_ joined channel #puppet
[2009/05/28 22:33:37] @ WALoeIII joined channel #puppet
[2009/05/28 22:38:00] @ PaulWay joined channel #puppet
[2009/05/28 22:38:06] <PaulWay> Hi all!
[2009/05/28 22:38:18] @ Quit: edwardam: Read error: 110 (Connection timed out)
[2009/05/28 22:38:36] <PaulWay> jamesturnbull: I'm trying to work out how to put that custom fact in from the docs at http://reductivelabs.com/trac/puppet/wiki/PluginsInModules but I'm finding it's a bit over my head.
[2009/05/28 22:44:16] @ nigelk joined channel #puppet
[2009/05/28 22:48:38] @ chip__ joined channel #puppet
[2009/05/28 22:50:20] <PaulWay> Also, I've been checking that localconfig.yaml gets updated regularly but now on some servers it seems to be unchanged for many hours even though puppet is running normally.
[2009/05/28 22:50:28] <PaulWay> Is this something new in puppet?
[2009/05/28 22:50:35] <PaulWay> or the indication that something's going wrong?
[2009/05/28 22:51:58] @ edwardam joined channel #puppet
[2009/05/28 22:57:31] @ Quit: mikearr: Read error: 110 (Connection timed out)
[2009/05/28 22:57:53] @ mikearr joined channel #puppet
[2009/05/28 23:04:57] @ Quit: atlan_: Read error: 110 (Connection timed out)
[2009/05/28 23:07:10] @ devicenull_ is now known as devicenull
[2009/05/28 23:14:28] @ fujin joined channel #puppet
[2009/05/28 23:21:06] @ gebi_ joined channel #puppet
[2009/05/28 23:21:37] @ Quit: gebi: Read error: 60 (Operation timed out)
[2009/05/28 23:30:39] <PaulWay> The log definitely says the last run was finished.
[2009/05/28 23:30:50] <PaulWay> And yet the lock file still exists.
[2009/05/28 23:31:32] <PaulWay> The last run took 13.20 seconds and running puppetd -tov from the command line complains about the lock file much quicker than that.
[2009/05/28 23:32:05] <PaulWay> This is on only one host, BTW, so I'm assuming that something is wrong on that host rather than with the whole puppet system.
[2009/05/28 23:32:10] <PaulWay> (Well, two hosts.)
[2009/05/28 23:57:31] @ Quit: d3vilb0x:

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