Monday, 2010-07-19

[2010/07/19 00:06:20] @ Log started by gepetto
[2010/07/19 00:06:20] @ glaw joined channel #puppet
[2010/07/19 00:18:02] @ brothers joined channel #puppet
[2010/07/19 00:19:45] @ fbe joined channel #puppet
[2010/07/19 00:20:11] @ MattyM joined channel #puppet
[2010/07/19 00:28:10] @ Quit: jmccune: Ping timeout: 260 seconds
[2010/07/19 00:28:21] @ hMz joined channel #puppet
[2010/07/19 00:31:07] @ ceren joined channel #puppet
[2010/07/19 00:33:12] @ jmccune joined channel #puppet
[2010/07/19 00:34:04] @ glaw left channel #puppet ()
[2010/07/19 00:34:43] @ DavidS1 joined channel #puppet
[2010/07/19 00:34:44] @ ckauhaus joined channel #puppet
[2010/07/19 00:35:57] @ DavidS1 is now known as DavidS
[2010/07/19 00:36:26] * DavidS now updating windows documentation for 2.6
[2010/07/19 00:36:39] <blkperl> DavidS++
[2010/07/19 00:36:45] <blkperl> :)
[2010/07/19 00:37:14] <jamesturnbull> DavidS: awesome
[2010/07/19 00:37:22] <jamesturnbull> DavidS: the stuff on the wiki?
[2010/07/19 00:38:27] <DavidS> jamesturnbull: starting with wiki:Puppet_Windows
[2010/07/19 00:38:27] <gepetto> DavidS: jamesturnbull: wiki:Puppet_Windows is http://projects.puppetlabs.com/projects/puppet/wiki/Puppet_Windows "Puppet - Puppet Windows - Puppet Labs"
[2010/07/19 00:41:28] @ ahasenack joined channel #puppet
[2010/07/19 00:44:57] <DavidS> great, I missed a rubyinstaller update
[2010/07/19 00:46:59] @ alban2 joined channel #puppet
[2010/07/19 00:52:28] @ MattyM76 joined channel #puppet
[2010/07/19 00:54:07] @ Quit: brothers: Quit: brothers
[2010/07/19 00:59:47] @ Quit: lkoranda: Quit: Ex-Chat
[2010/07/19 01:04:47] @ spawnyd joined channel #puppet
[2010/07/19 01:09:04] @ Christo joined channel #puppet
[2010/07/19 01:09:28] @ Christo is now known as christ000
[2010/07/19 01:10:35] <FiXion> in which module do you put hosts.allow files ?
[2010/07/19 01:10:49] <FiXion> We mostly use it for ftp - but the file can be used for any service..
[2010/07/19 01:11:27] <henk> own module? called tcpwrapper presumably?
[2010/07/19 01:11:55] @ TREllis joined channel #puppet
[2010/07/19 01:12:29] <sejo> is there a way to have a wildcard in a file path?
[2010/07/19 01:13:05] @ Quit: mclarke: Quit: mclarke
[2010/07/19 01:13:16] <FiXion> henk: that could be one way.Some daemons can look at hosts.allow directly and doesn't use tcpwrappers
[2010/07/19 01:13:33] <henk> FiXion: really? got an example?
[2010/07/19 01:15:24] <joschi> FiXion: depending on the complexity of your task, augeas might be handy.
[2010/07/19 01:15:34] @ yannL joined channel #puppet
[2010/07/19 01:16:23] <joschi> sejo: what are you planning to do?
[2010/07/19 01:17:04] <FiXion> henk: mod_wrap module for proftpd f.ex.
[2010/07/19 01:17:14] <FiXion> it can read from hosts.allow
[2010/07/19 01:17:20] <christ000> Hi guys, not sure but is Puppet compatible with parallels virtuozzo servers?
[2010/07/19 01:17:28] <joschi> christ000: yes.
[2010/07/19 01:17:31] <FiXion> joschi: I'm ok with just distributing the entire file
[2010/07/19 01:17:51] @ Quit: jmccune: Ping timeout: 258 seconds
[2010/07/19 01:17:53] <christ000> joschi: both node and VPS?
[2010/07/19 01:17:58] <FiXion> the question was more in terms of where others think it belonged - to ensure a structured layout
[2010/07/19 01:17:59] <joschi> christ000: they're running a linux after all...
[2010/07/19 01:18:11] <henk> FiXion: http://proftpd.org/docs/contrib/mod_wrap.html
[2010/07/19 01:18:15] <FiXion> henk: jep
[2010/07/19 01:18:17] <sejo> joschi: trying to set correct folder permissions for all users
[2010/07/19 01:18:25] <henk> FiXion: If not installed on your system, the TCP wrappers library, required by this module, can be found here, on Wietse Venema's site
[2010/07/19 01:18:41] <joschi> christ000: as long as you can fulfill the system requirements for puppet, there's no reason it shouldn't be able to run on the virtuozzo host system
[2010/07/19 01:18:44] <henk> FiXion: so... it doesn't use tcpwrappers but looks at the file directly?
[2010/07/19 01:18:55] <FiXion> henk: yes - see here: http://www.castaglia.org/proftpd/modules/mod_wrap-2.0.html
[2010/07/19 01:19:03] @ lkoranda joined channel #puppet
[2010/07/19 01:19:09] <joschi> christ000: and inside the VEs you can run whatever Linux system you want. most come with puppet packages these days
[2010/07/19 01:19:39] <christ000> joschi: thanks.
[2010/07/19 01:19:44] <FiXion> they copied code from libwrap.c .. (stupid :)
[2010/07/19 01:20:00] <FiXion> instead of just using it's function
[2010/07/19 01:20:02] <henk> FiXion: ah ok... but it doesn't really matter at all, does it?
[2010/07/19 01:20:31] <FiXion> it was only to get a sane structure
[2010/07/19 01:20:38] <FiXion> an entire module folder - for 1 file seems a bit much
[2010/07/19 01:20:43] <joschi> sejo: I don't think using wildcards in the file path is possible right now
[2010/07/19 01:20:44] <FiXion> and modules are usually services
[2010/07/19 01:20:54] <FiXion> tcpwrapper I wouldn't call a service per-say
[2010/07/19 01:21:14] <henk> FiXion: and afaict that's no reason not to put hosts.* in a module called tcpwrapper, because those files are tcpwrappers config. that there is software who doesn't use tcpwrappers, but does exactly the same as if linked against tcpwrappers, doesn't matter imho...
[2010/07/19 01:21:30] <henk> FiXion: modules are services? o_O i don't see that...
[2010/07/19 01:21:33] <FiXion> that's def. an argument for that.
[2010/07/19 01:23:19] <FiXion> fair enough. modules can be services :)
[2010/07/19 01:23:32] <FiXion> henk: you have a tcpwrapper module - for only 1 file?
[2010/07/19 01:23:56] <FiXion> I have a scripts module for random scripts.. but since this isn't a script..
[2010/07/19 01:23:58] <henk> FiXion: no, i don't use tcpwrapper... but i have several modules which only install one package or place one file.
[2010/07/19 01:24:04] <FiXion> ok.
[2010/07/19 01:24:08] <FiXion> I'll go with that then.
[2010/07/19 01:24:15] <FiXion> henk: thanks for the input
[2010/07/19 01:24:23] <henk> imho it's more important to have a sensible and clean structure than a little number of modules...
[2010/07/19 01:24:29] <FiXion> agreed
[2010/07/19 01:25:30] @ benoit__ joined channel #puppet
[2010/07/19 01:25:48] @ alexine_dsouza joined channel #puppet
[2010/07/19 01:25:57] @ Quit: alexine_dsouza: Read error: Connection reset by peer
[2010/07/19 01:28:35] @ DavidS2 joined channel #puppet
[2010/07/19 01:28:46] @ Quit: QtPlatypus: Ping timeout: 276 seconds
[2010/07/19 01:29:07] @ Quit: lkoranda: Quit: Ex-Chat
[2010/07/19 01:29:26] @ Quit: DavidS: Disconnected by services
[2010/07/19 01:29:27] @ DavidS2 is now known as DavidS
[2010/07/19 01:29:44] @ QtPlatypus joined channel #puppet
[2010/07/19 01:33:22] @ lkoranda joined channel #puppet
[2010/07/19 01:35:08] @ Quit: benoit__: Ping timeout: 265 seconds
[2010/07/19 01:36:10] @ kolla joined channel #puppet
[2010/07/19 01:37:04] @ Quit: stevenjenkins: Ping timeout: 265 seconds
[2010/07/19 01:37:19] @ RC1140 joined channel #puppet
[2010/07/19 01:38:15] @ RC1140 left channel #puppet ()
[2010/07/19 01:39:15] @ christ000 left channel #puppet ()
[2010/07/19 01:42:23] @ Quit: DavidS: Ping timeout: 265 seconds
[2010/07/19 01:43:45] @ benoit__ joined channel #puppet
[2010/07/19 01:47:46] @ omry|work joined channel #puppet
[2010/07/19 01:53:27] @ stevenjenkins joined channel #puppet
[2010/07/19 01:58:16] @ DavidS joined channel #puppet
[2010/07/19 02:00:43] @ DavidS2 joined channel #puppet
[2010/07/19 02:02:05] @ Quit: DavidS: Disconnected by services
[2010/07/19 02:02:08] @ DavidS2 is now known as DavidS
[2010/07/19 02:02:31] @ Quit: ssm: Ping timeout: 260 seconds
[2010/07/19 02:06:39] @ andrewh joined channel #puppet
[2010/07/19 02:11:07] @ pmorillo joined channel #puppet
[2010/07/19 02:12:11] @ pmorillo_ joined channel #puppet
[2010/07/19 02:12:11] @ Quit: pmorillo: Read error: Connection reset by peer
[2010/07/19 02:12:12] @ pmorillo_ is now known as pmorillo
[2010/07/19 02:13:56] @ Quit: warreng: Quit: Leaving.
[2010/07/19 02:14:29] @ Quit: ceren: Quit: ceren
[2010/07/19 02:18:19] @ _nono_ joined channel #puppet
[2010/07/19 02:19:35] @ ceren joined channel #puppet
[2010/07/19 02:20:26] @ pmorillo_ joined channel #puppet
[2010/07/19 02:20:27] @ Quit: pmorillo: Read error: Connection reset by peer
[2010/07/19 02:20:27] @ pmorillo_ is now known as pmorillo
[2010/07/19 02:22:33] @ Quit: pmorillo: Read error: Connection reset by peer
[2010/07/19 02:22:36] @ pmorillo joined channel #puppet
[2010/07/19 02:24:45] @ DavidS2 joined channel #puppet
[2010/07/19 02:24:45] @ Quit: pmorillo: Read error: Connection reset by peer
[2010/07/19 02:25:35] @ pmorillo joined channel #puppet
[2010/07/19 02:26:07] @ Quit: DavidS: Ping timeout: 245 seconds
[2010/07/19 02:26:48] @ Quit: benoit__: Ping timeout: 240 seconds
[2010/07/19 02:26:48] @ Quit: n1x0n: Quit: Lost terminal
[2010/07/19 02:26:55] @ DavidS joined channel #puppet
[2010/07/19 02:29:13] @ benoit__ joined channel #puppet
[2010/07/19 02:29:13] @ Quit: pmorillo: Read error: Connection reset by peer
[2010/07/19 02:29:26] @ pmorillo joined channel #puppet
[2010/07/19 02:30:14] @ Quit: DavidS2: Ping timeout: 265 seconds
[2010/07/19 02:33:36] <alcy> can there be a require statement inside a package's section, like package {"xyz-config":require=>Package["xyz"],} ?
[2010/07/19 02:34:15] <DavidS> alcy: you can use before/require/notify/subscribe on any resource
[2010/07/19 02:34:28] <DavidS> see "metaparameters" in the type reference
[2010/07/19 02:35:22] <alcy> DavidS: thanks, I was wondering if its the right thing to do though.
[2010/07/19 02:36:11] <DavidS> alcy: it's one of the prime features of puppet
[2010/07/19 02:36:38] <alcy> DavidS: the mailing lists do reflect some conscious efforts to satisfy a chain of dependencies in a particular order, which as far as I could tell, were not as simple as doing a require=>.
[2010/07/19 02:37:36] <DavidS> alcy: you need to ensure=> all packages you want to have installed/removed and you can use requires=> for ordering those resources
[2010/07/19 02:37:39] @ ssm joined channel #puppet
[2010/07/19 02:38:18] <DavidS> for complex technical and philosophical reasons, requires=> -- and the package type in general -- do not know about the underlying package managers dependencies
[2010/07/19 02:38:35] <alcy> DavidS: cool, thanks. Its not common to see you around here too often. :P and straightaway, I have exposed my n00bish tendencies. :)
[2010/07/19 02:39:12] <tim|mac> alcy: never forget to apply Occam's Razor :)
[2010/07/19 02:39:27] <tim|mac> hey DavidS :)
[2010/07/19 02:39:42] <tim|mac> how's the Windows work going along?
[2010/07/19 02:40:02] <alcy> tim|mac: and that's a nice song as well. from Porcupine TRee's the incident. :D
[2010/07/19 02:40:15] @ DavidS2 joined channel #puppet
[2010/07/19 02:40:19] <tim|mac> alcy: hehehe I'll take your word on it ;-)
[2010/07/19 02:40:35] * DavidS2 DSL rage
[2010/07/19 02:40:42] @ Quit: DavidS: Disconnected by services
[2010/07/19 02:40:44] @ DavidS2 is now known as DavidS
[2010/07/19 02:41:03] @ Quit: littleidea: Quit: littleidea
[2010/07/19 02:41:17] @ Quit: ericlee: Remote host closed the connection
[2010/07/19 02:44:23] @ ericlee joined channel #puppet
[2010/07/19 02:48:53] @ Quit: pmorillo: Read error: Connection reset by peer
[2010/07/19 02:53:17] @ pmorillo joined channel #puppet
[2010/07/19 02:53:39] @ Quit: MattyM76: Quit: Leaving
[2010/07/19 02:55:07] <zipkid> what is ruby(abi) about?
[2010/07/19 02:57:08] @ Quit: spurge: Ping timeout: 276 seconds
[2010/07/19 03:00:28] <DavidS> zipkid: ain't that RH/rpm's way of depending on a specific application binary interface version?
[2010/07/19 03:03:07] @ DavidS2 joined channel #puppet
[2010/07/19 03:04:21] @ Quit: DavidS: Disconnected by services
[2010/07/19 03:04:29] @ DavidS2 is now known as DavidS
[2010/07/19 03:05:33] <Filbert> sounds like it
[2010/07/19 03:05:35] <zipkid> DavidS2: could be, SLES does not seem to recognise it... als o do know what packages to use for the other dashboard deps but i can't find anything like ruby-abi (yet)
[2010/07/19 03:06:04] <Filbert> zipkid: on RHEL, ruby(api) isn't a package, but is provided by the ruby RPMs
[2010/07/19 03:06:13] <Filbert> it's like a metadepend
[2010/07/19 03:06:22] <zipkid> Filbert: great....
[2010/07/19 03:06:53] <Filbert> I suspect SuSE do something similar, so install the ruby RPMs and see if it fixes it ;)
[2010/07/19 03:07:10] <zipkid> too much distro-dependent stuff in puppet altogether.... most forge stuff relies heavily on debian and the rpms on RH :-(
[2010/07/19 03:07:15] <Filbert> anyone here got any experience of tying Opsview and Puppet together, to provide automatic monitoring of services similar to how you can with Nagios?
[2010/07/19 03:07:43] <zipkid> Filbert: it may be there but the rpmbuild does not understand the ruby(abi) syntx.
[2010/07/19 03:08:45] <Filbert> ah, I see
[2010/07/19 03:08:48] <Filbert> can't help you there I'm afraid :(
[2010/07/19 03:08:53] <Filbert> doesn't SuSE use RPMv5?
[2010/07/19 03:09:02] <zipkid> no
[2010/07/19 03:09:07] <Filbert> there might be another way of specifying those sort of dependencies?
[2010/07/19 03:09:49] <zipkid> Filbert: yes, i just don't like havin to make the rpm al over when it should be ok...
[2010/07/19 03:09:58] <zipkid> Filbert: i know how to...
[2010/07/19 03:10:09] <Filbert> ah, right
[2010/07/19 03:12:18] @ Quit: julienaa1111: Quit: Leaving
[2010/07/19 03:14:28] @ olly__ joined channel #puppet
[2010/07/19 03:24:41] @ Quit: juniper: Ping timeout: 264 seconds
[2010/07/19 03:37:08] @ juniper joined channel #puppet
[2010/07/19 03:41:14] @ Quit: lkoranda: Quit: Ex-Chat
[2010/07/19 03:43:14] @ Determinist joined channel #puppet
[2010/07/19 03:43:35] @ spurge joined channel #puppet
[2010/07/19 03:44:23] @ squirrel_labs joined channel #puppet
[2010/07/19 03:44:56] @ Quit: squirrel_labs: Client Quit
[2010/07/19 03:50:20] @ Quit: gniks: Quit: Leaving.
[2010/07/19 03:51:30] @ snikta_ joined channel #puppet
[2010/07/19 03:55:23] @ lkoranda joined channel #puppet
[2010/07/19 03:56:16] @ Quit: snikta_: Ping timeout: 265 seconds
[2010/07/19 04:03:56] * zipkid wants a distrowar! Who votes for what distro?
[2010/07/19 04:04:07] @ Quit: ahasenack: Ping timeout: 276 seconds
[2010/07/19 04:07:50] @ DavidS2 joined channel #puppet
[2010/07/19 04:08:18] <Filbert> RHEL
[2010/07/19 04:08:57] <DavidS2> Debian
[2010/07/19 04:09:19] <ptman> who votes for no war? o/
[2010/07/19 04:10:00] <zipkid> ptman: but i still want to know your distro of choice.. :-)
[2010/07/19 04:10:16] <bigon> zipkid: /me votes for Debian :)
[2010/07/19 04:10:21] @ Quit: DavidS: Ping timeout: 252 seconds
[2010/07/19 04:11:12] <QuackNL> Darwin ;)
[2010/07/19 04:11:19] <ptman> zipkid, I don't use any public distro atm
[2010/07/19 04:13:22] @ Quit: Edgan: Quit: Edgan
[2010/07/19 04:13:30] @ Quit: zz_shenson: Ping timeout: 246 seconds
[2010/07/19 04:14:33] @ Edgan joined channel #puppet
[2010/07/19 04:15:48] @ Quit: spurge: Ping timeout: 240 seconds
[2010/07/19 04:15:48] @ Quit: bdd: Ping timeout: 240 seconds
[2010/07/19 04:15:48] @ Quit: jds2001: Ping timeout: 240 seconds
[2010/07/19 04:16:02] @ zz_shenson joined channel #puppet
[2010/07/19 04:16:15] @ zz_shenson is now known as shenson
[2010/07/19 04:16:18] @ Quit: lilnick: Ping timeout: 240 seconds
[2010/07/19 04:16:18] @ Quit: ktdreyer: Ping timeout: 240 seconds
[2010/07/19 04:16:23] @ bdd joined channel #puppet
[2010/07/19 04:16:30] @ spurge joined channel #puppet
[2010/07/19 04:16:42] @ jds2001 joined channel #puppet
[2010/07/19 04:17:10] @ ktdreyer joined channel #puppet
[2010/07/19 04:17:21] @ lilnick joined channel #puppet
[2010/07/19 04:21:00] @ ckdake joined channel #puppet
[2010/07/19 04:21:00] @ Quit: ckdake: Changing host
[2010/07/19 04:21:00] @ ckdake joined channel #puppet
[2010/07/19 04:21:26] <andrewh> can you have a block of config in puppet that can be accessed with a tag (i.e. a class within a module) but that class is *not* part of the node's generated dependency graph? i.e. it is completely separate from that node's 'normal' config?
[2010/07/19 04:22:03] <andrewh> the use case for this is to just throw config stuff into puppet and not worry about tying it all together until you have to
[2010/07/19 04:23:29] @ Quit: SEJeff: Ping timeout: 264 seconds
[2010/07/19 04:24:08] <Volcane> andrewh: nope :(
[2010/07/19 04:24:18] <Volcane> andrewh: i made a feature request for that
[2010/07/19 04:25:21] <z00dax6> sounds like the kind of thing chef tries to do
[2010/07/19 04:25:49] <z00dax6> on the other hand, is the sort of thing which would be massively easier if the config / manifest was not setup serverside
[2010/07/19 04:25:54] @ SEJeff joined channel #puppet
[2010/07/19 04:32:48] <andrewh> Volcane: cheers. perhaps a workaround could be an envvar that is set to false, which you could set to true when doing a pull from puppet. then the module could be part of the node config but always exit on evaluation of the envvar. bit of a bastardisation of puppet tho eh.
[2010/07/19 04:34:32] <andrewh> z00dax6: by 'setup' you mean generated? so your setup could be more aware of node 'stuff' like the env?
[2010/07/19 04:35:50] <Volcane> i want to use it for one-off thigns that tend to be destructive
[2010/07/19 04:35:59] <Volcane> so i want to run puppetd --tags whatever or --class whatever
[2010/07/19 04:36:04] <Volcane> and just pull in that class on demand
[2010/07/19 04:36:27] <Volcane> happy to do by hand one offs like that, but still want it in manifests and not some other stupid script
[2010/07/19 04:36:32] <DavidS2> Volcane, andrewh: why not use puppet apply instead of agent?
[2010/07/19 04:36:43] <Volcane> puppet apply?
[2010/07/19 04:37:21] <ssm> Volcane: puppet apply some_file.pp, or puppet apply -e 'file {"/tmp": ensure => directory; } ' and somesuch.
[2010/07/19 04:37:41] <Volcane> right, cos then you might as well copy some shell script on the box
[2010/07/19 04:37:44] <andrewh> ah, i see
[2010/07/19 04:37:50] <Volcane> and you dont have access to variables set by node classifiers etc
[2010/07/19 04:37:55] <Volcane> or in the node blocks
[2010/07/19 04:38:01] <ssm> Volcane: true...
[2010/07/19 04:38:20] <Volcane> I'd like the whole return trip to the master to access all of that info - but it must just do the required class in the compile
[2010/07/19 04:38:21] <andrewh> yep, would be nice to have it all in puppet config that could be part of a server profile or whatever, instead of arbitrary scripts (puppet or otherwise)
[2010/07/19 04:38:31] @ nikropol joined channel #puppet
[2010/07/19 04:38:36] <Volcane> and if that class includes other classes you'd want those to come along etc
[2010/07/19 04:38:44] <ssm> Volcane: I set a fact called "interactive", so when puppet agent runs from puppetmaster, it is not set, but when run on the commandline, it is
[2010/07/19 04:39:05] <nikropol> hello
[2010/07/19 04:39:17] <ssm> erm, that was unclear, but I hope you understood anyway :)
[2010/07/19 04:39:19] <Volcane> ssm: yeah there are several work arounds, would be nice if it was supported out the box
[2010/07/19 04:39:43] <nikropol> :o
[2010/07/19 04:41:06] <Cope> jjj/win 22
[2010/07/19 04:41:42] @ Quit: DavidS2: Ping timeout: 265 seconds
[2010/07/19 04:41:45] <z00dax6> andrewh: yeah, it also alows you to make local client side decisions based on state and metrics from other nodes
[2010/07/19 04:41:48] @ DavidS joined channel #puppet
[2010/07/19 04:43:19] @ Quit: nikropol: Read error: Connection reset by peer
[2010/07/19 04:44:21] * DavidS has missed everything since my last message
[2010/07/19 04:44:48] <Volcane> DavidS: time to irc from a server with screen :P
[2010/07/19 04:51:50] @ ninjazjb joined channel #puppet
[2010/07/19 04:51:57] @ Quit: SEJeff: Ping timeout: 245 seconds
[2010/07/19 04:51:59] @ taihen joined channel #puppet
[2010/07/19 04:52:53] @ rasputnik joined channel #puppet
[2010/07/19 04:54:51] @ ninjazjb_ joined channel #puppet
[2010/07/19 04:55:31] <rasputnik> does anyone have an example on how to control limits.conf via Augeas?
[2010/07/19 04:56:33] @ Quit: ninjazjb: Ping timeout: 260 seconds
[2010/07/19 04:57:35] <fenris02> rasputnik, populate /etc/security/limits.d/* ?
[2010/07/19 04:57:43] @ herdingcat joined channel #puppet
[2010/07/19 04:58:01] @ Quit: alcy: Quit: ChatZilla 0.9.86 [Iceweasel 3.5.10/20100623112841]
[2010/07/19 05:04:21] <rasputnik> fenris02: ah, if it's got a limits.d/ that's perfect. Thanks!
[2010/07/19 05:04:38] @ DavidS2 joined channel #puppet
[2010/07/19 05:06:27] @ nahamu joined channel #puppet
[2010/07/19 05:06:57] @ Quit: DavidS: Ping timeout: 245 seconds
[2010/07/19 05:09:22] @ snikta joined channel #puppet
[2010/07/19 05:09:53] @ DavidS joined channel #puppet
[2010/07/19 05:10:18] <DavidS> Volcane: you're totally right :-/
[2010/07/19 05:11:16] @ Quit: bug: Quit: bug
[2010/07/19 05:12:47] @ Quit: DavidS2: Ping timeout: 245 seconds
[2010/07/19 05:14:14] <fenris02> i'd like to see an example of using iptables though. not sure how to make it manageable with fragments.
[2010/07/19 05:14:26] @ DavidS2 joined channel #puppet
[2010/07/19 05:14:49] @ Quit: devdas: Remote host closed the connection
[2010/07/19 05:16:52] @ SEJeff joined channel #puppet
[2010/07/19 05:16:57] @ Quit: DavidS: Ping timeout: 245 seconds
[2010/07/19 05:19:14] @ ahasenack joined channel #puppet
[2010/07/19 05:19:22] @ artista_frustrad joined channel #puppet
[2010/07/19 05:20:17] @ Quit: artista_frustrad: Read error: Connection reset by peer
[2010/07/19 05:22:28] @ Quit: snikta: Remote host closed the connection
[2010/07/19 05:25:41] @ carlasouza joined channel #puppet
[2010/07/19 05:25:46] @ Bass10 joined channel #puppet
[2010/07/19 05:34:21] @ Quit: \ask: Remote host closed the connection
[2010/07/19 05:34:44] @ Quit: alban2: Ping timeout: 248 seconds
[2010/07/19 05:37:37] @ DavidS2 is now known as DavidS
[2010/07/19 05:46:19] @ DavidS2 joined channel #puppet
[2010/07/19 05:47:55] @ Quit: andrewh: Ping timeout: 265 seconds
[2010/07/19 05:48:16] @ Quit: DavidS: Ping timeout: 265 seconds
[2010/07/19 05:48:34] @ DavidS joined channel #puppet
[2010/07/19 05:48:37] @ alban2 joined channel #puppet
[2010/07/19 05:51:47] @ Quit: DavidS2: Ping timeout: 265 seconds
[2010/07/19 05:54:06] @ Quit: DavidS: Read error: Connection reset by peer
[2010/07/19 05:54:42] @ DavidS joined channel #puppet
[2010/07/19 05:55:48] @ docelic_ joined channel #puppet
[2010/07/19 05:59:29] @ Quit: docelic: Ping timeout: 264 seconds
[2010/07/19 06:02:25] @ Quit: robinbowes: Quit: Leaving
[2010/07/19 06:06:43] @ ckdake left channel #puppet ()
[2010/07/19 06:08:03] @ bug joined channel #puppet
[2010/07/19 06:09:00] @ Quit: rasputnik: Ping timeout: 246 seconds
[2010/07/19 06:12:31] <zirpu> what's the story around the puppet version number shift from 0.25 to 2.6.0?
[2010/07/19 06:12:50] <joe-mac> zirpu: it's a psychological thing
[2010/07/19 06:13:03] <joe-mac> like people think it's beta because of the version
[2010/07/19 06:13:10] <joe-mac> though huge companies use iot in production
[2010/07/19 06:13:11] <bhearsum> 2.6 is more than 10x greater ;-)
[2010/07/19 06:13:25] <joe-mac> bhearsum: i like that explanation too lol
[2010/07/19 06:14:08] <zirpu> heh. yeah, seems like a good idea to come out of beta.
[2010/07/19 06:15:02] <joe-mac> well , it wasn't actually beta, i just want to make sure you know that, but i think you do
[2010/07/19 06:15:50] <zirpu> 0.22 was beta-ish to me. 0.24 should have been 1.0 (new! and improved!). YMMV.
[2010/07/19 06:16:16] <Tonnerre> zirpu, I think Puppet is now following the Linux Kernel versioning scheme
[2010/07/19 06:16:22] @ DavidS2 joined channel #puppet
[2010/07/19 06:16:38] <zirpu> no, i think that's just coincidence. i hope.
[2010/07/19 06:16:41] <Tonnerre> 2.6.x[.y[.z]]
[2010/07/19 06:17:00] <Tonnerre> And also, none of the x, y and z mean anything, it's all just a tag of the master branch :>
[2010/07/19 06:17:08] @ robinbowes joined channel #puppet
[2010/07/19 06:17:32] <fenris02> folks shy away from anything less than v1.0. its stupid, but they do it anyhow
[2010/07/19 06:17:51] @ jschairb joined channel #puppet
[2010/07/19 06:18:45] <zirpu> it's bad luck to be superstitions, but 1.0 ate my dog.
[2010/07/19 06:18:51] @ carla joined channel #puppet
[2010/07/19 06:18:58] <zirpu> oo. can't spel this morning.
[2010/07/19 06:19:00] @ Quit: DavidS: Ping timeout: 240 seconds
[2010/07/19 06:19:26] @ DavidS joined channel #puppet
[2010/07/19 06:19:27] <zirpu> s/superstitions/superstitious/
[2010/07/19 06:21:02] @ Quit: carlasouza: Disconnected by services
[2010/07/19 06:21:06] @ carla is now known as carlasouza
[2010/07/19 06:21:26] <joe-mac> .22 had some bugs but it served me well
[2010/07/19 06:21:44] <joe-mac> .24 was way better thoughj
[2010/07/19 06:22:09] @ Quit: DavidS2: Ping timeout: 240 seconds
[2010/07/19 06:23:07] @ DavidS2 joined channel #puppet
[2010/07/19 06:26:03] @ Quit: DavidS: Ping timeout: 258 seconds
[2010/07/19 06:36:51] @ ichristo joined channel #puppet
[2010/07/19 06:38:15] @ DavidS joined channel #puppet
[2010/07/19 06:39:36] @ cliff-hm joined channel #puppet
[2010/07/19 06:39:38] @ radkin joined channel #puppet
[2010/07/19 06:41:03] @ Quit: ckauhaus: Quit: Leaving.
[2010/07/19 06:41:23] @ Quit: DavidS2: Ping timeout: 276 seconds
[2010/07/19 06:44:33] @ rcrowley joined channel #puppet
[2010/07/19 06:44:59] @ DavidS2 joined channel #puppet
[2010/07/19 06:48:09] @ reyjrar joined channel #puppet
[2010/07/19 06:48:16] @ Quit: DavidS: Ping timeout: 276 seconds
[2010/07/19 06:49:49] @ squirrel_labs joined channel #puppet
[2010/07/19 06:53:22] @ bobbyz joined channel #puppet
[2010/07/19 06:55:07] @ yakub joined channel #puppet
[2010/07/19 07:02:38] @ sdog joined channel #puppet
[2010/07/19 07:03:30] @ Quit: sdog: Changing host
[2010/07/19 07:03:30] @ sdog joined channel #puppet
[2010/07/19 07:04:31] @ Quit: TREllis: Quit: ---->airport
[2010/07/19 07:08:21] @ Quit: bobbyz: Quit: Leaving
[2010/07/19 07:10:57] @ kaptk2 joined channel #puppet
[2010/07/19 07:11:46] @ mikepea joined channel #puppet
[2010/07/19 07:12:00] <ashp> i took my laptop in for repair and they honestly expected me to give them the password, ain't gonna happen lazy repair dude, use a live cd or something
[2010/07/19 07:12:19] <zipkid> and you left it there?????
[2010/07/19 07:13:28] <ashp> it's our work repair place
[2010/07/19 07:13:35] <ashp> the graphics card decided to explode
[2010/07/19 07:13:35] <zipkid> ah...
[2010/07/19 07:13:41] <zipkid> BOOM ?
[2010/07/19 07:13:47] <ashp> well, not with so much boom
[2010/07/19 07:13:51] <ashp> more of a fizzle and corruption
[2010/07/19 07:15:16] @ Quit: herdingcat: Ping timeout: 265 seconds
[2010/07/19 07:16:43] <tim|mac> booms are better.
[2010/07/19 07:17:17] <tim|mac> if things decide to go kaput, they should so dramatically correct
[2010/07/19 07:17:23] <tim|mac> like in the movies
[2010/07/19 07:17:34] <tim|mac> *should do so
[2010/07/19 07:17:40] <jbooth> laptop + boom generally means the battery. Thanks I can pass on chemical fires. :-/
[2010/07/19 07:18:17] <emag> i just make sure to have a bunch of black powder charges in place. maybe some fizzers or something.
[2010/07/19 07:18:54] @ bobbyz joined channel #puppet
[2010/07/19 07:22:24] @ littleidea joined channel #puppet
[2010/07/19 07:25:04] @ jdcasey joined channel #puppet
[2010/07/19 07:27:39] <ashp> i should blow up the laptop to get a replacement is what tim is saying?
[2010/07/19 07:27:46] <ashp> the graphics card on my macbook just broke outta nowhere :/
[2010/07/19 07:28:04] <ashp> so i should blow it up, get a shiny one
[2010/07/19 07:28:22] <hal-j> ashp: if it's a MBP from a certain vintage, there's a known defect and I had mine repaired for free
[2010/07/19 07:29:00] <zipkid> ashp: hal-j: same here.
[2010/07/19 07:29:56] @ rasputnik joined channel #puppet
[2010/07/19 07:30:01] <Peanut> I've had two new mainboard for my MBP, due to the gfx chip dying. The rest of the machine keeps working fine, could even SSH into it and the like. Just no display.
[2010/07/19 07:30:51] <Peanut> Both were no-cost repairs btw.
[2010/07/19 07:31:03] <hal-j> I had it happen fairly early on, but the "genius" wanted to charge me for having the board replaced, so I opted out (was a company laptop) and just got a replacement so I could keep working. a few weeks later I went do an indie apple repair shop locally, and they told me it'd be a freebie
[2010/07/19 07:31:26] <hal-j> mine was a Sep 2007 purchase (to give you an idea of the vintage), if it helps
[2010/07/19 07:35:50] @ ckauhaus joined channel #puppet
[2010/07/19 07:37:05] <jmslagle> Hrm
[2010/07/19 07:37:06] <ashp> Ah, it's like a 2007/2008, yeah
[2010/07/19 07:37:08] <jmslagle> Morning :)
[2010/07/19 07:37:11] <ashp> so I guess it's a known thing, that's good at least
[2010/07/19 07:37:15] <ashp> it has applecare too so i doubt we'll have a fuss
[2010/07/19 07:37:56] <jmslagle> I need to move my FreeBSD boxen to Puppet when I get time.
[2010/07/19 07:37:58] <hal-j> from my recollection, there's some magic apple boot CD that they use, and it tells them whether it qualifies or not
[2010/07/19 07:40:02] <ashp> they should give me a free ipad for my trouble :D
[2010/07/19 07:40:10] <hal-j> good luck with that
[2010/07/19 07:41:38] <ashp> clearly i need a 'bumper' for my macbook
[2010/07/19 07:41:43] <ashp> i was holding it wrong
[2010/07/19 07:42:10] @ _mgisbers joined channel #puppet
[2010/07/19 07:45:20] @ sebas891 joined channel #puppet
[2010/07/19 07:46:09] @ Quit: _mgisbers: Ping timeout: 240 seconds
[2010/07/19 07:48:10] @ mgisbers joined channel #puppet
[2010/07/19 07:50:26] @ \ask joined channel #puppet
[2010/07/19 07:50:32] @ Quit: mgisbers: Read error: Connection reset by peer
[2010/07/19 07:50:45] @ mgisbers joined channel #puppet
[2010/07/19 08:00:08] @ Quit: tecto: Read error: Operation timed out
[2010/07/19 08:02:28] @ Quit: madduck: Ping timeout: 248 seconds
[2010/07/19 08:06:01] @ Quit: jaredrhine: Ping timeout: 265 seconds
[2010/07/19 08:06:17] @ Quit: sdog: Quit: Leaving.
[2010/07/19 08:07:58] @ Quit: ckauhaus: Ping timeout: 252 seconds
[2010/07/19 08:08:22] @ ckauhaus joined channel #puppet
[2010/07/19 08:09:32] @ gebi joined channel #puppet
[2010/07/19 08:09:56] @ madduck joined channel #puppet
[2010/07/19 08:09:56] @ Quit: madduck: Changing host
[2010/07/19 08:09:56] @ madduck joined channel #puppet
[2010/07/19 08:10:08] @ Quit: itguru: Remote host closed the connection
[2010/07/19 08:14:44] @ Quit: LeRrA: Ping timeout: 248 seconds
[2010/07/19 08:15:09] @ andrewh joined channel #puppet
[2010/07/19 08:15:51] @ LeRrA joined channel #puppet
[2010/07/19 08:18:10] @ jmccune joined channel #puppet
[2010/07/19 08:19:37] @ notbrien joined channel #puppet
[2010/07/19 08:27:14] @ rgsteele joined channel #puppet
[2010/07/19 08:29:23] @ Quit: jmccune: Ping timeout: 260 seconds
[2010/07/19 08:33:53] @ Mick27 joined channel #puppet
[2010/07/19 08:34:07] <joe-mac> in a puppet function, you use scope.lookupvar to look up variables, but how sdo you look up facts?
[2010/07/19 08:37:11] <Volcane> same
[2010/07/19 08:39:37] @ progre55 joined channel #puppet
[2010/07/19 08:41:06] @ Quit: littleidea: Quit: littleidea
[2010/07/19 08:41:07] @ Quit: ckauhaus: Quit: Leaving.
[2010/07/19 08:41:44] <progre55> hi people! I'm considering using puppets. But got a tiny question, just to be sure if it's worth using puppets for my case. I have several servers with tomcat servers on them and identical web-applications hosted. I just dont want to edit all of them when I need to change anything. Is puppet a right choice for me?
[2010/07/19 08:41:44] @ lutter joined channel #puppet
[2010/07/19 08:42:42] @ littleidea joined channel #puppet
[2010/07/19 08:46:06] <jbooth> progre55: You certainly sound like you need a config management system.
[2010/07/19 08:46:29] <jbooth> That doesn't strictly say puppet, but most people on this channel chose puppet in the pool of said systems, so...
[2010/07/19 08:47:15] <progre55> jbooth: thanks, I'll consider using it then
[2010/07/19 08:47:38] @ mclarke joined channel #puppet
[2010/07/19 08:48:20] @ tecto joined channel #puppet
[2010/07/19 08:48:32] @ Quit: ecolitan: Remote host closed the connection
[2010/07/19 08:51:19] @ Quit: littleidea: Quit: littleidea
[2010/07/19 08:53:21] @ Quit: verwilst: Quit: Ex-Chat
[2010/07/19 08:53:27] <DavidS2> I'm getting only very short an non-descriptive traces from "rake spec"
[2010/07/19 08:53:46] <DavidS2> is there a way to get the full traces like when i run the spec files manually ?
[2010/07/19 08:55:29] @ pheezy joined channel #puppet
[2010/07/19 08:57:05] <progre55> jbooth: another question, please.. will it be possible to sync just a specific part of the clients, or does the master control whole servers? For instance, if I have different clients, and want only tomcat to be identical in all of them, but not the rest of the servers
[2010/07/19 08:57:59] @ TREllis joined channel #puppet
[2010/07/19 08:58:01] @ bodepd joined channel #puppet
[2010/07/19 08:58:30] <rasputnik> progre55: puppet just manages what you tell it.
[2010/07/19 08:59:49] <jbooth> progre55: What rasputnik said. I've got two puppet instances. One manages a HPC cluster, where 768 nodes are identical, and then there are 3 more identical but with compilers/etc nodes, and then 5-7 support nodes that each have different roles/software/etc.
[2010/07/19 09:00:07] <jbooth> The other manages machines that are pretty much all independent.
[2010/07/19 09:00:22] <jbooth> Still, commonalities exist; our admin users, sudo rules, etc.
[2010/07/19 09:01:14] @ jaredrhine joined channel #puppet
[2010/07/19 09:01:15] <progre55> cool, thanks
[2010/07/19 09:01:22] <progre55> appreciate
[2010/07/19 09:04:27] @ Quit: TREllis: Ping timeout: 245 seconds
[2010/07/19 09:06:05] @ adrian_broher joined channel #puppet
[2010/07/19 09:08:12] @ Quit: rasputnik: Ping timeout: 258 seconds
[2010/07/19 09:09:27] @ Quit: benoit__: Ping timeout: 245 seconds
[2010/07/19 09:12:10] @ sebas891 left channel #puppet ()
[2010/07/19 09:14:25] @ Quit: mclarke: Quit: mclarke
[2010/07/19 09:15:49] @ Quit: spawnyd: Ping timeout: 276 seconds
[2010/07/19 09:16:25] <jbooth> progre55: The only other thing I'd say about puppet is plan on spending quite a while learning the language. It is going to be really strange unless you've done declaritive programming before.
[2010/07/19 09:16:42] @ Quit: emiddd: Ping timeout: 265 seconds
[2010/07/19 09:17:19] @ Quit: pmorillo: Quit: pmorillo
[2010/07/19 09:17:26] <progre55> jbooth: roger =)
[2010/07/19 09:21:32] @ benkevan joined channel #puppet
[2010/07/19 09:22:54] @ Quit: ahasenack: Quit: Leaving
[2010/07/19 09:23:01] @ Quit: lkoranda: Quit: Ex-Chat
[2010/07/19 09:23:03] @ Quit: yure: Ping timeout: 260 seconds
[2010/07/19 09:24:33] @ Quit: fbe: Quit: Leaving
[2010/07/19 09:24:46] @ gniks joined channel #puppet
[2010/07/19 09:30:13] @ lak joined channel #puppet
[2010/07/19 09:31:10] @ DavidS2 is now known as DavidS
[2010/07/19 09:31:23] @ Quit: rcrowley: Quit: rcrowley
[2010/07/19 09:34:49] @ geekatcmu joined channel #puppet
[2010/07/19 09:35:04] @ Quit: bodepd: Quit: bodepd
[2010/07/19 09:36:13] @ yure joined channel #puppet
[2010/07/19 09:36:15] <benkevan> grrrr.. man.. I'm having a hard time trying to figure out the best way to do nodes
[2010/07/19 09:37:11] @ Hypnoz joined channel #puppet
[2010/07/19 09:41:38] @ bodepd joined channel #puppet
[2010/07/19 09:44:05] @ Quit: bodepd: Remote host closed the connection
[2010/07/19 09:44:11] @ Quit: MattyM: Remote host closed the connection
[2010/07/19 09:44:18] <geekatcmu> nodes get variables. *nothing* else.
[2010/07/19 09:44:21] <geekatcmu> Really.
[2010/07/19 09:44:28] @ jmccune joined channel #puppet
[2010/07/19 09:44:34] <geekatcmu> If you try to do anything more than that, you *will* be a sad, sad monkey.
[2010/07/19 09:44:35] @ bodepd joined channel #puppet
[2010/07/19 09:45:01] <DavidS> hi bodepd, jmccune, lak!
[2010/07/19 09:45:09] <lak> good morning
[2010/07/19 09:45:14] @ Quit: bodepd: Remote host closed the connection
[2010/07/19 09:45:16] @ Quit: progre55: Remote host closed the connection
[2010/07/19 09:45:37] @ spawnyd joined channel #puppet
[2010/07/19 09:45:45] @ bodepd joined channel #puppet
[2010/07/19 09:46:25] @ Quit: bodepd: Remote host closed the connection
[2010/07/19 09:46:53] @ schimmi joined channel #puppet
[2010/07/19 09:46:56] @ bodepd joined channel #puppet
[2010/07/19 09:47:05] <DavidS> lak: I spent the day banging on 2.6.0rc4 on windows. I'm currently down to ~200 spec failures (from 600)
[2010/07/19 09:47:21] <DavidS> I'll prepare and send a patchset later to -dev
[2010/07/19 09:47:36] @ Quit: bodepd: Remote host closed the connection
[2010/07/19 09:48:07] @ bodepd joined channel #puppet
[2010/07/19 09:48:47] @ Quit: bodepd: Remote host closed the connection
[2010/07/19 09:49:18] @ bodepd joined channel #puppet
[2010/07/19 09:49:23] @ Quit: bodepd: Client Quit
[2010/07/19 09:51:02] <benkevan> anyone have recommendation of setting up nodes with geographical AND test / prod / dev / qa roles?
[2010/07/19 09:52:29] @ jmccune_ joined channel #puppet
[2010/07/19 09:53:15] * geekatcmu suggest that the geographical bits go in the node declarations, while the test/prod/dev/qa stuff is in roles.
[2010/07/19 09:53:15] <DavidS> benkevan: using the dashboard, I have groups for both "dimensions"
[2010/07/19 09:53:43] <DavidS> nodes get the appropriate groups assigned and receive the necessary values and classes
[2010/07/19 09:55:01] @ littleidea joined channel #puppet
[2010/07/19 09:56:00] <benkevan> what's this dashboard stuff? I don't see it in the book I'm reading.. but many talk about it
[2010/07/19 09:56:00] @ ckauhaus joined channel #puppet
[2010/07/19 09:56:16] <benkevan> geekatcmu: point taken.. I think I'll have embedded roles.. for that..
[2010/07/19 09:57:17] <Volcane> benkevan: the book is years old, things improve :) there are 2 web ui's for puppet dasboard from puppetlabs and foreman from ohadlevy
[2010/07/19 09:58:11] <geekatcmu> The book is OK if you've never looked at Puppet before, and almost useless if you have since it's OLD and missing a *lot* of useful content. OTOH, it's better organized and more accessible than the web site.
[2010/07/19 09:58:38] <geekatcmu> I implemented Puppet, bought the book to see what I was missing, and decided that, well, I shouldn't have spent the money.
[2010/07/19 09:59:04] <geekatcmu> foreman has the advantage that it mostly Just Works(tm), including with Passenger.
[2010/07/19 09:59:27] <benkevan> is foreman more developed or dashboard/
[2010/07/19 09:59:46] <Volcane> foreman probably a bit ahead atm, but htey dont really fill the same gaps
[2010/07/19 09:59:52] <geekatcmu> dashboard has the advantage of slightly tighter integration with Puppet, so Puppet updates are less likely to break it. That said, I've never been able to get dashboard working correctly under Passenger (the report debacle)
[2010/07/19 10:00:02] @ mclarke joined channel #puppet
[2010/07/19 10:00:07] <Volcane> geekatcmu: where is it tighter integrated?
[2010/07/19 10:00:26] @ Quit: littleidea: Quit: littleidea
[2010/07/19 10:00:45] @ thekad-afk is now known as thekad
[2010/07/19 10:00:45] * geekatcmu sees "developed by the same people and released on the same site" as equalling "tighter integration".
[2010/07/19 10:00:48] <benkevan> oh vaie..
[2010/07/19 10:01:00] <Volcane> heh.
[2010/07/19 10:01:07] @ Quit: SEJeff: Read error: Connection reset by peer
[2010/07/19 10:01:10] <geekatcmu> For instance, I expect that dashboard will use the new "generic" report functionality before foreman gets it.
[2010/07/19 10:01:13] <benkevan> so does dashboard do all the configs for me too?
[2010/07/19 10:01:19] <geekatcmu> No.
[2010/07/19 10:01:25] <benkevan> ok..
[2010/07/19 10:01:30] @ rcrowley joined channel #puppet
[2010/07/19 10:01:30] <benkevan> what is dashboard? screenshots?
[2010/07/19 10:01:33] <geekatcmu> It can do some variable setting, but really, that's not what it's fore.
[2010/07/19 10:01:36] <geekatcmu> s/fore/fore/
[2010/07/19 10:01:42] * geekatcmu facepalm
[2010/07/19 10:01:46] <geekatcmu> s/fore/for/
[2010/07/19 10:02:07] * Volcane thinks var setting is very important, like foremans query interface
[2010/07/19 10:03:19] <geekatcmu> It is, but I want all in one place or another, not spread out between multiple locations. So, for the time being at least, I'll stick to using Foreman *strictly* for reporting and do all the settings in my manifests.
[2010/07/19 10:04:38] <benkevan> ok.. back to nodes..
[2010/07/19 10:04:45] <benkevan> i'll worry about dashboards etc later
[2010/07/19 10:04:54] <benkevan> and just define nodes via this crap for now
[2010/07/19 10:05:04] <benkevan> so i make sure i understand it
[2010/07/19 10:05:15] <benkevan> if the book isn't a good starting reference.. then where should I peek?
[2010/07/19 10:05:30] <geekatcmu> Oh, it's a good *starting* reference.
[2010/07/19 10:05:36] <geekatcmu> But the web site is more accurate.
[2010/07/19 10:05:42] @ Quit: lak: Quit: lak
[2010/07/19 10:05:42] <DavidS> benkevan: there's not much difference between well-defined nodes and using an external node classifier: just only use assignment and include() in node{}s
[2010/07/19 10:05:47] <geekatcmu> And once you're past starting, you won't really look at the book anymore.
[2010/07/19 10:06:02] @ jmccune__ joined channel #puppet
[2010/07/19 10:06:10] @ toi joined channel #puppet
[2010/07/19 10:07:15] <jamesturnbull> geekatcmu: more recent is probably more accurate :)
[2010/07/19 10:07:58] * benkevan thinks jamesturnbull needs to do a revision :D
[2010/07/19 10:08:06] <DavidS> benkevan++! :-)
[2010/07/19 10:08:09] * jamesturnbull wishes he had to revise
[2010/07/19 10:08:18] @ Quit: olly__: Quit: This computer has gone to sleep
[2010/07/19 10:08:36] <geekatcmu> Yep.
[2010/07/19 10:09:03] @ olly__ joined channel #puppet
[2010/07/19 10:09:18] <jamesturnbull> time to add time to somewhere there
[2010/07/19 10:09:26] * jamesturnbull is also too tired to be typing straight
[2010/07/19 10:12:26] <benkevan> You'd have at least one sell here :D ..
[2010/07/19 10:12:30] <geekatcmu> Clearly, you need a curved keyboard.
[2010/07/19 10:12:33] @ bkohler joined channel #puppet
[2010/07/19 10:12:39] <benkevan> geekatcmu: haha.. agreed..
[2010/07/19 10:13:33] @ WALoeIII joined channel #puppet
[2010/07/19 10:14:06] <benkevan> man.. going back to the nodes thing.. I will have prod, which will be in multiple gegraphic location.. I think best will be to just make a prod role, and add it to the individual node (trying to plan for expansion to multiple gegraphic locations).. ok..
[2010/07/19 10:14:10] <benkevan> check
[2010/07/19 10:17:11] @ Quit: toi: Ping timeout: 276 seconds
[2010/07/19 10:17:16] @ jdcasey_ joined channel #puppet
[2010/07/19 10:18:31] @ Quit: ckauhaus: Read error: Operation timed out
[2010/07/19 10:19:43] <joe-mac> ping masterzen are you here?
[2010/07/19 10:20:17] @ Quit: jdcasey: Ping timeout: 245 seconds
[2010/07/19 10:22:15] @ Quit: alban2: Quit: Leaving.
[2010/07/19 10:22:51] @ PhabX joined channel #puppet
[2010/07/19 10:23:52] @ spawnyd_ joined channel #puppet
[2010/07/19 10:27:19] @ Quit: spawnyd: Ping timeout: 276 seconds
[2010/07/19 10:30:18] @ plathrop-away is now known as plathrop
[2010/07/19 10:30:25] @ Quit: jdcasey_: Remote host closed the connection
[2010/07/19 10:35:07] @ TREllis joined channel #puppet
[2010/07/19 10:36:05] @ Quit: andrewh: Ping timeout: 264 seconds
[2010/07/19 10:37:53] <joe-mac> masterzen: idk if you're reading the chan right now but because of the naming of the <site>.html file generated by puppetdoc, it looks like windows can't handle it
[2010/07/19 10:37:54] @ Quit: bkohler: Ping timeout: 258 seconds
[2010/07/19 10:38:01] <joe-mac> it doesn't load index.html right and claims it can't find <site>.html
[2010/07/19 10:38:22] @ Quit: spawnyd_: Ping timeout: 276 seconds
[2010/07/19 10:38:27] <joe-mac> or maybe it needs some % code for the < and >?
[2010/07/19 10:38:38] <joe-mac> idk, works from linux though
[2010/07/19 10:40:47] @ beata joined channel #puppet
[2010/07/19 10:42:28] @ Quit: TREllis: Quit: --->flight
[2010/07/19 10:45:11] @ Quit: rcrowley: Ping timeout: 260 seconds
[2010/07/19 10:46:53] @ zenChild joined channel #puppet
[2010/07/19 10:46:54] @ rcrowley joined channel #puppet
[2010/07/19 10:52:26] @ zenChild left channel #puppet ()
[2010/07/19 10:52:45] <jbooth> geekatcmu: I've got dashboard on port 443 with reporting and passenger and everything just fine.
[2010/07/19 10:53:05] <jbooth> I think I hacked the default puppet_dashboard.rb report script though because it didn't support ssl.
[2010/07/19 10:53:11] <DavidS> joe-mac: < and > ain't valid chars in windows' filename
[2010/07/19 10:53:11] @ Quit: beata: Quit: Lost terminal
[2010/07/19 10:53:13] <DavidS> ss
[2010/07/19 10:53:39] @ warreng joined channel #puppet
[2010/07/19 10:53:51] <geekatcmu> jbooth, ah, that may be the issue: I do everything through SSL.
[2010/07/19 10:54:14] <geekatcmu> I've got the cycles, and nothing pisses me off more than webapps that want a password but can't be bothered with SSL.
[2010/07/19 10:54:28] <geekatcmu> Besides, Puppet provides us with a free PKI (sort of). Why not use it?
[2010/07/19 10:54:47] <jbooth> geekatcmu: Yeah, I re-write def process to do a ssl-enabled connection.
[2010/07/19 10:57:44] @ dcarley joined channel #puppet
[2010/07/19 10:58:05] <odyi> What the Portland Oregon Puppet user group is tranforming into.
[2010/07/19 10:58:06] <odyi> http://twitter.com/pdxdevops
[2010/07/19 10:59:32] <DavidS> odyi: is that good or bad?
[2010/07/19 10:59:52] <odyi> Very good.
[2010/07/19 11:01:20] <odyi> Now being headed by a Portland user group veteran and the wider topic will yeild a lot more engaging conversation and more people interest.
[2010/07/19 11:02:08] <Kiloman> now we just need a eugdevops ;)
[2010/07/19 11:02:10] <joe-mac> DavidS: then it would be a bug i guess
[2010/07/19 11:02:20] <joe-mac> since my windows users in my team can't view the puppet docs
[2010/07/19 11:02:43] <joe-mac> i think having < and > in filenames even if allowed is kind of a bad idea anyways
[2010/07/19 11:03:11] <joe-mac> just think iof the weird redirection problems you can have with an errant space and you happening to type in a file that actually exists
[2010/07/19 11:07:13] @ Quit: squirrel_labs: Quit: See ya!
[2010/07/19 11:07:26] @ Quit: yannL: Remote host closed the connection
[2010/07/19 11:07:35] <joe-mac> hmmm hey Volcane
[2010/07/19 11:08:11] <joe-mac> at the end of your extlokoup module, see how it just has desired? now is ruby smart enough to know that is the end so it knows it should 'return default' or am i just misunderstanding this
[2010/07/19 11:08:28] <joe-mac> by module i mean puppet function
[2010/07/19 11:08:35] @ nanliu joined channel #puppet
[2010/07/19 11:09:05] <benkevan> back to stupid questions.. where should I put all my classes? should those go into roles/*.pp ?
[2010/07/19 11:09:34] @ mindless joined channel #puppet
[2010/07/19 11:09:49] <hal-j> personally, I'd suggest that you put your classes in modules, and in turn in a directory in your module path
[2010/07/19 11:10:06] <dcarley> joe-mac> yeah, that's right.
[2010/07/19 11:10:12] <jbooth> joe-mac: In ruby pretty much everything returns something, and the last thing that is returned is the result of the function.
[2010/07/19 11:11:40] @ beata joined channel #puppet
[2010/07/19 11:11:46] <joe-mac> k, that's what i figured
[2010/07/19 11:11:51] <joe-mac> it's all so magical
[2010/07/19 11:11:52] <joe-mac> :-D
[2010/07/19 11:13:07] <dcarley> i'm not very keen on it personally. magic is good for confusion :)
[2010/07/19 11:13:49] <benkevan> i haven't done any modules yet :(
[2010/07/19 11:14:15] <benkevan> should I have modules already? or should they all have to be created?
[2010/07/19 11:14:27] @ bodepd joined channel #puppet
[2010/07/19 11:15:27] <hal-j> there are several in the module forge on puppetlabs
[2010/07/19 11:15:58] <hal-j> but really, a module is just a class (or a set of related classes) that are packaged together, along with their templates and/or files
[2010/07/19 11:16:18] <hal-j> but like most things puppet, they're more "a different way of looking at the problem" than anything else
[2010/07/19 11:17:01] <beata> so i have a $var which contains an array of ips. i need/want to be able for each ip to run it through a define lets say. is there a way to do this
[2010/07/19 11:17:19] * benkevan is guessing that his file structure of /etc/puppet/manifests/{infrastructures,nodes,site.pp} is wrong
[2010/07/19 11:18:27] @ lkoranda joined channel #puppet
[2010/07/19 11:18:34] @ bodepd left channel #puppet ()
[2010/07/19 11:18:52] <dcarley> benkevan> i'd recommend writing modules from the off. they'll make your classes much more manageable and encourage you to write reusable code.
[2010/07/19 11:19:11] <benkevan> dcarley: yah.. I'm going to create all mine as modules..
[2010/07/19 11:19:14] <hal-j> beata: $myvar = ["foo", "bar", "blam"] and then mydef { $myvar : a => b, c=> d} should work
[2010/07/19 11:19:38] <hal-j> dcarley: yup, pretty much my feeling as well
[2010/07/19 11:20:11] <benkevan> ok. .here's a question.. if my main manifest is /etc/puppet/manifest/site.pp when I do an import of something in /etc/puppet/infrastructure can I just do infrastructure/*.pp or since infrastructure isn't in manifests, would I have to do the full path?
[2010/07/19 11:21:10] <jbooth> beata: defined { $vars: option=>value } will do it.
[2010/07/19 11:21:22] <jbooth> beata: Presuming $vars = [ "a real array", "of things" ]
[2010/07/19 11:21:41] <beata> jbooth: thanks il try
[2010/07/19 11:22:04] <jbooth> beata: Note if you want a option=>"$thisvar/32" or similar you have to chain your defines.
[2010/07/19 11:22:45] <geekatcmu> Has anyone seen this error before? err: //nagios::server/Nagios_host[qrnpaucs005.qnow.com]: Failed to retrieve current state of resource: undefined method `alias' for #<Nagios::Base::Hostextinfo:0xafd89a0>
[2010/07/19 11:23:20] @ yannL joined channel #puppet
[2010/07/19 11:26:02] @ Quit: DavidS: Read error: Connection reset by peer
[2010/07/19 11:26:05] <geekatcmu> On a potentially related note, is there any recommended DB maintenance that needs to be performed when using storeconfigs?
[2010/07/19 11:26:41] @ lak joined channel #puppet
[2010/07/19 11:26:42] <joe-mac> this is a new one for me Could not run Puppet configuration client: Parameter notify failed: No title provided and "undef" is not a valid resource reference
[2010/07/19 11:27:46] <beata> @jbooth i was able to get it to work to just do module::addrule{$vars} and then just use $name inside my define
[2010/07/19 11:28:26] <mindless> anyone trying 2.6.0rc4 ? seems to have a problem using a function call in an if statement
[2010/07/19 11:28:41] <mindless> if $var != regsubst(....) for example
[2010/07/19 11:28:50] <mindless> i'll file an issue, unless this is known already..
[2010/07/19 11:29:31] <benkevan> anyone have a "SOX" module? (ie for things that require to be sox compliant, or do you break each file into their own module?)
[2010/07/19 11:30:05] <jamesturnbull> mindless: please file
[2010/07/19 11:30:12] <mindless> ok
[2010/07/19 11:31:25] <joe-mac> benkevan: i'd love to see some compliance modules, specifically i'd love to see something that enforces the stuff that the DoD SRR scripts check for
[2010/07/19 11:31:49] @ toi joined channel #puppet
[2010/07/19 11:32:29] <benkevan> joe-mac: agreed.. right now I'm working on stuff from prior year scans for SOX, and will want one for PCI.. although DoD is a little more strict then what I'd need..
[2010/07/19 11:32:36] <benkevan> just wondering if anyone had some to share :) ..
[2010/07/19 11:32:42] <benkevan> Going to attempt to do my first module..
[2010/07/19 11:32:47] <benkevan> and will probably fail bad HAHAHA jk
[2010/07/19 11:32:56] <joe-mac> i recommend actually just making a security module
[2010/07/19 11:32:59] <joe-mac> and making subclasses
[2010/07/19 11:33:10] <joe-mac> so you'd have security::sox or security::pci
[2010/07/19 11:33:14] <benkevan> joe-mac: I think I'll make a compliance module
[2010/07/19 11:33:21] <benkevan> so complience::sox, compliance||pci
[2010/07/19 11:33:23] <benkevan> grrr ::
[2010/07/19 11:33:30] <joe-mac> or yea that would work too
[2010/07/19 11:34:14] <joe-mac> if you habve a github you shuiold put it up there after
[2010/07/19 11:34:23] <joe-mac> i'm interested to see
[2010/07/19 11:34:41] <joe-mac> i work for rapid7, infosec company, we deal with pci and compliance stuff a lot so this would be cool to see
[2010/07/19 11:35:09] <benkevan> my first day looking at modules.. may be a little while for me to get it going.. BUT.. sox compliance via a protivity scan is the first thing I'm looking at
[2010/07/19 11:35:25] <benkevan> we're not going to know our PCI requirements until we have some external peeps coming in (which is later this year)
[2010/07/19 11:35:41] <|Mike|> PCI is cute ;)
[2010/07/19 11:35:41] <benkevan> no github yet
[2010/07/19 11:35:50] <jmslagle> Heh
[2010/07/19 11:35:53] <benkevan> Our Internal Auditors make sox cute
[2010/07/19 11:36:02] <jmslagle> Yeah - all of those compliance things are hokey.
[2010/07/19 11:36:07] <jmslagle> the PCI ones are just braindead.
[2010/07/19 11:36:07] <benkevan> our external auditors come in and say wtf are your internal auditors looking for
[2010/07/19 11:36:32] <jmslagle> It's all about smoke and mirrors.
[2010/07/19 11:36:34] @ SEJeff joined channel #puppet
[2010/07/19 11:36:35] <geekatcmu> joe-mac: funny, we're implementing rapid7 on linux for our PCI compliance testing stuff.
[2010/07/19 11:36:41] <|Mike|> jmslagle: more about $$ ;)
[2010/07/19 11:36:54] <SEJeff> How can you use puppetd and point it at a directory to read modules from instead of the server? This is for testing before checking in changes
[2010/07/19 11:36:54] <jmslagle> Well yeah - $$ to pay people to tell you what smoke and mirrors you need.
[2010/07/19 11:36:59] <joe-mac> geekatcmu: nice, what company are you with?
[2010/07/19 11:37:20] <geekatcmu> FTR, and don't take this personally, the PCI "requirements" are shite, and the people who are selling services based on them have not, in my opinion, provided a service worth what they're being paid.
[2010/07/19 11:37:21] <jmslagle> He at a .edu? :P
[2010/07/19 11:37:25] <geekatcmu> Copart.
[2010/07/19 11:37:38] <|Mike|> SEJeff: use environments
[2010/07/19 11:37:40] <geekatcmu> I *used* to be at a .edu. Never changed my nick.
[2010/07/19 11:37:55] <jmslagle> geekatcmu: Indeed. I've not personally had to deal with them, but I know plenty who have and I've read a lot about them.
[2010/07/19 11:38:00] <jmslagle> I've head to deal with HIPPA and SOX.
[2010/07/19 11:38:07] <jmslagle> but it's all similiar garbage.
[2010/07/19 11:38:26] <benkevan> SOX / FDA / PCI here :(
[2010/07/19 11:38:33] <geekatcmu> We "dealt" with HIPPA by pulling all those systems off the net and not sending email, back in my .edu days.
[2010/07/19 11:39:01] @ danbode_ joined channel #puppet
[2010/07/19 11:39:25] <geekatcmu> And we were able to convince the auditors that we were mostly SOX compliant, too, simply because we had good practices already (all apps/DBs behind a firewall, restricted access, etc).
[2010/07/19 11:40:08] <SEJeff> |Mike|, Ok how? The man page doesn't say how
[2010/07/19 11:40:08] <geekatcmu> The only thing they got cranky about were all the "guestXXX" ids in /etc/passwd on the bastion hosts. The entries were irrelevant, but the auditors didn't want to believe it.
[2010/07/19 11:40:14] <yakub> pci is enormous scam
[2010/07/19 11:40:17] <SEJeff> Is there a wiki page or something about it?
[2010/07/19 11:40:32] <SEJeff> yakub, No, it is a political solution to a technical problem. Clearly a disaster waiting to happen
[2010/07/19 11:40:38] <|Mike|> SEJeff: http://projects.puppetlabs.com/projects/puppet/wiki/Using_Multiple_Environments
[2010/07/19 11:40:46] <yakub> but i wish i were in this enormous scam !
[2010/07/19 11:41:02] <benkevan> man.. i can't wait until I really understand this stuff
[2010/07/19 11:41:16] <|Mike|> I love those PCI documents which cover just a /25 and contain 1500 pages :p
[2010/07/19 11:41:37] <|Mike|> (and I'm not even mentioning the false positives *shrug*)
[2010/07/19 11:41:39] <yakub> i think they have lawyer script bots that crank it out
[2010/07/19 11:41:54] <SEJeff> |Mike|, Surely there is a saner way than that? I just want to copy the puppet git checkout, make some changes, and test them locally on 2-3 serves
[2010/07/19 11:41:59] <yakub> are you going to merge puppet and pci compliance, then conquer the world
[2010/07/19 11:42:00] <SEJeff> s/serves/servers/
[2010/07/19 11:42:36] @ viq joined channel #puppet
[2010/07/19 11:43:28] <dcarley> sejeff> it's much simpler and reusable, on a regular basis, than it perhaps looks at first glance.
[2010/07/19 11:43:35] <viq> Any web admins from puppetlabs.com ? http://www.puppetlabs.com/misc/download-options/ has http://puppetlabs.com/downloads/puppet/puppet2.6.0rc4.tar.gz vs http://puppetlabs.com/downloads/puppet/puppet-2.6.0rc4.tar.gz it should have
[2010/07/19 11:43:37] <|Mike|> SEJeff: You can define a environment for testing on the puppetmaster and client on that way
[2010/07/19 11:43:46] <jmslagle> SEJeff: Here...
[2010/07/19 11:43:47] @ Quit: danbode_: Client Quit
[2010/07/19 11:43:49] @ Quit: toi: Quit: Ex-Chat
[2010/07/19 11:44:00] <|Mike|> *an
[2010/07/19 11:44:08] <jmslagle> http://projects.puppetlabs.com/projects/puppet/wiki/Common_Modules
[2010/07/19 11:44:11] <jmslagle> Do something like that
[2010/07/19 11:44:22] <|Mike|> Or visit puppetcamp \!/ :P
[2010/07/19 11:44:49] <SEJeff> |Mike|, This is just testing a simple thing on 3 servers to test out a hostname case statement for conditionals. It is not something common and changing the puppetmaster (2x in 20 locations) just is not worth it.
[2010/07/19 11:45:25] <SEJeff> You can't do puppetd --test --noop --modulepath /tmp/foo or something?
[2010/07/19 11:46:22] <jamesturnbull> viq: thanks fixed
[2010/07/19 11:46:56] <jason^> geekatcmu: i didn't realize you don't work for cmu anymore
[2010/07/19 11:47:07] <viq> jamesturnbull: thanks
[2010/07/19 11:48:05] <|Mike|> SEJeff: it's actually 3 lines of config in your puppetmaster and 1 in the client. I don't know a more easy way to create a testing environment imho.
[2010/07/19 11:48:42] <SEJeff> |Mike|, On the commandline from puppetd
[2010/07/19 11:48:46] <SEJeff> 1 command
[2010/07/19 11:49:21] <SEJeff> To on the fly change the module dir and then I run puppet via somethig like: puppetd --test --noop --tags sudo
[2010/07/19 11:49:33] <jmslagle> Anyone have a good way to solve the keytab problem :P
[2010/07/19 11:49:42] <geekatcmu> Yeah, it's not obvious.
[2010/07/19 11:49:50] <geekatcmu> They gave me the boot 3 months ago.
[2010/07/19 11:50:09] <geekatcmu> FTR, and you can tell him I said so: Chas DiFatta is an ass.
[2010/07/19 11:50:36] <jason^> ha
[2010/07/19 11:50:38] <geekatcmu> Also, he's hazardous to be working for, since if you don't think he's always right then you are, by definition, on your way out.
[2010/07/19 11:51:06] <|Mike|> SEJeff: No idea, maybe that someone else knows a better solution than mine above :)
[2010/07/19 11:51:18] <dcarley> sejeff> you can use `puppet` (will become `puppet apply`) to apply manifests standalone.
[2010/07/19 11:51:21] <benkevan> damn I'm confused.. haha
[2010/07/19 11:51:23] @ pting joined channel #puppet
[2010/07/19 11:51:46] <jmslagle> I was going to suggest using just puppet but I've never done it :P
[2010/07/19 11:52:10] <dcarley> if you're testing more than once though environments are a godsend. configure your masters for it once, then develop/checkout/commit on the relevant puppetmaster.
[2010/07/19 11:52:12] <jmslagle> There was a thread on the mailing lists a few months back about distributing kerberos keytabs - anyone doing kerberos with puppet?
[2010/07/19 11:53:05] @ vagn joined channel #puppet
[2010/07/19 11:53:33] @ ecapriolo joined channel #puppet
[2010/07/19 11:54:27] <|Mike|> dcarley: exactly
[2010/07/19 11:55:11] <jamesturnbull> mindless: thanks
[2010/07/19 11:55:13] @ LinuxCode joined channel #puppet
[2010/07/19 11:56:19] @ jdcasey joined channel #puppet
[2010/07/19 11:58:33] @ Quit: gebi: Ping timeout: 240 seconds
[2010/07/19 12:01:00] @ alban2 joined channel #puppet
[2010/07/19 12:01:07] <mindless> np
[2010/07/19 12:02:44] @ toi joined channel #puppet
[2010/07/19 12:08:15] @ Quit: bug: Ping timeout: 260 seconds
[2010/07/19 12:10:34] @ Quit: kolla: Remote host closed the connection
[2010/07/19 12:11:30] @ Quit: LinuxCode: Quit: Connection Closed
[2010/07/19 12:12:10] @ bug joined channel #puppet
[2010/07/19 12:20:21] @ jab_doa joined channel #puppet
[2010/07/19 12:22:12] @ Quit: filler: Ping timeout: 248 seconds
[2010/07/19 12:23:19] @ filler joined channel #puppet
[2010/07/19 12:23:45] @ littleidea joined channel #puppet
[2010/07/19 12:26:40] @ squirrel_labs joined channel #puppet
[2010/07/19 12:26:46] @ Quit: mattock: Ping timeout: 258 seconds
[2010/07/19 12:27:21] @ bodepd joined channel #puppet
[2010/07/19 12:29:57] @ Quit: SpacePope: Read error: No route to host
[2010/07/19 12:30:45] @ itguru joined channel #puppet
[2010/07/19 12:34:40] @ SpacePope joined channel #puppet
[2010/07/19 12:35:07] @ Quit: littleidea: Quit: littleidea
[2010/07/19 12:37:26] @ HouseAway is now known as AimanA
[2010/07/19 12:38:34] @ littleidea joined channel #puppet
[2010/07/19 12:38:49] <benkevan> so should all my roles etc go into modules? i'm still at a bit of a loss.. on this
[2010/07/19 12:38:55] <benkevan> I want to make a generic class.. that's going to be for everyone
[2010/07/19 12:39:54] <beata> if i have define($somevar='undef') { file { "whatever": owner =>$somevar} if $somevar is not passed in, the owner should never be set right?
[2010/07/19 12:39:56] <Volcane> everything in modules.
[2010/07/19 12:40:13] <benkevan> Volcane: ok.. so my generic classes etc should be a module?
[2010/07/19 12:41:00] <Volcane> li have a 'common' modules and a 'roles' module etc
[2010/07/19 12:41:08] @ Quit: itguru: Remote host closed the connection
[2010/07/19 12:41:41] <beata> solution, remove the '' arround undef
[2010/07/19 12:46:18] @ Quit: bug: Read error: Connection reset by peer
[2010/07/19 12:46:35] @ bug_ joined channel #puppet
[2010/07/19 12:46:43] <benkevan> Volcane: can you give me an example?
[2010/07/19 12:46:49] <benkevan> of the init.pp within the module
[2010/07/19 12:47:42] <Volcane> class roles::webserver { include apache, apache::php, apache::virtualhosting }
[2010/07/19 12:48:06] <benkevan> Volcane: how about for common
[2010/07/19 12:48:07] @ Quit: bug_: Read error: Connection reset by peer
[2010/07/19 12:48:08] <benkevan> is what i mean
[2010/07/19 12:48:14] @ bug joined channel #puppet
[2010/07/19 12:52:43] <joe-mac> how can i debug a custom function./
[2010/07/19 12:58:07] @ Quit: toi: Quit: Ex-Chat
[2010/07/19 12:58:57] <jmslagle> I wish the example42 git tree had each module as a git repo so I could just suck in the ones I wanted :P
[2010/07/19 13:01:53] @ Quit: ichristo: Ping timeout: 260 seconds
[2010/07/19 13:07:00] @ OpenMedia joined channel #puppet
[2010/07/19 13:07:45] @ Quit: squirrel_labs: Ping timeout: 240 seconds
[2010/07/19 13:08:26] @ Quit: jdcasey: Remote host closed the connection
[2010/07/19 13:09:04] @ Quit: rgsteele: Remote host closed the connection
[2010/07/19 13:09:05] @ Quit: mclarke: Read error: Connection reset by peer
[2010/07/19 13:09:28] @ mclarke joined channel #puppet
[2010/07/19 13:12:51] <ashp> I'm pretty sure my boss was joking when he said I can run debian but I'm REALLY tempted to start up a side project and setup foreman/puppet basic configuration for debian
[2010/07/19 13:12:57] <ashp> because i'm tired of rhel!
[2010/07/19 13:14:37] <SEJeff> ashp, RHEL6 should be out fairly soonish
[2010/07/19 13:14:48] <SEJeff> And it is basically Fedora 12. Pretty nice all in all
[2010/07/19 13:15:00] <radkin> jmslagle, shoot them an email, maybe you just don't know the correct path to the modules.. just a thought
[2010/07/19 13:16:10] <ashp> SEJeff: Oh I know, which is why I'm tempted to not bother as I've already started work on RHEL6 (apache, first, rebuilding our monsterous servers)
[2010/07/19 13:16:21] <ashp> but I ran into two obnoxious rhel5 things today that just made me despair
[2010/07/19 13:16:42] <ashp> they changed openldap somewhere in a minor update to not listen on the standard ldap port without a sysconfig line
[2010/07/19 13:16:48] <SEJeff> ashp, I understand. RHEL5 is very long in the tooth
[2010/07/19 13:16:52] <ashp> before it always defaulted to listening on ldap..
[2010/07/19 13:17:00] <ashp> and then a java issue with tomcat5 compat that they refused to deal with
[2010/07/19 13:17:00] <SEJeff> Seems sane
[2010/07/19 13:17:12] <ashp> just really annoying stuff to suddenly have crop up out of nowhere
[2010/07/19 13:17:13] <SEJeff> ick
[2010/07/19 13:17:34] <ashp> I guess my concern is going forward
[2010/07/19 13:17:42] <ashp> i don't want to get trapped in another rhel5 situation again
[2010/07/19 13:17:52] @ ichristo joined channel #puppet
[2010/07/19 13:17:53] <ashp> where rhel6 comes out, is great for the first year then becomes progressively more annoying
[2010/07/19 13:18:18] <Volcane> that situation will be there for more or less any long term distro
[2010/07/19 13:19:11] <Volcane> so unless u want some bleeding edge like distro and re-deploy stuff all the time, have possibly different versions of stuff out there as you lag with keeping up
[2010/07/19 13:19:20] <jmslagle> I need to update my RHCE I guess :P
[2010/07/19 13:19:48] <SEJeff> ashp, So use Fedora + puppet to keep your boxes always bleeding edge
[2010/07/19 13:20:22] <ashp> Volcane: i just want a compromise, with a new release every couple of years instead of 5-6 years :)
[2010/07/19 13:20:30] <ashp> SEJeff: Yeah, I thought about that too
[2010/07/19 13:20:45] <Volcane> apparently redhat might be creating multiple ruby stacks, php stacks etc
[2010/07/19 13:21:01] <Volcane> so you can go with the default 1.8.6 or whatever and they'll have available over time say 1.9.1 based ones u can use instead
[2010/07/19 13:21:09] <Volcane> to address this, not sure how much truth is in that though
[2010/07/19 13:21:11] <SEJeff> ashp, fyi I do that
[2010/07/19 13:21:27] <SEJeff> Volcane, It is easy to manage with alternatives
[2010/07/19 13:21:29] <ashp> what slows me down at this point is that doing non-user visible changes just seems like a waste of time
[2010/07/19 13:21:42] <ashp> nobody knows/cares what the backend looks like and it certainly doesn't get you raises or promotions!
[2010/07/19 13:22:20] <SEJeff> But if it doesn't go down you don't get fired ;)
[2010/07/19 13:22:31] <ashp> my boss pretty much outright told me not to bother with things that only benefit me
[2010/07/19 13:22:36] <SEJeff> Setup puppet + cobbler, then show them how easily you can setup new nodes
[2010/07/19 13:22:39] <fenris02> cobbler/puppet/func can be used together to always ensure you can write the change once and replicate it everywhere.
[2010/07/19 13:22:44] <SEJeff> ++
[2010/07/19 13:22:46] <ashp> i did however buy zenoss which only really benefits me, but oh well
[2010/07/19 13:22:52] <ashp> oh i have puppet/foreman already setup, just for rhel only
[2010/07/19 13:23:02] <fenris02> or mcollective if you prefer that over func, etc..
[2010/07/19 13:23:07] <ashp> i have mcollective setup too :)
[2010/07/19 13:23:13] <ashp> i put almost everything into puppet
[2010/07/19 13:23:14] <SEJeff> Hopefully puppet-dashboard is better. Foreman is so god awful ugly
[2010/07/19 13:24:17] <ashp> i don't mind the looks so much, but i only really look at it during builds
[2010/07/19 13:24:27] <Volcane> new version looks a bit better
[2010/07/19 13:24:54] @ Quit: lkoranda: Quit: Ex-Chat
[2010/07/19 13:28:53] @ Quit: yannL: Remote host closed the connection
[2010/07/19 13:29:55] @ littleidea_ joined channel #puppet
[2010/07/19 13:29:58] @ Quit: littleidea: Read error: Connection reset by peer
[2010/07/19 13:31:40] @ Quit: littleidea_: Client Quit
[2010/07/19 13:32:18] <jmslagle> Volcane: They started doing that in EPEL.
[2010/07/19 13:32:29] @ littleidea joined channel #puppet
[2010/07/19 13:32:58] <jmslagle> Theres a python26 in epel now for instance
[2010/07/19 13:33:07] <jmslagle> I seem to recall anyways
[2010/07/19 13:34:22] <jamesturnbull> Volcane: it looks awesome thanks :)
[2010/07/19 13:34:27] @ Quit: littleidea: Client Quit
[2010/07/19 13:34:34] <jamesturnbull> gepetto: seen djelibeybi
[2010/07/19 13:34:34] <gepetto> jamesturnbull: Djelibeybi was last seen 14 hours, 20 minutes and 20 seconds ago, quitting IRC (Quit: Leaving)
[2010/07/19 13:38:50] <Volcane> jamesturnbull: i mean of foreman :P
[2010/07/19 13:44:28] <benkevan> i suck at this puppet stuff so far
[2010/07/19 13:48:26] <jamesturnbull> mindless: we think 4288 is a duplicate of #4233 - we'll have a fix shortly
[2010/07/19 13:48:27] <gepetto> jamesturnbull: mindless: #4233 is http://projects.puppetlabs.com/issues/show/4233 "Puppet - Bug #4233: Catalogs fail to deserialize if resources contain a newline in the title - Puppet Labs"
[2010/07/19 13:53:00] @ Quit: \ask: Remote host closed the connection
[2010/07/19 13:53:27] @ \ask joined channel #puppet
[2010/07/19 13:53:47] @ jdcasey joined channel #puppet
[2010/07/19 13:55:28] <beata> doing a require => Class["whatever"] inside a file{} should make it so that the class whatever gets done before the file is done
[2010/07/19 13:55:31] <beata> right?
[2010/07/19 13:55:43] @ Quit: ichristo: Remote host closed the connection
[2010/07/19 13:55:51] <Volcane> yes
[2010/07/19 13:56:18] <beata> wonder why its not dooing it
[2010/07/19 13:56:47] @ Quit: \ask: Read error: Operation timed out
[2010/07/19 13:57:42] @ Quit: AimanA: Remote host closed the connection
[2010/07/19 13:57:48] <beata> i have mount { "/whatever": require => File[$mount], } file{$mount: require => Class["whatever"]}
[2010/07/19 13:59:30] <beata> hmm the Class["whatever"] is not quoted wonder if that would do it
[2010/07/19 14:01:04] @ squirrel_labs joined channel #puppet
[2010/07/19 14:02:47] @ Quit: squirrel_labs: Client Quit
[2010/07/19 14:02:57] @ Quit: schimmi: Quit: Leaving.
[2010/07/19 14:08:02] <jmslagle> Stuid deprecation warnings.
[2010/07/19 14:11:14] @ squirrel_labs joined channel #puppet
[2010/07/19 14:11:34] @ Quit: squirrel_labs: Client Quit
[2010/07/19 14:17:10] @ \ask joined channel #puppet
[2010/07/19 14:17:52] <jamesturnbull> mindless: can you take a look at the update to #4288 please - if you apply the patch for #4233 I think you'll see a further error that might help us get to the bottom of it
[2010/07/19 14:17:52] <gepetto> jamesturnbull: mindless: #4288 is http://projects.puppetlabs.com/issues/show/4288 "Puppet - Bug #4288: Error if exec command starts with shell built-in like "if" - Puppet Labs"
[2010/07/19 14:17:53] <gepetto> jamesturnbull: mindless: #4233 is http://projects.puppetlabs.com/issues/show/4233 "Puppet - Bug #4233: Catalogs fail to deserialize if resources contain a newline in the title - Puppet Labs"
[2010/07/19 14:18:49] @ Quit: Determinist: Remote host closed the connection
[2010/07/19 14:19:35] @ Determinist joined channel #puppet
[2010/07/19 14:19:38] <gniks> when should i use virtual resources over class inheritance?
[2010/07/19 14:23:40] @ yannL joined channel #puppet
[2010/07/19 14:26:04] <jamesturnbull> Volcane: Alan Barrat is on the channel isn't he? it's a short nick... hmmm
[2010/07/19 14:26:09] <Volcane> apb
[2010/07/19 14:26:16] <jamesturnbull> gepetto: seen apb
[2010/07/19 14:26:16] <gepetto> jamesturnbull: apb was last seen 2 months, 16 days, 4 hours, 28 minutes and 11 seconds ago, quitting IRC (Ping timeout: 276 seconds) and a while before saying "bug #3645 may bite you" in #puppet
[2010/07/19 14:26:25] <Volcane> yea not around foten
[2010/07/19 14:26:26] <Volcane> often
[2010/07/19 14:26:31] <jamesturnbull> indeed not
[2010/07/19 14:26:31] <jmslagle> Hrm.
[2010/07/19 14:27:04] <jmslagle> Storeconfigs and environments
[2010/07/19 14:27:07] <jmslagle> anything I need to know?
[2010/07/19 14:28:38] @ Quit: adrian_broher: Quit: Verlassend
[2010/07/19 14:30:43] <gniks> no one wants to answer my question :(
[2010/07/19 14:33:18] <Volcane> gniks: not many things in puppet is a 'should' thing, its all about your use case and what makes sense
[2010/07/19 14:34:06] @ Quit: Mick27: Quit: This computer has gone to sleep
[2010/07/19 14:34:20] <gniks> this is true but a few scenarios may clear things up :)
[2010/07/19 14:34:57] <mackn> perhaps if you told us what you were thinking of doing it might help
[2010/07/19 14:36:24] <Volcane> gniks: i try to avoid both.
[2010/07/19 14:36:51] <gniks> well i have a module that installs apache with class apache::install and apache::config
[2010/07/19 14:36:59] <gniks> in many environments i need to over ride the default config file
[2010/07/19 14:37:21] <gniks> would i override an inherited class or use a virtual resource?
[2010/07/19 14:37:30] <Volcane> you mean override the source?
[2010/07/19 14:37:33] <gniks> yeah
[2010/07/19 14:37:44] <Volcane> based on what? you want a node specific one or something else?
[2010/07/19 14:38:03] <gniks> it would be environment specific, but for arguments sake it would be node specific
[2010/07/19 14:38:07] <Volcane> is it template based or just statuc?
[2010/07/19 14:38:12] <gniks> static
[2010/07/19 14:38:14] <Volcane> static even
[2010/07/19 14:38:38] <Volcane> source => ["puppet:///apache/apache.conf.${fqdn}", "puppet:///apache/apache.conf.${environment}", "puppet:///apache/apache.conf",
[2010/07/19 14:38:41] <Volcane> ]
[2010/07/19 14:38:50] <Volcane> first one it finds is what goes on the node
[2010/07/19 14:39:35] @ Quit: bodepd: Quit: bodepd
[2010/07/19 14:39:57] <gniks> so is that just an array for showing the different ways, or does something special happen with arrays and source?
[2010/07/19 14:40:02] @ Quit: Determinist: Read error: Connection reset by peer
[2010/07/19 14:40:39] <Volcane> the first one that it finds gets taken yes
[2010/07/19 14:40:52] <gniks> ok
[2010/07/19 14:41:07] <gniks> im not sure if im sold on that way :p
[2010/07/19 14:41:21] <Volcane> thats the std approach
[2010/07/19 14:41:33] <gniks> id much rather not have to make the apache module aware of ever case
[2010/07/19 14:41:37] <Volcane> and a hell of a lot simpler than inheritance etc
[2010/07/19 14:41:44] <gniks> that is true
[2010/07/19 14:42:03] <gniks> im however managing many cluster environments that are very different
[2010/07/19 14:42:11] @ fbe joined channel #puppet
[2010/07/19 14:43:16] <gniks> from what ive seen, non virtual resource can be treated as such with Resource <| parameter == something |>
[2010/07/19 14:47:32] <gniks> i wish there were more definitive best practices, and clearly documented "tricks" for puppet
[2010/07/19 14:48:42] @ Quit: reyjrar: Quit: Leaving.
[2010/07/19 14:51:56] <jamesturnbull> gniks: there is a wiki you can edit and add said tricks - the issue with best practises is s always "best for whom"
[2010/07/19 14:52:40] <SEJeff> Is there a way to make an "interface" a dependency?
[2010/07/19 14:53:11] <gniks> i agree that "best for whom" is an issue, but the rest of the world manages to come up with best practices along with special cases and properly document them in a book or something :)
[2010/07/19 14:53:29] <SEJeff> I use keepalived as a load balancer for some webservers. The config tracks a "dummy0" interface. If one of the admins manually ifdowns dummy0, the keepalived node will go into fault state. Can you make the keepalived service depend on the dummy0 interface being up without ifup dummy0 on every puppet run?
[2010/07/19 14:53:59] <gniks> keep in mind, im not trying to cut anyone down by saying that
[2010/07/19 14:54:29] <justdave> if (regsubst($interfaces,'\bdummy0\b','') != $interfaces) {
[2010/07/19 14:54:29] <mackn> heh
[2010/07/19 14:54:53] <justdave> there's probably a better way to do that with the newer versions of puppet that actually support regexps now
[2010/07/19 14:54:59] <SEJeff> justdave, lets try that. Thanks :)
[2010/07/19 14:55:26] <justdave> you can probably do something like if ($interfaces =~ /\bdummy0\b/) { instead
[2010/07/19 14:55:40] <justdave> that regsubst thing was a hack because it didn't do regexps at the time
[2010/07/19 14:55:41] @ Quit: beata: Quit: leaving
[2010/07/19 14:55:58] <jmslagle> gniks: There are several complete example configs.
[2010/07/19 14:56:13] <jmslagle> http://www.example42.com contains one.
[2010/07/19 14:56:13] <fenris02> does $interfaces only contain ones that are 'up' ?
[2010/07/19 14:56:17] <gniks> configs aren't my problem, its class writing :)
[2010/07/19 14:56:29] <SEJeff> justdave, That looks perfect. Do you think it would work with 0.25.4?
[2010/07/19 14:56:30] <jmslagle> My "new" internal puppet I'm building is roughly based on that
[2010/07/19 14:56:37] <jmslagle> You should be writing modules not classes :)
[2010/07/19 14:56:50] <justdave> SEJeff: yeah 0.25 and up are what supports regexps I think (maybe it was 0.24?)
[2010/07/19 14:57:24] <SEJeff> fenris02, Raises a great point. facter shows dummy0 when dummy0 is down
[2010/07/19 14:57:33] <justdave> jmslagle: hmm, good point. SEJeff: probably better test that to find out, too. (whether that lists all interfaces that exist or just ones that are active)
[2010/07/19 14:57:38] <SEJeff> Which is what I'm trying to write the dependency on :/
[2010/07/19 14:57:50] <justdave> er, yeah, fenris02 is who said that, I'm misquoting
[2010/07/19 14:57:57] <mindless> jamesturnbull: i replied in the issue about the search path.. i'll try with that patch now
[2010/07/19 14:58:03] <SEJeff> back to the drawing board
[2010/07/19 14:58:09] <gniks> jmslagle: i am writing modules :p but modules are a collection of classes ( or can be )
[2010/07/19 14:58:13] <jmslagle> james also has a wonderful book on puppet called "Pulling Strings with Puppet"
[2010/07/19 14:58:14] <SEJeff> I really didn't want to do an exec ifconfig hack
[2010/07/19 14:58:25] <justdave> facter should be able to tell you if interface_dummy0 has an IP address or not though
[2010/07/19 14:58:38] <SEJeff> justdave, interface is a dummy interface... no ip
[2010/07/19 14:58:38] <jamesturnbull> mindless: yeah that's a weird one
[2010/07/19 14:58:39] <gniks> i read james book… its an awesome book if i were working with puppet 20 or whenever it was writtent
[2010/07/19 14:58:54] @ bodepd joined channel #puppet
[2010/07/19 14:58:58] <SEJeff> It is just a very simple way for us to admin down nodes for maintenance. It takes them out of the load balanced pool for work
[2010/07/19 14:58:59] <jmslagle> You're working on updating it aren't you James?
[2010/07/19 14:59:12] <jamesturnbull> mindless: it might be how we execute commands but weird
[2010/07/19 14:59:16] <jamesturnbull> jmslagle: allegedly
[2010/07/19 14:59:27] <gniks> ive also read his book ;)
[2010/07/19 14:59:34] <gniks> very nifty example however… its a bit over bloated for my environment in the sense that it supports nearly every OS under the sun, but thats not a bad thing for an online community
[2010/07/19 14:59:59] <jmslagle> The example42 stuff?
[2010/07/19 15:00:03] <gniks> yeah
[2010/07/19 15:00:12] <gniks> mind you i was only looking at the apache module for the moment :p
[2010/07/19 15:00:15] <jmslagle> It's stubbed out for many OS's but most of the classes ony do rhel :P
[2010/07/19 15:00:17] <justdave> could always write a facter plugin that checks it
[2010/07/19 15:01:03] <gniks> i also have a very well working puppet infrastructure... just trying to optimize it and make it easier to maintain and read
[2010/07/19 15:01:47] <Volcane> my main gripe with inheritance, virtuals, overrides etc is that it takes away a whole lot in readability and maintainability
[2010/07/19 15:01:57] <Volcane> you look at code, you dont know what it does - cos it does it in lots of other places
[2010/07/19 15:02:01] <Volcane> you change it, same shit
[2010/07/19 15:02:09] <Volcane> you see a diff sent to you from a post commit
[2010/07/19 15:02:12] <Volcane> same story
[2010/07/19 15:02:31] <gniks> right
[2010/07/19 15:02:45] <gniks> my other problem with inheritance is that its a lot of extra code to do one thing
[2010/07/19 15:02:50] <gniks> but i guess a collection is just as bad
[2010/07/19 15:05:26] <pheezy> i've no idea how to get puppetdoc to work
[2010/07/19 15:05:40] <gniks> join the club :)
[2010/07/19 15:05:40] <jamesturnbull> mindless: we're thinking this isn't a bug per se ... but an artifact of how we "securify" Ruby exec'es
[2010/07/19 15:07:20] <jamesturnbull> mindless: we tightened that up as part of 2.6.0 to patch a security issue
[2010/07/19 15:07:22] <pheezy> i think it might not work with environments tbh
[2010/07/19 15:07:34] <jamesturnbull> pheezy: are you getting an error?
[2010/07/19 15:08:10] <pheezy> Nope
[2010/07/19 15:08:40] <pheezy> [root@itdev-puppeteer ~]# puppetdoc -m rdoc --outputdir /tmp/doc /etc/puppet/itdev/manifests/site.pp --debug --trace
[2010/07/19 15:08:40] <pheezy> info: scanning: ["/etc/puppet/itdev/manifests/site.pp"]
[2010/07/19 15:09:05] <mindless> jamesturnbull: we've written execs basically assuming the command is given to the shell
[2010/07/19 15:09:27] <mindless> the workaround i found for these errors is just adding "true; " on the front of these
[2010/07/19 15:09:43] <jamesturnbull> mindless: ah yes
[2010/07/19 15:10:01] @ Quit: notbrien: Quit: notbrien
[2010/07/19 15:10:24] <jamesturnbull> mindless: we're explictly not allowing yu to call a bash subcmd due to another issue - can you add that to the ticket and we'll do a design discussion internally about how to address this? thanks
[2010/07/19 15:10:48] <jmslagle> I wonder if EPEL implemented the DEPRECIATION patch
[2010/07/19 15:10:51] <mindless> k
[2010/07/19 15:11:31] <jmslagle> Is there something special I have to do to make environments and storeconfigs play nice? I'm getting a "could not find table 'hosts'"
[2010/07/19 15:12:58] @ Quit: ecapriolo: Quit: KVIrc Insomnia 4.0.0, revision: 4030, sources date: 20100125, built on: 2010-02-25 23:12:54 UTC http://www.kvirc.net/
[2010/07/19 15:20:05] @ Zontar joined channel #puppet
[2010/07/19 15:20:06] <fenris02> neat. example42 has a bunch of things i've been trying to do.
[2010/07/19 15:20:21] <gniks> sadly nearly none of them work in my environment :p
[2010/07/19 15:20:21] <Zontar> puppet
[2010/07/19 15:20:26] <Zontar> puppet
[2010/07/19 15:20:33] <pheezy> jamesturnbull: do you know if that is the correct syntax?
[2010/07/19 15:20:39] <Zontar> puppet
[2010/07/19 15:20:53] <fenris02> gniks, syntax errors, or political/layer8 issues?
[2010/07/19 15:20:59] <Zontar> puppet
[2010/07/19 15:21:20] <gniks> not really political, but due to our unique environment, id have to rewrite half of each module to make it fit :p
[2010/07/19 15:21:24] <Zontar> puppet
[2010/07/19 15:21:44] <gniks> like we have about 15 different clusters of servers, that do extremely different things, but they all share daemons
[2010/07/19 15:21:46] <SEJeff> layer8 issue. Thats a good one :)
[2010/07/19 15:21:48] <Zontar> puppet
[2010/07/19 15:21:50] <gniks> hehe yeah
[2010/07/19 15:21:50] <Zontar> puppet
[2010/07/19 15:21:56] <SEJeff> Zontar, knock it off
[2010/07/19 15:22:00] <Zontar> why
[2010/07/19 15:22:06] <gniks> cause you are annoying me :)
[2010/07/19 15:22:06] <SEJeff> Because that is annoying
[2010/07/19 15:22:08] <fenris02> Zontar, you're trolling and unhelpful
[2010/07/19 15:22:16] <Zontar> puppet is a beautiful word
[2010/07/19 15:22:29] <Zontar> do you concur?
[2010/07/19 15:22:30] <SEJeff> Try doing: /msg Zontar puppet
[2010/07/19 15:22:33] <SEJeff> over and over
[2010/07/19 15:22:42] <gniks> you can fork echo in your terminal to say it many times as you want ;)
[2010/07/19 15:22:49] <Zontar> I asked a question
[2010/07/19 15:22:55] <SEJeff> gniks, Or just use the yes command. yes puppet :)
[2010/07/19 15:22:55] <Zontar> gniks sucks
[2010/07/19 15:23:15] @ Quit: yannL: Remote host closed the connection
[2010/07/19 15:23:23] <gniks> Zontar: when did you ask a question?
[2010/07/19 15:23:35] <Zontar> I asked: do you concur
[2010/07/19 15:23:47] <gniks> not really
[2010/07/19 15:23:50] <geekatcmu> Zontar is a bot.
[2010/07/19 15:24:07] <Zontar> [00:22] <Zontar> puppet is a beautiful word
[2010/07/19 15:24:11] <gniks> geekatcmu: do you really go to CMU? :p
[2010/07/19 15:24:22] <SEJeff> geekatcmu, I was thinking the same thing. Can someone with op kline him?
[2010/07/19 15:24:23] <Zontar> [00:22] <Zontar> do you concur?
[2010/07/19 15:24:28] <geekatcmu> I'm a CMU alumnus, and I worked there for 21 years before the current job.
[2010/07/19 15:24:31] <jmslagle> You should really change your nick eek ;)
[2010/07/19 15:24:33] <Zontar> I am not a bot
[2010/07/19 15:24:39] <gniks> nice, sadly we are rivals, i went to WMU :p
[2010/07/19 15:24:39] <jmslagle> s/eek/geek/
[2010/07/19 15:24:39] <geekatcmu> No, I shouldn't.
[2010/07/19 15:24:49] <Zontar> gniks: see?
[2010/07/19 15:24:58] <jmslagle> Then people will stop bugging you :D
[2010/07/19 15:25:00] <Zontar> gniks sucks
[2010/07/19 15:25:01] <geekatcmu> I keep trying to get geek on Freenode, but I can't.
[2010/07/19 15:25:12] <Zontar> puppet
[2010/07/19 15:25:23] <gniks> jamesturnbull: you around? :D
[2010/07/19 15:25:28] <Zontar> gniks sucks
[2010/07/19 15:25:30] @ Mode +o jamesturnbull by ChanServ
[2010/07/19 15:25:34] <mackn> heh
[2010/07/19 15:25:36] <gniks> thanks :)
[2010/07/19 15:25:36] @ Zontar has been kicked from #puppet by jamesturnbull (Zontar)
[2010/07/19 15:25:39] <fenris02> thanks
[2010/07/19 15:25:42] <gniks> you swatted our fly
[2010/07/19 15:25:44] @ Zontar joined channel #puppet
[2010/07/19 15:25:49] <Zontar> hey what's that
[2010/07/19 15:25:50] <jmslagle> Hahahaha
[2010/07/19 15:25:54] @ Mode +b *!*Zontar@*.dclient.hispeed.ch by jamesturnbull
[2010/07/19 15:25:58] @ Zontar has been kicked from #puppet by jamesturnbull (Zontar)
[2010/07/19 15:26:12] @ alexlea joined channel #puppet
[2010/07/19 15:26:21] <geekatcmu> jamesturnbull++
[2010/07/19 15:26:22] <jamesturnbull> sorry guys -
[2010/07/19 15:26:56] <SEJeff> jamesturnbull, Thanks
[2010/07/19 15:27:31] @ Quit: alexlea: Quit: MOTHERFUCKER!!! That's *MY* penny
[2010/07/19 15:27:53] * jamesturnbull has trouble remembering freenode irc commands
[2010/07/19 15:28:08] @ Quit: kaptk2: Quit: Leaving.
[2010/07/19 15:28:16] * benkevan has a hard time remembering how to make it home.. and I drive that route 5 days a week
[2010/07/19 15:29:44] <fenris02> jamesturnbull, you can setup an alias/macro command for things like "/opme" and "/kban"
[2010/07/19 15:31:28] @ Quit: WALoeIII: Quit: WALoeIII
[2010/07/19 15:32:05] <fenris02> does someone here maintain example42 ?
[2010/07/19 15:32:54] <radkin> gniks "never swat a fly"
[2010/07/19 15:33:03] <gniks> wny?
[2010/07/19 15:33:18] <jamesturnbull> fenris02: yeah I have those - can;t rememver them either :
[2010/07/19 15:33:19] <jamesturnbull> :)
[2010/07/19 15:33:21] <jmslagle> fenris02: I was wondering that too
[2010/07/19 15:33:21] <fenris02> or, at least - dont use chopsticks for flies.
[2010/07/19 15:33:45] <gniks> im from the country, we smash them with our bare hands
[2010/07/19 15:33:47] <fenris02> jamesturnbull, *nod* but at least you can look at your user-commands for reference :)
[2010/07/19 15:33:47] <jamesturnbull> fenris02: hmmm I don't know his nick but he is around sometimes
[2010/07/19 15:33:55] <jamesturnbull> alessandro
[2010/07/19 15:34:18] @ Quit: glut: Ping timeout: 240 seconds
[2010/07/19 15:35:49] @ Quit: benkevan: Quit: leaving
[2010/07/19 15:36:41] @ zorzar_ joined channel #puppet
[2010/07/19 15:36:59] @ Quit: bobbyz: Ping timeout: 276 seconds
[2010/07/19 15:39:59] @ Quit: zorzar: Ping timeout: 265 seconds
[2010/07/19 15:41:14] @ WALoeIII joined channel #puppet
[2010/07/19 15:45:36] @ Quit: jschairb: Ping timeout: 240 seconds
[2010/07/19 15:47:24] @ Determinist joined channel #puppet
[2010/07/19 15:48:06] @ Quit: bug: Quit: bug
[2010/07/19 15:48:18] @ Quit: radkin: Read error: Connection reset by peer
[2010/07/19 15:48:51] <mindless> jamesturnbull: is it valid in 2.6.0 to define a define inside a class?
[2010/07/19 15:49:10] @ Quit: showy: Ping timeout: 258 seconds
[2010/07/19 15:49:29] <Determinist> is there a way to run some script on the master when a new node initially connects asking for configuration?
[2010/07/19 15:49:30] <jamesturnbull> mindless: yes
[2010/07/19 15:49:42] <pheezy> anyone know if you need a specific version of rdoc to make puppetdoc work? I'm not able to get an error
[2010/07/19 15:50:00] <geekatcmu> Nagios_service[check_load]/check_period: check_period changed '24x7' to '24x7'
[2010/07/19 15:50:04] <fenris02> jamesturnbull, is there some advantage to doing so? will it maintain the scope sandbox?
[2010/07/19 15:50:04] <mindless> ok, having some trouble there.. i'll work on a test case
[2010/07/19 15:50:21] <geekatcmu> I've got a *lot* of lines like those going on. I wonder if 2.6 will help?
[2010/07/19 15:50:23] <pheezy> http://pastie.org/1051224
[2010/07/19 15:51:09] @ rodnet joined channel #puppet
[2010/07/19 15:51:56] <jamesturnbull> fenris02: I tend not to but there is no rule that states you can't
[2010/07/19 15:52:43] @ Quit: jdcasey: Remote host closed the connection
[2010/07/19 15:53:41] <fenris02> oh. i've had it complain when i tried. thought it was meant to be that way
[2010/07/19 15:54:59] <joe-mac> so yea, citystate,"Boston MA" Volcane
[2010/07/19 15:54:59] @ Quit: rodnet: Read error: Connection reset by peer
[2010/07/19 15:55:53] <Volcane> joe-mac: very odd, and if you use it from inside the manifest what happens? ie not in a template
[2010/07/19 15:56:04] @ showy joined channel #puppet
[2010/07/19 15:56:07] <joe-mac> there is no manifest involved Volcane
[2010/07/19 15:56:11] <joe-mac> this is a non-rvalue function
[2010/07/19 15:56:16] <joe-mac> it has an erb template in it
[2010/07/19 15:56:24] <joe-mac> the erb template is used to fill in a confluence page with dynamic data
[2010/07/19 15:56:29] <Determinist> nothing?
[2010/07/19 15:56:35] <joe-mac> i pastied a link to the function code in puppet-dev a couple mins ago
[2010/07/19 15:56:38] <Volcane> pls do the same extlookup in a manifest and see what it returns there
[2010/07/19 15:57:05] <jamesturnbull> Determinist: you can run scripts pre and post runs?
[2010/07/19 15:57:08] <joe-mac> i know for a fact it returns proper stuff Volcane
[2010/07/19 15:57:19] <joe-mac> i use extlookup in production across all my machines to do a bunch of important styfuif
[2010/07/19 15:57:21] <joe-mac> stuff even
[2010/07/19 15:57:21] @ Quit: pheezy: Remote host closed the connection
[2010/07/19 15:57:45] @ Quit: fbe: Ping timeout: 240 seconds
[2010/07/19 15:58:00] <jamesturnbull> Determinist: from 0.25.4 onwards - see http://projects.puppetlabs.com/projects/puppet/wiki/Release_Notes#0.25.4
[2010/07/19 15:58:06] <Determinist> jamesturnbull: could you point me at what i'm looking for? i'd like to maintain a list of the currently active nodes (ones that connect to the master periodically) there are.
[2010/07/19 15:58:11] <Determinist> oh
[2010/07/19 15:58:15] <Determinist> brb, reading.
[2010/07/19 15:58:17] <Determinist> thanks
[2010/07/19 15:58:37] <jamesturnbull> Determinist: you can also run something like the puppetlast command that is in the ext directory of the tarball
[2010/07/19 16:00:18] @ Quit: showy: Ping timeout: 240 seconds
[2010/07/19 16:00:28] <Determinist> ok, this looks promising.
[2010/07/19 16:00:33] <Determinist> thanks, digging in.
[2010/07/19 16:00:50] <Determinist> jamesturnbull: btw, good book.
[2010/07/19 16:01:38] @ showy joined channel #puppet
[2010/07/19 16:02:19] <mindless> jamesturnbull: is there an easy way to get that ruby stack trace for an "err:" line, so you don't have to rerun my test to put that in an issue?
[2010/07/19 16:03:48] <mindless> oh, --trace ?
[2010/07/19 16:04:10] <mindless> yup, that did it.. i was only using --debug --verbose
[2010/07/19 16:05:37] <jamesturnbull> Determinist: thanks
[2010/07/19 16:05:46] <jamesturnbull> mindless: I don't like issues anymore :(
[2010/07/19 16:06:05] @ Quit: showy: Ping timeout: 264 seconds
[2010/07/19 16:06:16] <mindless> :-/
[2010/07/19 16:06:19] <joe-mac> any other ideas Volcane?
[2010/07/19 16:06:29] <mindless> sorry if I file too many
[2010/07/19 16:07:31] @ showy joined channel #puppet
[2010/07/19 16:09:52] @ paxos joined channel #puppet
[2010/07/19 16:11:34] @ paxos left channel #puppet ()
[2010/07/19 16:12:25] <Volcane> joe-mac: i cant even get it to work with function_extlookup inside a template etc :)
[2010/07/19 16:12:37] <Volcane> puppetmaster just exits
[2010/07/19 16:12:47] <joe-mac> are you doing this from a secondary custom function though?
[2010/07/19 16:12:52] <Volcane> nope
[2010/07/19 16:13:00] <joe-mac> the docs indicate you have to prepend function_ to get a separate custom function to work
[2010/07/19 16:13:05] <Volcane> but mostly i stopped paying attention when you wouldnt do the debug i asked :)
[2010/07/19 16:13:05] <joe-mac> maybe the docs are dated?
[2010/07/19 16:13:11] <joe-mac> which debug?
[2010/07/19 16:13:23] <Volcane> do the lookup in a normal manifest
[2010/07/19 16:13:35] <joe-mac> ok
[2010/07/19 16:14:43] <Volcane> the function_foo stuff is the same in a template
[2010/07/19 16:14:51] <Volcane> not sure what the story is why that kills my master
[2010/07/19 16:15:40] <joe-mac> Volcane: http://www.pastie.org/1051263
[2010/07/19 16:15:53] <joe-mac> yea that's pretty crazy that it actually kills your whole master
[2010/07/19 16:16:56] @ Quit: showy: Ping timeout: 252 seconds
[2010/07/19 16:17:18] @ bug joined channel #puppet
[2010/07/19 16:17:41] <jamesturnbull> mindless: if you apply this patch - http://projects.puppetlabs.com/issues/4285#note-8 - do you still have an issue?
[2010/07/19 16:18:14] <jamesturnbull> mindless: and this patch http://projects.puppetlabs.com/issues/4233#note-9
[2010/07/19 16:18:27] <mindless> i have that 2nd one already.. adding the first
[2010/07/19 16:18:37] <Volcane> joe-mac: not sure can only assume that parser functions dont return just what the function does or something, no idea
[2010/07/19 16:18:53] <joe-mac> dam that sucks
[2010/07/19 16:19:05] <joe-mac> if i could ensure this function ran last, lookupvar would work
[2010/07/19 16:19:15] <Volcane> joe-mac: do somewhere in your erb: require 'pp'
[2010/07/19 16:19:22] <joe-mac> k
[2010/07/19 16:19:31] <Volcane> joe-mac: then <%= function_extlookup(....).pretty_inspect %>
[2010/07/19 16:20:00] <joe-mac> pretty_inspect eh? ok
[2010/07/19 16:20:28] <joe-mac> no change with require pp
[2010/07/19 16:20:33] <joe-mac> now adding the method
[2010/07/19 16:21:19] <joe-mac> that didn't change anything except added a newline between the values
[2010/07/19 16:23:00] <Volcane> k, well something weird with calling extlookup that way hten
[2010/07/19 16:23:43] @ showy joined channel #puppet
[2010/07/19 16:23:49] <mindless> jamesturnbull: no change with that patch
[2010/07/19 16:23:50] <joe-mac> can i call it with like Puppet::Parser::Function::extlookup or something?
[2010/07/19 16:24:00] <Volcane> no
[2010/07/19 16:24:07] <Volcane> gotta be function_extlookup afaik
[2010/07/19 16:24:20] <joe-mac> i guess i will just copy your code into my function
[2010/07/19 16:25:24] @ squirrel_labs joined channel #puppet
[2010/07/19 16:25:32] <jamesturnbull> tarnation
[2010/07/19 16:26:15] <squirrel_labs> 'tis a sticky state
[2010/07/19 16:33:05] <jamesturnbull> mindless: see update to ticket
[2010/07/19 16:33:36] <jamesturnbull> mindless: with that updated manifests I get no errors
[2010/07/19 16:33:46] <mindless> lmc
[2010/07/19 16:34:14] <jamesturnbull> mindless: note added "msg =>" to the define call
[2010/07/19 16:35:14] <mindless> jamesturnbull: sorry, doing too many things at once.. my test file does have "msg =>"
[2010/07/19 16:35:54] <jamesturnbull> gepetto: pastie url me
[2010/07/19 16:36:19] <jamesturnbull> mindless: http://pastie.org/1051294 weird
[2010/07/19 16:36:55] <mindless> hm
[2010/07/19 16:46:12] @ Quit: squirrel_labs: Ping timeout: 248 seconds
[2010/07/19 16:47:17] <joe-mac> Volcane: thanks for your help
[2010/07/19 16:47:27] <joe-mac> pulled your code into mine as a regular ruby function and it works fine
[2010/07/19 16:49:15] @ Quit: bug: Quit: bug
[2010/07/19 16:52:35] @ squirrel_labs joined channel #puppet
[2010/07/19 16:53:43] @ ahuman joined channel #puppet
[2010/07/19 16:55:08] <mindless> jamesturnbull: ok, filed the real nested-define error I had.. just filed that other one when I hit a pson problem trying to construct the test case
[2010/07/19 16:55:20] @ Quit: jab_doa: Quit: Verlassend
[2010/07/19 16:55:42] <mindless> last one for today, really!
[2010/07/19 16:55:46] @ bgupta joined channel #puppet
[2010/07/19 16:57:38] @ Quit: squirrel_labs: Ping timeout: 252 seconds
[2010/07/19 16:57:41] @ plathrop is now known as plathrop-away
[2010/07/19 16:58:10] @ Quit: gniks: Ping timeout: 265 seconds
[2010/07/19 17:00:40] @ jschairb joined channel #puppet
[2010/07/19 17:04:56] @ Quit: ahuman: Remote host closed the connection
[2010/07/19 17:05:06] @ littleidea joined channel #puppet
[2010/07/19 17:06:50] @ Quit: \ask: Remote host closed the connection
[2010/07/19 17:06:59] @ Quit: bodepd: Quit: bodepd
[2010/07/19 17:07:09] @ Quit: littleidea: Read error: Connection reset by peer
[2010/07/19 17:08:05] @ littleidea joined channel #puppet
[2010/07/19 17:14:13] <jamesturnbull> mindless: nah it's all good - it's important we find these
[2010/07/19 17:14:33] <mindless> :-)
[2010/07/19 17:16:23] @ Quit: littleidea: Quit: littleidea
[2010/07/19 17:16:33] <mindless> ok, adjusted my #4233 patch as markus suggested and #4293 is ok
[2010/07/19 17:16:34] <gepetto> mindless: ok: #4233 is http://projects.puppetlabs.com/issues/show/4233 "Puppet - Bug #4233: Catalogs fail to deserialize if resources contain a newline in the title - Puppet Labs"
[2010/07/19 17:16:34] <gepetto> mindless: ok: #4293 is http://projects.puppetlabs.com/issues/show/4293 "Puppet - Bug #4293: Define and use a define within a class - Puppet Labs"
[2010/07/19 17:16:47] <jamesturnbull> mindless: we've got it I think - try replacing the regex on line 60 of lib/r ... ahh :)
[2010/07/19 17:17:02] <jamesturnbull> mindless: and 4294 works for me also
[2010/07/19 17:17:09] <mindless> trying now
[2010/07/19 17:17:51] @ M- joined channel #puppet
[2010/07/19 17:17:56] <mindless> no, that one still failed
[2010/07/19 17:17:58] <markus> I've extended my 4285 branch to include the patch for 4293 (needed to be there since the fixes are cumulative).
[2010/07/19 17:19:00] <mindless> ah, no it's ok after puppetmasterd restart
[2010/07/19 17:19:33] <jamesturnbull> mindless: cool - the easiest way to test BTW is to create a pp file and run puppet manifest.pp
[2010/07/19 17:19:55] <mindless> kthx
[2010/07/19 17:20:00] @ MxxCon joined channel #puppet
[2010/07/19 17:20:02] @ plathrop-away is now known as plathrop
[2010/07/19 17:20:31] @ MxxCon left channel #puppet ()
[2010/07/19 17:21:11] @ gniks joined channel #puppet
[2010/07/19 17:21:22] <jamesturnbull> mindless: saves the client/server hassle etc
[2010/07/19 17:21:28] <mindless> right
[2010/07/19 17:21:44] @ bodepd joined channel #puppet
[2010/07/19 17:25:08] <jmslagle> Oooh
[2010/07/19 17:25:19] <jmslagle> joe-mac: You making puppet document your boxes?
[2010/07/19 17:26:34] @ Quit: nevyn: Ping timeout: 276 seconds
[2010/07/19 17:27:01] <joe-mac> jmslagle: yes and it's working pretty well right now
[2010/07/19 17:27:08] <joe-mac> i need to fix the part that builds a table of NICs
[2010/07/19 17:27:29] <joe-mac> but other than that it shows allt he imoportant facts, some important varioables i set, and the primary secondary and tertiary contacts for the box
[2010/07/19 17:27:48] <joe-mac> i need to figure out a way to add a primary service indicator in there
[2010/07/19 17:27:54] <joe-mac> but, i gotta go to the DC
[2010/07/19 17:28:05] <joe-mac> esxi box crashed and it just so happens to be one i don't have the ilo pass for
[2010/07/19 17:28:05] <joe-mac> joy
[2010/07/19 17:28:07] <jamesturnbull> jmslagle: also built into 2.6.0 is a Facts REST terminus - this allows you to export all the facts into a DB - we've used CouchDB - or into your CMDB etc
[2010/07/19 17:28:08] @ nevyn joined channel #puppet
[2010/07/19 17:28:32] <jamesturnbull> jmslagle: call the URL and pass it the node name and Puppet spits out everything it knows abut the host
[2010/07/19 17:28:48] <jmslagle> Cool
[2010/07/19 17:28:51] <joe-mac> o shit i wish i had known that was cioming
[2010/07/19 17:29:03] <jmslagle> We use confluence so thats extra cool
[2010/07/19 17:29:11] <joe-mac> jmslagle: yea that is wh at i did this with
[2010/07/19 17:29:19] <joe-mac> get the confluence cli
[2010/07/19 17:29:23] <joe-mac> let me paste you the code
[2010/07/19 17:29:23] <jmslagle> Yeah
[2010/07/19 17:29:25] <jmslagle> I have it
[2010/07/19 17:29:29] <jmslagle> Cool :D
[2010/07/19 17:30:28] <joe-mac> http://www.pastie.org/1051350
[2010/07/19 17:30:32] <joe-mac> it's super easy actually
[2010/07/19 17:30:34] <jmslagle> I'm waiting for 2.6.0 to hit EPEL or testing to play
[2010/07/19 17:30:35] @ Quit: PhabX: Remote host closed the connection
[2010/07/19 17:30:41] @ Quit: tim|mac: Quit: Coyote finally caught me
[2010/07/19 17:31:42] <joe-mac> the idea is jmslagle the top part of the page is all auto generated, then you can leave comments when you do work on it etc
[2010/07/19 17:31:48] <joe-mac> also, i created a nagios automation user
[2010/07/19 17:31:56] <joe-mac> i plan on adding comments during downtime etc automatically from nagios
[2010/07/19 17:32:22] @ Quit: nevyn: Ping timeout: 245 seconds
[2010/07/19 17:32:29] <jmslagle> That's a good idea
[2010/07/19 17:32:31] <jmslagle> We use nagios
[2010/07/19 17:32:40] <jmslagle> Have you seen pagerduty?
[2010/07/19 17:32:43] <joe-mac> alas, a cgi and hostextinfo in nagios will probably be a more optimal solution once there is a Facts thing for the REST api
[2010/07/19 17:32:46] <jmslagle> It's not free, but it's kinda neat
[2010/07/19 17:32:48] <joe-mac> no, i';m unfamiliar
[2010/07/19 17:32:52] <joe-mac> send me a link i'll look tomorrow
[2010/07/19 17:32:53] <joe-mac> i gotta jet
[2010/07/19 17:33:06] <jmslagle> Ok
[2010/07/19 17:35:02] @ Quit: jmccune: Ping timeout: 252 seconds
[2010/07/19 17:35:19] @ Quit: jmccune__: Ping timeout: 276 seconds
[2010/07/19 17:35:38] @ Quit: jmccune_: Ping timeout: 240 seconds
[2010/07/19 17:36:26] <jamesturnbull> jmslagle: there are RPMs in tmz's repo I think
[2010/07/19 17:36:50] <jamesturnbull> jmslagle: you like pagerduty? I'm abut to take a look
[2010/07/19 17:36:55] @ tim|mac joined channel #puppet
[2010/07/19 17:37:22] <jmslagle> I'm looking at it.
[2010/07/19 17:37:33] <jmslagle> Probably start a trial soon...
[2010/07/19 17:37:48] <jmslagle> I like that it seems to have good escalation and will call and SMS with replies for acknowledge
[2010/07/19 17:37:55] <jmslagle> and it has a nagios plugin to make it easy to use.
[2010/07/19 17:38:51] @ clearls joined channel #puppet
[2010/07/19 17:39:14] @ nevyn joined channel #puppet
[2010/07/19 17:39:37] <clearls> hello - was wondering if someone could point me in the right direction for figuring out how to install rpm packages that depend on one another via puppet.
[2010/07/19 17:39:46] @ beata joined channel #puppet
[2010/07/19 17:40:29] <tmz> jmslagle: Definitely appreciate any testing you can do on the 2.6.0 packages. Before we plan on an update for EPEL, we want to be very sure that there aren't nasty surpirses waiting for folks in the update. :)
[2010/07/19 17:42:09] @ Quit: jschairb: Quit: jschairb
[2010/07/19 17:42:10] <jmslagle> Ok
[2010/07/19 17:42:20] <jmslagle> Gimme info on your repo and I'll beat on it :D
[2010/07/19 17:43:19] <jmslagle> I'm actually in the process of replacing my puppet architecture/base systems architecture with "Infrastructure v2" so I have a good sized amount of stuff setup to test that
[2010/07/19 17:43:39] <jmslagle> Moving to all x86_64 instead of i386 and 389 dir server instead of openldap etc.
[2010/07/19 17:43:58] <jmslagle> And being a little... smarter... with my puppet stuff - learned a lot since I started.
[2010/07/19 17:44:00] <fenris02> jmslagle, nice. doing exactly the same here.
[2010/07/19 17:44:07] <jmslagle> Although I still haven't solved the keytab problem :P
[2010/07/19 17:44:26] <_^Sarge^_> jmslagle: it's pretty easy
[2010/07/19 17:45:01] <jmslagle> the keytab problem?
[2010/07/19 17:45:10] <_^Sarge^_> And if I could be bothered I wouldn't need puppet to run its catalog 3 times to satisfy dependencies to join the domain
[2010/07/19 17:45:45] <_^Sarge^_> jmslagle: for krb5?
[2010/07/19 17:45:50] <jmslagle> How's it easy if the puppetmaster isn't the kerberos box.
[2010/07/19 17:46:12] <jmslagle> Need to store secret mojo to run admin then I would guess
[2010/07/19 17:46:20] <_^Sarge^_> Our windows dc is the krb box
[2010/07/19 17:46:25] <jmslagle> Ahh :P
[2010/07/19 17:47:01] <_^Sarge^_> I gave it to my pfy took him a lil while to figure out
[2010/07/19 17:47:09] @ Djelibeybi joined channel #puppet
[2010/07/19 17:47:30] <_^Sarge^_> And if he hadn't been lazy he would have taken care of dependencies so it would join the domain on first run
[2010/07/19 17:48:30] <_^Sarge^_> The other thing we did was create a script that did the netjoin
[2010/07/19 17:48:40] <tmz> jmslagle: To enable for EPEL, grab http://tmz.fedorapeople.org/repo/puppet/epel/puppet.repo and drop it in /etc/yum.repos.d. Then just yum update and cross your fingers. :)
[2010/07/19 17:48:52] <jmslagle> Hahaha
[2010/07/19 17:48:55] <jmslagle> Awesome
[2010/07/19 17:49:10] <tmz> Any packaging bugs I'm happy to hear about. General bugs should go to redmine, of course.
[2010/07/19 17:51:42] @ plathrop is now known as plathrop-away
[2010/07/19 17:52:59] <jmslagle> Well puppetmaster started :)
[2010/07/19 17:53:07] <jmslagle> After whining about my config of course
[2010/07/19 17:53:41] <jmslagle> And I'm back to my storeconfigs issue
[2010/07/19 17:53:47] <jmslagle> Which I'll figure out in the morning
[2010/07/19 17:53:58] <jmslagle> Need to figure out the magic of environments and storeconfigs
[2010/07/19 17:54:02] @ plathrop-away is now known as plathrop
[2010/07/19 17:54:04] <tmz> Heh, yeah we can't go sed'ing folks configs for those warning. But the new configs shipped in the packages should be correct.
[2010/07/19 17:54:25] <jmslagle> I'll update my puppet module as soon as I fix the storeconfigs issue :)
[2010/07/19 17:54:29] <jamesturnbull> tmz: but it only a warning
[2010/07/19 17:54:35] <jamesturnbull> tmz: everything will run fine
[2010/07/19 17:54:48] <tmz> jamesturnbull: Yeah, no worries.
[2010/07/19 17:55:34] <tmz> jamesturnbull: Any value in making it debug instead? Probably not, as no one would notice them then, I guess.
[2010/07/19 17:55:59] <jamesturnbull> tmz: yeah that was my thought
[2010/07/19 17:57:48] <tmz> jamesturnbull: If that's the biggest thing that an update changes, I'll be quite happy.
[2010/07/19 17:58:10] <tmz> As of rc3, it works on my local manifests without changes, as far as I can tell.
[2010/07/19 17:58:25] <tmz> I need to make time to feed it something more substantial.
[2010/07/19 17:58:36] <jamesturnbull> tmz: we think so - we've turned over a handful of bugs in the last 24 hours - most of them pretty annoying and minor but still need to be fixed
[2010/07/19 17:58:42] <tmz> Or just hope that enough folks test it from my fedorapeople repo to draw out issues.
[2010/07/19 17:58:50] <jamesturnbull> and if we have to do .1 fast then ... so be it
[2010/07/19 17:58:59] <jamesturnbull> we've only ever had to do that once
[2010/07/19 17:59:16] <tmz> If it has to be. Best to have a really solid .0 a week later than you wanted.
[2010/07/19 17:59:27] <tmz> Not that I'm telling you anything you don't know.
[2010/07/19 18:00:14] @ dooal2a joined channel #puppet
[2010/07/19 18:00:37] <tmz> jamesturnbull: Congrats to all at PL on the new funding BTW.
[2010/07/19 18:00:45] <jmslagle> Ok - james will have to know :P
[2010/07/19 18:00:49] <dooal2a> any one see a problem with the following code. http://pastebin.ca/1904086 it is giving me this " Could not retrieve catalog: Could not find class rtb_base at /etc/puppet/site/phx/manifests/templates.pp:108 on node pbid001.phx"
[2010/07/19 18:01:02] <jmslagle> Is there a config option to specify per environment storeconfigs?
[2010/07/19 18:01:19] <dooal2a> if i remove the file statement it works
[2010/07/19 18:01:40] <jmslagle> Wait
[2010/07/19 18:01:45] * jmslagle kicks his puppet module
[2010/07/19 18:01:53] <jmslagle> It wrote the client config to my master I think.
[2010/07/19 18:03:29] <jamesturnbull> tmz: thanks
[2010/07/19 18:04:31] @ Quit: rcrowley: Quit: rcrowley
[2010/07/19 18:05:02] <Djelibeybi> jamesturnbull: when do we see Puppet Dashboard working with Oracle, btw? :p
[2010/07/19 18:05:13] <jamesturnbull> Djelibeybi: when Oracle pays for it? :P
[2010/07/19 18:05:29] <jamesturnbull> Djelibeybi: that'll be one billion dollars :)
[2010/07/19 18:05:43] <Djelibeybi> jamesturnbull: is your pinky up? It doesn't count unless your pinky is up.
[2010/07/19 18:07:30] <jamesturnbull> Djelibeybi: actually it was
[2010/07/19 18:07:45] * fenris02 wants to see dashboard with sqlite :)
[2010/07/19 18:08:09] * Djelibeybi quite likes running storeconfigs to a RAC instance
[2010/07/19 18:08:17] <Djelibeybi> It's very, very fast.
[2010/07/19 18:11:22] <jmslagle> Hrm
[2010/07/19 18:11:30] <jmslagle> Does puppet agent not accept --environment?
[2010/07/19 18:12:57] <jmslagle> It appears not to.
[2010/07/19 18:14:23] * jmslagle checks redmine
[2010/07/19 18:15:11] <dooal2a> FYI the puppet version from the dag repo is way old and does not take --environment
[2010/07/19 18:16:47] <fenris02> dooal2a, why are you using the dag repo for that? isnt the current one in epel ?
[2010/07/19 18:17:40] <dooal2a> fenris02, I am not, was tryn to help out jmslagle
[2010/07/19 18:17:48] @ jmccune joined channel #puppet
[2010/07/19 18:17:51] @ jmccune_ joined channel #puppet
[2010/07/19 18:17:52] @ jmccune__ joined channel #puppet
[2010/07/19 18:19:49] <dooal2a> any one see a problem with the following code. http://pastebin.ca/1904086
[2010/07/19 18:19:57] <dooal2a> it is giving me this " Could not retrieve catalog: Could not find class rtb_base at /etc/puppet/site/phx/manifests/templates.pp:108
[2010/07/19 18:21:12] @ plathrop is now known as plathrop-away
[2010/07/19 18:21:49] @ jschairb joined channel #puppet
[2010/07/19 18:22:16] <jmslagle> Nah - this is 2.6.0rc4
[2010/07/19 18:23:43] <jmslagle> Yeah - def missing
[2010/07/19 18:23:44] <jmslagle> puppetd --test --environment=development
[2010/07/19 18:23:47] <jmslagle> doesn't work anymore
[2010/07/19 18:28:33] @ Quit: mindless: Quit: kthxbye
[2010/07/19 18:29:01] * jmslagle files bug.
[2010/07/19 18:29:44] @ Quit: dooal2a: Quit: Page closed
[2010/07/19 18:30:02] @ plathrop-away is now known as plathrop
[2010/07/19 18:31:23] <jmslagle> Oh what the hell, NOW it works.
[2010/07/19 18:31:51] @ Quit: bodepd: Quit: bodepd
[2010/07/19 18:32:24] <jamesturnbull> jmslagle: what changed?
[2010/07/19 18:33:47] <jmslagle> I'm looking
[2010/07/19 18:34:26] <jmslagle> I kicked the puppetmaster
[2010/07/19 18:34:31] <jmslagle> but I tried that once.
[2010/07/19 18:37:20] <jmslagle> And now again.
[2010/07/19 18:39:19] <jmslagle> Ok this is wacky.
[2010/07/19 18:40:29] <jmslagle> http://pastie.org/1051418
[2010/07/19 18:40:34] @ physicspackage joined channel #puppet
[2010/07/19 18:40:38] <jmslagle> It fails the first 2 times I run puppetd against it
[2010/07/19 18:40:45] <jmslagle> and fails with an entirely different error the third time.
[2010/07/19 18:41:36] @ Quit: WALoeIII: Quit: Bai.
[2010/07/19 18:41:37] <jmslagle> My production enviroment is empty right now, so it can't find modules.pp
[2010/07/19 18:44:35] @ Quit: physicspackage: Client Quit
[2010/07/19 18:45:30] @ bodepd joined channel #puppet
[2010/07/19 18:46:07] @ bodepd left channel #puppet ()
[2010/07/19 18:47:09] @ littleidea joined channel #puppet
[2010/07/19 18:49:21] @ Quit: Hypnoz: Ping timeout: 240 seconds
[2010/07/19 18:50:28] <clearls> hello - was wondering if someone could point me in the right direction for figuring out how to install rpm packages that depend on one another via puppet. Google isn't being good to me today. :(
[2010/07/19 18:51:23] @ bug joined channel #puppet
[2010/07/19 18:52:42] <jmslagle> Is yum not an option?
[2010/07/19 18:56:04] @ Quit: jaredrhine: Quit: Leaving.
[2010/07/19 18:56:28] @ rcrowley joined channel #puppet
[2010/07/19 18:57:40] <Djelibeybi> clearls: use the package {} type with yum properly configured. yum will handle the dependencies for you.
[2010/07/19 18:58:39] <agaffney> if yum isn't an option, you can make liberal use of require => Package["foo"]
[2010/07/19 18:59:27] <Djelibeybi> agaffney: while that would work, I personally would hate to manage that level of manual dependency hell. :p
[2010/07/19 18:59:39] <agaffney> indeed
[2010/07/19 18:59:44] <agaffney> which is why yum exists ;)
[2010/07/19 18:59:46] <clearls> yeah, yum isn't really an option at this point - I will investigate that more; thank you very much
[2010/07/19 18:59:55] <clearls> very appreciated
[2010/07/19 19:00:01] <agaffney> what distro is this that yum isn't an option?
[2010/07/19 19:00:20] <Djelibeybi> clearls: yum is as simple as a webserver. You could even run that on your puppet master (we do in several places)
[2010/07/19 19:01:39] <clearls> change process dictates that it'll take me a few weeks to get that set up
[2010/07/19 19:02:36] <agaffney> ewww
[2010/07/19 19:04:04] <Djelibeybi> Ah, change management for the win.
[2010/07/19 19:04:30] <Djelibeybi> clearls: where are you installing the rpm packages from now, btw?
[2010/07/19 19:04:40] <clearls> local repo
[2010/07/19 19:04:52] <Djelibeybi> clearls: so why can't you just add that local repo to your puppet clients?
[2010/07/19 19:04:59] <Djelibeybi> Using the yumrepo {} type
[2010/07/19 19:05:27] <clearls> cos it involves installing yum on 500 servers
[2010/07/19 19:05:34] @ Quit: lak: Quit: lak
[2010/07/19 19:07:18] @ Quit: nanliu: Quit: nanliu
[2010/07/19 19:08:18] @ thekad is now known as thekad-afk
[2010/07/19 19:09:30] @ bodepd joined channel #puppet
[2010/07/19 19:10:05] @ bodepd left channel #puppet ()
[2010/07/19 19:10:37] <Djelibeybi> clearls: oh, so your boxes don't even have the yum client? Wow.
[2010/07/19 19:11:01] <clearls> truth - we run sles, unfortunately
[2010/07/19 19:11:43] <Djelibeybi> clearls: ah, ok. I am unfamiliar with sles
[2010/07/19 19:13:02] <fenris02> sles has some dep-management tool, but i forget the name
[2010/07/19 19:13:58] <fenris02> smart? is that it?
[2010/07/19 19:14:05] <Djelibeybi> fenris02: I would've thought this was a job for yast2 or something
[2010/07/19 19:14:18] <Djelibeybi> But I'm not sure if yast actually does package installation or just system management
[2010/07/19 19:14:45] <fenris02> oh. been a while since i touched suse/novl/sles boxes.
[2010/07/19 19:15:05] <Djelibeybi> Yeah, same.
[2010/07/19 19:15:29] @ alexine_dsouza joined channel #puppet
[2010/07/19 19:15:30] <Djelibeybi> Though, I know we (Oracle) ported yast2 to RHEL/OEL. I still don't understand why, though.
[2010/07/19 19:15:47] <clearls> yast is garbage, i stay away from it whenever i can
[2010/07/19 19:16:38] <fenris02> Djelibeybi, are you in the oel group ?
[2010/07/19 19:17:15] @ |GuS| joined channel #puppet
[2010/07/19 19:17:15] @ Quit: |GuS|: Changing host
[2010/07/19 19:17:15] @ |GuS| joined channel #puppet
[2010/07/19 19:17:16] <Djelibeybi> fenris02: I'm affiliated. I work for Oracle Advanced Customer Services as a Linux/VM Engineer
[2010/07/19 19:17:18] @ Quit: |GuS|: Remote host closed the connection
[2010/07/19 19:17:32] @ [GuS] joined channel #puppet
[2010/07/19 19:17:35] <fenris02> Djelibeybi, ah, ok. i used to know a few folks in the group. just curious is all
[2010/07/19 19:17:56] <Djelibeybi> fenris02: I know a lot of the guys in the engineering team now, though. I spent a couple of weeks in SFO last year
[2010/07/19 19:18:28] <fenris02> cool
[2010/07/19 19:19:36] <jmslagle> zypper
[2010/07/19 19:19:38] @ Quit: Bass10: Ping timeout: 240 seconds
[2010/07/19 19:19:57] <jmslagle> that's the sles tool to do it
[2010/07/19 19:21:27] <jmslagle> What's the proper way to do template sourcing from a module with environments?
[2010/07/19 19:22:25] <fenris02> Package {provider => zypper} ?
[2010/07/19 19:22:35] <Djelibeybi> jmslagle: not sure I understand the question. Each environment has its own module path, so the templates would be in modules/foo/templates
[2010/07/19 19:22:44] <jmslagle> Yeah that's what I figured too.
[2010/07/19 19:22:45] <jmslagle> content => template("puppet/master/puppet.conf.erb"),
[2010/07/19 19:23:13] <jmslagle> That seems to be sourcing the file from the production version of that template though
[2010/07/19 19:23:47] <jmslagle> Actually it's not
[2010/07/19 19:23:59] * jmslagle is really confused now :P
[2010/07/19 19:24:33] @ plathrop is now known as plathrop-away
[2010/07/19 19:25:08] @ Quit: littleidea: Quit: littleidea
[2010/07/19 19:25:26] <Djelibeybi> jmslagle: step away from the keyboard and have a break. :)
[2010/07/19 19:25:32] <jmslagle> Yeah
[2010/07/19 19:25:37] <jmslagle> Environments are new to me
[2010/07/19 19:25:42] <jmslagle> and they're making my head hurt :)
[2010/07/19 19:26:20] <Djelibeybi> I love environments
[2010/07/19 19:26:30] <Djelibeybi> jmslagle: though, you should also perhaps look at run stages in 2.6
[2010/07/19 19:26:44] <jmslagle> I'm using it for dev, etc
[2010/07/19 19:26:45] * Djelibeybi is planning on scrapping some environments in favour of run stages
[2010/07/19 19:26:53] <jmslagle> Not for kickstarting puppet
[2010/07/19 19:27:04] <Djelibeybi> Ah. I have totally separate puppet masters for dev/test/pre-prod
[2010/07/19 19:27:22] <Djelibeybi> So that the config matches from one (non-puppet) environment to another
[2010/07/19 19:27:30] <jmslagle> Yeah
[2010/07/19 19:27:40] <jmslagle> My environment isn't big enough to justify that :)
[2010/07/19 19:28:11] <Djelibeybi> jmslagle: well, can be done using VMs (which is what we use). Though, our production environment is big and ugly enough to justify it
[2010/07/19 19:28:12] @ Bass10 joined channel #puppet
[2010/07/19 19:28:52] <fenris02> even for a dozen hosts, cobbler/puppet/func can make a large difference.
[2010/07/19 19:29:17] <jmslagle> I do cobbler/puppet
[2010/07/19 19:29:22] <hMz> its entirely about reproducibility
[2010/07/19 19:29:25] <jmslagle> I have func installed everywhere but don't do a lot with it yet.
[2010/07/19 19:29:25] <hMz> imo
[2010/07/19 19:29:29] @ Quit: rcrowley: Quit: rcrowley
[2010/07/19 19:29:45] <jmslagle> I mean to justify having a seperate puppetmaster instead of environments
[2010/07/19 19:29:52] <Djelibeybi> We use Oracle Enterprise Manager + puppet, which is roughly the same thing, just with a much larger footprint (sigh).
[2010/07/19 19:29:56] <hMz> ... vms are cheap
[2010/07/19 19:30:13] <jmslagle> actually they're only SOMEWHAT cheap :)
[2010/07/19 19:30:13] @ bodepd joined channel #puppet
[2010/07/19 19:30:19] <jmslagle> Over a certain value, memory is expensive
[2010/07/19 19:30:30] <jmslagle> and growing my vmware cluster from 3 to 4 nodes is expensive ;)
[2010/07/19 19:30:33] <hMz> i mean, once you have the infrastructure its all free from there!
[2010/07/19 19:30:45] <jmslagle> Man
[2010/07/19 19:30:45] <hMz> :D
[2010/07/19 19:30:50] <jmslagle> OEM 11 is a monster.
[2010/07/19 19:31:12] <jmslagle> I think it's like 15g installed or something insane like that.
[2010/07/19 19:31:16] @ AimanA joined channel #puppet
[2010/07/19 19:31:18] <jmslagle> We only use it for oracle
[2010/07/19 19:32:12] <Djelibeybi> jmslagle: yeah, 11gR1 is massive. But, a great upgrade from 10gR5 and finally runs on WebLogic.
[2010/07/19 19:32:27] <jmslagle> What did 10g run on? Tomcat?
[2010/07/19 19:32:30] <Djelibeybi> jmslagle: you should look at Oracle VM ... much cheaper than VMware. :p
[2010/07/19 19:32:36] <Djelibeybi> jmslagle: Oracle Application Server (oc4j)
[2010/07/19 19:32:45] <jmslagle> Ahh
[2010/07/19 19:32:49] <Djelibeybi> Essentially, Oracle Containers for Java.
[2010/07/19 19:32:50] <jmslagle> Yeah - duh :P
[2010/07/19 19:33:22] <jmslagle> No Xen based stuff. We're in bed with vmware all the way :)
[2010/07/19 19:33:30] @ Quit: jmccune_: Quit: leaving
[2010/07/19 19:33:30] @ Quit: jmccune__: Quit: leaving
[2010/07/19 19:36:27] <jmslagle> <-- VCP :P
[2010/07/19 19:37:14] <Djelibeybi> jmslagle: well, if you enjoy losing 50% of your performance... :p
[2010/07/19 19:38:25] <jmslagle> vs paravirtualized?
[2010/07/19 19:38:52] <jmslagle> If I was even remotely CPU bound it'd be a different story
[2010/07/19 19:39:04] <jmslagle> as it stands, my 3 node cluster seems 15% CPU max :)
[2010/07/19 19:39:11] <Djelibeybi> jmslagle: yeah. I'm actually at IBM right now doing physical vs virtual RAC performance benchmarks.
[2010/07/19 19:39:24] <jmslagle> page sharing is much more interesting to me :D
[2010/07/19 19:39:38] <jmslagle> Ahh
[2010/07/19 19:39:44] <jmslagle> All our DB servers are physical
[2010/07/19 19:39:47] <jmslagle> No RAC though yet.
[2010/07/19 19:39:50] <jmslagle> Too damn expensive :P
[2010/07/19 19:39:58] <Djelibeybi> jmslagle: take a look at Transcendent Memory: http://oss.oracle.com/projects/tmem/
[2010/07/19 19:41:01] <jmslagle> Interesting
[2010/07/19 19:41:14] <jmslagle> vmware with tools running actually does really well memory wise
[2010/07/19 19:41:18] <jmslagle> with page shareing and that
[2010/07/19 19:42:07] <Djelibeybi> jmslagle: yeah, for certain workloads. Tends to murder an Oracle RDBMS instance, though. :)
[2010/07/19 19:42:19] <jmslagle> Yeah probably
[2010/07/19 19:42:26] <jmslagle> Like I said though, our DB servers are all physical :)
[2010/07/19 19:43:15] <clearls> i'll have to stick with require => Package['foo']; thanks much yo!
[2010/07/19 19:43:24] @ Quit: clearls: Quit: cheers
[2010/07/19 19:43:57] <jmslagle> Oh :P
[2010/07/19 19:44:11] <jmslagle> Whats with the IE dependancy of the explain plain graphs in EM 11g :P
[2010/07/19 19:44:18] <jmslagle> And even worse!
[2010/07/19 19:44:30] <jmslagle> It depends on the SVG plugin which was desupported years ago :P
[2010/07/19 19:44:55] @ \ask joined channel #puppet
[2010/07/19 19:45:21] <Djelibeybi> jmslagle: yeah, I refuse to answer that on the grounds that it might incriminate me. Also, I think it uses Flash in 11gR1.
[2010/07/19 19:45:31] <Djelibeybi> anyhoo, I'm afk for a bit.
[2010/07/19 19:46:12] <jmslagle> We're running 11gr1 :)
[2010/07/19 19:48:06] <jmslagle> Thanks for the good chat
[2010/07/19 19:49:40] @ Quit: \ask: Ping timeout: 248 seconds
[2010/07/19 19:52:01] @ Quit: muckraker: Remote host closed the connection
[2010/07/19 19:56:44] @ littleidea joined channel #puppet
[2010/07/19 20:00:06] @ Quit: littleidea: Client Quit
[2010/07/19 20:02:28] <jmslagle> Aha. Interesting buglet. Prod has to work for other environments to work when you start puppetmaster
[2010/07/19 20:02:29] @ littleidea joined channel #puppet
[2010/07/19 20:04:45] @ Quit: achester: Remote host closed the connection
[2010/07/19 20:08:50] @ rcrowley joined channel #puppet
[2010/07/19 20:12:04] @ \ask joined channel #puppet
[2010/07/19 20:25:13] @ cyrus_mc joined channel #puppet
[2010/07/19 20:25:50] <cyrus_mc> is there a way to do regular expression matches on a tag in an if statement. For isntance I have tags such as wes_dev, wes_tqa, wes_prod.
[2010/07/19 20:26:28] <cyrus_mc> so instead of having to do if (tagged(wes_dev) or (tagged(wes_prod), etc, etc I could just do a reg expression match on the tag to see if it contains the keyword wes
[2010/07/19 20:27:32] <Djelibeybi> cyrus_mc: does if =~ '/wes_*/' work?
[2010/07/19 20:27:37] * Djelibeybi is guessing, btw.
[2010/07/19 20:28:01] <Djelibeybi> cyrus_mc: http://projects.puppetlabs.com/issues/2033
[2010/07/19 20:28:40] <Djelibeybi> cyrus_mc: looks like regex on if was committed over a year ago
[2010/07/19 20:31:31] <cyrus_mc> Djelibeybi: looks like that is what I want, but that is doing it on a variable. For tags, the way I have seen it done in an if statement is - if (tagged(wes_prod)) { ... }
[2010/07/19 20:31:48] <cyrus_mc> not sure how I would put that in a regex match
[2010/07/19 20:31:56] <Djelibeybi> cyrus_mc: ah, I see. yeah, not sure either. :)
[2010/07/19 20:32:03] <cyrus_mc> if (tagged =~ /wes/)
[2010/07/19 20:32:10] <cyrus_mc> not sure that would work...
[2010/07/19 20:32:26] <cyrus_mc> Djelibeybi: .. I had another idea but it didn't work..maybe you can help on that...
[2010/07/19 20:32:42] @ Quit: [GuS]: Remote host closed the connection
[2010/07/19 20:32:46] <cyrus_mc> i have a default node .. like node all_base { }
[2010/07/19 20:33:00] <cyrus_mc> in all_base I have include nsswitch for isntance...
[2010/07/19 20:33:33] <cyrus_mc> the nsswitch class deploys an nsswitch to the environemtn, however based on the type of system I wanted to make the nsswitch class intelligent enough to deploy the correct file
[2010/07/19 20:33:46] <Djelibeybi> cyrus_mc: how do you determine type of system?
[2010/07/19 20:33:48] <cyrus_mc> so in the nsswitch class I put something like if (tagged(wes)) { ... }
[2010/07/19 20:34:16] @ Quit: mclarke: Quit: mclarke
[2010/07/19 20:34:19] <cyrus_mc> then, in a subsequent node I did ... node wes_dev inherits all_base { tag(wes) }
[2010/07/19 20:34:35] <cyrus_mc> however, since the include nsswitch was in the parent node when it runs it doesn't see the tag wes.
[2010/07/19 20:34:45] <Djelibeybi> cyrus_mc: I would write a fact for that
[2010/07/19 20:34:53] <Djelibeybi> Then in nsswitch you use if $fact {}
[2010/07/19 20:35:04] <cyrus_mc> well....not sure how I would do that..there is nothing on the system that classifies it as a wes dev system, etc
[2010/07/19 20:35:14] <cyrus_mc> that fact is just determined on the purpose of the system
[2010/07/19 20:35:17] <cyrus_mc> which is arbitrary
[2010/07/19 20:35:18] <Djelibeybi> cyrus_mc: how about fqdn? Can't you regex on that?
[2010/07/19 20:35:38] <cyrus_mc> ya..the fqdn doesn't actually contain wes...this was just an example
[2010/07/19 20:36:02] <cyrus_mc> in the end I would have a third node like node 'lv2152p' inheritst wes_dev { ... }
[2010/07/19 20:36:37] <Djelibeybi> cyrus_mc: I suspect you'd need to use an external node classifier or extlookup perhaps
[2010/07/19 20:36:44] <cyrus_mc> k
[2010/07/19 20:37:08] <cyrus_mc> last question..if you don't mind. I was reading through the puppet documentation on the file module
[2010/07/19 20:37:52] <cyrus_mc> the first thing it says is that as puppet matures it is believed the file module will be used less and less in favor of native resources. In my limited puppet knoweldge I find myself usign the file module 99% of the time to push out a config file
[2010/07/19 20:38:09] <Djelibeybi> Sure
[2010/07/19 20:38:09] <cyrus_mc> but that first line in the documentatino leads me to believe I should be doing it a different way.
[2010/07/19 20:38:36] <Djelibeybi> cyrus_mc: you should use native resources wherever possible, and fail back to files when not.
[2010/07/19 20:38:48] <Djelibeybi> For example, use the yumrepo{} type instead of sending out a .repo file using the file{} type
[2010/07/19 20:38:50] @ Quit: jschairb: Quit: jschairb
[2010/07/19 20:39:00] <Djelibeybi> Same with host{} vs file { "/etc/hosts": }
[2010/07/19 20:40:00] <Djelibeybi> I guess it all depends on what you use the file{} type to achieve
[2010/07/19 20:40:50] <cyrus_mc> Djelibeybi: ok...ya...most of the time it is arbitray config files like nsswitch, sshd_config, pam configuration, Xorg config, sysctl.
[2010/07/19 20:41:00] <cyrus_mc> so file seems to be the best suited for that
[2010/07/19 20:41:11] <Djelibeybi> Yeah, I use file{} for that as well. Also, we use Augeas for things like sysctl and pam
[2010/07/19 20:41:30] <Djelibeybi> Augeas in 0.25.x and 2.6 is much improved in terms of performance.
[2010/07/19 20:42:14] <jmslagle> Hrm.
[2010/07/19 20:42:19] <jmslagle> Stupid storeconfigs :)
[2010/07/19 20:43:13] <Djelibeybi> jmslagle: storeconfigs rocks!
[2010/07/19 20:43:20] <jmslagle> Yeah
[2010/07/19 20:43:22] @ lak joined channel #puppet
[2010/07/19 20:43:30] <cyrus_mc> what are storeconfigs?
[2010/07/19 20:43:31] <jmslagle> I've been beating my head on them for a few hours.
[2010/07/19 20:43:37] <jmslagle> And I'm sure it's something stupid.
[2010/07/19 20:44:03] <Djelibeybi> cyrus_mc: storeconfigs stores the state of each machine in a database. Allows you to collect and export resources between machines
[2010/07/19 20:44:25] <Djelibeybi> cyrus_mc: for example, new nodes could export a configuration file which is then collected by your Nagios monitoring system
[2010/07/19 20:44:31] <Djelibeybi> cyrus_mc: so, a node is automatically added to Nagios.
[2010/07/19 20:44:36] <Djelibeybi> jmslagle: what's the problem?
[2010/07/19 20:44:41] <jmslagle> Tonnerre: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find table 'hosts'
[2010/07/19 20:44:44] <cyrus_mc> Djelibeybi: cool
[2010/07/19 20:44:48] <jmslagle> Stupid nick completion.
[2010/07/19 20:44:53] <jmslagle> There
[2010/07/19 20:44:53] <jmslagle> err: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find table 'hosts'
[2010/07/19 20:44:59] <Djelibeybi> cyrus_mc: we use it to export private IP addresses to add to /etc/hosts on our internal management servers
[2010/07/19 20:45:02] <jmslagle> sqlite right now
[2010/07/19 20:45:11] <jmslagle> Yes, I use storeconfigs for nagios :)
[2010/07/19 20:45:14] <Djelibeybi> jmslagle: curious. Sounds like storeconfigs didn't create the schema properly
[2010/07/19 20:45:23] <jamesturnbull> jmslagle: ah I tihnk i know that one
[2010/07/19 20:45:46] <Djelibeybi> jmslagle: upgrade to Oracle! </not helpful>
[2010/07/19 20:45:52] <jmslagle> Hahahaha
[2010/07/19 20:46:03] <jmslagle> I could move the storeconfig to oracle :P
[2010/07/19 20:46:19] <jmslagle> It could go in the same instance as my vcenter stuff ;)
[2010/07/19 20:46:21] <jamesturnbull> jmslagle: TRY dbmigrate=true in your master's [puppetmasterd] block in your puppet.conf
[2010/07/19 20:46:31] <jamesturnbull> jmslagle: and then restart your master
[2010/07/19 20:47:10] <jamesturnbull> jmslagle: also this is sqlite?
[2010/07/19 20:47:12] <Djelibeybi> jmslagle: if you are vaguely interested, I can send you the blog post I wrote that is currently waiting publication
[2010/07/19 20:47:23] <jamesturnbull> jmslagle: have a read of #4028
[2010/07/19 20:47:23] <gepetto> jamesturnbull: jmslagle: #4028 is http://projects.puppetlabs.com/issues/show/4028 "Puppet - Bug #4028: puppetstoredconfigclean not working with sqlite3 - Puppet Labs"
[2010/07/19 20:47:23] <jmslagle> it's sqlite
[2010/07/19 20:47:45] <jamesturnbull> jmslagle: that's a known Rails SQlite problem that looks familiar from your errors
[2010/07/19 20:48:29] <jmslagle> Aha
[2010/07/19 20:48:53] <jmslagle> I should just point it at a mysql or oracle box.
[2010/07/19 20:48:58] <jmslagle> I'm taking babysteps though
[2010/07/19 20:49:36] <Djelibeybi> jmslagle: If you're on RHEL, getting mysql to work sucks because of the age of the Ruby
[2010/07/19 20:49:44] <Djelibeybi> jmslagle: I found PostgreSQL the simplest to get working on RHEL5.
[2010/07/19 20:49:56] <jmslagle> If I point it at mysql and dbmigrate it, will it create the necessary tables?
[2010/07/19 20:49:58] <Djelibeybi> (gem install mysql doesn't work because Ruby is too old)
[2010/07/19 20:50:03] <jmslagle> Ahh
[2010/07/19 20:50:47] <Djelibeybi> jmslagle: if you point it at anything, it should create the tables on the first puppet client connection after storeconfigs is activated
[2010/07/19 20:50:53] <jmslagle> ruby-mysql won't work from EPEL?
[2010/07/19 20:51:20] <Djelibeybi> jmslagle: it might. I hadn't tried it. :) I used PostgreSQL because I was more familiar with it
[2010/07/19 20:51:25] <jmslagle> Yeah
[2010/07/19 20:51:27] <Djelibeybi> jmslagle: this was before I wrote Oracle support. ;-)
[2010/07/19 20:51:30] <jmslagle> I prefer postgresql myself :P
[2010/07/19 20:51:38] <jmslagle> Because it has features ;)
[2010/07/19 20:51:58] <jmslagle> But I already have mysql running on another box because apparently most open source network management people don't like features :P
[2010/07/19 20:52:11] <Djelibeybi> Heh
[2010/07/19 20:52:20] <Djelibeybi> Our DBAs complain because MySQL doesn't have enough instrumentation
[2010/07/19 20:52:28] <Djelibeybi> They quite like AWR.
[2010/07/19 20:52:40] <jmslagle> According to the latest oracle magazine you added a bunch.
[2010/07/19 20:54:38] <Djelibeybi> Yes, I believe so. I haven't actually checked myself yet, though
[2010/07/19 20:57:52] <Djelibeybi> jmslagle: I think it's just part of the roadmap, but not actually added as yet.
[2010/07/19 20:59:37] <jmslagle> There - just moved to mysql
[2010/07/19 20:59:39] <jmslagle> that was painless.
[2010/07/19 21:00:12] @ Quit: jmccune: Ping timeout: 252 seconds
[2010/07/19 21:01:53] @ Quit: docelic_: Ping timeout: 264 seconds
[2010/07/19 21:01:57] <Djelibeybi> jmslagle: ruby-mysql worked ok then?
[2010/07/19 21:02:00] <jmslagle> yup
[2010/07/19 21:02:09] <Djelibeybi> Sweet. Good to know!
[2010/07/19 21:02:40] <jmslagle> Now to get rrdtool working
[2010/07/19 21:02:51] <jmslagle> I'm "rebooting" my puppet infrastructure
[2010/07/19 21:03:05] <jmslagle> Correcting the things I got wrong the first time
[2010/07/19 21:03:13] <jmslagle> So the first goal is to get puppet managing itself :D
[2010/07/19 21:03:40] @ Quit: bug: Quit: bug
[2010/07/19 21:03:40] @ Quit: \ask: Read error: Connection reset by peer
[2010/07/19 21:03:53] <Djelibeybi> jmslagle: nice plan! What do you want rrdtool for though?
[2010/07/19 21:04:24] <jmslagle> Reporting wants it. I'm working on dashboard though
[2010/07/19 21:04:37] @ \ask joined channel #puppet
[2010/07/19 21:04:43] <Djelibeybi> You don't have to use the rrdtool for reporting
[2010/07/19 21:04:50] <Djelibeybi> I found that it seriously impacts performance
[2010/07/19 21:04:57] * Djelibeybi just used Foreman for that
[2010/07/19 21:05:17] <jmslagle> How much functionality overlap is there between foreman and dashboard?
[2010/07/19 21:05:41] @ bug joined channel #puppet
[2010/07/19 21:11:27] @ bobbyz joined channel #puppet
[2010/07/19 21:14:00] <fenris02> seems like quite a bit from the wiki pages. dunno.
[2010/07/19 21:14:32] <jmslagle> Yeah
[2010/07/19 21:14:40] <jmslagle> Thats the impression I've gotten reading about them
[2010/07/19 21:14:46] <jmslagle> I'll try them both and see which I like
[2010/07/19 21:17:30] <Djelibeybi> jmslagle: Foreman has more features, especially around provisioning
[2010/07/19 21:31:02] <jmslagle> Off to bed - thanks all and night.
[2010/07/19 21:36:38] @ OpenMedia left channel #puppet ()
[2010/07/19 21:37:46] @ jmccune joined channel #puppet
[2010/07/19 21:43:38] @ Quit: bodepd: Quit: bodepd
[2010/07/19 22:02:46] @ mclarke joined channel #puppet
[2010/07/19 22:02:53] @ pastie joined channel #puppet
[2010/07/19 22:05:08] @ Quit: warreng: Quit: Leaving.
[2010/07/19 22:05:44] @ warreng joined channel #puppet
[2010/07/19 22:09:03] @ Quit: Insyte: Ping timeout: 260 seconds
[2010/07/19 22:11:09] @ schimmi joined channel #puppet
[2010/07/19 22:12:02] @ Quit: littleidea: Quit: littleidea
[2010/07/19 22:15:26] @ Insyte joined channel #puppet
[2010/07/19 22:30:15] @ mqr joined channel #puppet
[2010/07/19 22:30:15] @ Quit: markus: Read error: Connection reset by peer
[2010/07/19 22:30:16] @ mqr is now known as markus
[2010/07/19 22:31:38] @ jamesturnbull set topic "Puppet 2.6.0 released! http://bit.ly/dp8LKR | Puppet Dashboard 1.0.1 released! http://tinyurl.com/2b2gzc5 | Puppet Labs wants an Ops Engineer - http://bit.ly/cjroPr | http://docs.puppetlabs.com | Bugs & Feature Requests: http://bit.ly/ddjhPk"
[2010/07/19 22:31:55] <jamesturnbull> IT'S ALIVE!
[2010/07/19 22:32:00] * jamesturnbull needs sleep
[2010/07/19 22:32:28] <rodjek> sleep already!
[2010/07/19 22:33:14] <eric0> congrats
[2010/07/19 22:33:32] <rodjek> crazy bloody australian!
[2010/07/19 22:36:38] @ Quit: pting: Ping timeout: 240 seconds
[2010/07/19 22:40:03] @ Quit: warreng: Quit: Leaving.
[2010/07/19 22:40:43] <Djelibeybi> jamesturnbull: it's only 10:40pm your time, you wimp. :p
[2010/07/19 22:41:01] @ devdas joined channel #puppet
[2010/07/19 22:41:07] @ Quit: DigitalFlux: Read error: Operation timed out
[2010/07/19 22:41:58] <jamesturnbull> Djelibeybi: haven't been to sleep before 1am for the last two weeks and up at 7 most mornings :(
[2010/07/19 22:42:04] @ Quit: lak: Quit: lak
[2010/07/19 22:42:09] <jamesturnbull> Djelibeybi: I need a holiday this startup stuff is tiring
[2010/07/19 22:42:11] <jamesturnbull> :)
[2010/07/19 22:42:13] <Djelibeybi> jamesturnbull: that's why they invented caffeine. :)
[2010/07/19 22:42:24] <Djelibeybi> jamesturnbull: but you may sleep now, if you wish.
[2010/07/19 22:42:32] <jamesturnbull> Djelibeybi: I am singlehandedly keeping Coca-Cola Amatil in business I think
[2010/07/19 22:42:44] <Djelibeybi> jamesturnbull: I don't think they have the Amatil bit in the US of A.
[2010/07/19 22:44:03] <jamesturnbull> Djelibeybi: well they should - it sound better and I've been calling it that for 10 years
[2010/07/19 22:44:10] <jamesturnbull> Djelibeybi: too old to chnage now
[2010/07/19 22:44:28] <Djelibeybi> jamesturnbull: but then you wouldn't be able to enjoy the high-fructose corn syrup!
[2010/07/19 22:44:41] <jamesturnbull> Djelibeybi: I drink the Diet stuff
[2010/07/19 22:45:08] * jamesturnbull quietly ignores the load warning from Nagios
[2010/07/19 22:45:09] <Djelibeybi> jamesturnbull: wimp!
[2010/07/19 22:45:11] <jamesturnbull> damn you Nagios
[2010/07/19 22:45:51] @ DigitalFlux joined channel #puppet
[2010/07/19 22:47:44] @ mqr joined channel #puppet
[2010/07/19 22:47:45] @ Quit: markus: Read error: Connection reset by peer
[2010/07/19 22:47:46] @ mqr is now known as markus
[2010/07/19 22:48:02] <jamesturnbull> night all
[2010/07/19 22:48:25] @ Quit: markus: Client Quit
[2010/07/19 22:48:38] @ Quit: Bass10: Ping timeout: 240 seconds
[2010/07/19 22:57:45] @ Quit: plathrop-away: Read error: Operation timed out
[2010/07/19 22:58:44] @ ckauhaus joined channel #puppet
[2010/07/19 22:59:46] @ Quit: ceren: Quit: ceren
[2010/07/19 23:00:34] @ Quit: Djelibeybi: Quit: Leaving
[2010/07/19 23:00:44] @ plathrop-away joined channel #puppet
[2010/07/19 23:00:57] @ ceren joined channel #puppet
[2010/07/19 23:01:13] @ jaredrhine joined channel #puppet
[2010/07/19 23:01:37] @ markus joined channel #puppet
[2010/07/19 23:07:55] @ plathrop-away is now known as plathrop
[2010/07/19 23:08:21] @ benoit__ joined channel #puppet
[2010/07/19 23:09:31] @ Quit: ckauhaus: Read error: Operation timed out
[2010/07/19 23:13:55] @ nanliu joined channel #puppet
[2010/07/19 23:15:00] @ Quit: rcrowley: Quit: rcrowley
[2010/07/19 23:21:44] @ Quit: bobbyz: Ping timeout: 276 seconds
[2010/07/19 23:29:04] @ lkoranda joined channel #puppet
[2010/07/19 23:29:18] @ Quit: alban2: Ping timeout: 240 seconds
[2010/07/19 23:34:10] @ ahasenack joined channel #puppet
[2010/07/19 23:41:53] @ Quit: benoit__: Ping timeout: 276 seconds
[2010/07/19 23:43:31] @ johnw joined channel #puppet
[2010/07/19 23:45:29] @ Quit: nanliu: Quit: nanliu
[2010/07/19 23:45:44] @ WALoeIII joined channel #puppet
[2010/07/19 23:45:52] @ ecolitan joined channel #puppet
[2010/07/19 23:49:33] @ benoit__ joined channel #puppet
[2010/07/19 23:50:25] @ tuf joined channel #puppet
[2010/07/19 23:50:47] @ sdog joined channel #puppet
[2010/07/19 23:51:41] @ Quit: sdog: Changing host
[2010/07/19 23:51:41] @ sdog joined channel #puppet
[2010/07/19 23:56:15] @ Quit: jmccune: Ping timeout: 265 seconds
[2010/07/19 23:56:31] @ TREllis joined channel #puppet
[2010/07/19 23:57:19] @ mattock joined channel #puppet

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