Sunday, 2008-05-25

[2008/05/25 00:06:40] @ andrewcshafer joined channel #puppet
[2008/05/25 00:06:41] @ LittleIdea joined channel #puppet
[2008/05/25 00:12:19] @ jvanzyl joined channel #puppet
[2008/05/25 00:17:08] @ Quit: andrewcshafer:
[2008/05/25 00:17:09] @ Quit: LittleIdea:
[2008/05/25 00:29:39] @ Quit: johnf: Read error: 110 (Connection timed out)
[2008/05/25 00:36:51] @ Quit: f3ew: Read error: 104 (Connection reset by peer)
[2008/05/25 00:37:39] @ f3ew joined channel #puppet
[2008/05/25 01:13:03] <gepetto> ::puppet:: Whos Using Puppet edited by nottestuser @ http://reductivelabs.com/trac/puppet/wiki/WhosUsingPuppet (by matt@badmatt.com)
[2008/05/25 01:39:12] @ Quit: f3ew: Read error: 104 (Connection reset by peer)
[2008/05/25 01:39:44] @ f3ew joined channel #puppet
[2008/05/25 01:54:29] @ shake-n-bake joined channel #puppet
[2008/05/25 01:55:53] @ Quit: erikh: "Terminated with extreme prejudice - dircproxy 1.0.5"
[2008/05/25 02:09:55] @ Quit: shake-n-bake:
[2008/05/25 02:33:40] @ lak joined channel #puppet
[2008/05/25 03:01:24] @ shadoi joined channel #puppet
[2008/05/25 03:01:52] @ erikh joined channel #puppet
[2008/05/25 03:10:17] @ Quit: erikh: "Terminated with extreme prejudice - dircproxy 1.0.5"
[2008/05/25 03:12:16] @ erikh joined channel #puppet
[2008/05/25 03:36:21] @ Quit: shadoi: Read error: 110 (Connection timed out)
[2008/05/25 03:46:45] @ kolla joined channel #puppet
[2008/05/25 03:50:29] @ Quit: lak:
[2008/05/25 04:06:14] @ pleemans joined channel #puppet
[2008/05/25 04:40:47] <hacim> stick: ping
[2008/05/25 04:41:41] <hacim> stick: you made a change to wiki:DeveloperRepositories to reference the RunningAgainstGit page in the wiki, but that page doesn't exist and I cannot find a suitable replacement
[2008/05/25 04:41:44] <gepetto> hacim: stick: wiki:DeveloperRepositories is http://reductivelabs.com/trac/puppet/wiki/DeveloperRepositories
[2008/05/25 04:42:32] @ shake-n-bake joined channel #puppet
[2008/05/25 05:05:06] @ andrewcshafer joined channel #puppet
[2008/05/25 05:05:18] @ LittleIdea joined channel #puppet
[2008/05/25 05:08:06] @ Quit: LittleIdea: Client Quit
[2008/05/25 05:08:11] @ Quit: andrewcshafer: Client Quit
[2008/05/25 05:10:04] @ Vivek joined channel #puppet
[2008/05/25 05:20:22] @ andrewcshafer joined channel #puppet
[2008/05/25 05:25:57] @ e^ipi left channel #puppet ()
[2008/05/25 05:32:23] @ lak joined channel #puppet
[2008/05/25 05:40:43] @ thegcat joined channel #puppet
[2008/05/25 05:42:54] @ Quit: andrewcshafer:
[2008/05/25 05:46:35] @ Quit: thegcat_: Read error: 104 (Connection reset by peer)
[2008/05/25 06:19:05] @ Quit: shake-n-bake:
[2008/05/25 06:36:03] @ kolla_ joined channel #puppet
[2008/05/25 06:37:44] @ Quit: kolla: Read error: 113 (No route to host)
[2008/05/25 06:39:52] @ shadoi joined channel #puppet
[2008/05/25 06:46:08] @ Quit: Vivek: Read error: 104 (Connection reset by peer)
[2008/05/25 06:48:47] @ Quit: pleemans: "Ex-Chat"
[2008/05/25 06:54:30] @ shake-n-bake joined channel #puppet
[2008/05/25 07:02:50] @ Quit: lak:
[2008/05/25 07:13:53] @ Quit: shake-n-bake:
[2008/05/25 07:15:58] @ andrewcshafer joined channel #puppet
[2008/05/25 07:26:40] @ Quit: jvanzyl: Read error: 104 (Connection reset by peer)
[2008/05/25 07:32:12] <gepetto> ::puppet:: Puppet Debian edited by micah @ http://reductivelabs.com/trac/puppet/wiki/PuppetDebian (by micah@riseup.net)
[2008/05/25 07:45:36] @ Quit: andrewcshafer:
[2008/05/25 07:52:35] @ Quit: dysinger: Read error: 110 (Connection timed out)
[2008/05/25 08:04:49] @ andrewcshafer joined channel #puppet
[2008/05/25 08:06:06] @ Quit: tim|imac: "Leaving"
[2008/05/25 08:10:11] @ tim|imac joined channel #puppet
[2008/05/25 08:12:32] @ Quit: jmeeuwen: Read error: 104 (Connection reset by peer)
[2008/05/25 08:12:38] @ jmeeuwen joined channel #puppet
[2008/05/25 08:24:06] <holoway> jamesturnbull: diffs added inline
[2008/05/25 08:24:14] <holoway> and lak's requests about subject lines too
[2008/05/25 08:26:28] @ kolla_ is now known as kolla
[2008/05/25 08:26:38] @ lak joined channel #puppet
[2008/05/25 08:27:33] <holoway> lak: diffs and subject lines fixed, so push away
[2008/05/25 08:27:41] <lak> awesome
[2008/05/25 08:27:43] <holoway> just dropped an email about it
[2008/05/25 08:27:53] <lak> now that i'm home, i should be doing commits
[2008/05/25 08:28:05] <lak> rather than just trying to hold back the tide of email :/
[2008/05/25 08:28:13] <holoway> I stuck the author and repo in the from line
[2008/05/25 08:28:15] <holoway> which made more sense
[2008/05/25 08:34:53] @ g1 joined channel #puppet
[2008/05/25 08:36:33] <lak> yeah
[2008/05/25 08:36:35] @ holoway is now known as holaway
[2008/05/25 08:36:52] <lak> are you doing anything to make it so a given commit isn't sent multiple times?
[2008/05/25 08:37:01] <holaway> lak: nope
[2008/05/25 08:37:03] @ holaway is now known as holoway
[2008/05/25 08:37:08] <lak> e.g., i commit, james merges and pushes to his repo
[2008/05/25 08:37:11] <holoway> right
[2008/05/25 08:37:12] <lak> that'd probably be a good idea
[2008/05/25 08:37:15] <holoway> maybe
[2008/05/25 08:37:19] <holoway> the thing is
[2008/05/25 08:37:24] <holoway> people might use that to track progress
[2008/05/25 08:37:30] <lak> true, you might want to know when the merge happens
[2008/05/25 08:37:37] <holoway> exactly
[2008/05/25 08:37:53] <holoway> if everyone gets -commits, you'll be able to see who is collaborating
[2008/05/25 08:37:56] <holoway> and how far up the chain it's gone
[2008/05/25 08:38:01] <holoway> which seems like it might be handy
[2008/05/25 08:40:09] @ johnf joined channel #puppet
[2008/05/25 08:41:12] <ashp> lak, i just saw your reply
[2008/05/25 08:41:14] <ashp> by fail i mean
[2008/05/25 08:41:21] <ashp> I added a Package {} with require statements
[2008/05/25 08:41:28] <ashp> but it tries to add packages without paying attention to that
[2008/05/25 08:41:35] <ashp> (in site.pp)
[2008/05/25 08:41:45] <lak> holoway: sure, we can start with that, see how it goes
[2008/05/25 08:42:02] <ashp> I'll try an exec that prints something in 15 or so to see if I have any luck with that
[2008/05/25 08:42:07] <lak> ok
[2008/05/25 08:42:21] <lak> i'm not really working today, i'll be around more tomorrow and monday, i think
[2008/05/25 08:42:27] <lak> in fact, i'm heading away now
[2008/05/25 08:42:29] <holoway> lak: if it gets too spamy, we'll fix it up
[2008/05/25 08:42:29] <lak> ta ta
[2008/05/25 08:42:30] <holoway> see ya
[2008/05/25 08:42:30] <ashp> The notice and the Package{} in site.pp just seem to not work, however :O
[2008/05/25 08:42:32] <ashp> bye lak
[2008/05/25 08:42:35] @ holoway is now known as holaway
[2008/05/25 08:42:38] @ Quit: lak:
[2008/05/25 08:43:56] @ Quit: lutter: "Leaving."
[2008/05/25 09:05:54] @ _newbie_ joined channel #puppet
[2008/05/25 09:12:29] @ Quit: johnf: Read error: 110 (Connection timed out)
[2008/05/25 09:13:27] @ johnf joined channel #puppet
[2008/05/25 09:15:24] @ Quit: shadoi: Read error: 104 (Connection reset by peer)
[2008/05/25 09:15:41] @ Quit: Innocenti: Client Quit
[2008/05/25 09:32:46] @ Quit: johnf: Read error: 110 (Connection timed out)
[2008/05/25 09:34:07] @ jvanzyl joined channel #puppet
[2008/05/25 09:35:51] @ shadoi joined channel #puppet
[2008/05/25 09:40:42] @ Quit: jvanzyl:
[2008/05/25 09:41:29] @ jvanzyl joined channel #puppet
[2008/05/25 09:46:30] @ Quit: roald: Read error: 110 (Connection timed out)
[2008/05/25 09:50:16] @ Quit: _newbie_: Read error: 110 (Connection timed out)
[2008/05/25 09:51:08] @ Quit: andrewcshafer:
[2008/05/25 09:54:29] @ Quit: g1: "Leaving."
[2008/05/25 10:22:06] <jamesturnbull> holaway: excellent! thanks
[2008/05/25 10:59:01] <Ned_> is it possibly to do conditional "include" statements using facter variables ?
[2008/05/25 10:59:34] <jamesturnbull> Ned_: yes
[2008/05/25 11:00:07] <Ned_> jamesturnbull: do you know what bit of the wiki I could find the syntax for that on ?
[2008/05/25 11:00:18] <jamesturnbull> http://reductivelabs.com/trac/puppet/wiki/LanguageTutorial#conditionals
[2008/05/25 11:00:24] <jamesturnbull> see the case example
[2008/05/25 11:00:29] <Ned_> ok, ta :-)
[2008/05/25 11:00:36] <jamesturnbull> it's exactly what you want
[2008/05/25 11:00:49] <Ned_> Hmmm,
[2008/05/25 11:00:58] <jamesturnbull> Ned_: or you could buy the excellent book that covers it
[2008/05/25 11:00:58] <Ned_> can you do numeric comparisons in conditionals ?
[2008/05/25 11:01:03] * Ned_ reads the rest of that page ...
[2008/05/25 11:01:03] <Ned_> :p
[2008/05/25 11:01:23] <jamesturnbull> Ned_: give me an example...?
[2008/05/25 11:01:45] <Ned_> if puppetversion < 0.24 do this
[2008/05/25 11:01:47] <Ned_> else do this
[2008/05/25 11:02:00] <Ned_> i.e. if it's less that 0.24 then just upgrade puppet
[2008/05/25 11:02:08] <Ned_> otherwise do normal stuff
[2008/05/25 11:02:08] <Ned_> :-)
[2008/05/25 11:02:42] <jamesturnbull> Ned_: sadly no
[2008/05/25 11:02:57] <Ned_> :-(
[2008/05/25 11:03:01] <Ned_> it seems like it'd be useful :p
[2008/05/25 11:03:40] <jamesturnbull> Ned_: conditionals do not allow gt/lt/= etc there is a ticket for it but it's probably only going to be done if a) Luke has time or b) Someone pays Luke or c) Someone pays me d) I have time
[2008/05/25 11:04:02] <Ned_> heh
[2008/05/25 11:04:16] <Ned_> or e) someone provides a good patch ?
[2008/05/25 11:04:51] <Ned_> it's awesome that we got puppetlast in actually ... I'm using that a bunch now :p
[2008/05/25 11:05:07] <jamesturnbull> or indeed e)
[2008/05/25 11:05:09] <jamesturnbull> Feel free
[2008/05/25 11:05:15] <Ned_> heh
[2008/05/25 11:05:20] <Ned_> I'll see how annoyed I get at this first
[2008/05/25 11:05:21] <Ned_> :p
[2008/05/25 11:06:14] <jamesturnbull> Ned_: As Luke says most of what you want can be done now with the current language
[2008/05/25 11:06:28] <Ned_> yeah, I think that's true ... I just need to grok it a little better :p
[2008/05/25 11:06:52] <jamesturnbull> Ned_: I suspect the release 0.26 will have a few language updates - after the REST stuff in 0.25 appears
[2008/05/25 11:07:06] <Ned_> Hmmm, I've only used 0.24
[2008/05/25 11:07:20] <jamesturnbull> Ned_: 0.25 is not even a beta yet
[2008/05/25 11:07:27] <Ned_> oh, right, that'll be why :-)
[2008/05/25 11:07:27] <jamesturnbull> Ned_: probably in a month or so
[2008/05/25 11:07:31] <Ned_> cool
[2008/05/25 11:07:43] @ johnf joined channel #puppet
[2008/05/25 11:12:49] <Ned_> jamesturnbull: have you ever seen package ensure => latest just not upgrade a package ?
[2008/05/25 11:14:27] <Ned_> actually, I think it's an OS specific thing ... or something in the Debian package provider
[2008/05/25 11:14:30] <Ned_> (rather than something in puppet)
[2008/05/25 11:14:35] * Ned_ invesigates further
[2008/05/25 11:15:55] <jamesturnbull> Ned_: I've seen it on Yum
[2008/05/25 11:16:03] <jamesturnbull> Ned_: never on apt
[2008/05/25 11:16:22] <Ned_> Hmmm,
[2008/05/25 11:16:27] <Ned_> if I do an apt-get upgrade -s
[2008/05/25 11:16:32] <Ned_> is "holding back" the package in question
[2008/05/25 11:16:39] <jamesturnbull> Ned_: ah
[2008/05/25 11:16:48] <Ned_> so I figure that's the problem
[2008/05/25 11:16:56] <Ned_> puppet doesn't wanna "break" stuff
[2008/05/25 11:17:05] <jamesturnbull> Ned_: not sure what the behaviour of puppet will be in that circumstance but assume it'll honour that
[2008/05/25 11:17:15] <Ned_> do you know why apt "holds back" a package ?
[2008/05/25 11:18:11] <shadoi> Ned_: because it would break the dependency of a different installed package
[2008/05/25 11:18:30] <Ned_> shadoi: right, what's the easiest way to "see" that ?
[2008/05/25 11:18:36] <Ned_> like see what would break ?
[2008/05/25 11:18:40] <Ned_> just apt-get install <package> -s ?
[2008/05/25 11:18:44] <shadoi> apt-get -u upgrade <package>
[2008/05/25 11:18:50] <shadoi> should show you what will be installed/removed
[2008/05/25 11:18:55] <shadoi> or you can do a dry run
[2008/05/25 11:19:12] <shadoi> -s or --dry-run
[2008/05/25 11:19:25] <Ned_> yeah, that's what I was thinking
[2008/05/25 11:19:34] <Ned_> upgrade <package> still just says it's being held back
[2008/05/25 11:19:37] <Ned_> I guess I'd do dist-upgrade
[2008/05/25 11:20:11] <Ned_> okay, so if I explicitly say "install", the only extra thing is that it pulls in one more dependancy
[2008/05/25 11:29:07] @ Quit: zobbo: Read error: 104 (Connection reset by peer)
[2008/05/25 11:31:36] <Ned_> jamesturnbull: okay, now I've got it to the point where apt-get upgrade _would_ upgrade puppet
[2008/05/25 11:31:44] <Ned_> but puppet still won't do ti :-(
[2008/05/25 11:31:45] <Ned_> err, it
[2008/05/25 11:44:11] <Ned_> do any providers have options specific to them ?
[2008/05/25 11:44:27] <Ned_> i.e. would there be an option in the apt or aptitude provider to tell it to override the holdback thing ?
[2008/05/25 11:48:23] <jamesturnbull> Ned_: ah no
[2008/05/25 11:48:48] <Ned_> okay, I guess I'll put some more debugging into the apt provider to see if I can work out why it's not upgrading my package ...
[2008/05/25 11:49:54] <jamesturnbull> Ned_: Puppet generally honours the providers desire not to do something if the packaging tool says not to
[2008/05/25 11:50:44] <jamesturnbull> Ned_: the commands used to do things are generally "hard coded"-ish as you can see if you have a look at the provider code
[2008/05/25 11:50:58] <Ned_> yeah ...
[2008/05/25 11:51:04] <Ned_> I'm poking around in the apt provider now
[2008/05/25 11:51:22] <Ned_> I might add a few more debug lines to see if I can figure out exactly why it's not working though
[2008/05/25 11:51:31] <Ned_> because at the moment apt-get upgrade _would_ upgrade puppet
[2008/05/25 11:51:34] <Ned_> but puppet still won't
[2008/05/25 11:51:35] <Ned_> :-(
[2008/05/25 11:53:10] <jamesturnbull> Ned_: odd - be interested to see the result of that debugging
[2008/05/25 11:58:38] <Ned_> crap, I accidently upgraded it :(
[2008/05/25 11:58:50] <Ned_> it looked like the bit of code that "finds" the latest version was returning the wrong thing ...
[2008/05/25 12:01:15] <Ned_> jamesturnbull: I have to go out now, but I will dig a little more when I get back :-)
[2008/05/25 12:01:21] @ andrewcshafer joined channel #puppet
[2008/05/25 12:01:38] <jamesturnbull> Ned_: great
[2008/05/25 12:01:48] <Ned_> I _think_ it might be bug where it assumes only 1 installation candidate for a single package
[2008/05/25 12:02:08] <Ned_> whereas if you have multiple apt sources providing the same package (i.e. stable and unstable) then there's more than one
[2008/05/25 12:02:15] <Ned_> and it has to pick the first rather than the last
[2008/05/25 12:02:21] <Ned_> but yeah, that's just my "guess" at the moment
[2008/05/25 12:02:22] <jamesturnbull> Ned_: hmmms depends on the packaging system
[2008/05/25 12:02:33] <Ned_> jamesturnbull: yeah, this is just the apt provider
[2008/05/25 12:02:35] <Ned_> I'm looking at
[2008/05/25 12:03:11] <jamesturnbull> yeah - not primarily being a Debian person I am not sure - I'll take a peek at the code too
[2008/05/25 12:03:17] <Ned_> :-)
[2008/05/25 12:03:24] <Ned_> I'll be back later this evening (NZ time)
[2008/05/25 12:04:07] <Ned_> actually, important disclaimer
[2008/05/25 12:04:23] <Ned_> I was looking at 0.20.1 code (because that was what was installed), and I wanted it to upgrade to 0.24.4
[2008/05/25 12:04:33] <Ned_> so it's possible that if it is a bug, it's been fixed already
[2008/05/25 12:07:39] <jamesturnbull> Ned_: more than possible - 0.20.1 was a long while ago
[2008/05/25 12:09:37] <Ned_> :-)
[2008/05/25 12:09:45] <Ned_> as I say, I'll check it all out later on when I get home :-)
[2008/05/25 12:09:51] <Ned_> 0.20.1 is etch standard :-(
[2008/05/25 12:15:34] <jamesturnbull> Ned_: wiki:UsingDebianTesting
[2008/05/25 12:16:40] <jamesturnbull> Ned_: wiki:DebianTestingPackages
[2008/05/25 12:16:41] <gepetto> jamesturnbull: Ned_: wiki:DebianTestingPackages is http://reductivelabs.com/trac/puppet/wiki/DebianTestingPackages
[2008/05/25 12:23:09] <gepetto> ::puppet:: Puppet Debian edited by jamtur01 @ http://reductivelabs.com/trac/puppet/wiki/PuppetDebian (by james@lovedthanlost.net)
[2008/05/25 12:26:12] <gepetto> ::puppet:: Puppet Debian edited by jamtur01 @ http://reductivelabs.com/trac/puppet/wiki/PuppetDebian (by james@lovedthanlost.net)
[2008/05/25 14:41:21] <jamesturnbull> thom: hacim I moved the DebianTestingPackages page content into PuppetDebian - it seemed to fit better in there rather than a seperate page. Just an FYI
[2008/05/25 14:44:01] @ shake-n-bake joined channel #puppet
[2008/05/25 14:49:25] @ lak joined channel #puppet
[2008/05/25 14:55:48] @ Quit: andrewcshafer: Read error: 110 (Connection timed out)
[2008/05/25 15:22:47] <gepetto> ::puppet:: Development Lifecycle edited by jamtur01 @ http://reductivelabs.com/trac/puppet/wiki/DevelopmentLifecycle (by james@lovedthanlost.net)
[2008/05/25 16:18:51] @ Quit: jvanzyl:
[2008/05/25 16:25:59] @ Quit: lak:
[2008/05/25 16:49:26] @ roald joined channel #puppet
[2008/05/25 17:04:22] @ Quit: jmeeuwen: Read error: 104 (Connection reset by peer)
[2008/05/25 17:04:31] @ jmeeuwen joined channel #puppet
[2008/05/25 17:06:52] @ Quit: trombik: Read error: 104 (Connection reset by peer)
[2008/05/25 17:08:44] @ Quit: auxesis: Remote closed the connection
[2008/05/25 17:08:52] @ auxesis joined channel #puppet
[2008/05/25 17:23:36] @ trombik joined channel #puppet
[2008/05/25 17:45:12] <fujin> evening
[2008/05/25 18:08:00] @ jsgotangco joined channel #puppet
[2008/05/25 18:19:28] <jamesturnbull> fujin: evening
[2008/05/25 18:20:19] <thom> jamesturnbull: ok, thanks. seems sensible
[2008/05/25 18:21:17] <jamesturnbull> thom: seemed overkill to have two pages
[2008/05/25 18:43:22] @ Quit: shadoi: Read error: 110 (Connection timed out)
[2008/05/25 19:18:10] @ Quit: johnf: Read error: 110 (Connection timed out)
[2008/05/25 20:18:44] @ mikepea joined channel #puppet
[2008/05/25 20:31:02] @ [newbie] joined channel #puppet
[2008/05/25 20:45:40] @ Quit: thegcat:
[2008/05/25 21:05:32] <fujin> it'd be cool if someone could update wiki:BootstrapingWithPuppet with debian debian-specific backporting instructions (if applicable)
[2008/05/25 21:05:42] <fujin> I gave instructions on how to do it with Ubuntu, not sure on the process for debian
[2008/05/25 21:07:19] @ Quit: [newbie]: "KVIrc 3.2.5 Anomalies http://www.kvirc.net/"
[2008/05/25 22:04:29] <jamesturnbull> wiki:BootstrappingWithPuppet
[2008/05/25 22:04:32] <gepetto> jamesturnbull: wiki: wiki:BootstrappingWithPuppet is http://reductivelabs.com/trac/puppet/wiki/BootstrappingWithPuppet
[2008/05/25 22:05:48] <jamesturnbull> fujin: is it different?
[2008/05/25 22:07:58] @ thegcat joined channel #puppet
[2008/05/25 22:15:51] @ Quit: jsgotangco: "Ciao"
[2008/05/25 22:18:58] @ Quit: Norm: Read error: 110 (Connection timed out)
[2008/05/25 22:21:33] @ Quit: erikh: kubrick.freenode.net irc.freenode.net
[2008/05/25 22:21:35] @ Quit: spike: kubrick.freenode.net irc.freenode.net
[2008/05/25 22:21:36] @ Quit: dyresen: kubrick.freenode.net irc.freenode.net
[2008/05/25 22:21:38] @ Quit: benp-: kubrick.freenode.net irc.freenode.net
[2008/05/25 22:21:39] @ Quit: choffee: kubrick.freenode.net irc.freenode.net
[2008/05/25 22:21:41] @ Quit: hX8: kubrick.freenode.net irc.freenode.net
[2008/05/25 22:21:42] @ Quit: charlieS: kubrick.freenode.net irc.freenode.net
[2008/05/25 22:21:44] @ Quit: zoeloelip: Read error: 104 (Connection reset by peer)
[2008/05/25 22:23:26] @ erikh joined channel #puppet
[2008/05/25 22:23:27] @ spike joined channel #puppet
[2008/05/25 22:23:28] @ dyresen joined channel #puppet
[2008/05/25 22:23:29] @ benp- joined channel #puppet
[2008/05/25 22:23:30] @ choffee joined channel #puppet
[2008/05/25 22:23:31] @ hX8 joined channel #puppet
[2008/05/25 22:23:32] @ charlieS joined channel #puppet
[2008/05/25 22:24:21] @ Pyretic joined channel #puppet
[2008/05/25 22:25:29] <Pyretic> hi, i'm checking if a service is disabled (auditd), however puppet still sees it as running since it's doing a ps -ef and sees [kauditd]
[2008/05/25 22:26:05] <Pyretic> anyone know if that check can be changed to an exact match ?
[2008/05/25 22:26:56] @ zoeloelip joined channel #puppet
[2008/05/25 22:27:09] @ spike_ joined channel #puppet
[2008/05/25 22:27:18] @ Quit: Xteven: Remote closed the connection
[2008/05/25 22:27:29] @ Xteven joined channel #puppet
[2008/05/25 22:30:07] @ spike_ is now known as space
[2008/05/25 22:31:05] @ Quit: spike: Nick collision from services.
[2008/05/25 22:31:17] @ space is now known as spike
[2008/05/25 22:40:08] @ |vadim| joined channel #puppet
[2008/05/25 22:45:51] @ Norm joined channel #puppet
[2008/05/25 22:46:07] <jamesturnbull> Pyretic: wiki:TypeReference#service
[2008/05/25 22:46:27] <gepetto> jamesturnbull: Pyretic: wiki:TypeReference#service is http://reductivelabs.com/trac/puppet/wiki/TypeReference#service
[2008/05/25 22:46:54] <jamesturnbull> Pyretic: maybe pattern - I don't quite understand what you're asking but think that might help
[2008/05/25 22:47:44] <|vadim|> Hi. How can i create directories with puppet? for example i want to create /mnt/1
[2008/05/25 22:59:49] @ Quit: mikepea:
[2008/05/25 23:07:52] <fujin> |vadim|: wiki:TypeReference
[2008/05/25 23:08:13] <gepetto> fujin: |vadim|: wiki:TypeReference is http://reductivelabs.com/trac/puppet/wiki/TypeReference
[2008/05/25 23:08:27] <fujin> but file { [ "/mnt/", "/mnt/1" ]: ensure => present } will do it for a start
[2008/05/25 23:08:46] <fujin> jamesturnbull: I don't think Debian has prevu
[2008/05/25 23:09:04] <|vadim|> fujin: thanks
[2008/05/25 23:14:42] @ Av joined channel #puppet
[2008/05/25 23:15:04] <Av> hey guys i have a question :) Is it possible to make pupper copy a different file based on what the current hostname is?
[2008/05/25 23:16:06] <Av> my machines are a mix of operating systems and they need different (eg) startup scripts for the same daemon, or they need a different /etc/sudoers file because they serve a different role
[2008/05/25 23:16:31] <Av> woudl be great if I could say "if hostname == foo, get this list of files.."
[2008/05/25 23:16:51] <fujin> source => "puppet:///mount/file.$fqdn"
[2008/05/25 23:17:34] <fujin> I quite commonly use source => $operatingsystem ? { "linux" => "puppet:///linux/blah.conf", "other" => "puppet:///other/blah", },
[2008/05/25 23:17:44] <fujin> a selector
[2008/05/25 23:17:50] <fujin> is the concise way to do it, and provide a default
[2008/05/25 23:18:06] <fujin> but you can be lazy and just chuck $fqdn or $operatingsystem in your source => string for the same effect
[2008/05/25 23:18:07] <Av> oh excellent! thank you :)
[2008/05/25 23:18:10] <Av> lol
[2008/05/25 23:19:02] <Av> $fqdn would probably be better here otherwise the selector logic will get a bit complicated i think :)
[2008/05/25 23:19:19] <Av> if have to account for both OS *and* machine function which is a bitch because everything is just all over the place
[2008/05/25 23:19:27] <Av> thanks fujin :)
[2008/05/25 23:19:28] <fujin> haha.
[2008/05/25 23:19:31] <fujin> no prob
[2008/05/25 23:19:46] <Av> yeah it's what happens when you come into a thing you didnt' get to set up right from the start ;)
[2008/05/25 23:34:30] <jamesturnbull> Av: wiki:LanguageTutorial and there is a book I wrote also that might help
[2008/05/25 23:34:35] <gepetto> jamesturnbull: Av: wiki:LanguageTutorial is http://reductivelabs.com/trac/puppet/wiki/LanguageTutorial
[2008/05/25 23:36:38] @ jvanzyl joined channel #puppet
[2008/05/25 23:41:03] @ Quit: thegcat:
[2008/05/25 23:55:44] @ thegcat joined channel #puppet
[2008/05/25 23:55:52] <Av> thanks jamesturnbull :)
[2008/05/25 23:56:22] <Av> now, if i'd just read that an hour ago, i would have answered my next question too. thanks :)

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