| [2009/12/04 00:00:22] @ Log started by gepetto | ||
| [2009/12/04 00:00:22] @ Quit: yan_: Client Quit | ||
| [2009/12/04 00:01:37] @ yan_ joined channel #puppet | ||
| [2009/12/04 00:02:45] @ nakano is now known as nakano_ | ||
| [2009/12/04 00:03:36] @ Quit: angrox_: Read error: 113 (No route to host) | ||
| [2009/12/04 00:04:49] <diranged> can i pass a key file into ssh_authorized_key rather than a key string? | ||
| [2009/12/04 00:07:13] <jamesturnbull> diranged: wiki:TypeReference | ||
| [2009/12/04 00:07:19] <gepetto> jamesturnbull: diranged: wiki:TypeReference is http://reductivelabs.com/trac/puppet/wiki/TypeReference | ||
| [2009/12/04 00:08:31] <diranged> i know, im reading (http://reductivelabs.com/trac/puppet/wiki/TypeReference#key)... but it talks about the key itself | ||
| [2009/12/04 00:08:37] <diranged> i want to pass it a file... | ||
| [2009/12/04 00:08:53] <WALoeIII> jamesturnbull: which log would you like, /var/log/messages on puppetmaster :D | ||
| [2009/12/04 00:09:03] <WALoeIII> jamesturnbull: 0.24.6 for server/client | ||
| [2009/12/04 00:09:16] <WALoeIII> this was working until Nov. 13th, then I changed something and I can't figure it out | ||
| [2009/12/04 00:09:29] <WALoeIII> and I have scoured my commits and there is nothing that appears related | ||
| [2009/12/04 00:11:09] @ cmacleod joined channel #puppet | ||
| [2009/12/04 00:12:39] <diranged> ok.. im a bit unsure of someting.. | ||
| [2009/12/04 00:13:17] <diranged> if i do: define dothis($users) { does some bla bla bla stuff in here } and then i want to pass it an array of multiple users, will it take $users and run the function once for each element passed to it? | ||
| [2009/12/04 00:14:22] <cmacleod> diranged: no ( $users ) would be an attribute you can pass to that define | ||
| [2009/12/04 00:14:56] <cmacleod> assuming $users is an array then if you call the type with $users it'll execute for each element | ||
| [2009/12/04 00:15:03] <diranged> ok thats what i thought | ||
| [2009/12/04 00:15:03] <diranged> thanks | ||
| [2009/12/04 00:15:05] <cmacleod> dothis { $users: } | ||
| [2009/12/04 00:15:37] <cmacleod> so if you have define dothis ( $something = "otherthing" ) { ... stuff ... } | ||
| [2009/12/04 00:16:10] <cmacleod> and you call dothis { $users: } then for each iteration something will have that defined value in that scope | ||
| [2009/12/04 00:16:23] <cmacleod> however while with a normally called define you could do: | ||
| [2009/12/04 00:16:41] <cmacleod> dothis { "blah": something => "thisthingoverhere" } | ||
| [2009/12/04 00:17:03] <cmacleod> you can only do that when passing an array if that value of something is the same for each element of the array | ||
| [2009/12/04 00:17:52] <diranged> ok one more q... can i do a dothis { $users: } ... but only if $users exists? | ||
| [2009/12/04 00:18:14] @ Quit: kolla: Remote closed the connection | ||
| [2009/12/04 00:18:24] <cmacleod> if $users is empty (or undefined IIRC) dothis won't be run | ||
| [2009/12/04 00:19:00] <diranged> ah cool | ||
| [2009/12/04 00:19:06] <cmacleod> I sometimes wrap it in an if, but having started with 0.22 puppet has gotten smarter yet I sometimes haven't | ||
| [2009/12/04 00:19:15] <cmacleod> so I find lots of: | ||
| [2009/12/04 00:19:25] <cmacleod> if $users { dothis { $users: } } | ||
| [2009/12/04 00:22:14] @ kolla joined channel #puppet | ||
| [2009/12/04 00:22:43] <diranged> how can i grab the primary group of an existing user? | ||
| [2009/12/04 00:24:09] @ Quit: kolla: Remote closed the connection | ||
| [2009/12/04 00:25:15] <jamesturnbull> WALoeIII: the master log | ||
| [2009/12/04 00:26:48] <diranged> ie... i dont know the group id of a user... just the username. i want to create files with the right group id. so i need a way to say "$group = group.id($user)" or something | ||
| [2009/12/04 00:27:49] <cmacleod> you may have to write a plugin | ||
| [2009/12/04 00:29:05] <diranged> hmm any chance i can do something simple like: $group = `id -g $user`? | ||
| [2009/12/04 00:29:38] <cmacleod> there is a function call similiar | ||
| [2009/12/04 00:32:00] <cmacleod> http://reductivelabs.com/trac/puppet/wiki/FunctionReference | ||
| [2009/12/04 00:32:10] <cmacleod> generate should work in that manner IIRC | ||
| [2009/12/04 00:34:18] <diranged> hah cool that works | ||
| [2009/12/04 00:34:19] <diranged> thanks alot | ||
| [2009/12/04 00:34:39] @ Quit: ezmobius: Remote closed the connection | ||
| [2009/12/04 00:36:52] @ Quit: diranged: "This computer has gone to sleep" | ||
| [2009/12/04 00:39:15] @ cwebber joined channel #puppet | ||
| [2009/12/04 00:43:13] @ Quit: Djelibeybi: Read error: 110 (Connection timed out) | ||
| [2009/12/04 00:51:59] @ cmacleod left channel #puppet () | ||
| [2009/12/04 00:58:40] @ Quit: WALoeIII: "Bai." | ||
| [2009/12/04 01:03:28] @ brothers_ joined channel #puppet | ||
| [2009/12/04 01:03:40] @ brothers_ left channel #puppet () | ||
| [2009/12/04 01:06:07] @ devdas joined channel #puppet | ||
| [2009/12/04 01:27:25] @ Djelibeybi joined channel #puppet | ||
| [2009/12/04 01:32:34] @ Quit: mikerowehl: | ||
| [2009/12/04 01:38:10] @ Quit: devdas: Read error: 60 (Operation timed out) | ||
| [2009/12/04 01:43:04] @ Quit: jmarki: Remote closed the connection | ||
| [2009/12/04 01:48:09] @ Djeli joined channel #puppet | ||
| [2009/12/04 01:52:24] @ Quit: cwebber: | ||
| [2009/12/04 01:52:38] @ devdas joined channel #puppet | ||
| [2009/12/04 02:00:09] @ Quit: Djelibeybi: Read error: 110 (Connection timed out) | ||
| [2009/12/04 02:03:51] @ giskard joined channel #puppet | ||
| [2009/12/04 02:05:34] @ nmi left channel #puppet ("Leaving") | ||
| [2009/12/04 02:07:30] @ Quit: giskard: Remote closed the connection | ||
| [2009/12/04 02:07:53] @ Quit: QMan: Remote closed the connection | ||
| [2009/12/04 02:17:00] @ Quit: cowbud: Read error: 104 (Connection reset by peer) | ||
| [2009/12/04 02:17:22] @ cowbud joined channel #puppet | ||
| [2009/12/04 02:17:31] @ Quit: cowbud: Client Quit | ||
| [2009/12/04 02:24:46] @ Quit: devdas: Read error: 110 (Connection timed out) | ||
| [2009/12/04 02:33:46] @ par joined channel #puppet | ||
| [2009/12/04 02:34:13] @ devdas joined channel #puppet | ||
| [2009/12/04 02:34:58] @ Quit: Djeli: "Leaving" | ||
| [2009/12/04 02:39:26] @ tim|macbook joined channel #puppet | ||
| [2009/12/04 02:45:17] @ Quit: parito: Read error: 113 (No route to host) | ||
| [2009/12/04 02:52:15] @ Quit: jfreeman: Read error: 113 (No route to host) | ||
| [2009/12/04 02:53:42] @ Quit: bearnard: | ||
| [2009/12/04 02:55:46] @ Quit: par: | ||
| [2009/12/04 03:05:16] @ bearnard joined channel #puppet | ||
| [2009/12/04 03:09:35] @ Quit: maxagaz: Read error: 113 (No route to host) | ||
| [2009/12/04 03:19:49] <n0ts> Hi, I use puppet 0.25.1 | ||
| [2009/12/04 03:20:40] <n0ts> I try High Availability Recipe and puppetmasterd have not --noca option. | ||
| [2009/12/04 03:21:32] <n0ts> How to disable ca? | ||
| [2009/12/04 03:22:08] @ Quit: tim|macbook: Read error: 110 (Connection timed out) | ||
| [2009/12/04 03:26:21] <jamesturnbull> n0ts: let me look and see what hapened to --noca :) | ||
| [2009/12/04 03:27:53] <jamesturnbull> nono_: try ca=false | ||
| [2009/12/04 03:28:39] <jamesturnbull> n0ts: sorry - ca=flase in puppet.conf or --no-ca on the command line | ||
| [2009/12/04 03:29:53] <n0ts> jamesturnbull: Thanks! I use puppet under CentOS, The default /etc/sysconfig/puppetmaster file is "--noca". | ||
| [2009/12/04 03:31:37] <n0ts> I want to fix default /etc/sysconfig/puppetmaster file. | ||
| [2009/12/04 03:31:42] @ Quit: bitmonk: Read error: 104 (Connection reset by peer) | ||
| [2009/12/04 03:34:56] <gepetto> ::trac:: Recipes/High Availability edited @ http://reductivelabs.com/trac/puppet/wiki/Recipes/HighAvailability?version=4 | ||
| [2009/12/04 03:39:54] @ raphink joined channel #puppet | ||
| [2009/12/04 03:40:52] @ tim|macbook joined channel #puppet | ||
| [2009/12/04 03:41:10] <n0ts> gepetto: Thanks! | ||
| [2009/12/04 03:41:39] @ giskard joined channel #puppet | ||
| [2009/12/04 03:42:34] <jamesturnbull> n0ts: talk to tmz I guess | ||
| [2009/12/04 03:42:41] <jamesturnbull> n0ts: also gepetto is a bot :) | ||
| [2009/12/04 03:44:12] <n0ts> jamesturnbull: Oh, I got it :) | ||
| [2009/12/04 03:46:17] <jamesturnbull> n0ts: I've fixed the sysconfig file upstream but the downstream maintainers will need to adjust the package | ||
| [2009/12/04 03:51:07] <n0ts> jamesturnbull: ok, very thanks! | ||
| [2009/12/04 04:02:48] @ Robbie_ joined channel #puppet | ||
| [2009/12/04 04:02:50] @ pinoyskullv2 joined channel #puppet | ||
| [2009/12/04 04:03:05] @ Quit: Robbie_: Read error: 104 (Connection reset by peer) | ||
| [2009/12/04 04:03:12] @ Robbie_ joined channel #puppet | ||
| [2009/12/04 04:03:35] @ Quit: pinoyskull: Read error: 104 (Connection reset by peer) | ||
| [2009/12/04 04:09:13] @ danielbln joined channel #puppet | ||
| [2009/12/04 04:15:10] @ glaw joined channel #puppet | ||
| [2009/12/04 04:29:38] <miah> meh | ||
| [2009/12/04 04:38:26] @ Quit: giskard: "Leaving..." | ||
| [2009/12/04 04:40:12] @ Quit: devdas: Remote closed the connection | ||
| [2009/12/04 04:40:33] @ Quit: glaw: "Leaving." | ||
| [2009/12/04 04:40:52] @ glaw joined channel #puppet | ||
| [2009/12/04 04:52:45] @ poison joined channel #puppet | ||
| [2009/12/04 04:54:01] @ MattyM joined channel #puppet | ||
| [2009/12/04 04:59:56] @ verwilst joined channel #puppet | ||
| [2009/12/04 05:00:58] @ giskard joined channel #puppet | ||
| [2009/12/04 05:01:22] @ dragonball_ joined channel #puppet | ||
| [2009/12/04 05:11:58] @ orangepeel joined channel #puppet | ||
| [2009/12/04 05:12:06] @ Ramonster joined channel #puppet | ||
| [2009/12/04 05:15:41] @ Quit: markl_: Remote closed the connection | ||
| [2009/12/04 05:15:50] @ markl_ joined channel #puppet | ||
| [2009/12/04 05:18:06] @ pinoyskullv2 is now known as pinoyskull | ||
| [2009/12/04 05:21:26] @ QMan joined channel #puppet | ||
| [2009/12/04 05:36:27] @ Quit: markl_: Connection timed out | ||
| [2009/12/04 05:46:34] @ maxagaz joined channel #puppet | ||
| [2009/12/04 05:52:14] @ newpupp joined channel #puppet | ||
| [2009/12/04 05:52:58] <newpupp> Does anyone know if puppets can send mails if it experiences failures ? | ||
| [2009/12/04 05:53:30] <SyTonnerre> newpupp, look for tagmail | ||
| [2009/12/04 05:57:01] <newpupp> Thanks SyTonnerre | ||
| [2009/12/04 06:01:37] @ jab_doa joined channel #puppet | ||
| [2009/12/04 06:06:21] @ Quit: dragonball_: "Leaving" | ||
| [2009/12/04 06:17:14] @ Quit: glaw: "Leaving." | ||
| [2009/12/04 06:17:31] @ Quit: newpupp: "Colloquy for iPhone - http://colloquy.mobi" | ||
| [2009/12/04 06:20:34] @ Chiku joined channel #puppet | ||
| [2009/12/04 06:32:25] @ newpupp joined channel #puppet | ||
| [2009/12/04 06:33:25] <newpupp> So with tagmail would it be the puppet client or puppetmaster that sends the mail and is err: the error tag ? | ||
| [2009/12/04 06:36:11] <ohadlevy> newpupp: puppetmaster | ||
| [2009/12/04 06:36:32] <newpupp> That'll explain it ;-) thatnks | ||
| [2009/12/04 06:39:14] @ synchris joined channel #puppet | ||
| [2009/12/04 06:41:14] <ohadlevy> masterzen: ping | ||
| [2009/12/04 06:54:07] @ Quit: synchris_: Read error: 110 (Connection timed out) | ||
| [2009/12/04 06:55:46] @ blue joined channel #puppet | ||
| [2009/12/04 07:00:55] @ Quit: newpupp: "Colloquy for iPhone - http://colloquy.mobi" | ||
| [2009/12/04 07:07:17] @ Quit: pinoyskull: "Leaving" | ||
| [2009/12/04 07:15:11] <masterzen> ohadlevy: pong? | ||
| [2009/12/04 07:19:35] @ Quit: bearnard: | ||
| [2009/12/04 07:21:53] @ dragonball_ joined channel #puppet | ||
| [2009/12/04 07:22:04] @ Quit: whaley: Remote closed the connection | ||
| [2009/12/04 07:24:12] @ Quit: jab_doa: "Verlassend" | ||
| [2009/12/04 07:32:45] <telmich> hey! | ||
| [2009/12/04 07:32:57] <telmich> is there any way to reference the current module name in a class? | ||
| [2009/12/04 07:33:17] <telmich> like I want source => "puppet://$this_module/filename" | ||
| [2009/12/04 07:38:15] @ Transformer joined channel #puppet | ||
| [2009/12/04 07:41:35] @ Transformer left channel #puppet () | ||
| [2009/12/04 07:47:36] @ Quit: dragonball_: "Leaving" | ||
| [2009/12/04 07:48:07] @ mvn071 joined channel #puppet | ||
| [2009/12/04 07:48:08] @ Quit: mvn071: Client Quit | ||
| [2009/12/04 07:48:41] @ jamestur1bull joined channel #puppet | ||
| [2009/12/04 07:52:46] <jamestur1bull> telmich: not yet - it;s one of the features scheduled for the next major - Rowlf - release | ||
| [2009/12/04 07:53:14] <jamestur1bull> telmich: together with module metadata | ||
| [2009/12/04 08:00:55] @ Quit: jamesturnbull: Read error: 113 (No route to host) | ||
| [2009/12/04 08:04:19] @ Ramonste1 joined channel #puppet | ||
| [2009/12/04 08:06:12] @ alban2 joined channel #puppet | ||
| [2009/12/04 08:12:04] <ohadlevy> masterzen: just wanted to ask for your advice, someone has asked for a feature request for foreman, that there would be a link from the class/environment info (in foreman) to puppetdoc | ||
| [2009/12/04 08:12:33] <masterzen> ohadlevy: yes it makes sense | ||
| [2009/12/04 08:13:39] @ qwebirc64644 joined channel #puppet | ||
| [2009/12/04 08:14:34] <ohadlevy> masterzen: sorry brb | ||
| [2009/12/04 08:14:46] <masterzen> ohadlevy: ok | ||
| [2009/12/04 08:17:18] @ nakano_ is now known as nakano | ||
| [2009/12/04 08:17:41] @ qwebirc64644 left channel #puppet () | ||
| [2009/12/04 08:18:28] <ohadlevy> masterzen: puppetdoc ignore environments? | ||
| [2009/12/04 08:18:43] @ Quit: Ramonste1: Client Quit | ||
| [2009/12/04 08:18:59] @ Ramonste1 joined channel #puppet | ||
| [2009/12/04 08:19:01] <masterzen> ohadlevy: no, there is a fix for this in 0.25.2 (or is it Rowlf?) | ||
| [2009/12/04 08:19:28] <masterzen> ohadlevy: but you need to run puppetdoc once per env. It produces each time a whole set of doc. | ||
| [2009/12/04 08:19:56] <ohadlevy> masterzen: thats not a problem.. I am just trying to think to which url i need to redirect to as its all frames.. | ||
| [2009/12/04 08:20:04] @ Quit: Ramonster: Read error: 113 (No route to host) | ||
| [2009/12/04 08:20:51] <masterzen> ohadlevy: yes, it is not direct. Try something along the lines of classes/classname.html | ||
| [2009/12/04 08:21:16] <masterzen> ohadlevy: the prefix is up to where the user wants to store the doc. | ||
| [2009/12/04 08:21:53] <ohadlevy> masterzen: thanks, i see now | ||
| [2009/12/04 08:22:10] <masterzen> ohadlevy: for nodes it's more complex. | ||
| [2009/12/04 08:23:09] <ohadlevy> masterzen: well, I"m hoping that many of foreman users are using foreman for nodes, so maybe that could be the next step :) | ||
| [2009/12/04 08:26:15] @ Quit: bug: | ||
| [2009/12/04 08:26:59] @ mark__ joined channel #puppet | ||
| [2009/12/04 08:27:59] @ mark__ left channel #puppet () | ||
| [2009/12/04 08:32:21] @ Quit: crdant: "Leaving." | ||
| [2009/12/04 08:38:08] @ bug joined channel #puppet | ||
| [2009/12/04 08:39:33] <telmich> jamestur1bull: ok, thanks for the information | ||
| [2009/12/04 08:56:54] @ Quit: alban2: Read error: 60 (Operation timed out) | ||
| [2009/12/04 08:57:28] @ Telmo joined channel #puppet | ||
| [2009/12/04 09:01:03] @ Bosse_ is now known as Bosse | ||
| [2009/12/04 09:02:14] @ jab_doa joined channel #puppet | ||
| [2009/12/04 09:09:25] <henk> is there a document on how to let a puppetmaster manage itself by puppet? | ||
| [2009/12/04 09:10:01] @ Quit: RageLink: "up up and away" | ||
| [2009/12/04 09:16:24] <henk> i keep getting these errors: http://paste.debian.net/53141/ | ||
| [2009/12/04 09:17:07] @ cwebber joined channel #puppet | ||
| [2009/12/04 09:20:35] @ alban2 joined channel #puppet | ||
| [2009/12/04 09:25:22] @ jmarki joined channel #puppet | ||
| [2009/12/04 09:25:41] @ Quit: cwebber: | ||
| [2009/12/04 09:26:03] @ Quit: FreakGuard: Connection timed out | ||
| [2009/12/04 09:28:44] @ joe-mac joined channel #puppet | ||
| [2009/12/04 09:30:29] @ jcape joined channel #puppet | ||
| [2009/12/04 09:39:52] @ pheezy joined channel #puppet | ||
| [2009/12/04 09:42:12] @ lutter joined channel #puppet | ||
| [2009/12/04 09:50:04] @ Quit: jab_doa: "Verlassend" | ||
| [2009/12/04 09:53:14] <jb-> morning :) | ||
| [2009/12/04 09:56:08] @ bobbyz_ joined channel #puppet | ||
| [2009/12/04 10:00:45] @ whaley joined channel #puppet | ||
| [2009/12/04 10:04:12] @ Quit: jcape: Connection timed out | ||
| [2009/12/04 10:04:26] @ kaptk2 joined channel #puppet | ||
| [2009/12/04 10:06:52] @ reyjrar joined channel #puppet | ||
| [2009/12/04 10:07:52] <reyjrar> Some of my servers (shared admin with another group) seem to have pulled 0.25.1.. | ||
| [2009/12/04 10:08:12] @ gaveen joined channel #puppet | ||
| [2009/12/04 10:08:14] <reyjrar> the ones on 0.25.1 are no longer able to retrieve the catalog | ||
| [2009/12/04 10:08:27] <reyjrar> Could not intern from pson: Could not convert from pson: Could not find relationship target '' | ||
| [2009/12/04 10:08:32] @ labrown joined channel #puppet | ||
| [2009/12/04 10:08:38] @ Quit: yan_: | ||
| [2009/12/04 10:08:57] <reyjrar> I found a link about this being with unnamed exec {}'s but I fixed all of those.. | ||
| [2009/12/04 10:09:31] <reyjrar> is there a way to see what relationship / file that's causing the pson error? | ||
| [2009/12/04 10:14:48] @ Quit: pheezy: Remote closed the connection | ||
| [2009/12/04 10:17:10] <masterzen> reyjrar: not without editing the source code. This bug has been fixed, and the fix will appear in 0.25.2. | ||
| [2009/12/04 10:18:00] <joe-mac> what is the license for puppet? | ||
| [2009/12/04 10:18:11] <joe-mac> like, i can i use the code in another product? and what are the stipulations? | ||
| [2009/12/04 10:19:23] <Rejo> joe-mac: http://reductivelabs.com/trac/puppet/wiki/FrequentlyAskedQuestions#what-license-is-puppet-released-under | ||
| [2009/12/04 10:19:35] <joe-mac> thanks Rejo | ||
| [2009/12/04 10:21:33] @ alfism joined channel #puppet | ||
| [2009/12/04 10:22:23] <joe-mac> anyone know if it's gpl2 or 3? | ||
| [2009/12/04 10:22:31] <joe-mac> let me see if it says in the svn checkout | ||
| [2009/12/04 10:22:44] @ fzzzt joined channel #puppet | ||
| [2009/12/04 10:22:49] <fzzzt> Neat: 24805 root 25 0 12.2g 12g 2776 R 99.8 38.4 1144:55 puppetd | ||
| [2009/12/04 10:30:29] <neek> fzzzt: heh. | ||
| [2009/12/04 10:31:20] @ cwebber joined channel #puppet | ||
| [2009/12/04 10:32:23] <fzzzt> hm seems to do it consistently, not good | ||
| [2009/12/04 10:32:31] @ rmiller4pi8 joined channel #puppet | ||
| [2009/12/04 10:34:17] @ remex_ is now known as remex | ||
| [2009/12/04 10:35:12] @ rmiller4pi8 left channel #puppet () | ||
| [2009/12/04 10:36:14] <neek> fzzzt: we don't run puppet daemonized past initial builds because of that. | ||
| [2009/12/04 10:36:30] <neek> though I haven't seen ours get that big. but 260M on a 256M box has the same effect. :) | ||
| [2009/12/04 10:36:51] <fzzzt> I'm running it debug non-daemonized right now and it's doing the same thing...but no messages | ||
| [2009/12/04 10:37:04] @ rmiller4pi8 joined channel #puppet | ||
| [2009/12/04 10:37:45] <neek> so it's just sitting there doing nothing and consuming more and more mem? | ||
| [2009/12/04 10:37:47] <fzzzt> I'll have to set up a login class to kill it off I guess | ||
| [2009/12/04 10:37:56] <fzzzt> yeah, and full CPU | ||
| [2009/12/04 10:38:02] <neek> sounds like a problem somewhere. | ||
| [2009/12/04 10:38:10] <neek> try debug mode and see where it's spinning? | ||
| [2009/12/04 10:38:16] <fzzzt> it is | ||
| [2009/12/04 10:38:34] <neek> wierd. does it on every node? | ||
| [2009/12/04 10:38:34] <fzzzt> in debug mode | ||
| [2009/12/04 10:39:09] <fzzzt> nope this is the first i've seen | ||
| [2009/12/04 10:39:37] <neek> maybe try taking out includes/classes from the node config? maybe one of them is setting it off? | ||
| [2009/12/04 10:41:10] @ eventi joined channel #puppet | ||
| [2009/12/04 10:42:32] <jb-> can I use |'s in exec's to specify multiple commands? | ||
| [2009/12/04 10:42:58] <eventi> jb - yep | ||
| [2009/12/04 10:43:12] <jb-> im thinking that a require is not likign it | ||
| [2009/12/04 10:43:59] <eventi> paste what you're doing in here: http://www.pastie.org/ | ||
| [2009/12/04 10:44:43] <jb-> http://pastie.org/727544 | ||
| [2009/12/04 10:45:11] <jb-> basically, I need to run the first exec, and then touch a file, and use creates so that command is never ran again unless that file is deleted | ||
| [2009/12/04 10:45:22] <jb-> then i need to run the dsmc exec | ||
| [2009/12/04 10:45:26] @ Quit: tmz: "leaving" | ||
| [2009/12/04 10:45:27] <eventi> they're not the same | ||
| [2009/12/04 10:45:42] <eventi> copy past the line you used in the exec into the require | ||
| [2009/12/04 10:46:19] <eventi> besides, you don't want to pipe into touch... use && touch | ||
| [2009/12/04 10:47:14] <eventi> line 2 has dom=TSM... line 10 doesn't | ||
| [2009/12/04 10:47:33] <KarlHungus> this is probably a ruby question, but how would i put the date/time of when a template was last generated into the template? | ||
| [2009/12/04 10:47:36] <jb-> oops, sorry, you are right. | ||
| [2009/12/04 10:47:47] <eventi> should be | ||
| [2009/12/04 10:47:55] <eventi> exec { "/usr/bin/dsmadmc -id=user -password=pw reg node $host pw userid=none dom=TSM01_DOM02 && touch /opt/tivoli/tsm/client/ba/bin/registerd": | ||
| [2009/12/04 10:48:10] <eventi> that way the flag file only gets touched when the command is successful | ||
| [2009/12/04 10:48:17] <joe-mac> KarlHungus: Time.now.to_s | ||
| [2009/12/04 10:48:32] <KarlHungus> joe-mac: just <%= Time.now.to_s %> ? | ||
| [2009/12/04 10:48:39] <joe-mac> well, This templaet was generated at <%= Time.now.to_s %> | ||
| [2009/12/04 10:48:41] <joe-mac> yea | ||
| [2009/12/04 10:48:43] <jb-> eventi: sorry, not sure how I missed that :) | ||
| [2009/12/04 10:48:45] <KarlHungus> thanks =) | ||
| [2009/12/04 10:48:48] <joe-mac> np | ||
| [2009/12/04 10:48:53] <eventi> happens :) | ||
| [2009/12/04 10:52:22] <jb-> eventi: if I use creates, that exec should never be executed again unless the file specified in creates is deleted, right? | ||
| [2009/12/04 10:52:31] <eventi> right | ||
| [2009/12/04 10:53:00] @ tmz joined channel #puppet | ||
| [2009/12/04 10:53:04] <jb-> for example, /etc/adsm/TSM.PWD did get created, but it's still trying to exec when puppet runs | ||
| [2009/12/04 10:53:06] <eventi> and using && touch ensures that the file doesn't get created if the exec failed | ||
| [2009/12/04 10:53:35] @ Quit: jmarki: Remote closed the connection | ||
| [2009/12/04 10:53:49] <eventi> joe-mac: am I missing something? | ||
| [2009/12/04 10:53:51] <jb-> the dsmadmc is still trying to run too. | ||
| [2009/12/04 10:53:52] <jb-> hmm | ||
| [2009/12/04 10:54:20] <jb-> even though /opt/tivoli/tsm/client/ba/bin/registered exists | ||
| [2009/12/04 10:54:52] <eventi> can you run puppetd --test and paste the output into pastie? | ||
| [2009/12/04 10:54:54] <jb-> wiki:TypeReference doesn't say creates requires anything else.. | ||
| [2009/12/04 10:55:01] <gepetto> jb-: wiki: wiki:TypeReference is http://reductivelabs.com/trac/puppet/wiki/TypeReference | ||
| [2009/12/04 10:55:02] <jb-> yeah | ||
| [2009/12/04 10:55:26] <eventi> You're doing it right - I do that all over my manifests | ||
| [2009/12/04 10:55:50] <joe-mac> eventi: are you missing something wrt what | ||
| [2009/12/04 10:55:56] <joe-mac> a rpoblem you're having? | ||
| [2009/12/04 10:56:22] <eventi> trying to help jb- - can you check this? http://pastie.org/727544 | ||
| [2009/12/04 10:56:26] <jb-> http://pastie.org/727565 | ||
| [2009/12/04 10:56:28] <jb-> thats hard to read | ||
| [2009/12/04 10:57:28] <barn> Volcane's mcollect talk was rad... | ||
| [2009/12/04 10:57:35] <eventi> jb- you need to figure out why "/usr/bin/dsmadmc -id=user -password=user reg node cobtest64 pw userid=none dom=TSM01_DOM02 && touch /opt/tivoli/tsm/client/ba/bin/registerd" didn't work | ||
| [2009/12/04 10:57:44] <eventi> try running it by hand | ||
| [2009/12/04 10:57:48] <Whoop> Anyone any recommendations for how I can get puppet to generate an nrpe config that contains the relevant disk checks? | ||
| [2009/12/04 10:57:50] <jb-> it did work | ||
| [2009/12/04 10:57:54] <eventi> most likely no path to touch | ||
| [2009/12/04 10:57:54] <jb-> the first time | ||
| [2009/12/04 10:57:58] <jb-> the touch created teh file | ||
| [2009/12/04 10:58:11] <jb-> its going to fail if it is ran more than once.. | ||
| [2009/12/04 10:59:02] <jb-> but on the initial run, it was successful, and "registered" was created | ||
| [2009/12/04 10:59:24] <eventi> it's touching "/opt/tivoli/tsm/client/ba/bin/registerd" | ||
| [2009/12/04 10:59:29] <eventi> note the missing e | ||
| [2009/12/04 10:59:33] <jb-> oh wow, another one. | ||
| [2009/12/04 10:59:35] <jb-> damnit. | ||
| [2009/12/04 10:59:39] <eventi> you need to cut and paste more :) | ||
| [2009/12/04 10:59:46] <eventi> now you owe me two beers | ||
| [2009/12/04 10:59:49] <jb-> haha | ||
| [2009/12/04 10:59:52] <jb-> and I even checked that :) | ||
| [2009/12/04 11:00:19] @ jcape joined channel #puppet | ||
| [2009/12/04 11:00:52] <jb-> ok, seems to work now :) thanks. | ||
| [2009/12/04 11:01:02] <eventi> np | ||
| [2009/12/04 11:01:12] <barn> | ||
| [2009/12/04 11:01:13] <jb-> i thought that was sort of sloppy | ||
| [2009/12/04 11:01:16] <jb-> but I didn't see any other way of doing that | ||
| [2009/12/04 11:01:24] <eventi> It's not terrible | ||
| [2009/12/04 11:01:59] <eventi> if the exec doesn't have a good way of verifying that it's run | ||
| [2009/12/04 11:02:21] <beelzebob> whats the best way for a module to allow overrides based on environment? | ||
| [2009/12/04 11:02:38] <eventi> you could also do "unless =>" with some command | ||
| [2009/12/04 11:02:39] <jb-> yeah | ||
| [2009/12/04 11:02:45] <jb-> hmm | ||
| [2009/12/04 11:02:49] <beelzebob> a case statement that imports different files based on $environment? | ||
| [2009/12/04 11:04:18] <beelzebob> and along those lines, is there a good reference for how namespaces are handled in puppet? | ||
| [2009/12/04 11:05:35] <beelzebob> if I have a class named foo that imports a file named bar, that contains a class named ham, how do I reference ham? | ||
| [2009/12/04 11:06:30] <eventi> import a file? | ||
| [2009/12/04 11:06:48] <eventi> foo::ham | ||
| [2009/12/04 11:07:02] <eventi> but you usually don't need to reference a class | ||
| [2009/12/04 11:07:38] <beelzebob> import a manifest/file | ||
| [2009/12/04 11:08:17] <eventi> import has no effect on namespace, AFAIK | ||
| [2009/12/04 11:08:21] <beelzebob> I need to reference it if I'm going to include it into a node | ||
| [2009/12/04 11:08:32] <eventi> no - just use ham | ||
| [2009/12/04 11:09:01] <eventi> well - actually foo needs to include ham | ||
| [2009/12/04 11:09:06] @ lak joined channel #puppet | ||
| [2009/12/04 11:09:15] <eventi> but you shouldn't import from a class | ||
| [2009/12/04 11:09:45] <eventi> import just parses the file, include "instantiates" the class | ||
| [2009/12/04 11:10:23] <beelzebob> ah | ||
| [2009/12/04 11:10:35] <eventi> so as to your first q: what do you mean by environment? | ||
| [2009/12/04 11:10:54] <beelzebob> I mean the $environment variable | ||
| [2009/12/04 11:11:09] <beelzebob> puppet environment | ||
| [2009/12/04 11:12:01] <beelzebob> one way to handle overrides with environments would be to have the differences in different modulepaths | ||
| [2009/12/04 11:12:16] <eventi> oh - i don't use modules | ||
| [2009/12/04 11:12:26] @ Quit: alfism: "http://opensolaris.com/" | ||
| [2009/12/04 11:12:30] <eventi> not familiar with $environment | ||
| [2009/12/04 11:12:43] <eventi> but case would probably be good | ||
| [2009/12/04 11:13:04] <beelzebob> but I'm planning on having the environments mirror svn branches, so the modules need to provide a way to include different stuff based on environment | ||
| [2009/12/04 11:13:08] <beelzebob> good enough :) | ||
| [2009/12/04 11:13:21] <beelzebob> I can work with the import/include nugget of information | ||
| [2009/12/04 11:13:44] <beelzebob> that link hadn't quite clicked in my brain yet | ||
| [2009/12/04 11:13:46] <eventi> how about import $environment/*.pp | ||
| [2009/12/04 11:14:01] <fzzzt> are there any selinux capabilities baked into puppet? | ||
| [2009/12/04 11:14:17] <eventi> then you can have diff class definitions based on diff environments | ||
| [2009/12/04 11:14:30] <eventi> sounds like you're asking to get out of sync though | ||
| [2009/12/04 11:14:53] @ Quit: tim|macbook: | ||
| [2009/12/04 11:15:58] <joe-mac> fzzzt: yes | ||
| [2009/12/04 11:16:01] <jb-> eventi: got another one for you.. hopefully not due to a typo. | ||
| [2009/12/04 11:16:04] <beelzebob> eventi: the idea I had was to have each environment pull in a base class, and only override what's needed | ||
| [2009/12/04 11:16:06] <joe-mac> there is a label parameter for files | ||
| [2009/12/04 11:16:42] <beelzebob> I think I just need to get used to import/include and how things are referenced - still pretty new to puppet | ||
| [2009/12/04 11:16:48] @ Quit: orangepeel: Remote closed the connection | ||
| [2009/12/04 11:16:48] <jb-> eventi: this works great for machines that have never had this particular package installed.. but for packages that already do have the package installed (not by puppet) which lack "registered" there is a problem.. | ||
| [2009/12/04 11:17:14] <jb-> since "registered" does not exist, dsmadmc runs and exits with code "10" .. puppet run fails | ||
| [2009/12/04 11:17:24] @ orangepeel joined channel #puppet | ||
| [2009/12/04 11:17:31] <jb-> so, because of this I added returns => ["0", "10"] | ||
| [2009/12/04 11:17:44] <jb-> the dsadmc runs successfully, but the "touch" never creates the file | ||
| [2009/12/04 11:18:16] <eventi> well - if dsadmc exits with 10, touch won't run | ||
| [2009/12/04 11:18:21] <eventi> that's what && does | ||
| [2009/12/04 11:18:26] <jb-> ok thats what I thought | ||
| [2009/12/04 11:18:29] @ orangepeel left channel #puppet () | ||
| [2009/12/04 11:18:29] <eventi> pero | ||
| [2009/12/04 11:18:36] <jb-> hrmm | ||
| [2009/12/04 11:19:32] <eventi> so you need to come up with a command that will actually determine if what you're creating exists already | ||
| [2009/12/04 11:19:38] <eventi> and use unless | ||
| [2009/12/04 11:19:55] @ vzctl__ joined channel #puppet | ||
| [2009/12/04 11:20:14] <jb-> yeah i'm trying to figure that out.. | ||
| [2009/12/04 11:20:20] <jb-> stupid TSM :/ | ||
| [2009/12/04 11:20:39] <eventi> yeah - better you than me | ||
| [2009/12/04 11:21:05] <eventi> ok - so like with subversion - I have a rule that looks like this: | ||
| [2009/12/04 11:21:32] <eventi> exec { "svnadmin create ...": unless => "svnadmin verify" } | ||
| [2009/12/04 11:22:32] <eventi> i have no desire to know what dsmadmc does, but it must do something that you can detect with another command | ||
| [2009/12/04 11:22:36] <jb-> yep, makes since. I just need to figure out how to verify | ||
| [2009/12/04 11:22:50] <jb-> yeah, it queries a remote server | ||
| [2009/12/04 11:22:57] <eventi> get crazy with greps and awk | ||
| [2009/12/04 11:23:25] @ orangepeel joined channel #puppet | ||
| [2009/12/04 11:23:29] @ Quit: lak: | ||
| [2009/12/04 11:26:59] <jb-> ok | ||
| [2009/12/04 11:27:00] <jb-> got it :) | ||
| [2009/12/04 11:27:22] <eventi> cool - what did you wind up with? | ||
| [2009/12/04 11:27:30] <jb-> well, actually the command to verify returns 0 if it exists | ||
| [2009/12/04 11:27:32] <jb-> hmm | ||
| [2009/12/04 11:27:52] <jb-> basically the dsadmc does "register node" | ||
| [2009/12/04 11:28:01] <jb-> tehre is also a "verify node" function | ||
| [2009/12/04 11:28:07] <jb-> if the node exists, it returns 0 | ||
| [2009/12/04 11:28:12] <eventi> cool | ||
| [2009/12/04 11:28:20] <eventi> so create unless verify | ||
| [2009/12/04 11:28:38] @ Quit: alban2: "A bientot" | ||
| [2009/12/04 11:30:18] <jb-> yes, i think this worked | ||
| [2009/12/04 11:30:22] <jb-> and is a much better solution :) | ||
| [2009/12/04 11:31:17] <Darkflib> eventi, I do the same idea with setting default mysql passwords... | ||
| [2009/12/04 11:31:28] <eventi> what's that | ||
| [2009/12/04 11:31:32] <eventi> touch a file? | ||
| [2009/12/04 11:31:40] <Darkflib> unless => stuff | ||
| [2009/12/04 11:31:44] <eventi> ok | ||
| [2009/12/04 11:31:49] @ Quit: vzctl_: Read error: 110 (Connection timed out) | ||
| [2009/12/04 11:31:50] @ Quit: MattyM: "ta ta" | ||
| [2009/12/04 11:32:39] <eventi> I have a db server that needs to have a GRANT and I touch a file called /tmp/usrname once i've granted the privilege | ||
| [2009/12/04 11:32:57] @ Quit: giskard: Remote closed the connection | ||
| [2009/12/04 11:33:14] <eventi> i should probably SHOW GRANTS, but I'm lazy | ||
| [2009/12/04 11:34:36] <fzzzt> i use unless | ||
| [2009/12/04 11:37:10] <fzzzt> http://pastie.org/727650 | ||
| [2009/12/04 11:37:15] <fzzzt> not for the root pw tho | ||
| [2009/12/04 11:38:10] @ Quit: Ramonste1: Client Quit | ||
| [2009/12/04 11:38:19] <fzzzt> unless => "/usr/bin/mysql -u root -e \"show grants for '${name}'@'${hostname_text}'\" | grep -i usage" | ||
| [2009/12/04 11:40:05] <fzzzt> hm seltype doesn't seem to take effect | ||
| [2009/12/04 11:46:50] @ Quit: jcape: Read error: 110 (Connection timed out) | ||
| [2009/12/04 11:49:35] @ DrHouseMD joined channel #puppet | ||
| [2009/12/04 11:50:38] <eventi> fzzzt: i like that | ||
| [2009/12/04 11:52:58] @ Quit: verwilst: "Ex-Chat" | ||
| [2009/12/04 11:57:38] @ Quit: soot: Remote closed the connection | ||
| [2009/12/04 12:01:45] @ Quit: danielbln: "Leaving." | ||
| [2009/12/04 12:05:52] @ alfism joined channel #puppet | ||
| [2009/12/04 12:11:28] @ erm_ joined channel #puppet | ||
| [2009/12/04 12:11:38] @ Quit: Robbie_: Read error: 113 (No route to host) | ||
| [2009/12/04 12:12:08] @ Mick27 joined channel #puppet | ||
| [2009/12/04 12:13:09] @ qwebirc34534 joined channel #puppet | ||
| [2009/12/04 12:15:44] @ lak joined channel #puppet | ||
| [2009/12/04 12:17:14] @ giskard joined channel #puppet | ||
| [2009/12/04 12:17:18] @ Quit: malraid: Remote closed the connection | ||
| [2009/12/04 12:20:05] <dan__t> 'morning, kids. | ||
| [2009/12/04 12:21:16] <joe-mac> mornign | ||
| [2009/12/04 12:23:05] @ brothers_ joined channel #puppet | ||
| [2009/12/04 12:25:49] <dan__t> bleh. | ||
| [2009/12/04 12:31:42] @ Quit: bevans5446: | ||
| [2009/12/04 12:45:00] @ Quit: poison: Remote closed the connection | ||
| [2009/12/04 12:45:24] <jb-> is there a way to log output of an exec command? | ||
| [2009/12/04 12:45:27] @ Quit: cwebber: | ||
| [2009/12/04 12:45:32] <jb-> so I can see stderr or what not? | ||
| [2009/12/04 12:46:20] <eventi> you can run puppetd --test --debug | ||
| [2009/12/04 12:46:52] <jb-> k | ||
| [2009/12/04 12:46:56] * eventi thinks | ||
| [2009/12/04 12:47:21] @ toi joined channel #puppet | ||
| [2009/12/04 12:47:33] @ RageLink joined channel #puppet | ||
| [2009/12/04 12:50:24] @ gpled joined channel #puppet | ||
| [2009/12/04 12:52:28] <gpled> your thoughts about this ruby to make modules: http://linux-coders.pastebin.com/d351ba484 | ||
| [2009/12/04 12:54:51] @ cwebber joined channel #puppet | ||
| [2009/12/04 12:55:10] <fsweetser> gpled: looks like a nice start | ||
| [2009/12/04 12:55:18] <fsweetser> two thoughts: | ||
| [2009/12/04 12:55:46] <fsweetser> 1 I'd also create a templates directory | ||
| [2009/12/04 12:56:17] <fsweetser> 2. it would be nice to create an empty "class <modulename> { }" definition in the init.pp file | ||
| [2009/12/04 12:56:46] <gpled> fsweetser: thanks, those are great ideas. | ||
| [2009/12/04 12:58:15] <fsweetser> oh, and it would also be useful to add in an option to point to a different myPath, for writing modules outside of the live area | ||
| [2009/12/04 13:00:17] @ arj joined channel #puppet | ||
| [2009/12/04 13:07:23] @ alexine_dsouza joined channel #puppet | ||
| [2009/12/04 13:21:29] @ mikerowehl joined channel #puppet | ||
| [2009/12/04 13:22:05] @ ascarter joined channel #puppet | ||
| [2009/12/04 13:24:17] @ robbyt joined channel #puppet | ||
| [2009/12/04 13:27:55] <gpled> new version: http://linux-coders.pastebin.com/d659a4f16 | ||
| [2009/12/04 13:28:03] <gpled> anyones thoughts | ||
| [2009/12/04 13:28:15] @ jcape joined channel #puppet | ||
| [2009/12/04 13:30:07] <gpled> think i am liking ruby | ||
| [2009/12/04 13:30:26] <|Mike|> omg! | ||
| [2009/12/04 13:31:32] @ mvn071 joined channel #puppet | ||
| [2009/12/04 13:32:24] @ Quit: mvn071: Read error: 104 (Connection reset by peer) | ||
| [2009/12/04 13:32:48] @ Quit: Mick27: "Leaving" | ||
| [2009/12/04 13:32:59] <robbyt> hey all- i just upgraded my debian puppetmaster to .25.1 | ||
| [2009/12/04 13:33:14] <robbyt> and w/ passenger, it seems to be ignoring my puppet.conf | ||
| [2009/12/04 13:33:21] <robbyt> http://projects.reductivelabs.com/issues/2774 | ||
| [2009/12/04 13:33:36] <robbyt> debian includes this fix: http://projects.reductivelabs.com/issues/2590 | ||
| [2009/12/04 13:33:44] <robbyt> i'm sort of stuck though... | ||
| [2009/12/04 13:34:41] @ jfreeman joined channel #puppet | ||
| [2009/12/04 13:35:13] @ Quit: ascarter: "Ex-Chat" | ||
| [2009/12/04 13:35:49] @ Quit: DrHouseMD: Remote closed the connection | ||
| [2009/12/04 13:37:06] @ bruce joined channel #puppet | ||
| [2009/12/04 13:38:04] @ BarnacleBob joined channel #puppet | ||
| [2009/12/04 13:38:12] <BarnacleBob> so | ||
| [2009/12/04 13:38:55] <BarnacleBob> lets say i have 2 puppet masters. each have 3 environments configured and clients from env1 and env2 only checkin with one or the other puppetmaster. if i use stored configs on them both and point them both at the same database, will there be any problems? | ||
| [2009/12/04 13:39:10] <arj> sfsf | ||
| [2009/12/04 13:39:11] <BarnacleBob> env3 is dev and doesn't check in anywhere | ||
| [2009/12/04 13:42:05] @ cwebber_ joined channel #puppet | ||
| [2009/12/04 13:43:40] @ Quit: cwebber: Read error: 104 (Connection reset by peer) | ||
| [2009/12/04 13:43:40] @ cwebber_ is now known as cwebber | ||
| [2009/12/04 13:44:33] @ Quit: cwebber: Client Quit | ||
| [2009/12/04 13:44:58] @ ambroff joined channel #puppet | ||
| [2009/12/04 13:49:35] @ Quit: tuf: Remote closed the connection | ||
| [2009/12/04 13:49:53] @ tuf joined channel #puppet | ||
| [2009/12/04 13:54:25] <Av> hey guys, is there a way for me to install RPM packages which aren't in a repo? On new servers, I want to install http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm, but I only need puppet to do this once really | ||
| [2009/12/04 13:54:43] @ Quit: toi: Remote closed the connection | ||
| [2009/12/04 13:55:09] <eventi> av: wget it with an exec | ||
| [2009/12/04 13:55:16] <eventi> install with package | ||
| [2009/12/04 13:55:37] <eventi> I actually have that exactly in my manifest - one sec | ||
| [2009/12/04 13:56:28] <eventi> http://pastebin.com/m72f79e4e | ||
| [2009/12/04 13:56:49] @ tuf__ joined channel #puppet | ||
| [2009/12/04 13:57:08] <eventi> then just include epel-release in your node | ||
| [2009/12/04 13:57:28] <Av> doesn't that get run every time puppet runs? | ||
| [2009/12/04 13:57:45] <eventi> no - creates => makes sure the wget doesn't run | ||
| [2009/12/04 13:57:54] <Av> ahh nice! v nice. | ||
| [2009/12/04 13:57:56] <Av> thanks eventi :) | ||
| [2009/12/04 13:57:59] <eventi> package knows that it's installed | ||
| [2009/12/04 13:58:02] <eventi> yw | ||
| [2009/12/04 13:58:08] <Av> that's awesome | ||
| [2009/12/04 14:02:08] <robbyt> you can do rpm -Uhv http://site/file.rpm | ||
| [2009/12/04 14:02:11] <robbyt> in an exec | ||
| [2009/12/04 14:02:26] <robbyt> onlyif => rpm -qa file.rpm | ||
| [2009/12/04 14:02:39] <robbyt> or whatever the rpm -qa syntax is | ||
| [2009/12/04 14:08:48] @ Quit: jcape: Connection timed out | ||
| [2009/12/04 14:08:52] <beelzebob> I assumed that including a class would include all subclasses, but it appears that isn't the case? | ||
| [2009/12/04 14:08:53] <Av> rpm -qa always returns 0. i could do.. | ||
| [2009/12/04 14:09:01] <Av> would be an annoying hack | ||
| [2009/12/04 14:09:48] <eventi> Av / robbyt - I never did get that to work, hence my way | ||
| [2009/12/04 14:09:51] <beelzebob> If I "include base::subclass" subclass works as expecting, but "include base" appears to do nothing... | ||
| [2009/12/04 14:10:20] <robbyt> rpm -qa file | grep file ;) | ||
| [2009/12/04 14:10:28] <eventi> beelzebob - you have to get off the idea that a class is a OO class - it's just a bunch of defines | ||
| [2009/12/04 14:10:39] <robbyt> hi eventi, i decided to just go back to webrick while i sort out some other issues with the upgrade | ||
| [2009/12/04 14:10:56] <eventi> err.... not defines - types/ resources | ||
| [2009/12/04 14:11:00] @ plathrop-away is now known as plathrop | ||
| [2009/12/04 14:11:10] <eventi> but don't expect OO class stuff | ||
| [2009/12/04 14:11:27] <robbyt> specifically, i'm having a problem parsing a template with aesthetic 'pipes' i.e., hello || how are you | ||
| [2009/12/04 14:11:47] <robbyt> worked fine in 24.8 | ||
| [2009/12/04 14:11:57] <robbyt> 25.1 doesn't like my motd template anymore | ||
| [2009/12/04 14:11:58] <beelzebob> eventi: thanks | ||
| [2009/12/04 14:12:02] * beelzebob rubs his chin | ||
| [2009/12/04 14:12:10] <robbyt> and puppetmasterd dies really early | ||
| [2009/12/04 14:12:13] <eventi> yeah 25.x uses || I think | ||
| [2009/12/04 14:12:25] <eventi> for external resources? Anyone? | ||
| [2009/12/04 14:12:42] <robbyt> so what i can't understand, is that i updated my template with || | ||
| [2009/12/04 14:12:46] <robbyt> restarted webrick | ||
| [2009/12/04 14:12:56] <robbyt> and i still can't get puppetmaster to compile a catalog! | ||
| [2009/12/04 14:13:02] <eventi> error? | ||
| [2009/12/04 14:13:07] <robbyt> it's still complaning about the pipes | ||
| [2009/12/04 14:13:09] <robbyt> umm. | ||
| [2009/12/04 14:13:15] @ Quit: tuf: Read error: 110 (Connection timed out) | ||
| [2009/12/04 14:13:16] @ tuf__ is now known as tuf | ||
| [2009/12/04 14:13:17] * eventi doesn't use webrick | ||
| [2009/12/04 14:13:29] <robbyt> Dec 4 14:09:09 mgmt puppetmasterd[19450]: syntax error on line 1, col 27: `Memory size: 2.00 GB || IP: | ||
| [2009/12/04 14:13:39] <robbyt> (cut off the rest of the motd | ||
| [2009/12/04 14:13:59] <robbyt> but i changed the template, so i don't know where it's getting that from | ||
| [2009/12/04 14:14:23] <robbyt> Dec 4 14:09:09 mgmt puppetmasterd[19450]: Compiled catalog for mgmt.server in x seconds | ||
| [2009/12/04 14:14:28] <robbyt> (that comes before it) | ||
| [2009/12/04 14:14:44] <robbyt> i'm trying to figure out how to get more verbosity out of webrick right now.. | ||
| [2009/12/04 14:18:50] <robbyt> running webrick in --debug doesn't help | ||
| [2009/12/04 14:18:56] <robbyt> it can compile the catalog just fine | ||
| [2009/12/04 14:18:59] <robbyt> hrmmm | ||
| [2009/12/04 14:20:31] <robbyt> ahh | ||
| [2009/12/04 14:20:36] <robbyt> it was in my database | ||
| [2009/12/04 14:20:42] <robbyt> how wonderful... | ||
| [2009/12/04 14:21:31] <eventi> for my curiousity, can I see the template? | ||
| [2009/12/04 14:21:58] <eventi> or the manifest that causes the problem? | ||
| [2009/12/04 14:25:00] <robbyt> yeah, just a moment | ||
| [2009/12/04 14:25:05] <robbyt> i'll paste it somewhere- | ||
| [2009/12/04 14:25:49] <robbyt> http://pastebin.com/m2ddc18e9 | ||
| [2009/12/04 14:26:15] <robbyt> pretty basic- | ||
| [2009/12/04 14:26:21] <eventi> oh yeah - that's strange | ||
| [2009/12/04 14:26:24] <robbyt> i'm not sure how that ends up in my store configs database | ||
| [2009/12/04 14:27:02] <robbyt> i had to drop my database on my test environment before i could get .25.1 via webrick to work | ||
| [2009/12/04 14:27:15] <robbyt> i'm going to try to get passenger working now... wish me luck | ||
| [2009/12/04 14:31:21] @ cwebber joined channel #puppet | ||
| [2009/12/04 14:33:01] @ toi joined channel #puppet | ||
| [2009/12/04 14:33:58] <gpled> having trouble with the exec (line 28) on this http://linux-coders.pastebin.com/d120404c7 | ||
| [2009/12/04 14:34:45] <gpled> should i have a ; on at the end of 31 ? | ||
| [2009/12/04 14:34:58] <eventi> not necessary | ||
| [2009/12/04 14:34:58] @ qwebirc98153 joined channel #puppet | ||
| [2009/12/04 14:35:10] <eventi> what's the error? | ||
| [2009/12/04 14:35:22] <eventi> I don't think the path has to be in an array either | ||
| [2009/12/04 14:36:09] @ Quit: qwebirc98153: Client Quit | ||
| [2009/12/04 14:36:13] <eventi> but I don't know that it hurts: http://linux-coders.pastebin.com/m43404245 | ||
| [2009/12/04 14:36:25] @ kris__ joined channel #puppet | ||
| [2009/12/04 14:36:45] <|Mike|> eventi: http://reductivelabs.com/trac/puppet/wiki/TypeReference#exec | ||
| [2009/12/04 14:36:48] <gpled> (//Node[mta-01.fccfurn.com]/postfix/Exec[postmap]) Failed to call refresh on Exec[postmap]: postmap returned 1 instead of 0 at /etc/puppet/modules/postfix/manifests/init.pp:32 | ||
| [2009/12/04 14:37:32] <|Mike|> remove the [ | ||
| [2009/12/04 14:37:37] <|Mike|> ]'s at path = | ||
| [2009/12/04 14:37:40] <|Mike|> ]'s at path => | ||
| [2009/12/04 14:37:51] <|Mike|> goddarn, i'm so used to vim :x | ||
| [2009/12/04 14:37:59] <kris__> hi is there any way for me to assign a priority to rules in my puppet policy? like check xyz rule last? | ||
| [2009/12/04 14:38:02] <eventi> try "env - PATH=/usr/sbin postmap | ||
| [2009/12/04 14:38:12] <eventi> |Mike| - that's called a vipo | ||
| [2009/12/04 14:38:45] <eventi> like when I type :wqa! when I'm done talking on IM | ||
| [2009/12/04 14:39:16] <eventi> anyway gpled: try that command, you should get a meaningful error | ||
| [2009/12/04 14:39:44] <|Mike|> exec { "blah": path => "/bin/lala:/sbin/lala"} | ||
| [2009/12/04 14:41:03] <|Mike|> did you edit your init.pp as shown above & ran kickpuppet ? | ||
| [2009/12/04 14:44:43] @ Quit: lutter: "Leaving." | ||
| [2009/12/04 14:44:52] <eventi> gpled: you still here? | ||
| [2009/12/04 14:45:17] <gpled> yea | ||
| [2009/12/04 14:45:28] <|Mike|> gpled: see the text above :P | ||
| [2009/12/04 14:45:48] <eventi> kris__: you can have one rule require => another | ||
| [2009/12/04 14:45:49] <gpled> heres what i have done so far: path => "/usr/sbin", | ||
| [2009/12/04 14:46:34] <gpled> eventi: did not quite understand: PATH=/usr/sbin postmap | ||
| [2009/12/04 14:46:38] <jamestur1bull> tmz: will fix also | ||
| [2009/12/04 14:46:41] <gpled> should i make it look like that? | ||
| [2009/12/04 14:46:54] <eventi> no gpled | ||
| [2009/12/04 14:47:05] <gpled> k, did not think so | ||
| [2009/12/04 14:47:09] <|Mike|> gpled: exec { "blah": path => "/bin/lala:/sbin/lala"} | ||
| [2009/12/04 14:47:09] <eventi> you got the error because the exec failed | ||
| [2009/12/04 14:47:44] <eventi> so to see the error message, use env to remove your environment | ||
| [2009/12/04 14:48:23] <eventi> on the command line: env - PATH=/usr/sbin postmap | ||
| [2009/12/04 14:48:39] <eventi> it's probably a path problem, and that will expose it | ||
| [2009/12/04 14:49:12] <|Mike|> (or use absolute paths in your script(s)) | ||
| [2009/12/04 14:51:15] <kris__> eventi: hmm .... thanks I'll see what I can do with that bit of info. | ||
| [2009/12/04 14:52:59] @ fzzzt left channel #puppet () | ||
| [2009/12/04 14:53:57] @ ascarter joined channel #puppet | ||
| [2009/12/04 14:56:02] @ Quit: lak: | ||
| [2009/12/04 14:57:26] @ yarihm joined channel #puppet | ||
| [2009/12/04 14:58:47] <gepetto> ::trac:: Recipes/ModuleSSHAuth created @ http://reductivelabs.com/trac/puppet/wiki/Recipes/ModuleSSHAuth?version=1 | ||
| [2009/12/04 15:01:08] @ Quit: stevenjenkins: Read error: 110 (Connection timed out) | ||
| [2009/12/04 15:09:08] <gpled> this seems to have fixed it: exec { "postmap /etc/postfix/check_helo_access": | ||
| [2009/12/04 15:09:39] <gpled> i thought that somehow subscribe would have been assumed in exec | ||
| [2009/12/04 15:13:06] @ Quit: cwebber: | ||
| [2009/12/04 15:24:10] @ Quit: lilmatt: Remote closed the connection | ||
| [2009/12/04 15:24:31] @ Quit: bruce: "The computer fell asleep" | ||
| [2009/12/04 15:24:42] @ lilmatt joined channel #puppet | ||
| [2009/12/04 15:24:49] @ bruce joined channel #puppet | ||
| [2009/12/04 15:25:53] <gpled> hmmm, screen and mc don't seem to play well, together | ||
| [2009/12/04 15:30:29] @ Quit: brothers_: | ||
| [2009/12/04 15:31:39] @ Quit: bruce: Read error: 60 (Operation timed out) | ||
| [2009/12/04 15:32:22] <|Mike|> gpled: that should fail imho. | ||
| [2009/12/04 15:34:10] <gpled> |Mike|: talking about screen + mc? | ||
| [2009/12/04 15:34:25] <|Mike|> no, the line above :) | ||
| [2009/12/04 15:34:30] @ multiverse joined channel #puppet | ||
| [2009/12/04 15:34:34] <|Mike|> exec { "blah": path => "/bin/lala:/sbin/lala"} | ||
| [2009/12/04 15:34:41] <|Mike|> that's the correct syntax imho | ||
| [2009/12/04 15:35:12] <gpled> the blah needs a path to the file passed to it | ||
| [2009/12/04 15:36:11] <multiverse> Hi all. When I execute puppetmasterd - -mkusers, it doesn't seem to exit. I can see it sitting around in ps ax forever. | ||
| [2009/12/04 15:36:37] <|Mike|> gpled: Yep, how did you set the env's for 'postmap' then ? :) | ||
| [2009/12/04 15:36:39] <gpled> i think what was going on, was just postmap was being run, but not knowing what i wanted to run it against | ||
| [2009/12/04 15:36:55] <gpled> ill pastbin it. hold on | ||
| [2009/12/04 15:38:33] <gpled> http://linux-coders.pastebin.com/d110fdd6c | ||
| [2009/12/04 15:40:07] @ jcape joined channel #puppet | ||
| [2009/12/04 15:40:15] @ Quit: jcape: Remote closed the connection | ||
| [2009/12/04 15:40:38] @ jcape joined channel #puppet | ||
| [2009/12/04 15:41:20] @ bruce joined channel #puppet | ||
| [2009/12/04 15:45:48] @ markl_ joined channel #puppet | ||
| [2009/12/04 15:46:38] @ anarcat joined channel #puppet | ||
| [2009/12/04 15:46:46] <anarcat> i'm having my good ol ssl fun again | ||
| [2009/12/04 15:47:17] <anarcat> it feels like i'm just discovering puppet all over again, lots of fun: err: Could not retrieve catalog: Certificates were not trusted: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed | ||
| [2009/12/04 15:47:32] <anarcat> the client cert was signed on the server | ||
| [2009/12/04 15:47:36] @ Quit: bug: | ||
| [2009/12/04 15:48:23] @ Quit: qwebirc34534: Ping timeout: 180 seconds | ||
| [2009/12/04 15:57:50] <anarcat> root@puppet:/var/lib/puppet/ssl# openssl verify -CAfile /var/lib/puppet/ssl/certs/ca.pem /var/lib/puppet/ssl/ca/signed/desktop002.office.koumbit.net.pem | ||
| [2009/12/04 15:57:54] <anarcat> /var/lib/puppet/ssl/ca/signed/desktop002.office.koumbit.net.pem: /CN=desktop002.office.koumbit.net | ||
| [2009/12/04 15:57:57] <anarcat> error 20 at 0 depth lookup:unable to get local issuer certificate | ||
| [2009/12/04 15:58:41] @ nakano is now known as nakano_ | ||
| [2009/12/04 15:59:27] <anarcat> so yeah, apparently i'm going insane | ||
| [2009/12/04 15:59:32] <anarcat> lots of fun | ||
| [2009/12/04 16:00:12] <multiverse> Hi all. When I execute puppetmasterd - -mkusers, it doesn't seem to exit. I can see it sitting around in ps ax forever. | ||
| [2009/12/04 16:00:17] <multiverse> How do I know when it is done? | ||
| [2009/12/04 16:14:39] <kjetilho> bda: (from #zfs :) only if you specify a source directory | ||
| [2009/12/04 16:14:55] @ Wh00p joined channel #puppet | ||
| [2009/12/04 16:14:57] <anarcat> ok, i found my issue | ||
| [2009/12/04 16:15:08] @ Quit: zerash: Read error: 110 (Connection timed out) | ||
| [2009/12/04 16:15:10] @ Quit: toi: "Ex-Chat" | ||
| [2009/12/04 16:15:21] <anarcat> hacim: apparently, we need to add certname=$fqdn (replace $fqdn with `hostname -f`) in the [puppetmasterd] of puppet.conf in debian | ||
| [2009/12/04 16:16:21] <anarcat> lots of fun | ||
| [2009/12/04 16:16:21] @ Quit: Whoop: Read error: 104 (Connection reset by peer) | ||
| [2009/12/04 16:16:21] @ lak joined channel #puppet | ||
| [2009/12/04 16:17:33] <bda> kjetilho: oof! | ||
| [2009/12/04 16:17:46] <bda> kjetilho: Nice catch. I'm all over today. ;) | ||
| [2009/12/04 16:20:20] @ cwebber joined channel #puppet | ||
| [2009/12/04 16:21:20] <jrojas> whats the openssl command to browse the "aliases" in the ca cert for the puppetmaster? | ||
| [2009/12/04 16:22:32] <jrojas> n/m | ||
| [2009/12/04 16:38:56] <multiverse> Trying a different tack here. How can I tell which clients are blessed by the puppetmaster? Does the server's client get automatically blessed? | ||
| [2009/12/04 16:39:25] <eventi> you mean signed? | ||
| [2009/12/04 16:39:30] <eventi> puppetca --list --all | ||
| [2009/12/04 16:39:43] @ plathrop is now known as plathrop-away | ||
| [2009/12/04 16:44:56] @ paxos joined channel #puppet | ||
| [2009/12/04 16:53:15] @ Quit: Ned_: Remote closed the connection | ||
| [2009/12/04 16:55:24] <Cope> Volcane: i got the train! :) | ||
| [2009/12/04 16:55:36] @ Quit: multiverse: Ping timeout: 180 seconds | ||
| [2009/12/04 16:56:16] <Cope> barn: and hello to you too... | ||
| [2009/12/04 16:57:32] <barn> Cope: hi! (: | ||
| [2009/12/04 17:03:02] @ Quit: kris__: "Page closed" | ||
| [2009/12/04 17:04:14] @ plathrop-away is now known as plathrop | ||
| [2009/12/04 17:04:35] @ Quit: nono_: "Page closed" | ||
| [2009/12/04 17:14:53] @ stevenjenkins joined channel #puppet | ||
| [2009/12/04 17:16:29] @ Miko joined channel #puppet | ||
| [2009/12/04 17:17:56] @ Quit: alexine_dsouza: Read error: 104 (Connection reset by peer) | ||
| [2009/12/04 17:18:27] <Volcane> barn :) | ||
| [2009/12/04 17:19:40] @ eventi left channel #puppet () | ||
| [2009/12/04 17:21:45] @ Wh00p is now known as Whoop | ||
| [2009/12/04 17:24:20] @ Quit: jfreeman: Read error: 110 (Connection timed out) | ||
| [2009/12/04 17:30:02] @ Quit: yarihm: "This computer has gone to sleep" | ||
| [2009/12/04 17:30:20] <barn> Volcane: hurrah for free drinks too! (: | ||
| [2009/12/04 17:32:06] * Volcane doesnt drink sadly :P | ||
| [2009/12/04 17:32:35] <jrojas> More for everyone else :P | ||
| [2009/12/04 17:32:42] <Volcane> hehe | ||
| [2009/12/04 17:32:48] <Volcane> the entire london social scene is wasted on me | ||
| [2009/12/04 17:32:57] <Volcane> its all centered around either getting drunk or getting drugged up | ||
| [2009/12/04 17:33:24] <jrojas> Volcane: well, is there really anyhting else to do ? :P | ||
| [2009/12/04 17:33:44] <Volcane> heh | ||
| [2009/12/04 17:34:53] <barn> Volcane: not true | ||
| [2009/12/04 17:34:58] <barn> it's also about tea! | ||
| [2009/12/04 17:35:03] <Volcane> lol | ||
| [2009/12/04 17:35:27] * Volcane 's general social group are all drinkers, smokrs and druggies | ||
| [2009/12/04 17:36:42] <eric0> not also sproutcore devs, by any chance? ;) | ||
| [2009/12/04 17:37:10] <BarnacleBob> i just went to lunch: http://wrenchies.net/~karl/2009-12-04%2014.03.11.jpg | ||
| [2009/12/04 17:39:29] <Miko> How does Puppet install software? Does it use the system's package manager to do it? | ||
| [2009/12/04 17:39:40] <barn> not to help propogate the idea we're all drunks, but heck, I'm sobering up now... | ||
| [2009/12/04 17:40:00] <barn> Miko: yes, it does | ||
| [2009/12/04 17:40:24] <barn> Miko: http://reductivelabs.com/trac/puppet/wiki/TypeReference#id75 | ||
| [2009/12/04 17:43:32] <Miko> barn: What about custom configurations? For instance, I install PHP from source after I run ./configure on it | ||
| [2009/12/04 17:44:06] <Miko> barn: I also run a patch script on it before the installation | ||
| [2009/12/04 17:45:18] <Volcane> Miko: you're best off to make rpms out of those | ||
| [2009/12/04 17:45:53] <barn> you could, but you don't really want to | ||
| [2009/12/04 17:46:07] <barn> package it, and save yourself longterm pain | ||
| [2009/12/04 17:46:37] @ Quit: erm_: Read error: 110 (Connection timed out) | ||
| [2009/12/04 17:47:02] <Miko> barn: package it == convert to an RPM as Volcane suggested? | ||
| [2009/12/04 17:47:36] <barn> Miko: if RPM is your packaging of choice, yes. | ||
| [2009/12/04 17:47:52] <barn> it's a better solution if you have to install it more than once | ||
| [2009/12/04 17:47:56] <Volcane> Miko: thing is puppet runs every n minutes, with packages its can definitively answer if its succesfully installed or not | ||
| [2009/12/04 17:48:05] <Volcane> Miko: with the ./configure approach its a very hard thing to do safely | ||
| [2009/12/04 17:48:17] <barn> (but basically do what Volcane ever suggests is generally the right thing to do..) (: | ||
| [2009/12/04 17:48:54] <gpled> can someone point me to an example of a module that installed from source? | ||
| [2009/12/04 17:49:50] <miah> gpled: http://reductivelabs.com/trac/puppet/wiki/Recipes/OpenNTPD | ||
| [2009/12/04 17:49:50] <miah> =) | ||
| [2009/12/04 17:49:53] <Miko> Thanks Volcane and barn | ||
| [2009/12/04 17:50:42] <gpled> miah: thanks | ||
| [2009/12/04 17:51:01] @ jcape left channel #puppet () | ||
| [2009/12/04 17:51:10] <Miko> I run mysql_secure_installation after installing MySQL, however, it doesn't accept command line parameters. Can it still be used with Puppet? | ||
| [2009/12/04 17:53:18] <Volcane> yes, as long as it returns 0 or 1 for success or fail | ||
| [2009/12/04 17:55:13] <Miko> Sorry, let me rephrase. Can Puppet be used for programs where there are options to select but those options cannot be passed by command line? | ||
| [2009/12/04 17:55:38] <|Mike|> preseed ? | ||
| [2009/12/04 17:55:45] @ Quit: ascarter: "Ex-Chat" | ||
| [2009/12/04 17:55:57] @ yarihm joined channel #puppet | ||
| [2009/12/04 17:55:59] @ ascarter joined channel #puppet | ||
| [2009/12/04 17:56:21] @ Quit: yarihm: Remote closed the connection | ||
| [2009/12/04 17:56:50] <Volcane> Miko: so interactive applications? | ||
| [2009/12/04 17:56:57] <Volcane> Miko: thats asks user questions? | ||
| [2009/12/04 17:57:07] <Miko> Right | ||
| [2009/12/04 17:57:14] <miah> Miko: sure, you'd have to wrap your exec with like "echo <<EOF" typefu | ||
| [2009/12/04 17:57:21] <Volcane> no doubt some nasty hack can be mde, but it would be just that | ||
| [2009/12/04 17:57:27] <Volcane> nasty horrible and best avoided | ||
| [2009/12/04 17:58:12] <Miko> Is there a clean way of doing it? | ||
| [2009/12/04 17:58:26] <miah> i just told you | ||
| [2009/12/04 17:58:44] <Miko> Sorry miah I'm not sure I understand how that works | ||
| [2009/12/04 17:58:55] <miah> bash redirection <<EOF | ||
| [2009/12/04 17:59:14] <miah> basically everything you put after that line will be echoed until you print EOF | ||
| [2009/12/04 17:59:39] <miah> so you could do that and run your app, it will pass in whatever you need | ||
| [2009/12/04 17:59:43] <Miko> Ok, let me try it | ||
| [2009/12/04 17:59:45] <Volcane> Miko: i dont think there's a real good way to do it, esp if the questions asked can vary from run to run or from box to box really, it would be hard to automate that with anything let alone something that runs many many times in the background unattended | ||
| [2009/12/04 18:00:25] <Volcane> Miko: you could write up an expect based wrapper for your script and exec that. | ||
| [2009/12/04 18:00:25] <Miko> Volcane: I would only need to run this once when the server is initialized, and fortunately all of my servers are based on CentOS | ||
| [2009/12/04 18:00:43] <Volcane> Miko: nods | ||
| [2009/12/04 18:01:17] <Miko> Volcane: what is an expect based wrapper? | ||
| [2009/12/04 18:01:51] <Volcane> Miko: expect is like expect a line like /fo bar/ then send 'answer', look for line like /some other line/ then send 'another answer' etc | ||
| [2009/12/04 18:02:00] <Volcane> Miko: u can drive stuff like telnet with it | ||
| [2009/12/04 18:02:06] <miah> expect is much harder | ||
| [2009/12/04 18:02:29] <Volcane> miah: yup, lots of things doesnt work with the << tick though, but def worth a try as a first stab at it | ||
| [2009/12/04 18:03:13] <miah> im sure thats true, but i think it works in most cases | ||
| [2009/12/04 18:04:27] <Miko> I think it'll be easiest to replicate the functionality of the interactive programs with my own scripts. | ||
| [2009/12/04 18:05:07] @ joe-mac left channel #puppet () | ||
| [2009/12/04 18:06:47] <Miko> I only run system-config-securitylevel and mysql_secure_installation, I suppose both goals can be accomplished manually. | ||
| [2009/12/04 18:08:28] <miah> what does system-config-securitylevel even do? | ||
| [2009/12/04 18:08:52] <miah> i dont usually use those tools to do anything =) | ||
| [2009/12/04 18:09:14] <Volcane> it configures the redhat iptables stuff | ||
| [2009/12/04 18:09:20] <miah> oh | ||
| [2009/12/04 18:09:22] <Volcane> open ports or whatever | ||
| [2009/12/04 18:09:24] <Volcane> writes into /etc/sysconfig/system-config-securitylevel | ||
| [2009/12/04 18:09:33] <miah> why not just use a module to control your iptables settings? | ||
| [2009/12/04 18:09:34] <Volcane> with puppet you'd just copy that file out from the master | ||
| [2009/12/04 18:09:38] <Volcane> and notify the service when the file changes | ||
| [2009/12/04 18:09:50] <Miko> Ah, nice | ||
| [2009/12/04 18:10:43] <miah> assuming that file is the same on all servers | ||
| [2009/12/04 18:11:13] @ erm_ joined channel #puppet | ||
| [2009/12/04 18:11:17] @ gpled left channel #puppet ("Ex-Chat") | ||
| [2009/12/04 18:12:33] <Miko> miah: it would be, but I can add variables to it just in case | ||
| [2009/12/04 18:17:24] @ Quit: jason^: Read error: 113 (No route to host) | ||
| [2009/12/04 18:21:06] @ plathrop is now known as plathrop-away | ||
| [2009/12/04 18:21:16] @ plathrop-away is now known as plathrop | ||
| [2009/12/04 18:23:41] @ nakano_ is now known as nakano | ||
| [2009/12/04 18:25:25] @ Quit: jaredrhine: Read error: 110 (Connection timed out) | ||
| [2009/12/04 18:33:52] @ bug joined channel #puppet | ||
| [2009/12/04 18:34:36] @ Quit: kaptk2: "Leaving." | ||
| [2009/12/04 18:35:15] @ jaredrhine joined channel #puppet | ||
| [2009/12/04 18:41:01] * Cope is home. | ||
| [2009/12/04 18:49:25] @ Quit: Chiku: "Quitte" | ||
| [2009/12/04 18:49:52] @ Quit: rmiller4pi8: Read error: 110 (Connection timed out) | ||
| [2009/12/04 18:52:43] <Volcane> Cope: make your train? | ||
| [2009/12/04 18:54:20] @ Quit: bobbyz_: Read error: 110 (Connection timed out) | ||
| [2009/12/04 18:57:33] @ Quit: reyjrar: "Leaving" | ||
| [2009/12/04 18:59:02] <Miko> When I try to install from source, I get the error: which: no rst2man.py in (/usr/kerberos/sbin:/.... etc) Could not load facter; cannot install | ||
| [2009/12/04 18:59:51] <Volcane> why arent you installing with the rpms? | ||
| [2009/12/04 19:00:33] @ zerash joined channel #puppet | ||
| [2009/12/04 19:01:40] <Miko> They're out of date | ||
| [2009/12/04 19:01:54] <Darkflib> 0.24.8 isn't that bad... | ||
| [2009/12/04 19:02:01] <explody> considering that in 'package', 'ensure' can be either a state (like 'installed') or a version, is it possible to tell it to make sure a specific version is *absent*? We need to remove a default package before we can install custom one of an identical name, but one that doesn't upgrade cleanly if the original is still there | ||
| [2009/12/04 19:03:03] <Volcane> Miko: the 0.25.1 tarbal has a spec file for building the rpms, but u can get them from http://tmz.fedorapeople.org/repo/puppet/epel/5/x86_64/ too that 'll make it into epel eventually they're in the queue | ||
| [2009/12/04 19:03:39] @ Quit: jaredrhine: Read error: 110 (Connection timed out) | ||
| [2009/12/04 19:03:58] <Miko> Oh, nice. Thank you. | ||
| [2009/12/04 19:04:35] @ Quit: bruce: "The computer fell asleep" | ||
| [2009/12/04 19:04:46] @ bruce joined channel #puppet | ||
| [2009/12/04 19:04:59] <Cope> Volcane: isn't there a problem with the rpms / spec - there's a patch for it that needs to be added | ||
| [2009/12/04 19:05:16] <Cope> somrthing about removing /usr/sbin/puppetmaster ? | ||
| [2009/12/04 19:05:21] <Volcane> yeah afaik the ones on that url is updated | ||
| [2009/12/04 19:06:55] <Cope> Volcane: do i need a shed load of crap from jpackage for tankuiwrapper? | ||
| [2009/12/04 19:07:19] <Volcane> Cope: hehe no just openjdk from base and tanukiwrapper | ||
| [2009/12/04 19:07:38] <Cope> just the rpm from jpacakge repo? ok, cool | ||
| [2009/12/04 19:07:51] <Volcane> Cope: nephilim.ml.org/~rip/activemq-5.3.0-0.noarch.rpm | ||
| [2009/12/04 19:07:55] @ Quit: erm_: Read error: 110 (Connection timed out) | ||
| [2009/12/04 19:13:39] <Cope> Volcane: http://jpackage.netmindz.net/5.0-beta/generic/SRPMS.devel/tanukiwrapper-3.2.1-2jpp.ep1.1.src.rpm ? | ||
| [2009/12/04 19:14:10] <Volcane> what do u need? i386 or x86_64? | ||
| [2009/12/04 19:14:41] <Cope> x86_64 | ||
| [2009/12/04 19:14:55] <Volcane> http://nephilim.ml.org/~rip/tanukiwrapper-3.2.3-1jpp.x86_64.rpm | ||
| [2009/12/04 19:16:11] <Cope> thanks :) | ||
| [2009/12/04 19:18:56] <Volcane> http://www.marionette-collective.org/activemq/ | ||
| [2009/12/04 19:19:00] <Volcane> all the bits there | ||
| [2009/12/04 19:21:29] * Cope nods; will have a play in the morning; i should get some sleep. | ||
| [2009/12/04 19:21:35] <Volcane> ditto :) | ||
| [2009/12/04 19:22:02] @ jaredrhine joined channel #puppet | ||
| [2009/12/04 19:22:06] @ Lytol joined channel #puppet | ||
| [2009/12/04 19:23:57] @ Quit: bruce: Read error: 110 (Connection timed out) | ||
| [2009/12/04 19:24:13] @ verwilst joined channel #puppet | ||
| [2009/12/04 19:29:25] @ bevans5446 joined channel #puppet | ||
| [2009/12/04 19:33:55] @ Quit: cwebber: | ||
| [2009/12/04 19:41:23] <explody> hm should puppet be able to handle an RPM upgrade that has dependencies (e.g. openssh+openssh-clients+openssh-server). When mine tried to upgrade openssh, it failed with RPM griping about how -server and -clients depended on the current version | ||
| [2009/12/04 19:41:46] <explody> manually, I'd just pass all three to RPM at once and let it sort it out | ||
| [2009/12/04 19:42:09] @ Quit: gaveen: "Leaving" | ||
| [2009/12/04 19:43:05] <explody> but if I try to upgrade any of the three packages individually (without --force anyway), RPM is going to throw an error | ||
| [2009/12/04 19:43:59] <explody> or is this the point where should just move to apt-rpm or something and let the packaging system handle it | ||
| [2009/12/04 19:47:14] <lak> explody: in general, i always recommend a metapkg system like yum or apt | ||
| [2009/12/04 19:47:19] <lak> plain packages are way too complicated | ||
| [2009/12/04 19:47:35] <lak> and adding that complication to puppet, when it already exists elsewhere, just seems overkill | ||
| [2009/12/04 19:47:56] <explody> yeah I agree | ||
| [2009/12/04 19:48:07] @ Quit: Lytol: | ||
| [2009/12/04 19:48:29] <explody> would be fixable though if I could just throw a --force on the rpm command, or call rpm once with all 3 packages as arguments | ||
| [2009/12/04 19:51:05] <explody> I guess I could just script it until we get a repo set up | ||
| [2009/12/04 19:51:10] @ bruce joined channel #puppet | ||
| [2009/12/04 19:52:19] <eric0> use mrepo from dag's and you'll be off to the races in an hour or two. time well spent | ||
| [2009/12/04 19:52:31] * eric0 misses my yum repos, a lot | ||
| [2009/12/04 19:53:24] <explody> I'll check it out. our openssh build (among other things) is custom, and I hadn't found any public RPMs that would cut it | ||
| [2009/12/04 19:55:18] <explody> oh ok I see what you meant | ||
| [2009/12/04 19:55:34] @ Quit: lak: | ||
| [2009/12/04 19:56:38] @ pheezy joined channel #puppet | ||
| [2009/12/04 19:57:14] @ Quit: verwilst: "Ex-Chat" | ||
| [2009/12/04 19:58:59] @ Quit: bruce: "The computer fell asleep" | ||
| [2009/12/04 19:59:10] @ bruce joined channel #puppet | ||
| [2009/12/04 20:01:24] @ Quit: ascarter: "Ex-Chat" | ||
| [2009/12/04 20:02:19] <lilmatt> I have a cronjob that isn't getting removed once I changed it to "ensure => absent" | ||
| [2009/12/04 20:03:39] <lilmatt> oh | ||
| [2009/12/04 20:03:47] <lilmatt> you need to leave all the other properties of it in. | ||
| [2009/12/04 20:08:30] @ rwp joined channel #puppet | ||
| [2009/12/04 20:20:13] @ Quit: paxos: | ||
| [2009/12/04 20:30:36] <neek> lilmatt: how else would it identify it? :) | ||
| [2009/12/04 20:30:50] <lilmatt> the name? | ||
| [2009/12/04 20:30:54] <lilmatt> $title | ||
| [2009/12/04 20:35:50] @ Quit: Miko: "Page closed" | ||
| [2009/12/04 20:41:02] @ yan_ joined channel #puppet | ||
| [2009/12/04 20:43:09] <Darkflib> since puppet adds a comment to the crontab along with the line, that isn't that stupid a concept imho... | ||
| [2009/12/04 20:46:18] <Darkflib> although you do have to be careful about non-managed crontab entries... (not set by puppet) | ||
| [2009/12/04 20:46:46] <BarnacleBob> heh. who would have those?! =) | ||
| [2009/12/04 20:49:08] <Darkflib> some people who don't read documentation? people who moved to puppet on an already production system? | ||
| [2009/12/04 20:53:34] <Darkflib> or was it a rhetorical question? | ||
| [2009/12/04 21:01:49] @ erm_ joined channel #puppet | ||
| [2009/12/04 21:05:19] @ Quit: BarnacleBob: "This computer has gone to sleep" | ||
| [2009/12/04 21:08:02] @ lilmatt_ joined channel #puppet | ||
| [2009/12/04 21:09:57] @ jcape joined channel #puppet | ||
| [2009/12/04 21:10:11] @ jcape left channel #puppet () | ||
| [2009/12/04 21:16:47] @ pting joined channel #puppet | ||
| [2009/12/04 21:25:03] @ Quit: lilmatt: Read error: 110 (Connection timed out) | ||
| [2009/12/04 21:27:15] @ Quit: pheezy: Remote closed the connection | ||
| [2009/12/04 21:27:41] @ pheezy joined channel #puppet | ||
| [2009/12/04 21:33:30] <plathrop> anyone using generate()? | ||
| [2009/12/04 21:43:20] @ Quit: anarcat: "ciao computers" | ||
| [2009/12/04 22:00:04] @ edavis10 joined channel #puppet | ||
| [2009/12/04 22:01:19] @ Quit: lilmatt_: Client Quit | ||
| [2009/12/04 22:01:39] @ lilmatt joined channel #puppet | ||
| [2009/12/04 22:11:02] @ plathrop is now known as plathrop-away | ||
| [2009/12/04 22:13:53] @ Quit: robbyt: | ||
| [2009/12/04 22:16:24] @ Quit: mikerowehl: | ||
| [2009/12/04 22:25:05] @ Quit: pting: "Ex-Chat" | ||
| [2009/12/04 22:28:19] @ Quit: labrown: "Leaving" | ||
| [2009/12/04 22:57:34] @ Quit: bug: | ||
| [2009/12/04 22:58:26] @ Quit: pheezy: Remote closed the connection | ||
| [2009/12/04 22:58:51] @ jmarki joined channel #puppet | ||
| [2009/12/04 23:01:54] @ Quit: RageLink: Read error: 113 (No route to host) | ||
| [2009/12/04 23:07:37] @ pheezy joined channel #puppet | ||
| [2009/12/04 23:09:44] @ bug joined channel #puppet | ||
| [2009/12/04 23:14:27] @ Quit: bug: Client Quit | ||
| [2009/12/04 23:54:29] @ Miko joined channel #puppet | ||
| [2009/12/04 23:55:14] <Miko> Volcane: are you there? |
Generated by irclog2html.py 2.6 by Marius Gedminas - find it at mg.pov.lt!