Wednesday, 2009-05-20

[2009/05/20 00:00:43] @ Log started by gepetto
[2009/05/20 00:00:43] @ justindossey joined channel #puppet
[2009/05/20 00:07:24] @ Quit: verwilst: Read error: 110 (Connection timed out)
[2009/05/20 00:07:47] @ comprehensive joined channel #puppet
[2009/05/20 00:10:02] @ verwilst joined channel #puppet
[2009/05/20 00:15:53] @ Deesl joined channel #puppet
[2009/05/20 00:20:29] @ Quit: d3vilb0x:
[2009/05/20 00:22:31] <nevyn> so I have a resource defined to stop a service. if the service isn't installed that's awesome too.. but. if the service is installed it should not be running.
[2009/05/20 00:22:56] <nevyn> this generates warnings from every puppetd run
[2009/05/20 00:23:09] <PaulWay> mmm?
[2009/05/20 00:23:11] <nevyn> thoughts,
[2009/05/20 00:23:12] <nevyn> ?
[2009/05/20 00:23:18] <PaulWay> What warning?
[2009/05/20 00:23:41] <PaulWay> And how are you making it stop?
[2009/05/20 00:23:45] <PaulWay> ensure => stopped?
[2009/05/20 00:23:58] <nevyn> ensure stopped
[2009/05/20 00:24:00] <nevyn> yeah
[2009/05/20 00:24:11] @ Quit: justindossey: "Leaving."
[2009/05/20 00:24:25] <PaulWay> One moment, afk...
[2009/05/20 00:24:28] <nevyn> puppet can't establish the current state of the service.
[2009/05/20 00:24:35] <nevyn> because it doesn't exist.
[2009/05/20 00:25:13] <nevyn> the issue is.
[2009/05/20 00:25:46] <nevyn> is the failure to ensure => disabled, because the service is not installed.. a warning log event.
[2009/05/20 00:26:37] @ Quit: fujin_: Read error: 113 (No route to host)
[2009/05/20 00:26:53] <jamesturnbull> tmz: nope
[2009/05/20 00:27:10] <jamesturnbull> tmz: wll maybe
[2009/05/20 00:27:17] <jamesturnbull> tmz: which issue is it?
[2009/05/20 00:32:49] <nevyn> which is to say it is.. but can I bleh... ensure => stopped, enable => false,
[2009/05/20 00:32:59] @ Quit: grim_radical: Read error: 110 (Connection timed out)
[2009/05/20 00:35:45] <nevyn> I guess what I want is if (service exists) { Service {service: ensure=> stopped, enable => false, } }
[2009/05/20 00:36:57] <sdodson> Wouldn't you just ensure the package isn't installed?
[2009/05/20 00:37:09] <sdodson> In what situations would you have a service but not a package?
[2009/05/20 00:38:17] <nevyn> sdodson: on solaris
[2009/05/20 00:41:46] @ Quit: hessml: "Leaving..."
[2009/05/20 00:54:47] <nevyn> sdodson: the disabling of this service is a security requirement.
[2009/05/20 00:55:17] <nevyn> if there's a solaris and a sunfreeware and a blastwave package that provides the service I don't want to track all of those down
[2009/05/20 01:11:17] @ kambiz is now known as kambiz_away
[2009/05/20 01:12:14] @ shake-n-bake joined channel #puppet
[2009/05/20 01:19:54] @ mfournier joined channel #puppet
[2009/05/20 01:20:15] @ Quit: WALoeIII: Read error: 104 (Connection reset by peer)
[2009/05/20 01:21:36] @ Quit: comprehensive: "CHOCOA"
[2009/05/20 01:23:25] @ Quit: artista_frustrad: Read error: 110 (Connection timed out)
[2009/05/20 01:25:33] @ artista_frustrad joined channel #puppet
[2009/05/20 01:28:39] @ WALoeIII joined channel #puppet
[2009/05/20 01:30:58] @ Quit: shake-n-bake:
[2009/05/20 01:35:24] @ fujin joined channel #puppet
[2009/05/20 01:41:39] @ mattock joined channel #puppet
[2009/05/20 01:46:16] @ Quit: fujin: Read error: 104 (Connection reset by peer)
[2009/05/20 01:46:26] @ fujin joined channel #puppet
[2009/05/20 01:48:26] <jamesturnbull> tmz: all of those Rakefile issues should be fixed in the latest commits
[2009/05/20 01:52:34] @ jmarki joined channel #puppet
[2009/05/20 02:04:53] @ Quit: punkcut: Read error: 110 (Connection timed out)
[2009/05/20 02:12:53] @ Quit: WALoeIII: "Bai."
[2009/05/20 02:16:28] @ kolla joined channel #puppet
[2009/05/20 02:17:33] @ Quit: ssm: "Leaving."
[2009/05/20 02:25:41] @ Quit: ethan_rowe: Read error: 110 (Connection timed out)
[2009/05/20 02:37:51] @ ssm joined channel #puppet
[2009/05/20 02:44:49] <tmz> jamesturnbull: the issue is one I just noticed, that the operatingsystemrelease fact is broken on centos < 5. it returns garbage like 4.7 (Final), due to an improperly escaped sed command.
[2009/05/20 02:48:49] @ Innocenti joined channel #puppet
[2009/05/20 02:50:53] @ Quit: alban2: Read error: 113 (No route to host)
[2009/05/20 02:52:32] @ pleemans joined channel #puppet
[2009/05/20 03:02:41] @ MarlondB joined channel #puppet
[2009/05/20 03:02:55] <jamesturnbull> tmz: I hate that damn sed command
[2009/05/20 03:03:07] <jamesturnbull> tmz: if you want to get rid of it - feel free
[2009/05/20 03:03:34] @ Quit: pugnacity: "Leaving."
[2009/05/20 03:05:02] @ aymerick joined channel #puppet
[2009/05/20 03:06:08] <tmz> jamesturnbull: It's not really the sed command that's the problem. it's that it lacks the proper amount of backslashes. ruby strips one, which leave the shell with none. :)
[2009/05/20 03:06:43] <tmz> the patch I mentioned earlier adds the needed backslashes to make the command work properly on centos 4 and 5.
[2009/05/20 03:07:13] <tmz> if you like, you can pull it from the 1.5.x-centos-less-than-5-operatingsystemrelease branch at git://jet.mox.net/~tmz/facter
[2009/05/20 03:08:29] <tmz> that seemed like the least invasive fix. I think the whole operatingsystemrelease fact is rewritten in master anyway (or will be, for post 1.5.x. ;)
[2009/05/20 03:09:26] @ tim|macbook joined channel #puppet
[2009/05/20 03:13:52] @ Quit: Innocenti: Excess Flood
[2009/05/20 03:14:13] @ Innocenti joined channel #puppet
[2009/05/20 03:15:08] @ pugnacity joined channel #puppet
[2009/05/20 03:16:12] @ Quit: Innocenti: Excess Flood
[2009/05/20 03:16:58] @ Innocenti joined channel #puppet
[2009/05/20 03:21:07] @ Quit: Tuf8: Read error: 60 (Operation timed out)
[2009/05/20 03:21:22] @ Tuf8 joined channel #puppet
[2009/05/20 03:28:20] @ erthad joined channel #puppet
[2009/05/20 03:32:41] @ PaulWay left channel #puppet ()
[2009/05/20 03:33:00] @ Quit: Deesl: Read error: 110 (Connection timed out)
[2009/05/20 03:38:52] <jamesturnbull> tmz: yeah I know sed isn't the issue but the call to it is ugly
[2009/05/20 03:38:57] <jamesturnbull> tmz: and incosistent
[2009/05/20 03:40:48] @ MattyM joined channel #puppet
[2009/05/20 03:46:01] @ Quit: ohadlevy: "Leaving."
[2009/05/20 03:46:18] @ Quit: fbe: Read error: 60 (Operation timed out)
[2009/05/20 03:48:43] @ fbe joined channel #puppet
[2009/05/20 03:48:59] @ Quit: MattyM: Remote closed the connection
[2009/05/20 04:00:20] @ nasrat joined channel #puppet
[2009/05/20 04:01:36] @ Quit: FiXion: Read error: 104 (Connection reset by peer)
[2009/05/20 04:05:06] @ FiXion joined channel #puppet
[2009/05/20 04:05:28] <erthad> hiall
[2009/05/20 04:06:26] <erthad> can puppet match the hash from one source (text file,etc) to the hash from another source (ldap,etc) and output matched keys ?
[2009/05/20 04:06:49] @ punkcut joined channel #puppet
[2009/05/20 04:17:26] @ alban2 joined channel #puppet
[2009/05/20 04:19:13] @ MattyM joined channel #puppet
[2009/05/20 04:25:16] <Volcane> erthad: what are you trying to do?
[2009/05/20 04:28:50] @ zeroXten joined channel #puppet
[2009/05/20 04:29:34] @ HarryCalahan joined channel #puppet
[2009/05/20 04:30:46] <erthad> Volcane: actually not exactly what puppet is supposed to do. I want to match statistics on user traffic from the, say, text file to traffic limits from SQL or LDAP and output the list of blocked users to the file
[2009/05/20 04:31:02] <Volcane> yeah that really has nothing to do with puppet :)
[2009/05/20 04:31:34] <Volcane> puppet can be used to set up whatever script you write to do that, it could deploy it, add cron jobs and make sure it stays setup
[2009/05/20 04:31:42] <erthad> actually I was going to write a script for this but then stumbled upon puppet and the architecture seemed quit similar to me
[2009/05/20 04:31:43] <Volcane> but it cant do the actual work
[2009/05/20 04:35:10] <erthad> I see. thanx for advice
[2009/05/20 04:35:46] <Volcane> its a config management tool, sets up machines from scratch, ensures clusters of machines are all the same
[2009/05/20 04:36:03] <Volcane> and allows you to express configuration in a operating system independant way using a language like a programming language
[2009/05/20 04:36:20] <Volcane> takes care of tasks like copying files, setting up cron jobs, adding users, adding packages and package repositories etc
[2009/05/20 04:39:42] <duritong> Marketing(TM)
[2009/05/20 04:39:44] <duritong> :)
[2009/05/20 04:40:13] <HarryCalahan> duritong: naahhh, to close to the facts, not enough bling-bling ;)
[2009/05/20 04:40:38] <duritong> yeah you're right...
[2009/05/20 04:41:14] @ Quit: fbe: Read error: 60 (Operation timed out)
[2009/05/20 04:42:06] @ fbe joined channel #puppet
[2009/05/20 04:47:15] @ Quit: madrescher: Read error: 110 (Connection timed out)
[2009/05/20 04:56:23] @ Quit: gaveen: Success
[2009/05/20 04:57:05] @ erthad left channel #puppet ("No matter how dark the night, somehow the Sun rises once again")
[2009/05/20 04:57:11] @ gaveen joined channel #puppet
[2009/05/20 04:58:49] @ Quit: jmarki: Remote closed the connection
[2009/05/20 05:18:04] @ mikepea joined channel #puppet
[2009/05/20 05:19:12] @ rasputnik joined channel #puppet
[2009/05/20 05:19:25] @ jmeeuwen joined channel #puppet
[2009/05/20 05:20:36] @ Quit: gaveen: Read error: 110 (Connection timed out)
[2009/05/20 05:23:33] <FiXion> can package {.. source => .. take a path like puppet://puppetmaster.local/files/file.rpm ?
[2009/05/20 05:23:43] @ gaveen joined channel #puppet
[2009/05/20 05:34:20] <FiXion> hmm rpm and yum providers seems to ignore source :(
[2009/05/20 05:53:25] @ zipkid joined channel #puppet
[2009/05/20 05:57:25] @ Quit: alhoang: Read error: 60 (Operation timed out)
[2009/05/20 05:58:22] <FiXion> ohh well. back to "file -> tmp and then install"..
[2009/05/20 05:58:38] <FiXion> seems rpm doesn't like http paths
[2009/05/20 06:00:02] @ keithlar joined channel #puppet
[2009/05/20 06:02:13] <HarryCalahan> FiXion: what about rolling your own repository?
[2009/05/20 06:15:09] @ madrescher joined channel #puppet
[2009/05/20 06:15:29] @ taiky joined channel #puppet
[2009/05/20 06:15:37] @ Quit: taiky: Client Quit
[2009/05/20 06:18:26] @ zipkid_ joined channel #puppet
[2009/05/20 06:18:57] @ Quit: zipkid_: Client Quit
[2009/05/20 06:19:34] @ zipkid_ joined channel #puppet
[2009/05/20 06:19:37] @ Quit: zipkid_: Client Quit
[2009/05/20 06:19:59] @ zipkid_ joined channel #puppet
[2009/05/20 06:20:46] @ fruitcake joined channel #puppet
[2009/05/20 06:20:50] <fruitcake> hi all
[2009/05/20 06:27:04] @ DerekW joined channel #puppet
[2009/05/20 06:28:03] @ Quit: zipkid: "Leaving."
[2009/05/20 06:28:23] @ zipkid_ is now known as zipkid
[2009/05/20 06:28:53] @ d3vilb0x joined channel #puppet
[2009/05/20 06:35:16] @ Quit: alban2: Read error: 110 (Connection timed out)
[2009/05/20 06:36:35] @ glaw joined channel #puppet
[2009/05/20 06:39:46] @ Quit: glaw: Client Quit
[2009/05/20 06:45:10] @ Quit: garin: Read error: 110 (Connection timed out)
[2009/05/20 06:49:12] @ Quit: raphink: Remote closed the connection
[2009/05/20 06:50:14] @ raphink joined channel #puppet
[2009/05/20 06:55:18] <draytm01> hm. what type of argument is the seed for fqdn_rand expecting?
[2009/05/20 06:55:20] <draytm01> [root@nolsearchvg01 ~]# cat foo.pp
[2009/05/20 06:55:20] <draytm01> debug(fqdn_rand(10, 10))
[2009/05/20 06:55:27] <draytm01> can't convert Bignum into String at /root/foo.pp:1
[2009/05/20 06:55:46] <draytm01> [root@nolsearchvg01 ~]# cat foo.pp
[2009/05/20 06:55:46] <draytm01> debug(fqdn_rand(10, "ten"))
[2009/05/20 06:55:52] <draytm01> can't convert Bignum into String at /root/foo.pp:1
[2009/05/20 06:56:44] @ Quit: d3vilb0x:
[2009/05/20 07:02:35] @ Quit: jmeeuwen: Read error: 110 (Connection timed out)
[2009/05/20 07:02:54] <FiXion> HarryCalahan: I have for debian. couldn't find any description as how to do it on CentOS
[2009/05/20 07:02:57] @ xocas joined channel #puppet
[2009/05/20 07:03:20] <FiXion> HarryCalahan: I'm guessing I use createrepo command.. but I don't think that exists as a package for ubuntu :)
[2009/05/20 07:03:37] <HarryCalahan> FiXion: i used apt4rpm so centos pulled from a normal apt repository
[2009/05/20 07:03:41] <FiXion> HarryCalahan: and it does annoy me, that I have to have seperate servers for each OS I want to create a mirror for
[2009/05/20 07:04:13] <FiXion> HarryCalahan: you installed that besides yum?
[2009/05/20 07:04:33] <HarryCalahan> FiXion: never used yum ;) i was so used to apt that i sticked with it
[2009/05/20 07:04:52] <FiXion> HarryCalahan: hehe - the normal CentOS updates is via yum..
[2009/05/20 07:05:10] <HarryCalahan> i know, me kolleague whined every time i typed apt
[2009/05/20 07:05:54] <FiXion> do you sync the rpm packages from upstream into your own apt mirror then?
[2009/05/20 07:07:12] <HarryCalahan> no. i have multiple repositories and an apt-cacher.
[2009/05/20 07:10:10] @ Quit: Innocenti: Remote closed the connection
[2009/05/20 07:10:26] @ Innocenti joined channel #puppet
[2009/05/20 07:11:55] @ Quit: Berge: hubbard.freenode.net irc.freenode.net
[2009/05/20 07:11:55] @ Quit: _nono_: hubbard.freenode.net irc.freenode.net
[2009/05/20 07:11:56] @ Quit: DerekW: hubbard.freenode.net irc.freenode.net
[2009/05/20 07:11:56] @ Quit: fbe: hubbard.freenode.net irc.freenode.net
[2009/05/20 07:11:56] @ Quit: FiXion: hubbard.freenode.net irc.freenode.net
[2009/05/20 07:11:57] @ Quit: tim|macbook: hubbard.freenode.net irc.freenode.net
[2009/05/20 07:11:57] @ Quit: artista_frustrad: hubbard.freenode.net irc.freenode.net
[2009/05/20 07:11:57] @ Quit: chadh: hubbard.freenode.net irc.freenode.net
[2009/05/20 07:11:58] @ Quit: Superfly_: hubbard.freenode.net irc.freenode.net
[2009/05/20 07:12:37] @ DerekW joined channel #puppet
[2009/05/20 07:12:37] @ fbe joined channel #puppet
[2009/05/20 07:12:37] @ FiXion joined channel #puppet
[2009/05/20 07:12:37] @ tim|macbook joined channel #puppet
[2009/05/20 07:12:37] @ artista_frustrad joined channel #puppet
[2009/05/20 07:12:37] @ Berge joined channel #puppet
[2009/05/20 07:12:37] @ chadh joined channel #puppet
[2009/05/20 07:12:38] @ _nono_ joined channel #puppet
[2009/05/20 07:12:38] @ Superfly_ joined channel #puppet
[2009/05/20 07:16:40] @ Quit: Berge: hubbard.freenode.net irc.freenode.net
[2009/05/20 07:16:40] @ Quit: _nono_: hubbard.freenode.net irc.freenode.net
[2009/05/20 07:16:40] @ Quit: Superfly_: hubbard.freenode.net irc.freenode.net
[2009/05/20 07:16:41] @ Quit: chadh: hubbard.freenode.net irc.freenode.net
[2009/05/20 07:16:41] @ Quit: tim|macbook: hubbard.freenode.net irc.freenode.net
[2009/05/20 07:16:41] @ Quit: FiXion: hubbard.freenode.net irc.freenode.net
[2009/05/20 07:16:42] @ Quit: fbe: hubbard.freenode.net irc.freenode.net
[2009/05/20 07:16:42] @ Quit: artista_frustrad: hubbard.freenode.net irc.freenode.net
[2009/05/20 07:16:43] @ Quit: DerekW: hubbard.freenode.net irc.freenode.net
[2009/05/20 07:17:06] @ alban2 joined channel #puppet
[2009/05/20 07:18:39] @ DerekW joined channel #puppet
[2009/05/20 07:18:39] @ fbe joined channel #puppet
[2009/05/20 07:18:39] @ FiXion joined channel #puppet
[2009/05/20 07:18:39] @ tim|macbook joined channel #puppet
[2009/05/20 07:18:39] @ artista_frustrad joined channel #puppet
[2009/05/20 07:18:39] @ Berge joined channel #puppet
[2009/05/20 07:18:39] @ chadh joined channel #puppet
[2009/05/20 07:18:39] @ _nono_ joined channel #puppet
[2009/05/20 07:18:39] @ Superfly_ joined channel #puppet
[2009/05/20 07:20:37] @ LinuxCode joined channel #puppet
[2009/05/20 07:21:19] <LinuxCode> afternoon all
[2009/05/20 07:21:58] <LinuxCode> I have a small problem, where sshd will be stopped if defined ensure => stopped
[2009/05/20 07:22:15] <LinuxCode> but it wont start it on fedora 10 machine
[2009/05/20 07:22:21] <LinuxCode> ensure => running
[2009/05/20 07:22:26] <LinuxCode> doesnt show an error either
[2009/05/20 07:22:39] <LinuxCode> any ideas how I could track this one down ?
[2009/05/20 07:22:42] <omry|work> try to run puppetd --test --debug
[2009/05/20 07:22:53] <LinuxCode> puppetd --no-daemonize --verbose
[2009/05/20 07:22:56] <LinuxCode> atm im running that
[2009/05/20 07:22:57] <LinuxCode> ok
[2009/05/20 07:23:01] <LinuxCode> I will try debug
[2009/05/20 07:23:05] <LinuxCode> see if thats more verbose
[2009/05/20 07:23:25] <LinuxCode> aha!
[2009/05/20 07:23:29] * LinuxCode reads up
[2009/05/20 07:27:34] <LinuxCode> weird
[2009/05/20 07:27:44] <LinuxCode> when i set it to running, it doesnt even execute it
[2009/05/20 07:27:51] * LinuxCode scratches head
[2009/05/20 07:29:29] <FiXion> LinuxCode: perhaps it thinks it's running. Do you have hasstatus => true - or a pattern?
[2009/05/20 07:30:21] <LinuxCode> ahh odd
[2009/05/20 07:30:25] <LinuxCode> FiXion, cheers mate
[2009/05/20 07:30:34] <LinuxCode> hasstatus sorted it
[2009/05/20 07:30:49] <LinuxCode> how peculiar though, cups was perfectly fine
[2009/05/20 07:30:58] <LinuxCode> thank you very much ;-}
[2009/05/20 07:32:07] <mellen> Is there an easier way of making clients re-request certificates from a new master (or a master server with updated certificate) instead of just dieing with a certificate not trusted error?
[2009/05/20 07:33:02] @ jmeeuwen joined channel #puppet
[2009/05/20 07:33:30] <mellen> ... forcing me to erase the puppet ssl dir on each and every client.
[2009/05/20 07:37:47] <omry|work> mellen, as far as I know the client requests a cert and dies. just sign them on the master
[2009/05/20 07:38:57] <mellen> omry|work: yeah, but the clients have been running for a while and I need to deploy a new master. Clients apparently retrieve and store the first master cert and compares it everytime they connect again - failing if the master cert doesn't match.
[2009/05/20 07:39:39] <omry|work> mellen, aha. not sure what I would do than. maybe figure out where they store it and try to move it away
[2009/05/20 07:40:40] <mellen> omry|work: problem is I have 84 clients I now need to manually update.
[2009/05/20 07:40:49] @ Quit: HarryCalahan: "."
[2009/05/20 07:41:25] <omry|work> you lost the original master certificate?
[2009/05/20 07:41:41] @ XeROfun joined channel #puppet
[2009/05/20 07:42:35] <mellen> nope - but I need them to connect to a new server on which the original cert apparently can't be used, possibly because the hostname changed.
[2009/05/20 07:47:03] <omry|work> well, I would love to hear how you solve it.
[2009/05/20 08:00:13] @ Quit: gaveen: Connection timed out
[2009/05/20 08:00:50] @ gaveen joined channel #puppet
[2009/05/20 08:06:15] @ tyll joined channel #puppet
[2009/05/20 08:06:25] <tyll> Hiyas
[2009/05/20 08:08:57] <tyll> I created a group with the group ressource and let gid is chosen by the system, how can I use the resulting gid then in a erb template for a configuration file?
[2009/05/20 08:09:44] <mikepea> blergh... anyone ever seen a 'undefined method `[]' for :che:Symbol' error?
[2009/05/20 08:11:30] <mikepea> getting it on deploying a binary file using content => file(), but strangely this has been successfully deployed many a time.
[2009/05/20 08:16:17] <mikepea> tyll: you'll need to create a facter fact that looks up the gid on the system - mygroup_gid for example.
[2009/05/20 08:16:57] <XeROfun> Hi everybody. I didn't find any info on how to abstract some values when using the realize fuction. I'm trying the following thing: http://pastebin.com/d4cb033a7 . That is: setting a ssh key on a system and being able to remove it on purpose. Adding the key is working fine, but setting present => absent is not working, when realizing the key.
[2009/05/20 08:17:52] <XeROfun> I want to be able to remove the key on a single system, not in general on all systems that are realizing this key.
[2009/05/20 08:19:49] <XeROfun> I found a hint in the export resources section, but this doesn't seem to work with virtual resources (puppet 0.24.5).
[2009/05/20 08:20:08] <mikepea> XeROfun: that's not how realizing virtual resources works - you cannot alter the parameters of the virtual resource on realization
[2009/05/20 08:20:38] @ gaveen_ joined channel #puppet
[2009/05/20 08:21:58] <XeROfun> mikepea: I guessed this, I just hoped it would work, because a similar thing is stated in the export resources section called "Exported Resources Override".
[2009/05/20 08:23:05] <XeROfun> Any hint on how to change a value without changing the virtual resource?
[2009/05/20 08:23:41] @ nigelk_ joined channel #puppet
[2009/05/20 08:27:19] <tyll> mikepea, thx, is there a way to configure a lookup_gid fact that lookups the gid of a certain group or do I have to create such a fact for feach gid I want to lookup?
[2009/05/20 08:27:58] @ Quit: gaveen: Connection timed out
[2009/05/20 08:29:52] <mikepea> tyll: you can either create a fact that will create *_gid facts for each group on the system (or a hard-coded subset), or lots of facts for looking up individual gid's. There's no way to pass a parameter to a fact, in short.
[2009/05/20 08:30:28] @ gaveen_ is now known as gaveen
[2009/05/20 08:30:30] <tyll> mikepea, ok, thx
[2009/05/20 08:31:25] <mikepea> tyll: we have an example fact for the single gid case, if you want it
[2009/05/20 08:31:45] <mikepea> tyll: the multi-group case was posted to the list a while back, not sure if it made it into the wiki
[2009/05/20 08:32:00] <mikepea> s/list/irc/
[2009/05/20 08:32:16] <tyll> mikepea, the single gid case would be great, I do not know much ruby, therefore it's not that easy for me to create a custom fact :-)
[2009/05/20 08:32:29] <mikepea> pastie: url
[2009/05/20 08:32:29] @ Nigel_ is now known as G
[2009/05/20 08:32:43] <mikepea> oh ffs
[2009/05/20 08:33:04] <mikepea> pastie: help
[2009/05/20 08:33:10] <mikepea> gr
[2009/05/20 08:35:04] <flashn> Im getting a "NoMethodError in Hosts#table" and a stack trace in puppetshow
[2009/05/20 08:35:48] <flashn> doesnt seem to like my schema? or is there a known bug in 0.24.5?
[2009/05/20 08:37:28] <flashn> its populating the table 'sessions' but nothing else and the gui shows the framework but with some stack traces
[2009/05/20 08:38:08] <mikepea> tyll: http://pastebin.com/m126fbd08
[2009/05/20 08:39:32] <tyll> mikepea, thx, is it ok if I add this to the wiki?
[2009/05/20 08:39:51] <mikepea> no worries, ta
[2009/05/20 08:40:00] @ Quit: nigelk: Read error: 110 (Connection timed out)
[2009/05/20 08:42:08] <riddley> there was a PHP version of puppetshow running around at some point, anyone know where it is? google isn't helping me
[2009/05/20 08:52:03] @ kambiz_away is now known as kambiz
[2009/05/20 08:54:50] <gepetto> ::trac:: Recipes/GetGID edited by till @ http://reductivelabs.com/trac/puppet/wiki/Recipes/GetGID (by opensource@till.name)
[2009/05/20 08:54:50] <gepetto> ::trac:: Recipes/GetGID edited by till @ http://reductivelabs.com/trac/puppet/wiki/Recipes/GetGID (by opensource@till.name)
[2009/05/20 08:54:55] @ hessml joined channel #puppet
[2009/05/20 08:55:58] <FiXion> can i unset a variable?
[2009/05/20 08:56:11] <FiXion> i have 13 memcached::class classes - that use the variable $name
[2009/05/20 08:56:14] @ d3vilb0x joined channel #puppet
[2009/05/20 08:56:21] <FiXion> but I start each class with setting it to a specific (different) name
[2009/05/20 08:56:49] <FiXion> but puppet complains about it: cannot reassign variable name
[2009/05/20 08:58:32] <verwilst> in my manifests dir, i made 2 files, common.pp and zabbix.pp
[2009/05/20 08:58:46] <verwilst> one has zabbix::common class, the other zabbix::agent
[2009/05/20 08:59:09] <verwilst> i have a require => class[zabbix::common] in the ::agent class
[2009/05/20 08:59:41] <flashn> Anyone working on a network-gear-module?
[2009/05/20 09:01:04] @ kngus joined channel #puppet
[2009/05/20 09:01:05] <flashn> Can Facter pull inventorys from network gear? shouldent be too hard to fix some expect/tcl module for it
[2009/05/20 09:01:26] <verwilst> warning: Configuration could not be instantiated: Could not find dependency Class[zabbix::common] for Package[zabbix-agent]
[2009/05/20 09:01:32] <verwilst> any ideas?
[2009/05/20 09:01:51] <FiXion> verwilst: do you include both in your site.pp file?
[2009/05/20 09:01:59] @ kngus left channel #puppet ("Leaving.")
[2009/05/20 09:02:06] <verwilst> FiXion: i haven't included anything in my site.pp actually
[2009/05/20 09:02:11] <verwilst> it finds it all by itself
[2009/05/20 09:02:17] <tim|macbook> scary
[2009/05/20 09:02:34] <FiXion> it obviously doesn't find the one with zabbix::common in it
[2009/05/20 09:02:41] <verwilst> modulepath = /usr/share/puppet/production/services
[2009/05/20 09:02:51] <verwilst> but it finds the one right next to it with zabbix::agent
[2009/05/20 09:02:54] <verwilst> it's in the same dir
[2009/05/20 09:03:18] @ Quit: keithlar:
[2009/05/20 09:03:23] <FiXion> try including them in site.pp f.ex.
[2009/05/20 09:03:39] <FiXion> or have a closer look at the example configs and recommended setup.
[2009/05/20 09:03:49] <FiXion> I use modules for everything.. much nicer.
[2009/05/20 09:03:55] @ Quit: mattock: "Leaving."
[2009/05/20 09:04:14] <verwilst> FiXion: i use modules too for everything..
[2009/05/20 09:04:54] <FiXion> verwilst: and common.pp and zabbix.pp only get included in two ways afaik
[2009/05/20 09:05:00] <FiXion> 1: you include them in your init.pp
[2009/05/20 09:05:08] <verwilst> yeah?
[2009/05/20 09:05:25] <FiXion> two you include modulename::zabbix (will include zabbix.pp in modulename's manifest folder
[2009/05/20 09:05:26] <verwilst> or you put em in modulepath/bleh/manifests/*.pp
[2009/05/20 09:05:50] <FiXion> verwilst: as far as I can see - it doesn't get loaded until you actually call it init.pp or call it implicitly
[2009/05/20 09:05:59] <verwilst> puppet/production/services$ ls zabbix/manifests/*
[2009/05/20 09:06:00] <verwilst> zabbix/manifests/agent.pp zabbix/manifests/common.pp zabbix/manifests/server.pp
[2009/05/20 09:06:02] <FiXion> by modulename::zabbix (for zabbix.pp
[2009/05/20 09:06:15] <verwilst> so i can't require another module?
[2009/05/20 09:06:27] <FiXion> verwilst: sure you can. just make sure their .pp files are loaded.
[2009/05/20 09:06:38] <verwilst> hehe, but it's there!
[2009/05/20 09:06:39] <verwilst> :P
[2009/05/20 09:06:41] <FiXion> verwilst: put it in init.pp what you want to depend on in others
[2009/05/20 09:06:53] <verwilst> but i want to use modules only?
[2009/05/20 09:07:02] <FiXion> verwilst: manifests/init.pp
[2009/05/20 09:07:10] <FiXion> modulename/manifests/init.pp
[2009/05/20 09:07:17] <FiXion> every module should have an init.pp afaik
[2009/05/20 09:07:27] <FiXion> see all the example modules - they have an init.pp - and sometimes nothing else
[2009/05/20 09:07:51] <FiXion> that's what I do, and I can do require on stuff from other modules etc. without any problems at all
[2009/05/20 09:08:02] <verwilst> hm
[2009/05/20 09:08:54] @ cwebber joined channel #puppet
[2009/05/20 09:09:07] @ joe-mac joined channel #puppet
[2009/05/20 09:09:50] <FiXion> your're probably including zabbix::agent
[2009/05/20 09:09:58] <FiXion> just rename common.pp to init.pp and it should work just fine
[2009/05/20 09:10:00] <verwilst> yeah
[2009/05/20 09:10:05] <verwilst> hm
[2009/05/20 09:10:10] <FiXion> why hm?
[2009/05/20 09:10:14] <FiXion> that's how modules work
[2009/05/20 09:10:33] <verwilst> so the zabbix::common class should be in init.pp?
[2009/05/20 09:10:47] @ mccune joined channel #puppet
[2009/05/20 09:11:17] @ keithlar_ joined channel #puppet
[2009/05/20 09:11:54] <verwilst> ah
[2009/05/20 09:12:00] <verwilst> import "*" in init.pp
[2009/05/20 09:12:02] <FiXion> verwilst: yes - and you should have a (perhaps empty) class zabbix in init.pp
[2009/05/20 09:12:05] @ mfoster left channel #puppet ()
[2009/05/20 09:12:11] <FiXion> verwilst: no need to do any importing in init.pp
[2009/05/20 09:12:21] <verwilst> an empty class zabbix?
[2009/05/20 09:12:29] <FiXion> same name as the module
[2009/05/20 09:12:34] <FiXion> have a look at the module repositories
[2009/05/20 09:12:42] <FiXion> there are tonnes of example modules
[2009/05/20 09:12:42] @ flakrat joined channel #puppet
[2009/05/20 09:12:48] <FiXion> they all have an init.pp - look at one
[2009/05/20 09:13:05] * FiXion is working on defining 13 different memcache instances in a sane way in puppet
[2009/05/20 09:13:10] * FiXion is getting a headache
[2009/05/20 09:14:03] @ Quit: ghenry: Read error: 113 (No route to host)
[2009/05/20 09:14:05] <kolla> me too :)
[2009/05/20 09:14:16] @ Quit: nigelk_:
[2009/05/20 09:14:31] @ ghenry joined channel #puppet
[2009/05/20 09:15:37] <joe-mac> FiXion: how different are they?
[2009/05/20 09:15:43] <joe-mac> i've never used memcached...
[2009/05/20 09:15:58] <joe-mac> but my ruby for systems administrators books makes it look *really* cool
[2009/05/20 09:17:10] <joe-mac> anybody in here use openbsd and puppet? i have a script that automatically upgrades 4.4 to 4.5 if anyone is interested. it's a bash script though, which is non standard for openbsd, but i install it through puppet... seems to be working pretty well. i need to set up a blog or something for this kind of thing'
[2009/05/20 09:17:51] <FiXion> joe-mac: no different - only 2 variables for the templates need to be changed.
[2009/05/20 09:18:20] <joe-mac> oh, then what part is making you beg for death?
[2009/05/20 09:18:25] <joe-mac> (just a phrase i use commonly lol)
[2009/05/20 09:18:42] <joe-mac> mostly when i talk about debian or ubuntu...
[2009/05/20 09:19:03] <tyll> I want to distribute a fact within a module like it is described here: http://reductivelabs.com/trac/puppet/wiki/PluginsInModules - but puppet faisl to retrieve the facts from puppet://127.0.0.1/plugins, which probably does not work, because there is no fileserver config for plugins in my fileserver.conf. But the wiki page also does not mention that I would need one or what it should look like.
[2009/05/20 09:19:14] <verwilst> FiXion: still don't fully get what's the idea :P
[2009/05/20 09:19:44] <verwilst> if i want to keep common.pp, server.pp and agent.pp for the auto-lookups of the modules
[2009/05/20 09:19:49] <verwilst> what should be in init.pp then??
[2009/05/20 09:20:31] <FiXion> verwilst: you should only do an include zabbix::agent or server - and hence the common part should be in init.pp
[2009/05/20 09:20:39] @ Quit: mfournier: Read error: 60 (Operation timed out)
[2009/05/20 09:20:44] <verwilst> hm
[2009/05/20 09:20:58] <FiXion> verwilst: and if you don't like the init.pp name (for some odd reason) - then you'll have to create init.pp and import common.pp in it
[2009/05/20 09:21:14] <verwilst> and how do i make sure that zabbix::common is included before each zabbix::agent run?
[2009/05/20 09:21:34] <verwilst> or can i require => class["zabbix::common"] then?
[2009/05/20 09:21:35] <FiXion> joe-mac: I need to write 13 conf files and make 13 symlinks. the variables are name, port and memory size.
[2009/05/20 09:22:08] <joe-mac> k, so you're using an erb template right?
[2009/05/20 09:22:14] <FiXion> joe-mac: yes
[2009/05/20 09:22:24] <joe-mac> k, how are the variables derived?
[2009/05/20 09:22:37] <FiXion> verwilst: your zabbix::agent items should require file[".." and what ever which is defined in your init.pp
[2009/05/20 09:22:43] <FiXion> whatever they depend on
[2009/05/20 09:23:00] <FiXion> joe-mac: not in any way - they're are manually set in my puppet config
[2009/05/20 09:23:04] <verwilst> FiXion: so no zabbix::common class?
[2009/05/20 09:23:15] <verwilst> but all seperate?
[2009/05/20 09:23:28] <FiXion> verwilst: what does "all seperate" mean?
[2009/05/20 09:23:33] <verwilst> no class zabbix::common { file{} } but just file{}
[2009/05/20 09:23:36] <verwilst> standalone
[2009/05/20 09:23:50] <FiXion> just file{} in class zabbix in init.pp
[2009/05/20 09:24:00] <FiXion> and you could do @file.. in init.pp
[2009/05/20 09:24:01] <verwilst> ah, in class zabbix
[2009/05/20 09:24:11] <FiXion> if you want to modify it somewhat in agent or server classes
[2009/05/20 09:24:22] <FiXion> overriding is nice.. :)
[2009/05/20 09:24:44] <verwilst> so if i have class zabbix { file{} }, i can do require => file{} ?
[2009/05/20 09:24:46] <FiXion> joe-mac: I was thinking if something here would fit: http://reductivelabs.com/trac/puppet/wiki/Recipes/HandlingDisparateDefinesWithClasses
[2009/05/20 09:24:53] <FiXion> verwilst: yes
[2009/05/20 09:24:57] <verwilst> mh
[2009/05/20 09:24:58] @ malraid joined channel #puppet
[2009/05/20 09:25:00] <verwilst> hm*
[2009/05/20 09:25:12] <FiXion> verwilst: you sure do hm a lot
[2009/05/20 09:25:19] <verwilst> FiXion: myeah..
[2009/05/20 09:25:26] <verwilst> there is a puppet training course next week
[2009/05/20 09:25:28] <verwilst> 3 days
[2009/05/20 09:25:36] <verwilst> but mgm thinks it's too expensive..
[2009/05/20 09:25:38] <verwilst> 2k eur
[2009/05/20 09:26:00] @ rasputnik_ joined channel #puppet
[2009/05/20 09:26:05] <verwilst> while it's pretty vital for our infra, and other courses ( like mysql ) cost a lot more
[2009/05/20 09:26:16] <verwilst> so it sucks
[2009/05/20 09:27:49] <joe-mac> FiXion: i haven't really run into this kind of problem.. i'm not sure i fully understand it either it's early and i am working off of 3 hours of sleep lol
[2009/05/20 09:28:14] @ Quit: XeROfun: "Verlassend"
[2009/05/20 09:28:28] <joe-mac> a yellow submarine, a yellow submarine
[2009/05/20 09:28:33] * joe-mac descends into insanity
[2009/05/20 09:28:37] <FiXion> lol
[2009/05/20 09:28:54] <gepetto> ::trac:: Module Organisation edited by till @ http://reductivelabs.com/trac/puppet/wiki/ModuleOrganisation (by opensource@till.name)
[2009/05/20 09:29:11] <FiXion> I need to find a way to write 1 file and 1 symlink for each memcache instance
[2009/05/20 09:29:21] <FiXion> the files and symlink should be named the same name as the instance
[2009/05/20 09:29:34] <FiXion> f.ex. memcache-cache_block, memcache-cache_node
[2009/05/20 09:30:02] <FiXion> and the template for the 1 file (the config file) has 2 variables it needs: port and memory
[2009/05/20 09:31:08] <joe-mac> oh, i think i get your problem now; you're runnign into re defining resources with the same name?
[2009/05/20 09:31:33] <FiXion> joe-mac: yes - I want to use the same template for all 13. just changing the contents of the two variables
[2009/05/20 09:31:40] @ nigelk joined channel #puppet
[2009/05/20 09:32:46] <FiXion> my problem is that all 13 goes on the same node
[2009/05/20 09:32:57] <FiXion> (actually on many nodes)
[2009/05/20 09:33:35] <gepetto> ::trac:: Module Organisation edited by till @ http://reductivelabs.com/trac/puppet/wiki/ModuleOrganisation (by opensource@till.name)
[2009/05/20 09:33:48] @ Quit: rasputnik: Read error: 110 (Connection timed out)
[2009/05/20 09:36:27] @ claymation joined channel #puppet
[2009/05/20 09:37:05] * FiXion looks into using defines
[2009/05/20 09:37:47] <joe-mac> yea, i have had to use a definition when i run into that
[2009/05/20 09:37:52] @ lak joined channel #puppet
[2009/05/20 09:39:31] @ Quit: ssm: "Leaving."
[2009/05/20 09:41:37] @ rgsteele||work joined channel #puppet
[2009/05/20 09:45:00] <flashn> I must've missed something regarding puppet database, is there a universal way of generating tables?
[2009/05/20 09:45:28] <flashn> Im reading docs that refer to the "database" and certain tables that I dont have
[2009/05/20 09:45:55] <verwilst> FiXion: currently i have a class zabbix::common with a user and a group
[2009/05/20 09:46:05] <verwilst> do i need to include them both seperately?
[2009/05/20 09:46:12] <verwilst> if i change zabbix::common to zabbix
[2009/05/20 09:47:02] @ bjaspan joined channel #puppet
[2009/05/20 09:47:07] @ yure joined channel #puppet
[2009/05/20 09:50:36] <mikepea> lak: might have a weird bug. I'm getting 'Failed to retrieve current state of resource: undefined method `[]' for :che:Symbol' on a file resource, but with an identical node (part of the same load balanced cluster) do not get the issue. Any clues where I can find out more before logging a ticket?
[2009/05/20 09:51:24] <nasrat> mikepea: is it repeatable on the failing node
[2009/05/20 09:51:44] <mikepea> yup
[2009/05/20 09:51:47] <lak> mikepea: can you get a stack trace with --trace?
[2009/05/20 09:51:53] @ hessml is now known as hessml|away
[2009/05/20 09:52:58] <nasrat> mikepea: also grab all the yaml on the failing host
[2009/05/20 09:53:32] <mikepea> cool - will compare yaml with working host too.
[2009/05/20 09:53:45] <tmz> jamesturnbull: so anyway, my intent was to fix an obvious bug in 1.5.x. hopefully those patches are small enough and easily verified that they can make it into 1.5.5. properly fixing operatingsystemrelease must wait for 1.6 or 2.0 (and I submitted patches torward that end a while back :).
[2009/05/20 09:54:29] <nasrat> tmz: which bug?
[2009/05/20 09:55:39] <tmz> the ugly sed call in operatingsystemrelease on centos < 5 lacks the proper backslashes to work correctly.
[2009/05/20 09:55:44] @ Quit: yure: "Odhajam"
[2009/05/20 09:55:47] @ martha joined channel #puppet
[2009/05/20 09:56:33] <nasrat> tmz: ok - you got a issue number
[2009/05/20 09:56:37] <tmz> I lack the time to file a ticket at the moment, but I did correct this with rather trivial patch.
[2009/05/20 09:56:38] <nasrat> happy to review stuff
[2009/05/20 09:56:46] <nasrat> tmz: can you point me at patch
[2009/05/20 09:56:47] @ Quit: bjaspan:
[2009/05/20 09:57:06] <tmz> nasrat: http://tmz.fedorapeople.org/patches/0001-Fix-operatingsystemrelease-for-CentOS-5.patch
[2009/05/20 09:57:11] <nasrat> awesome
[2009/05/20 09:57:30] <tmz> and, in the 'while-I-was-looking' category: http://tmz.fedorapeople.org/patches/0002-Tighten-operatingsystemrelease-regex-on-CentOS-5.patch
[2009/05/20 09:57:48] @ giles_ joined channel #puppet
[2009/05/20 09:57:53] <giles_> lo puppetiers
[2009/05/20 09:57:57] <tmz> the regex /5/ leaves much to be desired. ;) /^5/ is the obvious intent.
[2009/05/20 09:58:05] @ hessml|away is now known as hessml
[2009/05/20 09:58:05] <nasrat> heh
[2009/05/20 09:58:24] <giles_> might be a silly question but is it possible to get more than the exit code when an exec fails?
[2009/05/20 09:58:30] <tmz> nasrat: also, those are in the 1.5.x-centos-less-than-5-operatingsystemrelease branch at git://jet.mox.net/~tmz/facter
[2009/05/20 09:59:52] <nasrat> cool, will file, review and poke jamesturnbull to merge, I need to fix a bug in virtual.rb
[2009/05/20 10:00:02] <nasrat> probably tomorrow
[2009/05/20 10:00:10] <nasrat> or late this evening
[2009/05/20 10:00:21] @ alhoang_ joined channel #puppet
[2009/05/20 10:00:27] <giles_> doh, logoutput on_failure
[2009/05/20 10:00:32] <tmz> nasrat: thanks!
[2009/05/20 10:00:53] * giles_ goes back to rtfm
[2009/05/20 10:00:58] @ giles_ left channel #puppet ()
[2009/05/20 10:03:45] @ Quit: pleemans: Read error: 60 (Operation timed out)
[2009/05/20 10:03:50] <verwilst> i have 2 packages ( in different modules ) that need the same user
[2009/05/20 10:05:15] @ edwardam joined channel #puppet
[2009/05/20 10:07:28] @ Quit: lak: "Leaving."
[2009/05/20 10:11:52] @ lak joined channel #puppet
[2009/05/20 10:12:18] <tyll> I forgot to include a facter plugin in a module which is used to generate a config file. Now the config file is missing a value but after I added the facter plugin to the module, the config file was not regenerated, but the plugin was synced to the puppet client. How can I ensure that everything is redone after the facter plugin has been installed?
[2009/05/20 10:17:33] @ ethan_rowe joined channel #puppet
[2009/05/20 10:17:44] <Volcane> if anything changes that is used to buid the config puppet should regenerate it if you set it up correctly, so without sample configs, output from puppet etc not really sure we can help
[2009/05/20 10:18:39] @ pluesch0r joined channel #puppet
[2009/05/20 10:18:48] <pluesch0r> hey everybody.
[2009/05/20 10:19:27] @ mfoster joined channel #puppet
[2009/05/20 10:20:31] @ Quit: edwardam: Remote closed the connection
[2009/05/20 10:21:18] <pluesch0r> what's the recommended way to add a new gem source to my puppets?
[2009/05/20 10:21:26] <tyll> Volcane, ok, I'll prepare an example
[2009/05/20 10:21:53] <mikepea> lak: what is the best cmdline for running --trace, seems to be a bit sparse using sudo puppetd --trace --tags '' --noop --no-daemonize
[2009/05/20 10:24:32] <lak> mikepea: whatever command you were using that gave the exception, just add --trace
[2009/05/20 10:24:34] @ hessml is now known as hessml|away
[2009/05/20 10:25:37] @ pheezy joined channel #puppet
[2009/05/20 10:26:49] @ fbe_ joined channel #puppet
[2009/05/20 10:29:01] <verwilst> so i made a zabbix class which contains a user section in my init.p
[2009/05/20 10:29:02] <pluesch0r> anybody?
[2009/05/20 10:29:03] <verwilst> init.pp
[2009/05/20 10:29:13] <verwilst> now how do i require it ;)
[2009/05/20 10:29:25] <verwilst> in zabbix::server for example?
[2009/05/20 10:30:02] <lak> verwilst: 'include zabbix::server'
[2009/05/20 10:30:17] <verwilst> euh
[2009/05/20 10:30:20] <verwilst> nono
[2009/05/20 10:30:31] <verwilst> in zabbix::server {} i have a Package for example
[2009/05/20 10:30:44] <verwilst> and the user ( declared in zabbix {} ) should be already present
[2009/05/20 10:31:02] <verwilst> i cannot require user["zabbix"] because it's in zabbix {} in init.pp
[2009/05/20 10:31:33] <tyll> Volcane, thx, creating the minimum config showed me that I made a typo
[2009/05/20 10:31:41] @ hessml|away is now known as hessml
[2009/05/20 10:32:16] <verwilst> maybe zabbix::server inherits zabbix?
[2009/05/20 10:32:24] <Volcane> tyll: great
[2009/05/20 10:34:32] <joe-mac> there's something perversely awesome about how i am using puppet to automatically set up a server that will automatically set up servers lol
[2009/05/20 10:34:48] <agaffney> hah
[2009/05/20 10:36:30] <sigmonsays> Can I write pure ruby somewhere and integrate it in manifest?
[2009/05/20 10:36:46] <sigmonsays> i suppose it could just be a fact in this instance, but what if I wanted a class w/ state?
[2009/05/20 10:36:48] <joe-mac> sigmonsays: you can make server-side functions, or use erb templating to build files on a host
[2009/05/20 10:37:36] <sigmonsays> ok. i'm have a list of "pools" that are scattered about in various places. I wanted a place to run code to validate values w/o having to duplicate the validation code in er
[2009/05/20 10:37:37] <sigmonsays> erb*
[2009/05/20 10:37:59] <verwilst> if i have zabbix::server inherits zabbix and zabbix::agent inherits zabbix
[2009/05/20 10:38:05] <verwilst> and i include them both onto a node
[2009/05/20 10:38:08] <verwilst> will they conflict?
[2009/05/20 10:38:48] <joe-mac> sigmonsays: maybe if you included a class that runs a server-side function? not too sure
[2009/05/20 10:39:03] <Volcane> sigmonsays: http://reductivelabs.com/trac/puppet/wiki/WritingYourOwnFunctions
[2009/05/20 10:39:21] <sigmonsays> ahaha!
[2009/05/20 10:39:22] <sigmonsays> very nice
[2009/05/20 10:39:43] @ Quit: fbe: Read error: 110 (Connection timed out)
[2009/05/20 10:39:50] <joe-mac> yea, it is definitely a nice feature to have. i only use it one place but i coudln't really do much without it
[2009/05/20 10:39:54] <sigmonsays> i just need to sanitize/validate users input. this file could destroy site(s)
[2009/05/20 10:43:29] <Volcane> sigmonsays: yeah so in your function just do: raise Puppet::ParseError, "not a valid pool" unless args[0] =~ /some regex to test them/
[2009/05/20 10:43:35] @ pluesch0r left channel #puppet ()
[2009/05/20 10:43:39] <Volcane> then the runs will just exit and die :)
[2009/05/20 10:45:42] <flashn> Hmm, I think the docs for PuppetShow should also mention db:schema:load
[2009/05/20 10:46:01] <flashn> if you do db:migrate you'll overwrite the definitions for the tables you need
[2009/05/20 10:46:41] @ hessml is now known as hessml|away
[2009/05/20 10:51:30] @ hessml|away is now known as hessml
[2009/05/20 10:51:37] @ bjaspan joined channel #puppet
[2009/05/20 10:57:19] @ teyo joined channel #puppet
[2009/05/20 10:57:37] @ Quit: hessml: "Leaving..."
[2009/05/20 10:59:07] @ jmarki joined channel #puppet
[2009/05/20 11:00:20] @ hessmll joined channel #puppet
[2009/05/20 11:01:25] <duritong> why do people always think that they deserve an answer from a list within a certain amound of time...
[2009/05/20 11:02:10] <joe-mac> duritong: the 'must be new here' syndrome
[2009/05/20 11:02:11] @ Quit: Demosthenes: "leaving"
[2009/05/20 11:02:27] <joe-mac> i normally have come to expect no answer in most channels and lists except puppet and #openbsd
[2009/05/20 11:02:51] <joe-mac> even on unrelated topics too
[2009/05/20 11:03:45] <duritong> I didn't expect an answer on that :P
[2009/05/20 11:04:11] <joe-mac> lol
[2009/05/20 11:06:14] @ Quit: lak: "Leaving."
[2009/05/20 11:08:26] @ edwardam joined channel #puppet
[2009/05/20 11:09:39] <LinuxCode> you shouldnt expect anything
[2009/05/20 11:09:48] <LinuxCode> be grateful for a response
[2009/05/20 11:10:34] <sigmonsays> well said ^
[2009/05/20 11:11:10] <sigmonsays> #puppet is usually pretty good. I bet they'd even help me decide what color socks to wear.
[2009/05/20 11:11:25] <LinuxCode> black
[2009/05/20 11:14:35] @ Quit: kolla: Remote closed the connection
[2009/05/20 11:18:02] @ Quit: verwilst: "Ex-Chat"
[2009/05/20 11:27:11] <joe-mac> lol..
[2009/05/20 11:32:07] @ Quit: edwardam: Remote closed the connection
[2009/05/20 11:36:25] @ Quit: MarlondB:
[2009/05/20 11:44:36] @ lak joined channel #puppet
[2009/05/20 11:45:34] <mikepea> pastie: url
[2009/05/20 11:46:58] @ Quit: Innocenti: Read error: 113 (No route to host)
[2009/05/20 11:48:10] <pastie> http://pastie.org/484250 by mikepea.
[2009/05/20 11:49:09] <mikepea> lak, nasrat: ^ is the trace output from my 'undefined method `[]' for :che:Symbol' error
[2009/05/20 11:49:10] @ erm_ joined channel #puppet
[2009/05/20 11:50:50] @ Quit: ghenry: Remote closed the connection
[2009/05/20 11:50:51] <nasrat> mikepea: which puppet version?
[2009/05/20 11:51:01] <mikepea> 0.24.7
[2009/05/20 11:51:32] @ alfism joined channel #puppet
[2009/05/20 11:51:35] <mikepea> have tried deleting localconfig.yaml, no dice
[2009/05/20 11:52:48] <nasrat> that looks like an error I've seen talked about on list
[2009/05/20 11:52:49] <nasrat> one sec
[2009/05/20 11:54:36] <nasrat> http://groups.google.com/group/puppet-users/browse_frm/thread/24c8dc9c9c4cc11b?tvc=1
[2009/05/20 11:55:53] @ Quit: tim|macbook:
[2009/05/20 11:57:19] <mikepea> cool - have moved state.yaml and localconfig.yaml out of the way, and rerunning.
[2009/05/20 11:57:45] <mikepea> that looks to have nailed it. Thanks!
[2009/05/20 11:58:11] <nasrat> mikepea: can you compare working and non-working of those files
[2009/05/20 11:58:13] @ ghenry joined channel #puppet
[2009/05/20 11:58:17] <nasrat> see if we can identify the corruption
[2009/05/20 11:58:20] <mikepea> yup, will do
[2009/05/20 12:00:09] @ Quit: rasputnik_: "Leaving"
[2009/05/20 12:00:33] @ Quit: tyll: Remote closed the connection
[2009/05/20 12:03:11] @ edwardam joined channel #puppet
[2009/05/20 12:06:48] <mikepea> nasrat: there's a corrupt line in state.yaml:
[2009/05/20 12:06:51] <mikepea> File[/etc/semantico/instance/depp-reader/1/keystore.jks]: :che
[2009/05/20 12:07:10] <mikepea> that seems to be where our revolutionary is coming from
[2009/05/20 12:08:16] <Volcane> only time i had similar was when i had dodgy parser functions :)
[2009/05/20 12:11:21] <nasrat> mikepea: hmm ok does the string :che occur at all in the good file?
[2009/05/20 12:11:32] <mikepea> Volcane: are you serious? I have also implemented a new parser function today on our production pm.
[2009/05/20 12:12:12] <mikepea> nasrat: nope - basically looks like the :checked: entity has got corrupted - will pastie a good and bad fragment.
[2009/05/20 12:12:16] <mikepea> pastie: uel
[2009/05/20 12:12:19] <mikepea> pastie: url
[2009/05/20 12:13:16] <Volcane> mikepea: i am yah, in my case the return value wasnt a real string it was some funky object that the csv ruby module returned, once i .to_s'd it all was well
[2009/05/20 12:13:28] <pastie> http://pastie.org/484286 by mikepea.
[2009/05/20 12:13:39] <nasrat> yeah the yaml module doesn't like custom stuff IIRC
[2009/05/20 12:14:38] <nasrat> mikepea: #2029
[2009/05/20 12:14:40] <gepetto> nasrat: mikepea: #2029 is http://projects.reductivelabs.com/issues/show/2029 "Puppet - Bug #2029: node yaml file can get corrupted - ReductiveLabs.com"
[2009/05/20 12:14:54] @ Quit: teyo:
[2009/05/20 12:14:58] <Volcane> mikepea: and to debug it was hell, i had to fiddle some debug code into the puppetmaster to save the catalogue its sending to a file as well, cos the client would just go titsup without writing its catalogue. so if you're getting past that its probably not hte same
[2009/05/20 12:15:14] <mikepea> ah, my fail was just a missing dir on the pm causing a parse error - maybe not related
[2009/05/20 12:17:43] @ Quit: alhoang_:
[2009/05/20 12:19:16] @ barnoid_ is now known as barnoid
[2009/05/20 12:21:49] @ Quit: madrescher: "Leaving."
[2009/05/20 12:23:25] @ Quit: alban2: Read error: 110 (Connection timed out)
[2009/05/20 12:24:22] @ Demosthenes joined channel #puppet
[2009/05/20 12:26:38] <mikepea> nasrat: would the patch in #2029 fix this issue then? I can't see how it relates.
[2009/05/20 12:26:39] <gepetto> mikepea: nasrat: #2029 is http://projects.reductivelabs.com/issues/show/2029 "Puppet - Bug #2029: node yaml file can get corrupted - ReductiveLabs.com"
[2009/05/20 12:27:13] @ sts left channel #puppet ()
[2009/05/20 12:29:21] @ Quit: pheezy: Remote closed the connection
[2009/05/20 12:29:31] @ teyo joined channel #puppet
[2009/05/20 12:30:11] @ pheezy joined channel #puppet
[2009/05/20 12:36:25] @ kolla joined channel #puppet
[2009/05/20 12:37:19] <nasrat> mikepea: not sure I'll have to look
[2009/05/20 12:39:05] @ glaw joined channel #puppet
[2009/05/20 12:42:13] @ fbe_ is now known as fbe
[2009/05/20 12:45:47] @ Quit: alfism: "Connection reset by beer"
[2009/05/20 12:49:23] @ Quit: MattyM: "ta ta"
[2009/05/20 12:50:12] @ hessml_ joined channel #puppet
[2009/05/20 12:52:23] <Volcane> hate++ debian.
[2009/05/20 12:52:39] <Volcane> you'd think they can sort out permissions on their nagios package so the web ui actually works
[2009/05/20 12:53:28] <joe-mac> Volcane: i don't even use the package
[2009/05/20 12:53:48] @ Quit: pheezy: Remote closed the connection
[2009/05/20 12:53:52] <Volcane> debians just so broken, i honestly dont know why people bother
[2009/05/20 12:54:02] <joe-mac> anybody know why on a first run of puppet, it wouldn't know what the hostname faq was, but on the second run it does?
[2009/05/20 12:54:25] @ pheezy joined channel #puppet
[2009/05/20 12:55:02] <plathrop> joe-mac: If /etc/hosts is being managed by Puppet, and is wrong the first time, that can happen
[2009/05/20 12:55:25] @ plathrop is now known as plathrop-away
[2009/05/20 12:56:02] <joe-mac> that shouldn't be the case here, it's when it goes to compile an erb template that i use the hostname fact in
[2009/05/20 12:56:05] <agaffney> Volcane: nagios.cmd? I have the same problem with nagios under centos
[2009/05/20 12:56:24] <agaffney> or are you have more problems than just that?
[2009/05/20 12:56:56] @ Quit: lak: "Leaving."
[2009/05/20 12:57:10] @ Quit: teyo:
[2009/05/20 13:00:03] @ nakano_ is now known as nakano
[2009/05/20 13:01:15] @ Quit: fujin:
[2009/05/20 13:02:32] <joe-mac> anybody know how i can get around ipaddress_eth1 not being defined until after i run through the manifest, yet i use that value in the template for this particular host's apachec onfig?
[2009/05/20 13:08:12] @ Quit: zeroXten: Remote closed the connection
[2009/05/20 13:08:28] @ Quit: nasrat: "Ex-Chat"
[2009/05/20 13:09:55] @ teyo joined channel #puppet
[2009/05/20 13:09:56] @ Quit: mikepea: Read error: 60 (Operation timed out)
[2009/05/20 13:10:43] <joe-mac> god that problem sucks
[2009/05/20 13:10:52] <joe-mac> i'm going to eat, anyone thinks of something feel free to ping while i'm away
[2009/05/20 13:11:15] * Volcane 's ipaddress_eth1 is there from facter ie. its always there?
[2009/05/20 13:14:18] @ Quit: glaw: Remote closed the connection
[2009/05/20 13:19:27] @ lak joined channel #puppet
[2009/05/20 13:21:01] @ mfoster left channel #puppet ()
[2009/05/20 13:25:21] @ bjaspan_ joined channel #puppet
[2009/05/20 13:30:18] @ alfism joined channel #puppet
[2009/05/20 13:40:11] @ ezmob joined channel #puppet
[2009/05/20 13:40:14] @ justindossey joined channel #puppet
[2009/05/20 13:41:37] @ Quit: bjaspan: Read error: 110 (Connection timed out)
[2009/05/20 13:44:16] @ Quit: DerekW: Remote closed the connection
[2009/05/20 13:51:32] <joe-mac> Volcane: not on mine when i don't have an ip address for eth1...
[2009/05/20 13:51:40] <joe-mac> it ends up getting set *after* my manifest is applied
[2009/05/20 13:58:17] <flashn> use require?
[2009/05/20 14:00:40] <joe-mac> i could require the net_ifs resource, which would set the ips, but that doesn't guarantee thef acts will be recompiled
[2009/05/20 14:03:06] <joe-mac> Volcane: how do you test if a fact is undefined, has_variable/
[2009/05/20 14:03:14] <joe-mac> my version of puppet doesn't have that function, so i hope not
[2009/05/20 14:06:44] @ madrescher joined channel #puppet
[2009/05/20 14:08:37] <Volcane> joe-mac: oh well thats not a surprise then :)
[2009/05/20 14:08:53] <Volcane> joe-mac: yeah has_variable? i think see the wiki page about templating
[2009/05/20 14:10:24] <joe-mac> my version of puppet doesn't have has_variable. you have any ideas how to get around this? can i bind apache by interface name not by ip? i've never done that, only by ip
[2009/05/20 14:10:37] @ nakano is now known as nakano_
[2009/05/20 14:10:38] @ grey- joined channel #puppet
[2009/05/20 14:11:04] <Volcane> not sure, but why not get a newer version puppet? there's been a whole huge load of improvements, you must on 0.24.4?
[2009/05/20 14:11:23] <joe-mac> yea i am on .24.4
[2009/05/20 14:11:39] <joe-mac> i don't wanna re package it, this is what comes with booontooo 8.04 LTS
[2009/05/20 14:11:53] <Volcane> ah, we're back to debian being the root of all evil
[2009/05/20 14:11:58] <joe-mac> yea, i agree
[2009/05/20 14:12:37] <joe-mac> i've encountered so many minor nuisances with the OS that they add up to a major PITA. I forget most of them but one single thing stays in my head, deb sucks
[2009/05/20 14:13:01] <Volcane> somehow got a ubuntu box today without cron on it
[2009/05/20 14:13:21] <Volcane> why that should even be possible is beyond me
[2009/05/20 14:14:26] <Volcane> anyway, time to go home
[2009/05/20 14:14:27] <Volcane> chat later
[2009/05/20 14:14:29] <joe-mac> Volcane: happens all the time
[2009/05/20 14:14:38] <joe-mac> probably ubuntu jeos, which doesn't come with cron
[2009/05/20 14:14:40] <joe-mac> see ya dude
[2009/05/20 14:15:44] @ Quit: keithlar_: "Leaving..."
[2009/05/20 14:16:36] @ mfoster joined channel #puppet
[2009/05/20 14:23:52] <martha> so, wiki:ExportedResources claims that you can now override resources when you collect them. however, when I try I get a syntax error: http://pastie.org/484421
[2009/05/20 14:23:53] <gepetto> martha: so: wiki:ExportedResources is http://reductivelabs.com/trac/puppet/wiki/ExportedResources
[2009/05/20 14:26:03] <martha> it also gets a syntax error on parse
[2009/05/20 14:26:12] <martha> has anyone else tried to use this?
[2009/05/20 14:26:32] <lak> martha: that's only 0.25
[2009/05/20 14:26:42] @ WALoeIII joined channel #puppet
[2009/05/20 14:26:48] <martha> lak: the wiki says 0.24.8
[2009/05/20 14:27:52] <martha> I guess the wiki is wrong then.
[2009/05/20 14:28:10] @ hessml_ is now known as hessml|away
[2009/05/20 14:28:58] <martha> that's annoying, because that's exactly what I was looking for to work around the problem I was having :-( All of my *bsd server insist on exported files with group wheel, no matter what the manifest says
[2009/05/20 14:30:43] @ claymation left channel #puppet ()
[2009/05/20 14:35:21] @ Quit: bjaspan_: Remote closed the connection
[2009/05/20 14:35:58] @ bjaspan joined channel #puppet
[2009/05/20 14:40:07] <martha> oh well, I suppose I should just track down the bsd bug.
[2009/05/20 14:49:33] @ MattyM joined channel #puppet
[2009/05/20 14:57:06] @ briandquinn joined channel #puppet
[2009/05/20 14:57:21] @ lludwig joined channel #puppet
[2009/05/20 14:59:19] @ lludwig left channel #puppet ()
[2009/05/20 15:06:03] @ Quit: aymerick:
[2009/05/20 15:13:10] @ alban2 joined channel #puppet
[2009/05/20 15:14:06] @ Quit: thijso: Read error: 113 (No route to host)
[2009/05/20 15:16:30] @ Quit: lak: "Leaving."
[2009/05/20 15:19:33] @ ezmob is now known as ezmob|away
[2009/05/20 15:29:20] @ grim_radical joined channel #puppet
[2009/05/20 15:30:27] @ Quit: d3vilb0x:
[2009/05/20 15:32:47] @ plathrop-away is now known as plathrop
[2009/05/20 15:33:27] @ kngus1 joined channel #puppet
[2009/05/20 15:33:32] @ kngus1 left channel #puppet ("Leaving.")
[2009/05/20 15:37:05] @ lak joined channel #puppet
[2009/05/20 15:40:01] @ mikepea joined channel #puppet
[2009/05/20 15:40:58] @ thijso joined channel #puppet
[2009/05/20 15:42:47] <joe-mac> how nice of rhythmbox to request 40 GB of RAM
[2009/05/20 15:43:02] <joe-mac> luckily i caught that before it tried to really give it the ram
[2009/05/20 15:46:57] @ ezmob|away is now known as ezmob
[2009/05/20 15:48:03] @ Quit: omry: Remote closed the connection
[2009/05/20 15:51:50] @ Quit: lak: "Leaving."
[2009/05/20 15:52:10] @ Quit: pheezy: Remote closed the connection
[2009/05/20 15:56:08] @ Quit: Baum: "changing servers"
[2009/05/20 15:56:35] @ pheezy joined channel #puppet
[2009/05/20 15:56:35] @ Baum joined channel #puppet
[2009/05/20 16:01:07] @ Quit: kolla: Remote closed the connection
[2009/05/20 16:06:10] @ zahna left channel #puppet ()
[2009/05/20 16:12:18] @ kambiz is now known as kambiz_away
[2009/05/20 16:16:21] @ grim_fandango joined channel #puppet
[2009/05/20 16:16:59] @ Quit: madrescher: Read error: 110 (Connection timed out)
[2009/05/20 16:17:13] <grim_fandango> I am seeing lots of examples of bits of pieces of Puppet configurations on the wiki and other related documentation but I am left wondering if there is a good example of a complete Puppet configuration somewhere...
[2009/05/20 16:17:28] <grim_fandango> Does anyone have anything they can point me to? No doubt this is just something I am missing on the Puppet wiki.
[2009/05/20 16:17:50] <plathrop> grim_fandango: define "complete"?
[2009/05/20 16:18:16] @ Quit: pheezy: Remote closed the connection
[2009/05/20 16:18:47] @ d3vilb0x joined channel #puppet
[2009/05/20 16:19:02] @ madrescher joined channel #puppet
[2009/05/20 16:19:24] <grim_fandango> A Puppet configuration that someone is actually using somewhere IRL as opposed to just little bits here & there... I'm looking for something that I can read to get an overall better picture of what it looks like when things are put together.
[2009/05/20 16:20:12] <plathrop> grim_fandango: hrm... Well, I guess I don't have anything I can point you at then
[2009/05/20 16:20:30] <grim_fandango> plathrop: I have no problem reading the reference docs but a .tgz of a working Puppet configuration would be great to look at, even if it doesn't apply to what I am trying to achieve, specifically.
[2009/05/20 16:20:41] <grim_fandango> Thanks anyway
[2009/05/20 16:23:25] <LinuxCode> grim_fandango, by the puppet book by apress
[2009/05/20 16:23:28] <LinuxCode> bye*
[2009/05/20 16:23:37] <LinuxCode> he goes through an example
[2009/05/20 16:24:55] <grim_fandango> LinuxCode: How recent is that book? Does it follow v2 of the Puppet Best Practices?
[2009/05/20 16:25:19] <LinuxCode> yes vs 2
[2009/05/20 16:25:24] <LinuxCode> version
[2009/05/20 16:25:26] <LinuxCode> sec
[2009/05/20 16:25:55] * plathrop has found the Best Practices to be misleading at best.
[2009/05/20 16:26:20] <grim_fandango> Oh?
[2009/05/20 16:26:21] <grim_fandango> How so?
[2009/05/20 16:26:52] <Volcane> the book is independant of the various best practises wiki pages
[2009/05/20 16:26:56] <plathrop> Unless it has drastically changed since I last read it, it was nothing close to what the community consensus had seemed to be
[2009/05/20 16:27:07] <Volcane> those best practises are just how one or two groups of people use puppet in their environemnt
[2009/05/20 16:27:09] <LinuxCode> grim_fandango, it is 0.23
[2009/05/20 16:27:27] <LinuxCode> grim_fandango, but tbh you will have to modify it to your needs anyway
[2009/05/20 16:27:37] <LinuxCode> best way is to jump in the cold end
[2009/05/20 16:28:17] <plathrop> grim_fandango: I hope to get our complete config sanitized and published soon, but that's on the order of a month at least, so not very helpful :-(
[2009/05/20 16:28:42] <grim_fandango> Hey, I appreciate the effort even if I can't realize it right now :-)
[2009/05/20 16:29:39] <Volcane> grim_fandango: there's no "this is how to use puppet" guide that will make sense, the only way is to figure out the concepts underpinning its design and applying those to your own environment and work methods
[2009/05/20 16:29:53] @ pheezy joined channel #puppet
[2009/05/20 16:30:58] <joe-mac> i hate hardware
[2009/05/20 16:31:01] <LinuxCode> Volcane, Id go with that
[2009/05/20 16:31:27] <joe-mac> plathrop: where do you work?
[2009/05/20 16:32:06] <grim_fandango> Volcane: Yeah, I'm not looking for a "this is how to use puppet" guide. I am looking to get an overall picture for how others have implemented Puppet.
[2009/05/20 16:32:38] <plathrop> joe-mac: Digg
[2009/05/20 16:32:43] <goozbach> grim_fandango: there was a git repo some guy posted at one point
[2009/05/20 16:32:49] <goozbach> I don't remember where I saw it
[2009/05/20 16:33:00] <goozbach> but it was a complete manifest
[2009/05/20 16:33:03] <joe-mac> o i c. what do you use for provisioning plathrop?
[2009/05/20 16:33:23] <plathrop> grim_fandango: Part of the problem is that it is such a moving target, often a whole config is obsolete by the time it is published
[2009/05/20 16:33:41] <plathrop> joe-mac: We're a Debian shop, so we bootstrap the OS with FAI, then puppet takes over.
[2009/05/20 16:34:06] <joe-mac> no virtualization?
[2009/05/20 16:34:15] <joe-mac> FAI seems kinda hackish
[2009/05/20 16:34:26] <grim_fandango> plathrop: Yeah, I realize that. Comes with the territory.
[2009/05/20 16:34:31] <plathrop> joe-mac: We only virtualize our dev / ci environments
[2009/05/20 16:34:34] <Volcane> joe-mac: perfect for debian then...
[2009/05/20 16:34:49] <joe-mac> Volcane: lol, hey at l;east i can now preseed lvm over raid, sort of
[2009/05/20 16:34:53] <plathrop> joe-mac: I have actually found FAI to be very elegant. It doesn't make a lot of decisions for you.
[2009/05/20 16:35:17] <plathrop> joe-mac: We've been sucessfully bootstrapping LVM over RAID for awhile now.
[2009/05/20 16:35:19] <goozbach> fai is a pain
[2009/05/20 16:35:19] <joe-mac> i can preseed the raid part, then i have to hax0r a firstboot script that creates the lvols on the secondary boot (my / is not in LVM) then reboots
[2009/05/20 16:35:25] <goozbach> presseed is a pain
[2009/05/20 16:35:29] <grim_fandango> I like software that doesn't try to be too smart. Eventually smart just gets in your way ;-)
[2009/05/20 16:35:32] <joe-mac> yea, FAI can do it, just preseed can't without hackery
[2009/05/20 16:35:33] <goozbach> kickseed sounds interesting
[2009/05/20 16:35:37] <plathrop> grim_fandango: +1
[2009/05/20 16:35:53] <joe-mac> goozbach: is that the retarded little parser for turning .ks files into preseed files?
[2009/05/20 16:36:05] <plathrop> I like that we can install puppet in our FAI nfsroot and just use it instead of shell scripts if we want.
[2009/05/20 16:36:06] <goozbach> joe-mac: it's some ubuntuisim
[2009/05/20 16:36:12] <goozbach> don't know much more than that
[2009/05/20 16:36:29] <goozbach> kickstart is how installation automation should be done
[2009/05/20 16:36:47] @ lak joined channel #puppet
[2009/05/20 16:36:47] <joe-mac> goozbach: kickseed is a retarded parser that turns .ks into preseeds
[2009/05/20 16:37:07] <goozbach> ohh
[2009/05/20 16:37:08] <joe-mac> and yes, kickstart is how installs should be done. since rhel is the os of the jesus machine himself
[2009/05/20 16:37:31] <joe-mac> o, how i miss thee RHEL
[2009/05/20 16:38:22] <grim_fandango> Goodness... we use RHEL at work and I'd gladly substitute Debian if I could!
[2009/05/20 16:38:42] <joe-mac> grim_fandango: how many machines? how much manual work do you like to do per day?
[2009/05/20 16:38:55] <joe-mac> if i do the same task more than once, i die a little inside
[2009/05/20 16:39:04] <goozbach> grim_fandango: you must be a single-boxer
[2009/05/20 16:39:09] <goozbach> :)
[2009/05/20 16:39:22] <grim_fandango> Not quite but we don't have many machines
[2009/05/20 16:39:41] <goozbach> I find debian doesn't scale well
[2009/05/20 16:39:48] <goozbach> but I do have func installed
[2009/05/20 16:39:50] <goozbach> that's nice
[2009/05/20 16:40:09] <joe-mac> i know what you mean, but you might wanna clarify 'scale' before a jihad breaks out
[2009/05/20 16:40:20] <grim_fandango> haha
[2009/05/20 16:40:23] <goozbach> administration
[2009/05/20 16:40:32] <goozbach> repeatability, manageability
[2009/05/20 16:40:34] <joe-mac> besides, plathrop probably runs more debuian boxen than anyone in this channel
[2009/05/20 16:40:53] @ Quit: rgsteele||work: Read error: 104 (Connection reset by peer)
[2009/05/20 16:41:03] <goozbach> as soon as I get debian working properly under cobbler I may change my tune
[2009/05/20 16:42:12] <plathrop> Wow, I would like to think we know a think or two about scaling and Debian has been the best choice, hands-down
[2009/05/20 16:42:41] <plathrop> We've tried other distros, and while there are some that are not clearly any worse, certainly there are very few we've found to be better.
[2009/05/20 16:43:06] <joe-mac> plathrop: how do you manage dpkg updates?
[2009/05/20 16:43:27] <Volcane> debian/rhel are both good choices provided you know them well and design your systems to work WITH the distro rather than force the distro to work your way
[2009/05/20 16:44:00] <plathrop> Volcane: +1, rhel is one of the ones in our first category. We chose Debian over it because that's what our team had more experience with.
[2009/05/20 16:44:02] @ Quit: edwardam: Read error: 104 (Connection reset by peer)
[2009/05/20 16:44:03] <Volcane> but its people who come from $distro then work with $otherdistro for 2 weeks trying to make $otherdistro work like $distro and then bitch and moan that its crap
[2009/05/20 16:44:07] @ edwardam joined channel #puppet
[2009/05/20 16:44:07] <plathrop> joe-mac: You mean pathes and the like?
[2009/05/20 16:44:09] <grim_fandango> Aye. My problem with RH is that I find I'm usually looking to compile something from source ... Debian on the other hand almost always has a packaged version of what I'm looking for. That is awesome.
[2009/05/20 16:44:13] <plathrop> s/pathes/patches/
[2009/05/20 16:44:52] <goozbach> see I cut my teeth on RH/Fedora, and I'm yet to get my head around the debian way of doing things.
[2009/05/20 16:44:56] <plathrop> Volcane: I totally agree. My biggest bitch with Redhat *way* back in the day was I came from Slackware, and this new-fangled binary packages thing was absolute blasphemy!!!
[2009/05/20 16:45:18] <Volcane> my gripe with debian is about consistency really
[2009/05/20 16:45:21] <Cuchulain> goozbach: debconf lets you do repeated configuration quite easily
[2009/05/20 16:45:31] <plathrop> Volcane: You have a reasonable gripe there.
[2009/05/20 16:45:33] <Volcane> rhel is bloody consistant over major versions even
[2009/05/20 16:45:52] <joe-mac> plathrop: yea, for instance i have a smalla mount of machines. what i do is each node gets a nagios check_apt that checks apt. then i have a cluster service in nagios called apt_cluster that checks all the other status codes of the check_apts. when one goes out of sync, i get notified. then i looka t the patches, then during the maintenance window, i run my script that runs apt-get update && aopt-get upgrade to all my nodes, one at a time
[2009/05/20 16:46:00] <Volcane> i can take client sites from rhel3 to 4 to 5 without major reworking of their code, packages, work methods, versions etc
[2009/05/20 16:46:05] <Volcane> not the case on debian sites
[2009/05/20 16:46:51] <Volcane> its like you can figure out the RedHat Way and then just know how it works
[2009/05/20 16:46:53] <plathrop> joe-mac: Oh mang. That sounds awful
[2009/05/20 16:47:02] <grim_fandango> I agre
[2009/05/20 16:47:06] <grim_fandango> *agree, rather
[2009/05/20 16:47:07] <Cuchulain> Volcane: do you have a more specific example?
[2009/05/20 16:47:12] <Volcane> but theres just no sanity/consistancy in Debian that makes the thing predictable, you need to *know* it through learning by mistake
[2009/05/20 16:47:15] <joe-mac> why? it's all done automatically
[2009/05/20 16:47:22] <Volcane> Cuchulain: Debian-exim
[2009/05/20 16:47:31] <grim_fandango> joe-mac: Not if you have to manually fire off each upgrade
[2009/05/20 16:47:32] <Cuchulain> fair point :)
[2009/05/20 16:47:35] <plathrop> joe-mac: just sounds fragile, but if it works for ya, great
[2009/05/20 16:47:43] <Cuchulain> i basically ship a standard exim.conf for exim
[2009/05/20 16:47:50] <joe-mac> ... i run "apt-dc.rb" and my whole dc gets upgradedl ol
[2009/05/20 16:48:04] <plathrop> joe-mac: I don't know too much about how we handle that side of things; one of my team-mates mostly owns that.
[2009/05/20 16:48:04] <Cuchulain> my mods to it are generally so intrusive that debconf can't handle them at all
[2009/05/20 16:48:10] <joe-mac> o i c
[2009/05/20 16:48:13] <Cuchulain> but that would be the same for any distro
[2009/05/20 16:48:18] <Volcane> Cuchulain: and the user? its just so fugly the whole thing
[2009/05/20 16:48:25] <Cuchulain> and debian *does* handle shipping an exim.conf
[2009/05/20 16:48:35] <Cuchulain> Volcane: you mean as a desktop OS?
[2009/05/20 16:48:39] <joe-mac> when i said 'one at a time' grim_fandango i meant that the script isn't threaded
[2009/05/20 16:48:56] <Volcane> Cuchulain: no the Debian-exim user, do you put that back to standard too and in line with the rest of debians policies etc?
[2009/05/20 16:49:14] <Cuchulain> yeah, not normally
[2009/05/20 16:49:20] <joe-mac> if i get past 100 mahinces i might start making it threaded and just report back to me at the end which ones failed. no need to right now though
[2009/05/20 16:49:31] <Cuchulain> although I'll have to check
[2009/05/20 16:50:10] <Cuchulain> exim is the counter-example i'd use to "debian is nice to manage"
[2009/05/20 16:50:23] <Volcane> Cuchulain: the main point i guess is the thing is inconsistant and one part doesnt work like another even on basic principals and almost all daemons on it has been bastardised in some way to work different from how the developers of the software intended which results in you cant even go and buy a apache book or a $daemon book and use it if you're a debianer
[2009/05/20 16:50:25] <Cuchulain> do you have any other examples?
[2009/05/20 16:50:45] <Cuchulain> hrm, really?
[2009/05/20 16:51:22] <Volcane> yup, cos no apache book will tell you how to use the mess of sites-available/sites-enabled etc in the debian way, cos its the DEBIAN way
[2009/05/20 16:51:26] <grim_fandango> joe-mac: Oh, haha, apologies, I read that wrong then
[2009/05/20 16:51:34] <Cuchulain> hrm
[2009/05/20 16:51:36] <Cuchulain> i suppose
[2009/05/20 16:51:52] <Cuchulain> sites-available/enabled and mods-available/enabled make it *easier* to manage though
[2009/05/20 16:51:57] @ ezmob is now known as ezmob|away
[2009/05/20 16:52:02] <Volcane> or all the weird freaky shit it does to mysql with its daily scripts
[2009/05/20 16:52:03] <plathrop> Volcane: On the other hand, I like the Debian way *better* for apache
[2009/05/20 16:52:30] <joe-mac> nah i said it wrong lol, running apt-get one at a time would be ridicuklously fragile
[2009/05/20 16:52:34] @ Quit: sigmonsays: Remote closed the connection
[2009/05/20 16:52:53] <Cuchulain> what does it do daily to mysql?
[2009/05/20 16:52:59] <Volcane> plathrop: i dont dispute that some of debians ways are better, it annoys me that its different from how the software was designed though
[2009/05/20 16:53:01] <Cuchulain> don't get me wrong, i'm not challenging you
[2009/05/20 16:53:11] <Cuchulain> i've used debian for a long time though, so I just don't notice the quirks
[2009/05/20 16:53:21] <Cuchulain> exim is the one point i'd have said was a pain in the ass
[2009/05/20 16:53:32] <Cuchulain> but i'm interested to hear what you think :)
[2009/05/20 16:53:38] <joe-mac> the workflow is, i get notified, i look at the nagios page, and ACK it in the "All APT packages" thing, then on the maint window, run a script. it works good, it just sounds clunky cause nagios is kind of not designed for it.
[2009/05/20 16:53:57] <plathrop> Volcane: yah
[2009/05/20 16:54:03] <Cuchulain> i've hit major issues in the past with a predecessor "not liking" the debian way, and just hand-compiling and installing stuff
[2009/05/20 16:54:05] <Volcane> Cuchulain: daily flushlogs for example are a really bad idea on more than just pissy small sites.
[2009/05/20 16:54:11] <Cuchulain> and it caused *major* issues
[2009/05/20 16:54:12] <joe-mac> things are done every day on mysql with debian
[2009/05/20 16:54:26] <joe-mac> Cuchulain: wow what a coincidence, that's what i have here
[2009/05/20 16:54:32] <plathrop> Yeah, we totally work around Debian on our mysql boxes
[2009/05/20 16:54:33] <Cuchulain> not just with "you have to manually track bugfixes"
[2009/05/20 16:54:55] <joe-mac> my boss' predecessor did that, and then let apt get so far out of date everything broke, so i can't actually compile the bug fixes now
[2009/05/20 16:55:07] <joe-mac> so awesome...
[2009/05/20 16:55:32] <Volcane> joe-mac: yeah thats a terrible idea...never go installing stuff from source on package managed distros
[2009/05/20 16:55:40] <joe-mac> i know
[2009/05/20 16:55:53] <joe-mac> i mean, that is like my biggest pet peeve
[2009/05/20 16:56:00] <joe-mac> nix cowboys
[2009/05/20 16:56:18] <Cuchulain> i wouldn't say never
[2009/05/20 16:56:29] <Volcane> yeah, they dd it cos making debs is like a whole new level of hell
[2009/05/20 16:56:29] <Cuchulain> you just need to know why you're doing it.
[2009/05/20 16:56:49] <Cuchulain> but if all you're doing is rolling apache 2.0.53 because debian only has 2.0.47
[2009/05/20 16:56:54] <Cuchulain> then, well, you're an idiot.
[2009/05/20 16:57:19] <Cuchulain> and there's actually a bunch of tools for rapidly building up debs from a hand-compiled tree
[2009/05/20 16:57:32] <Cuchulain> which at least gives you the ability to track and remove it
[2009/05/20 16:57:41] <Volcane> the result is still a pile of cobbled together fail though :)
[2009/05/20 16:58:27] <Cuchulain> sure
[2009/05/20 16:58:39] <Cuchulain> wait, are you talking about debian in general, or the topic of the last 3 minutes?
[2009/05/20 16:58:43] <Cuchulain> :)
[2009/05/20 16:58:55] <Volcane> source debs or whatever u call them
[2009/05/20 16:58:58] <Volcane> horrible little things
[2009/05/20 16:59:01] <Volcane> no wonder ppl install from source
[2009/05/20 16:59:10] <Cuchulain> meh
[2009/05/20 16:59:11] <Cuchulain> seriously
[2009/05/20 16:59:17] <Cuchulain> if you can't take the time to learn your OS
[2009/05/20 16:59:19] <Cuchulain> you shouldn't be using it
[2009/05/20 16:59:33] <Volcane> i know how to make debs
[2009/05/20 16:59:40] <Volcane> and i can spot a mess when i see it
[2009/05/20 16:59:53] <joe-mac> i may have to start doing that for puppet
[2009/05/20 17:00:05] <joe-mac> i'm guessing that fro the LTS life cycle .24.4 is just not going to cut it lol
[2009/05/20 17:00:10] * Volcane does actually have many debian/ubuntu machines and use them daily
[2009/05/20 17:00:20] <Volcane> so i am not just moaning about things i dont know
[2009/05/20 17:00:34] <Cuchulain> Volcane: it was a general point about people installing from source
[2009/05/20 17:00:50] <Cuchulain> "if one can't take the time to learn one's OS, one shouldn't be using it"
[2009/05/20 17:00:53] <Volcane> joe-mac: you could probably just use the debs thats in debian ? worst case rebuild them for yourself
[2009/05/20 17:00:57] <Volcane> Cuchulain: ah sure
[2009/05/20 17:01:20] <Cuchulain> and a lot of things are fine to install from source
[2009/05/20 17:01:36] <joe-mac> Cuchulain: how do you maintain patching?
[2009/05/20 17:01:48] <Cuchulain> but installing apache from source, for example, will just mean you can never use any of the existing packages for anything that uses apache
[2009/05/20 17:01:54] <Cuchulain> like php, or any webapp that uses php
[2009/05/20 17:02:05] <Volcane> if you're installing from source then you need to install outside of the directories that the package manager use, like into /opt or someting
[2009/05/20 17:02:12] <Cuchulain> yeah
[2009/05/20 17:02:25] <Cuchulain> and i suppose you could have the distro apache installed, and then have your own apache installed into /opt or /usr/local
[2009/05/20 17:02:30] <Volcane> then its fine, but boy, people who just install into /usr or whatever, bloody hell
[2009/05/20 17:02:55] <joe-mac> my only source compiled app is nagios3, which goes in /usr/local/nagios. its own little ecosystem
[2009/05/20 17:02:57] <Cuchulain> but there's a level of care that is missing in most cases...
[2009/05/20 17:03:10] <Cuchulain> joe-mac: to answer your question...
[2009/05/20 17:03:14] <Cuchulain> how do you maintain patching for nagios3?
[2009/05/20 17:03:20] <Volcane> joe-mac: yeah debians nagios package is utter shyte
[2009/05/20 17:03:38] * Volcane installed it on ubuntu again today and its horrific
[2009/05/20 17:03:49] <Cuchulain> i'm not saying it's fine to install lots of things from source... I'm saying that a lot of things are ok to install from sources. or even preferred.
[2009/05/20 17:04:16] <joe-mac> Cuchulain: i am on the mailing list. and when a new one comes out, i extract it to /usr/src on my less important nagios server, thenc ompile and install. cross my fingers. then if things look good do it on the important one
[2009/05/20 17:04:21] * Volcane 's redhat machines has zero from-source anything
[2009/05/20 17:04:45] <Cuchulain> most systems I run will eventually end up with one leaf-package (something that isn't a library or dependant package for other things) installed on it
[2009/05/20 17:04:57] <Cuchulain> simply because it's not packaged for debian
[2009/05/20 17:05:08] <Cuchulain> if i have to install it on two machines, i'll make a package
[2009/05/20 17:05:27] <plathrop> We had hell upgrading PHP on debian
[2009/05/20 17:05:31] <Cuchulain> same for any distro.
[2009/05/20 17:05:32] <plathrop> Had to build our own packages
[2009/05/20 17:05:38] @ Quit: jmarki: Remote closed the connection
[2009/05/20 17:05:53] <plathrop> Even having Andre working here, that was terribly hard. Way harder than it should be
[2009/05/20 17:05:58] <plathrop> So, yeah, Debian has warts
[2009/05/20 17:06:00] <flashn> I have hobbit and commvault agent thats not managed by package managers
[2009/05/20 17:06:03] <joe-mac> andre?
[2009/05/20 17:06:05] <flashn> and compiled from source
[2009/05/20 17:06:09] <joe-mac> the giant?
[2009/05/20 17:06:15] <Volcane> heh
[2009/05/20 17:06:43] <Cuchulain> flashn: exactly
[2009/05/20 17:06:58] <flashn> and those are installed on _all_ machines
[2009/05/20 17:07:03] <Cuchulain> although if you're putting them on every machine, there's benefit to making your own packages
[2009/05/20 17:07:11] <Cuchulain> with your own config, or config templates that debconf can populate
[2009/05/20 17:07:28] <flashn> yeah
[2009/05/20 17:07:33] <Cuchulain> so then you can be sure you're getting the same setup
[2009/05/20 17:07:36] <Cuchulain> or, you know
[2009/05/20 17:07:38] <joe-mac> speaking of debconf, is anyone successfully preseeding the dlj license for sun java?
[2009/05/20 17:07:38] <Cuchulain> use puppet to manage the configs
[2009/05/20 17:07:40] <Cuchulain> maybe.
[2009/05/20 17:07:41] <Cuchulain> i guess.
[2009/05/20 17:07:50] @ ezmob|away is now known as ezmob
[2009/05/20 17:07:53] <joe-mac> i preseed other st uff fine, so i am pretty sure it's not me, but it still asks me to accept the dam license
[2009/05/20 17:07:58] <plathrop> Andrei Zmievski, you know, big-time PHP dev
[2009/05/20 17:08:21] <joe-mac> plathrop: i'm bad with names unless i know someone personally
[2009/05/20 17:08:22] <plathrop> joe-mac: Yeah, I'm preseeding that just fine
[2009/05/20 17:08:34] <joe-mac> plathrop: can you paste the preseed on pastie?
[2009/05/20 17:08:44] <plathrop> pastie: link me!
[2009/05/20 17:08:46] * Volcane prefers his package manager just not to have any possibility for prompting for crap during install :P
[2009/05/20 17:09:13] <pastie> http://pastie.org/484670 by plathrop.
[2009/05/20 17:09:26] <plathrop> Volcane: +1
[2009/05/20 17:09:37] @ Quit: LinuxCode: "Connection Closed"
[2009/05/20 17:09:38] <goozbach> I do one-off source installs into /usr/local/stow
[2009/05/20 17:09:44] <goozbach> and manage the links via stow
[2009/05/20 17:10:14] * Volcane has nightmares of SCO OpenSewer
[2009/05/20 17:10:23] <joe-mac> plathrop: sweet, i think maybe the dlj-present note stuff is what i didn't have. i had the three lines that say i accepted the license though
[2009/05/20 17:10:51] <Volcane> everything in /bin /usr/bin etc is a symlink to stuff in /opt/SCO/blah/blah/blah/blah/blah endlessly deep
[2009/05/20 17:11:43] <joe-mac> opensewer, HAHAAH
[2009/05/20 17:12:01] <Volcane> its hte worst unix
[2009/05/20 17:12:05] <Volcane> Xenix was better
[2009/05/20 17:13:57] @ Quit: briandquinn:
[2009/05/20 17:14:49] <joe-mac> my first unix was xenix on the server at my mom's work. the root password was written on a sticky on the wall
[2009/05/20 17:14:58] <joe-mac> my first pwn
[2009/05/20 17:15:05] <Volcane> sco's inittab was built from like a directory full of snippets
[2009/05/20 17:15:13] <Volcane> except the crap thing that concatted the file often core dumped
[2009/05/20 17:15:19] <Volcane> leaving core files in the directory full of snippets
[2009/05/20 17:15:25] <Volcane> = inittab with core dumps in it :(
[2009/05/20 17:15:47] <joe-mac> lol, souinds like fun times, you know inittab doesn't exist in ubuntu 8.04?
[2009/05/20 17:15:59] <joe-mac> it's replaced by the 'event-driven' upstart thingamobber
[2009/05/20 17:16:15] <Volcane> yeah i am sure it wasnt called innittab as such in sco either, trying not to remember too many details :)
[2009/05/20 17:16:30] <joe-mac> lol, like PTSD you're blocking it out
[2009/05/20 17:16:43] * Volcane had a big uucp network of sco machines all over places like zimbabwe etc
[2009/05/20 17:17:04] <joe-mac> pr0n?
[2009/05/20 17:17:19] <ezekiel-v3> prawn?
[2009/05/20 17:17:20] <Volcane> uucp over 2400 baud modems?
[2009/05/20 17:17:24] <Volcane> no porn on those
[2009/05/20 17:17:27] <joe-mac> ascii pr0n?
[2009/05/20 17:17:32] <Volcane> lol
[2009/05/20 17:17:55] <joe-mac> lol, 2400 jeez
[2009/05/20 17:18:23] <joe-mac> i can vaguely remember using a 2400 baud plug in cartridge on a C64, but i was way too young to be really messing with unix
[2009/05/20 17:18:47] <Volcane> often the entire phone network in zimbabwe would be down for weeks
[2009/05/20 17:18:55] <Volcane> couldnt do any remote support
[2009/05/20 17:19:08] @ plathrop is now known as plathrop-away
[2009/05/20 17:19:08] <joe-mac> plathrop: do you know what stopthread and jcepolicy are in your preseed?
[2009/05/20 17:19:18] @ plathrop-away is now known as plathrop
[2009/05/20 17:19:36] <plathrop> joe-mac: nope :-) I just grabbed what was there on a machine that had java installed
[2009/05/20 17:20:07] @ lak left channel #puppet ()
[2009/05/20 17:20:08] <joe-mac> k, thanks
[2009/05/20 17:20:39] @ lak joined channel #puppet
[2009/05/20 17:20:46] <joe-mac> zimbabwe's messed
[2009/05/20 17:20:47] <Volcane> jcepolicy is a bit like selinux
[2009/05/20 17:20:59] <Volcane> note = same as selinux in just logging mode iirc
[2009/05/20 17:21:11] <joe-mac> o i c
[2009/05/20 17:21:12] @ Quit: mikepea: Read error: 104 (Connection reset by peer)
[2009/05/20 17:21:21] <Volcane> and all the crypto libraries and what nots fal under it to now
[2009/05/20 17:21:21] <joe-mac> is stopthread some kind of memory management thing?
[2009/05/20 17:21:44] @ mikepea joined channel #puppet
[2009/05/20 17:21:58] <Volcane> joe-mac: pthreads support
[2009/05/20 17:23:20] @ mikepea_ joined channel #puppet
[2009/05/20 17:23:35] @ Quit: mccune: "Leaving."
[2009/05/20 17:24:08] @ Quit: mikepea: Connection reset by peer
[2009/05/20 17:25:34] @ mikepea joined channel #puppet
[2009/05/20 17:25:34] @ Quit: mikepea_: Read error: 54 (Connection reset by peer)
[2009/05/20 17:30:06] @ mccune joined channel #puppet
[2009/05/20 17:30:58] <plathrop> I hate when this happens
[2009/05/20 17:31:06] <plathrop> I'm having a huge problem, anyone want to help?
[2009/05/20 17:31:15] <joe-mac> uh, i doubt i am useful but what is it
[2009/05/20 17:31:26] <plathrop> pastie: link me
[2009/05/20 17:31:37] @ Bass10 joined channel #puppet
[2009/05/20 17:31:42] <pastie> http://pastie.org/484712 by plathrop.
[2009/05/20 17:32:01] <plathrop> So, that's the manifest in question. Pay particular notice to the "smtpd" package
[2009/05/20 17:32:08] <plathrop> But I'm getting this:
[2009/05/20 17:32:36] <plathrop> err: //Node[s0288]/site::web-base/Package[smtpd]/ensure: change from purged to present failed: Execution of '/usr/bin/apt-get -q -y -o DPkg::Options::=--force-confold install smtpd' returned 100: Reading package lists...
[2009/05/20 17:32:41] <plathrop> Building dependency tree...
[2009/05/20 17:32:43] <plathrop> Reading state information...
[2009/05/20 17:32:46] <plathrop> E: Couldn't find package smtpd
[2009/05/20 17:32:59] @ Quit: Bass10: SendQ exceeded
[2009/05/20 17:33:01] <plathrop> s0288:~# facter operatingsystemrelease
[2009/05/20 17:33:01] <plathrop> 5.0
[2009/05/20 17:33:09] <plathrop> So, anyone see what I'm doing wrong here?
[2009/05/20 17:33:24] <plathrop> I've restarted the puppetmaster several times, so I don't think there's a syntax error
[2009/05/20 17:33:37] @ Bass10 joined channel #puppet
[2009/05/20 17:34:00] <joe-mac> plathrop, that package doesn't exist afaik
[2009/05/20 17:34:02] @ Quit: lak:
[2009/05/20 17:34:24] <joe-mac> and the code for apt-get for some reason, always returns 100 regardless of error
[2009/05/20 17:34:28] <joe-mac> in the cases i've seen at least
[2009/05/20 17:34:55] <plathrop> joe-mac: I know the package doesn't exist anymore, and I'm trying to get it removed on our old Etch boxes and just not install it on our new Lenny boxes
[2009/05/20 17:34:57] <Volcane> does ensure => undef really work?
[2009/05/20 17:34:59] <Volcane> i doubt it
[2009/05/20 17:35:04] <joe-mac> nah it doesn';t
[2009/05/20 17:35:06] <plathrop> Volcane: Yep. I use it many other places
[2009/05/20 17:35:12] <Volcane> hmm
[2009/05/20 17:35:15] <joe-mac> i tried it once with ia32-libs
[2009/05/20 17:35:19] <joe-mac> and it didn't work out too well
[2009/05/20 17:35:24] <joe-mac> but thena gauin i am on .24.4
[2009/05/20 17:35:26] <plathrop> Works great for me. Use it all the time
[2009/05/20 17:35:42] <Volcane> yeah I've also tried it without luck, maybe the debian provider/type has special handling
[2009/05/20 17:36:15] @ Quit: mccune: Remote closed the connection
[2009/05/20 17:36:26] <plathrop> okay, well, just because I'll try something different.
[2009/05/20 17:37:04] <joe-mac> plathrop: purged should work even if the package doesn't exist, since i did it on 32 bit system for ia32-libs
[2009/05/20 17:38:08] <plathrop> Ahhh!!! I see.
[2009/05/20 17:38:14] @ croatoan joined channel #puppet
[2009/05/20 17:38:18] <plathrop> ensure => undef is the same as ensure => installed!
[2009/05/20 17:38:25] <Volcane> heh
[2009/05/20 17:38:27] <joe-mac> oh that explains it
[2009/05/20 17:38:37] <plathrop> *headdesk*
[2009/05/20 17:38:41] <plathrop> I think that might be a bug
[2009/05/20 17:39:03] <joe-mac> i would think that's intended
[2009/05/20 17:39:11] <joe-mac> that was you can type a list of packages and assume they'll bei nstalled
[2009/05/20 17:39:59] <plathrop> Well, yeah, I guess so. It just works slightly counter to my intuition
[2009/05/20 17:40:23] <plathrop> Anyway, it turns out that I use ensure => undef in a lot of places, but never for a package, which is why this has never happened to me
[2009/05/20 17:41:55] <joe-mac> o i c
[2009/05/20 17:42:13] <plathrop> Anyway, thanks :-)
[2009/05/20 17:42:51] <joe-mac> np
[2009/05/20 17:43:03] @ Quit: croatoan: "leaving"
[2009/05/20 17:45:04] @ Quit: flakrat: "Leaving"
[2009/05/20 17:45:53] * Volcane loves phonetize
[2009/05/20 17:46:13] <Volcane> oops, but still, do love it (another person asking me is that a L or a 1 in a email you sent)
[2009/05/20 17:51:50] @ Quit: teyo:
[2009/05/20 17:54:51] @ teyo joined channel #puppet
[2009/05/20 17:55:42] @ Quit: madrescher: Read error: 110 (Connection timed out)
[2009/05/20 18:00:21] @ rasputnik joined channel #puppet
[2009/05/20 18:00:46] @ Djelibeybi joined channel #puppet
[2009/05/20 18:00:47] @ madrescher joined channel #puppet
[2009/05/20 18:00:59] @ Quit: gaveen: Read error: 110 (Connection timed out)
[2009/05/20 18:01:52] @ gaveen joined channel #puppet
[2009/05/20 18:02:41] @ Quit: cwebber:
[2009/05/20 18:04:21] @ Quit: teyo:
[2009/05/20 18:07:35] @ kolla joined channel #puppet
[2009/05/20 18:07:46] @ Quit: mikepea:
[2009/05/20 18:10:17] @ Quit: rasputnik: "Leaving"
[2009/05/20 18:10:18] @ Quit: pheezy: "Leaving..."
[2009/05/20 18:11:17] @ Quit: erm_: Read error: 110 (Connection timed out)
[2009/05/20 18:18:34] @ Quit: malraid: "ChatZilla 0.9.84 [Firefox 3.0.8/2009032711]"
[2009/05/20 18:18:57] @ aymerick joined channel #puppet
[2009/05/20 18:19:19] @ mikepea joined channel #puppet
[2009/05/20 18:27:18] @ Quit: mikepea:
[2009/05/20 18:29:29] @ Quit: MattyM: "ta ta"
[2009/05/20 18:35:39] @ plathrop is now known as plathrop-away
[2009/05/20 18:35:49] @ plathrop-away is now known as plathrop
[2009/05/20 18:41:41] @ Quit: bjaspan: Read error: 110 (Connection timed out)
[2009/05/20 18:54:44] @ mfoster left channel #puppet ()
[2009/05/20 19:05:03] @ lak joined channel #puppet
[2009/05/20 19:09:45] @ Quit: aymerick:
[2009/05/20 19:23:11] @ Quit: lak:
[2009/05/20 19:24:42] @ Quit: jmeeuwen: Read error: 110 (Connection timed out)
[2009/05/20 19:30:05] @ Quit: Bass10: Read error: 110 (Connection timed out)
[2009/05/20 19:31:09] @ Quit: jason^: Read error: 110 (Connection timed out)
[2009/05/20 19:42:18] @ jason^ joined channel #puppet
[2009/05/20 19:45:28] @ PaulWay joined channel #puppet
[2009/05/20 19:46:59] @ Quit: justindossey: "Leaving."
[2009/05/20 19:52:10] @ lak joined channel #puppet
[2009/05/20 19:53:48] @ Quit: lak: Client Quit
[2009/05/20 19:57:45] @ Quit: alfism: "Connection reset by beer"
[2009/05/20 20:00:48] @ rgsteele||work joined channel #puppet
[2009/05/20 20:10:03] @ Quit: hessmll: "Leaving..."
[2009/05/20 20:14:38] @ Quit: ethan_rowe: "Lack of interest wins out."
[2009/05/20 20:16:24] @ WALoeIII_ joined channel #puppet
[2009/05/20 20:16:49] @ Quit: WALoeIII_: Client Quit
[2009/05/20 20:19:26] @ Quit: ezmob: "Bye!"
[2009/05/20 20:22:20] @ bevans5446 left channel #puppet ()
[2009/05/20 20:25:04] @ mfoster joined channel #puppet
[2009/05/20 20:32:41] @ Quit: WALoeIII: Read error: 113 (No route to host)
[2009/05/20 20:32:47] @ alhoang_ joined channel #puppet
[2009/05/20 20:32:54] @ Quit: alhoang_: Client Quit
[2009/05/20 20:33:00] @ plathrop is now known as plathrop-away
[2009/05/20 20:33:41] @ alhoang_ joined channel #puppet
[2009/05/20 20:36:09] @ Quit: joe-mac: "Leaving."
[2009/05/20 20:41:05] @ lak joined channel #puppet
[2009/05/20 20:43:19] @ mfoster left channel #puppet ()
[2009/05/20 20:50:03] @ Quit: lak:
[2009/05/20 20:50:34] @ Quit: PaulWay: Remote closed the connection
[2009/05/20 20:55:27] @ andrewcshafer_ joined channel #puppet
[2009/05/20 20:55:30] @ garin joined channel #puppet
[2009/05/20 21:00:10] @ Quit: hessml|away: "Leaving..."
[2009/05/20 21:06:42] @ martha left channel #puppet ()
[2009/05/20 21:07:06] @ Quit: andrewcshafer: Read error: 113 (No route to host)
[2009/05/20 21:10:18] @ Quit: rgsteele||work: Remote closed the connection
[2009/05/20 21:11:12] @ ohadlevy joined channel #puppet
[2009/05/20 21:14:54] @ Quit: gaveen: Read error: 110 (Connection timed out)
[2009/05/20 21:16:55] @ Quit: edwardam: Remote closed the connection
[2009/05/20 21:20:41] @ edwardam joined channel #puppet
[2009/05/20 21:21:12] @ hessml joined channel #puppet
[2009/05/20 21:22:46] @ bjaspan joined channel #puppet
[2009/05/20 21:28:55] @ Quit: edwardam: Remote closed the connection
[2009/05/20 21:29:18] @ Quit: bjaspan:
[2009/05/20 21:43:13] @ Quit: nigelk:
[2009/05/20 21:52:47] @ jmeeuwen joined channel #puppet
[2009/05/20 22:03:05] @ jmarki joined channel #puppet
[2009/05/20 22:03:20] @ Quit: hessml: "Leaving..."
[2009/05/20 22:05:01] @ pdt joined channel #puppet
[2009/05/20 22:09:38] @ teyo joined channel #puppet
[2009/05/20 22:11:44] @ lak joined channel #puppet
[2009/05/20 22:12:24] @ PaulWay joined channel #puppet
[2009/05/20 22:23:03] @ Quit: felipe`: Client Quit
[2009/05/20 22:24:50] @ shake-n-bake joined channel #puppet
[2009/05/20 22:25:39] @ atlan_ joined channel #puppet
[2009/05/20 22:28:06] @ Quit: lak:
[2009/05/20 22:34:05] @ Quit: pdt: Read error: 104 (Connection reset by peer)
[2009/05/20 22:34:09] @ pdt joined channel #puppet
[2009/05/20 22:40:57] @ Quit: chip__: Read error: 110 (Connection timed out)
[2009/05/20 22:50:33] @ hessml joined channel #puppet
[2009/05/20 22:59:08] @ Quit: hessml:
[2009/05/20 23:00:37] @ nigelk joined channel #puppet
[2009/05/20 23:07:43] @ Quit: d3vilb0x:
[2009/05/20 23:08:17] @ Quit: punkcut: Read error: 110 (Connection timed out)
[2009/05/20 23:09:10] @ joe-mac joined channel #puppet
[2009/05/20 23:11:35] <jrojas> is git.hjksolutions.com not resolving for anyone else?
[2009/05/20 23:12:57] @ mfoster joined channel #puppet
[2009/05/20 23:14:26] <jrojas> n/
[2009/05/20 23:14:27] <jrojas> m
[2009/05/20 23:19:34] @ punkcut joined channel #puppet
[2009/05/20 23:31:02] @ Quit: mfoster: "Leaving."
[2009/05/20 23:31:02] @ Quit: madrescher: Read error: 54 (Connection reset by peer)
[2009/05/20 23:33:11] @ madrescher joined channel #puppet
[2009/05/20 23:38:55] @ Bass10 joined channel #puppet
[2009/05/20 23:48:51] @ PhabX joined channel #puppet
[2009/05/20 23:55:17] @ bjaspan joined channel #puppet
[2009/05/20 23:55:38] @ Quit: bjaspan: Client Quit
[2009/05/20 23:57:02] @ bjaspan joined channel #puppet

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