| [2010/01/06 00:00:36] @ Log started by gepetto | ||
| [2010/01/06 00:00:36] @ maxp joined channel #puppet | ||
| [2010/01/06 00:07:46] @ Quit: mqr: | ||
| [2010/01/06 00:15:39] @ zahna joined channel #puppet | ||
| [2010/01/06 00:15:57] @ Quit: cwebber: | ||
| [2010/01/06 00:16:15] <zahna> whoa, when was 0.25.2 released? | ||
| [2010/01/06 00:16:56] <zahna> i thought it was still in rc | ||
| [2010/01/06 00:17:02] <eric0> Subject: [Puppet-dev] ANNOUNCE: Puppet 0.25.2 "Zoe" now available! Date: January 4, 2010 10:48:09 PM PST | ||
| [2010/01/06 00:17:24] <zahna> ah, interesting | ||
| [2010/01/06 00:18:26] <zahna> so, has the default puppet.conf file changed at all from 0.24 to 0.25? | ||
| [2010/01/06 00:19:13] @ bgupta joined channel #puppet | ||
| [2010/01/06 00:19:16] @ cwebber joined channel #puppet | ||
| [2010/01/06 00:20:45] @ Quit: jimmij: "Leaving." | ||
| [2010/01/06 00:20:46] @ Quit: malraid: Remote closed the connection | ||
| [2010/01/06 00:20:54] @ jimmij joined channel #puppet | ||
| [2010/01/06 00:21:44] @ Quit: jaredrhine: Read error: 60 (Operation timed out) | ||
| [2010/01/06 00:22:38] @ Quit: jimmij: Client Quit | ||
| [2010/01/06 00:22:46] @ jimmij joined channel #puppet | ||
| [2010/01/06 00:22:47] @ Quit: jimmij: Remote closed the connection | ||
| [2010/01/06 00:32:34] @ Quit: Bass10: Connection timed out | ||
| [2010/01/06 00:39:48] @ Quit: cwebber: | ||
| [2010/01/06 00:47:22] @ cwebber joined channel #puppet | ||
| [2010/01/06 01:00:03] <jamesturnbull> zahna: nope | ||
| [2010/01/06 01:00:17] @ Quit: lero: "Leaving..." | ||
| [2010/01/06 01:00:29] <jamesturnbull> zahna: with the exception that early 0.24.x releases still supported individual per daemon config files and later 0.24.x and 0.25.x don't | ||
| [2010/01/06 01:02:00] @ Quit: cwebber: | ||
| [2010/01/06 01:04:18] @ happymcp` joined channel #puppet | ||
| [2010/01/06 01:11:06] <flyingparchment> is something like this possible? file { [a, b]: source => "puppet:///whatever/$name"; } ? | ||
| [2010/01/06 01:11:23] <flyingparchment> (where $name should become 'a' or 'b') | ||
| [2010/01/06 01:15:14] @ Djelibeybi joined channel #puppet | ||
| [2010/01/06 01:27:03] <ohadlevy> flyingparchment: yeah, with a define | ||
| [2010/01/06 01:27:15] <flyingparchment> hm, ok. was hoping it would work without that | ||
| [2010/01/06 01:30:39] @ Quit: londo_: Read error: 110 (Connection timed out) | ||
| [2010/01/06 01:34:17] @ nigelk joined channel #puppet | ||
| [2010/01/06 01:34:24] @ Quit: nigelk: Client Quit | ||
| [2010/01/06 01:39:30] @ Quit: pting: "Ex-Chat" | ||
| [2010/01/06 01:46:10] @ Quit: Djelibeybi: "Leaving" | ||
| [2010/01/06 01:54:45] @ bug joined channel #puppet | ||
| [2010/01/06 02:08:57] @ lak joined channel #puppet | ||
| [2010/01/06 02:13:43] @ jbu joined channel #puppet | ||
| [2010/01/06 02:13:46] @ jbu is now known as tjoe | ||
| [2010/01/06 02:14:13] <tjoe> hello, I get a error "uninitialized constant Puppet::Util::RDoc::RDoc" when I run puppetdoc on a server | ||
| [2010/01/06 02:14:29] <tjoe> do someone has an idea of what is missing ? | ||
| [2010/01/06 02:20:08] <jamesturnbull> tjoe: version? | ||
| [2010/01/06 02:20:13] <jamesturnbull> tjoe: OS? | ||
| [2010/01/06 02:20:25] <tjoe> forget it ... I got it... i missed the ruby-rdoc rpm on that server | ||
| [2010/01/06 02:20:31] <tjoe> thanks anyway | ||
| [2010/01/06 02:20:31] <jamesturnbull> tjoe: that'd do it | ||
| [2010/01/06 02:21:03] <jamesturnbull> masterzen: ^^^ should it return a polite error though? | ||
| [2010/01/06 02:28:31] @ Quit: bug: | ||
| [2010/01/06 02:33:59] @ Quit: vzctl__: Read error: 104 (Connection reset by peer) | ||
| [2010/01/06 02:34:57] @ mqr joined channel #puppet | ||
| [2010/01/06 02:35:52] @ bug joined channel #puppet | ||
| [2010/01/06 02:40:01] @ vzctl__ joined channel #puppet | ||
| [2010/01/06 02:40:24] @ Quit: lak: | ||
| [2010/01/06 02:40:54] @ Quit: mqr: Read error: 104 (Connection reset by peer) | ||
| [2010/01/06 02:44:17] @ giskard joined channel #puppet | ||
| [2010/01/06 02:48:57] @ Ramonster joined channel #puppet | ||
| [2010/01/06 02:50:16] @ Quit: giskard: Remote closed the connection | ||
| [2010/01/06 02:51:45] @ zipkid joined channel #puppet | ||
| [2010/01/06 02:57:21] @ hy is now known as _silver | ||
| [2010/01/06 02:57:26] @ Quit: bug: | ||
| [2010/01/06 02:58:49] @ mvn071 joined channel #puppet | ||
| [2010/01/06 02:59:54] <gepetto> ::trac:: Frequently Asked Questions edited @ http://reductivelabs.com/trac/puppet/wiki/FrequentlyAskedQuestions?version=72 | ||
| [2010/01/06 03:00:47] @ _silver is now known as hy | ||
| [2010/01/06 03:05:01] @ bug joined channel #puppet | ||
| [2010/01/06 03:12:43] @ mqr joined channel #puppet | ||
| [2010/01/06 03:27:34] @ Quit: alexine_dsouza: Read error: 54 (Connection reset by peer) | ||
| [2010/01/06 03:30:59] @ Robbie joined channel #puppet | ||
| [2010/01/06 03:31:59] @ Quit: poison: Remote closed the connection | ||
| [2010/01/06 03:37:53] @ tim|macbook joined channel #puppet | ||
| [2010/01/06 03:38:23] <masterzen> jamesturnbull: don't know. Maybe I should add a puppet feature? | ||
| [2010/01/06 03:42:35] @ giskard joined channel #puppet | ||
| [2010/01/06 03:55:12] @ poison joined channel #puppet | ||
| [2010/01/06 03:55:38] @ suchu joined channel #puppet | ||
| [2010/01/06 03:59:22] @ Quit: poison: Remote closed the connection | ||
| [2010/01/06 04:04:37] @ skiold joined channel #puppet | ||
| [2010/01/06 04:12:49] @ Quit: alban2: "Leaving." | ||
| [2010/01/06 04:19:31] @ Quit: skiold: Read error: 104 (Connection reset by peer) | ||
| [2010/01/06 04:20:43] @ skiold joined channel #puppet | ||
| [2010/01/06 04:22:39] <jamesturnbull> masterzen: yeah | ||
| [2010/01/06 04:22:57] @ scyld_ joined channel #puppet | ||
| [2010/01/06 04:23:41] <masterzen> jamesturnbull: I honestly thought RDoc was included in all modern ruby install. But it seems not. | ||
| [2010/01/06 04:23:53] @ Quit: scyld_: Remote closed the connection | ||
| [2010/01/06 04:24:03] @ scyld_ joined channel #puppet | ||
| [2010/01/06 04:24:13] @ Quit: skiold: Read error: 54 (Connection reset by peer) | ||
| [2010/01/06 04:24:19] <masterzen> tjoe: if you're still there, what OS and version are you running? | ||
| [2010/01/06 04:24:29] @ skiold joined channel #puppet | ||
| [2010/01/06 04:24:39] <masterzen> jamesturnbull: BTW, happy new year :-) | ||
| [2010/01/06 04:25:43] @ poison joined channel #puppet | ||
| [2010/01/06 04:25:52] @ alban2 joined channel #puppet | ||
| [2010/01/06 04:27:56] @ londo_ joined channel #puppet | ||
| [2010/01/06 04:29:10] @ scyld__ joined channel #puppet | ||
| [2010/01/06 04:29:11] @ Ned_ left channel #puppet () | ||
| [2010/01/06 04:29:18] @ Quit: scyld__: Read error: 104 (Connection reset by peer) | ||
| [2010/01/06 04:29:59] @ Quit: scyld_: Read error: 60 (Operation timed out) | ||
| [2010/01/06 04:31:05] @ scyld_ joined channel #puppet | ||
| [2010/01/06 04:31:25] @ [newbie] joined channel #puppet | ||
| [2010/01/06 04:31:33] @ Quit: scyld_: Client Quit | ||
| [2010/01/06 04:31:58] @ Quit: Robbie: Nick collision from services. | ||
| [2010/01/06 04:32:20] @ Robbie joined channel #puppet | ||
| [2010/01/06 04:32:47] @ Quit: Robbie: Nick collision from services. | ||
| [2010/01/06 04:33:09] @ Robbie_ joined channel #puppet | ||
| [2010/01/06 04:33:18] @ Quit: jes5: "Leaving." | ||
| [2010/01/06 04:33:42] <jamesturnbull> masterzen: et tu! :) | ||
| [2010/01/06 04:34:12] <masterzen> jamesturnbull: merci! | ||
| [2010/01/06 04:42:01] @ Welsh_Dwarf joined channel #puppet | ||
| [2010/01/06 04:44:25] @ erlingre joined channel #puppet | ||
| [2010/01/06 04:44:28] @ Quit: erlingre: Remote closed the connection | ||
| [2010/01/06 04:45:15] @ Quit: skiold: Read error: 110 (Connection timed out) | ||
| [2010/01/06 04:48:00] @ rmiller4pi81 joined channel #puppet | ||
| [2010/01/06 05:01:32] @ Quit: nmi: "This computer has gone to sleep" | ||
| [2010/01/06 05:06:13] @ Quit: rmiller4pi8: Read error: 110 (Connection timed out) | ||
| [2010/01/06 05:12:15] @ Quit: mvn071: "Leaving" | ||
| [2010/01/06 05:13:51] @ MattyM joined channel #puppet | ||
| [2010/01/06 05:17:10] @ Quit: poison: Remote closed the connection | ||
| [2010/01/06 05:18:19] @ poison joined channel #puppet | ||
| [2010/01/06 05:30:54] @ Quit: M--: "Leaving" | ||
| [2010/01/06 05:36:08] @ Quit: MattyM: Remote closed the connection | ||
| [2010/01/06 05:37:10] @ MattyM joined channel #puppet | ||
| [2010/01/06 05:37:41] @ Quit: kolla: Read error: 113 (No route to host) | ||
| [2010/01/06 05:44:38] @ danielbln joined channel #puppet | ||
| [2010/01/06 06:03:15] @ Quit: poison: Remote closed the connection | ||
| [2010/01/06 06:04:52] @ poison joined channel #puppet | ||
| [2010/01/06 06:08:49] @ kolla joined channel #puppet | ||
| [2010/01/06 06:16:38] @ Quit: giskard: Read error: 54 (Connection reset by peer) | ||
| [2010/01/06 06:16:44] @ mvn071 joined channel #puppet | ||
| [2010/01/06 06:17:42] @ Quit: xerxas: "Leaving." | ||
| [2010/01/06 06:20:57] @ Quit: poison: Remote closed the connection | ||
| [2010/01/06 06:23:55] @ giskard joined channel #puppet | ||
| [2010/01/06 06:24:49] @ happymcp` is now known as happymcplaksin | ||
| [2010/01/06 06:28:27] @ poison joined channel #puppet | ||
| [2010/01/06 06:38:48] @ poison_ joined channel #puppet | ||
| [2010/01/06 06:38:48] @ Quit: poison: Read error: 54 (Connection reset by peer) | ||
| [2010/01/06 06:43:32] @ xerxas joined channel #puppet | ||
| [2010/01/06 06:45:53] @ poison joined channel #puppet | ||
| [2010/01/06 06:45:54] @ Quit: poison_: Read error: 104 (Connection reset by peer) | ||
| [2010/01/06 06:55:14] @ Quit: verwilst: Read error: 104 (Connection reset by peer) | ||
| [2010/01/06 06:55:14] @ Quit: poison: Read error: 104 (Connection reset by peer) | ||
| [2010/01/06 06:58:35] @ Quit: Robbie_: Read error: 104 (Connection reset by peer) | ||
| [2010/01/06 06:59:34] @ verwilst joined channel #puppet | ||
| [2010/01/06 07:00:31] @ vizzord joined channel #puppet | ||
| [2010/01/06 07:02:54] @ Robbie_ joined channel #puppet | ||
| [2010/01/06 07:03:28] @ poison joined channel #puppet | ||
| [2010/01/06 07:06:15] @ jimmij joined channel #puppet | ||
| [2010/01/06 07:09:07] @ ffrank joined channel #puppet | ||
| [2010/01/06 07:16:52] @ Quit: jimmij: "Leaving." | ||
| [2010/01/06 07:36:31] @ erlingre joined channel #puppet | ||
| [2010/01/06 07:41:11] <ffrank> hi. is there any motion towards a sudoers type that i've been missing? because such a type would be helpful :) | ||
| [2010/01/06 07:41:54] <tim|macbook> ffrank: you might want to consider spending some time on an augeas lens for that :) | ||
| [2010/01/06 07:44:11] <ffrank> i see - thanks for the pointer. i'd been considering populating and concatenating a sudoers.d/ | ||
| [2010/01/06 07:44:41] <ffrank> i think i'll have to play both ways to determine which is less of a hassle... | ||
| [2010/01/06 07:44:50] @ Quit: poison: Remote closed the connection | ||
| [2010/01/06 07:46:23] <nasrat> masterzen: on RHEL/fedora it's split out as a seperate package IIRC | ||
| [2010/01/06 07:49:52] <jamesturnbull> ffrank: someome was working on such a type - perhaps try google? if not, feel free to hack away - tests always good too if you get that far | ||
| [2010/01/06 07:50:45] <ffrank> jamesturnbull: i trawled the mailing list archive and issue tracker, though something may indeed have slipped me. hence my asking | ||
| [2010/01/06 07:51:10] @ poison joined channel #puppet | ||
| [2010/01/06 07:56:53] @ Quit: bug: Read error: 54 (Connection reset by peer) | ||
| [2010/01/06 07:56:57] @ bug_ joined channel #puppet | ||
| [2010/01/06 07:57:09] @ bug_ is now known as bug | ||
| [2010/01/06 08:03:43] @ erm__ joined channel #puppet | ||
| [2010/01/06 08:04:49] @ Quit: erm_: Read error: 110 (Connection timed out) | ||
| [2010/01/06 08:06:13] @ Quit: scylla: "Connection timed out" | ||
| [2010/01/06 08:09:18] <masterzen> nasrat: thanks for the information. I'll do a patch to check for the feature. | ||
| [2010/01/06 08:16:04] @ jcape1 joined channel #puppet | ||
| [2010/01/06 08:20:45] @ Quit: bjaspan: | ||
| [2010/01/06 08:20:51] @ happymcplaksin left channel #puppet ("ERC Version 5.3 (IRC client for Emacs)") | ||
| [2010/01/06 08:21:12] @ Quit: Ramonster: Read error: 113 (No route to host) | ||
| [2010/01/06 08:21:26] @ Ramonster joined channel #puppet | ||
| [2010/01/06 08:24:04] @ omry|work joined channel #puppet | ||
| [2010/01/06 08:25:23] @ jimmij joined channel #puppet | ||
| [2010/01/06 08:29:42] @ coofamani joined channel #puppet | ||
| [2010/01/06 08:29:51] <coofamani> hello | ||
| [2010/01/06 08:29:58] <agaffney> hello | ||
| [2010/01/06 08:30:29] <coofamani> Anyone know if there is a document that describes best practices for staging puppet manifest changes? I know there is some method for tagging things as dev/stg/prod, or some such | ||
| [2010/01/06 08:32:34] <Volcane> wiki:UsingEnvironments i think | ||
| [2010/01/06 08:32:40] <coofamani> thanks | ||
| [2010/01/06 08:32:47] <Volcane> ah, wiki:UsingMultipleEnvironments | ||
| [2010/01/06 08:32:47] <gepetto> Volcane: ah: wiki:UsingMultipleEnvironments is http://reductivelabs.com/trac/puppet/wiki/UsingMultipleEnvironments | ||
| [2010/01/06 08:33:44] @ docelic joined channel #puppet | ||
| [2010/01/06 08:45:04] @ cynicismic joined channel #puppet | ||
| [2010/01/06 08:47:40] @ Quit: erlingre: Remote closed the connection | ||
| [2010/01/06 08:52:06] @ khnz joined channel #puppet | ||
| [2010/01/06 08:53:40] @ joe-mac joined channel #puppet | ||
| [2010/01/06 08:54:39] @ Quit: khnz: Remote closed the connection | ||
| [2010/01/06 08:55:15] @ Quit: jimmij: Remote closed the connection | ||
| [2010/01/06 08:55:46] @ bjaspan joined channel #puppet | ||
| [2010/01/06 08:56:19] @ jimmij joined channel #puppet | ||
| [2010/01/06 09:00:58] @ whaley joined channel #puppet | ||
| [2010/01/06 09:02:55] @ bitfield1 joined channel #puppet | ||
| [2010/01/06 09:04:36] @ Bass10 joined channel #puppet | ||
| [2010/01/06 09:06:39] @ jcape joined channel #puppet | ||
| [2010/01/06 09:09:11] @ Quit: bjaspan: | ||
| [2010/01/06 09:09:41] @ jcape2 joined channel #puppet | ||
| [2010/01/06 09:10:05] @ Quit: bitfield: Read error: 110 (Connection timed out) | ||
| [2010/01/06 09:10:25] @ bjaspan joined channel #puppet | ||
| [2010/01/06 09:10:51] @ jcape3 joined channel #puppet | ||
| [2010/01/06 09:11:34] @ Quit: jcape1: Read error: 110 (Connection timed out) | ||
| [2010/01/06 09:11:34] @ themurph joined channel #puppet | ||
| [2010/01/06 09:12:55] @ erm_ joined channel #puppet | ||
| [2010/01/06 09:17:17] @ Quit: erm__: Read error: 110 (Connection timed out) | ||
| [2010/01/06 09:20:34] @ Quit: tim|macbook: | ||
| [2010/01/06 09:20:35] @ Quit: jcape: Read error: 60 (Operation timed out) | ||
| [2010/01/06 09:21:12] @ cwebber joined channel #puppet | ||
| [2010/01/06 09:24:31] @ windowsrefund joined channel #puppet | ||
| [2010/01/06 09:24:35] <windowsrefund> greets | ||
| [2010/01/06 09:25:08] <joe-mac> morning | ||
| [2010/01/06 09:28:38] * ashp punches dell and openmanage | ||
| [2010/01/06 09:30:08] <joe-mac> i have these HP management dvds, with not one piece of software that runs on anything other than windows | ||
| [2010/01/06 09:30:32] @ Quit: rsquared: "Leaving" | ||
| [2010/01/06 09:30:47] @ rsquared joined channel #puppet | ||
| [2010/01/06 09:38:46] @ Quit: jcape2: Read error: 110 (Connection timed out) | ||
| [2010/01/06 09:40:28] @ greenmoss joined channel #puppet | ||
| [2010/01/06 09:40:42] @ greenmoss left channel #puppet () | ||
| [2010/01/06 09:42:53] @ pedr joined channel #puppet | ||
| [2010/01/06 09:43:09] <pedr> i would need to do this: content => <%= ${users} %> | ||
| [2010/01/06 09:43:14] <pedr> but i cannot make it work | ||
| [2010/01/06 09:43:20] <pedr> content => "<%=" ${users} "%>" | ||
| [2010/01/06 09:43:23] <pedr> does not work either | ||
| [2010/01/06 09:43:58] <ffrank> you want the inline_template() function, i suppose, but i doubt you need it. is users an array? | ||
| [2010/01/06 09:44:13] <pedr> yes | ||
| [2010/01/06 09:44:33] <pedr> i would like the content of the file to look like this <%= myuser %> | ||
| [2010/01/06 09:46:27] <ffrank> is that, the first element of the $users array? | ||
| [2010/01/06 09:47:12] <pedr> yes | ||
| [2010/01/06 09:47:21] <pedr> if you mean myuser | ||
| [2010/01/06 09:47:40] <pedr> array looks like this ['myuser','myuser2,'myuser3'] | ||
| [2010/01/06 09:47:59] <ffrank> yes. so you generate an erb file from an array of variable names? are you sure that's the right thing to do? because it sounds rather complicated | ||
| [2010/01/06 09:48:09] @ Quit: Eghie: Read error: 110 (Connection timed out) | ||
| [2010/01/06 09:48:59] @ Eghie joined channel #puppet | ||
| [2010/01/06 09:49:18] <pedr> no i am creating a erb file named foobar with a variable in it <%= %> and i would like the name to be a user | ||
| [2010/01/06 09:50:31] <pedr> its almost working, i can make it work really ugly by first inserting <%= then creating a whole new block inserting the user name, then make a new block and insert %> | ||
| [2010/01/06 09:50:40] <pedr> so it does work, but its very ugly | ||
| [2010/01/06 09:51:43] <joe-mac> what do you mean very ugly? you need to use a loop | ||
| [2010/01/06 09:51:53] <pedr> yes i am using a loop | ||
| [2010/01/06 09:52:04] <joe-mac> then what's ugly abouti t | ||
| [2010/01/06 09:52:12] @ bobbyz joined channel #puppet | ||
| [2010/01/06 09:52:12] <ffrank> would you paste-bin that "ugly" code so we can make suggestions? since i'm not sure i get what you're doing there | ||
| [2010/01/06 09:52:20] <joe-mac> yea me either | ||
| [2010/01/06 09:52:31] <pedr> ok | ||
| [2010/01/06 09:52:31] <joe-mac> first it doesn't work, then it does but it's ugly, idk | ||
| [2010/01/06 09:53:14] @ Quit: rmiller4pi81: "Leaving." | ||
| [2010/01/06 09:54:08] @ Quit: jcape3: Read error: 110 (Connection timed out) | ||
| [2010/01/06 09:54:21] @ crdant joined channel #puppet | ||
| [2010/01/06 09:54:40] <pedr> http://pastebin.com/m411e3931 | ||
| [2010/01/06 09:54:42] <pedr> i guess something like that | ||
| [2010/01/06 09:54:45] @ Quit: crdant: Client Quit | ||
| [2010/01/06 09:54:59] <pedr> the " " dont work though | ||
| [2010/01/06 09:55:12] <joe-mac> pedr: what are you trying to accomplish cause that's simple not going to work | ||
| [2010/01/06 09:55:16] <joe-mac> simply** | ||
| [2010/01/06 09:55:48] <joe-mac> if you change content => "<% whatever to content => inline_template("<%= whatever | ||
| [2010/01/06 09:56:03] <joe-mac> and terminate the function with the closing paren obviously, that will work most li kely, though i'm not sure it is what you want | ||
| [2010/01/06 09:56:04] <pedr> i am trying to accomplish that, i want a erb file with a variable which has the name of my user | ||
| [2010/01/06 09:56:26] <pedr> i will look at inline_template | ||
| [2010/01/06 09:56:30] @ jcape joined channel #puppet | ||
| [2010/01/06 09:56:32] <pedr> thanks | ||
| [2010/01/06 09:57:01] <joe-mac> pedr: let me get this straight- you want this to generate an ERB template on your node, or you want an erb template on your master to be parsed and delivered as a text file to your node | ||
| [2010/01/06 09:57:59] <pedr> right now i only have one server which i am testing on so which ever one works, i guess its the latter one. | ||
| [2010/01/06 09:58:08] <pedr> yeah the latter one | ||
| [2010/01/06 09:59:44] <joe-mac> ok, you need to either use the template() function, which takes in a file on your master, or the inline_template() function, which wikll work the way i just showed you | ||
| [2010/01/06 09:59:54] <pedr> im trying to autogenerate templates so i dont have to create a template for every user | ||
| [2010/01/06 10:00:19] <pedr> ok i will read up on them thanks | ||
| [2010/01/06 10:00:23] <joe-mac> np | ||
| [2010/01/06 10:01:36] <ffrank> pedr: typically, before invoking a template using template("/path/to/file.erb"), you set a variable to the desired value in your manifest. that way, a single template can spawn different files | ||
| [2010/01/06 10:03:36] <ffrank> in this case, though, content => $name will do what you want | ||
| [2010/01/06 10:04:33] <ffrank> since templatecreator { $users: } declares a templatecreator for each user, and in each instance, $name is set to the respective array element | ||
| [2010/01/06 10:05:12] <ffrank> but then, you declare a file three times, which will throw errors, but that's another story :) | ||
| [2010/01/06 10:06:29] @ hagedorn joined channel #puppet | ||
| [2010/01/06 10:06:32] <Volcane> pedr: miss understood you yesterday when you asked about a string - saw your discussions of last night when i woke up this morning, for "foo,bar,baz" you need to split it to an array | ||
| [2010/01/06 10:06:47] <pedr> Volcane: :) yes i got that working | ||
| [2010/01/06 10:06:52] <pedr> Volcane: no worries :) | ||
| [2010/01/06 10:08:11] <pedr> i basically want to do this: http://pastebin.com/m74893a53 | ||
| [2010/01/06 10:08:28] <pedr> this will create 3 files with the name of the user in each file | ||
| [2010/01/06 10:08:34] <pedr> this works | ||
| [2010/01/06 10:08:50] <joe-mac> how can that possibly work? | ||
| [2010/01/06 10:09:02] <joe-mac> you've got a resource with the same name, you can't use it three times | ||
| [2010/01/06 10:09:06] <pedr> ah sorry | ||
| [2010/01/06 10:09:30] <pedr> http://pastebin.com/m7377f6d0 | ||
| [2010/01/06 10:09:41] <pedr> does that make more sense? | ||
| [2010/01/06 10:09:50] <joe-mac> yes | ||
| [2010/01/06 10:09:52] @ hagedorn left channel #puppet ("Ex-Chat") | ||
| [2010/01/06 10:09:56] <pedr> ok | ||
| [2010/01/06 10:10:11] <pedr> now i want to add <%= and %> to the file as well | ||
| [2010/01/06 10:10:12] <ffrank> not really | ||
| [2010/01/06 10:10:28] <ffrank> $users is still an array, not a string | ||
| [2010/01/06 10:10:37] <ffrank> don't use it inside your define | ||
| [2010/01/06 10:10:44] <joe-mac> well beyodn that, i fail to see what the obsession with erb is... | ||
| [2010/01/06 10:10:57] <ffrank> content => "<%= $name %>" | ||
| [2010/01/06 10:11:22] <joe-mac> so what that will do is make the output file an erb template on your node | ||
| [2010/01/06 10:11:30] <ffrank> and yes, i also don't understand why you're generating erb as opposed to just generating what you *want in your file* :) | ||
| [2010/01/06 10:11:53] @ hy is now known as _silver | ||
| [2010/01/06 10:12:00] <joe-mac> code that generates code! the computers have won! | ||
| [2010/01/06 10:12:48] @ _silver is now known as hy | ||
| [2010/01/06 10:14:43] @ Quit: suchu: "ChatZilla 0.9.86 [Firefox 3.5.6/20091201220228]" | ||
| [2010/01/06 10:16:09] <ffrank> i'm not opposed to code generation. i do believe pedr to be a cargo cultist about it, however (no offense) | ||
| [2010/01/06 10:16:59] <pedr> whats a cargo cultist | ||
| [2010/01/06 10:17:02] <pedr> ;) | ||
| [2010/01/06 10:17:18] <pedr> HAHA | ||
| [2010/01/06 10:17:34] <f3ew> pedr heh | ||
| [2010/01/06 10:17:49] * f3ew is not opposed to code generation. Macros FTW! | ||
| [2010/01/06 10:18:57] @ rmiller4pi8 joined channel #puppet | ||
| [2010/01/06 10:19:10] @ Quit: rmiller4pi8: Client Quit | ||
| [2010/01/06 10:19:54] @ rmiller4pi8 joined channel #puppet | ||
| [2010/01/06 10:21:00] @ Quit: coofamani: "leaving" | ||
| [2010/01/06 10:21:48] @ Quit: vizzord: Remote closed the connection | ||
| [2010/01/06 10:25:08] <jamesturnbull> hmmm now who was working on an apt repo type? | ||
| [2010/01/06 10:25:50] @ Quit: danielbln: "Leaving." | ||
| [2010/01/06 10:25:52] <SyTonnerre> Huh? Does't that already exist for ages? | ||
| [2010/01/06 10:26:37] <jamesturnbull> SyTonnerre: apt package provider - yes - yum repo provder yes - apt repos no | ||
| [2010/01/06 10:26:49] <SyTonnerre> Ahh, that's what you mean | ||
| [2010/01/06 10:27:05] <SyTonnerre> I simply do that by generating a file into /etc/apt/sources.list.d | ||
| [2010/01/06 10:27:10] <SyTonnerre> (And importing a gpg key) | ||
| [2010/01/06 10:29:03] @ sHaggY_caT joined channel #puppet | ||
| [2010/01/06 10:31:09] <jamesturnbull> SyTonnerre: yeah someone was working on a type and provider but for the life I can't remember whom | ||
| [2010/01/06 10:31:17] @ scylla joined channel #puppet | ||
| [2010/01/06 10:34:43] <joe-mac> jamesturnbull: i use a class with defines for that | ||
| [2010/01/06 10:38:16] <jamesturnbull> joe-mac: ditto | ||
| [2010/01/06 10:38:50] <ffrank> there's a recipe for that, iirc | ||
| [2010/01/06 10:38:51] @ hy is now known as _silver | ||
| [2010/01/06 10:39:01] @ jmarki joined channel #puppet | ||
| [2010/01/06 10:42:48] <jamesturnbull> ffrank: yep there is | ||
| [2010/01/06 10:43:22] <jamesturnbull> tarnation will have to search the channel logs :) | ||
| [2010/01/06 10:47:21] <jamesturnbull> ah yes | ||
| [2010/01/06 10:47:28] <jamesturnbull> gepetto: seen Cyis | ||
| [2010/01/06 10:47:29] <gepetto> jamesturnbull: Cyis was last seen 4 days, 1 hour, 17 minutes and 33 seconds ago, quitting IRC ("Ex-Chat") | ||
| [2010/01/06 10:50:36] @ jab_doa joined channel #puppet | ||
| [2010/01/06 10:58:45] @ kaptk2 joined channel #puppet | ||
| [2010/01/06 11:01:58] @ Quit: bug: | ||
| [2010/01/06 11:07:43] @ Quit: jab_doa: "Verlassend" | ||
| [2010/01/06 11:07:57] <ffrank> how does http://pastie.org/768917 induce a dependency cycle? i've found a workaround, but it still strikes me as weird | ||
| [2010/01/06 11:09:06] <ffrank> ah - i think i can see it now | ||
| [2010/01/06 11:09:18] <Volcane> failes auto require their parents | ||
| [2010/01/06 11:09:21] <Volcane> files | ||
| [2010/01/06 11:09:45] <ffrank> i think the reason is, notified things autoriquire their notifiers | ||
| [2010/01/06 11:10:01] <ffrank> which sadly isn't evident from -d output... | ||
| [2010/01/06 11:10:05] <Volcane> yes | ||
| [2010/01/06 11:10:12] <Volcane> why dont you just use one of the existing concat tools? | ||
| [2010/01/06 11:10:19] <Volcane> like http://nephilim.ml.org/~rip/puppet/concatfile/ | ||
| [2010/01/06 11:11:10] <ffrank> hey! my wheel! :P | ||
| [2010/01/06 11:11:52] <ffrank> Volcane: thanks | ||
| [2010/01/06 11:12:33] <Volcane> bt there are a few out there if installing the shell script that does the concatting is a problem | ||
| [2010/01/06 11:12:48] <Volcane> i think though thte shell script is worth it since it does a ton of checks and safety things | ||
| [2010/01/06 11:15:17] @ Quit: [newbie]: "When two people dream the same dream, it ceases to be an illusion" | ||
| [2010/01/06 11:15:34] @ [newbie] joined channel #puppet | ||
| [2010/01/06 11:16:48] @ [newbie] is now known as fluxdude | ||
| [2010/01/06 11:24:42] <ffrank> yes, it's a lot more refined than anything i would come up with in the time i alotted for this.. | ||
| [2010/01/06 11:32:49] @ lak joined channel #puppet | ||
| [2010/01/06 11:35:12] @ jab_doa joined channel #puppet | ||
| [2010/01/06 11:35:46] @ ccaum joined channel #puppet | ||
| [2010/01/06 11:37:49] @ alfism joined channel #puppet | ||
| [2010/01/06 11:46:40] @ _silver is now known as hy | ||
| [2010/01/06 11:48:14] @ _3rdman joined channel #puppet | ||
| [2010/01/06 11:49:38] @ hy is now known as _silver | ||
| [2010/01/06 11:50:32] <joe-mac> in .25+ you can override arbitrary resource parameters right? ie in pre-.25 you could only override inherited classes... | ||
| [2010/01/06 11:52:48] <Volcane> still need to inherit to override | ||
| [2010/01/06 11:54:35] @ Quit: lak: Read error: 104 (Connection reset by peer) | ||
| [2010/01/06 11:55:11] @ _silver is now known as hy | ||
| [2010/01/06 11:55:21] @ Quit: Ramonster: Client Quit | ||
| [2010/01/06 12:02:18] <ffrank> arbitrary overrides would be handy indeed | ||
| [2010/01/06 12:03:26] @ lak joined channel #puppet | ||
| [2010/01/06 12:03:56] @ Quit: Welsh_Dwarf: Read error: 104 (Connection reset by peer) | ||
| [2010/01/06 12:05:58] <joe-mac> i thought someone on hjere, namd proton was showing the syntax for it | ||
| [2010/01/06 12:06:00] <joe-mac> maybe i misunderstood | ||
| [2010/01/06 12:06:48] <Volcane> maybe it was setting defaults | ||
| [2010/01/06 12:06:52] <joe-mac> arbitrary overrides at the top of the scope like in a node definition would be, really nice. if overused it could lead to shitty confusing scenarios but evcery now and then ihave this literally one off thing that i need to stop puppet on the node and let it do something stupid for a couple of days, then re enable puppet | ||
| [2010/01/06 12:07:18] @ Quit: lak: Client Quit | ||
| [2010/01/06 12:08:30] <pedr> is it possible to join strings in a manifest? | ||
| [2010/01/06 12:08:47] @ malraid joined channel #puppet | ||
| [2010/01/06 12:08:58] <Volcane> $new = "${one}${two}" | ||
| [2010/01/06 12:09:45] @ monrad_ is now known as monrad | ||
| [2010/01/06 12:09:52] <malraid> Hi everybody, I have a weird problem, puppet is not able to start apache. It says: err: //ec2_apache_jk/Service[apache2]/ensure: change from stopped to running failed: Could not start Service[apache2]: Execution of '/etc/init.d/apache2 start' returned 1: at ... | ||
| [2010/01/06 12:10:18] <malraid> however, running '/etc/init.d/apache2 start' works ok | ||
| [2010/01/06 12:10:52] <fsweetser> malraid: what return code does the init script give? | ||
| [2010/01/06 12:11:02] <pedr> thanks | ||
| [2010/01/06 12:11:06] <fsweetser> /etc/init.d/apache2 start ; echo $? | ||
| [2010/01/06 12:12:19] <malraid> fseetser: it return 0 | ||
| [2010/01/06 12:13:54] <fsweetser> strange. is there maybe something different in the environment that you're running it from vs puppet? | ||
| [2010/01/06 12:13:55] <joe-mac> never trust a debian init script | ||
| [2010/01/06 12:14:14] @ Quit: _3rdman: | ||
| [2010/01/06 12:14:36] @ Quit: scylla: "Connection timed out" | ||
| [2010/01/06 12:14:47] <malraid> I don't know, where does puppet get it's environment from? | ||
| [2010/01/06 12:15:01] <fsweetser> it's startup scripts | ||
| [2010/01/06 12:16:12] <malraid> well, i could stick some debug statements in the init script and try to track it from there | ||
| [2010/01/06 12:20:25] @ jaredrhine joined channel #puppet | ||
| [2010/01/06 12:20:46] @ Quit: ffrank: "leaving" | ||
| [2010/01/06 12:21:08] @ hy is now known as _silver | ||
| [2010/01/06 12:22:11] @ lak joined channel #puppet | ||
| [2010/01/06 12:23:51] @ Quit: jab_doa: Read error: 54 (Connection reset by peer) | ||
| [2010/01/06 12:23:52] @ jab_doa_ joined channel #puppet | ||
| [2010/01/06 12:26:52] @ _silver is now known as hy | ||
| [2010/01/06 12:27:00] <pedr> thanks for your help today, i got my thing working :) | ||
| [2010/01/06 12:27:06] @ Quit: pedr: | ||
| [2010/01/06 12:31:01] @ hy is now known as _silver | ||
| [2010/01/06 12:33:14] @ Quit: MattyM: "ta ta" | ||
| [2010/01/06 12:37:36] @ lero joined channel #puppet | ||
| [2010/01/06 12:37:41] <lero> hello. | ||
| [2010/01/06 12:38:31] <lero> i updated one puppet client from 0.24.8 to 0.25.2, server stills runs 0.24.x and i'm getting this when i run puppetd: http://dpaste.com/141744/ | ||
| [2010/01/06 12:38:41] @ coofamani joined channel #puppet | ||
| [2010/01/06 12:38:50] <Volcane> server first, then clients | ||
| [2010/01/06 12:39:07] <lero> hmm | ||
| [2010/01/06 12:39:51] <lero> there's no problem with clients 0.24.x retrieving from 0.25.x server? | ||
| [2010/01/06 12:40:37] <Volcane> yeah | ||
| [2010/01/06 12:42:52] @ Quit: lak: | ||
| [2010/01/06 12:44:36] @ Quit: jab_doa_: "Verlassend" | ||
| [2010/01/06 12:47:17] @ tecto joined channel #puppet | ||
| [2010/01/06 12:47:38] @ xeteh joined channel #puppet | ||
| [2010/01/06 12:47:53] <xeteh> Hello, How i create folder? | ||
| [2010/01/06 12:48:08] @ Quit: bitfield1: "Leaving." | ||
| [2010/01/06 12:49:11] @ francois1 left channel #puppet () | ||
| [2010/01/06 12:53:43] @ ezmobius joined channel #puppet | ||
| [2010/01/06 12:56:51] <ashp> hmm, dan bode told me to use a function, who wants to place money on me destroying all my servers somehow with this :D | ||
| [2010/01/06 12:56:59] @ _silver is now known as hy | ||
| [2010/01/06 12:57:43] <eric0> ashp: it's better than the option you just mailed about (exec -> sed -> ??? -> profit) | ||
| [2010/01/06 12:57:53] @ shadoi joined channel #puppet | ||
| [2010/01/06 12:58:35] @ toi joined channel #puppet | ||
| [2010/01/06 13:00:16] @ Quit: xeteh: "Page closed" | ||
| [2010/01/06 13:00:28] @ lilmatt joined channel #puppet | ||
| [2010/01/06 13:00:32] <ashp> eric0: it was a terrible plan, that's why I gave up and posted :) | ||
| [2010/01/06 13:01:34] @ Quit: jcape: Read error: 110 (Connection timed out) | ||
| [2010/01/06 13:03:30] <ashp> I'm not sure the server will know that the ip has changed on the client until storeconfigs is updated. I mean, it's in nodes.pp but I doubt I can read from that in a function | ||
| [2010/01/06 13:05:01] @ jcape joined channel #puppet | ||
| [2010/01/06 13:07:45] @ Quit: bjaspan: | ||
| [2010/01/06 13:08:38] @ Quit: jmarki: Remote closed the connection | ||
| [2010/01/06 13:14:28] @ bjaspan joined channel #puppet | ||
| [2010/01/06 13:14:56] <lero> Volcane: at the server side, i just need to update puppet and start it again, or need to change something? | ||
| [2010/01/06 13:16:13] @ Quit: Robbie_: Read error: 113 (No route to host) | ||
| [2010/01/06 13:17:59] @ Quit: poison: Remote closed the connection | ||
| [2010/01/06 13:22:55] @ jmarki joined channel #puppet | ||
| [2010/01/06 13:23:03] @ Quit: Demosthenes: "leaving" | ||
| [2010/01/06 13:25:09] @ Quit: docelic: "http://www.spinlocksolutions.com/" | ||
| [2010/01/06 13:25:19] @ Quit: xerxas: Read error: 113 (No route to host) | ||
| [2010/01/06 13:30:20] @ docelic joined channel #puppet | ||
| [2010/01/06 13:31:54] @ skiold joined channel #puppet | ||
| [2010/01/06 13:32:05] @ labrown joined channel #puppet | ||
| [2010/01/06 13:41:57] @ xerxas joined channel #puppet | ||
| [2010/01/06 13:44:51] <Volcane> lero: read the release notes | ||
| [2010/01/06 13:46:46] @ Quit: jmarki: Read error: 110 (Connection timed out) | ||
| [2010/01/06 13:49:20] <joe-mac> can someone tell me, if i need to access info from the store config db in an erb template, can i somehow use puppet's existnig connection to the db/ | ||
| [2010/01/06 13:51:52] @ Quit: giskard: Remote closed the connection | ||
| [2010/01/06 13:52:54] @ Quit: erm_: Read error: 110 (Connection timed out) | ||
| [2010/01/06 14:00:28] @ pedr joined channel #puppet | ||
| [2010/01/06 14:00:44] <pedr> is it possible to create a line break in a variable in a manifest? | ||
| [2010/01/06 14:00:48] @ jab_doa joined channel #puppet | ||
| [2010/01/06 14:01:18] <pedr> if i use content => $whatever the file has no break line | ||
| [2010/01/06 14:01:54] <joe-mac> \n works | ||
| [2010/01/06 14:02:15] @ giskard joined channel #puppet | ||
| [2010/01/06 14:02:18] <joe-mac> if you mean newline, though line break is \r isn't it? | ||
| [2010/01/06 14:05:33] <pedr> hmm ill try both thanks :) | ||
| [2010/01/06 14:08:11] @ Quit: ezmobius: Remote closed the connection | ||
| [2010/01/06 14:10:53] @ lak joined channel #puppet | ||
| [2010/01/06 14:13:47] <pedr> failed to parse template wrong number of arguments is what i am getting, i thought it perhaps had something to do with a line break missing but alas | ||
| [2010/01/06 14:18:45] <joe-mac> are you putting it in ''? | ||
| [2010/01/06 14:18:55] <joe-mac> well, if there's a variable you can't... | ||
| [2010/01/06 14:19:03] @ jcape1 joined channel #puppet | ||
| [2010/01/06 14:20:28] @ Quit: jcape: Read error: 110 (Connection timed out) | ||
| [2010/01/06 14:22:31] @ ezmobius joined channel #puppet | ||
| [2010/01/06 14:22:36] <windowsrefund> http://pastebin.org/71816 | ||
| [2010/01/06 14:23:23] <windowsrefund> does anyone know why arg1 isn't being initialized with the value of $myclass1::my_var? | ||
| [2010/01/06 14:23:54] @ Quit: docelic: "http://www.spinlocksolutions.com/" | ||
| [2010/01/06 14:34:33] @ docelic joined channel #puppet | ||
| [2010/01/06 14:35:15] <robinbowes> Anyone know how to install a specific architecture version of a package? | ||
| [2010/01/06 14:35:34] <robinbowes> eg. I want to install glibc.i686 and zlib.i386 on x86_64 machines | ||
| [2010/01/06 14:35:44] <joe-mac> try putting the $ with the variable and not in front of the class name | ||
| [2010/01/06 14:35:59] <joe-mac> using variables out of scope is kind of troublesome | ||
| [2010/01/06 14:36:13] <joe-mac> the only variables i use are looked up via external functions, and defined in the classes that use them | ||
| [2010/01/06 14:36:26] <joe-mac> ran into a lot of problems trying to define all these variables in one class then use it elsewhere | ||
| [2010/01/06 14:36:48] <robinbowes> You could try assigning the variable to a local var before using it. | ||
| [2010/01/06 14:38:41] @ Quit: lak: | ||
| [2010/01/06 14:39:45] @ Quit: giskard: Remote closed the connection | ||
| [2010/01/06 14:39:59] @ teratoma joined channel #puppet | ||
| [2010/01/06 14:40:08] @ Quit: mikerowehl: | ||
| [2010/01/06 14:41:05] @ lak joined channel #puppet | ||
| [2010/01/06 14:41:39] <pedr> what is the best way to compare 2 files properly? i cannot see any difference in the one i generated via puppet, and the one i generated by hand (the puppet generated one does not work 'failed to parse template' | ||
| [2010/01/06 14:41:46] @ Quit: mvn071: Remote closed the connection | ||
| [2010/01/06 14:42:15] @ mvn071 joined channel #puppet | ||
| [2010/01/06 14:42:41] <robinbowes> diff | ||
| [2010/01/06 14:44:35] <robinbowes> No-one got thoughts on the package arch issue? I'm sure I saw it come up here before but didn't need to do it myself at the time! | ||
| [2010/01/06 14:44:39] @ jes5 joined channel #puppet | ||
| [2010/01/06 14:45:20] <agaffney> robinbowes: just specify zlib.i386 as the package name | ||
| [2010/01/06 14:45:28] <robinbowes> Will that work? | ||
| [2010/01/06 14:45:34] <agaffney> assuming yum, you can do 'yum install zlib.i386' | ||
| [2010/01/06 14:45:52] <pedr> i dont see any difference :/ | ||
| [2010/01/06 14:45:57] <robinbowes> Yes, this is yum. I seem to recall that didn't work | ||
| [2010/01/06 14:46:08] <robinbowes> Ah well, I'll give it a shot | ||
| [2010/01/06 14:48:42] @ Quit: docelic: "http://www.spinlocksolutions.com/" | ||
| [2010/01/06 14:51:32] <windowsrefund> robinbowes: I remember being able to use package.${architecture} | ||
| [2010/01/06 14:51:35] @ Quit: skiold: | ||
| [2010/01/06 14:53:09] @ Quit: mvn071: "Leaving" | ||
| [2010/01/06 14:56:32] @ danielbln joined channel #puppet | ||
| [2010/01/06 14:56:51] @ poison_ joined channel #puppet | ||
| [2010/01/06 15:00:45] @ Quit: themurph: | ||
| [2010/01/06 15:00:54] @ themurph joined channel #puppet | ||
| [2010/01/06 15:03:24] <ashp> I really should learn to use revision control properly rather than always just cp'ing the file I'm working on to one of the two other module branches and committing them all together :) | ||
| [2010/01/06 15:03:47] @ giskard joined channel #puppet | ||
| [2010/01/06 15:05:55] <joe-mac> sometimes it's faster than merging branches... | ||
| [2010/01/06 15:06:27] <joe-mac> though you lose the cost-savings, i doubt it's big enough to really matter | ||
| [2010/01/06 15:07:54] @ phantez joined channel #puppet | ||
| [2010/01/06 15:12:24] @ umeditor joined channel #puppet | ||
| [2010/01/06 15:13:06] <jaimeg> Hello Everyone. If i start using manifests inside of modules (/etc/puppet/modules/sudo/manifests/) does my file ending with pp have to be named init.pp? | ||
| [2010/01/06 15:13:31] <fsweetser> jaimeg: depends on the class | ||
| [2010/01/06 15:13:52] <fsweetser> for class "foo", puppetmaster will look in modules/foo/manifests/init.pp | ||
| [2010/01/06 15:13:57] @ Quit: phantez: "Quitte" | ||
| [2010/01/06 15:14:05] <fsweetser> submodules go in other files | ||
| [2010/01/06 15:14:14] <jaimeg> okay | ||
| [2010/01/06 15:14:19] <fsweetser> so foo::bar would be modules/foo/manifests/bar.pp | ||
| [2010/01/06 15:14:47] <jaimeg> makes sense. | ||
| [2010/01/06 15:15:23] <jaimeg> is init.pp the default name? | ||
| [2010/01/06 15:15:31] <jaimeg> if not specified... | ||
| [2010/01/06 15:15:50] @ Quit: alban2: Read error: 60 (Operation timed out) | ||
| [2010/01/06 15:16:24] @ Djelibeybi joined channel #puppet | ||
| [2010/01/06 15:20:11] @ johnw joined channel #puppet | ||
| [2010/01/06 15:21:13] <agagag> hi, is there a reference for variables in puppet? I am looking for a variable which has the environment(i.e testing ). Is it $pupenv? this comes to mind for some reason | ||
| [2010/01/06 15:22:05] <Volcane> surprisingly its $environment | ||
| [2010/01/06 15:22:21] <jb> :) | ||
| [2010/01/06 15:23:01] <agagag> oh :) i could have guessed this one | ||
| [2010/01/06 15:24:29] <fsweetser> jaimeg: you have to use init.pp for classes where the class name is the same as the module name | ||
| [2010/01/06 15:26:23] @ christian joined channel #puppet | ||
| [2010/01/06 15:26:31] @ Quit: lak: | ||
| [2010/01/06 15:26:49] @ christian is now known as Guest20675 | ||
| [2010/01/06 15:27:39] @ shaggy_cat_ joined channel #puppet | ||
| [2010/01/06 15:27:48] @ Quit: sHaggY_caT: Read error: 104 (Connection reset by peer) | ||
| [2010/01/06 15:27:55] @ Quit: chah: Read error: 104 (Connection reset by peer) | ||
| [2010/01/06 15:28:19] <pedr> is it possible to dynamically create variable names? like with ${name} | ||
| [2010/01/06 15:29:23] <pedr> lets say i have a array with 3 items, could i somehow make them into variables? so that i have 3 unique variable names? | ||
| [2010/01/06 15:29:52] <Juzzy> why do you need that? | ||
| [2010/01/06 15:31:15] @ johnw left channel #puppet () | ||
| [2010/01/06 15:32:58] @ alban2 joined channel #puppet | ||
| [2010/01/06 15:33:48] <jaimeg> fsweetser: Thank you. | ||
| [2010/01/06 15:36:02] <pedr> Juzzy: kinda hard to explain | ||
| [2010/01/06 15:36:06] <pedr> Juzzy: just wondering if its possible | ||
| [2010/01/06 15:37:39] <pedr> it has to do with a erb variable, which needs to match the variable in the manifest basically | ||
| [2010/01/06 15:37:50] @ Quit: jcape1: Read error: 60 (Operation timed out) | ||
| [2010/01/06 15:38:18] <pedr> i was not able to add variables inside a define | ||
| [2010/01/06 15:38:58] @ Quit: giskard: Remote closed the connection | ||
| [2010/01/06 15:39:48] @ plathrop-pto is now known as plathrop | ||
| [2010/01/06 15:42:53] <Juzzy> does it not support arrays of arrays? | ||
| [2010/01/06 15:42:54] @ erm_ joined channel #puppet | ||
| [2010/01/06 15:43:13] <Juzzy> aka multi dimintional arrays | ||
| [2010/01/06 15:43:25] <pedr> dunno what that is | ||
| [2010/01/06 15:43:29] <pedr> i will read up on it | ||
| [2010/01/06 15:43:30] <Volcane> doesnt | ||
| [2010/01/06 15:43:38] <Juzzy> sucks | ||
| [2010/01/06 15:43:44] <pedr> :/ | ||
| [2010/01/06 15:43:52] @ giskard joined channel #puppet | ||
| [2010/01/06 15:45:57] <pedr> can i somehow add a prefix to a variable? something like myvar-${name} (i know name would not work outside a define, but this illustrates what i mean) | ||
| [2010/01/06 15:46:33] <pedr> myvar-${name} = data | ||
| [2010/01/06 15:53:08] @ jcape joined channel #puppet | ||
| [2010/01/06 15:58:37] @ [newbie] joined channel #puppet | ||
| [2010/01/06 16:00:56] @ hy is now known as _silver | ||
| [2010/01/06 16:03:47] @ rasputnik joined channel #puppet | ||
| [2010/01/06 16:06:54] @ Quit: rasputnik: Client Quit | ||
| [2010/01/06 16:07:21] @ rasputnik joined channel #puppet | ||
| [2010/01/06 16:08:18] <jb> any foreman users in the house? | ||
| [2010/01/06 16:09:22] @ mvn071 joined channel #puppet | ||
| [2010/01/06 16:12:20] @ jcape1 joined channel #puppet | ||
| [2010/01/06 16:13:09] @ plathrop is now known as plathrop-pto | ||
| [2010/01/06 16:14:12] @ Quit: jcape: Read error: 104 (Connection reset by peer) | ||
| [2010/01/06 16:14:47] @ Quit: rasputnik: "Leaving" | ||
| [2010/01/06 16:15:55] @ Quit: fluxdude: Read error: 113 (No route to host) | ||
| [2010/01/06 16:31:29] @ Quit: lilmatt: Client Quit | ||
| [2010/01/06 16:34:09] <malraid> is there anyway to get the output of a init script as it's being run by puppet ? | ||
| [2010/01/06 16:37:40] @ lak joined channel #puppet | ||
| [2010/01/06 16:39:52] @ Quit: themurph: Read error: 54 (Connection reset by peer) | ||
| [2010/01/06 16:40:20] @ Demosthenes joined channel #puppet | ||
| [2010/01/06 16:42:01] @ Quit: mvn071: "Leaving" | ||
| [2010/01/06 16:42:45] @ Quit: poison_: Remote closed the connection | ||
| [2010/01/06 16:44:20] @ themurph joined channel #puppet | ||
| [2010/01/06 16:44:41] <joe-mac> anybody know off hand if the nagios types support the resources parameter? | ||
| [2010/01/06 16:45:43] @ jcape joined channel #puppet | ||
| [2010/01/06 16:45:51] @ Quit: lero: Remote closed the connection | ||
| [2010/01/06 16:46:38] @ Quit: umeditor: "Page closed" | ||
| [2010/01/06 16:47:24] @ Quit: jcape1: Read error: 110 (Connection timed out) | ||
| [2010/01/06 16:47:48] @ poison joined channel #puppet | ||
| [2010/01/06 16:51:31] @ Quit: labrown: "Leaving" | ||
| [2010/01/06 16:51:54] <tjoe> oh... a dude from belgium ... | ||
| [2010/01/06 16:52:11] @ Quit: flyingparchment: Read error: 60 (Operation timed out) | ||
| [2010/01/06 16:53:59] @ Quit: pedr: "Page closed" | ||
| [2010/01/06 16:54:00] @ Quit: erm_: Read error: 104 (Connection reset by peer) | ||
| [2010/01/06 16:54:59] @ Quit: toi: Read error: 113 (No route to host) | ||
| [2010/01/06 16:55:44] @ nakano is now known as nakano_ | ||
| [2010/01/06 16:59:07] <robinbowes> Anyone know if 0.25.2 RPMS are available yet? | ||
| [2010/01/06 16:59:58] @ Quit: windowsrefund: "leaving" | ||
| [2010/01/06 17:01:30] <Juzzy> hehe one of our file servers are up to /dev/sdw | ||
| [2010/01/06 17:01:37] <Juzzy> what happens after sdz? | ||
| [2010/01/06 17:01:40] @ Quit: kolla: Remote closed the connection | ||
| [2010/01/06 17:02:20] <Djelibeybi> robinbowes: I only see 0.25.2rc3 RPMs | ||
| [2010/01/06 17:02:25] <Djelibeybi> Juzzy: sdaa | ||
| [2010/01/06 17:02:31] <Djelibeybi> Juzzy: sdaa, sdab, sdac | ||
| [2010/01/06 17:02:41] <tjoe> I have a question about the onlyif clause | ||
| [2010/01/06 17:02:57] <tjoe> what if the command I use in the onlyif clause does not exist ? | ||
| [2010/01/06 17:03:23] <tjoe> I get an error, how can I check if the command exist beforehand ? | ||
| [2010/01/06 17:03:45] * robinbowes has just built my own 0.25.2 RPM then | ||
| [2010/01/06 17:04:01] @ herlo left channel #puppet () | ||
| [2010/01/06 17:04:05] <Djelibeybi> tjoe: onlyif => "test -f /path/to/command && /path/to/command" ? | ||
| [2010/01/06 17:04:12] <Juzzy> ah cool | ||
| [2010/01/06 17:04:27] <Djelibeybi> tjoe: Though, you may want to test for executability perhaps | ||
| [2010/01/06 17:04:44] <tjoe> Djelibeybi: yes, that would do it, but the line will be quite long, is there another way to do it ? | ||
| [2010/01/06 17:05:17] <Djelibeybi> tjoe: not that I know of. The assumption by puppet is that the onlyif command will return true or false. It's up to you to ensure that happens. | ||
| [2010/01/06 17:05:51] <tjoe> Djeli: ic, thanks will try that | ||
| [2010/01/06 17:08:04] @ bodepd joined channel #puppet | ||
| [2010/01/06 17:08:32] @ nakano_ is now known as nakano | ||
| [2010/01/06 17:08:39] <robinbowes> Any major gotchas in 0.25.2 ? | ||
| [2010/01/06 17:10:17] @ docelic joined channel #puppet | ||
| [2010/01/06 17:11:01] <docelic> Hey folks, what can I use if I want to run puppet one-time, from config in the local /etc/puppet ? (I'd still need that it uses nodes, and applies only configuration for the node matching its fqdn) | ||
| [2010/01/06 17:11:14] <robinbowes> puppetd --test | ||
| [2010/01/06 17:12:03] <docelic> did that, but it wants to contact server 'puppet'. and If I say --server localhost, it complains about puppetmasterd not listening (which is true) | ||
| [2010/01/06 17:12:16] <docelic> I'd like to run it from /etc/puppet files, avoiding any client/server thing | ||
| [2010/01/06 17:13:00] <Djelibeybi> docelic: use the puppet binary, not puppetd | ||
| [2010/01/06 17:15:08] @ eshamow joined channel #puppet | ||
| [2010/01/06 17:15:39] <docelic> Right, but how can I get it working with honoring nodes? | ||
| [2010/01/06 17:16:20] <Djelibeybi> docelic: no idea, I've never tried it. There are ways though, because I know people who only run Puppet locally | ||
| [2010/01/06 17:18:30] <docelic> ok, got it with just puppet site.pp, I'll figure out the nodes part when it will be necessary, for now it's alright | ||
| [2010/01/06 17:19:02] <eric0> i think if you run puppet but point it at your top-level site.pp (assuming static node definitions) the rest should flow from there, nicht wahr? | ||
| [2010/01/06 17:19:10] @ Quit: giskard: Remote closed the connection | ||
| [2010/01/06 17:19:26] @ giskard joined channel #puppet | ||
| [2010/01/06 17:19:58] <docelic> eric0: looks like its wahr, but I don't have other nodes defined yet, so can't check if it works properly then too | ||
| [2010/01/06 17:22:50] @ crdant joined channel #puppet | ||
| [2010/01/06 17:23:32] @ lero joined channel #puppet | ||
| [2010/01/06 17:26:56] @ Quit: cheako: Read error: 54 (Connection reset by peer) | ||
| [2010/01/06 17:29:52] <jaimeg> Hello Everyone. If you guys have your /etc/puppet directory in SVN do you guys have it automatically grabbing the puppet directory from svn? Is it only for restoring purposes? | ||
| [2010/01/06 17:30:54] <whack> I don't have it automatically grabbing from svn, but I do deploy it from svn | ||
| [2010/01/06 17:31:23] <tjoe> we use git, and puppet just use one specific branch in the local repository | ||
| [2010/01/06 17:31:49] <jaimeg> In other words. I was reading the howto "Puppet and Svn in fifteen minutes" and it had a line like the following -> * * * * * root cd /etc && svn --username puppet --password puppet checkout svn://svnserve/var/svn/puppet | ||
| [2010/01/06 17:32:09] <whack> jaimeg: my previous job had automated pulls from svn | ||
| [2010/01/06 17:32:20] <jaimeg> via cron right?. | ||
| [2010/01/06 17:32:23] <whack> yep | ||
| [2010/01/06 17:32:45] <jaimeg> but only your source files right | ||
| [2010/01/06 17:32:45] <jaimeg> not your actual puppet config files? | ||
| [2010/01/06 17:32:52] <whack> enforces that no changes make it into puppet unless it's checked in | ||
| [2010/01/06 17:32:52] <joe-mac> all of mine is in svn | ||
| [2010/01/06 17:32:58] <Volcane> manifests in svn | ||
| [2010/01/06 17:33:03] <Volcane> puppetd on the puppetmaster configures it | ||
| [2010/01/06 17:33:09] <whack> jaimeg: I have all my modules inpuppet | ||
| [2010/01/06 17:33:19] <whack> and puppet local to the puppet master manages /etc/puppet/puppet.conf, etc | ||
| [2010/01/06 17:33:21] <jb> jaimeg: where is that howto? | ||
| [2010/01/06 17:33:43] <tjoe> I don't think it's a good idea to have puppet config automatically pulled from svn, because how do you do if you want your server to use some test branch for example ? | ||
| [2010/01/06 17:33:46] <jaimeg> are we allowed to paste url's | ||
| [2010/01/06 17:33:48] <jaimeg> ? | ||
| [2010/01/06 17:33:49] @ Quit: themurph: Read error: 60 (Operation timed out) | ||
| [2010/01/06 17:33:59] @ taggart joined channel #puppet | ||
| [2010/01/06 17:34:19] <jaimeg> tjoe: dont you have to restart puppetmaster in order for the new configs to be loaded? | ||
| [2010/01/06 17:34:54] @ Quit: jimmij: Remote closed the connection | ||
| [2010/01/06 17:35:05] <Djelibeybi> jaimeg: No, Puppet will automatically reload its config when it detects a change | ||
| [2010/01/06 17:35:07] <jb> jaimeg: yes, you can paste url's | ||
| [2010/01/06 17:35:19] <jaimeg> http://www.lindstromconsulting.com/node/2 | ||
| [2010/01/06 17:35:28] <tjoe> jaimeg: I always start the server manually with --no-daemonize and I run puppetd -t on the nodes | ||
| [2010/01/06 17:35:44] @ nmi joined channel #puppet | ||
| [2010/01/06 17:36:22] <tjoe> jaimeg: so if I want to use some test config, I just switch branch with git then run the puppetmaster and run puppetd on the clients | ||
| [2010/01/06 17:37:01] <tjoe> jaimeg: from the puppetmaster point of view, it is just using a local directory for the config | ||
| [2010/01/06 17:37:23] @ Quit: giskard: Read error: 113 (No route to host) | ||
| [2010/01/06 17:38:13] @ Quit: poison: Remote closed the connection | ||
| [2010/01/06 17:40:49] @ pting joined channel #puppet | ||
| [2010/01/06 17:42:40] <pting> i have a case statement on a file's source... what's the default value to set for no source? | ||
| [2010/01/06 17:43:14] <pting> false and undef doesn't seem to work | ||
| [2010/01/06 17:43:51] <taggart> I'm having problems understanding how to do something in puppet: I have an array of things and I want to run a test (by exec'ing a command and checking the return status) and then do something based on the results of the test. but I'm not sure where to start | ||
| [2010/01/06 17:44:57] @ Quit: cynicismic: "leaving" | ||
| [2010/01/06 17:45:27] <jb> taggart: you will want to use the "exec" provider and probably "unless" or "onlyif" | ||
| [2010/01/06 17:45:33] <jb> taggart: http://reductivelabs.com/trac/puppet/wiki/TypeReference#exec | ||
| [2010/01/06 17:45:57] <jb> if i'm understanding you correctly.. | ||
| [2010/01/06 17:45:58] <taggart> jb: yeah I found that, but how do I do anything with it? | ||
| [2010/01/06 17:46:26] <taggart> can I do "if exec {foo}..." | ||
| [2010/01/06 17:46:41] @ Quit: bjaspan: | ||
| [2010/01/06 17:46:55] <jb> "exec X, if Y returns 0" | ||
| [2010/01/06 17:46:57] <jb> or whatever.. | ||
| [2010/01/06 17:47:32] <jb> or "exec X, unless Y returns 0" | ||
| [2010/01/06 17:47:41] <taggart> well I don't want to exec a command if the other command works | ||
| [2010/01/06 17:47:51] @ bjaspan joined channel #puppet | ||
| [2010/01/06 17:47:56] <Volcane> i think you're confusing puppet for a Makefile | ||
| [2010/01/06 17:48:01] <Volcane> or a shell script | ||
| [2010/01/06 17:48:12] <taggart> I want to do other puppet things (setup munin plugins in this case) | ||
| [2010/01/06 17:48:18] <taggart> Volcane: yeah I suspect I am | ||
| [2010/01/06 17:48:24] <Volcane> sounds to me like u want to capture this logic in either a makefile, script or something, then have puppet run that when needed | ||
| [2010/01/06 17:48:30] <taggart> I suspect this is because I | ||
| [2010/01/06 17:48:35] <taggart> 'm new to puppet | ||
| [2010/01/06 17:49:12] <taggart> and there is probably some simple answer like "oh you shouldn't write it in puppet, you should write this other thing that puppet calls" or something | ||
| [2010/01/06 17:49:18] <Volcane> if u explained what you're trying to achieve maybe we can make suggestion | ||
| [2010/01/06 17:49:36] <Volcane> like in actual terms, not hypotheticals | ||
| [2010/01/06 17:49:45] <taggart> ok more detail: (which will sound familiar to Volcane ) | ||
| [2010/01/06 17:50:31] <taggart> I have a list of diskdrives, I want to run "smartctl -i $drive" and if it returns zero then I know the drive supports SMART and then I want to setup munin plugins for it and cron jobs to run checks on it | ||
| [2010/01/06 17:51:06] <Volcane> ok | ||
| [2010/01/06 17:51:21] <Volcane> just rambling but how does this sound | ||
| [2010/01/06 17:51:33] <Volcane> 1- fact for diskdrives - you have this already right | ||
| [2010/01/06 17:51:42] <Volcane> 2- fact per disk if it supports smart | ||
| [2010/01/06 17:51:59] <Volcane> 3- split the fact in 1 into an array, passing it into a define | ||
| [2010/01/06 17:52:20] <taggart> yeah #1 is from your diskdrives.pp | ||
| [2010/01/06 17:52:21] <gepetto> taggart: #1 is http://projects.reductivelabs.com/issues/show/1 "Puppet - Feature #1: Differentiate classes from definitions - ReductiveLabs.com" | ||
| [2010/01/06 17:52:47] <Volcane> 4- the define adds the cronjob and plugins with an if on the fact that says the drive suports smart | ||
| [2010/01/06 17:53:02] <Volcane> the only problem is that if, you'd need to dynamically build up the varname | ||
| [2010/01/06 17:53:08] <Volcane> which is easy too | ||
| [2010/01/06 17:53:37] <Volcane> what u want is if $disk_sda_smart == 1 | ||
| [2010/01/06 17:53:53] <taggart> ah so have the drive name embedded in the fact | ||
| [2010/01/06 17:54:35] <Volcane> $smartcapable = inline_template("<%= lookupvar("disk_#{drivename}_smart") %>") | ||
| [2010/01/06 17:54:47] <taggart> I was wondering if I could have a fact that returns a list of drives that support SMART, but I think your way is easier | ||
| [2010/01/06 17:54:51] <Volcane> then if $smartcapable == 1 { do the munin + cronjobs } | ||
| [2010/01/06 17:55:55] <taggart> ok thanks, I think I can get it from here | ||
| [2010/01/06 17:56:44] <Volcane> that lookupvar should be scope.lookupvar(....) | ||
| [2010/01/06 17:56:56] <taggart> can facts use info from other facts? is there an order/dependency problem? | ||
| [2010/01/06 17:57:05] <Volcane> there's a order issue yes | ||
| [2010/01/06 17:57:24] <Volcane> but i think that should be easy to sort for your disk drive facts | ||
| [2010/01/06 17:57:59] <Volcane> anyway, dont think above will work vanilla but i think its an ok idea | ||
| [2010/01/06 18:01:05] <eshamow> another n00b question for you folks -- | ||
| [2010/01/06 18:01:57] <eshamow> have had some success setting up a basic Puppet infrastructure. using modules, everything is well defined, etc. however there's a basic functionality i'm looking to implement and i'm wondering if anybody has done it | ||
| [2010/01/06 18:02:22] <eshamow> when i remove a file / service / RPM from a manifest, i'd like to fire off a trigger to remove that package or file from the affected servers | ||
| [2010/01/06 18:02:44] <taggart> eshamow: that already happens? | ||
| [2010/01/06 18:02:55] <Djelibeybi> taggart: no, it doesn't. | ||
| [2010/01/06 18:03:00] <Volcane> eshamow: you mean when you remove an include line? | ||
| [2010/01/06 18:03:07] <Djelibeybi> eshamow: you need to reverse the type, not remove it. | ||
| [2010/01/06 18:03:29] <joe-mac> yea, well, you can use the resources parameter for some types | ||
| [2010/01/06 18:03:34] <joe-mac> though it's sort of dangerous | ||
| [2010/01/06 18:03:36] <Djelibeybi> eshamow: i.e., if you have package { "name": ensure => latest, }, you need to change to package { "name": ensure => absent, } | ||
| [2010/01/06 18:04:28] <taggart> Volcane: one problem with making #2 a fact is that I haven't yet ensured that the smartmontools package is installed | ||
| [2010/01/06 18:04:28] <gepetto> taggart: Volcane: #2 is http://projects.reductivelabs.com/issues/show/2 "Puppet - Feature #2: Add 'link' ability to File - ReductiveLabs.com" | ||
| [2010/01/06 18:04:43] <taggart> oops | ||
| [2010/01/06 18:04:58] <eshamow> Djelibeybi: that's the one -- gotcha | ||
| [2010/01/06 18:05:06] <eshamow> that's exactly what i was looking to do | ||
| [2010/01/06 18:05:13] <taggart> I guess it wouldn't suck to install everywhere | ||
| [2010/01/06 18:05:31] <eshamow> thanks | ||
| [2010/01/06 18:05:38] <Volcane> taggart: yeah chicken and eggs sucks like that, but its about the same as say needing crond installed if u want to maange cron, you might have to either make it part of kickstart (or equiv) or break your puppet runs into a small bit that bootstraps things | ||
| [2010/01/06 18:07:13] <Volcane> or just do the eventual consistancy thing | ||
| [2010/01/06 18:07:21] <Volcane> in your fact just dont set them if you dont have smartmontools | ||
| [2010/01/06 18:07:39] <Volcane> and in your manifests just chck if the var exists, if it doesnt, skip munin/cron | ||
| [2010/01/06 18:07:54] <taggart> that's a good idea | ||
| [2010/01/06 18:07:58] <Volcane> 2nd run smartmontools will be there, facts will be set and munin gets done | ||
| [2010/01/06 18:08:19] @ Quit: bjaspan: | ||
| [2010/01/06 18:08:23] <taggart> the smartmontools package runs a daemon, and I'd rather not run it if I know it's not needed (like on vservers) | ||
| [2010/01/06 18:08:42] <Volcane> nods, well then just make it so that code doesnt blow up if its not present | ||
| [2010/01/06 18:08:51] <Volcane> then it will come right in time or just get skipped | ||
| [2010/01/06 18:09:58] @ WALoeIII joined channel #puppet | ||
| [2010/01/06 18:10:44] @ kolla joined channel #puppet | ||
| [2010/01/06 18:12:09] <joe-mac> wiki:TypeReference | ||
| [2010/01/06 18:12:16] <gepetto> joe-mac: wiki: wiki:TypeReference is http://reductivelabs.com/trac/puppet/wiki/TypeReference | ||
| [2010/01/06 18:12:47] <taggart> Volcane: hmm, maybe I could just add this check to the diskdrive fact? have it check if smartctl exists and if so then test and set a var | ||
| [2010/01/06 18:12:59] <Volcane> yup thats what i ment | ||
| [2010/01/06 18:13:18] <taggart> ok cool | ||
| [2010/01/06 18:13:22] <Volcane> then just wrap the manifest with an if that looks for that fact existing | ||
| [2010/01/06 18:14:52] @ Quit: grim_radical: "Leaving" | ||
| [2010/01/06 18:15:48] @ Quit: [newbie]: Read error: 113 (No route to host) | ||
| [2010/01/06 18:22:06] @ vzctl_ joined channel #puppet | ||
| [2010/01/06 18:22:41] @ brothers joined channel #puppet | ||
| [2010/01/06 18:23:02] @ LinuxCode joined channel #puppet | ||
| [2010/01/06 18:24:16] @ Quit: vzctl__: Read error: 60 (Operation timed out) | ||
| [2010/01/06 18:28:57] <danielbln> Volcane: did you come around testing the new sorting featur in puppet dashboard yet? | ||
| [2010/01/06 18:29:00] @ Quit: kaptk2: "Leaving." | ||
| [2010/01/06 18:29:05] <danielbln> *feature | ||
| [2010/01/06 18:29:11] * LinuxCode grumblez at tidy again | ||
| [2010/01/06 18:29:34] <Volcane> nope, i dont use dashboard only test it out now and then so not yet | ||
| [2010/01/06 18:32:13] <LinuxCode> http://fpaste.org/K1s6/ | ||
| [2010/01/06 18:32:20] <LinuxCode> why wont tidy delete my two files ? | ||
| [2010/01/06 18:32:22] <LinuxCode> ;-| | ||
| [2010/01/06 18:32:33] <LinuxCode> (/File[/etc/tsig/tsig.keys.tmp]) Duplicate generated resource; skipping | ||
| [2010/01/06 18:32:41] <LinuxCode> I also get this, yet there is no duplicate | ||
| [2010/01/06 18:33:17] <joe-mac> becuase you have defined a parent twice | ||
| [2010/01/06 18:33:19] <joe-mac> most likely | ||
| [2010/01/06 18:33:24] <joe-mac> a parent then a child even | ||
| [2010/01/06 18:34:06] <LinuxCode> define parent and child | ||
| [2010/01/06 18:34:12] <LinuxCode> also for which problem ? | ||
| [2010/01/06 18:34:19] <LinuxCode> duplicated resources ? | ||
| [2010/01/06 18:34:29] <joe-mac> yes duplicate resources | ||
| [2010/01/06 18:34:52] <LinuxCode> generate is called once | ||
| [2010/01/06 18:36:42] @ Quit: danielbln: "Leaving." | ||
| [2010/01/06 18:36:51] <joe-mac> first, it is bad to have non-unique names for resources inside a definition | ||
| [2010/01/06 18:36:59] <joe-mac> that leads to problems, like duplicate resources | ||
| [2010/01/06 18:37:39] <LinuxCode> "CHOP-${name}" <-- you mean that ? | ||
| [2010/01/06 18:37:54] <LinuxCode> id call that unique | ||
| [2010/01/06 18:38:07] <LinuxCode> unless you mean generate | ||
| [2010/01/06 18:38:13] <LinuxCode> but generate is only called once | ||
| [2010/01/06 18:38:52] <LinuxCode> I guess I could take all of this apart and stick it into seperate classes | ||
| [2010/01/06 18:39:30] <LinuxCode> but then I still need to have a definition to pass multiple items | ||
| [2010/01/06 18:39:36] <LinuxCode> thats the only way this will work | ||
| [2010/01/06 18:39:58] <joe-mac> right, can you show me where you ahev a generate resource? | ||
| [2010/01/06 18:40:11] <LinuxCode> ? | ||
| [2010/01/06 18:40:16] <LinuxCode> I call it in the node | ||
| [2010/01/06 18:40:28] <joe-mac> can you paste that portion? | ||
| [2010/01/06 18:40:51] <LinuxCode> bind::tsig::generate { "dns-slaves": servers => ["x","y"],} | ||
| [2010/01/06 18:41:41] <joe-mac> this is really not the kind of logic puppet is good for | ||
| [2010/01/06 18:42:00] <joe-mac> i suggest writing a script that does the iterative portion of this, and pushing it out and using a couple exec's with requires/creates | ||
| [2010/01/06 18:43:19] <LinuxCode> it worked for me earlier | ||
| [2010/01/06 18:43:29] <LinuxCode> all i really need is the tidies to work | ||
| [2010/01/06 18:43:46] <LinuxCode> which worked earlier, but then I started to fiddle | ||
| [2010/01/06 18:44:07] <joe-mac> do an svn diff of the working version and yours | ||
| [2010/01/06 18:44:15] <LinuxCode> thats the problem | ||
| [2010/01/06 18:44:22] <LinuxCode> I forgot to add it ;-| | ||
| [2010/01/06 18:44:26] <LinuxCode> hehe | ||
| [2010/01/06 18:44:30] <LinuxCode> doh! | ||
| [2010/01/06 18:44:50] <LinuxCode> but yesterday the tidy wouldnt work for me for something else | ||
| [2010/01/06 18:45:27] * Volcane 's not sold on puppet as a tidy tool | ||
| [2010/01/06 18:45:27] <LinuxCode> and logs say Tidying File[/etc/tsig/tsig.keys.tmp | ||
| [2010/01/06 18:45:36] <LinuxCode> Volcane, yeh | ||
| [2010/01/06 18:45:49] <LinuxCode> Volcane, not sure if it was you mate or somebody else | ||
| [2010/01/06 18:45:59] <joe-mac> tidy is cool except recurse on large directories | ||
| [2010/01/06 18:46:00] <LinuxCode> but somebody said that yesterday | ||
| [2010/01/06 18:46:14] <Volcane> puppet down, tidy doesnt happen, drives go full | ||
| [2010/01/06 18:46:15] <Volcane> fail | ||
| [2010/01/06 18:46:16] <joe-mac> i've had puppetd take 2 gb of ram once on a directory tree with lots of tiny files | ||
| [2010/01/06 18:46:22] <LinuxCode> I want to delete tsig keys after cetain delays | ||
| [2010/01/06 18:46:23] <Volcane> prolly not quite a problem here | ||
| [2010/01/06 18:46:32] <Volcane> but puppetd isnt like critical software | ||
| [2010/01/06 18:46:39] <joe-mac> as far as i'm concerned it is | ||
| [2010/01/06 18:46:42] <Volcane> inconvenient if its down, but tidying should keep working | ||
| [2010/01/06 18:46:48] <joe-mac> i mean i don't want to be paged at 3 am cause puppet is down | ||
| [2010/01/06 18:46:57] <joe-mac> however if it's down during the daytime i divert my attention to it | ||
| [2010/01/06 18:47:06] <Volcane> sure, but like let say your master dgoes down right | ||
| [2010/01/06 18:47:13] <Volcane> and not everyone hs full HA masters | ||
| [2010/01/06 18:47:26] @ otto__ joined channel #puppet | ||
| [2010/01/06 18:47:35] <Volcane> life goes on, its ok if it takes a day to come up, maybe u have an unexpected code freeze or some careful hand fixing | ||
| [2010/01/06 18:47:41] <Volcane> but you'll forget about your tidies for sure | ||
| [2010/01/06 18:47:51] <joe-mac> yea | ||
| [2010/01/06 18:48:00] <joe-mac> i can't figure this problem out and losing my mind | ||
| [2010/01/06 18:48:28] <LinuxCode> I am not even doing anything fancy | ||
| [2010/01/06 18:48:30] <joe-mac> err: Could not retrieve catalog: Puppet::Parser::AST::Resource failed with error ArgumentError: Duplicate definition: Nagios_contact[someguy@myjob.com] is already defined; cannot redefine at /etc/puppet/jmcdonagh/modules/accounts/manifests/init.pp:52 on node blahblah | ||
| [2010/01/06 18:48:34] <joe-mac> pastie'ing now | ||
| [2010/01/06 18:48:36] <LinuxCode> all I want is it to tidy up two files | ||
| [2010/01/06 18:48:58] <joe-mac> change the tidy's to refreshonly exec's | ||
| [2010/01/06 18:49:00] <joe-mac> that should do it right? | ||
| [2010/01/06 18:49:08] @ Quit: jaredrhine: "Leaving." | ||
| [2010/01/06 18:49:09] @ yan_ joined channel #puppet | ||
| [2010/01/06 18:49:24] <LinuxCode> sure I could turn them into execs | ||
| [2010/01/06 18:49:33] <LinuxCode> however, this should work | ||
| [2010/01/06 18:49:37] @ Quit: brothers: Read error: 54 (Connection reset by peer) | ||
| [2010/01/06 18:49:46] <LinuxCode> also then I will ahve to write a script to check file age | ||
| [2010/01/06 18:50:08] <joe-mac> you have age set to 0? | ||
| [2010/01/06 18:50:15] <LinuxCode> yes | ||
| [2010/01/06 18:50:16] <LinuxCode> atm | ||
| [2010/01/06 18:50:21] <LinuxCode> force removal | ||
| [2010/01/06 18:50:39] <joe-mac> is that what the docs claim 0 does? | ||
| [2010/01/06 18:51:15] @ teyo joined channel #puppet | ||
| [2010/01/06 18:51:15] <joe-mac> http://www.pastie.org/769575 | ||
| [2010/01/06 18:51:22] <joe-mac> anybody want to tell me what is wrong with that exported resource? | ||
| [2010/01/06 18:51:46] <joe-mac> o ffs i think i know what it is | ||
| [2010/01/06 18:53:08] @ bjaspan joined channel #puppet | ||
| [2010/01/06 18:53:20] <joe-mac> was realizing this resource in one calss (as the define) and collecting it in another | ||
| [2010/01/06 18:53:42] <joe-mac> once this store configs with nagios shit is done i am never touching it again | ||
| [2010/01/06 18:53:43] @ Quit: shaggy_cat_: Read error: 104 (Connection reset by peer) | ||
| [2010/01/06 18:58:50] @ jaredrhine joined channel #puppet | ||
| [2010/01/06 19:00:16] @ Quit: bobbyz: Read error: 60 (Operation timed out) | ||
| [2010/01/06 19:03:09] @ jmarki joined channel #puppet | ||
| [2010/01/06 19:04:28] @ brothers joined channel #puppet | ||
| [2010/01/06 19:07:47] @ ccaum left channel #puppet () | ||
| [2010/01/06 19:11:50] @ GGD_ is now known as GGD | ||
| [2010/01/06 19:24:56] @ Quit: jab_doa: "Verlassend" | ||
| [2010/01/06 19:25:59] <cm1> is it possible to do if_exists like function within an ERB templte? | ||
| [2010/01/06 19:36:17] @ Quit: crdant: "Leaving." | ||
| [2010/01/06 19:37:11] @ bug joined channel #puppet | ||
| [2010/01/06 19:37:26] @ Quit: vzctl_: Remote closed the connection | ||
| [2010/01/06 19:37:45] <taggart> Volcane: you say "<Volcane> 3- split the fact in 1 into an array, passing it into a define" | ||
| [2010/01/06 19:37:53] @ vzctl_ joined channel #puppet | ||
| [2010/01/06 19:38:07] <taggart> Volcane: are you saying pass the whole array into the define, or somehow pass each element? | ||
| [2010/01/06 19:45:27] @ Quit: cwebber: | ||
| [2010/01/06 19:45:59] @ Quit: bug: | ||
| [2010/01/06 19:51:45] @ crdant joined channel #puppet | ||
| [2010/01/06 19:55:19] @ M- joined channel #puppet | ||
| [2010/01/06 19:55:20] @ Quit: crdant: Client Quit | ||
| [2010/01/06 19:58:01] @ Quit: ezmobius: Remote closed the connection | ||
| [2010/01/06 19:58:22] @ Quit: jmarki: Remote closed the connection | ||
| [2010/01/06 20:01:52] @ bug joined channel #puppet | ||
| [2010/01/06 20:02:11] @ Quit: paxos: | ||
| [2010/01/06 20:03:37] @ Quit: bjaspan: | ||
| [2010/01/06 20:04:12] @ rmiller4pi81 joined channel #puppet | ||
| [2010/01/06 20:06:32] <Volcane> taggart: your define will make 1 x munin+cron for a single drive | ||
| [2010/01/06 20:06:50] <Volcane> taggart: so doit{$array_of_drives: } will make 1 x doit for each array member | ||
| [2010/01/06 20:07:32] <taggart> Volcane: ok, that's what I'm doing and I think it's working | ||
| [2010/01/06 20:08:12] <taggart> Volcane: and in the define I just use $name for the array member? | ||
| [2010/01/06 20:08:31] <Volcane> yes | ||
| [2010/01/06 20:08:45] @ Quit: GGD: Read error: 110 (Connection timed out) | ||
| [2010/01/06 20:09:46] <Volcane> bed time, good luck | ||
| [2010/01/06 20:10:17] <taggart> Volcane: thanks | ||
| [2010/01/06 20:12:52] @ Quit: alfism: "http://opensolaris.com/" | ||
| [2010/01/06 20:14:45] <ohadlevy> jb: I'm | ||
| [2010/01/06 20:17:07] @ Quit: bug: | ||
| [2010/01/06 20:17:38] @ GGD joined channel #puppet | ||
| [2010/01/06 20:17:43] @ Quit: brothers: Read error: 104 (Connection reset by peer) | ||
| [2010/01/06 20:18:41] @ brothers joined channel #puppet | ||
| [2010/01/06 20:21:31] @ Quit: rmiller4pi8: Read error: 110 (Connection timed out) | ||
| [2010/01/06 20:25:11] <tessier> Anyone know if puppet will compile/work on FC6? | ||
| [2010/01/06 20:25:21] @ Quit: rmiller4pi81: Read error: 110 (Connection timed out) | ||
| [2010/01/06 20:25:26] <tessier> It is going to be a while before this thing gets replaced with CentOS 5.4 | ||
| [2010/01/06 20:25:39] <ohadlevy> tessier: it should - what ruby version do you have on fc6? | ||
| [2010/01/06 20:26:22] <tessier> No ruby installed. And who knows if anyone runs FC6 repos anymore... | ||
| [2010/01/06 20:26:35] <tessier> I may just have to manually manage certain files on this thing for a while. | ||
| [2010/01/06 20:26:51] <ohadlevy> i run puppet with RHE3, so I'm sure you can do it with fc6 ;) | ||
| [2010/01/06 20:27:50] <explody> So, puppet's SMF component apparently doesn't fully handle service states: I seem to be getting a lot of these on some of my sol10 x86 boxes: Unmanageable state 'online*' on service /application/management/snmpdx | ||
| [2010/01/06 20:27:59] @ Quit: jcape: Read error: 60 (Operation timed out) | ||
| [2010/01/06 20:29:50] <teyo> tessier if you can get a modern ruby ( > 1.8.2 ideally 1.8.7 ) then you should be ok. | ||
| [2010/01/06 20:30:17] <tessier> teyo: Would probably have to compile it from source. I doubt anyone packages modern ruby for fc6. But that's doable. | ||
| [2010/01/06 20:31:27] <explody> probably have trouble compiling it, too | ||
| [2010/01/06 20:32:16] <explody> due to possible dependencies on libs less ancient than fc6 would have | ||
| [2010/01/06 20:32:20] <z00dax> ruby-1.8.7 works fine on both rhel3 and fc6 | ||
| [2010/01/06 20:32:23] <tessier> Yep. | ||
| [2010/01/06 20:32:35] <explody> ah I thought fc6 was older than rhel3 | ||
| [2010/01/06 20:32:41] <ohadlevy> tessier: use http://archives.fedoraproject.org/pub/archive/fedora/linux/core/6/i386/os/Fedora/RPMS/ | ||
| [2010/01/06 20:32:45] <z00dax> lets not forget that the original rhel5 was branched from fc6 - and pretty much everything ruby runs fine on centos/rhe;-5 | ||
| [2010/01/06 20:33:10] <ohadlevy> you'll find ruby 1.8.5 whic is good enough | ||
| [2010/01/06 20:33:41] <z00dax> http://dev.centos.org/centos/4/testing/SRPMS/ruby-1.8.5-5.el4.centos.1.src.rpm | ||
| [2010/01/06 20:34:00] <z00dax> well, that would certainly work. or just use ruby from el5's tree. | ||
| [2010/01/06 20:34:41] <ohadlevy> z00dax: not sure if you can just install the package (e.g. dependencies ), i try not to mix rpm's from different versions | ||
| [2010/01/06 20:36:27] <z00dax> ohadlevy: right, which is why i pointed at the src.rpm | ||
| [2010/01/06 20:36:49] <ohadlevy> z00dax: source rpm might be a problem if you dont have a repo to find all the devel tools ;) | ||
| [2010/01/06 20:37:42] @ Quit: gebi: Read error: 113 (No route to host) | ||
| [2010/01/06 20:37:46] <z00dax> yum install mock; mock -rfedora-6 --arch `uname -m` --resultdir=`pwd` <src.rpm> | ||
| [2010/01/06 20:37:56] <z00dax> dont do that if you are on a 28.8k dialup internet link though | ||
| [2010/01/06 20:38:12] <ohadlevy> z00dax: hmm.. maybe its time I'll learn how to use mock :) | ||
| [2010/01/06 20:38:35] <z00dax> ohadlevy: if you are building packages - then yea, definitely. | ||
| [2010/01/06 20:39:09] <ohadlevy> yeah, I do every now and then, mostly repacking for older OS's :) | ||
| [2010/01/06 20:40:11] <joe-mac> what is mock? | ||
| [2010/01/06 20:41:03] @ Quit: tecto: | ||
| [2010/01/06 20:45:04] @ themurph joined channel #puppet | ||
| [2010/01/06 20:45:06] @ Quit: jes5: "Leaving." | ||
| [2010/01/06 20:45:29] @ Quit: lak: | ||
| [2010/01/06 20:50:14] @ Quit: taggart: "Leaving" | ||
| [2010/01/06 20:52:49] <eshamow> auth.conf question if folks have a moment | ||
| [2010/01/06 20:53:06] <eshamow> was running puppet using WEBrick with no problems. just tried to move it behind passenger | ||
| [2010/01/06 20:53:31] <eshamow> since doing this i'm getting the following when i try to check in with any client: | ||
| [2010/01/06 20:53:54] <eshamow> "warning: Denying access: Forbidden request: <hostname> access to /catalog/<hostname> [find] at line 0 | ||
| [2010/01/06 20:54:04] <eshamow> i have no auth.conf. i've tried explicitly creating one, same issues | ||
| [2010/01/06 20:54:44] <eshamow> i should mention, the above error is coming from puppetmasterd. on the client itself, i see a 403 response from the server | ||
| [2010/01/06 20:55:39] <eshamow> any ideas? | ||
| [2010/01/06 20:56:14] @ rmiller4pi8 joined channel #puppet | ||
| [2010/01/06 20:56:48] <eshamow> oop -- correction -- behind mongrel, not passenger | ||
| [2010/01/06 20:58:52] @ bug joined channel #puppet | ||
| [2010/01/06 21:00:01] <eshamow> ...and I fixed it myself | ||
| [2010/01/06 21:00:21] @ jcape joined channel #puppet | ||
| [2010/01/06 21:00:23] <eshamow> turns out you don't want ssl_client_header = SSL_CLIENT_S_DN | ||
| [2010/01/06 21:00:23] <eshamow> ssl_client_verify_header = SSL_CLIENT_VERIFY | ||
| [2010/01/06 21:00:32] <eshamow> if you are behind mongrel | ||
| [2010/01/06 21:01:06] @ Quit: WALoeIII: "Bai." | ||
| [2010/01/06 21:04:28] @ jimmij joined channel #puppet | ||
| [2010/01/06 21:05:14] @ Quit: jimmij: Client Quit | ||
| [2010/01/06 21:05:25] @ jimmij joined channel #puppet | ||
| [2010/01/06 21:05:28] <joe-mac> i'm running into a chicken and egg here on debian | ||
| [2010/01/06 21:05:56] <joe-mac> nagios3 goes to install but doesn't put any configs in place, so it fails to start the init, thereby failing the apt-get install process | ||
| [2010/01/06 21:06:10] @ Quit: jimmij: Remote closed the connection | ||
| [2010/01/06 21:06:17] <joe-mac> o wait | ||
| [2010/01/06 21:06:19] <joe-mac> may have figured out why | ||
| [2010/01/06 21:06:41] <joe-mac> no, guess not | ||
| [2010/01/06 21:08:10] <joe-mac> might have a hacky way around it | ||
| [2010/01/06 21:08:20] @ Quit: bug: | ||
| [2010/01/06 21:08:37] <eshamow> joe-mac: just to confirm, you mean that you've required nagios3 as a package, but the install itself doesn't complete successfully? | ||
| [2010/01/06 21:08:56] <eshamow> oh nevermind i see | ||
| [2010/01/06 21:09:00] <eshamow> so it installs but doesn't set itself up | ||
| [2010/01/06 21:09:03] <joe-mac> yea, the install itself is freaking fine, but it goes to run the init script | ||
| [2010/01/06 21:09:05] <eshamow> therefore /etc/init.d/nagios start fails | ||
| [2010/01/06 21:09:07] <joe-mac> yea, exactly | ||
| [2010/01/06 21:09:10] <eshamow> and therefore the apt-get returns fail | ||
| [2010/01/06 21:09:22] <joe-mac> this is kind of annoying, is there any way i can block that behavior wuith the package provider? | ||
| [2010/01/06 21:09:42] <eshamow> you'd have to extend apt. i've been trying to do this with yum on centos with mixed success | ||
| [2010/01/06 21:09:49] <eshamow> extend the apt module, i mean | ||
| [2010/01/06 21:10:06] <eshamow> OR -- you could pre-populate the config dir and files, then make the package depend on those being present | ||
| [2010/01/06 21:11:00] <joe-mac> yea there's a lot of file resources here | ||
| [2010/01/06 21:11:19] <joe-mac> i should put them in a class called baseconfig and require them | ||
| [2010/01/06 21:11:44] <eshamow> in a similar situation, what i do is pre-populate that dir during kickstart | ||
| [2010/01/06 21:12:04] <joe-mac> sort of impossible, unless i populate it with dummy data | ||
| [2010/01/06 21:12:12] <joe-mac> to get it to just pass the test | ||
| [2010/01/06 21:12:19] <eshamow> exactly -- vanilla config | ||
| [2010/01/06 21:12:23] @ teyo_ joined channel #puppet | ||
| [2010/01/06 21:12:24] <joe-mac> either way i am looking at a suboptimal change, dam annoying | ||
| [2010/01/06 21:12:45] <eshamow> the alternative is extending the apt-get module. i'm almost there with this on the yum side, i'm sure apt-get isn't much different | ||
| [2010/01/06 21:13:56] <Djelibeybi> joe-mac: does the apt-get install actually try to start the service? | ||
| [2010/01/06 21:14:00] <Djelibeybi> That seems wrong to me | ||
| [2010/01/06 21:14:08] <joe-mac> Djelibeybi: yea that is fairly common | ||
| [2010/01/06 21:14:26] <Djelibeybi> Another reason to loathe Debian. | ||
| [2010/01/06 21:14:39] <joe-mac> yea one of many | ||
| [2010/01/06 21:14:41] <docelic> lol | ||
| [2010/01/06 21:14:46] <eshamow> btw Djelibeybi, off topic but thanks for your reply before -- 'twas a big help | ||
| [2010/01/06 21:14:53] <Djelibeybi> eshamow: no worries. :) | ||
| [2010/01/06 21:15:09] * Djelibeybi does a package install -> config -> service on EL which works just fine | ||
| [2010/01/06 21:15:32] <Djelibeybi> With suitable require/before/subscribe stuff so it all happens automagically | ||
| [2010/01/06 21:19:49] <joe-mac> yea i just had to write a really long require, i should put this stuff in a class but i am not gfoing to | ||
| [2010/01/06 21:19:58] <joe-mac> it is late and i'd like to have this working tonight | ||
| [2010/01/06 21:20:57] @ alexine_dsouza joined channel #puppet | ||
| [2010/01/06 21:21:11] @ Quit: bodepd: Read error: 110 (Connection timed out) | ||
| [2010/01/06 21:23:20] @ cheako joined channel #puppet | ||
| [2010/01/06 21:24:03] @ Quit: teyo: Read error: 110 (Connection timed out) | ||
| [2010/01/06 21:24:03] @ teyo_ is now known as teyo | ||
| [2010/01/06 21:24:23] @ Quit: GGD: Read error: 110 (Connection timed out) | ||
| [2010/01/06 21:28:58] @ Quit: teyo: Read error: 54 (Connection reset by peer) | ||
| [2010/01/06 21:29:37] @ bug joined channel #puppet | ||
| [2010/01/06 21:30:52] @ teyo joined channel #puppet | ||
| [2010/01/06 21:37:24] @ Quit: Juzzy: Read error: 113 (No route to host) | ||
| [2010/01/06 21:37:47] @ Juzzy joined channel #puppet | ||
| [2010/01/06 21:40:14] @ PaulWay[w] joined channel #puppet | ||
| [2010/01/06 21:40:22] @ Quit: bug: | ||
| [2010/01/06 21:45:32] @ Quit: Demosthenes: "leaving" | ||
| [2010/01/06 21:48:04] @ Quit: teyo: Read error: 54 (Connection reset by peer) | ||
| [2010/01/06 21:50:07] @ crdant joined channel #puppet | ||
| [2010/01/06 21:52:26] @ Quit: docelic: "Departed" | ||
| [2010/01/06 21:57:33] @ jcape1 joined channel #puppet | ||
| [2010/01/06 22:02:47] @ pjsz joined channel #puppet | ||
| [2010/01/06 22:03:12] @ bug joined channel #puppet | ||
| [2010/01/06 22:14:49] @ littleidea joined channel #puppet | ||
| [2010/01/06 22:15:06] @ bjaspan joined channel #puppet | ||
| [2010/01/06 22:19:02] @ Quit: jcape: Read error: 110 (Connection timed out) | ||
| [2010/01/06 22:19:12] @ Quit: yan_: | ||
| [2010/01/06 22:41:39] @ vorlon2261 joined channel #puppet | ||
| [2010/01/06 22:54:03] @ jfreeman joined channel #puppet | ||
| [2010/01/06 22:58:28] @ Quit: bjaspan: | ||
| [2010/01/06 22:59:12] @ Quit: shadoi: "Leaving." | ||
| [2010/01/06 22:59:31] @ bodepd joined channel #puppet | ||
| [2010/01/06 22:59:37] @ Quit: eshamow: | ||
| [2010/01/06 23:03:42] @ Quit: brd: "leaving" | ||
| [2010/01/06 23:06:57] <zahna> hey, just wanting to make sure i have the new syntax right. this is the new syntax, specifying "modules" in the path, right?: source => "puppet://$servername/modules/apache/conf.d/fcgid.conf", | ||
| [2010/01/06 23:08:09] <zahna> previously, i didn't have the "modules". mysteriously, puppet was warning me, but has ceased and i haven't commited my changes yet. | ||
| [2010/01/06 23:08:19] <bodepd> zahna: starting in .25.1 this is required. | ||
| [2010/01/06 23:08:28] <bodepd> yes, its a pain | ||
| [2010/01/06 23:09:01] <zahna> bodepd: thankfully, i only have to make the changeover once | ||
| [2010/01/06 23:09:23] <vorlon2261> bodepd: Any idea why? Whats supposed to be the gain from it? | ||
| [2010/01/06 23:09:34] <bodepd> it has something to do with the move to restful interface | ||
| [2010/01/06 23:09:43] <vorlon2261> Ahh... | ||
| [2010/01/06 23:10:32] <vorlon2261> Keeps the module requests outside the normal restful requests, in case of a naming collision then... | ||
| [2010/01/06 23:10:56] <bodepd> I am just repeating what I've heard :) | ||
| [2010/01/06 23:12:15] <vorlon2261> Fair enough... I'm just making assumptions based on you repeating what you've heard... ;-) | ||
| [2010/01/06 23:14:54] <Djelibeybi> bodepd: it only warns you once per puppetmasterd startup, AFAIK | ||
| [2010/01/06 23:16:25] <vorlon2261> Yeah... Its the 0.25.x puppetmaster that whinges... | ||
| [2010/01/06 23:16:39] <vorlon2261> But it does say not to change anything if you have 0.24.x clients connecting... | ||
| [2010/01/06 23:18:31] <lero> hmm | ||
| [2010/01/06 23:19:35] <vorlon2261> They will break. | ||
| [2010/01/06 23:19:38] @ scylla joined channel #puppet | ||
| [2010/01/06 23:20:18] <lero> tomorrow i'll be updating my clients to 0.25.2, the server is already at 0.25.x | ||
| [2010/01/06 23:20:21] <lero> good to know | ||
| [2010/01/06 23:20:43] <lero> gonna update the clients first, them change the files directory to modules | ||
| [2010/01/06 23:21:07] <vorlon2261> I'm waiting to make sure that 0.25.1 is working as expected in my environment before I start making config changes like that..... | ||
| [2010/01/06 23:21:38] <bodepd> the clients should never be ahead of the server | ||
| [2010/01/06 23:22:45] @ Quit: themurph: Read error: 110 (Connection timed out) | ||
| [2010/01/06 23:22:48] @ Quit: pjsz: | ||
| [2010/01/06 23:35:26] @ Quit: LinuxCode: "Connection Closed" | ||
| [2010/01/06 23:45:00] @ rmiller4pi81 joined channel #puppet | ||
| [2010/01/06 23:45:36] @ cwebber joined channel #puppet | ||
| [2010/01/06 23:50:31] @ Quit: rmiller4pi8: Read error: 60 (Operation timed out) |
Generated by irclog2html.py 2.9.2 by Marius Gedminas - find it at mg.pov.lt!