Tuesday, 2010-06-01

[2010/06/01 00:06:36] @ Log started by gepetto
[2010/06/01 00:06:36] <ryanc_> I do not have a modulepath set
[2010/06/01 00:06:47] <ryanc_> I am not using any other modules
[2010/06/01 00:07:04] <ryanc_> (in case it's not obvious this is my first attempt at getting puppet set up)
[2010/06/01 00:11:37] <blood> Could not create resources for managing Puppet's files and directories in sections [:main, :ssl]: undefined `each' for nil:NilClass
[2010/06/01 00:11:42] <blood> on my 10.5.7 test client
[2010/06/01 00:11:43] <blood> any ideas?
[2010/06/01 00:13:41] @ Quit: Bass10: Ping timeout: 272 seconds
[2010/06/01 00:18:27] @ Quit: M-: Quit: This computer has gone to sleep
[2010/06/01 00:18:29] <ryanc_> okay, well screw this for now. I'm going home.
[2010/06/01 00:19:57] <blood> um
[2010/06/01 00:20:00] <blood> what you trying to do ryan?
[2010/06/01 00:20:07] <blood> setup fileserver?
[2010/06/01 00:20:16] <odyi> blood: no, just get facts to start syncing
[2010/06/01 00:20:30] <blood> ah
[2010/06/01 00:20:43] <blood> i'm still trying to fix this error on my leopard test client
[2010/06/01 00:20:48] <blood> snow leopard works fine with 0.25.5
[2010/06/01 00:20:52] <blood> 10.5.7 errors out
[2010/06/01 00:21:41] <blood> ok thats odd
[2010/06/01 00:21:47] <blood> if i run puppetd as non-admin i dont get the error
[2010/06/01 00:21:52] <blood> i think i know what i did last time, let me test
[2010/06/01 00:26:49] <blood> same error, odd
[2010/06/01 00:26:52] <blood> only nonadmin works
[2010/06/01 00:27:30] <gepetto> ::redmine:: Wiki edit: Frequently_Asked_Questions (#22) @ http://projects.reductivelabs.com/projects/1/wiki/Frequently_Asked_Questions?version=22 (by John Warburton)
[2010/06/01 00:27:58] <odyi> Seems like a environment problem then
[2010/06/01 00:29:58] @ Quit: bodepd: Quit: bodepd
[2010/06/01 00:31:25] <blood> need to check ruby version
[2010/06/01 00:31:42] <blood> 1.8.6
[2010/06/01 00:32:17] @ Quit: \ask: Quit: Leaving...
[2010/06/01 00:32:28] @ \ask joined channel #puppet
[2010/06/01 00:34:13] <blood> think ur right
[2010/06/01 00:34:16] <blood> environment problem
[2010/06/01 00:35:00] <odyi> What do people generally manage with puppet on osx?
[2010/06/01 00:37:25] @ themurph joined channel #puppet
[2010/06/01 00:38:05] <blood> MCX/Apps
[2010/06/01 00:38:09] <blood> MCX(preferences)
[2010/06/01 00:41:06] @ Quit: blahdeblah: Ping timeout: 276 seconds
[2010/06/01 00:43:39] @ gaveen joined channel #puppet
[2010/06/01 00:47:19] @ Quit: pinoyskull: Ping timeout: 240 seconds
[2010/06/01 00:50:45] @ Quit: rcrowley: Quit: rcrowley
[2010/06/01 00:53:57] <blood> hrmm
[2010/06/01 00:54:01] <blood> still getting this stupid error
[2010/06/01 00:54:08] <blood> funny how it works as nonadmin
[2010/06/01 00:55:30] @ bodepd joined channel #puppet
[2010/06/01 00:55:36] @ josbal joined channel #puppet
[2010/06/01 00:55:44] @ Quit: bodepd: Client Quit
[2010/06/01 00:56:36] @ blahdeblah joined channel #puppet
[2010/06/01 00:58:01] <josbal> hey guys... i asked this on the mailing-list, but thought i might get some more help here...
[2010/06/01 00:58:53] <josbal> i have recently started using queuing with activemq and puppetqd... since using this i have noticed the hosts table in the mysql database is only storing the puppetmaster ip for each node, instead of each nodes ip address
[2010/06/01 00:59:09] <josbal> has anyone seen this and is there something i can do to fix this?
[2010/06/01 01:00:23] <ohadlevy> josbal: i never saw it, sounds odd
[2010/06/01 01:00:48] <josbal> ohadlevy: yeah it is od
[2010/06/01 01:00:52] <josbal> *odd
[2010/06/01 01:01:36] <ohadlevy> josbal, you can easily fix it with a few lines of ruby code, but probably open a bug :)
[2010/06/01 01:01:59] <josbal> ohadlevy: ok will do
[2010/06/01 01:02:01] @ Quit: blahdeblah: Ping timeout: 264 seconds
[2010/06/01 01:02:15] <ohadlevy> josbal: let me know if you need help to update the fields
[2010/06/01 01:02:27] @ gtomslinux joined channel #puppet
[2010/06/01 01:02:42] <gtomslinux> ih
[2010/06/01 01:03:20] @ blahdeblah joined channel #puppet
[2010/06/01 01:05:35] <blood> ok error seems to be in ./puppet/util/settings.rb
[2010/06/01 01:05:39] <blood> this line
[2010/06/01 01:06:15] <blood> catalog = to_catalog(*sections).to_ral
[2010/06/01 01:06:19] <blood> anyone know what that line does?
[2010/06/01 01:06:25] <blood> my client keeps erroring on it
[2010/06/01 01:06:34] <blood> only if i run puppetd as root, if i run as nonroot, it works
[2010/06/01 01:08:35] @ Quit: blahdeblah: Remote host closed the connection
[2010/06/01 01:08:41] @ pinoyskull joined channel #puppet
[2010/06/01 01:16:47] @ M- joined channel #puppet
[2010/06/01 01:17:32] @ blahdeblah joined channel #puppet
[2010/06/01 01:17:35] <blood> ah no wonder
[2010/06/01 01:17:37] <blood> facter is broken
[2010/06/01 01:17:37] <blood> lol
[2010/06/01 01:18:51] <PaulWay[w]> Is there a command that can at least check every module for syntactic correctness, without actually deploying the config on the puppetmaster?
[2010/06/01 01:19:35] <blood> use noop
[2010/06/01 01:25:13] @ Quit: josbal: Quit: Page closed
[2010/06/01 01:28:49] <PaulWay[w]> As in puppet -n ?
[2010/06/01 01:28:57] <PaulWay[w]> puppetd, I mean.
[2010/06/01 01:29:08] <PaulWay[w]> or is it specifically --noop
[2010/06/01 01:31:44] @ _elmata_ joined channel #puppet
[2010/06/01 01:34:21] <PaulWay[w]> I'm trying to use Puppet to register my RHEL machines with my Satellite server.
[2010/06/01 01:34:23] @ Quit: RageLink: Ping timeout: 258 seconds
[2010/06/01 01:34:37] <PaulWay[w]> In order to do that you update a couple of files and then run a command.
[2010/06/01 01:35:04] <PaulWay[w]> If I put the command as an Exec requirement of the file, will that work?
[2010/06/01 01:35:29] <PaulWay[w]> No, I suppose that does the command before the file is updated?
[2010/06/01 01:35:51] <_^Sarge^_> Subscribe to the file in your exec
[2010/06/01 01:36:02] <_^Sarge^_> or do an onlyif test
[2010/06/01 01:36:11] <PaulWay[w]> Ah, I see.
[2010/06/01 01:36:13] <PaulWay[w]> Hmmmm.
[2010/06/01 01:36:28] <PaulWay[w]> Well, I was going to do an onlyif or unless test.
[2010/06/01 01:36:34] <PaulWay[w]> just in case, you know.
[2010/06/01 01:36:56] <ohadlevy> PaulWay[w]: yes -
[2010/06/01 01:37:13] <ohadlevy> PaulWay[w]: http://github.com/ohadlevy/manitest
[2010/06/01 01:37:56] <PaulWay[w]> oooh, ta!
[2010/06/01 01:40:42] <PaulWay[w]> I'm not sure how I run this - I've tried -v -m manifests/site.pp but it doesn't do anything.
[2010/06/01 01:40:51] @ Quit: shenson: Quit: /me taps out
[2010/06/01 01:40:52] <PaulWay[w]> I'm not sure what to give the other parameters.
[2010/06/01 01:41:19] <PaulWay[w]> I'm in the testing equivalent of my /etc/puppet directory...
[2010/06/01 01:41:29] <ohadlevy> PaulWay[w]: are you talking about manitest?
[2010/06/01 01:42:35] <PaulWay[w]> Yeah.
[2010/06/01 01:43:06] <ohadlevy> PaulWay[w]: whats -m then? it should be run like this: ./manitest.rb -n /var/lib/puppet/yaml/node/hostname.yaml -v
[2010/06/01 01:43:13] <ohadlevy> where hostname is the host you want to simulate
[2010/06/01 01:43:19] <PaulWay[w]> Ah.
[2010/06/01 01:43:20] <PaulWay[w]> Hmmm.
[2010/06/01 01:43:45] <PaulWay[w]> I don't have the yaml files - I can only assume I haven't built or run something.
[2010/06/01 01:43:56] <ohadlevy> PaulWay[w]: i guess the client needs to run one time
[2010/06/01 01:46:12] @ Quit: themurph: Quit: themurph
[2010/06/01 01:46:30] <PaulWay[w]> ohadlevy: ok, I'll try to work that out.
[2010/06/01 01:46:53] <PaulWay[w]> THis is just on my own testing machine, it isn't configured as a node nor does it have a node definition.
[2010/06/01 01:48:47] @ shug joined channel #puppet
[2010/06/01 01:51:10] <QtPlatypus> How does concatinate two arrays?
[2010/06/01 01:52:53] <PaulWay[w]> BTW, is it better practice to name execs and things with dashes or underscores?
[2010/06/01 01:53:01] <PaulWay[w]> E.g. install-satellite-key or install_satellite_key?
[2010/06/01 01:53:08] <PaulWay[w]> I'd prefer the former.
[2010/06/01 01:59:21] <QtPlatypus> I prefer _
[2010/06/01 01:59:49] <PaulWay[w]> *nods*
[2010/06/01 02:00:47] <QtPlatypus> It looks like the only way is tvia += and thats only when you are creating something from a lower scope.
[2010/06/01 02:02:58] <PaulWay[w]> Ah, crap - can't redefine a resource.
[2010/06/01 02:03:03] <PaulWay[w]> Sorry, swearing.
[2010/06/01 02:03:40] <QtPlatypus> puppet is imutable and lacks monads or any of the tools to get around that.
[2010/06/01 02:04:15] @ kolla joined channel #puppet
[2010/06/01 02:04:31] <PaulWay[w]> So if class foo requires file /etc/foo to be content X, nothing that inherits or includes class foo can redefine /etc/foo to be of any other content?
[2010/06/01 02:04:50] <PaulWay[w]> In other words, I have to have class foo or class bar, and include one or the other.
[2010/06/01 02:04:54] <PaulWay[w]> But I can't inherit from them.
[2010/06/01 02:04:57] <PaulWay[w]> Hmmmm.
[2010/06/01 02:05:13] <QtPlatypus> Things that inherit can mask there behavour.
[2010/06/01 02:05:29] <PaulWay[w]> How does that work?
[2010/06/01 02:05:48] * QtPlatypus isn't sure.
[2010/06/01 02:06:26] <PaulWay[w]> I suppose I can do rhn::redhat and rhn::satellite both inheriting from rhn.
[2010/06/01 02:06:54] <PaulWay[w]> Class rhn only defines the common execs and things like that, and then each then defines their own version of /etc/sysconfig/rhn/up2date.
[2010/06/01 02:07:01] <PaulWay[w]> Is there a better way?
[2010/06/01 02:07:16] <QtPlatypus> That sounds like a good way.
[2010/06/01 02:07:52] <PaulWay[w]> If a class defines an exec does that automatically get run?
[2010/06/01 02:08:10] <PaulWay[w]> Or is it only if it's required e.g. require => Exec['foo'],
[2010/06/01 02:08:12] * QtPlatypus doesn't know "Still learning myself"
[2010/06/01 02:08:41] @ Quit: andrew3: Quit: Leaving.
[2010/06/01 02:09:24] <PaulWay[w]> Well, same here :-)
[2010/06/01 02:09:40] * PaulWay[w] is hoping one of the experts will be piqued :-)
[2010/06/01 02:09:53] <PaulWay[w]> Maybe I just ask moronic questions.
[2010/06/01 02:12:14] <gtomslinux> how to import example42 to existing module puppet?
[2010/06/01 02:13:07] <QtPlatypus> gtomslinux: Can you ask tha question in anouther way?
[2010/06/01 02:14:55] <odyi> Any exec that is in a class that is included in a node definition runs on every puppet run unless you take measures to prevent it.
[2010/06/01 02:15:56] <PaulWay[w]> odyi: so including them in a requires on a file doesn't change that?
[2010/06/01 02:16:11] <PaulWay[w]> Or does the fact that the file is there prevent the command from being re-run?
[2010/06/01 02:16:45] <odyi> And somewhere I remember that 'require => Exec['foo']' does not work like you would think it does. Meaning puppet doesn't care about the exit value of the exec.
[2010/06/01 02:17:02] <odyi> Exec's can have a parameter called creates.
[2010/06/01 02:17:16] <odyi> So it checks to see if that file exists before issuing the exec.
[2010/06/01 02:17:18] <gtomslinux> QtPlatypus: i want to added syslog-ng to my nodes.pp
[2010/06/01 02:18:03] <QtPlatypus> gtomslinux: What did try?
[2010/06/01 02:19:31] <gtomslinux> i wanna use Example42 Puppet Modules like syslog-ng to my existing puppet master
[2010/06/01 02:20:17] <gtomslinux> so i browse syslog-ng example42 and copy all file and tree to my /etc/puppet thats right?
[2010/06/01 02:21:54] @ stefan_ joined channel #puppet
[2010/06/01 02:23:09] <QtPlatypus> Sure
[2010/06/01 02:23:16] @ Quit: fredden: Remote host closed the connection
[2010/06/01 02:25:08] @ Quit: nawty: Quit: nawty
[2010/06/01 02:26:53] * odyi wonders if any other #puppet folks will be making it to open source bridge this week
[2010/06/01 02:27:14] <odyi> Puppetlab will be doing an intro to puppet during one of the sessions.
[2010/06/01 02:31:38] @ kenneho joined channel #puppet
[2010/06/01 02:33:17] @ PsychoSid joined channel #puppet
[2010/06/01 02:33:50] @ Quit: alban2: Quit: Leaving.
[2010/06/01 02:39:40] @ Welsh_Dwarf joined channel #puppet
[2010/06/01 02:41:00] <ohadlevy> odyi: too far away :)
[2010/06/01 02:42:14] @ pmorillo joined channel #puppet
[2010/06/01 02:44:58] @ benoit__ joined channel #puppet
[2010/06/01 02:47:52] @ TREllis joined channel #puppet
[2010/06/01 02:48:18] <keej> if i write a function (not a definition) and place it in a module, is there any way to call it from a different module?
[2010/06/01 02:48:44] <PaulWay[w]> Is there some way to clear the cache in the puppetmaster?
[2010/06/01 02:48:59] <FiXion> mornings (to those close to my timezone ;)
[2010/06/01 02:49:03] <PaulWay[w]> I'm seeing an error that I thing is because of an out-of-date cache.
[2010/06/01 02:49:12] <QtPlatypus> keej: How do you write a function?
[2010/06/01 02:49:33] <keej> QtPlatypus: http://projects.puppetlabs.com/projects/puppet/wiki/Writing_Your_Own_Functions
[2010/06/01 02:49:44] <PaulWay[w]> keej: I thought all names were effectively global.
[2010/06/01 02:51:33] <keej> PaulWay[w]: maybe you're right, could have been overthinking it
[2010/06/01 02:52:06] <ohadlevy> keej: it should be available on all of your modules (in that puppet environment)
[2010/06/01 02:52:47] <keej> yep, you're right.. thank you
[2010/06/01 02:53:58] <PaulWay[w]> err: Could not retrieve catalog from remote server: Error 400 on SERVER: Duplicate definition: File[/etc/sysconfig/rhn/up2date] is already defined in file /etc/puppet/modules/rhn/manifests/init.pp at line 29; cannot redefine at /etc/puppet/modules/rhn/manifests/init.pp:85 on node thingo
[2010/06/01 02:54:30] <PaulWay[w]> Yet the weird thing is that line 29 of /etc/puppet/modules/rhn/manifests/init.pp does not define File[/etc/sysconfig/rhn/up2date] at all.
[2010/06/01 02:56:12] @ allsystemsarego joined channel #puppet
[2010/06/01 02:56:13] <PaulWay[w]> So I conclude that it's using an out-of-date definition somewhere.
[2010/06/01 02:56:49] <ohadlevy> PaulWay[w]: is that error from the master or the client?
[2010/06/01 02:57:07] <PaulWay[w]> ohadlevy: client.
[2010/06/01 02:57:12] <ohadlevy> check the master :)
[2010/06/01 02:59:47] @ sdog joined channel #puppet
[2010/06/01 03:02:00] <PaulWay[w]> Checking...
[2010/06/01 03:02:33] @ Quit: M-: Quit: Leaving
[2010/06/01 03:02:47] <PaulWay[w]> I'm not seeing anything so far, other than the usual 'Compiled catalog' messages.
[2010/06/01 03:06:36] <gepetto> ::redmine:: Wiki edit: Writing_Your_Own_Functions (#3) @ http://projects.reductivelabs.com/projects/1/wiki/Writing_Your_Own_Functions?version=3 (by Christopher Wright)
[2010/06/01 03:06:36] <gepetto> ::redmine:: Wiki edit: Writing_Your_Own_Functions (#4) @ http://projects.reductivelabs.com/projects/1/wiki/Writing_Your_Own_Functions?version=4 (by Christopher Wright)
[2010/06/01 03:06:43] @ xHans is now known as Billy_Idol
[2010/06/01 03:06:52] @ Billy_Idol is now known as xHans
[2010/06/01 03:07:01] <PaulWay[w]> Nope, nothing. Should it be logged anywhere other than /var/log/messages?
[2010/06/01 03:07:40] @ Quit: Welsh_Dwarf: Ping timeout: 276 seconds
[2010/06/01 03:07:55] @ verwilst joined channel #puppet
[2010/06/01 03:08:55] @ Welsh_Dwarf joined channel #puppet
[2010/06/01 03:09:23] @ Ramonster joined channel #puppet
[2010/06/01 03:09:38] * PaulWay[w] wants a parallel grep.
[2010/06/01 03:09:55] @ Quit: keej: Quit: keej
[2010/06/01 03:09:59] <QtPlatypus> PaulWay[w]: In what way parallel?
[2010/06/01 03:10:10] @ Quit: sdog: Changing host
[2010/06/01 03:10:10] @ sdog joined channel #puppet
[2010/06/01 03:11:10] <PaulWay[w]> Scan a block of the file on each processor.
[2010/06/01 03:11:33] <gepetto> ::redmine:: Wiki edit: Writing_Your_Own_Functions (#5) @ http://projects.reductivelabs.com/projects/1/wiki/Writing_Your_Own_Functions?version=5 (by Christopher Wright)
[2010/06/01 03:11:48] <PaulWay[w]> Go keej!
[2010/06/01 03:12:09] <PaulWay[w]> Enqueueing and dequeueing the matches so they appear in order is left as an exercise for the reader.
[2010/06/01 03:12:37] <QtPlatypus> PaulWay[w]: The bottleneck with grep is IO not cpu.
[2010/06/01 03:13:35] * PaulWay[w] demands tests :-)
[2010/06/01 03:13:46] <QtPlatypus> What would be more usefull is a grep thta would generate an index when its searching then use it on subsequent tests.
[2010/06/01 03:13:59] <QtPlatypus> s/tests/searches/
[2010/06/01 03:14:13] * ohadlevy kind of like grep the way it is :)
[2010/06/01 03:14:19] <QtPlatypus> Find a big file grep it, see how high your cpu gets.
[2010/06/01 03:14:30] <PaulWay[w]> And yet the nature of regular expressions and string searching is that if you aren't searching for the same thing again, that index is kind of useless.
[2010/06/01 03:14:43] <QtPlatypus> True
[2010/06/01 03:15:12] <PaulWay[w]> Aaaanyway.
[2010/06/01 03:15:24] <PaulWay[w]> ohadlevy: where should I be looking, and for what?
[2010/06/01 03:16:45] <PaulWay[w]> I see Duplicate definition: File[/etc/sysconfig/rhn/up2date] is already defined in file /etc/puppet/modules/rhn/manifests/init.pp at line 29; cannot redefine at /etc/puppet/modules/rhn/manifests/init.pp:85 on node thingy
[2010/06/01 03:16:55] <PaulWay[w]> But that's exactly what I've already said is not actually true.
[2010/06/01 03:17:55] <tim|mac> PaulWay[w]: can you pastey your code?
[2010/06/01 03:18:06] <PaulWay[w]> OK - one moment.
[2010/06/01 03:20:45] @ lak joined channel #puppet
[2010/06/01 03:21:04] <tim|mac> mornin' lak... arrived back home safely?
[2010/06/01 03:21:14] <lak> yep
[2010/06/01 03:21:32] <lak> not entirely recovered from all the travel, but mostly back in the swing of things
[2010/06/01 03:21:58] <tim|mac> great, that's good :) you didn't forget to shave i hope? for the border thingy...
[2010/06/01 03:22:32] <tim|mac> which jetlag is worse, btw, i always forget... getting here or getting back?
[2010/06/01 03:23:15] <masterzen> tim|mac: US -> EU
[2010/06/01 03:23:23] <tim|mac> ah ok
[2010/06/01 03:23:58] <tim|mac> PaulWay[w]: is the paste thingy working out for you?
[2010/06/01 03:24:34] @ Quit: stefan_: Ping timeout: 276 seconds
[2010/06/01 03:25:07] <PaulWay[w]> Just sanitising it.
[2010/06/01 03:25:16] <tim|mac> ok :)
[2010/06/01 03:25:47] <tim|mac> I'm almost at the office... I'll take a look at it when I get there, if no one was able to help in between... back in about 15 minutes!
[2010/06/01 03:26:02] <ohadlevy> masterzen: unless you have a baby, which in this case is US <--> EU :)
[2010/06/01 03:26:08] <PaulWay[w]> tim|mac: http://fpaste.org/www3/
[2010/06/01 03:26:23] <PaulWay[w]> (Also happy to take hints on style)
[2010/06/01 03:27:16] <ohadlevy> PaulWay[w]: i assume that the error is on different line numbers now?
[2010/06/01 03:28:21] <PaulWay[w]> Ah, yes. I only removed three lines from the top.
[2010/06/01 03:28:37] <masterzen> ohadlevy: yep, sure :-)
[2010/06/01 03:28:42] <ohadlevy> PaulWay[w]: and I would convert most of the stuff to defines, (e.g. for file with multiple source, for repo keys etc)
[2010/06/01 03:28:55] <ohadlevy> PaulWay[w]: and I thin that in your case, there is no requirement for inheritance
[2010/06/01 03:29:06] <PaulWay[w]> ohadlevy: fair enough.
[2010/06/01 03:29:33] <ohadlevy> PaulWay[w]: but thats becuase I was really looking, all in all - looking good :)
[2010/06/01 03:29:59] <PaulWay[w]> Ah, that's an interesting point - if the node inherits rhn::rhel5 and imports rhn::redhat, will that cause a clash on inheriting rhn?
[2010/06/01 03:30:05] <PaulWay[w]> Thanks!
[2010/06/01 03:30:29] <PaulWay[w]> I'd be interested to see your multiple source file definition - I'm not sure I know how to construct it.
[2010/06/01 03:30:42] @ Quit: OpenMedia: Quit: Leaving.
[2010/06/01 03:30:42] <PaulWay[w]> Certainly the repo key definition I could construct.
[2010/06/01 03:30:56] <ohadlevy> PaulWay[w]: mine is really complex, let me try to pastie a simple example
[2010/06/01 03:32:08] @ nexx joined channel #puppet
[2010/06/01 03:32:33] <PaulWay[w]> Ah, and I added a couple of lines to the commenting - so the complaint is that line 28 already defines /etc/sysconfig/rhn/up2date, and it's redefined at 84.
[2010/06/01 03:33:57] <PaulWay[w]> My problem here is that only like 84 is involved in defining /etc/sysconfig/rhn/up2date, and 28 not at all.
[2010/06/01 03:33:58] <gtomslinux> how to start when i already put syslog-ng module to my puppet master ?
[2010/06/01 03:34:34] <PaulWay[w]> What do you mean by "how to start"?
[2010/06/01 03:35:26] <ohadlevy> PaulWay[w]: http://pastie.org/986899
[2010/06/01 03:35:50] @ themroc joined channel #puppet
[2010/06/01 03:36:09] <PaulWay[w]> Oooh, the sourceselect line is new.
[2010/06/01 03:37:13] @ Quit: kolla: Read error: Connection reset by peer
[2010/06/01 03:38:05] <gtomslinux> i already copy syslog-ng module from example42 my to /etc/puppet/mouldes, so what next step? or i must edit /etc/puppet/nodes.pp ?
[2010/06/01 03:38:16] @ MattyM joined channel #puppet
[2010/06/01 03:39:05] <gtomslinux> i already copy syslog-ng module from example42 my to /etc/puppet/mouldes, so what next step? or i must edit /etc/puppet/manifests/nodes.pp ?
[2010/06/01 03:40:30] <PaulWay[w]> It's not exactly a linear process, but that sounds like a good place to start.
[2010/06/01 03:40:56] <PaulWay[w]> ohadlevy: any idea why it might be erroring on those lines?
[2010/06/01 03:41:46] <pixie79> Is the following correct http://pastie.org/986901 to ensure that the class abc gets done before anything else in the class foo?
[2010/06/01 03:42:42] <tim|mac> PaulWay[w]: is it that large?
[2010/06/01 03:42:55] <PaulWay[w]> How do you mean?
[2010/06/01 03:44:17] <tim|mac> got a link for me?
[2010/06/01 03:44:42] <PaulWay[w]> tim|mac: http://fpaste.org/www3/ - mentioned it above
[2010/06/01 03:44:55] <tim|mac> my bip must be doing silly stuff then
[2010/06/01 03:45:28] <PaulWay[w]> ohadlevy: is $modulename evaluated automatically or do I need to define that somewhere?
[2010/06/01 03:46:23] <ohadlevy> there might be a way to fetch that via a function, but i just define it at the top
[2010/06/01 03:46:40] <ohadlevy> hmm lets try :)
[2010/06/01 03:46:46] <PaulWay[w]> And the only minor annoyance with that is that it means that if I need to provide a shell file, it comes out as thing.sh-host1 rather than thing-host1.sh
[2010/06/01 03:46:48] <ohadlevy> is there a way to find out the current module name?
[2010/06/01 03:47:07] <ohadlevy> PaulWay[w]: I put the host specific files in a host dir
[2010/06/01 03:47:28] <ohadlevy> so i usually do /modulename/dir/name/$hostname/$filename
[2010/06/01 03:47:30] <PaulWay[w]> Ah, I see - like $modulename/$host/$src
[2010/06/01 03:47:34] <PaulWay[w]> *nods*
[2010/06/01 03:47:46] <ohadlevy> i try to keep the real dir structure inside the module
[2010/06/01 03:47:52] <PaulWay[w]> A reasonable idea.
[2010/06/01 03:48:40] <PaulWay[w]> tim|mac: I just tested it again (just in case it was going to time out and refresh or something) and it's still saying exactly the same error message.
[2010/06/01 03:49:00] <tim|mac> i don't get the line 29... that's in the middle of a resource
[2010/06/01 03:51:48] <PaulWay[w]> Exactly.
[2010/06/01 03:51:59] <PaulWay[w]> That's why I think there's something cached somewhere.
[2010/06/01 03:52:57] <PaulWay[w]> But I swear on vim that that error is definitely line 29 in the real file / 28 in the paste.
[2010/06/01 03:54:05] @ Quit: gaveen: Ping timeout: 265 seconds
[2010/06/01 03:57:35] @ Quit: freshtonic: Quit: freshtonic
[2010/06/01 03:58:57] @ Quit: lak: Quit: lak
[2010/06/01 03:59:31] <PaulWay[w]> Well that is most interesting.
[2010/06/01 03:59:40] <PaulWay[w]> I edited the file to combine lines 13 and 14 in the paste.
[2010/06/01 03:59:47] <PaulWay[w]> Now the error is completely different.
[2010/06/01 04:00:05] @ kolla joined channel #puppet
[2010/06/01 04:02:09] <PaulWay[w]> Ah-hah. Got it!
[2010/06/01 04:05:54] @ gaveen joined channel #puppet
[2010/06/01 04:06:52] @ kolla_ joined channel #puppet
[2010/06/01 04:07:05] <PaulWay[w]> Oh erudite people, the error is on line 142 in the paste.
[2010/06/01 04:10:04] @ Quit: kolla: Ping timeout: 276 seconds
[2010/06/01 04:11:14] @ Quit: kolla_: Remote host closed the connection
[2010/06/01 04:11:43] @ kolla_ joined channel #puppet
[2010/06/01 04:14:24] @ prometheanfire left channel #puppet ()
[2010/06/01 04:15:00] @ Quit: kolla_: Read error: Connection reset by peer
[2010/06/01 04:17:06] @ Quit: shug: Quit: Leaving
[2010/06/01 04:17:24] <blahdeblah> Hi all. Am i right in thinking that included classes are non-deterministic in their load order? In this class i get an error on every one of the reqire => Package[...] directives: http://puppet.pastebin.com/aKsyut7q
[2010/06/01 04:17:46] @ Quit: gaveen: Ping timeout: 265 seconds
[2010/06/01 04:21:19] @ alban2 joined channel #puppet
[2010/06/01 04:25:40] <Volcane> blahdeblah: you want us to mentally parse all that and guess what the error message is?
[2010/06/01 04:26:26] <blahdeblah> Volcane: Consider it my compliment to your mental capabilities. ;-)
[2010/06/01 04:26:34] <blahdeblah> Let me find the error message
[2010/06/01 04:27:02] <blahdeblah> Configuration could not be instantiated: Could not find dependency Package[dansguardian] for File[/etc/dansguardian/lists/blacklists] at /etc/puppet/modules/dansguardian/manifests/init.pp:78; using cached catalog
[2010/06/01 04:27:32] <twisla> morning
[2010/06/01 04:28:47] <masterzen> morning twisla!
[2010/06/01 04:29:04] <twisla> yop masterzen!
[2010/06/01 04:29:08] @ Quit: _elmata_: Quit: up up and away
[2010/06/01 04:29:34] @ giskard joined channel #puppet
[2010/06/01 04:30:06] <tim|mac> PaulWay[w]: glad you found it! it's a very bad error message though :(
[2010/06/01 04:30:38] @ RageLink joined channel #puppet
[2010/06/01 04:31:32] @ thegcat joined channel #puppet
[2010/06/01 04:39:04] <PaulWay[w]> tim|mac: I'm assuming some kind of parse error, or possibly just that something else got confused somewhere.
[2010/06/01 04:39:31] <PaulWay[w]> Once I moved the two lines together it then complained about a missing } and I was able to at least work on the right line.
[2010/06/01 04:40:04] <blahdeblah> OK, now the really stupid part - if i take out all the internal includes between classes, it starts working. Bizarre.
[2010/06/01 04:41:02] @ Quit: verwilst: Quit: Ex-Chat
[2010/06/01 04:41:05] <PaulWay[w]> Thanks for the help - see you soon!
[2010/06/01 04:41:06] @ PaulWay[w] left channel #puppet ("I must go, there are too many tangrams on this channel.")
[2010/06/01 04:50:11] @ spawnyd joined channel #puppet
[2010/06/01 04:56:50] @ Quit: bearnard_: Quit: bearnard_
[2010/06/01 05:10:53] @ Quit: giskard: Ping timeout: 265 seconds
[2010/06/01 05:13:36] @ Quit: PsychoSid: Quit: Leaving.
[2010/06/01 05:14:59] <pixie79> can anyone see why i am getting a syntax error on line 3? http://pastie.org/986968
[2010/06/01 05:15:29] <ohadlevy> pixie79: you need to require some resource
[2010/06/01 05:16:00] <pixie79> ohadlevy: I am requiring the class ?
[2010/06/01 05:16:14] <ohadlevy> e.g.: Package { require => Class[auth] }
[2010/06/01 05:16:15] <pixie79> does the class not count as a resource
[2010/06/01 05:16:54] <pixie79> arh ok, just by listing that anywhere in this class will that ensure that it is installed first?
[2010/06/01 05:17:06] <ohadlevy> for packages, not for every resource
[2010/06/01 05:17:32] @ giskard joined channel #puppet
[2010/06/01 05:17:44] <ohadlevy> and then you need to change the ensure => exist to ensure => installed
[2010/06/01 05:18:14] <pixie79> ohadlevy: ok thanks, what about if i want to ensure a class exists before installing a file, ?
[2010/06/01 05:18:23] <ohadlevy> than you require it
[2010/06/01 05:18:44] <pixie79> inside the file {}
[2010/06/01 05:19:03] <ohadlevy> yes
[2010/06/01 05:19:09] <pixie79> ok thanks
[2010/06/01 05:22:05] @ Quit: MattyM: Remote host closed the connection
[2010/06/01 05:23:00] @ bearnard joined channel #puppet
[2010/06/01 05:35:25] @ Quit: gtomslinux: Quit: Page closed
[2010/06/01 05:42:27] @ ckauhaus joined channel #puppet
[2010/06/01 05:48:34] @ gaveen joined channel #puppet
[2010/06/01 05:49:44] @ Quit: ckauhaus: Read error: Operation timed out
[2010/06/01 05:53:31] @ Quit: giskard: Ping timeout: 258 seconds
[2010/06/01 05:53:39] @ giskard_ joined channel #puppet
[2010/06/01 05:54:22] @ MattyM joined channel #puppet
[2010/06/01 06:06:03] @ ckauhaus joined channel #puppet
[2010/06/01 06:06:06] @ Quit: thegcat: Quit: Leaving.
[2010/06/01 06:12:25] @ gebi joined channel #puppet
[2010/06/01 06:22:51] @ Quit: p3rror: Ping timeout: 248 seconds
[2010/06/01 06:25:30] @ manish joined channel #puppet
[2010/06/01 06:25:54] @ Quit: robinbowes: Quit: Leaving
[2010/06/01 06:32:33] @ shug joined channel #puppet
[2010/06/01 06:35:57] @ p3rror joined channel #puppet
[2010/06/01 06:36:23] @ floyd_n_milan joined channel #puppet
[2010/06/01 06:37:44] @ robinbowes joined channel #puppet
[2010/06/01 06:38:00] @ PsychoSid1 joined channel #puppet
[2010/06/01 06:40:04] <f3ew> floyd_n_milan ?
[2010/06/01 06:41:15] @ Quit: alexine_dsouza: Read error: Connection reset by peer
[2010/06/01 06:52:23] @ Quit: masterzen: Ping timeout: 260 seconds
[2010/06/01 06:52:54] @ Quit: kenneho: Ping timeout: 276 seconds
[2010/06/01 06:57:00] @ masterzen joined channel #puppet
[2010/06/01 06:58:31] @ brothers joined channel #puppet
[2010/06/01 06:58:35] @ stewartl42 joined channel #puppet
[2010/06/01 06:58:39] @ stewartl42 left channel #puppet ()
[2010/06/01 07:01:13] @ ohad_ joined channel #puppet
[2010/06/01 07:01:31] @ Quit: ohad_: Remote host closed the connection
[2010/06/01 07:03:13] @ Quit: benoit__: Ping timeout: 264 seconds
[2010/06/01 07:04:00] @ Quit: ckauhaus: Read error: Operation timed out
[2010/06/01 07:18:01] @ kenneho joined channel #puppet
[2010/06/01 07:20:07] <floyd_n_milan> f3ew, ?
[2010/06/01 07:20:54] <f3ew> I am here too
[2010/06/01 07:21:26] <floyd_n_milan> oh i was outside
[2010/06/01 07:21:35] <floyd_n_milan> well thanks
[2010/06/01 07:21:40] <floyd_n_milan> let me see what i can do now
[2010/06/01 07:21:46] @ benoit__ joined channel #puppet
[2010/06/01 07:24:38] @ Quit: artista_frustrad: Quit: Leaving
[2010/06/01 07:28:50] @ vachon joined channel #puppet
[2010/06/01 07:29:12] @ vachon left channel #puppet ()
[2010/06/01 07:30:02] @ Quit: bug: Quit: bug
[2010/06/01 07:30:03] @ Quit: andypea: Remote host closed the connection
[2010/06/01 07:30:07] <nimrod10> hi guys! is there a way to specify an empty password when I create users with puppet on linux boxes ?
[2010/06/01 07:30:31] <nimrod10> If the password is empty then each user can change their password when they log in
[2010/06/01 07:31:30] @ sideshow joined channel #puppet
[2010/06/01 07:32:25] <sideshow> hi, how to push a config to a client with puppet ? have i to use #puppetd -e ????
[2010/06/01 07:33:17] @ fluxdude joined channel #puppet
[2010/06/01 07:37:26] <Volcane> nimrod10: just set no password => then puppet will leave it alone
[2010/06/01 07:39:21] <nimrod10> just like password => no password ?
[2010/06/01 07:39:49] <Volcane> just dont put the line in the file
[2010/06/01 07:41:08] <nimrod10> that creates a new user but the user is locked
[2010/06/01 07:41:38] <Volcane> thats cos your add user is configured to lock new users by default
[2010/06/01 07:43:10] <nimrod10> when I run adduser by hand and then check the user status with passwd -S username the user status is not locked
[2010/06/01 07:43:13] <nimrod10> very strange
[2010/06/01 07:43:19] <Volcane> hmm
[2010/06/01 07:43:22] @ thegcat joined channel #puppet
[2010/06/01 07:43:53] <Volcane> maybe puppet does a default thing then, meh
[2010/06/01 07:44:25] @ Bass10 joined channel #puppet
[2010/06/01 07:44:42] <nimrod10> I wonder if this is a puppet bug ?!?
[2010/06/01 07:45:23] <Volcane> run puppet with --debug --verbose see if it tells you what its doing with a users without it
[2010/06/01 07:46:09] <Volcane> though really
[2010/06/01 07:46:14] <Volcane> adding blank password users is all fail
[2010/06/01 07:46:24] <Volcane> its the kind of thing wher puppet just helps you not do dumb things :)
[2010/06/01 07:46:42] <Volcane> i certainly wouldnt be happy if its behavior changed :)
[2010/06/01 07:47:09] @ jab_doa joined channel #puppet
[2010/06/01 07:47:45] <nimrod10> I'm adding users with blank password so that when they log in using key auth they can change the password , at that time passwd won't ask for the old passwd
[2010/06/01 07:48:18] <nimrod10> puppet is using useradd and not adduser :)
[2010/06/01 07:52:14] <nimrod10> ok I'll have to create a defo password for new users then
[2010/06/01 07:52:17] <nimrod10> than should solve it
[2010/06/01 07:54:04] <nimrod10> and yes by default if you don't feed any password to useradd it disables the user account :)
[2010/06/01 07:54:59] <nimrod10> thank you Volcane for your help
[2010/06/01 07:56:13] @ Quit: TREllis: Ping timeout: 265 seconds
[2010/06/01 07:56:50] @ rsquared joined channel #puppet
[2010/06/01 07:57:15] @ Quit: p3rror: Ping timeout: 248 seconds
[2010/06/01 07:58:16] <bhearsum> how do i get the rpm package provider to use '-U' rather than '-i'? The code seems to say any ensure value other than 'absent' will do it, but no matter what i try, i get 'rpm -i ....'
[2010/06/01 08:04:05] @ ahasenack joined channel #puppet
[2010/06/01 08:04:26] @ Quit: pinoyskull: Quit: Leaving
[2010/06/01 08:05:21] <fluxdude> is it possible to have a file resource do something like an onlyif => ?
[2010/06/01 08:05:43] <fluxdude> that is an exec param rather than a metaparam so I expect not
[2010/06/01 08:05:56] <fluxdude> anybody got any ideas or workarounds for this?
[2010/06/01 08:06:21] <fluxdude> I want to determine using an onlyif whether I should place a file{} resource somewhere
[2010/06/01 08:06:38] @ bug joined channel #puppet
[2010/06/01 08:12:23] <agaffney> fluxdude: onlyif/unless only work with an exec resource
[2010/06/01 08:12:42] <fluxdude> agaffney: yes I know, that's what I said
[2010/06/01 08:12:53] <fluxdude> was wondering if there any way I could do something similar with a file{}
[2010/06/01 08:13:05] <fluxdude> I know there isn't a file{} param for this or a metaparm
[2010/06/01 08:13:15] <fluxdude> was thinking mayeb a workaround?
[2010/06/01 08:13:20] <fluxdude> maybe
[2010/06/01 08:13:22] @ Quit: bug: Quit: bug
[2010/06/01 08:13:30] <agaffney> I've ended up writing files using exec, but that is only practical for small files
[2010/06/01 08:14:02] <agaffney> you could put the file in a temp location and have an exec copy/symlink it
[2010/06/01 08:14:18] <fluxdude> agaffney: No, I want it to pull a file, not echo >> file
[2010/06/01 08:16:27] @ Quit: SEJeff: Quit: Leaving
[2010/06/01 08:18:45] @ Quit: sideshow: Quit: Page closed
[2010/06/01 08:23:16] @ themurph joined channel #puppet
[2010/06/01 08:23:43] <pixie79> i have quite a few errors on my first run that look like this: http://pastie.org/987169 any ideas?
[2010/06/01 08:24:40] <jY> why do you have puppet hitting an apache server?
[2010/06/01 08:25:11] <pixie79> i set it to use passenger
[2010/06/01 08:25:35] <pixie79> as i will be having about 40 clients initially using it for a full config setup
[2010/06/01 08:26:03] <jY> 40 clients is nothing
[2010/06/01 08:26:06] <pixie79> some elements it seems to be getting ok and installing, and others i just get this error as if it is overloaded
[2010/06/01 08:26:11] @ Quit: themurph: Client Quit
[2010/06/01 08:26:24] <pixie79> but at present i only have one client and one seperate puppet master
[2010/06/01 08:27:05] @ p3rror joined channel #puppet
[2010/06/01 08:28:42] @ bug joined channel #puppet
[2010/06/01 08:28:47] @ [GuS] joined channel #puppet
[2010/06/01 08:34:29] @ Quit: shug: Quit: Leaving
[2010/06/01 08:34:46] @ Quit: brothers: Quit: brothers
[2010/06/01 08:39:01] <zipkid> i don't really understand why the recepies on forge.puppetlabs.com that are supposed to work on multipe distros and os contain stuff like '--defaults-file=/etc/mysql/debian.cnf' ... :-(
[2010/06/01 08:40:33] @ acti0nman joined channel #puppet
[2010/06/01 08:40:42] <Hilli> zipkid: multiple sounds like "Both Debian and Ubuntu"
[2010/06/01 08:41:03] <zipkid> Hilli: that is quite short-sighted....
[2010/06/01 08:42:04] <acti0nman> What's the difference between a define and a class?
[2010/06/01 08:42:29] @ thdem joined channel #puppet
[2010/06/01 08:42:52] <zipkid> acti0nman: http://docs.puppetlabs.com/guides/language_tutorial.html
[2010/06/01 08:44:32] <Hilli> zipkid: It's very not generic, thats for sure
[2010/06/01 08:45:03] @ carla_afk is now known as carlasouza
[2010/06/01 08:45:19] @ sHaggY_caT joined channel #puppet
[2010/06/01 08:46:46] <sHaggY_caT> hi all! Which comments, not #, is avaible in puppet? I did'nt find this info in documentation. Is avaible / comment [new line] comment2 /, or /* comment, [new lite], comment2 */ ?
[2010/06/01 08:47:00] <zipkid> sHaggY_caT: #
[2010/06/01 08:47:10] <sHaggY_caT> i know about #
[2010/06/01 08:47:19] <zipkid> sHaggY_caT: that's it...
[2010/06/01 08:47:24] <sHaggY_caT> i write in last messages, about #
[2010/06/01 08:47:34] <zipkid> sHaggY_caT: i know.
[2010/06/01 08:48:16] <sHaggY_caT> # - is languge construction to comment line
[2010/06/01 08:48:31] <sHaggY_caT> in some languges, f.e. in puppet
[2010/06/01 08:49:03] <sHaggY_caT> i want commented some(not one) lines
[2010/06/01 08:49:04] <zipkid> sHaggY_caT: what are you on about....? # is the ONLY comment character in Puppet....
[2010/06/01 08:49:16] <zipkid> sHaggY_caT: # .... on each line
[2010/06/01 08:49:38] <sHaggY_caT> zipkid: i know. I want another comment opertaor
[2010/06/01 08:49:43] <sHaggY_caT> *operator
[2010/06/01 08:49:47] @ MPSimmons joined channel #puppet
[2010/06/01 08:49:48] <Volcane> sHaggY_caT: doesnt support anytying else
[2010/06/01 08:49:55] <sHaggY_caT> to comment some lines (more lines)
[2010/06/01 08:49:56] <zipkid> sHaggY_caT:fork puppet ands add it...
[2010/06/01 08:50:15] <sHaggY_caT> Volcane: :(
[2010/06/01 08:50:42] <pixie79> just been looks on the docs site but i cant find a clear example, how do i create a system user, and make it a member of two groups?
[2010/06/01 08:51:24] <masterzen> sHaggY_caT: puppet supports both # and /* multiline */ comments
[2010/06/01 08:53:50] <sHaggY_caT> masterzen: thank you very much!
[2010/06/01 08:53:52] <acti0nman> @zipkid: I know the language tutorial pretty well, my question is about specific use cases, for example, why make a class install_jira vs define install_jira, and then call jira {} in nodes.pp
[2010/06/01 08:54:00] <samppah> is it possible somehow to pass variable from puppet module to fact?
[2010/06/01 08:55:28] <samppah> or is that just completely ridiculous? :)
[2010/06/01 08:55:33] <Dominic> acti0nman: if it makes sense to have multiple JIRA installs, then it should be a define so it can be reused. If there is only one JIRA install, it should probably be a class.
[2010/06/01 08:56:19] <Dominic> acti0nman: it might make sense to have a define to set it all up, then a class that is used on all of your machines with site-local/shared settings
[2010/06/01 08:58:40] <nico> samppah: facter feeds puppet, this is a one way communication
[2010/06/01 08:58:50] <nico> (someone correct me if I'm wrong)
[2010/06/01 08:59:41] <samppah> nico: ok, thanks.. that's the way it seems to be
[2010/06/01 08:59:49] @ NecrisRex joined channel #puppet
[2010/06/01 09:00:19] <NecrisRex> Hello
[2010/06/01 09:00:25] <acti0nman> test
[2010/06/01 09:00:36] @ reyjrar joined channel #puppet
[2010/06/01 09:00:57] @ Quit: NecrisRex: Client Quit
[2010/06/01 09:04:13] @ TREllis joined channel #puppet
[2010/06/01 09:11:17] @ kolla joined channel #puppet
[2010/06/01 09:12:47] @ themurph joined channel #puppet
[2010/06/01 09:14:25] @ MarkN joined channel #puppet
[2010/06/01 09:17:58] @ cliff-hm joined channel #puppet
[2010/06/01 09:21:56] @ Quit: \ask: Remote host closed the connection
[2010/06/01 09:22:19] @ \ask joined channel #puppet
[2010/06/01 09:26:29] @ Quit: \ask: Ping timeout: 240 seconds
[2010/06/01 09:26:50] @ Quit: _nono_: Quit: Leaving
[2010/06/01 09:27:16] @ joe-mac joined channel #puppet
[2010/06/01 09:38:46] <pixie79> what does this mean? err: //ldap/File[/etc/ldap.secret]: Failed to retrieve current state of resource: Could not retrieve information from source(s) puppet://puppet.car-rental-world.com/modules/ldap/ldap.secret at /etc/puppet/modules/ldap/manifests/init.pp:100
[2010/06/01 09:41:06] @ \ask joined channel #puppet
[2010/06/01 09:41:17] <ashp> well, it couldn't find the file in modules/ldap/ldap.secret
[2010/06/01 09:41:25] <ashp> so make sure you have it in ldap/files/ldap.secret :)
[2010/06/01 09:41:42] <ashp> also you can just do "file:///modules" and skip the hostname
[2010/06/01 09:42:23] <pixie79> ok, so it could be the user puppet could not read it?
[2010/06/01 09:45:58] @ Quit: manish: Ping timeout: 252 seconds
[2010/06/01 09:46:53] <ashp> possibly
[2010/06/01 09:51:17] @ Quit: twiz_: Ping timeout: 240 seconds
[2010/06/01 09:55:23] @ shenson joined channel #puppet
[2010/06/01 09:57:10] @ Quit: ReinH: Ping timeout: 276 seconds
[2010/06/01 09:57:53] @ ReinH joined channel #puppet
[2010/06/01 09:58:59] @ Quit: gaveen: Ping timeout: 265 seconds
[2010/06/01 09:59:47] @ bobbyz_ joined channel #puppet
[2010/06/01 09:59:50] <ashp> i'm gonna quit, become a farmer
[2010/06/01 09:59:52] @ notbrien joined channel #puppet
[2010/06/01 09:59:53] <ashp> i bet cows don't run out of open files and crash
[2010/06/01 10:00:04] <ashp> only errors you get from cows are ENOGRASS
[2010/06/01 10:00:49] <tim|mac> or ESOMETHINGSMELLSINHERE
[2010/06/01 10:01:12] @ Quit: kenneho: Quit: Ex-Chat
[2010/06/01 10:01:44] <zipkid> and WINEEDMILKING_URGENTLY_NOW
[2010/06/01 10:03:20] * fsweetser quickly glanced at that and wondered what you'd milk wine from...
[2010/06/01 10:04:14] @ Quit: ReinH: Ping timeout: 245 seconds
[2010/06/01 10:04:39] @ ReinH joined channel #puppet
[2010/06/01 10:05:18] @ Quit: joe-mac: Ping timeout: 276 seconds
[2010/06/01 10:06:49] @ Quit: TREllis: Ping timeout: 264 seconds
[2010/06/01 10:10:03] @ Quit: bob2: Ping timeout: 248 seconds
[2010/06/01 10:10:04] @ Quit: ReinH: Ping timeout: 245 seconds
[2010/06/01 10:10:47] @ tonyskapunk joined channel #puppet
[2010/06/01 10:11:40] @ Quit: realist: Ping timeout: 252 seconds
[2010/06/01 10:17:11] @ Quit: sHaggY_caT: Remote host closed the connection
[2010/06/01 10:17:23] @ TREllis joined channel #puppet
[2010/06/01 10:19:33] @ venturaville joined channel #puppet
[2010/06/01 10:24:55] @ Ramonster left channel #puppet ()
[2010/06/01 10:28:21] @ Quit: kolla: Remote host closed the connection
[2010/06/01 10:34:07] @ rcrowley joined channel #puppet
[2010/06/01 10:34:20] @ itguru joined channel #puppet
[2010/06/01 10:36:20] * itguru tries to focus on the screen....
[2010/06/01 10:36:44] <itguru> Good morning/afternoon/evning everyone :)
[2010/06/01 10:37:20] <barn> drunk again?
[2010/06/01 10:37:35] <itguru> barn, ...... umm........ noooooo
[2010/06/01 10:37:41] <barn> (:
[2010/06/01 10:37:42] * itguru tries to stand upright
[2010/06/01 10:38:53] @ joe-mac joined channel #puppet
[2010/06/01 10:40:05] <RS-232> buh, docs.puppetmaster is down/slow
[2010/06/01 10:40:40] <zipkid> RS-232: so is http://projects.puppetlabs.com/
[2010/06/01 10:40:51] <RS-232> against what is the name of a node definition matched? a hostname, fqdn, certname, ...?
[2010/06/01 10:41:14] <zipkid> hostname -> fqdn
[2010/06/01 10:41:29] <zipkid> only fqdn in extnode is my experience
[2010/06/01 10:41:36] <itguru> Does anyone have any opinions on this thread? http://tiny.cc/zqmxz
[2010/06/01 10:43:07] <RS-232> you mean both? so if facter on the client knows hostname=foo, and on the master my node definition is: node foo.domain.com { ... }, it should match?
[2010/06/01 10:45:08] @ realist joined channel #puppet
[2010/06/01 10:45:41] @ bob2 joined channel #puppet
[2010/06/01 10:46:39] <zipkid> RS-232: yep
[2010/06/01 10:47:09] @ Quit: bobbyz_: Ping timeout: 245 seconds
[2010/06/01 10:47:21] <zipkid> RS-232: well, only if that also matches your fqdn
[2010/06/01 10:47:41] @ herdingcat joined channel #puppet
[2010/06/01 10:47:49] <zipkid> it will work if your node def is node foo {}
[2010/06/01 10:48:43] @ ReinH joined channel #puppet
[2010/06/01 10:49:11] @ Quit: thegcat: Quit: Leaving.
[2010/06/01 10:53:17] @ ckauhaus joined channel #puppet
[2010/06/01 10:54:47] @ eshamow joined channel #puppet
[2010/06/01 10:55:03] <joe-mac> say ihave a duplicate resource definition, which involves some complex relationships such as virtual and exported resources, how can i tell where i would be realizing or colelcting a resource twice? in the past i've just read the code til i saw it, but this one is proving to be elusive.
[2010/06/01 10:55:35] @ Quit: omry_|work: Read error: Connection reset by peer
[2010/06/01 10:57:16] @ Quit: giskard_: Remote host closed the connection
[2010/06/01 10:58:06] <notbrien> which is better to use with puppet, Nagios or Zenoss?
[2010/06/01 10:58:27] @ bodepd joined channel #puppet
[2010/06/01 10:59:45] <joe-mac> idk hwo to qualify better, but i use nagios
[2010/06/01 10:59:55] <joe-mac> tehre aren't any built in types for zenoss that i know of
[2010/06/01 11:00:01] @ Quit: nimrod10: Read error: Connection reset by peer
[2010/06/01 11:00:08] <joe-mac> but if you're a zenoss shop then well you'll probably want to integrate with zenoss
[2010/06/01 11:00:31] @ nimrod10 joined channel #puppet
[2010/06/01 11:02:16] <notbrien> we use neither nagios or zenoss. I'm trying to decide which one to use. I saw zenoss and puppet labs have partnered, so i'm leaning towards zenoss.
[2010/06/01 11:02:18] @ Quit: themurph: Quit: themurph
[2010/06/01 11:03:27] @ themurph joined channel #puppet
[2010/06/01 11:03:29] <zipkid> ReinH: issue http://projects.puppetlabs.com/issues/3719 blocks the use of newer Dashboard versions. Do you think it will be resolved soon?
[2010/06/01 11:04:01] <ohadlevy> joe-mac: looking for me?
[2010/06/01 11:04:16] <pixie79> i am using the following class which should create me a directory, i have it being added via an include on the nodes configuration but it is either not being used or for some reason the directory seems to no be created but i have no idea why and the debug does not give any clues. http://pastie.org/987443
[2010/06/01 11:04:29] <joe-mac> ohadlevy: nah, but hi
[2010/06/01 11:05:19] <RS-232> zipkid: thanks, it turned out that even my fqdn was not fully qualified
[2010/06/01 11:05:47] <pixie79> arh it objects to my class having the same name as my node, hm that could be an issue
[2010/06/01 11:06:22] <joe-mac> pixie79: i don't think that happens, what is the classname?
[2010/06/01 11:06:42] <pixie79> i have a class called "carsplus" and a node called "carsplus"
[2010/06/01 11:07:36] <zipkid> RS-232: that 'll mess things up :-)
[2010/06/01 11:08:18] <joe-mac> pixie79: can you pastie.org the error?
[2010/06/01 11:08:46] @ rmiller4pi8 joined channel #puppet
[2010/06/01 11:09:39] @ Quit: sdog: Quit: Leaving.
[2010/06/01 11:09:39] <pixie79> joe-mac: i did not get an error, that was the problem, it just did not create the dir, however i have no changed the class name and it has created the dir. This will cause me and error where i have a class called "ldap" with my ldap settings in and also a host called "ldap" as my ldap server :)
[2010/06/01 11:10:04] <joe-mac> first, you should probably use fqdn's in your nodes.pp
[2010/06/01 11:10:25] @ Quit: rmiller4pi8: Client Quit
[2010/06/01 11:10:28] <joe-mac> second, run puppetd -dt with the same node and class name and pastie the output... i haven't heard of this limitation
[2010/06/01 11:11:19] @ kaptk2 joined channel #puppet
[2010/06/01 11:11:56] <pixie79> joe-mac: err: Could not retrieve catalog from remote server: Error 400 on SERVER: Cannot have classes, nodes, or definitions with the same name on node test.car-rental-world.com
[2010/06/01 11:12:12] <joe-mac> wow, never knew that
[2010/06/01 11:12:33] @ rmiller4pi8 joined channel #puppet
[2010/06/01 11:12:38] <masterzen> this is a known issue
[2010/06/01 11:12:43] <joe-mac> probably because i use fqdns and you can't have .s in class names anyways
[2010/06/01 11:12:48] <pixie79> joe-mac: looks like fqdn still gives the same error
[2010/06/01 11:12:56] <ashp> This is a new warning
[2010/06/01 11:13:02] <pixie79> oh no different one
[2010/06/01 11:13:09] @ Quit: bodepd: Quit: bodepd
[2010/06/01 11:13:09] <ashp> warning: host localhost found in both parsed and parsed; skipping the parsed version
[2010/06/01 11:13:12] <ashp> and yes, it says 'parsed and parsed'
[2010/06/01 11:13:13] <ashp> wtf
[2010/06/01 11:15:10] <pixie79> joe-mac: yep looks like fqdn's sloves the issue, my problem was that node carsplus was not a node but a default node for a groups of nodes
[2010/06/01 11:15:53] @ bobbyz_ joined channel #puppet
[2010/06/01 11:17:07] @ Quit: PsychoSid1: Quit: Leaving.
[2010/06/01 11:17:09] <pixie79> joe-mac: easily solved i will call my default nodes "type.default" so carsplus.default and the problem goes away :)
[2010/06/01 11:18:12] <ashp> grr the new puppet rpm relies on linselinux-ruby which isn't in RHEL6 :(
[2010/06/01 11:21:56] <ohadlevy> ashp: no puppet rpms in epel for rhel6?
[2010/06/01 11:22:00] <venturaville> nada
[2010/06/01 11:22:07] <ashp> ohadlevy: there is, but it relies on a library that doesn't exist
[2010/06/01 11:22:13] <ashp> which is ruining my rebuild of our web servers :)
[2010/06/01 11:22:17] <venturaville> hrm there are now
[2010/06/01 11:22:23] <venturaville> 0.25.5-1
[2010/06/01 11:22:45] <ohadlevy> ashp: a lot of the ruby stack (rubygems packages) are still missing too
[2010/06/01 11:23:34] @ tychoish joined channel #puppet
[2010/06/01 11:23:41] <ashp> yeah, it's a pain, i really want to get on with -6 work as I have to build the webservers under 6
[2010/06/01 11:23:47] <ashp> i'm not doing this work twice as this is a massive project
[2010/06/01 11:24:02] <joe-mac> i'm havuing a real tough time tracking down how this resource is being collected > 1 time... anybody have any idea on good methods of tracking duplicate realization/collection?
[2010/06/01 11:24:24] <ohadlevy> joe-mac: what are you doing?
[2010/06/01 11:24:30] <tychoish> I have a question regarding the order of allow and deny statements in fileserver.conf and how these directives are processed.
[2010/06/01 11:24:50] <joe-mac> collecting nagios resources ohadlevy i moved some repetative code into a definition
[2010/06/01 11:24:51] <tychoish> specifically, I've seen flagrantly conflicting descritpions of this in the documentation
[2010/06/01 11:25:13] <masterzen> tychoish: I think I remember that deny always win on allow
[2010/06/01 11:25:28] <masterzen> tychoish: the ordering is done on longest match, or sth like that
[2010/06/01 11:25:54] <masterzen> joe-mac: if you collect multiple time, I suppose you get more than one collection
[2010/06/01 11:25:57] <masterzen> *times
[2010/06/01 11:26:28] <tychoish> masterzen: the comments in the default file (from debian packages) says "order doesn't matter, allow always takes precedence over deny"
[2010/06/01 11:26:43] <joe-mac> you get failures. this is kind of a general question anyways. say you realize or collect twice, you get a duplicate definition error, how do you track down how this is happening in a methodical approach?
[2010/06/01 11:27:06] <joe-mac> like for circular dependencies you can use graphing to easily visualize
[2010/06/01 11:27:23] <tychoish> masterzen: and your answer more or less resembles the documentation that is in the redmine instance
[2010/06/01 11:27:43] <joe-mac> what do you do for duplicate resources? especailly since the error "duplicate definition so on and so on cannot be defined twice, once in file:198 and again in samefile:198" isn't all too helpful
[2010/06/01 11:28:18] <masterzen> tychoish: I meant that it denies by default, and you can lessen the restriction with allow statements
[2010/06/01 11:29:14] <masterzen> joe-mac: I don't have the answer, beside tracking manually all your collect statement...
[2010/06/01 11:29:19] <tychoish> masterzen: <3 thank you
[2010/06/01 11:30:01] <joe-mac> masterzen: yea, so i've been grepping and i see it should only be collected once
[2010/06/01 11:30:28] <masterzen> joe-mac: you mentioned a definition. Could the definition be used more than once?
[2010/06/01 11:30:41] <masterzen> joe-mac: are those virtual or exported res?
[2010/06/01 11:30:44] <joe-mac> i grepped for that and can't find it
[2010/06/01 11:30:52] <joe-mac> these are exported inside a non-exported definition
[2010/06/01 11:31:33] @ anvil14 joined channel #puppet
[2010/06/01 11:31:50] <joe-mac> i'm going nutzo over this lol
[2010/06/01 11:32:05] @ twiz_ joined channel #puppet
[2010/06/01 11:32:08] <anvil14> morning all
[2010/06/01 11:32:13] <joe-mac> morning
[2010/06/01 11:32:20] <anvil14> I'm having a problem with: Could not retrieve catalog from remote server: Error 400 on SERVER: Unknown MySQL server host
[2010/06/01 11:32:35] <anvil14> can't seems to find anything worth while on google
[2010/06/01 11:32:48] <ohadlevy> anvil14, you use storeconfigs?
[2010/06/01 11:32:58] <anvil14> ohadlevy: yes
[2010/06/01 11:33:12] @ Quit: londo: Remote host closed the connection
[2010/06/01 11:33:17] <ohadlevy> anvil14, and does your server settings in puppet.conf are correct?
[2010/06/01 11:33:24] @ londo joined channel #puppet
[2010/06/01 11:33:40] <anvil14> ohadlevy: this started after deploying storeconfigs
[2010/06/01 11:33:53] <ohadlevy> anvil14, does it happen all the time?
[2010/06/01 11:34:03] <anvil14> yes, on all my hosts too
[2010/06/01 11:34:16] <masterzen> joe-mac: then if exported that means you have more than one node producing the same resource (with the same name).
[2010/06/01 11:34:18] <ohadlevy> can the master resolve the sql server? is it up
[2010/06/01 11:34:31] <masterzen> joe-mac: check in your DB.
[2010/06/01 11:34:40] <joe-mac> nah, the exportation uses the node's fqdn
[2010/06/01 11:34:43] <joe-mac> to keep it unique
[2010/06/01 11:34:52] <masterzen> ok
[2010/06/01 11:35:13] * ohadlevy just uses foreman query interface instead of exporting
[2010/06/01 11:36:24] <anvil14> ohadlevy: interesting from the master I get cannot connect through socket
[2010/06/01 11:36:41] <joe-mac> i asume i can see the exported stuff in the resioyrces table... hold on
[2010/06/01 11:36:49] <ohadlevy> anvil14, at least you found your problem :)
[2010/06/01 11:36:51] <anvil14> ohadlevy: sorry, I forgot -h
[2010/06/01 11:37:08] <anvil14> ohadlevy: so no I didn't :/
[2010/06/01 11:37:44] @ steph021_w joined channel #puppet
[2010/06/01 11:38:08] <ohadlevy> anvil14, -h is not through a socket
[2010/06/01 11:38:48] <anvil14> ohadlevy: yea, I just commented out that line in my puppet.conf and puppetmaster works and 1 of my nodes
[2010/06/01 11:39:37] <anvil14> ohadlevy: woot! that was it
[2010/06/01 11:40:10] @ bodepd joined channel #puppet
[2010/06/01 11:41:10] @ Quit: Welsh_Dwarf: Read error: Connection reset by peer
[2010/06/01 11:41:26] <joe-mac> how do i see strictly exported resources?
[2010/06/01 11:41:29] <joe-mac> in the db i mean
[2010/06/01 11:43:37] <joe-mac> i am just not seeing this
[2010/06/01 11:44:14] <joe-mac> ohadlevy: so, before the escalation makes it into the db, my catalog run fails because of a duplicate definition
[2010/06/01 11:45:12] <ohadlevy> joe-mac: check your define?
[2010/06/01 11:46:17] <joe-mac> k, let me doubl;e check it byut look http://www.pastie.org/987527
[2010/06/01 11:46:25] <joe-mac> it uses the fqdn in the define, so it should really never duplicate
[2010/06/01 11:46:28] <joe-mac> let me double check though
[2010/06/01 11:47:45] <joe-mac> ohadlevy:
[2010/06/01 11:47:57] <joe-mac> let me paste the code ands ee if i am just being dense, maybe you can see it immediatley
[2010/06/01 11:48:00] <joe-mac> fresh eyes phenomnen
[2010/06/01 11:48:06] <joe-mac> enon even
[2010/06/01 11:48:37] <joe-mac> definition : http://www.pastie.org/987532
[2010/06/01 11:48:38] @ Quit: ckauhaus: Quit: Leaving.
[2010/06/01 11:49:40] <joe-mac> that exists in /etc/puppet/production/modules/nagios/manifests/init.pp. every single node gets this class. also from init.pp is this: http://www.pastie.org/987533
[2010/06/01 11:50:05] <joe-mac> i feeel like if i move the actual calls to the define to another class it will work...
[2010/06/01 11:50:06] <ohadlevy> joe-mac: its too late for me now, I'll have a look tomorrow morning if you dont get it by then :)
[2010/06/01 11:50:13] <joe-mac> ah, ok
[2010/06/01 11:50:14] <joe-mac> thanks
[2010/06/01 11:53:22] <pixie79> i have just created a clean client but it does not seem to be sending its cert over for signing to the master, it is connecting but if i do puppetca --list i get nothing
[2010/06/01 11:55:33] @ Quit: themurph: Quit: themurph
[2010/06/01 11:56:13] <masterzen> joe-mac: in the db, just do a "select id, host_id, restype, title from resources where restype="<type>" and exported=1"
[2010/06/01 11:56:24] <masterzen> joe-mac: change <type> with your actual resource type
[2010/06/01 11:56:32] <joe-mac> right i was just doing almost the same query
[2010/06/01 11:56:32] @ themurph joined channel #puppet
[2010/06/01 12:00:44] @ spawnyd left channel #puppet ()
[2010/06/01 12:00:52] @ rgsteele joined channel #puppet
[2010/06/01 12:02:20] @ jsm joined channel #puppet
[2010/06/01 12:05:41] @ timotheo joined channel #puppet
[2010/06/01 12:06:20] @ narq_ is now known as narq
[2010/06/01 12:11:08] @ Quit: bodepd: Quit: bodepd
[2010/06/01 12:11:24] @ Quit: themroc: Remote host closed the connection
[2010/06/01 12:12:19] @ Quit: alban2: Quit: Leaving.
[2010/06/01 12:13:13] @ tep joined channel #puppet
[2010/06/01 12:13:14] @ Quit: tep: Changing host
[2010/06/01 12:13:14] @ tep joined channel #puppet
[2010/06/01 12:14:35] @ gmaurice_ joined channel #puppet
[2010/06/01 12:14:51] @ alfism joined channel #puppet
[2010/06/01 12:16:29] <gmaurice_> hi all, i didn't find in the documentation how to restart a service on a puppet client only when its configuration file was modified, is it possible ? thakns
[2010/06/01 12:17:11] <itguru> pixie79, On the new client, have you tried to ping your puppetmaster, to at least verify that it goes to the right machine?
[2010/06/01 12:17:17] @ Quit: thdem: Quit: Page closed
[2010/06/01 12:18:53] <pixie79> itguru: yep, that was ok, it appeared to work when i took off the --debug --test flag
[2010/06/01 12:19:47] @ Quit: pmorillo: Read error: Connection reset by peer
[2010/06/01 12:20:01] <itguru> :)
[2010/06/01 12:20:12] @ pmorillo joined channel #puppet
[2010/06/01 12:22:12] @ Quit: jaredrhine: Quit: Leaving.
[2010/06/01 12:22:20] @ bodepd joined channel #puppet
[2010/06/01 12:22:23] <RS-232> is there a variable or function that tells me what class/module/define I am in?
[2010/06/01 12:23:00] @ Quit: choc: Quit: changing servers
[2010/06/01 12:23:21] @ choc joined channel #puppet
[2010/06/01 12:23:40] <RS-232> I'd like to use it to create comments in (templates of) puppet-managed configuration files, that tell my coworkers where/how to change it.
[2010/06/01 12:24:26] <RS-232> for example: # This file was generated by $class in $module on $puppetmaster
[2010/06/01 12:25:05] <RS-232> of course I can set those values by hand, but it would be a lot prettier if I can ask puppet their values.
[2010/06/01 12:25:13] @ Quit: bodepd: Remote host closed the connection
[2010/06/01 12:27:01] @ bodepd joined channel #puppet
[2010/06/01 12:27:35] @ Quit: bodepd: Remote host closed the connection
[2010/06/01 12:27:58] @ Quit: bearnard: Ping timeout: 276 seconds
[2010/06/01 12:28:07] @ bodepd joined channel #puppet
[2010/06/01 12:28:46] @ Quit: bodepd: Remote host closed the connection
[2010/06/01 12:29:18] @ bodepd joined channel #puppet
[2010/06/01 12:29:57] @ Quit: bodepd: Remote host closed the connection
[2010/06/01 12:31:45] @ bodepd joined channel #puppet
[2010/06/01 12:32:04] @ Quit: themurph: Quit: themurph
[2010/06/01 12:32:21] @ Quit: bodepd: Remote host closed the connection
[2010/06/01 12:32:23] @ Quit: MattyM: Remote host closed the connection
[2010/06/01 12:32:50] @ bodepd joined channel #puppet
[2010/06/01 12:33:30] @ Quit: bodepd: Remote host closed the connection
[2010/06/01 12:34:01] @ bodepd joined channel #puppet
[2010/06/01 12:34:41] @ Quit: bodepd: Remote host closed the connection
[2010/06/01 12:35:12] @ plathrop-away is now known as plathrop
[2010/06/01 12:35:13] @ bodepd joined channel #puppet
[2010/06/01 12:35:53] @ Quit: bodepd: Remote host closed the connection
[2010/06/01 12:36:24] @ bodepd joined channel #puppet
[2010/06/01 12:37:03] @ Quit: bodepd: Remote host closed the connection
[2010/06/01 12:37:25] @ Quit: Demosthenes: Quit: leaving
[2010/06/01 12:37:34] @ bodepd joined channel #puppet
[2010/06/01 12:38:16] @ Quit: bodepd: Remote host closed the connection
[2010/06/01 12:38:21] <fluxdude> I've got a file resource in one class which I am overriding in another class but the source does not seem to be getting overridden.. any ideas why?
[2010/06/01 12:38:31] <joe-mac> are you certain you're inheriting?
[2010/06/01 12:38:39] <joe-mac> can you show the code where you override>?
[2010/06/01 12:38:45] @ bodepd joined channel #puppet
[2010/06/01 12:38:51] @ Quit: bodepd: Client Quit
[2010/06/01 12:39:24] <fluxdude> joe-mac: yes class nagios::nrpe inherits ::nrpe { File["/etc/nagios/plugins"]{ source => "puppet:///..."
[2010/06/01 12:39:43] <plathrop> fluxdude: a real paste on a paste service would be more helpful.
[2010/06/01 12:40:54] @ Quit: Disconnect: Ping timeout: 265 seconds
[2010/06/01 12:40:57] <joe-mac> do you really need to qualify the base nrpe in this situation? probably ui guess due to scope...
[2010/06/01 12:41:14] @ Quit: pmorillo: Quit: pmorillo
[2010/06/01 12:41:19] <fluxdude> i do, otherwise it complains about having a parent class of similar name
[2010/06/01 12:42:06] <joe-mac> right, that's what i guessed. yuo should pastie.org more complete code though
[2010/06/01 12:43:28] @ Quit: \ask: Remote host closed the connection
[2010/06/01 12:43:46] @ \ask joined channel #puppet
[2010/06/01 12:44:11] <fluxdude> figured it out, the original file {} didn't have a recurse so the overridden one didn't recurse either
[2010/06/01 12:44:20] <fluxdude> that's why I didn't get the files I expected to pop up
[2010/06/01 12:44:23] <fluxdude> works now
[2010/06/01 12:55:41] @ littleidea joined channel #puppet
[2010/06/01 12:56:10] @ gmaurice_ left channel #puppet ()
[2010/06/01 13:06:19] @ alrs joined channel #puppet
[2010/06/01 13:07:36] @ Quit: itguru: Quit: Leaving
[2010/06/01 13:08:27] @ bodepd joined channel #puppet
[2010/06/01 13:08:34] @ Quit: bodepd: Client Quit
[2010/06/01 13:10:09] @ toi joined channel #puppet
[2010/06/01 13:15:45] @ Quit: gebi: Ping timeout: 260 seconds
[2010/06/01 13:15:55] <joe-mac> hey does someone have a link to that puppet presenattion from puppetcamp eu that was about using puppet with splunk? i want to know how to use the proper revision number in manifest compiles
[2010/06/01 13:16:24] <joe-mac> sinmce cap creates the proper REVISION file in /etc/pupept it should be a trivial cat for the revision command, just don't remember exactly how to set this up
[2010/06/01 13:17:38] @ ahuman joined channel #puppet
[2010/06/01 13:19:42] <zipkid> joe-mac: http://bit.ly/puppetsplunkslides
[2010/06/01 13:20:04] <joe-mac> thanks zipkid
[2010/06/01 13:20:11] <zipkid> np :-)
[2010/06/01 13:21:16] <joe-mac> where can i get more info on --config-version?
[2010/06/01 13:21:27] <joe-mac> there isn't really any explanation, initial google results show little, etc?
[2010/06/01 13:21:46] <zipkid> joe-mac: it is just a command (script) that returns a version string
[2010/06/01 13:22:21] <joe-mac> k, so if i did --config-version "cat /etc/puppet/REVISION" it should work?
[2010/06/01 13:22:22] <zipkid> if you have a shell script that returns unixtime you have the same as is in puppet now
[2010/06/01 13:22:24] <joe-mac> awesome
[2010/06/01 13:22:41] <joe-mac> no, i want to return the svn revision, which cap automatically writes toa file when i deploy
[2010/06/01 13:23:09] <zipkid> joe-mac: i dont know if it will work that way but if you put that in a shell script it should for sure
[2010/06/01 13:24:23] <joe-mac> i'm going to look at the code, i don't want to put that in a shell script really
[2010/06/01 13:25:14] <joe-mac> id on't think my version of puppetmasterd does that... is it new?
[2010/06/01 13:25:15] <zipkid> it is clear what it does/needs from looking at the puppet code.
[2010/06/01 13:25:34] <zipkid> joe-mac: dont think so
[2010/06/01 13:25:41] <zipkid> what is your version?
[2010/06/01 13:25:56] <joe-mac> hm, zipkid grepping for config-version doesn't return anything, is there some foo that strips off config- and uses version somewhere else?
[2010/06/01 13:25:58] <joe-mac> .25.4
[2010/06/01 13:26:13] <zipkid> dunno, let me try to find it.
[2010/06/01 13:26:17] @ themurph joined channel #puppet
[2010/06/01 13:26:58] @ CoolCold left channel #puppet ()
[2010/06/01 13:27:52] @ bodepd joined channel #puppet
[2010/06/01 13:28:14] <zipkid> it's config_version
[2010/06/01 13:28:29] @ verwilst joined channel #puppet
[2010/06/01 13:29:22] @ jaredrhine joined channel #puppet
[2010/06/01 13:29:23] <zipkid> joe-mac: line 479 in /usr/lib/ruby/site_ruby/1.8/puppet # vi parser/parser_support.rb for 0.25.4
[2010/06/01 13:30:10] @ Quit: herdingcat: Ping timeout: 265 seconds
[2010/06/01 13:30:14] @ alxm joined channel #puppet
[2010/06/01 13:30:44] @ herdingcat joined channel #puppet
[2010/06/01 13:32:49] <joe-mac> so it looks like it should be able to execute a full path like '/bin/cat /etc/puppet/REVISION'
[2010/06/01 13:33:24] <zipkid> could be, it should not hurt to try it out :-)
[2010/06/01 13:35:13] <joe-mac> won't work cause i need to make it say commit=, adding shell script now
[2010/06/01 13:36:03] @ Quit: bodepd: Quit: bodepd
[2010/06/01 13:44:32] @ joe-mac left channel #puppet ()
[2010/06/01 13:47:01] @ Quit: TREllis: Quit: brb
[2010/06/01 13:50:30] @ joe-mac joined channel #puppet
[2010/06/01 13:51:47] @ TREllis joined channel #puppet
[2010/06/01 13:52:42] @ Quit: hephaestus: Killed (idoru (Spam is off topic on freenode.))
[2010/06/01 13:56:43] @ alban2 joined channel #puppet
[2010/06/01 13:56:49] @ Quit: twiz_: Ping timeout: 260 seconds
[2010/06/01 13:58:14] @ Quit: themurph: Quit: themurph
[2010/06/01 13:58:57] @ themurph joined channel #puppet
[2010/06/01 13:59:01] @ Quit: themurph: Client Quit
[2010/06/01 14:00:02] @ themurph joined channel #puppet
[2010/06/01 14:03:30] @ yakub joined channel #puppet
[2010/06/01 14:04:59] @ swa_work joined channel #puppet
[2010/06/01 14:05:02] @ ezmobius joined channel #puppet
[2010/06/01 14:05:19] @ adrian_broher joined channel #puppet
[2010/06/01 14:05:22] @ bodepd joined channel #puppet
[2010/06/01 14:18:10] @ Quit: bodepd: Quit: bodepd
[2010/06/01 14:24:55] <Whoop> Does anyone know if its safe to run puppet in an untrusted environment
[2010/06/01 14:25:04] <Whoop> e.g. my master is secure, but I deploy manifests on a foreign machine
[2010/06/01 14:25:17] <Whoop> How much of my puppet manifest could they expose?
[2010/06/01 14:25:20] @ Dominic_ joined channel #puppet
[2010/06/01 14:25:24] <Whoop> is it possible to steal my code etc
[2010/06/01 14:25:31] <jbooth> ... Everything you send the client?
[2010/06/01 14:25:35] @ livid joined channel #puppet
[2010/06/01 14:25:38] <Whoop> Yar, which is what exactly?
[2010/06/01 14:26:07] @ livid is now known as alxm_
[2010/06/01 14:26:30] @ knighthk joined channel #puppet
[2010/06/01 14:26:33] @ Hollow_ joined channel #puppet
[2010/06/01 14:27:01] @ zoeloelip joined channel #puppet
[2010/06/01 14:27:15] @ tools_ joined channel #puppet
[2010/06/01 14:27:15] @ alien joined channel #puppet
[2010/06/01 14:27:20] <jbooth> The content of /var/lib/puppet/client_yaml/catalog/... (on a client). Plus possibly any files referenced therein.
[2010/06/01 14:27:30] @ Quit: jaredrhine: *.net *.split
[2010/06/01 14:27:30] @ Quit: alxm: *.net *.split
[2010/06/01 14:27:31] @ Quit: bug: *.net *.split
[2010/06/01 14:27:31] @ Quit: Lunar_Lamp: *.net *.split
[2010/06/01 14:27:31] @ Quit: tsb: *.net *.split
[2010/06/01 14:27:31] @ Quit: Hollow: *.net *.split
[2010/06/01 14:27:31] @ Quit: steven43126: *.net *.split
[2010/06/01 14:27:31] @ Quit: majeru: *.net *.split
[2010/06/01 14:27:32] @ Quit: mackn_: *.net *.split
[2010/06/01 14:27:32] @ Quit: xHans: *.net *.split
[2010/06/01 14:27:32] @ Quit: zoeloeli1: *.net *.split
[2010/06/01 14:27:32] @ Quit: tools: *.net *.split
[2010/06/01 14:27:32] @ Quit: Dominic: *.net *.split
[2010/06/01 14:27:32] @ Quit: plathrop: *.net *.split
[2010/06/01 14:27:33] @ Quit: vollmer: *.net *.split
[2010/06/01 14:27:42] <jbooth> You could probably reverse engineer classes from that, but you wouldn't get the original .pps
[2010/06/01 14:28:03] <Whoop> fair do, thanks
[2010/06/01 14:28:12] <Whoop> shall explore
[2010/06/01 14:28:15] @ plathrop joined channel #puppet
[2010/06/01 14:28:29] @ sdog joined channel #puppet
[2010/06/01 14:28:39] @ mackn_ joined channel #puppet
[2010/06/01 14:29:29] @ Lunar_Lamp joined channel #puppet
[2010/06/01 14:29:30] @ Quit: Lunar_Lamp: Changing host
[2010/06/01 14:29:30] @ Lunar_Lamp joined channel #puppet
[2010/06/01 14:29:58] @ sdog left channel #puppet ()
[2010/06/01 14:30:11] <jbooth> Whoop: I'd honeslty be a lot more worried about if you're exposing any passwords or other sensative information.
[2010/06/01 14:30:38] <Whoop> No passwords, only worry is exposed source
[2010/06/01 14:30:39] @ vollmer joined channel #puppet
[2010/06/01 14:30:40] <jbooth> Whoop: On the flip side, if you're using pluginsync=true, then yes they get a full copy of that type/provider code.
[2010/06/01 14:30:42] <Whoop> e.g. my hard work
[2010/06/01 14:30:44] <Whoop> nothing but
[2010/06/01 14:30:58] @ jaredrhine joined channel #puppet
[2010/06/01 14:31:01] <Whoop> Nope, no pluginsync
[2010/06/01 14:31:04] @ Quit: avocado: Remote host closed the connection
[2010/06/01 14:31:33] <jbooth> I'd talk to Volcane if you're worried about consulting clients 'stealing' your work.
[2010/06/01 14:31:56] * Whoop pokes Volcane :)
[2010/06/01 14:31:59] <jbooth> Though to be honest if I was a client I'd insist on a copy of said work as a protection for myself in the whole deal.
[2010/06/01 14:32:06] <ashp> yeah i was just thinking the same
[2010/06/01 14:32:13] @ colyte joined channel #puppet
[2010/06/01 14:32:17] <ashp> without a copy of the work you could forget it
[2010/06/01 14:32:31] @ xHans joined channel #puppet
[2010/06/01 14:32:32] <Whoop> Yeah was considering it, but thought I'd give him a break from the bother :P
[2010/06/01 14:32:37] <Whoop> appears he knows too much to avoid however :P
[2010/06/01 14:32:51] <Whoop> nah, its not for a client
[2010/06/01 14:33:01] <Whoop> its a remote box in which the environement can't be trusted
[2010/06/01 14:33:24] <Whoop> bit of a strange and unusual environment
[2010/06/01 14:33:45] @ Quit: benoit__: Ping timeout: 276 seconds
[2010/06/01 14:34:58] @ steven43126 joined channel #puppet
[2010/06/01 14:35:39] @ Quit: herdingcat: Ping timeout: 248 seconds
[2010/06/01 14:41:11] <neek> anyone found any sane way to manage the puppetmaster (box and config) with puppet? so far my attempts have resulted in a lot of broken weirdness.
[2010/06/01 14:41:37] <Whoop> weirdness in what sense?
[2010/06/01 14:41:44] <Whoop> I'm managing my puppet master partially with no problems
[2010/06/01 14:41:47] * neek . o O ( and really, googling "puppetmaster" is fun. )
[2010/06/01 14:41:58] <Volcane> neek: its a unix machine with files on it and a few packages. so erm, its just like any other machine?
[2010/06/01 14:42:20] <ashp> i manage my puppetmaster just fine
[2010/06/01 14:42:21] <jbooth> What Volcane said.
[2010/06/01 14:42:22] <neek> Volcane: well, puppet.conf has to be different on the puppmaster than for puppetd.
[2010/06/01 14:42:31] <neek> so right there things get wierd.
[2010/06/01 14:42:34] <ashp> i have a puppet-server.conf.erb and a puppet-client.conf.erb
[2010/06/01 14:42:39] <ashp> and two modules, puppet and puppetmaster
[2010/06/01 14:42:45] <ashp> and just include puppetmaster only on the puppetmaster
[2010/06/01 14:42:51] <Volcane> neek: file source can take an array of sources, and the first it finds is what goes on the machine
[2010/06/01 14:42:59] <ashp> or something like that, i probably do it totally differently, i made my puppetmaster module first
[2010/06/01 14:43:00] <Volcane> neek: so you can source it based on fqdn or role or something like that
[2010/06/01 14:43:04] @ Quit: timotheo:
[2010/06/01 14:43:22] <neek> yeah, yuck. why doesnt puppetmaster just use it's own damned config? :)
[2010/06/01 14:43:31] <ashp> yeah, i have loads of stuff like array of sources where i have x.conf.$hostname
[2010/06/01 14:43:46] <jbooth> neek: puppet client will just ignore the sections it doesn't want. Like puppetmaster.
[2010/06/01 14:43:47] * neek . o O ( puppetd is currently managed by a different group via augeas. )
[2010/06/01 14:44:04] <neek> er, puppet.conf anyway.
[2010/06/01 14:44:17] <Volcane> neek: briliant, you can abuse augeas's suckyness and just add to the file :P
[2010/06/01 14:44:40] <neek> yeah, except it already breaking things randomly... :)
[2010/06/01 14:44:42] <jbooth> neek: class puppet::master inherits puppet { Augeas["overrides"] ...
[2010/06/01 14:45:12] <neek> I also ran into a lot of certificate problems with the box trying to talk to itself.
[2010/06/01 14:45:20] <neek> though this was all last week.
[2010/06/01 14:45:33] <Volcane> i give them different certs
[2010/06/01 14:45:34] <Volcane> works best
[2010/06/01 14:45:44] <neek> how?
[2010/06/01 14:46:05] <Volcane> certname and certdnsname in the [puppetmasterd] section
[2010/06/01 14:47:45] * jbooth hasn't had any trouble with puppetmasters talking to themselves with their standard fqdn as hostname/cert
[2010/06/01 14:47:48] <neek> thx
[2010/06/01 14:47:48] <joe-mac> one of my masterrs is getting tlsv1 alert decrypt error
[2010/06/01 14:47:52] <joe-mac> connecting to itself
[2010/06/01 14:48:01] <joe-mac> the other masters work fine. anybody have some troubleshooting techniques?
[2010/06/01 14:49:04] <neek> ...can puppetmaster be -told- what config file to use? --config=file ?
[2010/06/01 14:49:24] <Volcane> jbooth: yeah it should just work - though when u get to having many masters and want to be able to share certs seperating them works eonders
[2010/06/01 14:50:18] <zipkid> neek --config-dir=
[2010/06/01 14:51:10] <neek> zipkid: cool!
[2010/06/01 14:51:45] <RS-232> neek: you could do: file { '/etc/puppet/puppet.conf': source => [ 'puppet:///puppet/puppet.conf.$hostname', 'puppet:///puppet/puppet.conf' ] }
[2010/06/01 14:52:33] <RS-232> it takes the first available source, so you could manage puppet.conf of the puppetmaster as puppet.conf.puppet.yourdomain
[2010/06/01 14:52:57] <RS-232> .. to answer you original question
[2010/06/01 14:53:00] <joe-mac> get zipkid do you know if you can set config_version in puppet.conf? or is it puppetmasterd CLI only?
[2010/06/01 14:53:07] <Volcane> RS-232: another team manages that file - perhaps he should just consider *talking* to them to find a solution sigh
[2010/06/01 14:53:13] @ cynicismic joined channel #puppet
[2010/06/01 14:54:03] <neek> Volcane: eh, well, it's easier to just avoid the conflicts entirely when I can... :) I like --config-dir, as it splits it up entirely (and since they're two different servers that do two different jobs, that makes a lot of sense to me. )
[2010/06/01 14:54:25] @ Quit: themurph: Ping timeout: 258 seconds
[2010/06/01 14:54:31] @ themurph joined channel #puppet
[2010/06/01 14:54:42] @ Quit: bgupta: Quit: bgupta
[2010/06/01 14:55:28] @ bgupta joined channel #puppet
[2010/06/01 14:56:24] @ Quit: bgupta: Remote host closed the connection
[2010/06/01 14:56:55] @ bgupta joined channel #puppet
[2010/06/01 14:57:24] @ Quit: j_c: Quit: Leaving
[2010/06/01 14:57:39] <nasrat> in the long term communication across teams will yield greater benefit
[2010/06/01 14:57:56] @ themurph_ joined channel #puppet
[2010/06/01 14:59:21] <neek> nasrat: we have that (and one of the guys is actually in channel), but it doesn't change that I have a requirement to depend on that side as little as possible. ;p
[2010/06/01 14:59:38] <RS-232> neek: is you are a mortal user, you can use ~user/.puppet/puppet.conf
[2010/06/01 14:59:39] <nasrat> aight, just saying
[2010/06/01 14:59:49] <RS-232> if you are root, I don't see your problem
[2010/06/01 14:59:55] <joe-mac> anyone know whats refs= is for when you run a config_versuion script?
[2010/06/01 15:00:11] <joe-mac> actually, idk i am getting invalid optiopn: --config-version
[2010/06/01 15:00:55] @ Quit: themurph: Ping timeout: 245 seconds
[2010/06/01 15:00:55] @ themurph_ is now known as themurph
[2010/06/01 15:01:20] @ Quit: themurph: Client Quit
[2010/06/01 15:02:25] <zipkid> joe-mac: the refs is about the branch your checkout is from
[2010/06/01 15:02:27] <joe-mac> ok it's config_version i guess
[2010/06/01 15:02:36] <joe-mac> the slides have a typo
[2010/06/01 15:02:46] @ themurph joined channel #puppet
[2010/06/01 15:03:36] @ gaveen joined channel #puppet
[2010/06/01 15:04:18] <neek> zipkid: pout. unrecognized option `--config-dir=/etc/puppetmaster/
[2010/06/01 15:04:23] @ Quit: themurph: Client Quit
[2010/06/01 15:05:09] <Tonnerre> Just use /etc/puppet like everyone else
[2010/06/01 15:05:26] @ themurph joined channel #puppet
[2010/06/01 15:05:56] <joe-mac> ok got that going zipkid, thanks
[2010/06/01 15:06:23] @ Quit: TREllis: Quit: leaving
[2010/06/01 15:06:25] <joe-mac> now onto my SSL issue... on one of my masters talking to itself i get tlsv1 decrypt errors. anybody think of anything to check? my other masters seem to work
[2010/06/01 15:08:00] @ MPSimmons is now known as YouKnowWho
[2010/06/01 15:08:16] @ YouKnowWho is now known as MPSimmons
[2010/06/01 15:08:29] @ bearnard joined channel #puppet
[2010/06/01 15:11:14] @ Dominic_ is now known as Dominic
[2010/06/01 15:18:25] <zipkid> neek: sorry, it's --confdir
[2010/06/01 15:19:40] <dballing> Q: I've got a module for "ntp", which is attached globally to our "centos" profile. It has a source directive which makes a determination which data-center the server is in, and finds them the ntp.conf that has "that colo's masters" in it. My question is - how do I override that source value for the masters?
[2010/06/01 15:20:18] <dballing> so that the masters load their own "master" config file rather than one of the localized/generic "client" config files.
[2010/06/01 15:21:08] <ckdake> dballing: something like source => [ "puppet://$server/modules/ntp/ntp.conf.$fqdn", "puppet://$server/modules/ntp/ntp.conf"]
[2010/06/01 15:21:29] <ckdake> then you create ntp.conf.myservername for special situations
[2010/06/01 15:21:38] <ckdake> and if its not there, puppet clients will get the 'stock' ntp.conf
[2010/06/01 15:21:59] <dballing> ah, i getcha.
[2010/06/01 15:22:28] <ckdake> thats just one way of course :)
[2010/06/01 15:22:49] <dballing> can those be symlinked under the hood (ie, if I have "ntp-master.conf" in my puppet fileshare, can I symlink ntp.conf.ntp1.mydomain.com to ntp-master.conf?)
[2010/06/01 15:22:57] <dballing> or will it try to return the symlink?
[2010/06/01 15:23:12] <ckdake> not sure!
[2010/06/01 15:23:19] <dballing> probably not worth messing with. :-P
[2010/06/01 15:23:25] <dballing> just do the FQDN and call it a day. :-)
[2010/06/01 15:23:45] <Volcane> well if you have a variable witht eh fqdn of the master ntp server
[2010/06/01 15:23:56] @ Quit: cliff-hm: Ping timeout: 258 seconds
[2010/06/01 15:23:57] <Volcane> then use a selector to set a different source if $fqdn is the same as the ntp master
[2010/06/01 15:25:02] @ Quit: \ask: Remote host closed the connection
[2010/06/01 15:25:15] <dballing> well, I'm already using a selector to determine my colo.
[2010/06/01 15:25:18] <dballing> Can I nest selectors?
[2010/06/01 15:25:23] <dballing> or if/else them?
[2010/06/01 15:25:41] <Volcane> use a if or case to set $colo - or a fact
[2010/06/01 15:25:50] <Volcane> then use a case/if to set $ntpconf
[2010/06/01 15:25:54] <Volcane> and just use those vars
[2010/06/01 15:27:58] <dballing> you happen to have a URL to a pointer on the syntax on how that might work?
[2010/06/01 15:28:07] <dballing> googling for "puppet case syntax" was sub-useful. :-P
[2010/06/01 15:28:17] <Volcane> docs.puppetlabs.com
[2010/06/01 15:28:56] <dballing> oh, wait, this might be it: http://markmail.org/message/v3c4vh77rjbfpwpf
[2010/06/01 15:29:32] <Volcane> there's a document that defines the entire syntax of the language on the above site
[2010/06/01 15:29:42] <Volcane> why google random things when there's well written docs?
[2010/06/01 15:30:19] <dballing> because the docs don't seem to have a search function? :-)
[2010/06/01 15:31:31] <Volcane> some people are beyond help it seems
[2010/06/01 15:34:56] @ Quit: gaveen: Quit: Leaving
[2010/06/01 15:35:01] @ cliff-hm joined channel #puppet
[2010/06/01 15:35:54] <dballing> You don't think a search function, for searching the copious docs, would be helpful?
[2010/06/01 15:36:08] <Volcane> google can search inside a single site
[2010/06/01 15:36:09] <eric0> i found the multiple file sources option to be pretty annoying; it worked OK for cfengine when 'singlecopy' was pretty much all you had
[2010/06/01 15:36:12] @ Quit: verwilst: Quit: Ex-Chat
[2010/06/01 15:36:48] <nico> or clicking language tutorial => extended tutorial
[2010/06/01 15:37:05] @ giskard joined channel #puppet
[2010/06/01 15:37:08] <eric0> but IMO its better to define variables at top scope and use those to make decisions inside a case or selector
[2010/06/01 15:37:10] @ Quit: littleidea: Quit: littleidea
[2010/06/01 15:37:26] <dballing> nico: that's how I found it.
[2010/06/01 15:37:41] <dballing> (in the end)
[2010/06/01 15:39:47] @ littleidea joined channel #puppet
[2010/06/01 15:39:54] @ Quit: themurph: Quit: themurph
[2010/06/01 15:41:31] @ themurph joined channel #puppet
[2010/06/01 15:42:39] @ LowValueTarget joined channel #puppet
[2010/06/01 15:50:16] @ HouseAway is now known as AimanA
[2010/06/01 15:52:16] @ bleything joined channel #puppet
[2010/06/01 15:55:47] @ mick joined channel #puppet
[2010/06/01 15:56:08] @ mick is now known as Guest20788
[2010/06/01 15:56:18] @ twiz_ joined channel #puppet
[2010/06/01 15:58:45] <bleything> so... how would one manage user accounts with puppet? or is that a bad idea?
[2010/06/01 16:00:17] <joe-mac> bleything: by using the user and group resource types
[2010/06/01 16:00:22] <bleything> oh.
[2010/06/01 16:00:25] <bleything> jeez.
[2010/06/01 16:02:01] @ Quit: [GuS]: Read error: Connection reset by peer
[2010/06/01 16:09:36] @ Quit: littleidea: Quit: littleidea
[2010/06/01 16:09:41] @ Quit: jaredrhine: Ping timeout: 265 seconds
[2010/06/01 16:11:05] @ Quit: cliff-hm: Ping timeout: 258 seconds
[2010/06/01 16:12:50] @ littleidea joined channel #puppet
[2010/06/01 16:14:30] @ paxos joined channel #puppet
[2010/06/01 16:14:49] @ bodepd joined channel #puppet
[2010/06/01 16:18:03] @ Quit: Desdic: Ping timeout: 240 seconds
[2010/06/01 16:18:08] @ Desdic joined channel #puppet
[2010/06/01 16:21:01] @ Quit: bodepd: Quit: bodepd
[2010/06/01 16:24:31] <twiz_> I'm looking through my puppet config and I see a file referenced that looks like this:
[2010/06/01 16:24:34] <twiz_> puppet://$servername/modules/common/users/rails/app_settings.yml
[2010/06/01 16:25:02] <twiz_> would that be considered secure? It doesn't seem like there are any credentials and there are passwords in the file
[2010/06/01 16:25:11] <bhearsum> under what conditions does the RPM package provider use '-U' instead of '-i'? I've tried various values for 'ensure', but it always uses '-i'
[2010/06/01 16:26:15] <Volcane> bhearsum: it probably first do something like a rpm -q <pkgname> then based on whatever the version of install is. if its already installed it -U else -i
[2010/06/01 16:27:12] <bhearsum> hmm, even when i have the package already installed, and try to upgrade to a new version, it uses -i
[2010/06/01 16:27:34] <Volcane> whats the package name?
[2010/06/01 16:27:36] <bhearsum> http://github.com/reductivelabs/puppet/blob/master/lib/puppet/provider/package/rpm.rb#L96 seems to say i only need to set ensure to something other than "absent"
[2010/06/01 16:27:43] <bhearsum> 'twisted', for example
[2010/06/01 16:27:51] <neek> zipkid: thx (late). sure would be nice if that were in --help, heh.
[2010/06/01 16:28:02] <eric0> twiz_: to get to it *through puppet* someone would need the privkey+certificate of a host that is authorized (via fileserver.conf+auth.conf) to fetch it, so /etc/puppet/ssl access on the authorized clients is the barrier
[2010/06/01 16:28:03] <Volcane> bhearsum: and what does 'ralsh twisted' on an affected machine show?
[2010/06/01 16:28:24] <Volcane> bhearsum: ralsh package twisted
[2010/06/01 16:28:25] <bhearsum> Could not find Twisted
[2010/06/01 16:28:26] <bhearsum> oh
[2010/06/01 16:28:39] <eric0> twiz_: but IMO it'd be more likely that someone would get access through the puppet server filesystem or the revision control system where you keep the puppet config
[2010/06/01 16:28:44] <bhearsum> 'ralsh package twisted' finds it
[2010/06/01 16:29:10] <bhearsum> package { 'twisted': ensure => '2.4.0-0moz1' }
[2010/06/01 16:29:16] @ \ask joined channel #puppet
[2010/06/01 16:29:20] <Volcane> thats what ralsh say?
[2010/06/01 16:29:22] <twiz_> eric0: thanks
[2010/06/01 16:29:25] <bhearsum> Volcane: yeah
[2010/06/01 16:29:33] <Volcane> and what does your code try to do?
[2010/06/01 16:29:45] @ bbkt-trix joined channel #puppet
[2010/06/01 16:29:47] <bhearsum> Volcane: the package { } resource ?
[2010/06/01 16:29:50] <Volcane> yes
[2010/06/01 16:29:57] <bhearsum> just a sec
[2010/06/01 16:30:30] <bhearsum> ahh... crap i see my error
[2010/06/01 16:30:44] <bhearsum> i'm using package { twisted-$version: ... }
[2010/06/01 16:30:49] <Volcane> heh
[2010/06/01 16:30:57] <Volcane> yeah gotta match
[2010/06/01 16:30:59] <bhearsum> i hadn't realized that was significant
[2010/06/01 16:31:00] <bhearsum> aight
[2010/06/01 16:31:04] <bhearsum> well, thank you!!
[2010/06/01 16:31:08] <Volcane> no worries
[2010/06/01 16:31:51] @ bodepd joined channel #puppet
[2010/06/01 16:33:10] @ Quit: bodepd: Client Quit
[2010/06/01 16:36:18] @ Quit: toi: Quit: Ex-Chat
[2010/06/01 16:37:25] @ bodepd joined channel #puppet
[2010/06/01 16:39:19] @ Quit: Bass10: Quit: Leaving
[2010/06/01 16:40:19] @ Quit: bodepd: Remote host closed the connection
[2010/06/01 16:40:45] @ rkrombholz joined channel #puppet
[2010/06/01 16:40:52] @ bodepd joined channel #puppet
[2010/06/01 16:41:26] <rkrombholz> hi puppies :P
[2010/06/01 16:41:30] @ Quit: bodepd: Remote host closed the connection
[2010/06/01 16:42:01] @ bodepd joined channel #puppet
[2010/06/01 16:42:43] @ Quit: bodepd: Remote host closed the connection
[2010/06/01 16:43:29] <rkrombholz> I've some noob puppet questions
[2010/06/01 16:44:10] <rkrombholz> may someone help me?
[2010/06/01 16:44:22] <eric0> don't ask to ask, just ask
[2010/06/01 16:44:28] @ bodepd joined channel #puppet
[2010/06/01 16:44:53] <rkrombholz> basically I'm just figuring out whether puppet would be the right tool for our company/organization ... whatever
[2010/06/01 16:45:01] <fsweetser> sure
[2010/06/01 16:45:04] @ Quit: bodepd: Remote host closed the connection
[2010/06/01 16:45:11] <rkrombholz> I love the Idea behin puppet but I have one big problem
[2010/06/01 16:45:35] @ bodepd joined channel #puppet
[2010/06/01 16:45:59] <nasrat> rkrombholz: have you tried it?
[2010/06/01 16:46:03] <rkrombholz> we can not use any package manager to setup our systems
[2010/06/01 16:46:11] <rkrombholz> not yet. only read about it
[2010/06/01 16:46:14] @ Quit: bodepd: Remote host closed the connection
[2010/06/01 16:46:17] <fsweetser> why "can't"?
[2010/06/01 16:46:32] <nasrat> rkrombholz: wow! what OS are you running?
[2010/06/01 16:46:36] @ Quit: allsystemsarego: Quit: Leaving
[2010/06/01 16:46:36] <rkrombholz> noone will setup repositorie only for our few custom packages
[2010/06/01 16:46:45] @ bodepd joined channel #puppet
[2010/06/01 16:47:00] <rkrombholz> mostly redhat but also solaris & ubuntu
[2010/06/01 16:47:04] <nasrat> k
[2010/06/01 16:47:12] <rkrombholz> let's take an example
[2010/06/01 16:47:18] <fsweetser> okay, so (on RH) you can't use yum, but you can use rpm?
[2010/06/01 16:47:27] @ Quit: bodepd: Remote host closed the connection
[2010/06/01 16:47:29] <nasrat> all of which are easy to package for, and I've worked in heterogenous envs
[2010/06/01 16:47:51] <rkrombholz> yes we can "use" the package managers but we don't have repositories for all our custom build packages
[2010/06/01 16:47:59] <matti> Hi nasrat
[2010/06/01 16:48:09] @ bodepd joined channel #puppet
[2010/06/01 16:48:18] <nasrat> rkrombholz: ok so it sounds like you've a multi-layered problem
[2010/06/01 16:48:22] <nasrat> part of which is social
[2010/06/01 16:48:35] <nasrat> so you can start taking advantage of puppet without trying to tackle that
[2010/06/01 16:48:52] <nasrat> and then when you get buy in that automation/abstraction is good deal will the packaging mess
[2010/06/01 16:49:00] <matti> Meh.
[2010/06/01 16:49:47] <zipkid> rkrombholz: just create/host your own repo's.... (we do it four our own packages)
[2010/06/01 16:50:10] <nasrat> zipkid: but it sounds like there is an ownership problem at rkrombholz's place
[2010/06/01 16:50:29] <matti> Oh god.
[2010/06/01 16:50:32] <matti> I know the feeling...
[2010/06/01 16:50:38] <matti> People's problems are the worst kind.
[2010/06/01 16:50:49] @ Quit: bbkt-trix: Quit: leaving
[2010/06/01 16:50:56] <rkrombholz> seems to be somehow overhead for ~10 packages to setup/host repositories for all the different package managers
[2010/06/01 16:51:03] <matti> nasrat: How is the G co?
[2010/06/01 16:51:05] <zipkid> nasrat: if he can download the rpm's he can host them....
[2010/06/01 16:51:08] @ bbkt-trix joined channel #puppet
[2010/06/01 16:51:31] <zipkid> rkrombholz: script it once and it will be easy...
[2010/06/01 16:51:44] <fsweetser> rkrombholz: it may seem so at first, but it's actually pretty simple and pays off really quickly
[2010/06/01 16:52:21] @ pting joined channel #puppet
[2010/06/01 16:52:25] <rkrombholz> of course we could automate that but I'd like this to be done within my datacenter automation tool ^^
[2010/06/01 16:52:43] <nasrat> rkrombholz: usually I find there are packages your org cares about and packages you care less and can take system/3rd party
[2010/06/01 16:52:56] <zipkid> rkrombholz: you can write puppet recepies to do it for you...
[2010/06/01 16:52:58] <nasrat> matti: pretty awesome thx
[2010/06/01 16:53:01] <matti> nasrat: ;]
[2010/06/01 16:53:13] <matti> nasrat: Let me know if the look for somebody to make coffee ;]
[2010/06/01 16:54:57] <rkrombholz> Okay for now thanks.
[2010/06/01 16:55:18] <nasrat> rkrombholz: I'd really just try it out on a different problem set
[2010/06/01 16:55:23] <nasrat> but that's just me
[2010/06/01 16:55:39] <rkrombholz> ok
[2010/06/01 16:56:05] @ Quit: rkrombholz: Quit: Page closed
[2010/06/01 16:56:09] @ rkrombholz joined channel #puppet
[2010/06/01 16:56:27] * zipkid is off to bed, Goodnight!
[2010/06/01 16:56:48] <matti> Night zipkid
[2010/06/01 16:56:52] <rkrombholz> and what about e.g. the service resource type? It's hard for me to understand how services are managed
[2010/06/01 16:58:30] <rkrombholz> How is a service started by puppet? I think puppet needs some knowledge about how to start it isn't it?
[2010/06/01 17:00:08] <neek> those are already "defined" within puppet based on the environment it's running in.
[2010/06/01 17:00:18] <neek> though you can override. see "provider" iirc
[2010/06/01 17:00:42] @ Quit: anvil14: Quit: anvil14
[2010/06/01 17:00:47] @ jaredrhine joined channel #puppet
[2010/06/01 17:01:21] @ Quit: venturaville: Quit: Leaving.
[2010/06/01 17:01:28] <neek> so in RHEL, you say "service {"puppetmaster"...} and it knows to use /sbin/service puppetmaster <start/stop/restart>.
[2010/06/01 17:03:41] <rkrombholz> ok I will check the Provider documentation - but do I need to know Ruby to implement my own providers?
[2010/06/01 17:04:25] @ Quit: rgsteele: Remote host closed the connection
[2010/06/01 17:07:33] <neek> no clue. are you running on an unsupported platform?
[2010/06/01 17:09:13] * neek . o O ( if you are, you'd probably best start learning ruby regardless...if you arent, the defaults probably will do you fine.. )
[2010/06/01 17:10:05] <rkrombholz> running softwate/packages where for that no providers exist
[2010/06/01 17:10:05] <nasrat> rkrombholz: you can get a long way before you need to write your own providers
[2010/06/01 17:11:03] <nasrat> really just try out the basics, if you like books jamesturnbull's is pretty good intro
[2010/06/01 17:11:21] <rkrombholz> yes just reading it
[2010/06/01 17:11:33] @ flakrat joined channel #puppet
[2010/06/01 17:13:16] @ Quit: adrian_broher: Quit: Verlassend
[2010/06/01 17:13:52] @ gebi joined channel #puppet
[2010/06/01 17:14:35] <rkrombholz> the problem is that 80% of the software that my team needs to manage is not mentioned under "managed by puppet" section
[2010/06/01 17:15:36] <fsweetser> as long as it can be handled via flat text config files, or by scriptable (ie, non-interactive) commands, puppet can probably handle it
[2010/06/01 17:15:54] * bhearsum has found that you can stuff any sort of data into a native package format too
[2010/06/01 17:16:18] <bhearsum> we install things like android SDKs, java installations, and other things into RPMs. and on Mac, we stuff a whole bunch of stuff into DMGs
[2010/06/01 17:16:34] <nasrat> rkrombholz: what is special about the software you manage that can't be automated?
[2010/06/01 17:16:40] <fsweetser> that's where maintaining your own local repositories really pays off, too
[2010/06/01 17:16:46] <bhearsum> yeah
[2010/06/01 17:17:14] <nasrat> lets walk before we run ;)
[2010/06/01 17:18:48] <rkrombholz> For example I we have an env with custom built apache/tomcat running on it. Can I use the normal puppet resources directives for e.g. the management of the Service itself?
[2010/06/01 17:19:12] <nasrat> rkrombholz: sure, so say do you use init.d scripts for the service?
[2010/06/01 17:19:16] <rkrombholz> I assume that the provider e.g. for apache that shippes with puppet will not be able to run our package as we want it to
[2010/06/01 17:19:23] <Volcane> rkrombholz: if you build OS init scripts for your custom packages
[2010/06/01 17:19:33] <rkrombholz> yes we use init.d
[2010/06/01 17:19:49] @ Quit: nexx: Quit: quit
[2010/06/01 17:19:51] <Volcane> rkrombholz: then just service{"whatever": ensure => running, enable => true}
[2010/06/01 17:20:02] <rkrombholz> ok great
[2010/06/01 17:20:19] <Volcane> rkrombholz: it doesnt need to know how apache works to do /etc/init.d/tomcat start - it just need to know how services work on redhat/debian/etc
[2010/06/01 17:20:34] <nasrat> if it's more unusual you can break out to custom stuff, but if it fits the base os model you run on
[2010/06/01 17:21:09] <rkrombholz> okay that's good to know - complete mismatch in my mind
[2010/06/01 17:21:25] <joe-mac> of undef is put in double quotes, puppet will interpret that as an actual string right?
[2010/06/01 17:22:27] <rkrombholz> now I only need to convince our sysadmins to allow us running the pupped on our nodes as root - propably the hardest thing to get it running :P
[2010/06/01 17:23:36] <rkrombholz> great thanks for your help guys. I will play around with a small test setup and come back with hopefully more specific questions :)
[2010/06/01 17:24:06] <nasrat> rkrombholz: I'd think the way to get your admins convinced is to understand their concerns, and also have something to play with
[2010/06/01 17:24:06] <rkrombholz> bye!
[2010/06/01 17:24:56] <rkrombholz> @nasrat it's more about security policies that are in the way
[2010/06/01 17:25:39] <nasrat> rkrombholz: well puppet can be used as a compliance tool too
[2010/06/01 17:25:47] <nasrat> see the recent slides from puppetcamp
[2010/06/01 17:26:19] <nasrat> rkrombholz: http://bit.ly/puppetsplunkslides
[2010/06/01 17:26:27] <nasrat> I'd imagine a video is forthcoming
[2010/06/01 17:26:44] <nasrat> again it's a tool how your org uses it may vary in the detail
[2010/06/01 17:28:07] <rkrombholz> yes and I only want to use it only for application related configuration management. I will not be able to change any auditing tool that are used company wide
[2010/06/01 17:28:49] @ Quit: mdp_ona: Quit: leaving
[2010/06/01 17:29:06] @ mdp_ona joined channel #puppet
[2010/06/01 17:31:28] <rkrombholz> anyway great feature presented in the slides
[2010/06/01 17:31:47] @ Quit: themurph: Quit: themurph
[2010/06/01 17:32:30] @ mdp_ona is now known as ona_matt
[2010/06/01 17:33:29] @ ona_matt is now known as ona_matt_
[2010/06/01 17:34:34] @ ona_matt_ is now known as ona_matt
[2010/06/01 17:35:16] @ Quit: rkrombholz: Quit: Page closed
[2010/06/01 17:35:37] @ gm1959 joined channel #puppet
[2010/06/01 17:36:09] @ emarshall joined channel #puppet
[2010/06/01 17:37:21] @ Quit: MPSimmons: Quit: Leaving.
[2010/06/01 17:41:15] <gm1959> anyone know how I can get the ranges that facter's 'uniqueid' will return? I'm doing a to_i(16) on it, and the mysql variable is limited to 32 bits
[2010/06/01 17:43:47] @ Quit: gebi: Ping timeout: 252 seconds
[2010/06/01 17:44:09] <Volcane> it just calls 'hostid'
[2010/06/01 17:44:11] <nasrat> gm1959: it's not particularly unique
[2010/06/01 17:44:16] <nasrat> it should die
[2010/06/01 17:44:24] <nasrat> and should use a real uuid algo
[2010/06/01 17:44:59] <nasrat> see recent bug with ubuntu/debian machines producing same hostid, POSIX is somewhat vague on the criteria for uniqueness domain
[2010/06/01 17:45:02] @ padwan is now known as bje
[2010/06/01 17:45:03] <gm1959> mysql wants a server-id to be unique, and in the 32 bit range, so I just did a to_i on it
[2010/06/01 17:45:38] <nasrat> gm1959: may work but not guaranteed
[2010/06/01 17:45:56] <nasrat> hostid is essentially ip << 16 | ip >> 16 IIRC
[2010/06/01 17:48:48] @ stefan_ joined channel #puppet
[2010/06/01 17:49:18] <nasrat> gm1959: if you are not using a system with hostname 127.0.1.1 (or equiv) in /etc/hosts, then it is as unique as IP on your network
[2010/06/01 17:49:38] <nasrat> can you file a ticket in redmine for providing a UUID
[2010/06/01 17:50:47] <gm1959> thats goofy. at least mac is more unique than that
[2010/06/01 17:51:19] <gm1959> I have no idea how to file a ticket in 'redmine'
[2010/06/01 17:55:45] <Volcane> need an account
[2010/06/01 17:55:47] <Volcane> pick a project
[2010/06/01 17:55:50] <Volcane> hit 'new ticket'
[2010/06/01 17:56:27] <nasrat> gm1959: yeah but gethostid is kinda old school, and on x86 it just doesn't really apply
[2010/06/01 17:56:56] <nasrat> I think on sparc/ppc unices it probably uses a serial code from OF/Openboot (but would need to check)
[2010/06/01 17:57:18] <nasrat> even solaris on x86 uses hoakey methods - and /etc/hostid can override IIRC
[2010/06/01 17:57:40] @ Quit: reyjrar: Quit: Leaving.
[2010/06/01 17:58:04] <gm1959> umm, redmine -> projects only brings up redmine
[2010/06/01 17:58:07] <nasrat> http://blogs.sun.com/ambiguous/entry/introducing_myself
[2010/06/01 17:58:19] <nasrat> gm1959: goto projects.puppetlabs.com
[2010/06/01 17:58:53] <nasrat> redmine is a project for an issue tracker an instance of which is there which should be in /topic
[2010/06/01 17:59:23] @ Quit: paxos: Quit: paxos
[2010/06/01 17:59:24] @ Quit: Desdic: Ping timeout: 265 seconds
[2010/06/01 17:59:25] @ Desdic joined channel #puppet
[2010/06/01 18:01:10] @ Quit: bbkt-trix: Quit: leaving
[2010/06/01 18:02:05] <nasrat> facter is certainly a wonderful way to discover random bits of *nix history/impl
[2010/06/01 18:02:38] <gm1959> filed
[2010/06/01 18:02:57] <nasrat> gm1959: thanks, I'm just likely to forget otherwise
[2010/06/01 18:04:10] <gm1959> do you want bugs filed on the docs as well? the resource page has bad #ref links
[2010/06/01 18:04:39] <nasrat> gm1959: there may be a project for that I forget one sec
[2010/06/01 18:04:54] <nasrat> yeah http://projects.puppetlabs.com/projects/puppet-docs
[2010/06/01 18:05:03] <nasrat> have at and thanks for the attention
[2010/06/01 18:05:44] <nasrat> think the docs are avail via git if you wanted to fix
[2010/06/01 18:05:57] <nasrat> http://docs.reductivelabs.com/contribute.html
[2010/06/01 18:07:23] @ Quit: notbrien: Quit: notbrien
[2010/06/01 18:10:05] <gm1959> its already filed as a bug I see
[2010/06/01 18:10:55] @ Quit: giskard: Remote host closed the connection
[2010/06/01 18:15:03] @ ken_barber joined channel #puppet
[2010/06/01 18:17:53] @ Quit: ona_matt: Quit: leaving
[2010/06/01 18:18:09] @ mdp_ona joined channel #puppet
[2010/06/01 18:19:20] @ mdp_ona is now known as ona_matt
[2010/06/01 18:23:16] @ Quit: alien: Disconnected by services
[2010/06/01 18:24:48] @ rodnet joined channel #puppet
[2010/06/01 18:25:05] @ Quit: twiz_: Ping timeout: 245 seconds
[2010/06/01 18:25:19] @ Quit: bearnard: Quit: bearnard
[2010/06/01 18:26:02] @ Quit: acti0nman: Quit: Leaving
[2010/06/01 18:27:26] @ Quit: emarshall: Quit: emarshall
[2010/06/01 18:30:04] @ Quit: ashp: Ping timeout: 240 seconds
[2010/06/01 18:30:33] @ Quit: rodnet: Ping timeout: 240 seconds
[2010/06/01 18:30:49] @ Quit: jsm: Quit: Leaving.
[2010/06/01 18:30:56] @ Quit: kaptk2: Quit: Leaving.
[2010/06/01 18:31:00] @ noyb joined channel #puppet
[2010/06/01 18:32:04] @ rodnet joined channel #puppet
[2010/06/01 18:32:06] @ WALoeIII joined channel #puppet
[2010/06/01 18:32:25] @ ashp joined channel #puppet
[2010/06/01 18:40:17] @ plathrop is now known as plathrop-away
[2010/06/01 18:45:59] @ gmcquillan joined channel #puppet
[2010/06/01 18:46:17] @ Quit: bobbyz_: Ping timeout: 265 seconds
[2010/06/01 18:49:50] @ PaulWay[w] joined channel #puppet
[2010/06/01 18:52:24] @ MarkN left channel #puppet ()
[2010/06/01 18:55:01] @ emarshall joined channel #puppet
[2010/06/01 18:58:11] @ keej joined channel #puppet
[2010/06/01 19:01:19] @ freshtonic joined channel #puppet
[2010/06/01 19:05:07] @ Quit: ahuman: Read error: Connection reset by peer
[2010/06/01 19:09:26] @ Quit: jaredrhine: Quit: Leaving.
[2010/06/01 19:13:27] @ Quit: steph021_w: Quit: Leaving
[2010/06/01 19:15:25] <PaulWay[w]> Yes!
[2010/06/01 19:15:27] <PaulWay[w]> Success!
[2010/06/01 19:16:26] @ littleidea_ joined channel #puppet
[2010/06/01 19:16:35] <PaulWay[w]> I now have machines automatically connecting to my Satellite server via Puppet.
[2010/06/01 19:17:30] <ken_barber> well done
[2010/06/01 19:17:40] @ Quit: WALoeIII: Remote host closed the connection
[2010/06/01 19:17:46] @ WALoeIII joined channel #puppet
[2010/06/01 19:18:12] @ Quit: ezmobius: Quit: Leaving...
[2010/06/01 19:18:13] <gepetto> ::redmine:: Wiki edit: Release_Notes (#18) @ http://projects.reductivelabs.com/projects/1/wiki/Release_Notes?version=18 (by James Turnbull)
[2010/06/01 19:18:22] @ Quit: littleidea: Ping timeout: 260 seconds
[2010/06/01 19:18:24] <PaulWay[w]> Only problems are: the stupid rhnreg_ks program returns 255 on success, and there seem to be some dependencies which don't get resolved in the correct order.
[2010/06/01 19:19:29] <ken_barber> you can change what warrants a success in exec can't you?
[2010/06/01 19:20:26] <ken_barber> returns => 255
[2010/06/01 19:21:25] <PaulWay[w]> Aaahhh, of course!
[2010/06/01 19:21:27] @ Quit: Guest20788: Ping timeout: 240 seconds
[2010/06/01 19:21:30] <PaulWay[w]> I'd totally skipped over that.
[2010/06/01 19:21:46] <PaulWay[w]> The problem is that AFAICS it returns 0 sometimes and 255 others, but both have been successful.
[2010/06/01 19:21:55] <PaulWay[w]> I'm currently asking the author why in #fedora-devel.
[2010/06/01 19:21:56] <ken_barber> hmm
[2010/06/01 19:22:00] <ken_barber> I only remember 0
[2010/06/01 19:22:13] <ken_barber> I don't remember seeing exit code 255
[2010/06/01 19:22:35] <ken_barber> anyway - I think you can provide a list
[2010/06/01 19:22:39] <ken_barber> [0,255]
[2010/06/01 19:25:56] @ Djelibeybi joined channel #puppet
[2010/06/01 19:27:34] @ Djeli joined channel #puppet
[2010/06/01 19:27:56] @ Quit: rmiller4pi8: Ping timeout: 248 seconds
[2010/06/01 19:27:57] @ Quit: Djelibeybi: Disconnected by services
[2010/06/01 19:29:04] @ Djeli is now known as Djelibeybi
[2010/06/01 19:32:36] @ Quit: blahdeblah: Remote host closed the connection
[2010/06/01 19:33:59] @ Determinist joined channel #puppet
[2010/06/01 19:34:37] <gepetto> ::redmine:: Wiki edit: Development_Release_Checklist (#5) @ http://projects.reductivelabs.com/projects/1/wiki/Development_Release_Checklist?version=5 (by James Turnbull)
[2010/06/01 19:35:02] @ Quit: ken_barber: Quit: Leaving
[2010/06/01 19:36:24] @ joe-mac left channel #puppet ()
[2010/06/01 19:37:00] @ Quit: stefan_: Ping timeout: 248 seconds
[2010/06/01 19:45:24] <dan__t> So what exactly causes the " Error 400 on SERVER: Not authorized to call find on...." error?
[2010/06/01 19:45:32] @ Quit: bgupta: Ping timeout: 248 seconds
[2010/06/01 19:48:39] @ Quit: jab_doa: Quit: Verlassend
[2010/06/01 19:49:50] <PaulWay[w]> Hmm - I'm getting certificate failure on a host - can I just move /var/lib/puppet/ssl out of the way and have it generate a new certificate?
[2010/06/01 19:49:56] @ \ask_ joined channel #puppet
[2010/06/01 19:50:09] <blood> yea you can wipe out the folder
[2010/06/01 19:50:14] <blood> just rename it first if u want
[2010/06/01 19:50:24] <blood> also delete the host from the puppetca
[2010/06/01 19:50:48] <PaulWay[w]> blood: I've done a puppetca --revoke - is that enough?
[2010/06/01 19:51:54] <dan__t> hrm i think i found it. I use a custom fact that doesn't seem to be distributed when its used...
[2010/06/01 19:52:07] @ OpenMedia joined channel #puppet
[2010/06/01 19:53:14] @ Quit: \ask: Ping timeout: 276 seconds
[2010/06/01 19:53:34] @ Quit: emarshall: Quit: emarshall
[2010/06/01 19:53:48] @ blahdeblah joined channel #puppet
[2010/06/01 19:54:43] <blood> Paul
[2010/06/01 19:54:48] <blood> puppetca -clean hostname
[2010/06/01 19:54:56] <blood> --clean
[2010/06/01 19:55:02] <blood> then have the client reconnect
[2010/06/01 19:55:36] @ tonyskapunk left channel #puppet ("ERC Version 5.3 (IRC client for Emacs)")
[2010/06/01 19:55:37] @ Quit: blahdeblah: Remote host closed the connection
[2010/06/01 19:56:12] @ andrew1 joined channel #puppet
[2010/06/01 19:57:13] @ Quit: \ask_: Remote host closed the connection
[2010/06/01 19:57:47] @ \ask joined channel #puppet
[2010/06/01 19:57:50] @ Quit: cynicismic: Remote host closed the connection
[2010/06/01 19:58:47] @ \ask_ joined channel #puppet
[2010/06/01 20:02:38] @ Quit: \ask: Ping timeout: 258 seconds
[2010/06/01 20:06:08] @ anvil14 joined channel #puppet
[2010/06/01 20:12:51] @ Quit: tep: Quit: Leaving.
[2010/06/01 20:14:36] <QtPlatypus> Failed to parse template httpd/virtualhost.conf.erb: `@4kq' is not allowed as an instance variable name
[2010/06/01 20:15:02] <QtPlatypus> I think I'm doing something wrong but I don't know how wrong it is.
[2010/06/01 20:17:28] @ WALoeIII is now known as Roundabound
[2010/06/01 20:18:11] <QtPlatypus> In perticular 4kq isn't even a verable in that erb.
[2010/06/01 20:19:32] @ Roundabound is now known as Roundabound[yout
[2010/06/01 20:19:37] @ Roundabound[yout is now known as Roundabound
[2010/06/01 20:24:15] @ Quit: Djelibeybi: Ping timeout: 245 seconds
[2010/06/01 20:29:14] @ Djelibeybi joined channel #puppet
[2010/06/01 20:33:20] @ jaredrhine joined channel #puppet
[2010/06/01 20:39:26] @ achester joined channel #puppet
[2010/06/01 20:39:58] @ cliff-hm joined channel #puppet
[2010/06/01 20:40:53] @ blahdeblah joined channel #puppet
[2010/06/01 20:45:20] @ themurph joined channel #puppet
[2010/06/01 20:46:46] @ fredden joined channel #puppet
[2010/06/01 20:49:00] @ Quit: p3rror: Ping timeout: 248 seconds
[2010/06/01 20:49:08] @ Quit: anvil14: Quit: anvil14
[2010/06/01 20:49:30] @ enoch2038 joined channel #puppet
[2010/06/01 20:51:26] <gepetto> ::redmine:: Wiki edit: Development_Release_Checklist (#6) @ http://projects.reductivelabs.com/projects/1/wiki/Development_Release_Checklist?version=6 (by James Turnbull)
[2010/06/01 20:51:26] <gepetto> ::redmine:: Wiki edit: Development_Release_Checklist (#7) @ http://projects.reductivelabs.com/projects/1/wiki/Development_Release_Checklist?version=7 (by James Turnbull)
[2010/06/01 20:51:37] @ Quit: achester: Remote host closed the connection
[2010/06/01 20:52:44] @ Quit: Djelibeybi: Ping timeout: 248 seconds
[2010/06/01 20:53:27] @ Quit: alrs: Ping timeout: 240 seconds
[2010/06/01 20:55:55] @ MattM joined channel #puppet
[2010/06/01 20:56:35] <gepetto> ::redmine:: Wiki edit: Development_Release_Checklist (#8) @ http://projects.reductivelabs.com/projects/1/wiki/Development_Release_Checklist?version=8 (by James Turnbull)
[2010/06/01 21:02:57] @ Quit: Determinist: Remote host closed the connection
[2010/06/01 21:04:09] @ Quit: Roundabound: Quit: Bai.
[2010/06/01 21:06:44] @ p3rror joined channel #puppet
[2010/06/01 21:10:19] @ Quit: themurph: Quit: themurph
[2010/06/01 21:10:29] @ Quit: \ask_: Remote host closed the connection
[2010/06/01 21:17:38] <gepetto> ::redmine:: Wiki edit: Release_Notes (#19) @ http://projects.reductivelabs.com/projects/1/wiki/Release_Notes?version=19 (by James Turnbull)
[2010/06/01 21:18:52] <AngryParsley> do you guys have any special plugins/modules/whatever for your rbot?
[2010/06/01 21:20:21] @ jfreeman joined channel #puppet
[2010/06/01 21:22:09] <jamesturnbull> AngryParsley: we do
[2010/06/01 21:22:24] <jamesturnbull> AngryParsley: we have one that queries Redmine for ticket #1234 for example
[2010/06/01 21:22:25] <gepetto> jamesturnbull: AngryParsley: #1234 is http://projects.puppetlabs.com/issues/show/1234 "Puppet - Bug #1234: incorrect autotest info on wiki/WritingTests - PuppetLabs.com"
[2010/06/01 21:23:31] <jamesturnbull> AngryParsley: we also have a Hudson plugin that may or may not be working right now since I am the only one that uses it ;)
[2010/06/01 21:23:35] <AngryParsley> heh
[2010/06/01 21:24:02] <AngryParsley> this probably isn't the best channel to ask, but is there a way to get rbot to use http auth for certain domains or subdomains?
[2010/06/01 21:24:04] <jamesturnbull> and i am in the process of writing a pastie plugin
[2010/06/01 21:24:24] <AngryParsley> basically if I have an internal bug tracker behind http auth, I'd like rbot to do the ticket thing
[2010/06/01 21:25:05] <AngryParsley> with rss feeds I can do that (just add user:password@host in the rss url), but I dug around a little in rbot and it looked like I'd have to create that feature from scratch
[2010/06/01 21:25:10] <jamesturnbull> AngryParsley: yeah easy - I'm just using mechanise I think to do the query - you can pass appropriate creds to it and voila
[2010/06/01 21:26:54] <jamesturnbull> AngryParsley: http://github.com/jamtur01/rbot-redmine-plugin/blob/master/redmine_urls.rb
[2010/06/01 21:27:06] <AngryParsley> ah, thanks a lot
[2010/06/01 21:27:10] <jamesturnbull> AngryParsley: that code the page_element_contents method should give an example
[2010/06/01 21:27:26] <jamesturnbull> AngryParsley: there's also a #rbot channel in case you have other questions
[2010/06/01 21:27:53] @ Quit: gmcquillan: Quit: gmcquillan
[2010/06/01 21:30:54] @ joe-mac joined channel #puppet
[2010/06/01 21:32:22] @ Quit: ahasenack: Quit: Leaving
[2010/06/01 21:37:22] @ themurph joined channel #puppet
[2010/06/01 21:41:32] @ Quit: themurph: Client Quit
[2010/06/01 21:45:48] <odyi> Does the classes section in the dashboard actually do anything yet?
[2010/06/01 21:48:21] @ Djelibeybi joined channel #puppet
[2010/06/01 21:48:46] <enoch2038> anyone know how far away 2.6 release will be?
[2010/06/01 21:49:50] <jamesturnbull> odyi: ReinH can walk you through it
[2010/06/01 21:50:13] <jamesturnbull> enoch2038: a lot of code moved from test to master recently - we're hopign to have a beta out soon
[2010/06/01 21:50:44] <enoch2038> thnx
[2010/06/01 21:50:45] * jamesturnbull will bbl
[2010/06/01 21:54:49] @ Quit: deppy: Remote host closed the connection
[2010/06/01 21:55:51] @ jbirdman joined channel #puppet
[2010/06/01 21:56:38] @ Quit: Djelibeybi: Ping timeout: 264 seconds
[2010/06/01 22:03:22] @ Djelibeybi joined channel #puppet
[2010/06/01 22:15:49] @ Quit: jbirdman: Quit: Colloquy for iPad - http://colloquy.mobi
[2010/06/01 22:17:01] @ themurph joined channel #puppet
[2010/06/01 22:17:46] @ Quit: themurph: Client Quit
[2010/06/01 22:21:23] @ Quit: pting: Quit: Ex-Chat
[2010/06/01 22:28:23] @ alexine_dsouza joined channel #puppet
[2010/06/01 22:31:38] <bodepd> who runs planetpuppet.org?
[2010/06/01 22:31:59] <joe-mac> masterzen
[2010/06/01 22:32:04] @ bgupta joined channel #puppet
[2010/06/01 22:32:07] <joe-mac> (i think)
[2010/06/01 22:32:22] <bodepd> I just googled it
[2010/06/01 22:32:26] <bodepd> its true
[2010/06/01 22:32:46] <bodepd> cool, Im gonna start me some bloggin :)
[2010/06/01 22:35:02] @ \ask joined channel #puppet
[2010/06/01 22:48:56] @ Quit: Djelibeybi: Ping timeout: 260 seconds
[2010/06/01 22:52:42] @ joe-mac left channel #puppet ()
[2010/06/01 22:53:41] @ Quit: yakub: Quit: leaving
[2010/06/01 22:55:52] @ achester joined channel #puppet
[2010/06/01 22:57:46] @ Quit: bgupta: Quit: bgupta
[2010/06/01 23:07:19] @ sebas891 joined channel #puppet
[2010/06/01 23:07:55] @ Quit: blahdeblah: Ping timeout: 276 seconds
[2010/06/01 23:12:53] @ blahdeblah joined channel #puppet
[2010/06/01 23:16:24] @ Quit: bodepd: Quit: bodepd
[2010/06/01 23:27:10] @ Quit: ckdake: Ping timeout: 245 seconds
[2010/06/01 23:27:44] @ ckdake joined channel #puppet
[2010/06/01 23:27:44] @ Quit: ckdake: Changing host
[2010/06/01 23:27:44] @ ckdake joined channel #puppet
[2010/06/01 23:31:13] @ Djelibeybi joined channel #puppet
[2010/06/01 23:31:21] @ Quit: cliff-hm: Quit: Leaving
[2010/06/01 23:32:18] @ nexusone joined channel #puppet
[2010/06/01 23:33:12] @ beata- joined channel #puppet
[2010/06/01 23:42:18] @ Quit: Djelibeybi: Quit: Leaving
[2010/06/01 23:43:10] <pixie79> does the config_version option go in the puppet.conf file in the general section
[2010/06/01 23:44:02] @ Edgan_ joined channel #puppet
[2010/06/01 23:44:08] @ Quit: Edgan: Ping timeout: 260 seconds
[2010/06/01 23:45:25] @ bearnard_ joined channel #puppet
[2010/06/01 23:52:33] <keej> pixie79: you can run puppet --genconfig, which will output an example config file for you to check against
[2010/06/01 23:53:03] <keej> mine is in the puppet section of puppet.conf
[2010/06/01 23:55:24] @ Quit: sebas891: Quit: Leaving.
[2010/06/01 23:55:42] <pixie79> keej: thanks :)
[2010/06/01 23:57:57] @ emarshall joined channel #puppet

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