Friday, 2011-11-18

[2011/11/18 00:00:39] @ Log started by gepetto
[2011/11/18 00:00:39] @ tremble joined channel #puppet
[2011/11/18 00:00:40] @ Quit: tremble: Changing host
[2011/11/18 00:00:40] @ tremble joined channel #puppet
[2011/11/18 00:00:55] @ Quit: beddari: Quit: beddari
[2011/11/18 00:01:25] @ Quit: bmahe: Quit: Leaving
[2011/11/18 00:03:47] @ rcrowley joined channel #puppet
[2011/11/18 00:06:20] @ jongrocho joined channel #puppet
[2011/11/18 00:06:34] @ lkoranda joined channel #puppet
[2011/11/18 00:07:11] @ Ebron joined channel #puppet
[2011/11/18 00:09:47] @ raphdg joined channel #puppet
[2011/11/18 00:09:48] <ralfgro> is there any reason that puppet-dashboard's apt repository is outdated?
[2011/11/18 00:09:56] <ralfgro> http://apt.puppetlabs.com/ubuntu/pool/main/p/puppet-dashboard/
[2011/11/18 00:10:37] @ larstobi joined channel #puppet
[2011/11/18 00:11:02] <ralfgro> I know I can download the debian package from http://downloads.puppetlabs.com/dashboard/ and install it with dpkg, but is there any reason the repository only has old versions?
[2011/11/18 00:12:20] @ ckauhaus joined channel #puppet
[2011/11/18 00:12:36] @ Ramonster joined channel #puppet
[2011/11/18 00:12:43] @ MattyM joined channel #puppet
[2011/11/18 00:14:05] @ Quit: mu574n9: Ping timeout: 258 seconds
[2011/11/18 00:14:22] @ Quit: KaiserBeto: Quit: Leaving.
[2011/11/18 00:14:44] @ Quit: KaZeR_W: Remote host closed the connection
[2011/11/18 00:14:52] @ mu574n9 joined channel #puppet
[2011/11/18 00:15:17] @ mu574n9 is now known as Guest34815
[2011/11/18 00:17:10] @ Quit: nevyn: Read error: Operation timed out
[2011/11/18 00:17:24] @ nevyn joined channel #puppet
[2011/11/18 00:21:04] @ Quit: kolla: Remote host closed the connection
[2011/11/18 00:24:07] <haus> ralfgro: open an issue at http://projects.puppetlabs.com/projects/puppet-community-pkg-repo ?
[2011/11/18 00:25:11] @ ezryx joined channel #puppet
[2011/11/18 00:26:14] @ matchaw joined channel #puppet
[2011/11/18 00:26:19] @ dj__ joined channel #puppet
[2011/11/18 00:28:08] <haus> ralfgro: i opened an issue at http://projects.puppetlabs.com/issues/10930 if you want to follow it
[2011/11/18 00:29:10] @ KaZeR_W joined channel #puppet
[2011/11/18 00:29:51] @ Quit: fenris02: Ping timeout: 260 seconds
[2011/11/18 00:35:00] @ Quit: Gwayne: Quit: +++ OK ATH OK
[2011/11/18 00:35:55] @ trickyf joined channel #puppet
[2011/11/18 00:36:33] @ Quit: abetterlie: Ping timeout: 252 seconds
[2011/11/18 00:36:58] <ralfgro> http://projects.puppetlabs.com/issues/10931
[2011/11/18 00:37:07] <ralfgro> damn, too slow
[2011/11/18 00:37:26] <ralfgro> but thx for the effort
[2011/11/18 00:37:50] @ pieter_ joined channel #puppet
[2011/11/18 00:37:54] <ralfgro> neede some time to remember my password
[2011/11/18 00:38:43] <magicaltrout> oh so deb packages get help but my problem doesn't?! ;)
[2011/11/18 00:38:58] <magicaltrout> ralfgro: you could always host your own debian repo for internal stuff, thats not too tricky to setup
[2011/11/18 00:39:33] @ Quit: mpdude: Remote host closed the connection
[2011/11/18 00:42:20] <ralfgro> magicaltrout: I know, but then apt.puppetlabs.com should be removed completely
[2011/11/18 00:42:37] @ Quit: sarkis_: Ping timeout: 240 seconds
[2011/11/18 00:42:56] <magicaltrout> ralfgro: you clearly searched more than I, i didn't even realise there was a repo with something relatively up to date on :)
[2011/11/18 00:43:21] @ jonhattan joined channel #puppet
[2011/11/18 00:44:03] <ralfgro> RTFM http://docs.puppetlabs.com/dashboard/manual/1.2/bootstrapping.html#installing-puppet-dashboard ;)
[2011/11/18 00:44:16] @ AshishH joined channel #puppet
[2011/11/18 00:46:42] <KaZeR_W> i believe there's a typo here : http://puppetlabs.com/blog/facter-part-2-testing-and-deployment/ in the confine example. how should i report it?
[2011/11/18 00:46:49] @ Quit: jongrocho: Remote host closed the connection
[2011/11/18 00:47:41] @ jaydg joined channel #puppet
[2011/11/18 00:48:21] <KaZeR_W> (typo as in confusing example :) )
[2011/11/18 00:48:56] <haus> ralfgro: want me to mark mine as a dupe of yours?
[2011/11/18 00:49:23] @ Quit: rcrowley: Quit: Computer has gone to sleep.
[2011/11/18 00:51:13] @ Quit: jsm: Quit: jsm
[2011/11/18 00:51:18] @ AlecTaylor joined channel #puppet
[2011/11/18 00:51:20] <AlecTaylor> hi
[2011/11/18 00:51:20] <AlecTaylor> I want to model the internal logical structure (i.e. separate table between Stores and Products), as well as the connection between different systems, and the partitioning of these systems, all beginning from an actor. Is BPMN correct for this? - A sample (am I doing it right?): http://i39.tinypic.com/16iut1d.png
[2011/11/18 00:52:07] @ Spads joined channel #puppet
[2011/11/18 00:52:27] <haus> magicaltrout: will adding a require to the File resource help?
[2011/11/18 00:52:59] <magicaltrout> already has one haus
[2011/11/18 00:53:13] <haus> it requires the exec?
[2011/11/18 00:53:27] <magicaltrout> https://github.com/camptocamp/puppet-apache/blob/master/manifests/vhost-ssl.pp
[2011/11/18 00:53:35] <magicaltrout> look at the file call at the bottom of the class
[2011/11/18 00:53:41] <magicaltrout> source => "file://$csrfile"
[2011/11/18 00:53:52] @ Quit: chadh: Ping timeout: 240 seconds
[2011/11/18 00:54:02] <magicaltrout> then you'll find $csrfile is created in exec { "generate-ssl-cert-$name"
[2011/11/18 00:54:32] <magicaltrout> so i can only assume that this used to work, but now puppet has changed its validation process
[2011/11/18 00:55:09] <magicaltrout> or
[2011/11/18 00:55:14] <magicaltrout> i'm missing something blindingly obvious
[2011/11/18 00:55:15] <magicaltrout> :)
[2011/11/18 00:56:05] @ chadh joined channel #puppet
[2011/11/18 00:56:06] <haus> only thing i see is that the $name in that require has no braces
[2011/11/18 00:56:10] <haus> but otherwise it looks sane
[2011/11/18 00:56:44] <magicaltrout> well its certainly not a syntatical issue
[2011/11/18 00:56:50] <haus> right
[2011/11/18 00:56:52] <magicaltrout> I know from commenting out chunks
[2011/11/18 00:57:03] <magicaltrout> err: Could not run Puppet configuration client: Could not retrieve information from source(s)
[2011/11/18 00:57:09] <magicaltrout> before its even tried to run
[2011/11/18 00:57:40] <magicaltrout> so i figured I could move the File into a definition and work around it that way, but it still looks for the File's source
[2011/11/18 00:57:47] <magicaltrout> so i'm properly stumped :)
[2011/11/18 00:58:32] @ Quit: skm: Ping timeout: 244 seconds
[2011/11/18 00:59:07] @ skm joined channel #puppet
[2011/11/18 00:59:18] @ Quit: hkraal: Quit: Leaving
[2011/11/18 01:00:33] <haus> what if you change it to a file() call?
[2011/11/18 01:00:47] <haus> file($csrfile)
[2011/11/18 01:00:49] <haus> er
[2011/11/18 01:00:55] <haus> source => file($csrfile)
[2011/11/18 01:00:59] @ Quit: sumsuch: Quit: sumsuch
[2011/11/18 01:03:47] <magicaltrout> who knows, anythings worth a shot at this point :)
[2011/11/18 01:04:42] <haus> that's a sort of blind stab, as i'm exhausted, but let me know how it goes, i'll try to think it over while i sleep
[2011/11/18 01:05:04] <magicaltrout> hehe
[2011/11/18 01:05:11] <magicaltrout> have a good night haus
[2011/11/18 01:05:27] <haus> likewise magicaltrout
[2011/11/18 01:06:04] @ mpdude joined channel #puppet
[2011/11/18 01:10:40] @ Holocaine joined channel #puppet
[2011/11/18 01:12:00] @ mpdude_ joined channel #puppet
[2011/11/18 01:13:06] @ yann3 joined channel #puppet
[2011/11/18 01:13:45] <yann3> hello! I am having trouble iterating through a hash in a template: http://pastealacon.com/29107 - maybe someone has an idea what I'm doing wrong?
[2011/11/18 01:14:10] @ Quit: mpdude: Ping timeout: 244 seconds
[2011/11/18 01:14:19] <yann3> I get "can't convert String into Integer"
[2011/11/18 01:14:20] @ junaid joined channel #puppet
[2011/11/18 01:15:00] @ sdog joined channel #puppet
[2011/11/18 01:15:03] @ AlecTaylor left channel #puppet ()
[2011/11/18 01:15:46] @ hkraal joined channel #puppet
[2011/11/18 01:15:51] @ Quit: _rosco_: Quit: Leaving
[2011/11/18 01:16:59] @ Quit: skm: Quit: Computer has gone to sleep.
[2011/11/18 01:18:33] @ Quit: oatsport1_: Read error: Connection reset by peer
[2011/11/18 01:21:05] @ Quit: AshishH: Quit: In a day, when you do not come across any problem means you are travelling in a wrong path.
[2011/11/18 01:22:27] @ mogitaff joined channel #puppet
[2011/11/18 01:22:57] @ Quit: madduck: Ping timeout: 244 seconds
[2011/11/18 01:22:58] @ danikov joined channel #puppet
[2011/11/18 01:24:52] @ Quit: flex___: Remote host closed the connection
[2011/11/18 01:25:32] @ Quit: mpdude_: Remote host closed the connection
[2011/11/18 01:26:47] @ Quit: newtMcKerr: Quit: Leaving.
[2011/11/18 01:28:39] @ Quit: pmorillon: Quit: pmorillon
[2011/11/18 01:29:00] @ madduck joined channel #puppet
[2011/11/18 01:29:40] @ oatsport1 joined channel #puppet
[2011/11/18 01:30:04] @ Quit: ricky: Ping timeout: 244 seconds
[2011/11/18 01:31:15] @ EL84 joined channel #puppet
[2011/11/18 01:34:32] @ ricky joined channel #puppet
[2011/11/18 01:34:57] @ ricky is now known as Guest58842
[2011/11/18 01:35:53] @ pmorillon joined channel #puppet
[2011/11/18 01:36:15] @ Quit: xalimar: Ping timeout: 276 seconds
[2011/11/18 01:37:10] @ kolla joined channel #puppet
[2011/11/18 01:39:09] <dcarley> yann3: refresh your paste.
[2011/11/18 01:44:25] <magicaltrout> :(
[2011/11/18 01:44:45] * magicaltrout has no clue how to fix the ordering so this would ever work
[2011/11/18 01:44:48] @ Quit: Razique: Quit: Razique
[2011/11/18 01:44:55] @ Razique joined channel #puppet
[2011/11/18 01:46:32] <yann3> dcarley, ?
[2011/11/18 01:46:51] <yann3> I think I solved it though :)
[2011/11/18 01:47:38] @ Kazuhiro joined channel #puppet
[2011/11/18 01:47:41] <dcarley> yann3: oh, sorry. this one: http://pastealacon.com/29108
[2011/11/18 01:48:13] <dcarley> french pastie confusion.
[2011/11/18 01:51:04] @ Quit: sdog: Ping timeout: 258 seconds
[2011/11/18 01:51:38] @ ken_barber joined channel #puppet
[2011/11/18 01:52:39] @ zorg1 joined channel #puppet
[2011/11/18 01:52:53] @ Quit: zorg1: Remote host closed the connection
[2011/11/18 01:52:56] @ Guest34815 is now known as mu574n9
[2011/11/18 01:53:07] @ Quit: mu574n9: Changing host
[2011/11/18 01:53:07] @ mu574n9 joined channel #puppet
[2011/11/18 01:59:10] @ sdog joined channel #puppet
[2011/11/18 02:00:15] <larstobi> Is there support for using qualified resources as well as qualified variables?
[2011/11/18 02:01:50] <dcarley> larstobi: how do you mean?
[2011/11/18 02:03:26] <larstobi> I mean, I can read a variable in another class like this: $myclass::var. What I would like to do is notify on a service in a different class, like "notify => $myclass::service::httpd" for instance.
[2011/11/18 02:04:01] @ negronjl joined channel #puppet
[2011/11/18 02:05:15] <dcarley> you can abstract it with classes.
[2011/11/18 02:05:26] <dcarley> Volcane probably has the best written description of this: http://www.devco.net/archives/2009/09/28/simple_puppet_module_structure.php
[2011/11/18 02:06:04] <larstobi> okay, so I would instead to "notify => Class["myclass::service"]"
[2011/11/18 02:06:10] <joe-mac> if your servioce is bnamed 'httpd' then notify => Service["httpd"] is enough
[2011/11/18 02:06:16] <joe-mac> you don't need myclass
[2011/11/18 02:06:22] <joe-mac> you'll never include tewo classes with the same service name
[2011/11/18 02:06:25] <joe-mac> that just won't happen
[2011/11/18 02:06:31] <dcarley> larstobi: yep
[2011/11/18 02:06:52] <dcarley> joe-mac: that's a leaky abstraction.
[2011/11/18 02:06:52] @ Quit: bodgit: Ping timeout: 244 seconds
[2011/11/18 02:07:02] <Vide> hi... can I realize a virtual resource only once on runtime with some pupputrun switch?
[2011/11/18 02:07:09] <joe-mac> I don't understand the adhective leaky
[2011/11/18 02:07:13] <joe-mac> adjective even
[2011/11/18 02:07:21] <larstobi> it leaks
[2011/11/18 02:07:25] <joe-mac> haha
[2011/11/18 02:07:28] <larstobi> :)
[2011/11/18 02:07:30] <joe-mac> that made me lawl for some reason
[2011/11/18 02:07:33] <joe-mac> definitely getting late for me
[2011/11/18 02:07:47] <dcarley> joe-mac: one class/module shouldn't need to have knowledge of another class/module's resource names.
[2011/11/18 02:07:47] <larstobi> dcarley: how does that leak?
[2011/11/18 02:08:17] <joe-mac> dcarley: right but what I am saying is if you have a service named 'httpd' in two disparate classes, you can't include both
[2011/11/18 02:08:31] @ bodgit joined channel #puppet
[2011/11/18 02:08:36] <joe-mac> so qualifying a service, I can't see any purpose
[2011/11/18 02:08:40] <dcarley> consider a case where the service names changes depending on the platform. suddenly you've got a handful of places to update.
[2011/11/18 02:08:45] <joe-mac> I typically use tags for that anyways
[2011/11/18 02:09:03] <joe-mac> like if I set up something related to httpd, I'll tag it httpd_config wherever it is
[2011/11/18 02:09:12] <joe-mac> then in the httpd class it sets up a resource chain to notify the httpd service
[2011/11/18 02:09:17] <dcarley> or you need to add another related service. again, you've got to go through your whole codebase, rather than just adding it to a single class.
[2011/11/18 02:10:20] <joe-mac> dcarley: the service name should not ever, ever change based on platform
[2011/11/18 02:10:22] <joe-mac> this is bad practice
[2011/11/18 02:10:35] <joe-mac> ssh is ssh is ssh
[2011/11/18 02:10:44] <joe-mac> you use variables in the service def to modify behavior if you need to
[2011/11/18 02:10:55] <joe-mac> which if you support multiple platforms is obviously going to happen
[2011/11/18 02:10:58] <_rc> joe-mac: think nfs
[2011/11/18 02:11:19] <_rc> nfs is nfsd and portmap, apart from when it's nfsd + some_other_thing
[2011/11/18 02:11:21] <larstobi> joe-mac: but it isn't realistic. Apache is httpd on Suse, RHEL, and apache2 on debian, gentoo, ubuntu
[2011/11/18 02:11:42] <larstobi> using variables is better, yes
[2011/11/18 02:11:44] <joe-mac> larstobi: it's realistic- I support debian, ubuntu, el, and openbsd with one code base
[2011/11/18 02:11:45] <joe-mac> trust me
[2011/11/18 02:11:46] <dcarley> if you mean using different "name" and "title" params; sure, you can do, but i don't have to.
[2011/11/18 02:11:52] <joe-mac> it's doable- and best practice
[2011/11/18 02:12:02] @ mpdude joined channel #puppet
[2011/11/18 02:12:25] <_rc> it's doable, but it requires you know what's inside the classes
[2011/11/18 02:12:30] <joe-mac> wrong
[2011/11/18 02:12:35] <joe-mac> meet parameterized classes
[2011/11/18 02:12:38] <joe-mac> they are your friend
[2011/11/18 02:12:39] <joe-mac> use them
[2011/11/18 02:12:52] <_rc> completely different usecase
[2011/11/18 02:13:18] <joe-mac> howso? you set parameters with defaults based on OS, you just got your per os support, yet you can override that and probably support much more
[2011/11/18 02:13:32] @ emergion joined channel #puppet
[2011/11/18 02:14:01] <_rc> I think what you're not seeing is what may be a single Service resource on one OS, may be 3 Service resources on another
[2011/11/18 02:14:28] @ Quit: Kazuhiro: Quit: Leaving.
[2011/11/18 02:14:39] <_rc> which is why in the class-oriented model, you depend on class::service to say 'all of them, I don't need to know their names'
[2011/11/18 02:15:10] <dcarley> fact is; an unrelated module shouldn't need to know that NFS's service daemons are called nfsd+portmap+nfslock+whateverelse. it just needs to reference nfs::service.
[2011/11/18 02:15:18] <_rc> sure, in the case where one service is just the same service with a different name, then you're correct
[2011/11/18 02:15:47] <joe-mac> _rc: I see this, nfs is a rare exception of anything I manage, that and hadoop I guess but at that point you should create a meta service that depends on some script that does the whole shebang
[2011/11/18 02:15:54] <dcarley> it's an abstraction and no information is leaked between multiple classes/modules.
[2011/11/18 02:15:58] <dcarley> http://en.wikipedia.org/wiki/Leaky_abstraction
[2011/11/18 02:16:08] <joe-mac> interesting, have never heard this term
[2011/11/18 02:16:30] <joe-mac> and then you tag resources when you need to notify from other classes
[2011/11/18 02:16:33] <_rc> it's not even leaky, it's more white box coding
[2011/11/18 02:16:35] <joe-mac> much nicer and only depends on tags
[2011/11/18 02:17:27] <_rc> what if you just call the tag nfs::service, like it implictly done when you stick it in a class
[2011/11/18 02:17:54] <joe-mac> sure that works, though for that specific use case (nfs) I'm note ntirely sure why you would need to notify outside of the class
[2011/11/18 02:18:12] <joe-mac> httpd I find myself doing that more often, graphite and this or that
[2011/11/18 02:20:32] <joe-mac> I find the term leaky abstraction has a leaky definition
[2011/11/18 02:20:43] <joe-mac> # Descend into ssldir, commit update to submodule, then go back up and update
[2011/11/18 02:20:43] <joe-mac> # the parent.
[2011/11/18 02:20:43] <joe-mac> pushd $pupdir >/dev/null 2>&1
[2011/11/18 02:20:43] <joe-mac> pushd $ssldir >/dev/null 2>&1
[2011/11/18 02:20:43] <joe-mac> git add .
[2011/11/18 02:20:43] <joe-mac> git commit -am "Added key(s) for nodes #NOMAIL"
[2011/11/18 02:20:43] <joe-mac> git push
[2011/11/18 02:20:44] <joe-mac> popd >/dev/null 2>&1
[2011/11/18 02:20:44] <joe-mac> git add .
[2011/11/18 02:20:45] <joe-mac> git commit -am "Updated SSL submodule"
[2011/11/18 02:20:45] <joe-mac> git push
[2011/11/18 02:20:46] <joe-mac> popd >/dev/null 2>&1
[2011/11/18 02:20:46] <joe-mac> fuck
[2011/11/18 02:20:47] <joe-mac> my bad
[2011/11/18 02:20:58] <dcarley> that's leaky.
[2011/11/18 02:21:10] <joe-mac> so sorry, buffers in pidgin on os x are retarded
[2011/11/18 02:21:26] <joe-mac> Something as simple as iterating over a large two-dimensional array can have radically different performance if you do it horizontally rather than vertically, depending on the "grain of the wood" -- one direction may result in vastly more page faults than the other direction, and page faults are slow.
[2011/11/18 02:21:51] <joe-mac> this example, I find doesn't match the definition I see- this is more like yea the implementation is hidden, it just might suck
[2011/11/18 02:21:58] <joe-mac> unless I'm just misunderstanding the definition
[2011/11/18 02:22:35] <dcarley> i don't get the relevance of that either. but hey, it's wikipedia.
[2011/11/18 02:22:37] <joe-mac> I do see the NFS/SMB example though
[2011/11/18 02:22:56] <joe-mac> dealing with slow io, you can't truly ignore the implementation details,t hat definitely fits
[2011/11/18 02:23:17] <jim`> Can anyone point me in the right direction - I'm trying to pull a single file from my puppetmaster, client is saying: Could not evaluate: Error 400 on SERVER: Not authorized to call find on /file_metadata/etc/resolv.conf
[2011/11/18 02:23:33] <joe-mac> what's in your auth.conf?
[2011/11/18 02:23:52] @ Quit: purpleidea: Ping timeout: 240 seconds
[2011/11/18 02:24:48] <magicaltrout> can you read the contents of a file into a variable?
[2011/11/18 02:25:12] <joe-mac> magicaltrout: you mean frimo the master?
[2011/11/18 02:25:29] <magicaltrout> that would be too easy ;)
[2011/11/18 02:25:33] <joe-mac> say you want to load /etc/passwd the one that's on the master, you can do content => file("/etc/passwd")
[2011/11/18 02:25:48] <joe-mac> but if you need to load a file from the client into content in some other file on the client, you can't really do that
[2011/11/18 02:25:54] <magicaltrout> :(
[2011/11/18 02:25:57] <joe-mac> I guess you could write a fact to load the file but that is asking for trouble
[2011/11/18 02:26:12] <joe-mac> you run the risk of accidentally loading too much data and getting fucked up errors
[2011/11/18 02:26:35] <codec> any recommendations for a backuppc module?
[2011/11/18 02:26:43] <joe-mac> facter is done in base64 post's unless they fixed that
[2011/11/18 02:26:55] <joe-mac> so it's limited by the max url length
[2011/11/18 02:28:33] <dcarley> magicaltrout: what's the problem you're trying to solve?
[2011/11/18 02:28:57] <larstobi> codec: the one on the forge doesn't seem too bad
[2011/11/18 02:30:10] <magicaltrout> lol, its the only real puppet issue i've ever had and i've been sat here for hours now trying to think up a workaround dcarley, i'm trying to use the camptocamp apache module to create SSL apache vhosts, their SSL module has an Exec type that creates a file, that a File is then supposed to process
[2011/11/18 02:30:22] <magicaltrout> but puppet wont even initialise because the File doesn't exist
[2011/11/18 02:30:41] <magicaltrout> source => "file://$csrfile" <- $csrfile doesn't yet exist
[2011/11/18 02:30:52] <magicaltrout> but the class wont run so it has no chance of being generated
[2011/11/18 02:31:14] <joe-mac> camptocamp still uses files outside of modules? christ
[2011/11/18 02:31:45] <magicaltrout> well its client side self signed SSL certs
[2011/11/18 02:31:46] <joe-mac> soubnds like you just need to put the csr in place on your master
[2011/11/18 02:31:54] <codec> larstobi: the camptocamp module seems better
[2011/11/18 02:32:04] <codec> larstobi: guess i'll have to test both
[2011/11/18 02:32:54] <larstobi> codec: okay, please let me know which you like better, I'm going to use one in a while too
[2011/11/18 02:33:14] <codec> larstobi: will do
[2011/11/18 02:33:18] <larstobi> thanks
[2011/11/18 02:35:03] @ Quit: cosimo: Quit: leaving
[2011/11/18 02:41:10] <magicaltrout> joe-mac: sure, but the CSR depends on the clientside SSL certificate doesn't it, so i don't see how that works either
[2011/11/18 02:41:22] <jim`> bah, after all that troubleshooting I'd screwed up the path
[2011/11/18 02:44:21] @ Quit: lavaman: Ping timeout: 258 seconds
[2011/11/18 02:46:02] <joe-mac> magicaltrout: it's the other way around
[2011/11/18 02:46:15] <joe-mac> you need to create a key and a request
[2011/11/18 02:46:43] <joe-mac> sounds like they're not doing totally "self"-signed
[2011/11/18 02:47:23] <joe-mac> I create all that stuff in the repo then it's served out from there, much easier than trying to chain execs and depend on files and this or that
[2011/11/18 02:47:36] <joe-mac> and if you move servers or need to clone it you can't really
[2011/11/18 02:47:42] <joe-mac> unless you add a manual step of course
[2011/11/18 02:49:14] @ Quit: sdog: Remote host closed the connection
[2011/11/18 02:50:35] @ mpdude_ joined channel #puppet
[2011/11/18 02:53:28] @ lavaman joined channel #puppet
[2011/11/18 02:53:33] @ Quit: mpdude: Ping timeout: 258 seconds
[2011/11/18 02:54:05] @ Quit: hooper: Ping timeout: 252 seconds
[2011/11/18 02:54:11] @ Quit: AvaCam: Quit: Page closed
[2011/11/18 02:54:23] @ emergion_ joined channel #puppet
[2011/11/18 02:55:42] @ Quit: emergion: Ping timeout: 252 seconds
[2011/11/18 02:55:47] @ emergion_ is now known as emergion
[2011/11/18 02:58:04] <Andorka> http://dpaste.com/658545/
[2011/11/18 02:58:07] <Andorka> munin class
[2011/11/18 02:58:10] <Andorka> looks ok? :)
[2011/11/18 02:58:30] <_rc> why not just say what the problem is
[2011/11/18 02:59:12] <_rc> that whole exec can be replaced with an enable => true on the service
[2011/11/18 03:01:19] <Andorka> _rc: in gentoo installing package isnt install init-script to autostart
[2011/11/18 03:01:39] @ MoooookiE joined channel #puppet
[2011/11/18 03:02:41] <MoooookiE> Hello *, is it possible to run a second puppetmaster on a server which have an own configuration directory?
[2011/11/18 03:03:14] <tim|mac> MoooookiE: ofc, you can just pass --configfile to the second instance and make it point to another puppet.conf
[2011/11/18 03:04:01] <MoooookiE> tim|mac: ok, thanks. I try it
[2011/11/18 03:04:11] <_rc> Andorka: yes. that's what enable => true is for; or are you saying it doesn't work correctly on gentoo?
[2011/11/18 03:04:25] @ MartVisser joined channel #puppet
[2011/11/18 03:04:32] <Andorka> i don't know
[2011/11/18 03:04:40] <Andorka> sec, i must read puppet code :)
[2011/11/18 03:05:18] @ Quit: MattyM: Ping timeout: 276 seconds
[2011/11/18 03:05:50] <Andorka> _rc: facepalm :D
[2011/11/18 03:05:53] <Andorka> you are right
[2011/11/18 03:05:54] @ skm joined channel #puppet
[2011/11/18 03:06:54] @ MattyM joined channel #puppet
[2011/11/18 03:07:05] @ yann3 left channel #puppet ("Leaving")
[2011/11/18 03:09:32] @ Quit: Enf: Quit: Leaving
[2011/11/18 03:12:07] <Andorka> _rc: andor@rka ~/.puppet/modules $ git commit -a -m 'using puppet features instead my crutch;'
[2011/11/18 03:12:09] <Andorka> :)
[2011/11/18 03:12:39] @ AshishH joined channel #puppet
[2011/11/18 03:13:28] @ octane- joined channel #puppet
[2011/11/18 03:13:53] <_rc> I'd also put it in it's own module, as the file/template paths make it look like those are all coming from a common module
[2011/11/18 03:14:13] <Andorka> yep
[2011/11/18 03:14:31] <Andorka> i rename class name before pasting
[2011/11/18 03:15:10] <_rc> but you didn't change the resources - content => template('common/munin/munin-node.conf.erb')
[2011/11/18 03:15:32] @ Quit: pmorillon: Quit: pmorillon
[2011/11/18 03:15:37] <Andorka> yea, i understand
[2011/11/18 03:15:42] <Andorka> paths is correct
[2011/11/18 03:16:01] <_rc> in the paste, or in what you have?
[2011/11/18 03:16:31] <Andorka> in real module class name common::munin
[2011/11/18 03:16:41] <_rc> ugh
[2011/11/18 03:16:47] <Andorka> :)
[2011/11/18 03:17:06] <_rc> don't do that, you'll have a big sprawling common module before too long
[2011/11/18 03:17:22] <Andorka> yep, sorry :)
[2011/11/18 03:17:26] <Andorka> and thank you
[2011/11/18 03:17:28] @ Quit: verwilst: Ping timeout: 240 seconds
[2011/11/18 03:18:25] @ Quit: Holocaine:
[2011/11/18 03:18:44] @ Quit: philbert_777: Quit: Depression is merely anger without enthusiasm
[2011/11/18 03:22:32] <matchaw> in a template if I do something like <% if (lsbdistid == "ubuntu") -%> can this be case insensitive
[2011/11/18 03:23:27] <_rc> if lsbdistid.downcase == "ubuntu"
[2011/11/18 03:23:55] <matchaw> _rc thanks!
[2011/11/18 03:30:01] @ dds joined channel #puppet
[2011/11/18 03:30:24] @ Quit: dds_: Ping timeout: 248 seconds
[2011/11/18 03:31:41] @ Quit: ezryx: Remote host closed the connection
[2011/11/18 03:35:38] @ tomle joined channel #puppet
[2011/11/18 03:36:36] @ ezryx joined channel #puppet
[2011/11/18 03:38:14] @ Gwayne joined channel #puppet
[2011/11/18 03:38:15] @ Quit: Gwayne: Changing host
[2011/11/18 03:38:15] @ Gwayne joined channel #puppet
[2011/11/18 03:38:27] <tomle> I'm getting this when I try to deploy a directory with puppet: "Failed to generate additional resources using 'eval_generate': Error 400 on SERVER: Not authorized to call search on /file_metadata/puppet/files/etc/munin/plugins"
[2011/11/18 03:41:12] <_rc> what's the source resource you're using?
[2011/11/18 03:42:20] <_rc> sorry, what's the source parameter on the file resource that you're using?
[2011/11/18 03:42:32] @ Quit: tilgovi: Remote host closed the connection
[2011/11/18 03:45:05] @ verwilst joined channel #puppet
[2011/11/18 03:45:10] <tomle> source => "puppet:///$server/files/etc/munin/plugins"
[2011/11/18 03:47:03] <_rc> and where do you expect that to be mapping to? it seems wonky, but I'm not sure in what way yet
[2011/11/18 03:48:19] <_rc> as it would probably resolve to /etc/puppet/modules/puppet/files/files/etc/munin/plugins
[2011/11/18 03:49:30] @ Quit: Gwayne: Ping timeout: 276 seconds
[2011/11/18 03:51:29] @ Quit: junaid: Quit: Page closed
[2011/11/18 03:51:35] <tomle> I'm not sure why it would map out to that. $server is mapping fine on all my files. Its when I try on directories things go wrong.
[2011/11/18 03:52:19] @ schewara joined channel #puppet
[2011/11/18 03:52:41] <_rc> because you put server after 3 slashes not two
[2011/11/18 03:53:03] <_rc> puppet:/// is more or less the same as puppet://${server}/
[2011/11/18 03:54:11] <_rc> so accepted style is to always just form it as puppet:///modules/module_name/file_from_files
[2011/11/18 03:56:31] @ pmorillon joined channel #puppet
[2011/11/18 03:56:32] <tomle> alright, didn't know that. Thanks _rc! :D - Its working as I expect now.
[2011/11/18 03:59:53] @ Quit: skm: Ping timeout: 244 seconds
[2011/11/18 04:00:19] @ flex___ joined channel #puppet
[2011/11/18 04:00:28] @ skm joined channel #puppet
[2011/11/18 04:01:41] @ Gwayne joined channel #puppet
[2011/11/18 04:10:21] @ Quit: tomle: Quit: Leaving
[2011/11/18 04:10:31] @ Quit: pmorillon: Quit: pmorillon
[2011/11/18 04:12:04] @ cosimo joined channel #puppet
[2011/11/18 04:12:56] @ Quit: emergion: Ping timeout: 244 seconds
[2011/11/18 04:15:14] @ emergion joined channel #puppet
[2011/11/18 04:22:54] @ Quit: Gwayne: Ping timeout: 244 seconds
[2011/11/18 04:25:12] @ p3rror joined channel #puppet
[2011/11/18 04:25:35] @ Gwayne joined channel #puppet
[2011/11/18 04:25:35] @ Quit: Gwayne: Changing host
[2011/11/18 04:25:35] @ Gwayne joined channel #puppet
[2011/11/18 04:26:34] @ londo__ joined channel #puppet
[2011/11/18 04:29:19] @ londo__ is now known as londo_
[2011/11/18 04:31:23] @ Quit: Gwayne: Ping timeout: 252 seconds
[2011/11/18 04:33:23] <erthad> hiall
[2011/11/18 04:33:49] @ Tabletick joined channel #puppet
[2011/11/18 04:34:13] @ Quit: duerF: Quit: Leaving
[2011/11/18 04:34:19] <Tabletick> hi. Anybody here who manages http://docs.puppetlabs.com ?
[2011/11/18 04:34:58] <Tabletick> ... there's a dead link..
[2011/11/18 04:36:48] @ natewalck joined channel #puppet
[2011/11/18 04:40:49] @ Quit: emergion: Quit: later...
[2011/11/18 04:40:51] @ xalimar joined channel #puppet
[2011/11/18 04:42:35] @ emergion joined channel #puppet
[2011/11/18 04:43:57] @ pmorillon joined channel #puppet
[2011/11/18 04:44:43] @ Quit: emergion: Client Quit
[2011/11/18 04:47:12] @ Quit: wallblom_: Ping timeout: 248 seconds
[2011/11/18 04:55:52] @ Quit: NuclearLucifer: Ping timeout: 245 seconds
[2011/11/18 04:58:09] @ Quit: Beast: Quit: Leaving.
[2011/11/18 04:59:15] @ Quit: mpdude_: Remote host closed the connection
[2011/11/18 05:00:08] @ mpdude joined channel #puppet
[2011/11/18 05:00:48] @ Quit: erodriguez: Quit: erodriguez
[2011/11/18 05:01:06] @ Quit: colon_D: Ping timeout: 260 seconds
[2011/11/18 05:04:41] @ Quit: mpdude: Remote host closed the connection
[2011/11/18 05:06:26] @ alcy joined channel #puppet
[2011/11/18 05:08:23] <alcy> does anyone why facter doesn't list ipaddresses ( all ipaddresses on a box ), but the scope contains it ?
[2011/11/18 05:08:55] <_rc> is it a custom fact? if so run facter -p (facter --puppet)
[2011/11/18 05:10:22] <alcy> _rc: ah thanks, wasn't aware someone might have added it.
[2011/11/18 05:10:34] @ andreaturli joined channel #puppet
[2011/11/18 05:13:17] @ indigo joined channel #puppet
[2011/11/18 05:14:04] <agwells0714> but facter does list ipaddress_eth0, and ipaddress_eth1
[2011/11/18 05:14:54] <agwells0714> and if you do a loop like interfaces => eth0,eth1,lo,... and then map that to ipaddress_$iface, you could loop though all the available sets
[2011/11/18 05:16:04] <_rc> yeah, but having a local custom fact saves you that step, so I can see why you'd have one
[2011/11/18 05:17:53] <zykes-> which repo can i get mcollective off of ?
[2011/11/18 05:19:11] @ Quit: kermit: Read error: Connection reset by peer
[2011/11/18 05:29:25] @ MoooookiE left channel #puppet ()
[2011/11/18 05:31:46] @ sduchesneau joined channel #puppet
[2011/11/18 05:32:07] @ Quit: pmorillon: Ping timeout: 245 seconds
[2011/11/18 05:32:11] @ FaUl joined channel #puppet
[2011/11/18 05:32:14] <FaUl> hi
[2011/11/18 05:33:40] <FaUl> what happens if a fact changes to the things that depends on that fact? i.e, i like to store addresses in a file that i distribute via puppet fileserver and then generate various configurations from a template out of this
[2011/11/18 05:34:25] <FaUl> so my idea was to extend facter and export the content of this file as fact
[2011/11/18 05:34:51] <FaUl> end then use the templating engine to generate various different configurations based on this fact
[2011/11/18 05:35:12] @ Quit: bobra: Ping timeout: 252 seconds
[2011/11/18 05:35:20] <FaUl> now i'm wondering what happens if the content of the file changes (and thus the fact changes), will puppet automatically regenerate all configuration files according to the change?
[2011/11/18 05:35:30] @ car|0s joined channel #puppet
[2011/11/18 05:36:19] @ Quit: ecolitan_: Remote host closed the connection
[2011/11/18 05:36:27] <FaUl> or is my approach just stupid? ;)
[2011/11/18 05:36:38] @ ecolitan joined channel #puppet
[2011/11/18 05:37:47] <matchaw> anyone know why puppet runs would all of a sudden slow completly down.. there has been no change to the manifest etc..
[2011/11/18 05:38:30] <Dominic> matchaw: try the --summarize option to puppet agent, it'll give you a summary of which resources are slow. It might be worth checking things like DNS too, or running with --debug and watching for pauses.
[2011/11/18 05:38:55] <matchaw> yea, I am running with --debug now and it takes ages...
[2011/11/18 05:39:02] <matchaw> even before it gets to resources..
[2011/11/18 05:39:56] <matchaw> it just seems all of the resouces are taking ages to execute..
[2011/11/18 05:41:49] @ Treibholz joined channel #puppet
[2011/11/18 05:47:32] <Treibholz> hi, if I run puppet, it complains about a non-existing user. But I checked/grepped my modules, the user is a "require" everywhere, where it's needed. So it should be created before it is used. How can I debug this? -d -v is not really helpfull.
[2011/11/18 05:47:50] @ Tabletick left channel #puppet ()
[2011/11/18 05:48:00] @ emergion joined channel #puppet
[2011/11/18 05:49:17] <kjetilho> is the user resource defined anywhere?
[2011/11/18 05:49:25] <Treibholz> the user? yes.
[2011/11/18 05:49:51] <kjetilho> the error message should tell you which resource is missing the require
[2011/11/18 05:50:08] <kjetilho> at least transitively
[2011/11/18 05:50:17] <Treibholz> err: Could not run Puppet configuration client: Could not find user vmail
[2011/11/18 05:50:38] @ Quit: Stenbryggen: Quit: Leaving.
[2011/11/18 05:53:25] <Treibholz> I can't find anything.
[2011/11/18 05:54:00] <kjetilho> are you using stages?
[2011/11/18 05:54:14] <Treibholz> I guess not.
[2011/11/18 05:55:03] @ pmorillon joined channel #puppet
[2011/11/18 05:55:47] <Treibholz> no
[2011/11/18 05:56:34] @ Quit: emergion: Quit: later...
[2011/11/18 05:58:37] <indigo> Treibholz: if you are getting that error, it probably indicates that the user is in fact not defined.
[2011/11/18 05:58:49] <indigo> Treibholz: maybe you are defining it in a class you are not actually including, or something like that.
[2011/11/18 06:00:21] <Treibholz> indigo: it is defined and only used in one class, the class in which it is defined. And all resources, that need it have a require.
[2011/11/18 06:00:30] <agwells0714> how can I force file to make the parent directories as well?
[2011/11/18 06:00:37] <indigo> Treibholz: how is it defined?
[2011/11/18 06:00:44] <indigo> Treibholz: and how does puppet complain?
[2011/11/18 06:01:40] <indigo> agwells0714: if you figure it out, let me know.
[2011/11/18 06:02:06] <agwells0714> indigo: f**k
[2011/11/18 06:02:11] <indigo> agwells0714: you could do exec { "mkdir -p ...": }, but that's a bit of a kludge.
[2011/11/18 06:02:41] <agwells0714> indigo: yeah I think you had to do the same thing in cfengine
[2011/11/18 06:02:51] <indigo> agwells0714: there very well could be a way. I looked once, but not very hard.
[2011/11/18 06:02:58] <Treibholz> indigo: http://paste.debian.net/146165/
[2011/11/18 06:03:13] <Treibholz> indigo: err: Could not run Puppet configuration client: Could not find user vmail
[2011/11/18 06:05:56] <indigo> Treibholz: that's weird. It doesn't give you a line number or anything?
[2011/11/18 06:06:06] <indigo> Treibholz: are you runing a version from antiquity or something?
[2011/11/18 06:06:09] <Treibholz> indigo: nope, nothing.
[2011/11/18 06:06:49] <indigo> when i forget to declare resources, i get errors like "Could not find dependency User[moo] for Notify[moo] at test.pp:3" on 2.6
[2011/11/18 06:07:14] <Treibholz> yes, right. but I did not forget it :-)
[2011/11/18 06:07:26] @ dbristow joined channel #puppet
[2011/11/18 06:07:51] @ uphillian joined channel #puppet
[2011/11/18 06:07:56] <indigo> that you aren't getting an error about a User (but rather a user) leads me to believe the problem isn't a missing resource, or maybe your version of puppet is just crazy.
[2011/11/18 06:08:10] @ mpdude joined channel #puppet
[2011/11/18 06:08:16] @ kelseyhightower joined channel #puppet
[2011/11/18 06:08:44] <Treibholz> indigo: 2.6.2 (Debian Stable)
[2011/11/18 06:08:59] <indigo> same here, exactly
[2011/11/18 06:09:47] @ marrusl joined channel #puppet
[2011/11/18 06:09:51] @ Quit: jaydg: Quit: Verlassend
[2011/11/18 06:09:57] <indigo> maybe the problem is a missing dependency. If you put "graph=true" in puppet.conf, it will output dot formatted graphs to /var/lib/nagios/state/graphs. I prefer to pipe expanded_relationships through tred and look at that.
[2011/11/18 06:10:00] @ abetterlie joined channel #puppet
[2011/11/18 06:10:30] @ jsm joined channel #puppet
[2011/11/18 06:10:53] @ marut1 joined channel #puppet
[2011/11/18 06:11:26] @ Quit: marut: Read error: Connection reset by peer
[2011/11/18 06:11:54] <Treibholz> indigo: ok, where should the dot-file be?
[2011/11/18 06:12:18] @ Quit: p3rror: Ping timeout: 244 seconds
[2011/11/18 06:12:18] @ Quit: odyi: Ping timeout: 244 seconds
[2011/11/18 06:12:19] @ Quit: charlieS: Ping timeout: 244 seconds
[2011/11/18 06:12:21] <indigo> Treibholz: they get produced in /var/lib/nagios/state/graphs. View them with "dot", part of graphviz.
[2011/11/18 06:12:23] <masterzen> Treibholz: if you run in debug, do you see puppet creating the vmail user?
[2011/11/18 06:12:32] @ Quit: adimania: Ping timeout: 248 seconds
[2011/11/18 06:12:46] <Treibholz> masterzen: no, it doesn't
[2011/11/18 06:12:51] @ brandon_dacrib joined channel #puppet
[2011/11/18 06:12:57] @ Quit: brandon_dacrib: Remote host closed the connection
[2011/11/18 06:12:58] <masterzen> Treibholz: and the user is not on the host, right?
[2011/11/18 06:13:04] <Treibholz> masterzen: right.
[2011/11/18 06:13:11] @ brandon_dacrib joined channel #puppet
[2011/11/18 06:13:44] <masterzen> Treibholz: can you check you are applying the correct catalog: do you have any errors on the master?
[2011/11/18 06:14:27] <Treibholz> where should I see them?
[2011/11/18 06:14:58] <masterzen> Treibholz: usually syslog
[2011/11/18 06:15:03] @ jgaret joined channel #puppet
[2011/11/18 06:15:39] <Treibholz> there is something completely unrelated, but I'll fix it...
[2011/11/18 06:15:42] <R1ck> err: Could not retrieve catalog from remote server: Error 400 on SERVER: Duplicate definition: Mysql::Delete_user[pdns] is already defined in file /etc/puppet/environments/dev/modules/powerdns-server/manifests/instance.pp at line 24; cannot redefine at /etc/puppet/environments/dev/modules/powerdns-server/manifests/instance.pp:24 on node ns.xxx.xxx
[2011/11/18 06:15:48] <masterzen> Treibholz: hmm, you said you require the class that creates the user. Is the user resource virtual?
[2011/11/18 06:15:48] <R1ck> ehm.. what?
[2011/11/18 06:16:16] <masterzen> R1ck: storeconfigs export?
[2011/11/18 06:16:16] <Treibholz> masterzen: what do you mean with "virtual"?
[2011/11/18 06:16:34] <masterzen> Treibholz: @user { "vmail": ... } and no realize
[2011/11/18 06:16:44] <Treibholz> no
[2011/11/18 06:16:48] <R1ck> masterzen: eh.. what? :)
[2011/11/18 06:17:02] <masterzen> R1ck: do you use storeconfigs and export this resource?
[2011/11/18 06:17:28] <R1ck> masterzen: I've never heard of storeconfigs so my guess is no
[2011/11/18 06:17:29] @ charlieS joined channel #puppet
[2011/11/18 06:18:49] <indigo> R1ck: it sounds like you are going "mysql:delete_user { 'pdns' : }" more than once, somehow.
[2011/11/18 06:19:08] <R1ck> I'm not
[2011/11/18 06:19:12] @ mitchellh joined channel #puppet
[2011/11/18 06:19:17] <matchaw> If a class had a parameter set = undef and then you do not pass a variable to it, how would you then redefine that variable.. i.e if $variable == ""
[2011/11/18 06:19:29] <R1ck> even the error message says so.. it says the same line, same line number twice
[2011/11/18 06:19:29] <_rc> R1ck: /etc/puppet/environments/dev/modules/powerdns-server/manifests/instance.pp:24 is line 24 in a define?
[2011/11/18 06:19:31] <matchaw> I keep getting errors saying you cannot redefine variables.
[2011/11/18 06:19:36] <_rc> that you're using twice?
[2011/11/18 06:19:46] <indigo> matchaw: because you can't. Define a new one, and use that.
[2011/11/18 06:19:48] <R1ck> _rc: ooh.. that might be the case
[2011/11/18 06:20:01] <R1ck> thanks
[2011/11/18 06:20:08] <Treibholz> OK, I removed all the unrelated errors but it still doesn't work.
[2011/11/18 06:20:15] <Treibholz> hmpf...
[2011/11/18 06:20:20] <matchaw> so you can't do something like $var1 = 'test' $var1 = 'new'
[2011/11/18 06:20:28] <R1ck> indigo: seems you were right, thank you too
[2011/11/18 06:20:43] <indigo> sometimes i'm not helpful, but at least i'm right :)
[2011/11/18 06:20:44] <matchaw> actually as its not a procedural language then this makes sense as it would never know which variable to use..
[2011/11/18 06:21:21] <indigo> matchaw: that's the idea. Ideally, the order of everything doesn't matter in puppet (though actually it does, sometimes)
[2011/11/18 06:21:33] <indigo> i read somewhere that there are bugs for all the cases where order does matter.
[2011/11/18 06:21:47] <jgaret> can I get the list of all the classes known by the master through the puppet REST API ?
[2011/11/18 06:22:47] <indigo> matchaw: it's an interesting fact that there's a language called "single assignment C" that attempts to use something very close to C to program logic gates.
[2011/11/18 06:23:01] <mpdude> hi all
[2011/11/18 06:23:09] @ rsnhyperion joined channel #puppet
[2011/11/18 06:23:20] <mpdude> in a hierarchy of nodes, i'd like to include a particular class in a base node
[2011/11/18 06:23:39] <mpdude> togther with that goes the assignment of a parameter for this class which is a sensible default
[2011/11/18 06:23:53] <mpdude> but one subclass needs to define another value for that param
[2011/11/18 06:23:57] <mpdude> how to best do that?
[2011/11/18 06:24:04] <matchaw> indigo, cool, yea I've seen that somewhere before.
[2011/11/18 06:24:18] <indigo> mpdude: http://docs.puppetlabs.com/guides/parameterized_classes.html
[2011/11/18 06:25:12] @ Quit: e1mer: Remote host closed the connection
[2011/11/18 06:25:24] @ sumsuch joined channel #puppet
[2011/11/18 06:25:32] @ Quit: mitchellh: Quit: Computer has gone to sleep
[2011/11/18 06:25:34] <_rc> indigo: that doesn't help with the 'some unspecified subclass has to override' part
[2011/11/18 06:25:51] <mpdude> _rc is right :)
[2011/11/18 06:25:58] @ Quit: sumsuch: Client Quit
[2011/11/18 06:26:14] @ rsnhyperion_ joined channel #puppet
[2011/11/18 06:26:40] <indigo> i guess i don't understand the problem then
[2011/11/18 06:27:02] <mpdude> class base { class { 'foo': some_param => 'default' } }
[2011/11/18 06:27:13] <mpdude> class a extends base { ... /* default is ok */ ... }
[2011/11/18 06:27:14] @ blentz joined channel #puppet
[2011/11/18 06:27:36] <mpdude> class b extends base { ... needs "special" as param to the Foo class }
[2011/11/18 06:28:13] <mpdude> if I have a lot of A-type nodes, i don't want to repeat myself every time (if the default value is ok almost everytime)
[2011/11/18 06:28:13] <indigo> class base { class { 'foo': some_param => '$base::default' } } and make base a parameterized class
[2011/11/18 06:28:59] <indigo> or make base and base::foo parameterized classes, and have base define foo by just passing the parameter down
[2011/11/18 06:29:09] <_rc> I'd push the data out into extlookup or hiera
[2011/11/18 06:29:59] <jgaret> to get the list of resource, the doc says (http://docs.puppetlabs.com/guides/rest_api.html#resource-types) I could use the resource_type call, but : resource_type seems ok, but I can't find what the {hostclass, definition, node} stand for.
[2011/11/18 06:30:08] @ Quit: rsnhyperion: Ping timeout: 248 seconds
[2011/11/18 06:30:08] @ rsnhyperion_ is now known as rsnhyperion
[2011/11/18 06:30:33] <jgaret> I've tried classes or nodes I have in my setup and puppet server told me it could'nt find it
[2011/11/18 06:30:35] @ Quit: octane-: Quit: octane-
[2011/11/18 06:30:48] <_rc> jgaret: a hostclass is what puppet calls classes internally
[2011/11/18 06:31:08] <_rc> you see it leak out if you use the ruby dsl
[2011/11/18 06:31:46] @ p3rror joined channel #puppet
[2011/11/18 06:32:51] <jgaret> _rc: ok for that, but when I call the API, as in the doc, it keeps on telling me it could not find the the resource_type myseachedclass
[2011/11/18 06:32:55] <jgaret> same for a node
[2011/11/18 06:34:20] @ mitchellh joined channel #puppet
[2011/11/18 06:34:44] <_rc> what does requesting /production/resource_types/* say?
[2011/11/18 06:34:56] <jgaret> and if I use resource_types/* it throws me a Forbidden error like access to /resource_typ/* (last "e" and "s" characters are missing at the end)
[2011/11/18 06:36:12] <jgaret> I find it strange that the error message is deleting the last two characters (auth.conf seems to be good)
[2011/11/18 06:36:40] <mpdude> @indigo: I thought about it but still don't get your idea :)
[2011/11/18 06:37:04] @ fliplap joined channel #puppet
[2011/11/18 06:37:42] <indigo> mpdude: what would you do if you had a function that called a subfunction, and you needed to, by calling function, change the parameters to the subfunction? You would make the parameter to the subfunction also a parameter of function, and pass it down.
[2011/11/18 06:38:02] <mpdude> yes...?
[2011/11/18 06:38:23] <indigo> mpdude: i must not be understanding your problem :)
[2011/11/18 06:38:34] <mpdude> ok, hold on a sec
[2011/11/18 06:39:29] @ Quit: mitchellh: Quit: Computer has gone to sleep
[2011/11/18 06:40:44] @ Quit: alcy: Quit: leaving
[2011/11/18 06:40:58] <_rc> jgaret: did you allow those api calls in your auth.conf?
[2011/11/18 06:41:21] <jgaret> yes
[2011/11/18 06:41:56] <mpdude> http://pastie.org/2883450, but that's code that does not work due to scoping
[2011/11/18 06:42:11] <mpdude> but i think it shows the proble
[2011/11/18 06:42:37] @ Quit: jsm: Quit: jsm
[2011/11/18 06:42:37] @ Quit: sduchesneau: Ping timeout: 240 seconds
[2011/11/18 06:43:44] <indigo> mpdude: don't use node extends. they are dumb.
[2011/11/18 06:44:17] <mpdude> oh sorry - actually, in my manifest it's "inherits"
[2011/11/18 06:44:28] <indigo> mpdude: don't use node inherits. they are dumb.
[2011/11/18 06:44:52] <mpdude> :-(
[2011/11/18 06:45:05] <mpdude> so how would you solve it?
[2011/11/18 06:45:44] <jgaret> _rc : here are some infos : http://pastebin.com/pE6zN4td
[2011/11/18 06:46:02] @ Quit: pmorillon: Quit: pmorillon
[2011/11/18 06:46:35] @ Quit: paroneayea: Read error: Connection reset by peer
[2011/11/18 06:47:08] <indigo> mpdude: maybe this gives you an idea: http://pastie.org/2883480
[2011/11/18 06:48:15] <indigo> mpdude: alternately, don't think about how to override some parameter in decendants. Rather, specify the behavior you want in each leaf node.
[2011/11/18 06:48:49] @ Quit: skm: Quit: Computer has gone to sleep.
[2011/11/18 06:48:56] <mpdude> yes, but that adds a lot of noise as i repeat myself in most of the nodes
[2011/11/18 06:49:06] @ _plg joined channel #puppet
[2011/11/18 06:49:28] <_plg> hi, I cant start my puppetmaster: usr/sbin/puppetmasterd:65:in `require': no such file to load -- puppet/application/puppetmasterd (LoadError) from /usr/sbin/puppetmasterd:65
[2011/11/18 06:49:40] @ Quit: larstobi: Quit: Leaving.
[2011/11/18 06:49:51] <_plg> I tried to do an apt-get purge and install
[2011/11/18 06:49:54] <mpdude> in your example, what if "fruit" included "fruitbowl" with another shape?
[2011/11/18 06:50:03] <_rc> jgaret: I get something a little different - http://pastie.org/2883488
[2011/11/18 06:50:06] <mpdude> would the override work in "banana"?
[2011/11/18 06:50:09] <_plg> but it din't work, any advice
[2011/11/18 06:50:23] <_rc> jgaret: so obvious questions are, what version of puppet are you using?
[2011/11/18 06:50:59] <jgaret> _rc: my master is version 2.6.11
[2011/11/18 06:51:25] <_rc> _plg: I think you have some hand-installed crap as well. a gem or something
[2011/11/18 06:51:47] <indigo> mpdude: the idea is that you declare fruitbowl with parameters, before you declare the other class (foods) which would "include" it with the defaults. When it gets to the "include", fruitbowl is already declared, so the include does nothing.
[2011/11/18 06:51:55] <_plg> i did sudo apt-get purge ruby
[2011/11/18 06:52:08] <indigo> mpdude: i don't know if this is an especially great idea, but it's what i've been doing for the past week
[2011/11/18 06:52:11] <_plg> ... I made a promise to my self to never use gem agains
[2011/11/18 06:52:25] <_rc> _plg: after that did you have anything puppet or ruby looking in /usr/local leftover?
[2011/11/18 06:52:40] <_rc> or ~/.gem
[2011/11/18 06:53:05] <_rc> you know, any traces that dpkg don;t know about
[2011/11/18 06:53:12] @ pmorillon joined channel #puppet
[2011/11/18 06:53:56] <_plg> I think not, but let me redo it. This is the thing I hate in linux and apt-get, its impossible to clean properly
[2011/11/18 06:54:21] <_rc> it's not impossible if you always use packages
[2011/11/18 06:55:04] @ sduchesneau joined channel #puppet
[2011/11/18 06:55:06] <_rc> it's when you start layering source install over the top of files that you start to feel pain
[2011/11/18 06:55:10] <wollviech> plg_ problem is not linux but sloppy package building
[2011/11/18 06:55:35] <indigo> I'd like to have an array which collects the names of particular classes, if they have been included. Ultimately, I want a list of services that should be monitored on a given node, based on what classes it included, so that I can export it, then realize it on my monitoring box. Any way I can have each class append to a shared array?
[2011/11/18 06:56:42] <_rc> wollviech: huh?
[2011/11/18 06:57:38] @ paroneayea joined channel #puppet
[2011/11/18 06:59:32] @ spiette joined channel #puppet
[2011/11/18 06:59:34] <wollviech> _rc: the problem with '$packetmanager $remove-command' not removing everything usually has two sources: 1) manually installed stuff or 2) the package was built without enough attention to detail (for example installscripts that generate certain files without 'telling' the packetmanagement that those files exist)
[2011/11/18 06:59:38] @ Quit: KaZeR_W: Quit: Quitte
[2011/11/18 06:59:46] <indigo> put another way, why does this not work? http://pastie.org/2883534
[2011/11/18 07:02:23] <indigo> and why does this work, but not include "Default"? http://pastie.org/2883545
[2011/11/18 07:02:40] @ Quit: larsar:
[2011/11/18 07:02:59] <_rc> wollviech: thankfully those egregiously bad packages aren't that common, so really it's not fair to hold those as a weakness of packaging systems
[2011/11/18 07:03:31] <_rc> by bad analogy, it's like mentioning all the serial killing people do
[2011/11/18 07:05:23] @ Quit: Vide: Quit: Leaving.
[2011/11/18 07:06:15] <wollviech> _rc: true. actually a lot of the bad rep that RPM still has is from rpm-based distros that had incredibly badly built packages (yes, i am looking at you mandrake/mandriva)
[2011/11/18 07:06:50] @ sumsuch joined channel #puppet
[2011/11/18 07:07:12] <jgaret> _rc: your message is not exactly the same but you have the same kind of error, puppet truncates the api call to resource_typ and doesn't kown it
[2011/11/18 07:07:38] @ Quit: chewie71: Quit: Page closed
[2011/11/18 07:07:53] @ chewie_ joined channel #puppet
[2011/11/18 07:08:30] <_rc> jgaret: the reason I asked about versions is I supect that api documentation may only be accurate for 2.7, but I too have 2.7 to test on
[2011/11/18 07:08:46] <_rc> sorry, I only have 2.6 to test on
[2011/11/18 07:09:07] <jgaret> _rc: with the same auth.conf as you have, I have the same error as you
[2011/11/18 07:10:33] @ Quit: sduchesneau: Remote host closed the connection
[2011/11/18 07:10:34] <chewie_> Can I use a wildcard in package { "blah": ensure => "1.2.3*" }....to install the latest 1.2.3, but not allow anything 1.2.4 or greater? I've already tried my example here and know it doesn't work because it literally looks for a package with version = 1.2.3*.
[2011/11/18 07:10:35] <jgaret> _rc: I have the same error on a 2.7 master
[2011/11/18 07:15:03] @ Quit: iamchrisf: Quit: iamchrisf
[2011/11/18 07:15:09] @ Quit: jodok: Quit: jodok
[2011/11/18 07:16:12] <_plg> member:_rc: i feel a need to format my machine... I removed all puppet folders and ruby that I found trough the find command but I cant even install puppetmaster now
[2011/11/18 07:16:21] @ pheller joined channel #puppet
[2011/11/18 07:16:49] @ kermit joined channel #puppet
[2011/11/18 07:18:18] <_rc> jgaret: I think I see the code that's breaking, it's munging the request to try and do the correct thing with plurals automatically
[2011/11/18 07:18:26] <_rc> puppet/network/http/api/v1.rb
[2011/11/18 07:19:39] <_rc> jgaret: yes, that seems to be it. try instead calling https://puppet:8140/production/resource_type_search/*
[2011/11/18 07:20:02] @ ldlework joined channel #puppet
[2011/11/18 07:20:40] <_rc> it seems it should take the plural resource_types and transform it into resource_type_search, but instead winds up at resource_typ
[2011/11/18 07:21:11] <_rc> so pre-resolving the api call makes it go
[2011/11/18 07:21:41] <jgaret> I get this message : Could not find instances in resource_type with '*'
[2011/11/18 07:21:53] <jgaret> with resource_type_search/*
[2011/11/18 07:22:25] <_rc> I get what's in my site.pp
[2011/11/18 07:22:38] <_rc> as resources with ast drippings
[2011/11/18 07:22:39] @ colon_D joined channel #puppet
[2011/11/18 07:23:17] <_rc> like so: http://pastie.org/2883640
[2011/11/18 07:23:25] <jgaret> ok, my site.pp is empty (only importing other files)
[2011/11/18 07:23:55] @ Quit: magicaltrout: Ping timeout: 255 seconds
[2011/11/18 07:24:04] <_rc> and those other files don't declare resources?
[2011/11/18 07:24:30] <jgaret> they do declare nodes
[2011/11/18 07:24:39] @ magicaltrout joined channel #puppet
[2011/11/18 07:26:49] @ samkottler1 joined channel #puppet
[2011/11/18 07:28:13] @ kaptk2 joined channel #puppet
[2011/11/18 07:29:23] @ illsci joined channel #puppet
[2011/11/18 07:30:00] @ Wolfspyre joined channel #puppet
[2011/11/18 07:30:10] @ bag__ joined channel #puppet
[2011/11/18 07:30:22] @ Quit: ba6: Read error: Connection reset by peer
[2011/11/18 07:30:40] @ neonflux joined channel #puppet
[2011/11/18 07:31:09] @ Quit: AshishH: Ping timeout: 276 seconds
[2011/11/18 07:31:32] @ gniks joined channel #puppet
[2011/11/18 07:33:06] <jgaret> _rc: thanks for your help anyway, I'll do some modules files scanning to find my existing classes in puppet
[2011/11/18 07:34:04] @ mitchty joined channel #puppet
[2011/11/18 07:35:11] @ jodok joined channel #puppet
[2011/11/18 07:35:12] @ Quit: jodok: Changing host
[2011/11/18 07:35:12] @ jodok joined channel #puppet
[2011/11/18 07:36:22] @ flipwork_ joined channel #puppet
[2011/11/18 07:38:10] @ astrostl joined channel #puppet
[2011/11/18 07:38:22] @ Stenbryggen joined channel #puppet
[2011/11/18 07:38:34] @ dan__t joined channel #puppet
[2011/11/18 07:38:56] @ Quit: flipwork: Ping timeout: 248 seconds
[2011/11/18 07:41:31] @ zwi joined channel #puppet
[2011/11/18 07:42:25] @ mitchty left channel #puppet ()
[2011/11/18 07:44:00] @ ghg joined channel #puppet
[2011/11/18 07:44:53] @ Quit: artkrz: Quit: Linkinus - http://linkinus.com
[2011/11/18 07:48:45] @ adimania joined channel #puppet
[2011/11/18 07:48:50] @ _andre joined channel #puppet
[2011/11/18 07:49:14] <_andre> hello
[2011/11/18 07:49:22] @ Quit: EL84: Quit: Leaving.
[2011/11/18 07:49:28] <_andre> is it possible to configure the inventory service to reply json instead of yaml?
[2011/11/18 07:49:44] @ rharrison joined channel #puppet
[2011/11/18 07:50:56] @ Quit: bkdem: Quit: Leaving
[2011/11/18 07:51:32] @ Quit: Meier: Quit: Leaving.
[2011/11/18 07:53:31] @ Quit: schewara: Quit: Verlassend
[2011/11/18 07:54:43] @ e1mer joined channel #puppet
[2011/11/18 07:58:27] @ Quit: e1mer: Read error: Connection reset by peer
[2011/11/18 08:00:14] @ e1mer joined channel #puppet
[2011/11/18 08:02:35] @ Quit: helindbe: Quit: helindbe
[2011/11/18 08:04:49] @ Quit: tremble: Quit: Leaving
[2011/11/18 08:05:00] @ benkevan joined channel #puppet
[2011/11/18 08:08:48] @ Quit: jeremy: Ping timeout: 248 seconds
[2011/11/18 08:08:52] @ Quit: zwi: Quit: Leaving.
[2011/11/18 08:09:26] @ jeremy joined channel #puppet
[2011/11/18 08:09:26] @ Quit: jeremy: Changing host
[2011/11/18 08:09:26] @ jeremy joined channel #puppet
[2011/11/18 08:11:15] @ ghaskins__ joined channel #puppet
[2011/11/18 08:11:57] @ Quit: jodok: Quit: jodok
[2011/11/18 08:13:32] @ Quit: ezryx: Remote host closed the connection
[2011/11/18 08:13:41] @ rcrowley joined channel #puppet
[2011/11/18 08:14:16] @ Quit: ghaskins_: Ping timeout: 240 seconds
[2011/11/18 08:16:09] <indigo> is there a convienent way to see what resources have been exported by a node without actually changing anything?
[2011/11/18 08:16:51] <indigo> i'm trying to determine if my resource is being realized and doesn't work, or if it's not being realized.
[2011/11/18 08:17:02] <agwells0714> indigo: I think you can look at /var/lib/puppet/classes.txt on the node and it should tell you what classes it uses
[2011/11/18 08:18:02] <indigo> i'm not really looking for classes, but rather exported resources.
[2011/11/18 08:18:18] <agwells0714> indigo: oh without changing anything... puppetmasterd --compile <node> maybe?
[2011/11/18 08:18:45] <indigo> humh.
[2011/11/18 08:19:16] <indigo> Well actualy i put a notify in it, and i see the notify on the node that is realizing the resources. So they must exist, and they are being realized. They just aren't doing what I want.
[2011/11/18 08:19:36] @ zwi joined channel #puppet
[2011/11/18 08:20:00] <indigo> So let's say on node A, I want to have two classes, and if they are included, I want that to result in a file "Class A,Class B" in it. How would you accomplish that?
[2011/11/18 08:20:04] <agwells0714> do you know if you can use a regex in a notify or subscribe like subscribe => File['/bar/foo/*']
[2011/11/18 08:20:17] @ ironmunk_ joined channel #puppet
[2011/11/18 08:20:23] <indigo> I can't find a good way to append to an array.
[2011/11/18 08:20:36] @ Quit: e1mer: Read error: Connection reset by peer
[2011/11/18 08:20:39] @ Quit: ironmunk_: Remote host closed the connection
[2011/11/18 08:20:52] <agwells0714> you can append using += or array => [array, new array/object]
[2011/11/18 08:21:51] <indigo> now how can i append to the same array from multiple classes?
[2011/11/18 08:22:29] <agwells0714> indigo: i don't think you can append to an array from another scope
[2011/11/18 08:22:33] <indigo> so i have a class "monitoring", that has an array of things to monitor. When I include "apache", I want apache to show up there.
[2011/11/18 08:22:51] <indigo> agwells0714: but you actually can, almost: http://pastie.org/pastes/2883545/text
[2011/11/18 08:23:41] <indigo> it's so close to almost working it's driving me mad.
[2011/11/18 08:24:47] <agwells0714> what about using subscribe?
[2011/11/18 08:25:01] <ashp> oh boy
[2011/11/18 08:25:02] <indigo> i'm not sure what you mean
[2011/11/18 08:25:07] <agwells0714> oh that is a notify resource
[2011/11/18 08:25:14] <ashp> my boss gave me the headsup to go ahead and start preplanning out how to integrate freebsd into my puppet manifests
[2011/11/18 08:25:23] <ashp> that'll be enjoyable (and by enjoyable I mean fucking horrible)
[2011/11/18 08:25:38] @ Quit: samkottler1: Quit: Leaving.
[2011/11/18 08:25:41] <indigo> "preplanning"? :(
[2011/11/18 08:26:03] <ashp> indigo: Basically there's FreeBSD coming down the pipeline for something regardless of how annoying it's going to be to manage via automation (which it's very annoying to manage)
[2011/11/18 08:26:06] <ashp> We use RHEL right now.
[2011/11/18 08:26:25] <indigo> ashp: well, at least your boss understand the value of automation and configuration.
[2011/11/18 08:26:29] <ashp> But for whatever reason these fucking developers took it upon themselves to develop some secret project completely on FreeBSD because of 1990s thinking.
[2011/11/18 08:26:44] <ashp> indigo: my boss does and senior management do - not one of the developers or other sysadmin/ops type people do :(
[2011/11/18 08:26:47] <ashp> except for ONE guy
[2011/11/18 08:27:32] @ Quit: negronjl: Ping timeout: 245 seconds
[2011/11/18 08:28:24] @ Quit: raphdg: Remote host closed the connection
[2011/11/18 08:29:19] @ samkottler1 joined channel #puppet
[2011/11/18 08:29:43] @ Quit: zwi: Ping timeout: 244 seconds
[2011/11/18 08:30:16] @ zwi joined channel #puppet
[2011/11/18 08:32:45] @ hobbeswalsh joined channel #puppet
[2011/11/18 08:32:51] @ Quit: zwi: Client Quit
[2011/11/18 08:33:38] <agwells0714> indigo: try scoping your variables
[2011/11/18 08:33:52] <indigo> what do you mean?
[2011/11/18 08:34:41] <indigo> here's another idea...is there some generic expression i can use in a conditional to determine if a class has been included?
[2011/11/18 08:34:43] <agwells0714> indigo: so $::<module>::monitoring::services =
[2011/11/18 08:35:02] <indigo> agwells0714: i'm not sure how that helps
[2011/11/18 08:35:07] @ Quit: MartVisser: Quit: Leaving
[2011/11/18 08:35:52] <agwells0714> indigo: actually it doesn't, i am just tired of looking at puppet code. okay so you have a define, which creates a instance each time you make one.
[2011/11/18 08:36:24] <indigo> creates an instance of what?
[2011/11/18 08:36:55] <agwells0714> indigo: well classes can only be made once. but when you use define, it create individual instances
[2011/11/18 08:37:01] @ skm joined channel #puppet
[2011/11/18 08:37:07] <indigo> individual instances of what?
[2011/11/18 08:37:09] <agwells0714> indigo: what does this <| |> mean?
[2011/11/18 08:37:22] <indigo> agwells0714: it seems to mean about 4 things
[2011/11/18 08:38:51] <robinbowes> Can Omnigraffle show circular relationships in dot files?
[2011/11/18 08:38:52] <indigo> http://docs.puppetlabs.com/guides/language_guide.html#chaining-resources, http://docs.puppetlabs.com/guides/language_guide.html#virtual-resources, http://docs.puppetlabs.com/guides/virtual_resources.html, http://docs.puppetlabs.com/guides/exported_resources.html
[2011/11/18 08:39:18] <indigo> robinbowes: dot can show circular relationships in dot files, so i guess omnigraffle can.
[2011/11/18 08:40:06] <agwells0714> indigo: so is there a reason monitoring is a defined resource?
[2011/11/18 08:40:45] <robinbowes> Any idea how?
[2011/11/18 08:41:01] <indigo> agwells0714: you are talking about in http://pastie.org/pastes/2883545/text? Yes, because if you make it a class, the thing with <| |> and +> doesn't work.
[2011/11/18 08:41:53] <agwells0714> indigo: and have you tried Monitoring{ services => [$::<module>::monitoring::services, "Apache"] }
[2011/11/18 08:41:56] <indigo> this thing about overriding attributes with the spaceship operator is pretty arcane. It's only mentioned in http://docs.puppetlabs.com/guides/exported_resources.html, as far as i hav found.
[2011/11/18 08:42:07] @ ezryx joined channel #puppet
[2011/11/18 08:42:22] <indigo> agwells0714: i can do that, exactly once
[2011/11/18 08:42:27] <indigo> wait
[2011/11/18 08:42:31] <indigo> let me try.
[2011/11/18 08:42:59] @ e1mer joined channel #puppet
[2011/11/18 08:43:30] @ Quit: ezryx: Remote host closed the connection
[2011/11/18 08:43:44] <indigo> agwells0714: actually i'm not sure what you mean. What you ask seems to be a syntax error.
[2011/11/18 08:44:11] <agwells0714> indigo: what is the error?
[2011/11/18 08:44:23] <indigo> well, the part "Monitoring {" doesn't make any sense
[2011/11/18 08:44:35] <indigo> Where is "Anything {" ever valid syntax?
[2011/11/18 08:44:56] <indigo> oh, i guess for defaults
[2011/11/18 08:45:00] <agwells0714> indigo well for instance, if you wanted to overload something in file resource
[2011/11/18 08:45:11] <indigo> it doesn't overload, it sets defaults
[2011/11/18 08:45:18] @ negronjl joined channel #puppet
[2011/11/18 08:45:25] <agwells0714> indigo: well it does overload
[2011/11/18 08:45:36] <agwells0714> indigo: cause you could overload a default
[2011/11/18 08:45:40] <indigo> i guess i don't know what you mean by overload
[2011/11/18 08:46:15] <agwells0714> indigo: so what I am trying to accomplish is overload your defined resources defaults, as overloading in that fashion is scoped
[2011/11/18 08:46:39] <agwells0714> indigo: does +> work in that instance?
[2011/11/18 08:46:57] <indigo> i don't think you understand what "Resource { ... }" does.
[2011/11/18 08:47:33] <agwells0714> indigo: i know it work per node
[2011/11/18 08:47:43] <indigo> "Resource { foo => bar }" means "in this scope, if i define a Resource and don't specify bar, assume it is foo".
[2011/11/18 08:47:58] <agwells0714> indigo: exactly
[2011/11/18 08:48:10] <indigo> but i'm not making "monitorings" in "apache"
[2011/11/18 08:48:39] <agwells0714> indigo: but if you control the flow, and do Resource { } in a higher scope, it should work
[2011/11/18 08:48:56] <indigo> sure, but then i might as well just explicitly say what i want to monitor.
[2011/11/18 08:49:25] <indigo> which maybe is what i'll end up doing
[2011/11/18 08:49:48] <indigo> it's less magic and easier to understand. Just have to be careful to not forget to monitor something.
[2011/11/18 08:49:56] @ mitchellh joined channel #puppet
[2011/11/18 08:50:03] @ maplebed joined channel #puppet
[2011/11/18 08:50:40] <agwells0714> indigo: is this just so you can have an string with a comma delimited list of resources you are monitoring?
[2011/11/18 08:50:57] @ Quit: the_ramink: Ping timeout: 260 seconds
[2011/11/18 08:51:12] @ ezryx joined channel #puppet
[2011/11/18 08:51:56] @ Quit: Ramonster: Quit: So Long and thanks for all the fish
[2011/11/18 08:52:33] <indigo> that's more or less the idea, yes.
[2011/11/18 08:53:06] <agwells0714> indigo: and why are you making it a defined resource?
[2011/11/18 08:53:41] <indigo> i'm not.
[2011/11/18 08:53:55] @ Quit: ezryx: Remote host closed the connection
[2011/11/18 08:54:02] <agwells0714> indigo: you say define monitoring
[2011/11/18 08:54:20] @ hansi joined channel #puppet
[2011/11/18 08:54:38] <agwells0714> indigo: if you made it a class, it would only have one instance of a variable
[2011/11/18 08:55:05] @ ezryx joined channel #puppet
[2011/11/18 08:56:14] @ Quit: e1mer: Read error: Connection reset by peer
[2011/11/18 08:57:49] @ Beast joined channel #puppet
[2011/11/18 08:57:55] @ trickyf left channel #puppet ()
[2011/11/18 08:58:08] @ Quit: jorhett: Ping timeout: 244 seconds
[2011/11/18 08:58:19] @ zwi joined channel #puppet
[2011/11/18 08:58:42] <indigo> i don't see how that helps me solve my problem.
[2011/11/18 08:59:38] @ Quit: lkoranda: Quit: Ex-Chat
[2011/11/18 08:59:52] <agwells0714> indigo: well if it were a class, you could just modify the variable of monitoring with just a scoped variable of $::<module>::<class>[::<namespace>]*::monitoring::services
[2011/11/18 08:59:59] <hansi> Hello. I am using source => "puppet:///modules/krb5/krb5.conf.$domain" to define the location of the file content. Suddenly some machines seem to have upper and other lower case domain names. This is not a puppet problem of course, I am still searching why this happend. However, is there a switch or option to let puppet search file case insensitive? Actually I am using a link.
[2011/11/18 09:00:15] <indigo> agwells0714: i could, except that variables can be assigned only once.
[2011/11/18 09:00:55] <agwells0714> indigo: per scope. so each node could have a different variable
[2011/11/18 09:01:02] <agwells0714> indigo: variable value
[2011/11/18 09:01:55] <agwells0714> indigo: and this assumes you are right, that you can change a variable from another scope
[2011/11/18 09:01:57] <indigo> agwells0714: you have totally lost me.
[2011/11/18 09:02:37] @ Quit: matchaw: Remote host closed the connection
[2011/11/18 09:02:37] @ jodok joined channel #puppet
[2011/11/18 09:02:41] <agwells0714> indigo: how many time will a single node use the resource monitoring
[2011/11/18 09:03:15] <agwells0714> indigo: and I mean, how many times will it create an instance of monitoring
[2011/11/18 09:03:42] @ Quit: justin_donaldson: Quit: Leaving.
[2011/11/18 09:03:43] <indigo> agwells0714: however many times i need to do that to accomplish my goal, i guess?
[2011/11/18 09:03:59] <indigo> agwells0714: i think you are confusing the example i pasted with my actual goal.
[2011/11/18 09:04:22] <indigo> the example illustrates some arcane feature of puppet that i thought could be useful towards my goal
[2011/11/18 09:04:47] <indigo> my goal is to get on the monitoring server a comma separated list of services that are active on each node managed by puppet
[2011/11/18 09:05:16] <agwells0714> indigo: so you are trying to create an exported resource?
[2011/11/18 09:05:58] <indigo> i imagine there will be exported resources involved, yes.
[2011/11/18 09:06:29] <indigo> however, i know how to export resources. I do it with @@. The trouble is in knowing what resources to export.
[2011/11/18 09:06:31] @ odyi joined channel #puppet
[2011/11/18 09:06:31] @ Quit: odyi: Changing host
[2011/11/18 09:06:32] @ odyi joined channel #puppet
[2011/11/18 09:07:16] <agwells0714> indigo: so I think you are right, that if you want to put everything in a single variable, and pass that variable to the monitoring server; I would then say, yes you will have to give monitoring every thing by hand
[2011/11/18 09:07:28] @ jorhett joined channel #puppet
[2011/11/18 09:08:20] <agwells0714> indigo: because each node has its own DAG
[2011/11/18 09:08:35] <indigo> what's a DAG?
[2011/11/18 09:08:49] @ larstobi joined channel #puppet
[2011/11/18 09:08:52] <agwells0714> indigo: Directed Acyclic Graph
[2011/11/18 09:09:14] <agwells0714> indigo: it is how puppet describes resources to be sent to systems
[2011/11/18 09:09:20] @ Quit: mitchellh: Quit: Computer has gone to sleep
[2011/11/18 09:10:42] @ Quit: pmorillon: Quit: pmorillon
[2011/11/18 09:10:47] <agwells0714> indigo: and each server sends get sent its own, exported resources was created so that a puppet master could collect different variables from nodes, but on the second run it will then give what it found to another server.
[2011/11/18 09:11:14] <agwells0714> * and each server gets sent
[2011/11/18 09:12:07] @ Quit: flakrat: Quit: Leaving
[2011/11/18 09:12:11] * agwells0714 opens a grammer book
[2011/11/18 09:12:30] @ Quit: zwi: Quit: Leaving.
[2011/11/18 09:12:56] @ e1mer joined channel #puppet
[2011/11/18 09:14:45] @ Quit: alanevans: Remote host closed the connection
[2011/11/18 09:17:23] @ Quit: mogitaff: Remote host closed the connection
[2011/11/18 09:18:22] @ the_ramink joined channel #puppet
[2011/11/18 09:19:07] @ Quit: e1mer: Read error: Connection reset by peer
[2011/11/18 09:19:12] <hobbeswalsh> Hey everyone... i'm using puppet to install a home-grown RPM which has some ruby code and some post-install hooks... one of the hooks is a "bundle install" command which isn't getting executed correctly -- it's refusing to install gems that *do* get installed when "yum" is run manually
[2011/11/18 09:19:23] <hobbeswalsh> any thoughts?
[2011/11/18 09:19:26] <hobbeswalsh> what does puppet do to the environment that might cause this?
[2011/11/18 09:20:44] @ Quit: kangman_: Remote host closed the connection
[2011/11/18 09:21:08] @ kangman joined channel #puppet
[2011/11/18 09:21:17] @ Quit: brtl: Quit: Leaving.
[2011/11/18 09:22:36] @ lak joined channel #puppet
[2011/11/18 09:22:37] @ Quit: lak: Changing host
[2011/11/18 09:22:37] @ lak joined channel #puppet
[2011/11/18 09:22:50] @ dbgster joined channel #puppet
[2011/11/18 09:25:25] @ Fthis joined channel #puppet
[2011/11/18 09:26:18] <Fthis> hey guys, brand new clean install of PE2.0, and the clients complain with this:
[2011/11/18 09:26:19] <Fthis> Could not retrieve catalog from remote server: Error 400 on SERVER: validate_re(): "" does not match "^true$|^false$" at /opt/puppet/share/puppet/modules/pe_mcollective/manifests/init.pp:40 on node puppet
[2011/11/18 09:27:25] <astrostl> i have a puppet master whose 'puppet' is a dns alias; if you ping 'puppet', you get its real fqdn.
[2011/11/18 09:27:37] @ alfism joined channel #puppet
[2011/11/18 09:27:46] <astrostl> that yields this issue with certs: err: Could not send report: Server hostname 'puppet' did not match server certificate; expected host.corp.example.com
[2011/11/18 09:28:30] <_rc> when you spin up the masters cert you needed to have set the cert alias up
[2011/11/18 09:28:37] @ Quit: samkottler1: Quit: Leaving.
[2011/11/18 09:28:41] <astrostl> i would really rather not config all clients to point at a specific host
[2011/11/18 09:29:11] <astrostl> where is that process documented?
[2011/11/18 09:29:13] @ Quit: ryancoleman: Quit: Leaving.
[2011/11/18 09:30:18] @ Quit: Razique: Quit: Razique
[2011/11/18 09:31:16] @ Diranged joined channel #puppet
[2011/11/18 09:31:24] @ rsnhyperion_ joined channel #puppet
[2011/11/18 09:31:31] <Diranged> did something change in the 2.7+ series with regards to notifies/subscribes/requires?
[2011/11/18 09:31:38] <Diranged> it looks like i can no longer both Require and Notify the same thing?
[2011/11/18 09:32:18] <Diranged> i have a class (foo) that updates a postgres config file after including the postgres module. i want that class foo resource to not run UNTIL postgres has been installed.. but then once it runs, to notify thep ostgres service to restart.. and that causes a loop and fails
[2011/11/18 09:32:24] <astrostl> i'm not sure how that would work; a refreshonly is only going to go off if it is notified, so requiring it seems dubious to me
[2011/11/18 09:32:27] @ Quit: Beast: Quit: Leaving.
[2011/11/18 09:32:53] <astrostl> you can use -> operators to specify class order
[2011/11/18 09:33:10] <agwells0714> Diranged: why would you require and notify?
[2011/11/18 09:33:26] <astrostl> Class['foo::install'] -> Class['foo::config']
[2011/11/18 09:33:33] @ e1mer joined channel #puppet
[2011/11/18 09:33:38] <Diranged> agwells: file { "pg_hba.conf": bla bla bla… require => class['postgres'], notify class['postgres']...}
[2011/11/18 09:33:40] @ Quit: rsnhyperion: Ping timeout: 244 seconds
[2011/11/18 09:33:40] @ rsnhyperion_ is now known as rsnhyperion
[2011/11/18 09:33:58] @ MaZ- joined channel #puppet
[2011/11/18 09:33:59] <Diranged> i cant have it create that file until after postgres is installed.. but then it needs to tell the postgres service to restart any time the file is updated..
[2011/11/18 09:34:16] <agwells0714> diranged: right, but they create a chain.
[2011/11/18 09:34:18] <astrostl> _rc: so, about that ssl alias...
[2011/11/18 09:34:33] @ sdog joined channel #puppet
[2011/11/18 09:34:36] <astrostl> Diranged: you can tell postgres to restart on file updates with a subscribe
[2011/11/18 09:34:40] <Diranged> other scenarios like apache would need the same thing.. apache needs to be installed before you try to create a custom conf.d/mysite.conf file .. but then oncey ou create that, it needs to notify the service
[2011/11/18 09:34:44] <astrostl> no notify is necessary for that
[2011/11/18 09:34:45] @ alanna joined channel #puppet
[2011/11/18 09:35:03] <agwells0714> right notify the service, require the file.
[2011/11/18 09:35:09] <agwells0714> or require the package
[2011/11/18 09:35:33] <Diranged> meh that all seems ugly.. why should my classs 'Foo' need to know the name of the postgres service? why not just know that it needs to tlel Class[postgres] to refresh..
[2011/11/18 09:35:58] <Diranged> and i swear this worked in 2.6..
[2011/11/18 09:36:10] <astrostl> service postgres { subscribe file }
[2011/11/18 09:36:16] <astrostl> that works.
[2011/11/18 09:36:41] <astrostl> based on what you have described so far, it's not clear to me why you would want or need a notify
[2011/11/18 09:37:10] <Diranged> my service postgres is in class postgres.. class postgres has no knowledge of this pg_hba.conf file i am pushing with class 'foo'..
[2011/11/18 09:37:47] <astrostl> if it's being managed with the 'file' type, it can easily have knowledge of it
[2011/11/18 09:37:49] <astrostl> service postgres { subscribe file }
[2011/11/18 09:38:12] @ Chillax joined channel #puppet
[2011/11/18 09:38:25] <indigo> Diranged: why should your foo need to know anything needs to be refreshed at all? In your postgres class, implement a resource that will configured postgres the way you want it, and take care of notifying the right thing. Use that resource in foo.
[2011/11/18 09:38:40] @ Quit: Chillax_: Ping timeout: 240 seconds
[2011/11/18 09:38:47] @ Quit: sdog: Changing host
[2011/11/18 09:38:47] @ sdog joined channel #puppet
[2011/11/18 09:38:55] <Diranged> … ok lemme start over.. and lets take Apache as a better example (simpler to understand
[2011/11/18 09:38:56] <indigo> Diranged: then in foo you need neither require or notify.
[2011/11/18 09:39:25] <Diranged> Lets imagine I have Class['apache'] that installs apache, sets up httpd.conf, and turns the service on. Any changes to httpd.conf trigger the Service['apache'] to restart.. no big deal, all works fine.
[2011/11/18 09:39:54] <Diranged> Now, I have class[mywebserver] which: 1) includes apache… 2) creates /etc/httpd/conf.d/mywebsite.conf..
[2011/11/18 09:40:01] <indigo> Diranged: don't do that.
[2011/11/18 09:40:18] <astrostl> indigo: i see nothing wrong with that model
[2011/11/18 09:40:27] <indigo> Diranged: do this: http://pastie.org/2884383
[2011/11/18 09:40:28] <Diranged> now, class Apache has no knowledfge of this mywebstie.conf file.. however, by pushing that file with Class[mywebserver], we want that file to trigger an apache restart
[2011/11/18 09:40:28] <astrostl> 'apache' is a generic, 'specific web site' isn't
[2011/11/18 09:40:44] <astrostl> Diranged: /you can subscribe to the mywebserver file/
[2011/11/18 09:41:08] <astrostl> or you can notify the service from mywebserver, triggering a restart
[2011/11/18 09:41:12] <Diranged> indigo: although i do understand that model, and use it in some cases, its not ideal in all situations. its alot of extra work for some things..
[2011/11/18 09:41:48] <Diranged> astrostl: so the subscribe model would require that class[apache] knows about class[mywebserver] … AND forces you to always use classmywebserver..
[2011/11/18 09:42:04] <astrostl> notify => Service['Apache::apache2']
[2011/11/18 09:42:11] <Diranged> astrostl: the notify model is what i want.. its the one that makes the most sense. however, i dont want to have to notify the service directly. i want to notify the class..
[2011/11/18 09:42:15] @ Quit: pieter_: Quit: Ex-Chat
[2011/11/18 09:42:29] <Diranged> astrostl: i probably have to compromise right now and notify the service directly — but thats not very clean..
[2011/11/18 09:42:43] <astrostl> why don't you want to? why isn't it very clean?
[2011/11/18 09:42:45] <indigo> Diranged: why can't you do what i did?
[2011/11/18 09:42:57] <Diranged> astrostl: its akin to telling the mailman "dont bring my mail to the door… open up my door, come in my house and put it on my desk please"
[2011/11/18 09:43:10] <indigo> ie, it breaks encapsulation.
[2011/11/18 09:43:25] <astrostl> so make a service.pp with a class Apache::service
[2011/11/18 09:43:28] <astrostl> and notify that class
[2011/11/18 09:43:45] <astrostl> i break all of my manifests into sub-classes like that anyway
[2011/11/18 09:43:48] <Diranged> indigo: i can use your model, but its a ton of extra work.. and it doesnt work in all cases.
[2011/11/18 09:43:53] @ Quit: dbgster: Quit: dbgster
[2011/11/18 09:43:55] <Diranged> astrostl: hrmm.. that might be the right solution here actually..
[2011/11/18 09:43:57] <astrostl> init.pp has foo, includes foo::install (install.pp), foo::config (config.pp), etc.
[2011/11/18 09:44:09] @ Quit: kolla: Remote host closed the connection
[2011/11/18 09:44:47] <indigo> Diranged: like what case? I'm managing both apache and postgres with that model.
[2011/11/18 09:45:24] <astrostl> class dnsmasq { include dnsmasq::install, dnsmasq::service }
[2011/11/18 09:45:30] @ Quit: e1mer: Read error: Connection reset by peer
[2011/11/18 09:45:42] <Diranged> astrostl: i used to do that for alot of my modules.. and moved away from it. to be honest, cant remember why.. :)
[2011/11/18 09:45:47] <astrostl> that's init.pp. then there's an install.pp and service.pp.
[2011/11/18 09:46:04] <astrostl> it's less monolithic, easier to read and reference, etc.
[2011/11/18 09:46:25] @ Quit: andreaturli: Remote host closed the connection
[2011/11/18 09:47:45] @ Quit: mpdude: Read error: Operation timed out
[2011/11/18 09:48:38] @ jsurfer joined channel #puppet
[2011/11/18 09:49:49] @ e1mer joined channel #puppet
[2011/11/18 09:50:25] <astrostl> err: Could not retrieve catalog from remote server: Server hostname 'puppet' did not match server certificate; expected host.corp.example.com
[2011/11/18 09:50:26] @ Quit: the_ramink: Read error: Connection reset by peer
[2011/11/18 09:50:29] <astrostl> please to be helping with this
[2011/11/18 09:50:50] @ nfagerlund joined channel #puppet
[2011/11/18 09:50:59] @ the_ramink joined channel #puppet
[2011/11/18 09:51:25] <_rc> astrostl: look at the configuration directive certname for the master
[2011/11/18 09:51:52] <astrostl> do i need to set that before starting the master?
[2011/11/18 09:52:13] @ Quit: negronjl: Quit: Bye
[2011/11/18 09:52:36] @ Quit: _plg: Ping timeout: 252 seconds
[2011/11/18 09:53:13] <_rc> yes. you'll need to throw away all the ssl certs, and then let it regenerate that with it in place
[2011/11/18 09:53:25] <robinbowes> astrostl - also look at certdnsnames
[2011/11/18 09:53:30] <_rc> http://docs.puppetlabs.com/references/stable/configuration.html#certname
[2011/11/18 09:54:02] <astrostl> certname worked
[2011/11/18 09:54:07] @ Quit: rsnhyperion: Read error: Connection reset by peer
[2011/11/18 09:54:08] <astrostl> seems 'weird' to set it to 'puppet'
[2011/11/18 09:54:17] @ mrwacky42 joined channel #puppet
[2011/11/18 09:54:22] @ rsnhyperion joined channel #puppet
[2011/11/18 09:54:33] <astrostl> The certdnsnames setting is no longer functional, after CVE-2011-3872
[2011/11/18 09:54:41] <robinbowes> Ah, OK
[2011/11/18 09:54:45] <robinbowes> I vaguely remember that...
[2011/11/18 09:54:51] <astrostl> moved to http://docs.puppetlabs.com/references/stable/configuration.html#dnsaltnames
[2011/11/18 09:54:53] <_rc> it's entirely functional even after that CVE
[2011/11/18 09:54:55] <astrostl> i'll take a look at taht too
[2011/11/18 09:55:04] <astrostl> seems more elegant to alt than override
[2011/11/18 09:55:07] <_rc> it just doesn't bug and die anymore
[2011/11/18 09:55:09] <robinbowes> MM, I thought it was -
[2011/11/18 09:55:20] <robinbowes> Isn't it only a problem in certain circunstances?
[2011/11/18 09:55:50] @ Quit: stevie-bash: Quit: Verlassend
[2011/11/18 09:56:38] <_rc> in old versions of puppet setting certdnsnames would make all your clients get the dns name of the master in their alt names
[2011/11/18 09:57:02] <astrostl> dns_alt_names worked too
[2011/11/18 09:57:13] <_rc> 2.6.10, or was it .11, fixed that
[2011/11/18 09:57:14] <astrostl> so: certname 'puppet' or dns_alt_names 'puppet' ?
[2011/11/18 09:58:16] @ Quit: e1mer: Read error: Connection reset by peer
[2011/11/18 09:58:21] @ ianbrandt joined channel #puppet
[2011/11/18 09:58:44] @ Quit: alanna: Remote host closed the connection
[2011/11/18 09:59:24] @ Quit: zleslie: Remote host closed the connection
[2011/11/18 09:59:35] @ zleslie joined channel #puppet
[2011/11/18 10:00:08] @ Quit: zleslie: Changing host
[2011/11/18 10:00:08] @ zleslie joined channel #puppet
[2011/11/18 10:00:09] <the_ramink> astrostl: I'd do both so you can swap new masters in easily or migrate. From the command line it might looks like this. puppet cert --generate --dns_alt_names puppet,puppet.new.mydomain.com,puppet.old.mydomain.com --ca_name "Puppet CA: Created on puppet.mydomain.com, <date>" puppet.mydomain.com
[2011/11/18 10:00:21] @ zico joined channel #puppet
[2011/11/18 10:00:27] @ Quit: ken_barber: Quit: Leaving.
[2011/11/18 10:00:50] @ Ganesh joined channel #puppet
[2011/11/18 10:01:09] <Ganesh> Hello
[2011/11/18 10:01:13] <Ganesh> Greetings
[2011/11/18 10:01:16] @ Ganesh is now known as Guest64793
[2011/11/18 10:01:20] @ Quit: lak: Quit: Leaving.
[2011/11/18 10:01:32] <astrostl> the_ramink: can't i just set both in puppet.conf and then fire up master for the first time to let it take effect?
[2011/11/18 10:01:46] @ newtMcKerr joined channel #puppet
[2011/11/18 10:01:53] <the_ramink> astrostl: that too
[2011/11/18 10:01:53] <Guest64793> I have a question about puppet+ldap
[2011/11/18 10:02:04] <Guest64793> can some one experiensed answer me
[2011/11/18 10:02:16] @ Quit: verwilst: Ping timeout: 240 seconds
[2011/11/18 10:02:18] <Guest64793> can some one experienced answer me
[2011/11/18 10:02:23] @ motomike joined channel #puppet
[2011/11/18 10:02:23] <astrostl> certname = puppet and dns_alt_names = puppet,puppet.corp.example.com then?
[2011/11/18 10:02:52] <astrostl> i guess the first alt_name is redundant actually
[2011/11/18 10:03:50] @ Quit: Guest64793: Client Quit
[2011/11/18 10:04:00] @ Quit: danikov: Quit: danikov
[2011/11/18 10:04:01] @ hooper joined channel #puppet
[2011/11/18 10:05:03] @ GaneshAtGluu joined channel #puppet
[2011/11/18 10:05:13] <GaneshAtGluu> Hello Greetings
[2011/11/18 10:05:25] <GaneshAtGluu> I'm facing problem with ldap+puppet
[2011/11/18 10:05:36] @ Quit: zico: Quit: Page closed
[2011/11/18 10:05:37] <GaneshAtGluu> can some one experienced help me out
[2011/11/18 10:06:01] <astrostl> GaneshAtGluu: don't ask to ask. just ask.
[2011/11/18 10:06:12] <astrostl> if someone is available and interested, they will answer
[2011/11/18 10:06:21] @ peridot joined channel #puppet
[2011/11/18 10:06:26] <GaneshAtGluu> Oh thanks :0
[2011/11/18 10:06:30] <GaneshAtGluu> Here is the problem
[2011/11/18 10:06:48] <GaneshAtGluu> I was using puppet+dap and until recently it was working perfectly.
[2011/11/18 10:06:54] <Diranged> i just broke my postgres module up into various sub modules.. so i can notify postgres::service..
[2011/11/18 10:06:58] <GaneshAtGluu> In past days, we had to change the ldap tree
[2011/11/18 10:07:01] @ Quit: Spads: Ping timeout: 240 seconds
[2011/11/18 10:07:21] <GaneshAtGluu> but after changing the ldap tree, puppet is still referring to the old tree
[2011/11/18 10:07:28] <GaneshAtGluu> I'm stuck on how to solve this.
[2011/11/18 10:07:52] <astrostl> you're storing config information in ldap itself?
[2011/11/18 10:08:01] <GaneshAtGluu> yes
[2011/11/18 10:08:22] <GaneshAtGluu> what is changed is just: ldapbase, rest everything is same
[2011/11/18 10:08:41] <GaneshAtGluu> I even ensured that ldap query is working
[2011/11/18 10:09:00] <GaneshAtGluu> but ldap log says that it received query from puppet with old ldap base.
[2011/11/18 10:09:05] <astrostl> and you have specifically pointed puppet to the new base?
[2011/11/18 10:09:09] @ MartVisser joined channel #puppet
[2011/11/18 10:09:11] <GaneshAtGluu> ys
[2011/11/18 10:09:14] <GaneshAtGluu> yes*
[2011/11/18 10:09:28] @ ryancoleman joined channel #puppet
[2011/11/18 10:09:30] <astrostl> have you restarted the master? depending on the host you're using it could be caching old threads
[2011/11/18 10:09:37] <GaneshAtGluu> yes many times
[2011/11/18 10:09:40] <astrostl> by master i mean the master and everything supporting it: passenger or whatever
[2011/11/18 10:09:45] <GaneshAtGluu> yes
[2011/11/18 10:10:31] <GaneshAtGluu> but logs keep saying: retrying ldap, could not find node xyz.domain.com
[2011/11/18 10:10:52] <GaneshAtGluu> I checked with tcpdump and ldap logs verify that traffic from puppet to ldap is going
[2011/11/18 10:10:53] <astrostl> i guess i would start with a grep -Ri from /etc/puppet of the old basename
[2011/11/18 10:11:04] <hansi> never used ldap and puppet, have you tried a grep -r ldapserver /var/lib/puppet .Maybe you can get a hint
[2011/11/18 10:11:06] <astrostl> maybe you're pointing at it with an external script or node classifier, etc
[2011/11/18 10:11:12] <GaneshAtGluu> yes old name does not appear anywhere
[2011/11/18 10:11:28] <GaneshAtGluu> I cleared it from /var/lib/puppet and /etc/puppet/puppet.conf
[2011/11/18 10:11:28] <astrostl> i'd grep the entire fs
[2011/11/18 10:11:32] <astrostl> if it's reasonable
[2011/11/18 10:11:35] <GaneshAtGluu> I did that too :)
[2011/11/18 10:11:41] <GaneshAtGluu> somehow I'm lost
[2011/11/18 10:12:34] <GaneshAtGluu> even from puppet I generated the conf in some file, that shows me correct expected values
[2011/11/18 10:13:24] <GaneshAtGluu> I'm not sure if puppetmaster uses any cache at present in my case, because the paths present in the generated config file do not exist.
[2011/11/18 10:14:21] <GaneshAtGluu> is there any way to check what ldap query is being prepared by puppet before querying ldap?
[2011/11/18 10:14:27] <GaneshAtGluu> ldap is external to the puppet server.
[2011/11/18 10:14:47] <peridot> are there any dashboard rpms for rhel5? The one on the site is for rhel6...
[2011/11/18 10:14:57] <GaneshAtGluu> no I'm not using dashboard
[2011/11/18 10:15:06] <GaneshAtGluu> I could not accommodate that much space on VM
[2011/11/18 10:15:08] <peridot> I'm asking for me :)
[2011/11/18 10:15:16] <GaneshAtGluu> I used it once and then discarded.
[2011/11/18 10:15:17] <GaneshAtGluu> sorry :)
[2011/11/18 10:15:49] <GaneshAtGluu> but in your case, don't centos5 rpms work at redhat?
[2011/11/18 10:16:10] <the_ramink> peridot: dashboard 1.2.x needs ruby 1.8.7 so no new rpms for 5.x.
[2011/11/18 10:16:29] <peridot> :(
[2011/11/18 10:16:46] <peridot> Will it run on any version of centos? 1.2.x that is?
[2011/11/18 10:17:02] <the_ramink> time to start migrating to 6. Slacker. :)
[2011/11/18 10:17:13] <peridot> red tape! :P
[2011/11/18 10:17:27] @ verwilst joined channel #puppet
[2011/11/18 10:17:28] @ ken_barber joined channel #puppet
[2011/11/18 10:17:46] <the_ramink> you can run 1.1.x or earlier. Or go the RVM, REE, or src compile route.
[2011/11/18 10:18:06] @ tilgovi joined channel #puppet
[2011/11/18 10:18:06] @ Quit: tilgovi: Changing host
[2011/11/18 10:18:06] @ tilgovi joined channel #puppet
[2011/11/18 10:18:31] <peridot> I can't compile it from source without ruby 1.8.7 though, so guess I'll have to go the RVM route.
[2011/11/18 10:20:20] @ beaknit joined channel #puppet
[2011/11/18 10:21:05] @ rsnhyperion_ joined channel #puppet
[2011/11/18 10:21:05] @ Quit: rsnhyperion: Read error: Connection reset by peer
[2011/11/18 10:21:06] @ rsnhyperion_ is now known as rsnhyperion
[2011/11/18 10:21:39] @ mitchellh joined channel #puppet
[2011/11/18 10:21:43] @ Quit: GaneshAtGluu: Quit: Page closed
[2011/11/18 10:22:35] @ miche joined channel #puppet
[2011/11/18 10:23:35] @ Quit: gaveen: Remote host closed the connection
[2011/11/18 10:23:52] @ Quit: tilgovi: Ping timeout: 240 seconds
[2011/11/18 10:24:09] @ tilgovi joined channel #puppet
[2011/11/18 10:24:09] @ Quit: tilgovi: Changing host
[2011/11/18 10:24:10] @ tilgovi joined channel #puppet
[2011/11/18 10:24:42] @ Quit: sdog: Quit: Leaving.
[2011/11/18 10:25:43] @ Quit: MattyM: Quit: Leaving
[2011/11/18 10:27:38] @ Quit: nfagerlund: Remote host closed the connection
[2011/11/18 10:27:46] @ Quit: ezryx: Remote host closed the connection
[2011/11/18 10:28:48] @ Quit: showy: Read error: Connection reset by peer
[2011/11/18 10:29:34] @ labrown joined channel #puppet
[2011/11/18 10:29:39] @ williemach joined channel #puppet
[2011/11/18 10:31:43] @ shadoi joined channel #puppet
[2011/11/18 10:33:03] @ Quit: newtMcKerr: Quit: Leaving.
[2011/11/18 10:33:53] @ newtMcKerr joined channel #puppet
[2011/11/18 10:35:21] @ comptona joined channel #puppet
[2011/11/18 10:35:28] @ Quit: j^2: Ping timeout: 258 seconds
[2011/11/18 10:36:44] @ j^2 joined channel #puppet
[2011/11/18 10:38:35] @ bmahe joined channel #puppet
[2011/11/18 10:38:35] @ Quit: bmahe: Changing host
[2011/11/18 10:38:35] @ bmahe joined channel #puppet
[2011/11/18 10:38:45] @ negronjl joined channel #puppet
[2011/11/18 10:39:16] <Fthis> in PE2.0, i dropped a manifest's init.pp on the filesystem that defines a function called "rsync::get" and it needs options of course. i used to do this using nodes.pp files, but i would like to use dashboard to manage it now. i can't figure out how to do it though. i can add a class... but where do i define rsync::get and it's options?
[2011/11/18 10:40:08] <Fthis> does puppet have a support forum ?
[2011/11/18 10:40:56] <stahnma> Fthis: mailling lists are the normal way, puppet-users on google groups gets fairly decent reponses
[2011/11/18 10:41:00] @ mcarpent joined channel #puppet
[2011/11/18 10:41:10] @ Quit: localhost: Remote host closed the connection
[2011/11/18 10:41:13] <Fthis> gotcha
[2011/11/18 10:42:03] <Fthis> basically i'm trying to figure out how to configure nodes via dashboard, rather than nodes.pp
[2011/11/18 10:42:25] @ localhost joined channel #puppet
[2011/11/18 10:42:56] @ Quit: illsci: Quit: [BX] Reserve your copy of BitchX-1.1-final for the Commodore 64 today!
[2011/11/18 10:43:16] @ Quit: nahamu: Ping timeout: 255 seconds
[2011/11/18 10:43:31] @ alanna joined channel #puppet
[2011/11/18 10:43:39] @ illsci joined channel #puppet
[2011/11/18 10:43:41] @ nfagerlund joined channel #puppet
[2011/11/18 10:48:11] @ Quit: _andre: Quit: leaving
[2011/11/18 10:49:26] @ trickyf joined channel #puppet
[2011/11/18 10:51:18] @ Quit: nfagerlund: Remote host closed the connection
[2011/11/18 10:53:28] @ jbel joined channel #puppet
[2011/11/18 10:53:40] @ Quit: miche: Quit: Computer has gone to sleep.
[2011/11/18 10:53:42] @ Quit: alanna: Remote host closed the connection
[2011/11/18 10:53:54] @ seanh-ansca joined channel #puppet
[2011/11/18 10:53:56] @ nfagerlund joined channel #puppet
[2011/11/18 10:56:11] <Volcane> i might be wrong - dashboard in pe is unique - but i dont think it supports creating defined resources (i dont think ENCs in general can)
[2011/11/18 10:56:33] <Volcane> and it also doesnt support passing parameters to parameterized classes - though in that instance the ENC interface can do it
[2011/11/18 10:56:58] @ Quit: tilgovi: Ping timeout: 244 seconds
[2011/11/18 10:57:04] <agwells0714> can I go OT and ask if anyone here has used XenServer of XCP ?
[2011/11/18 10:57:05] @ joshcooper joined channel #puppet
[2011/11/18 10:58:03] @ Quit: dan__t: Ping timeout: 252 seconds
[2011/11/18 10:58:07] @ Quit: jonhattan: Quit: llevaré una chaquete de guns'n'roses
[2011/11/18 10:58:13] <robinbowes> No
[2011/11/18 10:58:24] <robinbowes> Try ##infra-talk
[2011/11/18 10:58:41] <agwells0714> okay cause ##xen looks dead
[2011/11/18 10:58:52] <robinbowes> Hey Volcane - looking good with hiera
[2011/11/18 10:59:11] @ alanna joined channel #puppet
[2011/11/18 10:59:19] <robinbowes> Working my way through a raft a shite manifests, converting 3 environments to one codebase with hiera lookups
[2011/11/18 10:59:22] <robinbowes> Time for home!
[2011/11/18 11:02:04] <Lorn> Does anybody know the error "Must pass a parameter or all necessary values"? http://pastebin.com/v4UgaBDQ
[2011/11/18 11:02:18] @ alanna_ joined channel #puppet
[2011/11/18 11:02:26] @ Quit: alanna: Read error: Connection reset by peer
[2011/11/18 11:04:38] @ Quit: natewalck: Quit: Outta here
[2011/11/18 11:05:05] @ Quit: pheller: Quit: pheller
[2011/11/18 11:05:26] @ dhogland joined channel #puppet
[2011/11/18 11:05:45] @ nahamu joined channel #puppet
[2011/11/18 11:06:03] @ Quit: dfamorato_: Read error: Connection reset by peer
[2011/11/18 11:06:53] @ dfamorato joined channel #puppet
[2011/11/18 11:07:23] @ Quit: MartVisser: Quit: This computer has gone to sleep
[2011/11/18 11:07:41] @ pheller joined channel #puppet
[2011/11/18 11:07:50] @ pheller left channel #puppet ()
[2011/11/18 11:08:28] <Volcane> `.
[2011/11/18 11:08:44] <jiboumans> how do i see (in 2.6.3) what class is include()'ing another class? I have a class being applied on a bunch of machines that as far as i can tell is definitely not being included by any code i wrote.
[2011/11/18 11:09:06] <Volcane> robinbowes: nice :)
[2011/11/18 11:11:36] @ BManojlovic joined channel #puppet
[2011/11/18 11:11:37] @ Quit: BManojlovic: Changing host
[2011/11/18 11:11:37] @ BManojlovic joined channel #puppet
[2011/11/18 11:12:08] @ _plg joined channel #puppet
[2011/11/18 11:12:22] @ Quit: _plg: Client Quit
[2011/11/18 11:13:45] @ ckauhaus1 joined channel #puppet
[2011/11/18 11:14:06] @ Quit: ckauhaus1: Client Quit
[2011/11/18 11:14:54] @ miche joined channel #puppet
[2011/11/18 11:15:09] @ Quit: ken_barber: Quit: Leaving.
[2011/11/18 11:17:38] @ Quit: rcrowley: Quit: Computer has gone to sleep.
[2011/11/18 11:18:31] @ Quit: nahamu: Ping timeout: 260 seconds
[2011/11/18 11:19:20] @ Quit: trickyf: Remote host closed the connection
[2011/11/18 11:19:58] @ MartVisser joined channel #puppet
[2011/11/18 11:20:03] @ dfamorato_ joined channel #puppet
[2011/11/18 11:22:02] @ cruzfox joined channel #puppet
[2011/11/18 11:23:28] @ Quit: dfamorato: Ping timeout: 248 seconds
[2011/11/18 11:23:42] <nate_h> jiboumans, grep ?
[2011/11/18 11:23:56] <jiboumans> nate_h: as i said, i'm not including it myself
[2011/11/18 11:24:01] <jiboumans> grep confirms this
[2011/11/18 11:24:33] <jiboumans> nate_h: other interesting note is that that manifest is not being run in a 'run stage', even though all our code is in one.
[2011/11/18 11:24:41] <jiboumans> nate_h: 99% sure it's a bug, but i can't track it down.
[2011/11/18 11:25:24] <nate_h> try moving the class name
[2011/11/18 11:25:29] <nate_h> and see where it errors
[2011/11/18 11:26:11] <nate_h> put an obvious error in the class too and make sure its actually that class that's getting included, or maybe just a notice statement
[2011/11/18 11:26:23] @ Archer_ joined channel #puppet
[2011/11/18 11:26:32] <Archer_> Afternoon, all.
[2011/11/18 11:26:44] <jiboumans> nate_h: good thought, i'll try that
[2011/11/18 11:26:58] <Archer_> I'm trying to use puppet-vcsrepo and having some trouble getting my manifests to recognize the vcsrepo type.
[2011/11/18 11:28:09] @ Allister joined channel #puppet
[2011/11/18 11:28:31] <Archer_> With debug on, I see things like 'Loading downloaded plugin /var/lib/puppet/lib/puppet/type/vcsrepo.rb' and 'Redefining vcsrepo in Puppet::Type' but I get this error when my manifest runs: "Error 400 on SERVER: Puppet::Parser::AST::Resource failed with error ArgumentError: Invalid resource type vcsrepo at..."
[2011/11/18 11:28:38] <Archer_> Anybody know what's happening?
[2011/11/18 11:32:30] @ Quit: adimania: Ping timeout: 244 seconds
[2011/11/18 11:34:04] @ mmoya joined channel #puppet
[2011/11/18 11:34:35] <mmoya> how can I see from the master all available facts for a given client?
[2011/11/18 11:35:29] @ Quit: skm: Quit: Computer has gone to sleep.
[2011/11/18 11:35:40] <agwells0714> no one is talking in infra talk
[2011/11/18 11:36:42] @ Quit: mcarpent: Ping timeout: 245 seconds
[2011/11/18 11:37:48] <astrostl> err: /Stage[main]/Rvm::Deps/Package[gcc-c++patchreadlinereadline-develzlibzlib-devellibyaml-devellibffi-developenssl-develmakebzip2autoconfautomakelibtoolbison]/ensure:
[2011/11/18 11:38:02] <astrostl> $packages = [ 'gcc-c++', 'patch', 'readline', 'readline-devel', 'zlib', 'zlib-devel', 'libyaml-devel', 'libffi-devel', 'openssl-devel', 'make', 'bzip2', 'autoconf', 'automake', 'libtool', 'bison' ]
[2011/11/18 11:38:07] <astrostl> what is the syntax error here?
[2011/11/18 11:38:49] @ mcarpent joined channel #puppet
[2011/11/18 11:39:04] <Volcane> you probably do package{"${packages}": .. } right?
[2011/11/18 11:39:18] <astrostl> package { "$packages": }
[2011/11/18 11:39:20] @ Quit: MartVisser: Quit: This computer has gone to sleep
[2011/11/18 11:39:21] <Volcane> (we wouldnt need to guess if you showed the code on pastie.org)
[2011/11/18 11:39:36] <Volcane> "$array" tells puppt take the array and make it a string
[2011/11/18 11:39:44] @ MartVisser joined channel #puppet
[2011/11/18 11:39:45] <Volcane> where $array doesnt do that it retains teh data
[2011/11/18 11:39:50] <Volcane> so just use $array
[2011/11/18 11:39:51] <astrostl> so just don't quote it or single-quote it?
[2011/11/18 11:39:57] <astrostl> thx
[2011/11/18 11:40:00] <Volcane> dont quote it
[2011/11/18 11:44:56] @ nahamu joined channel #puppet
[2011/11/18 11:47:25] @ danikov joined channel #puppet
[2011/11/18 11:47:42] @ samkottler1 joined channel #puppet
[2011/11/18 11:48:56] @ KaiserBeto joined channel #puppet
[2011/11/18 11:49:42] @ doprdele joined channel #puppet
[2011/11/18 11:50:01] @ Quit: peridot: Quit: Leaving.
[2011/11/18 11:51:17] @ KaiserBeto left channel #puppet ()
[2011/11/18 11:51:19] @ Quit: cruzfox: Quit: cruzfox
[2011/11/18 11:52:07] @ dbgster joined channel #puppet
[2011/11/18 11:52:40] @ Quit: lovemj: Ping timeout: 240 seconds
[2011/11/18 11:54:01] @ lovemj joined channel #puppet
[2011/11/18 11:56:40] <pll> How can I tell puppet that $confdir is "someplace else"...
[2011/11/18 11:57:15] <Volcane> edit the puppet.conf
[2011/11/18 11:57:32] <pll> puppet.conf is "someplace else", that's the problem.
[2011/11/18 11:57:58] <the_ramink> pll: passenger?
[2011/11/18 11:58:07] <pll> the_ramink: no.
[2011/11/18 11:58:29] <pll> Someone mentioned yesterday about moving all puppet stuff to /home/puppet.
[2011/11/18 11:58:36] <Volcane> puppet foo --configdir=/some/other/file ?
[2011/11/18 11:58:45] <pll> It seemed like decent idea, so I'm trying it out.
[2011/11/18 11:58:58] <pll> Ahh, okay, I didn't see that in the docs Volcane !
[2011/11/18 11:59:07] <Volcane> every config option can be supplied on the cli
[2011/11/18 11:59:19] <Volcane> so it would be --confdir rather but u get the idea
[2011/11/18 11:59:22] <the_ramink> pll: it was me, though I was specificly talking about seperating the master for the client on your Puppet master server.
[2011/11/18 11:59:30] <pll> yea
[2011/11/18 11:59:44] <pll> the_ramink: yes, I understand that.
[2011/11/18 12:00:11] @ Quit: doprdele: Ping timeout: 258 seconds
[2011/11/18 12:00:12] <pll> I was just thinking that it might actually make sense to consolidate all the moving parts of puppet to one location under the puppet user.
[2011/11/18 12:01:02] <pll> In reality, it's starting to seem like a bad idea :)
[2011/11/18 12:01:41] <the_ramink> pll: Well here's my logic. At some point you're going to need to run your Puppet master inside Passenger (or mongrel or unicorn or whatever) and it'll run as an unprvileged user. Rather than have users puppet and users root (which you client runs as) fight over /var/lib/puppet it's easier to have your puppet master point to a different set of dirs.
[2011/11/18 12:02:09] <pll> It certainly makes sense.
[2011/11/18 12:02:59] <Volcane> var/lib/puppet etc is owned by the 'puppet' user by default
[2011/11/18 12:03:06] <Volcane> and the master drops privs to puppet by default
[2011/11/18 12:03:16] <Volcane> its all setup for exactly this use case if you just did nothing
[2011/11/18 12:03:49] <Volcane> (on a master that is)
[2011/11/18 12:04:27] @ Quit: BManojlovic: Remote host closed the connection
[2011/11/18 12:04:53] <pll> Volcane: one other consideration, which consolidation makes easier, is source/revision control
[2011/11/18 12:05:00] <the_ramink> Volcane: and until you kick of the client which likes to chown things to root. At least on 10.04 lts in my experiecne. :(
[2011/11/18 12:05:28] <pll> It's much simpler to check out a single hierarchy for all your stuff than a bunch of different locations.
[2011/11/18 12:05:29] <Volcane> the_ramink: must be a cofig problem in LTS then cos it just doesnt work that way by default
[2011/11/18 12:05:58] <Volcane> pll: by default all manifests and stuff you'd want to version control is in one place - /etc/puppet
[2011/11/18 12:06:14] <pll> Hmm, good point.
[2011/11/18 12:06:35] * pll abandons this nonsense :)
[2011/11/18 12:07:00] @ zwi joined channel #puppet
[2011/11/18 12:07:07] <Volcane> i am not saying there isnt good cause for this - but generally people did actually think about these things when designing the software :)
[2011/11/18 12:07:09] @ BManojlovic joined channel #puppet
[2011/11/18 12:07:43] <Volcane> there's some weirdness for example with the defult certnames used by master/agent on the same machine so it might be useful to split the ssl dirs
[2011/11/18 12:08:06] <Volcane> but i think the weirdness there has been fixed
[2011/11/18 12:08:09] <pll> Volcane: It's not that I think *they* didn't think of it, it's that *I* don't know/understand where all the moving parts are yet, and assumed it would just be easier to move everything to one location.
[2011/11/18 12:08:53] <pll> So, don't interpret this as a slight against the developers, merely, user ignorance :)
[2011/11/18 12:09:19] <Volcane> hehe ok and indeed thats how i interpreted it
[2011/11/18 12:09:42] <pll> Thanks for educating me :)
[2011/11/18 12:10:16] <Volcane> if i thought you were just bashing the devs i wouldnt take the time to fill in the gaps in your knowledge that got you where you are :)
[2011/11/18 12:10:18] @ Quit: Archer_: Quit: Page closed
[2011/11/18 12:10:34] <pll> I appreciate that!
[2011/11/18 12:10:51] @ chrisd2 joined channel #puppet
[2011/11/18 12:10:55] <pll> Mostly, I like to take things apart, break them, and figure out how to fix them.
[2011/11/18 12:11:01] <pll> It helps me understand.
[2011/11/18 12:11:18] <Volcane> yeah
[2011/11/18 12:11:24] @ doprdele joined channel #puppet
[2011/11/18 12:12:24] @ Quit: pugnacity: Ping timeout: 244 seconds
[2011/11/18 12:12:27] @ Quit: mcarpent: Ping timeout: 258 seconds
[2011/11/18 12:12:45] <chrisd2> I am working on refactoring our puppet setup. We support multiple versions of Ubuntu, 10.10, 11.04, 11.10. I am wondering about the best way to support those versions. Should I have a separate environment for each OS version or is there a better way? Also, would Puppet be good for performing release upgrades, ie moving from 11.04 to 11.10, or should that be handled in another way? I am mostly looking
[2011/11/18 12:12:48] <chrisd2> for information on best practices, so a pointer to relevant documentation would be great (I am not afraid to read and learn).
[2011/11/18 12:12:56] @ mpdude joined channel #puppet
[2011/11/18 12:14:42] <indigo> chrisd2: i'd handle it the same way i'd handle different OSs, like debian and mac os. Conditionals for little things that are different, separate classes for big things.
[2011/11/18 12:15:20] <indigo> chrisd2: if you have separate environments, then I don't know if you have a great way to define things that are common to some versions.
[2011/11/18 12:15:27] <robinbowes> Volcane: I asked a question about hiera cli earlier...
[2011/11/18 12:15:36] <robinbowes> Volcane: Should one be able to do the equivalent of hiera($fqdn, '', 'nodes') from the command line ?
[2011/11/18 12:15:53] * robinbowes can't work out how
[2011/11/18 12:16:07] @ maxmartin joined channel #puppet
[2011/11/18 12:16:36] @ pugnacity joined channel #puppet
[2011/11/18 12:16:55] <chrisd2> indigo: I was preferring to have environemnts for separate projects and for staging/production differences. I think the conditional is a great idea for handling separate versions of the OS. Thank you for your advice.
[2011/11/18 12:17:28] <Volcane> robinbowes: seems not - i can see i had intended to add that but never did it
[2011/11/18 12:17:29] @ Kazuhiro joined channel #puppet
[2011/11/18 12:17:34] <robinbowes> OK
[2011/11/18 12:17:45] <robinbowes> Glad it's not just me being daft this time :)
[2011/11/18 12:19:19] <hajile> Volcane: you available for some quick mcollective help? :)
[2011/11/18 12:19:28] <hajile> hopefully quick, that is :)
[2011/11/18 12:19:45] @ Quit: mpdude: Ping timeout: 276 seconds
[2011/11/18 12:19:57] @ mpdude joined channel #puppet
[2011/11/18 12:20:08] @ Quit: car|0s: Read error: Connection reset by peer
[2011/11/18 12:21:51] @ chrisd2 left channel #puppet ("WeeChat 0.3.5")
[2011/11/18 12:22:08] @ Quit: miche: Quit: Textual IRC Client: http://www.textualapp.com/
[2011/11/18 12:22:10] @ ghanima joined channel #puppet
[2011/11/18 12:22:41] <Volcane> yeah
[2011/11/18 12:23:07] <hajile> I'm going to try one other thing first :) If it doesn't work, I may need to bug you..
[2011/11/18 12:24:07] <Volcane> ok, #mcollective though
[2011/11/18 12:24:26] @ mcarpent joined channel #puppet
[2011/11/18 12:24:49] <hajile> oh true
[2011/11/18 12:24:51] <hajile> will do
[2011/11/18 12:26:28] @ sdog joined channel #puppet
[2011/11/18 12:26:47] <wilco> Maybe I've never tried or needed this... but it is possible to specify a negative dependency? i.e., exec 'rpm-key-import' if no package 'gpg-pubkey-XXX'? Otherwise, I guess I'm reduced to using exec w/unless...
[2011/11/18 12:28:47] <kjetilho> yeah
[2011/11/18 12:29:51] @ Quit: doprdele: Ping timeout: 244 seconds
[2011/11/18 12:35:16] <wilco> and how might that be? (assuming that was a response to my question...)
[2011/11/18 12:36:58] @ tilgovi joined channel #puppet
[2011/11/18 12:36:58] @ Quit: tilgovi: Changing host
[2011/11/18 12:36:58] @ tilgovi joined channel #puppet
[2011/11/18 12:37:36] <kjetilho> wilco: oh. I answered affirmatively to your last sentence
[2011/11/18 12:37:49] <wilco> Ah, thanks
[2011/11/18 12:38:05] @ d3c joined channel #puppet
[2011/11/18 12:38:22] <d3c> on a puppetmaster managing itself, can I set a certname for both the [master] and [agent] section of puppet.conf?
[2011/11/18 12:38:32] <WALoeIII> how can I build a template from smaller templates based on which classes are included
[2011/11/18 12:38:39] <WALoeIII> i.e. I need collectd.d/python.conf
[2011/11/18 12:38:58] <WALoeIII> and I have a variety of different python modules to inject into that file, and I would prefer to model them as their own classes
[2011/11/18 12:39:20] <WALoeIII> is this an example of export/realize (which I do not understand fully)
[2011/11/18 12:39:53] <wilco> WALoeIII: Something like this? http://projects.puppetlabs.com/projects/1/wiki/Building_Multipart_Files_Patterns
[2011/11/18 12:40:40] <WALoeIII> wow thats hacky
[2011/11/18 12:40:58] <WALoeIII> I suppose though yes, I think I will instead patch collectd to handle multiple <Plugin python> declarations
[2011/11/18 12:41:06] <WALoeIII> then Ic an just have them all in individual files
[2011/11/18 12:41:20] <wilco> You could also write your own provider...
[2011/11/18 12:42:54] @ doprdele joined channel #puppet
[2011/11/18 12:45:21] <robinbowes> WALoeIII: what's hacky about it? It's just doing similar things to a lot of other puppet stuff, but it's not hidden away in ruby libs
[2011/11/18 12:46:18] @ maes_ joined channel #puppet
[2011/11/18 12:46:21] @ Quit: astrostl:
[2011/11/18 12:46:46] @ Quit: indigo: Quit: leaving
[2011/11/18 12:47:43] @ Quit: maes_`: Ping timeout: 258 seconds
[2011/11/18 12:48:09] @ Quit: zwi: Quit: Leaving.
[2011/11/18 12:49:58] @ jongrocho joined channel #puppet
[2011/11/18 12:50:42] @ Quit: jongrocho: Remote host closed the connection
[2011/11/18 12:51:46] @ InsolentDreams joined channel #puppet
[2011/11/18 12:52:22] @ Quit: verwilst: Quit: Ex-Chat
[2011/11/18 12:53:27] @ Quit: gniks: Quit: Leaving.
[2011/11/18 12:55:42] @ nul0op joined channel #puppet
[2011/11/18 12:57:18] @ gniks joined channel #puppet
[2011/11/18 12:58:02] @ rcrowley joined channel #puppet
[2011/11/18 12:58:32] <d3c> sorry, I mean: on a puppetmaster managing itself, can I set a certname for both the *[main]* and [agent] section of puppet.conf ?
[2011/11/18 12:59:06] @ Quit: Guest58842: Quit: leaving
[2011/11/18 12:59:27] @ ricky joined channel #puppet
[2011/11/18 13:00:34] @ philbert_777 joined channel #puppet
[2011/11/18 13:01:55] @ Quit: tvsutton: Remote host closed the connection
[2011/11/18 13:02:10] @ Quit: philbert_777: Client Quit
[2011/11/18 13:02:45] @ philbert_777 joined channel #puppet
[2011/11/18 13:02:47] @ Quit: newtMcKerr: Quit: Leaving.
[2011/11/18 13:02:54] @ Quit: doprdele: Ping timeout: 252 seconds
[2011/11/18 13:03:37] @ Quit: dhogland: Remote host closed the connection
[2011/11/18 13:03:40] @ tvsutton joined channel #puppet
[2011/11/18 13:07:24] @ Quit: motomike: Quit: Leaving.
[2011/11/18 13:08:25] @ Quit: sdog: Quit: Leaving.
[2011/11/18 13:08:33] @ newtMcKerr joined channel #puppet
[2011/11/18 13:10:10] @ Quit: alfism: Quit: alfism
[2011/11/18 13:12:57] @ Quit: newtMcKerr: Ping timeout: 252 seconds
[2011/11/18 13:13:12] @ miche joined channel #puppet
[2011/11/18 13:16:50] @ kelseyhi1htower joined channel #puppet
[2011/11/18 13:17:46] @ Quit: Kazuhiro: Quit: Leaving.
[2011/11/18 13:18:30] @ Quit: kelseyhightower: Read error: Connection reset by peer
[2011/11/18 13:24:13] @ ryancoleman1 joined channel #puppet
[2011/11/18 13:25:03] @ Quit: fir31ight: Remote host closed the connection
[2011/11/18 13:25:12] @ Kazuhiro joined channel #puppet
[2011/11/18 13:25:24] <pll> is there a decent way to have puppet import an rpm gpg key from a remote site ?
[2011/11/18 13:27:10] @ Quit: ryancoleman: Quit: Leaving.
[2011/11/18 13:27:55] @ fir31ight joined channel #puppet
[2011/11/18 13:29:00] @ lak joined channel #puppet
[2011/11/18 13:29:01] @ Quit: lak: Changing host
[2011/11/18 13:29:01] @ lak joined channel #puppet
[2011/11/18 13:29:44] @ Quit: jeremy: Quit: jeremy
[2011/11/18 13:31:06] @ Quit: Kazuhiro: Ping timeout: 252 seconds
[2011/11/18 13:32:08] @ Quit: negronjl: Ping timeout: 245 seconds
[2011/11/18 13:33:24] @ Quit: Fthis: Ping timeout: 265 seconds
[2011/11/18 13:33:29] @ Quit: mitchellh: Quit: Computer has gone to sleep
[2011/11/18 13:37:51] @ Quit: nevyn: Read error: Connection reset by peer
[2011/11/18 13:39:31] @ Quit: uphillian: Quit: Leaving.
[2011/11/18 13:39:42] <kjetilho> pll: yum/rpm will automatically import the key if you name it in the repository
[2011/11/18 13:40:18] <kjetilho> gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
[2011/11/18 13:40:21] <kjetilho> that is
[2011/11/18 13:41:26] <chewie_> Can someone tell me why I'm getting the error in this pastie? (http://pastie.org/2885464) The file that has the error is also in the pastie.
[2011/11/18 13:41:54] @ nevyn joined channel #puppet
[2011/11/18 13:42:49] <kjetilho> so what is the value of $operatingsystem ?
[2011/11/18 13:42:50] @ Quit: kelseyhi1htower: Quit: leaving
[2011/11/18 13:43:05] @ kelseyhightower joined channel #puppet
[2011/11/18 13:43:10] <_rc> chewie_: what's the value of $operatingsystem? add notice { "operatingsystem is ${operatingsystem}": }
[2011/11/18 13:43:16] @ Kazuhiro joined channel #puppet
[2011/11/18 13:43:19] <_rc> *notify
[2011/11/18 13:44:32] @ Razique joined channel #puppet
[2011/11/18 13:45:25] @ Kazuhiro1 joined channel #puppet
[2011/11/18 13:45:48] @ jkoppe joined channel #puppet
[2011/11/18 13:46:59] <chewie_> _rc: is it case sensitive, because it returns "Ubuntu" not "ubuntu"
[2011/11/18 13:47:19] <_rc> yes
[2011/11/18 13:47:52] @ jkoppe left channel #puppet ()
[2011/11/18 13:48:03] <_rc> so it doesn't match either case, doesn't declare the package, can't resolve the dep later
[2011/11/18 13:48:38] <chewie_> _rc: gotcha....I can change the regex then so it matches any case
[2011/11/18 13:48:53] <chewie_> or will it always be "Ubuntu"
[2011/11/18 13:49:25] @ Quit: Kazuhiro: Ping timeout: 240 seconds
[2011/11/18 13:50:08] @ Quit: alanna_: Remote host closed the connection
[2011/11/18 13:50:41] <kjetilho> regexps in case are case insensitive by default
[2011/11/18 13:50:48] @ alanna joined channel #puppet
[2011/11/18 13:50:50] <kjetilho> so it should work
[2011/11/18 13:51:30] <kjetilho> what version is your puppetmaster running?
[2011/11/18 13:51:47] <_rc> you can make the regex insensitive by making it /(?i:ubuntu|debian)/
[2011/11/18 13:52:21] @ showy joined channel #puppet
[2011/11/18 13:52:31] <_rc> kjetilho: that seems like an odd rule to have
[2011/11/18 13:52:36] @ emergion joined channel #puppet
[2011/11/18 13:52:47] <kjetilho> it's for consistency
[2011/11/18 13:53:14] <_rc> with what?
[2011/11/18 13:54:30] @ Kazuhiro1 left channel #puppet ()
[2011/11/18 13:55:27] @ Quit: kermit: Remote host closed the connection
[2011/11/18 13:55:28] <_rc> http://pastie.org/2885548 a simple test case shows it to be case-sensitive
[2011/11/18 13:56:32] @ djm68 joined channel #puppet
[2011/11/18 13:58:07] <_rc> actually it's better, strings are treated case-insensitively, regexes not http://pastie.org/2885548
[2011/11/18 13:58:26] <_rc> I guess it assumes if you write a regex you know what you mean
[2011/11/18 13:58:44] @ Quit: emergion: Quit: later...
[2011/11/18 13:58:54] @ Quit: brandon_dacrib: Quit: brandon_dacrib
[2011/11/18 13:59:08] @ Kazuhiro joined channel #puppet
[2011/11/18 13:59:30] @ Quit: samkottler1: Quit: Leaving.
[2011/11/18 14:02:43] @ negronjl joined channel #puppet
[2011/11/18 14:03:56] @ erodriguez joined channel #puppet
[2011/11/18 14:04:05] @ kermit joined channel #puppet
[2011/11/18 14:06:59] <kjetilho> _rc: hmm, I wonder when that changed
[2011/11/18 14:07:44] <pll> kjetilho: re the gpg key, how does that work ?
[2011/11/18 14:08:27] <pll> I'm using an external repo, so I don't have control over it.
[2011/11/18 14:08:44] <kjetilho> but they publish the gpg-key, don't they?
[2011/11/18 14:08:50] <pll> yes.
[2011/11/18 14:08:53] <kjetilho> typically, it is included in a foo-release package
[2011/11/18 14:09:09] <kjetilho> but you can install it yourself using File for that matter
[2011/11/18 14:09:36] @ emergion joined channel #puppet
[2011/11/18 14:09:46] <pll> I'm not sure what that would look like..
[2011/11/18 14:09:46] @ motomike joined channel #puppet
[2011/11/18 14:09:54] <kjetilho> in interactive mode, yum will ask if it is OK to add the key. but Puppet runs you with -y so it does it automatically
[2011/11/18 14:10:09] @ msaum joined channel #puppet
[2011/11/18 14:10:10] @ Quit: Kazuhiro: Read error: Connection reset by peer
[2011/11/18 14:10:23] <pll> So, I'd use a file{} and point source => $url ?
[2011/11/18 14:10:30] @ Quit: localhost: Remote host closed the connection
[2011/11/18 14:10:53] <kjetilho> no, put the file in your own config tree
[2011/11/18 14:11:08] <kjetilho> if there is no foo-release package
[2011/11/18 14:11:14] @ Kazuhiro joined channel #puppet
[2011/11/18 14:11:20] @ Kazuhiro left channel #puppet ()
[2011/11/18 14:11:46] @ Quit: blentz: Ping timeout: 244 seconds
[2011/11/18 14:11:54] <pll> Oh, so wget the key itself, then use a file{} to get it to the client, and an exec{} to run 'rpm --import' ?
[2011/11/18 14:12:31] <kjetilho> no...
[2011/11/18 14:12:41] <pll> okay, I'm feeling really stupid now :)
[2011/11/18 14:12:56] <kjetilho> you add the file to the repo definition
[2011/11/18 14:13:58] @ Quit: emergion: Ping timeout: 258 seconds
[2011/11/18 14:14:06] @ Quit: philbert_777: Ping timeout: 260 seconds
[2011/11/18 14:15:05] @ emergion joined channel #puppet
[2011/11/18 14:15:55] @ Quit: miche: Quit: Computer has gone to sleep.
[2011/11/18 14:17:06] @ nated joined channel #puppet
[2011/11/18 14:17:07] @ Quit: nated: Changing host
[2011/11/18 14:17:07] @ nated joined channel #puppet
[2011/11/18 14:17:13] @ Kazuhiro1 joined channel #puppet
[2011/11/18 14:17:27] @ Quit: alanna: Remote host closed the connection
[2011/11/18 14:18:02] @ alanna joined channel #puppet
[2011/11/18 14:18:45] @ Kazuhiro2 joined channel #puppet
[2011/11/18 14:19:38] @ Quit: alanna: Read error: Connection reset by peer
[2011/11/18 14:20:05] @ alanna joined channel #puppet
[2011/11/18 14:21:27] @ Quit: Kazuhiro1: Ping timeout: 244 seconds
[2011/11/18 14:21:52] @ Quit: illsci: Ping timeout: 240 seconds
[2011/11/18 14:22:07] @ Quit: d3c: Quit: Lost terminal
[2011/11/18 14:27:23] @ mitchellh joined channel #puppet
[2011/11/18 14:32:45] @ Quit: labrown: Quit: Leaving
[2011/11/18 14:32:57] @ blentz joined channel #puppet
[2011/11/18 14:37:37] @ ronan_ left channel #puppet ()
[2011/11/18 14:38:41] @ intransigent007 joined channel #puppet
[2011/11/18 14:39:14] <intransigent007> is it bad form to create a module called "os" that includes things like base packages, nsswitch.conf, etc?
[2011/11/18 14:39:26] @ Quit: mcarpent: Quit: Thanks for the fish.
[2011/11/18 14:40:47] @ Quit: clustermagnet: Quit: Leaving.
[2011/11/18 14:41:06] @ Quit: spiette: Quit: Leaving
[2011/11/18 14:41:25] @ e1mer joined channel #puppet
[2011/11/18 14:43:20] <the_ramink> intransigent007: I use includer $::operatingsystem and then in the case of class ubuntu load apt, set apt repos, etc. Overall it's usually better to create a module that can work with the various OS you may have to support than trying to overload an os class.
[2011/11/18 14:47:16] @ Quit: jodok: Quit: jodok
[2011/11/18 14:48:22] @ Kazuhiro joined channel #puppet
[2011/11/18 14:48:34] @ Kazuhiro left channel #puppet ()
[2011/11/18 14:51:47] @ Quit: Kazuhiro2: Ping timeout: 252 seconds
[2011/11/18 14:51:52] @ Quit: negronjl: Ping timeout: 240 seconds
[2011/11/18 14:52:41] @ kelseyhi1htower joined channel #puppet
[2011/11/18 14:53:10] @ negronjl joined channel #puppet
[2011/11/18 14:53:54] @ miche joined channel #puppet
[2011/11/18 14:54:38] @ Quit: kelseyhightower: Ping timeout: 244 seconds
[2011/11/18 14:55:26] @ ezmobius joined channel #puppet
[2011/11/18 14:56:10] @ Quit: rsnhyperion: Quit: rsnhyperion
[2011/11/18 14:57:40] @ erthad left channel #puppet ()
[2011/11/18 15:00:09] @ Quit: dj__: Quit: Leaving
[2011/11/18 15:00:41] @ Quit: benkevan: Ping timeout: 240 seconds
[2011/11/18 15:01:02] @ jodok joined channel #puppet
[2011/11/18 15:01:41] @ fenrus02 joined channel #puppet
[2011/11/18 15:02:20] @ Quit: rharrison: Quit: Leaving
[2011/11/18 15:05:40] @ verwilst joined channel #puppet
[2011/11/18 15:05:40] @ Quit: verwilst: Client Quit
[2011/11/18 15:06:36] @ Quit: MartVisser: Quit: Leaving
[2011/11/18 15:07:37] @ benkevan joined channel #puppet
[2011/11/18 15:09:16] @ Quit: emergion: Quit: later...
[2011/11/18 15:09:53] @ Quit: madasi: Read error: Connection reset by peer
[2011/11/18 15:11:19] @ Quit: erodriguez: Quit: erodriguez
[2011/11/18 15:11:51] @ Quit: dfamorato_: Remote host closed the connection
[2011/11/18 15:13:43] <gepetto> ::redmine:: Wiki edit: Amazon_Web_Service_Patterns (#9) @ http://projects.puppetlabs.com/projects/puppet/wiki/Amazon_Web_Service_Patterns?version=9 (by James Loope)
[2011/11/18 15:15:46] @ Quit: blentz: Quit: Ex-Chat
[2011/11/18 15:16:00] @ Quit: miche: Quit: Computer has gone to sleep.
[2011/11/18 15:18:00] @ Quit: dbgster: Quit: dbgster
[2011/11/18 15:19:08] <eric0> what is a whit?
[2011/11/18 15:19:10] @ Quit: e1mer: Read error: Connection reset by peer
[2011/11/18 15:20:00] <bosszaru> eric0 it's 2 gefafels, or 1/2 a stone
[2011/11/18 15:20:01] <kjetilho> a small thing
[2011/11/18 15:20:17] @ Quit: benkevan: Ping timeout: 240 seconds
[2011/11/18 15:20:30] <eric0> warning: /Whit[post]: Skipping because of failed dependencies
[2011/11/18 15:20:48] @ johnston joined channel #puppet
[2011/11/18 15:20:53] <eric0> normally that syntax is for types
[2011/11/18 15:21:21] <kjetilho> what are you talking about?
[2011/11/18 15:21:57] <kjetilho> oh, I managed to overlook the message
[2011/11/18 15:22:04] @ Quit: negronjl: Remote host closed the connection
[2011/11/18 15:22:26] <kjetilho> my guess it is a snippet-implementation, but I haven't heard of it before
[2011/11/18 15:23:14] <eric0> the only thing i found in redmine is #7084
[2011/11/18 15:23:14] <gepetto> eric0: #7084 is http://projects.puppetlabs.com/issues/show/7084 "Puppet - Bug #7084: Spurious logging about Whit events:. It has a status of Closed and is assigned to Jesse Wolfe"
[2011/11/18 15:24:05] <eric0> seems its nothing bad, i'm just curious. guessing it is a markus thing :)
[2011/11/18 15:26:31] @ Quit: jodok: Quit: jodok
[2011/11/18 15:28:14] @ Quit: Allister: Quit: ttfn
[2011/11/18 15:28:42] @ Quit: williemach: Quit: Leaving.
[2011/11/18 15:28:43] @ Spads joined channel #puppet
[2011/11/18 15:30:05] @ msaum left channel #puppet ()
[2011/11/18 15:30:36] @ Quit: kaptk2: Quit: Leaving.
[2011/11/18 15:38:34] @ Quit: BManojlovic: Remote host closed the connection
[2011/11/18 15:42:17] @ Quit: ckauhaus: Quit: Leaving.
[2011/11/18 15:44:14] @ Quit: Diranged: Quit: Leaving.
[2011/11/18 15:44:15] @ samkottler1 joined channel #puppet
[2011/11/18 15:44:59] @ Quit: kangman: Remote host closed the connection
[2011/11/18 15:45:38] @ kelseyhightower joined channel #puppet
[2011/11/18 15:46:09] @ Quit: kelseyhi1htower: Read error: Connection reset by peer
[2011/11/18 15:46:48] @ Quit: motomike: Remote host closed the connection
[2011/11/18 15:47:10] @ negronjl joined channel #puppet
[2011/11/18 15:48:08] @ motomike joined channel #puppet
[2011/11/18 15:48:13] @ Quit: lak: Quit: Leaving.
[2011/11/18 15:49:08] @ Quit: beaknit: Quit: beaknit
[2011/11/18 15:51:12] @ Quit: ghg: Quit: Computer has gone to sleep.
[2011/11/18 15:56:05] @ Quit: danikov: Read error: Connection timed out
[2011/11/18 15:56:39] @ e1mer joined channel #puppet
[2011/11/18 15:58:15] @ Quit: gniks: Quit: Leaving.
[2011/11/18 16:00:18] @ Quit: kermit: Quit: Leaving.
[2011/11/18 16:00:18] <nlew> eric0: Whits get inserted around classes, and also recursive directory resources
[2011/11/18 16:00:32] @ kermit joined channel #puppet
[2011/11/18 16:00:55] @ Quit: neonflux: Quit: Leaving.
[2011/11/18 16:00:58] <nlew> eric0: Also stages probably
[2011/11/18 16:03:01] <eric0> nlew: they're internally generated resources to keep track of ordering/dependencies?
[2011/11/18 16:03:56] <nlew> eric0: Yeah, so if you have a class B that depends on class A, each with 1000 resources, you would get 1,000,000 dependency edges (each resource in B depends on each resource in A)
[2011/11/18 16:04:18] <nlew> eric0: We add whits instead, so each thing in B depends on a whit for B, which depends on a whit for A, which depends on each thing in A, and then only 2001 edges
[2011/11/18 16:04:41] <nlew> They do unfortunate things to the understandability of the graph output though
[2011/11/18 16:07:45] <kelseyhightower> nlew: wow! Did not know thats what was going on behind it all
[2011/11/18 16:08:10] @ erodriguez joined channel #puppet
[2011/11/18 16:08:45] <kelseyhightower> nlew: you should write this up somewhere if it's not already.
[2011/11/18 16:09:07] <kelseyhightower> erodriguez: what's up
[2011/11/18 16:09:34] @ jsurfer_ joined channel #puppet
[2011/11/18 16:11:32] <nlew> kelseyhightower: I assume there must be some actual name for the process that I can find an article on, but I have no idea what
[2011/11/18 16:13:06] @ Quit: jsurfer: Ping timeout: 260 seconds
[2011/11/18 16:13:06] @ jsurfer_ is now known as jsurfer
[2011/11/18 16:16:49] @ Quit: e1mer: Read error: Connection reset by peer
[2011/11/18 16:17:59] @ Quit: DJClean: Read error: Operation timed out
[2011/11/18 16:18:41] @ Quit: erodriguez: Quit: erodriguez
[2011/11/18 16:18:42] @ helindbe joined channel #puppet
[2011/11/18 16:22:44] @ Quit: samkottler1: Quit: Leaving.
[2011/11/18 16:24:40] @ Quit: bobbyz_: Ping timeout: 240 seconds
[2011/11/18 16:25:38] @ Quit: negronjl: Quit: Bye
[2011/11/18 16:29:35] @ localhost joined channel #puppet
[2011/11/18 16:30:01] @ erodriguez joined channel #puppet
[2011/11/18 16:33:16] @ Quit: shadoi: Quit: Leaving.
[2011/11/18 16:33:55] @ e1mer joined channel #puppet
[2011/11/18 16:39:27] @ Quit: ryancoleman1: Quit: Leaving.
[2011/11/18 16:40:38] @ Quit: e1mer: Read error: Connection reset by peer
[2011/11/18 16:40:51] @ Quit: jsurfer: Quit: jsurfer
[2011/11/18 16:41:24] @ astrostl joined channel #puppet
[2011/11/18 16:41:26] @ peridot joined channel #puppet
[2011/11/18 16:42:57] @ Quit: nul0op: Ping timeout: 245 seconds
[2011/11/18 16:44:06] <peridot> I've finally managed to get the dependencies for puppet-dashboard 1.2.2! Yay! Now I'm trying to get it working with passenger, and I keep seeing the apache test page instead of the dashboard. :-/
[2011/11/18 16:44:36] @ Quit: |Frederik: Ping timeout: 260 seconds
[2011/11/18 16:47:14] @ Quit: faulpaul: Read error: Operation timed out
[2011/11/18 16:47:20] @ Quit: erodriguez: Quit: erodriguez
[2011/11/18 16:49:10] @ Quit: motomike: Quit: Leaving.
[2011/11/18 16:50:37] @ ryancoleman joined channel #puppet
[2011/11/18 16:51:26] @ faulpaul joined channel #puppet
[2011/11/18 16:51:31] @ Quit: hooper: Ping timeout: 258 seconds
[2011/11/18 16:52:31] @ Quit: p3rror: Read error: Connection reset by peer
[2011/11/18 16:52:43] @ Quit: joshcooper: Quit: joshcooper
[2011/11/18 16:53:39] @ Quit: rcrowley: Quit: Computer has gone to sleep.
[2011/11/18 16:57:05] @ erodriguez joined channel #puppet
[2011/11/18 16:59:18] @ Quit: tilgovi: Remote host closed the connection
[2011/11/18 17:03:08] @ skm joined channel #puppet
[2011/11/18 17:04:16] @ Quit: tizzo-afk: Ping timeout: 240 seconds
[2011/11/18 17:06:13] @ dan__t joined channel #puppet
[2011/11/18 17:06:42] @ p3rror joined channel #puppet
[2011/11/18 17:08:46] @ Quit: ryancoleman: Quit: Leaving.
[2011/11/18 17:11:00] @ tizzo-afk joined channel #puppet
[2011/11/18 17:14:56] @ Quit: dan__t: Ping timeout: 248 seconds
[2011/11/18 17:18:15] @ peridot left channel #puppet ()
[2011/11/18 17:19:03] @ Quit: erodriguez: Quit: erodriguez
[2011/11/18 17:19:29] @ Kazuhiro joined channel #puppet
[2011/11/18 17:20:18] @ ezmobius is now known as ezmobius|zoning
[2011/11/18 17:21:24] @ joshcooper joined channel #puppet
[2011/11/18 17:21:42] @ Quit: skm: Quit: Computer has gone to sleep.
[2011/11/18 17:24:15] @ skm joined channel #puppet
[2011/11/18 17:27:56] @ Quit: mitchellh: Quit: Computer has gone to sleep
[2011/11/18 17:31:17] @ Quit: maxmartin: Quit: Computer has gone to sleep.
[2011/11/18 17:32:15] @ Quit: alanna: Remote host closed the connection
[2011/11/18 17:34:09] @ Quit: nfagerlund: Remote host closed the connection
[2011/11/18 17:34:31] @ Quit: trapni: Quit: leaving
[2011/11/18 17:34:47] @ Spads_ joined channel #puppet
[2011/11/18 17:36:21] @ Quit: joshcooper: Quit: joshcooper
[2011/11/18 17:37:57] @ Quit: Spads: Ping timeout: 245 seconds
[2011/11/18 17:51:40] @ samkottler1 joined channel #puppet
[2011/11/18 17:55:06] @ rcrowley joined channel #puppet
[2011/11/18 17:55:36] @ Quit: Hypnoz: Quit: Leaving.
[2011/11/18 17:56:56] @ marczak_ joined channel #puppet
[2011/11/18 17:58:27] @ Quit: marczak: Ping timeout: 252 seconds
[2011/11/18 17:59:09] <intransigent007> is there any sort of "mkdir -p" equivalent for the file type resource?
[2011/11/18 18:01:07] @ Holocaine joined channel #puppet
[2011/11/18 18:02:33] @ Quit: djm68: Quit: leaving
[2011/11/18 18:03:58] @ Quit: diq: Ping timeout: 258 seconds
[2011/11/18 18:04:52] @ Quit: Kazuhiro: Quit: Leaving.
[2011/11/18 18:07:10] @ Quit: Stenbryggen: Quit: Leaving.
[2011/11/18 18:12:55] @ diq joined channel #puppet
[2011/11/18 18:16:05] @ Quit: ianbrandt: Quit: ianbrandt
[2011/11/18 18:18:11] <intransigent007> puppet appears to be stuck in an infinite loop, chewing up one cpu. The last debug line is not telling. Anyone know what sort of syntax errors could cause this?
[2011/11/18 18:18:18] @ Quit: bosszaru: Quit: leaving
[2011/11/18 18:18:31] @ Quit: maplebed: Quit: maplebed
[2011/11/18 18:19:01] <intransigent007> strace of the puppet process just shows this line repeating: sigprocmask(SIG_BLOCK, NULL, []) = 0
[2011/11/18 18:20:02] @ hooper joined channel #puppet
[2011/11/18 18:21:32] @ ken_barber joined channel #puppet
[2011/11/18 18:23:30] @ ezmobius|zoning is now known as ezmobius|zoning|
[2011/11/18 18:25:52] @ Quit: the_ramink: Ping timeout: 255 seconds
[2011/11/18 18:33:15] @ Quit: ken_barber: Quit: Leaving.
[2011/11/18 18:36:52] @ nex joined channel #puppet
[2011/11/18 18:36:54] @ nex is now known as Guest95109
[2011/11/18 18:38:56] @ Quit: mmoya: Ping timeout: 260 seconds
[2011/11/18 18:39:31] @ doprdele joined channel #puppet
[2011/11/18 18:40:41] @ Quit: hooper: Ping timeout: 260 seconds
[2011/11/18 18:41:05] @ Quit: hobbeswalsh: Quit: hobbeswalsh
[2011/11/18 18:41:43] @ Quit: bmahe: Quit: Leaving
[2011/11/18 18:43:13] @ Quit: intransigent007: Ping timeout: 265 seconds
[2011/11/18 18:47:15] @ Quit: astrostl:
[2011/11/18 18:48:43] @ hooper joined channel #puppet
[2011/11/18 18:57:51] @ Quit: lilmatt: Quit: lilmatt
[2011/11/18 19:04:13] @ mitchellh joined channel #puppet
[2011/11/18 19:11:35] @ Quit: rcrowley: Quit: Computer has gone to sleep.
[2011/11/18 19:11:49] @ Quit: sumsuch: Quit: sumsuch
[2011/11/18 19:13:22] @ ryancoleman joined channel #puppet
[2011/11/18 19:16:42] @ e1mer joined channel #puppet
[2011/11/18 19:17:26] @ Quit: Guest95109: Ping timeout: 260 seconds
[2011/11/18 19:20:18] @ Quit: comptona: Ping timeout: 276 seconds
[2011/11/18 19:20:21] @ Quit: ryancoleman: Ping timeout: 260 seconds
[2011/11/18 19:23:11] @ Quit: hooper: Ping timeout: 244 seconds
[2011/11/18 19:23:51] @ Quit: tvsutton: Changing host
[2011/11/18 19:23:51] @ tvsutton joined channel #puppet
[2011/11/18 19:23:58] @ jsurfer joined channel #puppet
[2011/11/18 19:25:44] @ Quit: tvsutton: Quit: leaving
[2011/11/18 19:25:59] @ tvsutton joined channel #puppet
[2011/11/18 19:25:59] @ Quit: tvsutton: Changing host
[2011/11/18 19:25:59] @ tvsutton joined channel #puppet
[2011/11/18 19:28:18] @ Quit: cliff-hm: Ping timeout: 258 seconds
[2011/11/18 19:29:38] @ Kazuhiro joined channel #puppet
[2011/11/18 19:30:05] @ Quit: tvsutton: Client Quit
[2011/11/18 19:31:23] @ Quit: InsolentDreams: Quit: InsolentDreams
[2011/11/18 19:36:17] @ Quit: e1mer: Read error: Connection reset by peer
[2011/11/18 19:36:41] @ dissipate joined channel #puppet
[2011/11/18 19:37:22] @ alanna joined channel #puppet
[2011/11/18 19:37:32] @ sarkis_ joined channel #puppet
[2011/11/18 19:37:50] @ Quit: Holocaine:
[2011/11/18 19:39:07] @ Quit: alanna: Remote host closed the connection
[2011/11/18 19:40:44] @ tvsutton joined channel #puppet
[2011/11/18 19:43:33] @ Quit: samkottler1: Quit: Leaving.
[2011/11/18 19:43:37] @ Quit: seanh-ansca: Quit: Leaving.
[2011/11/18 19:45:00] @ Quit: mrwacky42: Read error: Operation timed out
[2011/11/18 19:45:17] @ Quit: booi: Quit: Leaving
[2011/11/18 19:45:39] @ Quit: sarkis_: Ping timeout: 276 seconds
[2011/11/18 19:45:50] @ gniks joined channel #puppet
[2011/11/18 19:47:13] @ erodriguez joined channel #puppet
[2011/11/18 19:48:18] @ alanna joined channel #puppet
[2011/11/18 19:52:36] @ e1mer joined channel #puppet
[2011/11/18 19:53:47] @ Quit: johnston: Ping timeout: 265 seconds
[2011/11/18 19:55:21] @ Quit: dissipate: Ping timeout: 260 seconds
[2011/11/18 19:56:37] <bodepd> Volcane: I was thinking that hiera-puppet should default to the backend puppet
[2011/11/18 19:56:38] @ Quit: alanna: Remote host closed the connection
[2011/11/18 19:56:48] <bodepd> Volcane: if a config file was not specified
[2011/11/18 19:57:27] @ Quit: e1mer: Read error: Connection reset by peer
[2011/11/18 19:58:42] <Volcane> yeah sounds right - with a hierarchy of fqdn and common maybe
[2011/11/18 19:58:57] <Volcane> or fqdn, environment, common, something like that
[2011/11/18 19:59:05] @ benkevan joined channel #puppet
[2011/11/18 19:59:16] <bodepd> Volcane: also, how aboud changing the default data source to params?
[2011/11/18 19:59:53] <Volcane> sounds fine - since there's no defaults now that wont be changing behvior or antyhing
[2011/11/18 20:00:02] <Volcane> it'll just improve behavior
[2011/11/18 20:00:27] <bodepd> yeah, I was trying to solve a specific problem (two actually)
[2011/11/18 20:01:49] <bodepd> Volcane: one is this recommendation from teh style guide: https://gist.github.com/1378420
[2011/11/18 20:02:15] <bodepd> I would much rather just have a method that could include classes and look in descending namespaces
[2011/11/18 20:02:32] <Volcane> yeah all for that defaults change
[2011/11/18 20:02:41] <bodepd> the other is the difference between param classes and non param classes.
[2011/11/18 20:03:02] <bodepd> if you set defaults and always looks in $:: then they become much more similar
[2011/11/18 20:04:06] <bodepd> well maybe that is specific to my use case of wanting the dashboard to be able to consume param classes
[2011/11/18 20:04:36] @ Quit: erodriguez: Quit: erodriguez
[2011/11/18 20:05:49] @ e1mer joined channel #puppet
[2011/11/18 20:08:13] <bodepd> Volcane: would that make sense? or be an acceptable patch? to make $:: the first place to look?
[2011/11/18 20:08:44] <bodepd> Volcane: or does it make more sene to just write my own custom function to support the lookup path that I want?
[2011/11/18 20:09:16] <Volcane> looking in top scope might be good, but you loose the namespacing
[2011/11/18 20:09:19] <Volcane> which might be awkward
[2011/11/18 20:09:31] <Volcane> say http port and mysql port
[2011/11/18 20:09:48] <Volcane> you'd end up using vars like mysql_port instead of something in the scape
[2011/11/18 20:10:07] <Volcane> but the other backends dont really understand scopes either so its probably fine yeah
[2011/11/18 20:10:29] <Volcane> though i think you should if you wnted defaults from dashboard feed that in as params to the classes
[2011/11/18 20:11:08] <bodepd> I may start playing around with it as its own function. I just starting thinking about how to make a more elegent solution to fix the bad code from the gist and wound up digging in hiera code
[2011/11/18 20:11:43] <Volcane> u can use hiera, rather than write a new function write a backend that inheits from the puppet one
[2011/11/18 20:12:01] @ sarkis_ joined channel #puppet
[2011/11/18 20:13:01] @ Quit: e1mer: Read error: Connection reset by peer
[2011/11/18 20:14:35] <bodepd> it looks like I can just set the things I want to customize by creating a Config
[2011/11/18 20:14:41] @ seanh-ansca joined channel #puppet
[2011/11/18 20:14:46] @ e1mer joined channel #puppet
[2011/11/18 20:15:45] @ Quit: seanh-ansca: Client Quit
[2011/11/18 20:22:35] @ Quit: e1mer: Ping timeout: 252 seconds
[2011/11/18 20:22:52] @ alanna joined channel #puppet
[2011/11/18 20:23:09] @ msaum joined channel #puppet
[2011/11/18 20:23:45] @ msaum left channel #puppet ()
[2011/11/18 20:24:49] @ e1mer joined channel #puppet
[2011/11/18 20:26:42] @ Quit: sarkis_: Ping timeout: 260 seconds
[2011/11/18 20:28:34] @ samkottler1 joined channel #puppet
[2011/11/18 20:29:19] @ Quit: jsurfer: Remote host closed the connection
[2011/11/18 20:29:50] @ Quit: e1mer: Read error: Connection reset by peer
[2011/11/18 20:32:52] @ Quit: tvsutton: Read error: Connection reset by peer
[2011/11/18 20:34:00] @ tvsutton joined channel #puppet
[2011/11/18 20:35:29] @ Quit: alanna: Remote host closed the connection
[2011/11/18 20:38:55] @ Quit: tvsutton: Read error: Connection reset by peer
[2011/11/18 20:44:27] @ KaiserBeto joined channel #puppet
[2011/11/18 20:45:28] @ tvsutton joined channel #puppet
[2011/11/18 20:45:34] @ Quit: tvsutton: Changing host
[2011/11/18 20:45:34] @ tvsutton joined channel #puppet
[2011/11/18 20:46:08] @ Quit: tvsutton: Read error: Connection reset by peer
[2011/11/18 20:53:15] @ bmahe joined channel #puppet
[2011/11/18 21:01:40] @ tvsutton joined channel #puppet
[2011/11/18 21:05:55] @ Quit: bmahe: Remote host closed the connection
[2011/11/18 21:07:15] @ Quit: benkevan: Quit: leaving
[2011/11/18 21:09:24] @ Spads joined channel #puppet
[2011/11/18 21:10:07] @ Quit: samkottler1: Quit: Leaving.
[2011/11/18 21:10:07] @ Quit: skm: Ping timeout: 244 seconds
[2011/11/18 21:10:19] @ danikov joined channel #puppet
[2011/11/18 21:10:42] @ skm joined channel #puppet
[2011/11/18 21:11:51] @ Quit: Spads_: Ping timeout: 252 seconds
[2011/11/18 21:14:36] @ sumsuch joined channel #puppet
[2011/11/18 21:20:52] @ dissipate joined channel #puppet
[2011/11/18 21:20:52] @ Quit: dissipate: Changing host
[2011/11/18 21:20:52] @ dissipate joined channel #puppet
[2011/11/18 21:23:33] @ Quit: skm: Ping timeout: 244 seconds
[2011/11/18 21:24:08] @ skm joined channel #puppet
[2011/11/18 21:27:34] @ neonflux joined channel #puppet
[2011/11/18 21:31:17] @ tilgovi joined channel #puppet
[2011/11/18 21:31:17] @ Quit: tilgovi: Changing host
[2011/11/18 21:31:17] @ tilgovi joined channel #puppet
[2011/11/18 21:35:12] @ Razique_ joined channel #puppet
[2011/11/18 21:35:43] @ Quit: mitchellh: Quit: Computer has gone to sleep
[2011/11/18 21:35:58] @ resty_ya joined channel #puppet
[2011/11/18 21:36:35] @ Quit: Razique: Read error: Connection reset by peer
[2011/11/18 21:36:35] @ Razique_ is now known as Razique
[2011/11/18 21:38:33] @ Quit: KaiserBeto: Ping timeout: 260 seconds
[2011/11/18 21:38:45] @ Quit: dissipate: Ping timeout: 276 seconds
[2011/11/18 21:39:57] @ dissipate joined channel #puppet
[2011/11/18 21:41:00] @ emergion joined channel #puppet
[2011/11/18 21:44:37] @ Quit: tilgovi: Ping timeout: 240 seconds
[2011/11/18 21:48:03] @ resty_ya left channel #puppet ()
[2011/11/18 21:49:19] @ resty_ya joined channel #puppet
[2011/11/18 21:52:27] @ resty_ya left channel #puppet ()
[2011/11/18 21:53:31] @ maxmartin joined channel #puppet
[2011/11/18 21:59:37] @ sarkis_ joined channel #puppet
[2011/11/18 22:02:04] @ Quit: maxmartin: Quit: Computer has gone to sleep.
[2011/11/18 22:02:38] @ Quit: eft: Quit: eft
[2011/11/18 22:08:12] @ mitchellh joined channel #puppet
[2011/11/18 22:11:48] @ eft joined channel #puppet
[2011/11/18 22:16:47] <dissipate> does anyone know what this line means in puppet: onlyif => 'test ! -e /etc/apache2/mods-enabled/expires.load'
[2011/11/18 22:18:39] @ Quit: doprdele: Ping timeout: 252 seconds
[2011/11/18 22:21:00] <Volcane> man test
[2011/11/18 22:21:31] @ Quit: emergion: Quit: later...
[2011/11/18 22:23:28] <dissipate> Volcane, i was reading this: http://docs.puppetlabs.com/references/2.6.8/type.html and i didn't see that as valid syntax for an 'onlyif'
[2011/11/18 22:23:49] @ emergion joined channel #puppet
[2011/11/18 22:24:50] <Volcane> onlyif is a shell command
[2011/11/18 22:25:05] <Volcane> and based on the return of the shell command in the onlyif it will or will not run it
[2011/11/18 22:25:31] <Volcane> so in this case it uses the /usr/bin/test to see if a file doesnt exist
[2011/11/18 22:25:51] @ msaum joined channel #puppet
[2011/11/18 22:25:55] @ msaum left channel #puppet ()
[2011/11/18 22:26:38] @ doprdele joined channel #puppet
[2011/11/18 22:26:50] @ Quit: kubicek: Excess Flood
[2011/11/18 22:27:17] <dissipate> Volcane, i see. something still must be fubar though. i am getting this error: err: Could not run Puppet configuration client: Parameter onlyif failed: 'test ! -e /etc/apache2/mods-enabled/proxy.load' is not qualified and no path was specified. Please qualify the command or specify a path.
[2011/11/18 22:27:39] @ kubicek joined channel #puppet
[2011/11/18 22:27:52] <limed> qyou need to give it a full path
[2011/11/18 22:28:02] <Volcane> you need to set path => or change test to /usr/bin/test
[2011/11/18 22:28:07] <limed> or do Exec { path => blah }
[2011/11/18 22:28:33] @ Quit: sumsuch: Quit: sumsuch
[2011/11/18 22:29:33] @ Kazuhiro left channel #puppet ()
[2011/11/18 22:29:46] @ Quit: doprdele: Remote host closed the connection
[2011/11/18 22:30:10] <dissipate> Volcane, ahh, so that's why i have been seeing full paths in puppet examples.
[2011/11/18 22:30:16] <dissipate> thanks for the info
[2011/11/18 22:31:09] <Volcane> yes, full paths are safer
[2011/11/18 22:33:17] @ sumsuch joined channel #puppet
[2011/11/18 22:36:08] @ jamesjin joined channel #puppet
[2011/11/18 22:36:39] @ alanna joined channel #puppet
[2011/11/18 22:40:19] @ bobbyz joined channel #puppet
[2011/11/18 22:41:03] @ Quit: gniks: Quit: Leaving.
[2011/11/18 22:50:48] @ Quit: mitchellh: Quit: Computer has gone to sleep
[2011/11/18 22:56:10] @ Quit: kelseyhightower: Ping timeout: 244 seconds
[2011/11/18 22:59:28] @ mrwacky42 joined channel #puppet
[2011/11/18 23:02:17] @ Quit: mrwacky42: Client Quit
[2011/11/18 23:09:02] @ pipegeek joined channel #puppet
[2011/11/18 23:12:16] @ Quit: tris: Excess Flood
[2011/11/18 23:13:25] @ Quit: sumsuch: Quit: sumsuch
[2011/11/18 23:17:23] @ tris joined channel #puppet
[2011/11/18 23:24:57] @ Quit: emergion: Quit: later...
[2011/11/18 23:27:16] @ Quit: tris: Excess Flood
[2011/11/18 23:32:05] @ DJClean joined channel #puppet
[2011/11/18 23:32:23] @ tris joined channel #puppet
[2011/11/18 23:32:59] @ artkrz joined channel #puppet
[2011/11/18 23:35:57] @ Quit: dissipate: Ping timeout: 244 seconds
[2011/11/18 23:37:47] @ dissipate joined channel #puppet
[2011/11/18 23:39:04] @ Quit: artkrz: Ping timeout: 240 seconds
[2011/11/18 23:39:52] @ emergion joined channel #puppet
[2011/11/18 23:40:40] @ Quit: ldlework: Ping timeout: 240 seconds
[2011/11/18 23:51:21] @ Quit: ghanima: Ping timeout: 244 seconds
[2011/11/18 23:52:28] @ Quit: alanna: Remote host closed the connection
[2011/11/18 23:57:19] @ AvaCam joined channel #puppet
[2011/11/18 23:57:34] @ Quit: emergion: Quit: later...

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