Friday, 2010-01-01

[2010/01/01 00:16:41] @ Log started by gepetto_
[2010/01/01 00:16:41] @ Quit: danielbln: "Leaving."
[2010/01/01 00:21:06] @ jfreeman joined channel #puppet
[2010/01/01 00:25:57] @ Quit: jcape1: "Leaving."
[2010/01/01 00:26:15] @ jcape joined channel #puppet
[2010/01/01 00:35:04] @ Quit: jusfreeman: Read error: 110 (Connection timed out)
[2010/01/01 00:38:21] @ tecto joined channel #puppet
[2010/01/01 00:46:08] @ Quit: jcape: Read error: 110 (Connection timed out)
[2010/01/01 00:50:31] @ crdant1 joined channel #puppet
[2010/01/01 00:53:14] @ Quit: crdant1: Client Quit
[2010/01/01 00:54:30] @ Quit: crdant: Read error: 110 (Connection timed out)
[2010/01/01 00:57:50] @ Quit: jfreeman: Read error: 110 (Connection timed out)
[2010/01/01 01:14:32] @ jfreeman joined channel #puppet
[2010/01/01 01:41:50] @ Quit: jfreeman: Read error: 110 (Connection timed out)
[2010/01/01 01:55:27] @ Quit: friendly12345: "Leaving."
[2010/01/01 02:02:56] <eric0> no $ on ruby variables cm1
[2010/01/01 02:03:46] <rickbradley> or if you do, they're globals :-)
[2010/01/01 02:09:36] <Cope> moin
[2010/01/01 02:11:38] <Cope> small chicken and egg situation... I have apache serving an rpm repo which contains lighttpd packages; I want to write a manifest to install lighttpd to replace apache; however, lighttpd won't start if apache is running, but lighttpd won't install if apache is stopped! Any ideas?
[2010/01/01 02:19:59] <rickbradley> can you get one or the other to listen on an alternate port temporarily?
[2010/01/01 02:20:32] <Cope> i was just thinking that
[2010/01/01 02:36:03] @ Quit: bug:
[2010/01/01 03:26:19] @ tuf__ joined channel #puppet
[2010/01/01 03:27:01] @ Quit: tuf__: Client Quit
[2010/01/01 03:42:50] @ Quit: tuf: Read error: 110 (Connection timed out)
[2010/01/01 04:00:10] @ Quit: alban2: Read error: 60 (Operation timed out)
[2010/01/01 04:02:01] @ rickbradley is now known as rickbradley|away
[2010/01/01 04:07:26] @ Quit: Bass2: Read error: 110 (Connection timed out)
[2010/01/01 04:12:30] @ Demosthenes joined channel #puppet
[2010/01/01 04:18:39] @ Quit: Demosthenes: Read error: 60 (Operation timed out)
[2010/01/01 04:21:40] @ Quit: tuf_:
[2010/01/01 04:29:43] @ Quit: vizzord: "see you"
[2010/01/01 04:34:33] @ tuf joined channel #puppet
[2010/01/01 04:43:18] @ mvn071 joined channel #puppet
[2010/01/01 04:59:05] @ Quit: mvn071: "Leaving"
[2010/01/01 05:04:01] @ pinoyskull joined channel #puppet
[2010/01/01 05:18:28] @ rickbradley|away is now known as rickbradley
[2010/01/01 05:32:03] @ hy is now known as _silver
[2010/01/01 05:32:24] @ _silver is now known as hy
[2010/01/01 05:46:01] @ omry|work joined channel #puppet
[2010/01/01 05:47:31] @ Quit: pinoyskull: "Leaving"
[2010/01/01 06:17:50] @ Demosthenes joined channel #puppet
[2010/01/01 06:48:27] @ giskard joined channel #puppet
[2010/01/01 06:52:00] @ Quit: giskard: Remote closed the connection
[2010/01/01 06:57:20] @ giskard joined channel #puppet
[2010/01/01 06:57:37] @ Quit: giskard: Remote closed the connection
[2010/01/01 07:21:10] @ Quit: tuf: Read error: 104 (Connection reset by peer)
[2010/01/01 07:27:13] @ tuf joined channel #puppet
[2010/01/01 07:49:04] <gepetto_> ::trac:: Language Tutorial edited @ http://reductivelabs.com/trac/puppet/wiki/LanguageTutorial?version=101
[2010/01/01 08:26:16] @ jab_doa joined channel #puppet
[2010/01/01 08:34:06] @ gebi joined channel #puppet
[2010/01/01 08:37:30] @ jmarki joined channel #puppet
[2010/01/01 08:41:40] @ bug joined channel #puppet
[2010/01/01 08:54:15] @ erm_ joined channel #puppet
[2010/01/01 08:56:54] @ Bass10 joined channel #puppet
[2010/01/01 09:00:19] @ brothers joined channel #puppet
[2010/01/01 09:03:48] @ Welsh_Dwarf joined channel #puppet
[2010/01/01 09:14:45] @ Quit: erm_: Read error: 60 (Operation timed out)
[2010/01/01 09:21:37] @ hy is now known as _silver
[2010/01/01 09:21:53] @ _silver is now known as hy
[2010/01/01 10:00:09] @ rickbradley is now known as rickbradley|away
[2010/01/01 10:11:02] <monachus> happy ny, everyone
[2010/01/01 10:11:09] <monachus> i have a template question
[2010/01/01 10:11:37] <monachus> i wrote a template to do some sort-of complicated if/then evaluation of variables with the intent that it would return an array of resources that should be required
[2010/01/01 10:12:02] <monachus> it correctly returns [ File["foo"], File["bar"], ]
[2010/01/01 10:12:08] <monachus> but puppet doesn't see that as an array
[2010/01/01 10:12:24] <monachus> is it possible to have ERB return something that's puppet will pick up as an array?
[2010/01/01 10:14:37] <kjetilho> I think you need to write a custom function instead
[2010/01/01 10:15:14] <agaffney> monachus: templates don't work that way
[2010/01/01 10:15:30] <monachus> neither does puppet
[2010/01/01 10:15:54] <monachus> it's my nagios thing - i want it to see that there are 2 contact groups and require the File resource that corresponds to each of them
[2010/01/01 10:15:56] @ crdant joined channel #puppet
[2010/01/01 10:16:32] <monachus> but there's no way to get from ["group1", "group2"] to [File["nagios_contact_group1"], File["nagios_contact_group2"]]
[2010/01/01 10:16:41] <agaffney> do what kjetilho said
[2010/01/01 10:16:50] <agaffney> write a custom puppet module with a function that does what you wan
[2010/01/01 10:17:20] <monachus> hrm. ok.
[2010/01/01 10:17:32] <monachus> tx.
[2010/01/01 10:18:09] <agaffney> you've already got the code written in the template
[2010/01/01 10:18:19] <agaffney> just do it the "right way"
[2010/01/01 10:19:46] @ joe-mac joined channel #puppet
[2010/01/01 10:27:21] @ danielbln joined channel #puppet
[2010/01/01 10:27:36] <danielbln> happy new year
[2010/01/01 10:29:23] <monachus> agaffney: yeah - i didn't think about doing it as a function. i've never needed anything as complex as this, but a function will be a whole lot easier. doing it now - as an rvalue, how do i get it back to puppet? do i use "return foo"?
[2010/01/01 10:31:24] <agaffney> I've never done one myself :P
[2010/01/01 10:31:30] <agaffney> and I barely know ruby
[2010/01/01 10:31:32] <monachus> and if i'm manipulating puppet objects, are they present? like if I'm appending a File resources onto an array - should I do it as a string or is there a ruby/puppet File object that I should use
[2010/01/01 10:31:35] <agaffney> by choice
[2010/01/01 10:31:38] <monachus> heh.
[2010/01/01 10:32:16] @ Quit: whaley: "Leaving..."
[2010/01/01 10:32:23] <monachus> i'm largely python myself, but i was all excited about Rails a couple years back. i'm cursed with the brain that remembers programming languages, IP addresses, obscure trivia, what actor a film was in, but i'll be damned if i remember people i met last week.
[2010/01/01 10:32:33] <monachus> * what film an actor was in
[2010/01/01 10:32:37] <agaffney> heh, same here
[2010/01/01 10:32:51] <agaffney> I picked up a Ruby book a couple of years ago, but I couldn't get past the first chapter
[2010/01/01 10:32:58] <agaffney> it's so different just for the sake of being different
[2010/01/01 10:33:21] * monachus googles
[2010/01/01 10:42:49] <monachus> hmmm
[2010/01/01 10:43:22] <monachus> i know i can do stuff like file { this,that,other,file: ensure => absent } to kill all the files referenced in the namevar
[2010/01/01 10:43:27] <monachus> will the same work for a require?
[2010/01/01 10:43:39] <monachus> like require => File["this, that, the other"] ?
[2010/01/01 10:44:20] <agaffney> require => [ File["this"], File["that"], File["the other"] ]
[2010/01/01 10:44:35] <monachus> yeah. i know that works, too, but i'm still trying to figure out what to return from my function
[2010/01/01 10:44:54] <monachus> if the contents of the array have to be objects or strings
[2010/01/01 10:45:15] <kjetilho> monachus: pretty sure you'll have to look up the correct objects
[2010/01/01 10:45:16] <monachus> i thought i could maybe just return an array of file object namevars
[2010/01/01 10:45:40] <kjetilho> but I'm not an expert in Puppet internals
[2010/01/01 10:46:14] <monachus> kjetilho: i'm trying to find an example in google of someone returning a puppet object (file, specifically) and haven't yet
[2010/01/01 10:46:29] <ashp> * When setting aliases using the host type now use the host_alias
[2010/01/01 10:46:30] <ashp> attribute rather than alias.
[2010/01/01 10:46:34] <ashp> urgh, why did this change?
[2010/01/01 10:46:45] <ashp> now I have to go screw around changing tons of alias => 's :(
[2010/01/01 10:47:00] <monachus> ashp: i think b/c "alias" is used as an puppet keyword for any object
[2010/01/01 10:47:21] <monachus> so it's ambiguous in the host{} type
[2010/01/01 10:47:27] <ashp> monachus: well, that's annoying! *adds to todo list*
[2010/01/01 10:47:33] <ashp> Hmm, is host_alias => supported in 0.25.1?
[2010/01/01 10:47:40] <ashp> if so I can change them preupgrade
[2010/01/01 10:47:48] <monachus> find -exec sed
[2010/01/01 10:47:54] @ yarihm joined channel #puppet
[2010/01/01 10:48:46] <agaffney> indeed
[2010/01/01 10:48:50] <agaffney> sed is your friend
[2010/01/01 10:48:54] * agaffney hugs sed
[2010/01/01 10:48:59] <ashp> well the issue was more just not wanting to have to upgrade and change it all at the same time, i'd rather change it up front, wait a day or two to see that it works, then upgrade
[2010/01/01 10:49:08] <ashp> almost all my host{}'s are in one giant hosts.pp so it's not a problem to change
[2010/01/01 10:49:11] * ashp hugs vim ;)
[2010/01/01 10:50:59] <agaffney> when dealing with one file, vim is about as efficient :P
[2010/01/01 10:51:30] <ashp> I am glad that sed does in place replacement now, I caught my coworker doing the old 'sed to a temp name, mv temp original name' thing the other day
[2010/01/01 10:51:43] <ashp> and i was like UHHHH NO -i!!!
[2010/01/01 10:51:50] <ashp> i think i blew his mind
[2010/01/01 10:52:15] <agaffney> I was messing with some RHEL2 boxes a couple months ago, and I was pulling my hair out over the fact that sed didn't have -i
[2010/01/01 10:52:34] <agaffney> or maybe it did but it required you to specify a backup extension
[2010/01/01 10:52:40] <agaffney> but it wasn't the current behavior
[2010/01/01 10:52:55] <ashp> yeah, it's frustrating to not have it
[2010/01/01 10:54:38] @ whaley joined channel #puppet
[2010/01/01 11:06:19] @ Quit: crdant: "Leaving."
[2010/01/01 11:09:42] @ Quit: gun_: Read error: 104 (Connection reset by peer)
[2010/01/01 11:11:29] @ crdant joined channel #puppet
[2010/01/01 11:16:01] @ gun joined channel #puppet
[2010/01/01 11:20:18] @ Quit: brothers:
[2010/01/01 11:25:58] @ Quit: crdant: "Leaving."
[2010/01/01 11:27:16] @ Quit: tecto: Read error: 60 (Operation timed out)
[2010/01/01 11:32:43] @ Quit: joe-mac: Read error: 110 (Connection timed out)
[2010/01/01 11:32:47] @ tecto joined channel #puppet
[2010/01/01 11:43:41] @ Quit: yarihm: "This computer has gone to sleep"
[2010/01/01 11:49:42] @ rickbradley|away is now known as rickbradley
[2010/01/01 11:52:17] @ Quit: Bass10: Read error: 110 (Connection timed out)
[2010/01/01 11:54:42] <monachus> is there anyone here who has written a custom function that interacts with and/or returns puppet resources?
[2010/01/01 11:54:50] <monachus> b/c i'm about to climb a freakin' clock tower.
[2010/01/01 11:55:23] @ scylla joined channel #puppet
[2010/01/01 11:55:41] <Volcane> functions cant create resources
[2010/01/01 11:55:53] <Volcane> not afaik anyay
[2010/01/01 11:55:56] <monachus> grr.
[2010/01/01 11:56:32] <monachus> ok - can you scroll back a few dozen lines to my original question about template, complex variable types, strings versus array, etc and let me know if you have any thoughts?
[2010/01/01 11:56:41] <monachus> also - it doesn't have to _create_ them - they exist
[2010/01/01 11:56:45] <monachus> i just want to return an array of them
[2010/01/01 11:57:03] <monachus> since returning a string formatted properly is only seen as a useless string.
[2010/01/01 11:58:02] <Volcane> i recall a syntax like require => File[one, two, three] but not sure
[2010/01/01 11:58:11] <Volcane> ashp: for consistancy - alias is a meta parameter
[2010/01/01 11:58:33] <ashp> Volcane: yeah, it makes some sense - do you know if host_alias already exists?
[2010/01/01 11:58:40] <Volcane> in .2
[2010/01/01 11:58:41] <ashp> i gotta grep through on monday and find out otherwise :)
[2010/01/01 11:58:43] <Volcane> .3 even
[2010/01/01 11:58:51] <Volcane> .2 yes
[2010/01/01 11:58:53] <ashp> ah, so it doesn't exist in .1 before? i was hoping to prechange them
[2010/01/01 11:59:13] <agaffney> Volcane: 0.24.2 or 0.25.2?
[2010/01/01 11:59:38] <Volcane> 0.25.2
[2010/01/01 12:05:42] @ crdant joined channel #puppet
[2010/01/01 12:09:04] <monachus> ohhhhh....when updating function code on the puppetmaster you have to bounce the puppetmaster. that explains why that error message wouldn't go away.
[2010/01/01 12:13:28] @ Bass10 joined channel #puppet
[2010/01/01 12:15:51] @ rickbradley is now known as rickbradley|away
[2010/01/01 12:28:42] @ brothers joined channel #puppet
[2010/01/01 12:28:53] @ Quit: brothers: Client Quit
[2010/01/01 12:29:05] @ brothers joined channel #puppet
[2010/01/01 12:29:30] @ Quit: brothers: Read error: 104 (Connection reset by peer)
[2010/01/01 12:29:42] @ brothers joined channel #puppet
[2010/01/01 12:30:39] @ Quit: brothers: Read error: 54 (Connection reset by peer)
[2010/01/01 12:30:56] @ brothers joined channel #puppet
[2010/01/01 12:33:15] <monachus> heh - go to google.com and just click "i'm feeling lucky" without typing anything in the search box
[2010/01/01 12:33:16] <monachus> :)
[2010/01/01 12:35:44] <agaffney> nice
[2010/01/01 13:08:50] @ tecto_ joined channel #puppet
[2010/01/01 13:10:07] <monachus> this isn't going to work as a function.
[2010/01/01 13:15:18] @ Quit: tecto: Read error: 60 (Operation timed out)
[2010/01/01 13:15:18] @ tecto_ is now known as tecto
[2010/01/01 13:39:29] @ joe-mac joined channel #puppet
[2010/01/01 13:42:03] @ PsychoSid joined channel #puppet
[2010/01/01 13:42:07] @ Quit: PsychoSid: Client Quit
[2010/01/01 13:42:42] @ giskard joined channel #puppet
[2010/01/01 14:04:45] @ Quit: joe-mac: Read error: 110 (Connection timed out)
[2010/01/01 14:05:22] @ joe-mac joined channel #puppet
[2010/01/01 14:11:21] @ [steve] left channel #puppet ()
[2010/01/01 14:17:21] @ joe-mac left channel #puppet ()
[2010/01/01 14:29:31] @ poison joined channel #puppet
[2010/01/01 14:30:12] @ bug_ joined channel #puppet
[2010/01/01 14:30:32] @ \ask joined channel #puppet
[2010/01/01 14:30:37] @ Quit: bug_: Client Quit
[2010/01/01 14:33:12] @ Quit: crdant: "Leaving."
[2010/01/01 14:35:28] <agaffney> I'm currently using concatfile to manage sudoers and access.conf
[2010/01/01 14:35:41] <agaffney> however, I don't see a way to *remove* one of the parts
[2010/01/01 14:35:54] <agaffney> at least, just removing it from the puppet config doesn't regen the file
[2010/01/01 14:37:02] <agaffney> and when you force a regen of the file by deleting the resulting file, it still picks up the old entries
[2010/01/01 14:37:07] <agaffney> because they haven't been removed from the concat dir
[2010/01/01 14:40:42] @ Quit: giskard: Remote closed the connection
[2010/01/01 14:41:14] @ giskard joined channel #puppet
[2010/01/01 14:44:13] @ hy is now known as _silver
[2010/01/01 14:49:42] @ bug_ joined channel #puppet
[2010/01/01 14:50:00] @ Quit: bug_: Client Quit
[2010/01/01 14:51:07] @ Quit: \ask: Remote closed the connection
[2010/01/01 14:51:20] @ _silver is now known as hy
[2010/01/01 15:05:18] <|Mike|> sup hy
[2010/01/01 15:08:22] <monachus> fek. i figured out how to get an actual reference to the real File object in the function, and i'm returning that, and puppet still says "Relationships must be resource references." it WAS a reference. something flattened it into a nice boring string.
[2010/01/01 15:09:57] <agaffney> when you say reference, are you thinking "pointer"?
[2010/01/01 15:10:01] <agaffney> because that's not the same thing
[2010/01/01 15:13:06] @ hy is now known as _silver
[2010/01/01 15:14:09] <monachus> from my 2h of rooting about in the code i've been coming back to the Puppet.ResourceReference class, which appears to return a reference to an existing puppet object if you give it a type and a name, like "File", "somefile"
[2010/01/01 15:14:16] <monachus> so in my function, i did
[2010/01/01 15:14:25] <monachus> reference = Puppet::ResourceReference.new('File', 'somefile')
[2010/01/01 15:14:37] <monachus> and then i return reference
[2010/01/01 15:14:49] <monachus> the output in the notice() lines is correct - all the filenames are what they're supposed to be
[2010/01/01 15:15:16] @ \ask joined channel #puppet
[2010/01/01 15:15:22] <monachus> so i have $host_require = myfunction() - $host_require correctly shows File["myfile"]
[2010/01/01 15:15:28] <monachus> and when i say require => $host_require, it dies
[2010/01/01 15:15:40] <monachus> Relationships must be resource references.
[2010/01/01 15:16:03] <monachus> like the parser forces it all to be a string
[2010/01/01 15:16:21] <agaffney> heh
[2010/01/01 15:17:16] <Volcane> functions return stuff that can go into puppet dsl variables
[2010/01/01 15:17:31] <monachus> dsl?
[2010/01/01 15:17:48] <Volcane> and if what your returning isnt that it gets cohersed to strings afaik
[2010/01/01 15:18:07] <monachus> what's a dsl variable?
[2010/01/01 15:18:29] <Volcane> the puppet language is a domain specifi language and it supports a few types of var only
[2010/01/01 15:18:29] <agaffney> it's like an ISDN variable, but faster
[2010/01/01 15:18:34] <Volcane> string, numbers etc
[2010/01/01 15:18:45] <Volcane> if a function returns some ruby type of variable
[2010/01/01 15:18:48] <monachus> agaffney: heh
[2010/01/01 15:18:48] <Volcane> thatw ould be a bug
[2010/01/01 15:19:04] <agaffney> so it sounds like it might not even be possible to do what monachus wans
[2010/01/01 15:19:05] <agaffney> wants
[2010/01/01 15:19:27] <monachus> it's infuriating - all the parts are there. is there any sort of puppet eval() function?
[2010/01/01 15:22:29] <monachus> alright - i'll give up the advanced super-ninja stuff and just go for basic require => with selectors.
[2010/01/01 15:22:31] <monachus> damn.
[2010/01/01 15:22:42] <agaffney> heh
[2010/01/01 15:22:54] <monachus> at least i'm not afraid of writing functions anymore.
[2010/01/01 15:22:59] <agaffney> heh
[2010/01/01 15:38:39] @ jcape joined channel #puppet
[2010/01/01 15:42:22] <monachus> *sigh*
[2010/01/01 15:42:32] <monachus> so the docs say that since 0.24.6 you can += a variable
[2010/01/01 15:42:42] <monachus> but when i do it it says you can't b/c it's already defined in this scope
[2010/01/01 15:42:57] <monachus> what's the catch?
[2010/01/01 15:43:33] @ Djelibeybi joined channel #puppet
[2010/01/01 15:43:57] @ Quit: jaredrhine: Read error: 110 (Connection timed out)
[2010/01/01 15:44:35] @ giskard_ joined channel #puppet
[2010/01/01 15:45:04] <monachus> only i sub-scope, eh?
[2010/01/01 15:45:07] <monachus> * in
[2010/01/01 15:45:27] @ jaredrhine joined channel #puppet
[2010/01/01 15:54:24] @ Quit: giskard: Read error: 110 (Connection timed out)
[2010/01/01 15:55:17] @ Quit: poison: Read error: 110 (Connection timed out)
[2010/01/01 16:29:06] @ bobbyz joined channel #puppet
[2010/01/01 16:41:48] <agaffney> can I use tagmail to send me email for any errors?
[2010/01/01 16:41:54] @ Robbie_ joined channel #puppet
[2010/01/01 16:42:04] <agaffney> or is there a different way to do that?
[2010/01/01 16:47:08] @ _silver is now known as hy
[2010/01/01 16:50:21] @ Quit: brothers:
[2010/01/01 16:50:25] @ Quit: jaredrhine: Read error: 54 (Connection reset by peer)
[2010/01/01 16:51:42] @ jaredrhine joined channel #puppet
[2010/01/01 16:52:48] @ brothers joined channel #puppet
[2010/01/01 16:58:31] @ Quit: Djelibeybi: "Leaving"
[2010/01/01 17:00:46] @ jfreeman joined channel #puppet
[2010/01/01 17:01:46] @ poison joined channel #puppet
[2010/01/01 17:04:28] @ nakano is now known as nakano_
[2010/01/01 17:09:46] * monachus is in limbo.
[2010/01/01 17:38:51] @ Quit: jfreeman: Remote closed the connection
[2010/01/01 17:45:32] @ Quit: scylla: "Connection timed out"
[2010/01/01 17:48:27] @ Quit: bobbyz: Read error: 113 (No route to host)
[2010/01/01 17:49:06] @ scylla joined channel #puppet
[2010/01/01 17:54:39] @ Quit: jmarki: Remote closed the connection
[2010/01/01 18:09:16] @ adamska joined channel #puppet
[2010/01/01 18:32:05] @ ezmobius joined channel #puppet
[2010/01/01 18:43:22] @ adamska left channel #puppet ("Leaving")
[2010/01/01 19:19:05] @ Quit: colyte: "ZNC - http://znc.sourceforge.net"
[2010/01/01 19:27:14] @ Quit: jab_doa: "Verlassend"
[2010/01/01 19:31:56] @ Quit: poison: Remote closed the connection
[2010/01/01 19:35:04] @ Quit: danielbln: "Leaving."
[2010/01/01 19:37:44] @ Quit: Robbie_: Remote closed the connection
[2010/01/01 19:50:36] @ majeru joined channel #puppet
[2010/01/01 19:50:58] @ colyte joined channel #puppet
[2010/01/01 19:51:18] <majeru> hi, what's the prefered location for custom facter scripts that should be deployed to clients?
[2010/01/01 20:05:14] @ nakano_ is now known as nakano
[2010/01/01 20:09:00] <|Mike|> srv/
[2010/01/01 20:11:45] @ Quit: \ask: Read error: 110 (Connection timed out)
[2010/01/01 20:12:26] @ Quit: ezmobius: Read error: 110 (Connection timed out)
[2010/01/01 20:18:32] @ Quit: Bass10: Read error: 60 (Operation timed out)
[2010/01/01 20:22:22] @ Quit: bug:
[2010/01/01 20:31:04] @ Quit: gebi: Read error: 113 (No route to host)
[2010/01/01 20:38:12] <majeru> never mind, I managed without that, here's how: http://serverfault.com/questions/19783/puppet-define-wildcard-host-in-nodes-pp/98765#98765
[2010/01/01 20:38:56] <|Mike|> majeru: that only works in 0.25.x
[2010/01/01 20:38:58] <majeru> maybe this should be added to the wiki, a lot of people seemed to have such problems
[2010/01/01 20:39:05] <majeru> no, I have 0.24.8
[2010/01/01 20:39:10] @ Quit: choc: Read error: 60 (Operation timed out)
[2010/01/01 20:39:11] <|Mike|> (you could also use ?)
[2010/01/01 20:39:54] <majeru> |Mike|: how exactly?
[2010/01/01 20:40:20] <|Mike|> i'll elaborate it in the morning, it's 3am here at the moment :P
[2010/01/01 20:40:24] <majeru> (i'm new topuppet)
[2010/01/01 20:40:32] <majeru> here's 3:40
[2010/01/01 20:40:34] <|Mike|> So was i, 3 months ago
[2010/01/01 20:40:39] <|Mike|> 02:40
[2010/01/01 20:40:49] <|Mike|> ? is a wildcard for nodes
[2010/01/01 20:41:17] <majeru> does that work in older versions?
[2010/01/01 20:41:24] <|Mike|> Yep.
[2010/01/01 20:41:55] <|Mike|> you could search for node defenitions as far as i can recall.
[2010/01/01 20:41:58] <majeru> please leave an answer on that blog with your approach
[2010/01/01 20:42:16] <|Mike|> I will.
[2010/01/01 20:42:20] @ choc joined channel #puppet
[2010/01/01 20:42:23] <majeru> it never hurts to have many ways to solve a solutions
[2010/01/01 20:42:31] <majeru> err, problem
[2010/01/01 20:42:44] <|Mike|> as far as i can remember, regex is only supported from 0.25.x tho.
[2010/01/01 20:43:04] <majeru> yeah, regex in case
[2010/01/01 20:43:09] <|Mike|> ^([a-z]+).*$', '\1')
[2010/01/01 20:43:29] <majeru> and all the other language constructs
[2010/01/01 20:43:31] <|Mike|> aka, a-Z.* (and groups it)
[2010/01/01 20:44:03] <majeru> but regsubst seems to exist in my 0.24.8
[2010/01/01 20:44:06] <|Mike|> rephrase, a-z instead of a-Z
[2010/01/01 20:44:37] <|Mike|> g'nite.
[2010/01/01 20:44:41] <majeru> nite
[2010/01/01 21:05:34] @ Quit: scylla: "Connection timed out"
[2010/01/01 21:55:45] @ Quit: Demosthenes: Remote closed the connection
[2010/01/01 21:58:01] @ Quit: tuf:
[2010/01/01 21:58:51] @ Quit: tecto:
[2010/01/01 22:05:12] @ rickbradley|away is now known as rickbradley
[2010/01/01 22:10:47] @ Quit: MaTThewP: Client Quit
[2010/01/01 22:13:42] @ Quit: Whoop: "leaving"
[2010/01/01 22:15:07] @ Whoop joined channel #puppet
[2010/01/01 22:16:50] @ tecto joined channel #puppet
[2010/01/01 22:28:01] @ Demosthenes joined channel #puppet
[2010/01/01 22:31:31] @ Quit: tecto: Remote closed the connection
[2010/01/01 22:59:27] @ nmi joined channel #puppet
[2010/01/01 22:59:41] @ Quit: nmi: Read error: 54 (Connection reset by peer)
[2010/01/01 23:00:11] @ tecto joined channel #puppet
[2010/01/01 23:07:10] @ tecto_ joined channel #puppet
[2010/01/01 23:23:46] @ Quit: tecto: Success
[2010/01/01 23:23:46] @ tecto_ is now known as tecto
[2010/01/01 23:36:56] @ \ask joined channel #puppet
[2010/01/01 23:38:22] @ Quit: Whoop: "BOOOOOOOM"
[2010/01/01 23:38:29] @ Whoop joined channel #puppet
[2010/01/01 23:56:52] @ nakano is now known as nakano_

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