Thursday, 2010-06-24

[2010/06/24 00:01:12] @ Log started by gepetto
[2010/06/24 00:01:12] @ Quit: sdog: Changing host
[2010/06/24 00:01:12] @ sdog joined channel #puppet
[2010/06/24 00:03:05] @ rene joined channel #puppet
[2010/06/24 00:03:20] @ shug joined channel #puppet
[2010/06/24 00:03:30] @ pting joined channel #puppet
[2010/06/24 00:03:33] @ rene is now known as Guest87142
[2010/06/24 00:09:27] @ Quit: giskard: Remote host closed the connection
[2010/06/24 00:13:51] @ PhabX joined channel #puppet
[2010/06/24 00:14:00] @ spawnyd joined channel #puppet
[2010/06/24 00:14:10] @ Quit: tripoux: Read error: Operation timed out
[2010/06/24 00:14:24] @ Quit: PhabX: Client Quit
[2010/06/24 00:14:41] @ PhabX joined channel #puppet
[2010/06/24 00:15:07] @ Quit: lak: Quit: lak
[2010/06/24 00:16:33] @ yure joined channel #puppet
[2010/06/24 00:16:35] @ Quit: blushade: Read error: Connection reset by peer
[2010/06/24 00:19:54] @ themroc_pala is now known as themroc
[2010/06/24 00:20:06] @ Quit: project2501b: Read error: Connection timed out
[2010/06/24 00:22:42] @ TREllis joined channel #puppet
[2010/06/24 00:23:08] @ jense joined channel #puppet
[2010/06/24 00:33:51] @ poison joined channel #puppet
[2010/06/24 00:37:30] @ project2501b joined channel #puppet
[2010/06/24 00:39:01] @ Quit: PhabX: Remote host closed the connection
[2010/06/24 00:39:15] @ tripoux joined channel #puppet
[2010/06/24 00:43:20] @ Quit: ckauhaus: Read error: Operation timed out
[2010/06/24 00:43:38] @ giskard joined channel #puppet
[2010/06/24 00:45:48] @ Quit: Djelibeybi: Quit: Leaving
[2010/06/24 00:46:50] @ Quit: m1nish: Ping timeout: 258 seconds
[2010/06/24 00:47:32] @ Quit: rcrowley: Quit: rcrowley
[2010/06/24 00:48:53] @ Quit: TREllis: Read error: Operation timed out
[2010/06/24 00:49:30] @ ckauhaus joined channel #puppet
[2010/06/24 00:49:47] @ verwilst joined channel #puppet
[2010/06/24 00:50:41] @ nexx joined channel #puppet
[2010/06/24 00:52:15] @ Quit: jeffmccune: Quit: jeffmccune
[2010/06/24 00:58:30] @ TREllis joined channel #puppet
[2010/06/24 00:59:43] @ m1nish joined channel #puppet
[2010/06/24 00:59:47] @ Quit: alk`: Ping timeout: 248 seconds
[2010/06/24 01:04:15] @ PhabX joined channel #puppet
[2010/06/24 01:05:20] @ Quit: bobinabottle: Quit: bobinabottle
[2010/06/24 01:06:48] @ Quit: TREllis: Ping timeout: 245 seconds
[2010/06/24 01:07:56] @ Quit: PhabX: Client Quit
[2010/06/24 01:08:35] @ mfournier joined channel #puppet
[2010/06/24 01:08:41] @ Quit: londo: Read error: Operation timed out
[2010/06/24 01:09:22] @ Quit: gebi: Ping timeout: 264 seconds
[2010/06/24 01:11:03] @ londo joined channel #puppet
[2010/06/24 01:12:33] @ xerxas joined channel #puppet
[2010/06/24 01:14:05] @ TREllis joined channel #puppet
[2010/06/24 01:17:53] @ Quit: m1nish: Ping timeout: 258 seconds
[2010/06/24 01:22:25] @ m1nish joined channel #puppet
[2010/06/24 01:30:00] @ PhabX joined channel #puppet
[2010/06/24 01:31:35] @ Welsh_Dwarf joined channel #puppet
[2010/06/24 01:31:41] @ Quit: jense: Read error: Connection reset by peer
[2010/06/24 01:33:17] <unixdaemon> If you require an exec does the require care what the return code is? Or is the fact it ran enough to satisfy it?
[2010/06/24 01:33:58] <Volcane> exec that returns != 0 is considered to have failed and wont satisfy dependencies
[2010/06/24 01:34:23] <unixdaemon> Ah, so that's how the test-your-configuration-with-puppet blogpost does it.
[2010/06/24 01:34:56] <unixdaemon> Although it does seem to leave broken remnants hanging about
[2010/06/24 01:35:31] <Volcane> yes, testing config files once they're already on servers isnt good
[2010/06/24 01:36:10] @ Quit: TREllis: Quit: leaving
[2010/06/24 01:36:26] @ TREllis joined channel #puppet
[2010/06/24 01:38:12] @ Quit: TREllis: Client Quit
[2010/06/24 01:38:21] @ Djelibeybi joined channel #puppet
[2010/06/24 01:41:25] @ bronto joined channel #puppet
[2010/06/24 01:51:13] @ Quit: mmaglana: Quit: Leaving.
[2010/06/24 01:53:55] <_eric> man, that's some evil magic: http://projects.puppetlabs.com/issues/3873
[2010/06/24 01:54:31] @ TREllis joined channel #puppet
[2010/06/24 01:59:43] @ Quit: TREllis: Ping timeout: 252 seconds
[2010/06/24 01:59:53] @ mmaglana joined channel #puppet
[2010/06/24 02:00:28] @ Quit: poison: Remote host closed the connection
[2010/06/24 02:00:41] @ Quit: mmaglana: Client Quit
[2010/06/24 02:00:51] @ poison joined channel #puppet
[2010/06/24 02:01:38] @ TREllis joined channel #puppet
[2010/06/24 02:11:45] @ Quit: TREllis: Ping timeout: 240 seconds
[2010/06/24 02:13:52] @ TREllis joined channel #puppet
[2010/06/24 02:19:27] @ Quit: TREllis: Ping timeout: 260 seconds
[2010/06/24 02:25:12] @ Quit: fluxdude: Read error: Connection reset by peer
[2010/06/24 02:26:05] @ TREllis joined channel #puppet
[2010/06/24 02:26:10] @ fluxdude joined channel #puppet
[2010/06/24 02:32:21] @ Demosthenes joined channel #puppet
[2010/06/24 02:33:01] @ p3rror joined channel #puppet
[2010/06/24 02:34:34] @ ecolitan joined channel #puppet
[2010/06/24 02:37:33] @ Quit: p3rror: Remote host closed the connection
[2010/06/24 02:39:34] @ Quit: flex__: Remote host closed the connection
[2010/06/24 02:42:13] @ Quit: TREllis: Ping timeout: 245 seconds
[2010/06/24 02:43:17] @ Quit: Guest87142: Ping timeout: 240 seconds
[2010/06/24 02:47:04] @ Quit: AdrianBroher: Quit: Leaving
[2010/06/24 02:47:45] @ Quit: Djelibeybi: Quit: Leaving
[2010/06/24 02:48:10] @ Quit: fluxdude: Read error: Connection reset by peer
[2010/06/24 02:48:52] @ AdrianBroher joined channel #puppet
[2010/06/24 02:49:05] @ fluxdude joined channel #puppet
[2010/06/24 02:49:29] @ p3rror joined channel #puppet
[2010/06/24 02:50:44] @ Quit: p3rror: Client Quit
[2010/06/24 02:51:26] @ p3rror joined channel #puppet
[2010/06/24 02:54:17] @ Quit: freshtonic: Quit: freshtonic
[2010/06/24 02:54:21] @ happymcplaksin joined channel #puppet
[2010/06/24 02:54:38] @ happymcplaksin left channel #puppet ()
[2010/06/24 02:57:20] @ Quit: xerxas: Quit: Leaving.
[2010/06/24 02:59:01] @ freshtonic joined channel #puppet
[2010/06/24 03:00:25] @ TREllis joined channel #puppet
[2010/06/24 03:04:43] @ Quit: ckauhaus: Read error: Operation timed out
[2010/06/24 03:10:33] @ mmaglana joined channel #puppet
[2010/06/24 03:18:29] @ Quit: fluxdude: Read error: Connection reset by peer
[2010/06/24 03:20:05] @ fluxdude joined channel #puppet
[2010/06/24 03:24:20] @ Quit: mmaglana: Quit: Leaving.
[2010/06/24 03:28:34] @ Quit: pting: Ping timeout: 264 seconds
[2010/06/24 03:28:53] @ Quit: TREllis: Ping timeout: 240 seconds
[2010/06/24 03:30:41] @ Quit: alban2: Quit: Leaving.
[2010/06/24 03:32:13] @ itguru joined channel #puppet
[2010/06/24 03:34:54] @ xerxas joined channel #puppet
[2010/06/24 03:38:19] @ Quit: malikai: Ping timeout: 260 seconds
[2010/06/24 03:49:00] @ \ask joined channel #puppet
[2010/06/24 03:51:40] @ alban2 joined channel #puppet
[2010/06/24 03:55:23] @ blahdeblah1 joined channel #puppet
[2010/06/24 03:55:34] @ Quit: blahdeblah: Read error: Connection reset by peer
[2010/06/24 03:55:49] @ Quit: \ask: Remote host closed the connection
[2010/06/24 03:57:26] @ Quit: blahdeblah1: Remote host closed the connection
[2010/06/24 03:57:40] @ TREllis joined channel #puppet
[2010/06/24 03:57:53] @ Quit: alban2: Quit: Leaving.
[2010/06/24 04:01:57] @ Quit: m1nish: Ping timeout: 258 seconds
[2010/06/24 04:02:16] @ Quit: pinoyskull: Ping timeout: 276 seconds
[2010/06/24 04:02:43] @ Quit: TREllis: Ping timeout: 258 seconds
[2010/06/24 04:07:58] <mikepea> _eric: I ran into that the other day in an unless clause (unless => "test -d /var/lib/postgresql/data"). My workaround was to change the unless to check for a file that I wasn't defining as a resource - unless => "test -f /var/lib/postgresql/data/PG_VERSION'.
[2010/06/24 04:08:31] <mikepea> Seems to have been introduced sometime in 0.25.x - definitely still current in 0.25.5.
[2010/06/24 04:08:44] @ Quit: QtPlatypus: Ping timeout: 240 seconds
[2010/06/24 04:09:10] @ TREllis joined channel #puppet
[2010/06/24 04:12:52] @ poison_ joined channel #puppet
[2010/06/24 04:13:11] @ blahdeblah joined channel #puppet
[2010/06/24 04:15:41] @ Quit: poison: Ping timeout: 260 seconds
[2010/06/24 04:18:19] @ alban2 joined channel #puppet
[2010/06/24 04:20:16] @ pinoyskull joined channel #puppet
[2010/06/24 04:23:22] @ Quit: alban2: Quit: Leaving.
[2010/06/24 04:29:23] @ alban2 joined channel #puppet
[2010/06/24 04:30:29] @ Quit: showy: Ping timeout: 240 seconds
[2010/06/24 04:36:28] @ Quit: alexine_dsouza: Read error: Connection reset by peer
[2010/06/24 04:37:34] @ Quit: ceren: Quit: ceren
[2010/06/24 04:37:56] @ ceren joined channel #puppet
[2010/06/24 04:40:06] @ Quit: sdog: Quit: Leaving.
[2010/06/24 04:40:24] @ alcy joined channel #puppet
[2010/06/24 04:42:34] @ Quit: ceren: Ping timeout: 276 seconds
[2010/06/24 04:42:41] @ Dyson joined channel #puppet
[2010/06/24 04:42:45] <Dyson> hi#
[2010/06/24 04:44:08] <Dyson> how do you guys solve the following: i got several groups of machines that need a bunch of files that is private to the group
[2010/06/24 04:44:47] <Dyson> s/is/are/
[2010/06/24 04:45:41] @ Quit: voodoo_: Ping timeout: 240 seconds
[2010/06/24 04:45:53] <Dyson> is there a better/saner way than declaring a fileshare for every group?
[2010/06/24 04:47:29] <tim|mac> Dyson: that kind of depends what the files are used for and how they are used...
[2010/06/24 04:47:46] <tim|mac> and how many files there are
[2010/06/24 04:47:47] @ voodoo_ joined channel #puppet
[2010/06/24 04:47:49] <tim|mac> how big they are
[2010/06/24 04:47:50] <tim|mac> etc.
[2010/06/24 04:49:03] <Volcane> safest is a fileshare for the group listing the groups ips, but thats horrible
[2010/06/24 04:49:39] @ Quit: pmorillo: Ping timeout: 248 seconds
[2010/06/24 04:52:07] @ pmorillo joined channel #puppet
[2010/06/24 04:58:06] <Dyson> what is the next unsafer variant?
[2010/06/24 04:58:24] <Dyson> is there anything in between "everyone gets the file" and explitic listing?
[2010/06/24 04:58:28] <Volcane> source => "puppet:///path/to/file.${group}"
[2010/06/24 04:59:06] <Dyson> hrm... then evey host with a certificate can download all shared keys
[2010/06/24 04:59:11] <Dyson> that doesn't work out
[2010/06/24 04:59:19] <Volcane> you asked :P
[2010/06/24 04:59:26] <Dyson> :)
[2010/06/24 05:00:44] @ Quit: pmorillo: Ping timeout: 265 seconds
[2010/06/24 05:03:43] @ Quit: TREllis: Ping timeout: 260 seconds
[2010/06/24 05:06:45] @ pmorillo joined channel #puppet
[2010/06/24 05:07:38] @ Quit: pinoyskull: Ping timeout: 245 seconds
[2010/06/24 05:07:55] @ macfly joined channel #puppet
[2010/06/24 05:14:12] @ Quit: tommy_: Quit: Leaving...
[2010/06/24 05:16:02] @ elementai joined channel #puppet
[2010/06/24 05:16:29] @ Quit: macfly: Ping timeout: 240 seconds
[2010/06/24 05:24:22] @ ahasenack joined channel #puppet
[2010/06/24 05:25:28] @ fbe joined channel #puppet
[2010/06/24 05:29:12] @ macfly joined channel #puppet
[2010/06/24 05:29:41] @ Quit: TheHaven: Ping timeout: 265 seconds
[2010/06/24 05:30:52] @ TheHaven joined channel #puppet
[2010/06/24 05:38:56] @ Quit: pmorillo: Ping timeout: 258 seconds
[2010/06/24 05:39:37] @ TREllis joined channel #puppet
[2010/06/24 05:40:22] @ pmorillo joined channel #puppet
[2010/06/24 05:40:51] @ Quit: magickal1: Ping timeout: 248 seconds
[2010/06/24 05:43:16] @ Quit: blahdeblah: Ping timeout: 265 seconds
[2010/06/24 05:57:35] @ joe-mac joined channel #puppet
[2010/06/24 06:00:03] @ jab_doa joined channel #puppet
[2010/06/24 06:01:00] <joe-mac> anybody distributing private keys to workstations with puppet?
[2010/06/24 06:01:13] <bhearsum> we did at one point
[2010/06/24 06:01:32] @ reyjrar joined channel #puppet
[2010/06/24 06:04:03] <joe-mac> bhearsum: why did you stop? security concerns?
[2010/06/24 06:04:30] <bhearsum> naw, we stopped because with the amount of key swapping we had to do on those machines, it was a PITA to have Puppet manange them
[2010/06/24 06:04:38] <joe-mac> o i c
[2010/06/24 06:04:46] <bhearsum> security wasn't a concern because all of our traffic stays within our own network in our colo
[2010/06/24 06:06:55] <joe-mac> security is always a cocnern for me lol
[2010/06/24 06:07:54] @ [GuS] joined channel #puppet
[2010/06/24 06:13:25] @ Bass10 joined channel #puppet
[2010/06/24 06:18:39] @ gebi joined channel #puppet
[2010/06/24 06:20:51] @ bjaspan joined channel #puppet
[2010/06/24 06:21:27] @ Quit: alcy: Quit: Page closed
[2010/06/24 06:25:58] @ showy joined channel #puppet
[2010/06/24 06:36:08] @ ckauhaus joined channel #puppet
[2010/06/24 06:39:19] <prometheanfire> the file function has ensure = present by default?
[2010/06/24 06:40:24] <jbooth> Yes
[2010/06/24 06:40:31] <prometheanfire> kk
[2010/06/24 06:41:48] @ Quit: AdrianBroher: Quit: Leaving
[2010/06/24 06:45:55] @ Quit: bjaspan: Quit: bjaspan
[2010/06/24 06:48:49] @ pheezy joined channel #puppet
[2010/06/24 06:51:24] @ notbrien joined channel #puppet
[2010/06/24 06:53:12] @ jeffmccune joined channel #puppet
[2010/06/24 06:53:45] @ kaptk2 joined channel #puppet
[2010/06/24 06:53:48] @ Quit: ckauhaus: Read error: Operation timed out
[2010/06/24 06:59:10] @ AdrianBroher joined channel #puppet
[2010/06/24 07:00:35] @ Quit: itguru: Read error: Connection reset by peer
[2010/06/24 07:02:10] @ Quit: fbe: Ping timeout: 264 seconds
[2010/06/24 07:02:26] @ itguru joined channel #puppet
[2010/06/24 07:07:26] @ Quit: shug: Quit: Leaving
[2010/06/24 07:08:18] @ Quit: p3rror: Ping timeout: 272 seconds
[2010/06/24 07:09:47] @ ckauhaus joined channel #puppet
[2010/06/24 07:12:44] @ p3rror joined channel #puppet
[2010/06/24 07:14:38] @ Quit: p3rror: Max SendQ exceeded
[2010/06/24 07:14:40] @ Quit: ckauhaus: Ping timeout: 276 seconds
[2010/06/24 07:15:47] @ cabernet joined channel #puppet
[2010/06/24 07:16:28] @ Quit: stanlly: Read error: Connection reset by peer
[2010/06/24 07:17:04] @ stanlly joined channel #puppet
[2010/06/24 07:18:39] @ p3rror joined channel #puppet
[2010/06/24 07:19:07] @ Quit: gebi: Read error: Operation timed out
[2010/06/24 07:19:50] @ bjaspan joined channel #puppet
[2010/06/24 07:20:05] <prometheanfire> Jun 24 10:19:49 puppet puppetmasterd[8187]: Could not retrieve fact ipaddress
[2010/06/24 07:20:26] @ Quit: p3rror: Max SendQ exceeded
[2010/06/24 07:21:03] @ p3rror joined channel #puppet
[2010/06/24 07:24:47] @ iamchrisf joined channel #puppet
[2010/06/24 07:25:08] <iamchrisf> pastie: help
[2010/06/24 07:26:40] @ Quit: p3rror: Ping timeout: 272 seconds
[2010/06/24 07:28:42] @ p3rror joined channel #puppet
[2010/06/24 07:30:08] @ rcrowley joined channel #puppet
[2010/06/24 07:30:22] @ alk` joined channel #puppet
[2010/06/24 07:32:59] @ poison joined channel #puppet
[2010/06/24 07:33:00] @ Quit: poison_: Read error: Connection reset by peer
[2010/06/24 07:33:30] <iamchrisf> Trying to auto size innodb bufferpool using $memorysize
[2010/06/24 07:33:41] <iamchrisf> this is where i'm stuck http://pastie.org/1017202
[2010/06/24 07:33:48] @ pinoyskull joined channel #puppet
[2010/06/24 07:34:07] <iamchrisf> where can I generate the buffersize variable. Already have a my.cnf.erb template setup.
[2010/06/24 07:34:38] <Volcane> whats Integer()?
[2010/06/24 07:34:45] @ bitfield joined channel #puppet
[2010/06/24 07:35:01] <iamchrisf> Convert Float to an integer.
[2010/06/24 07:35:09] <tim|mac> iamchrisf: I'd go for inline_template, probably...
[2010/06/24 07:35:21] <Volcane> iamchrisf: i think you made it up witout looking in the docs :)
[2010/06/24 07:35:49] <iamchrisf> I googled: ruby convert float to integer
[2010/06/24 07:35:57] <iamchrisf> And that's what I got.
[2010/06/24 07:36:00] <Volcane> a) its not a float
[2010/06/24 07:36:04] <Volcane> b) puppet manifests arent ruby
[2010/06/24 07:36:12] <Volcane> "512.17 MB" is a string
[2010/06/24 07:36:23] <iamchrisf> ack. i have to munge the string.
[2010/06/24 07:36:41] <Volcane> need to do some nasty inline_template hack
[2010/06/24 07:36:44] <tim|mac> iamchrisf: inline_template is your friend
[2010/06/24 07:36:51] <Volcane> or a fact that doesnt suck
[2010/06/24 07:36:58] <iamchrisf> hah
[2010/06/24 07:37:13] <Volcane> which if you're on linux only etc, should be easy
[2010/06/24 07:37:40] <iamchrisf> specifically CentOS.
[2010/06/24 07:37:45] <iamchrisf> all we use.
[2010/06/24 07:38:05] <tim|mac> my condolences
[2010/06/24 07:38:12] <tim|mac> :P
[2010/06/24 07:38:14] <tim|mac> sorry
[2010/06/24 07:38:18] <tim|mac> i'l stfu
[2010/06/24 07:38:30] <Volcane> sadly /proc/meminfo is rubbish too
[2010/06/24 07:39:07] <iamchrisf> i like rpm. not a fan of apt.
[2010/06/24 07:39:24] <iamchrisf> http://docs.puppetlabs.com/trac/puppet/wiki/PuppetTemplating 404.
[2010/06/24 07:40:32] <tmz> iamchrisf: http://projects.puppetlabs.com/projects/puppet/wiki/Puppet_Templating
[2010/06/24 07:41:03] <tmz> or http://docs.puppetlabs.com/guides/templating.html
[2010/06/24 07:41:05] <tim|mac> or http://docs.puppetlabs.com/guides/templating.html
[2010/06/24 07:41:09] <tim|mac> heh
[2010/06/24 07:41:11] <iamchrisf> thx
[2010/06/24 07:41:13] <tim|mac> great minds... ;-)
[2010/06/24 07:41:34] <Omahn> Would anyone be able to tell me how to add a pre-existing user to a pre-existing group in puppet? I've scanned the documentation but it's a little unclear.
[2010/06/24 07:42:21] <Omahn> We're currently running 0.24.8, with an upgrade to 0.25.3 planned for the near future.
[2010/06/24 07:42:28] <Volcane> why .3?
[2010/06/24 07:42:40] <Omahn> I believe .3 is in Lucid :-)
[2010/06/24 07:42:51] <Omahn> Volcane: (Hi BTW!)
[2010/06/24 07:42:57] <Volcane> :)
[2010/06/24 07:44:56] @ Quit: rmiller4pi8: Quit: Leaving.
[2010/06/24 07:46:29] @ Quit: jeffmccune: Quit: jeffmccune
[2010/06/24 07:49:18] <jbooth> Omahn: I'd assume you could just declare user { "someone": groups => [list of groups] } but I've never had an instance to try.
[2010/06/24 07:49:37] <jbooth> In some ways I think puppet needs a "raw" user provider that avoids useradd/usermod, because sometimes said tools are too smart for their own good.
[2010/06/24 07:50:04] <jbooth> IE: joined to AD, I can't create local accounts for administrators because they already exist... in the AD.
[2010/06/24 07:54:05] <Omahn> jbooth: We tried the user { "foobar": idea but it fails as the user already exists, it seems to always try to create a new account. We're now veering in the direction of an exec and usermod. Should work.
[2010/06/24 07:54:16] @ Quit: cabernet: Quit: cabernet
[2010/06/24 07:59:49] @ Quit: [GuS]: Remote host closed the connection
[2010/06/24 08:01:24] @ Quit: iranzo: Quit: con esto y un bizcocho.....
[2010/06/24 08:03:31] @ MattyM joined channel #puppet
[2010/06/24 08:06:02] @ rhyno joined channel #puppet
[2010/06/24 08:06:07] @ Quit: poison: Remote host closed the connection
[2010/06/24 08:06:49] @ mikeh_ joined channel #puppet
[2010/06/24 08:07:13] <mikeh_> where can I find a list of all variables that are available to me inside puppet templates?
[2010/06/24 08:07:26] <mikeh_> I've read through the template docs, but can't find a list
[2010/06/24 08:08:10] @ Quit: nevyn: Ping timeout: 264 seconds
[2010/06/24 08:08:37] <jbooth> mikeh_: Anything you could have in the puppet manifest at the point template() is called
[2010/06/24 08:08:38] <joe-mac> you mean programmatically at run time or in general?
[2010/06/24 08:08:54] <jbooth> Which is no closer to an exhaustive list than you were, but it is the answer.
[2010/06/24 08:09:06] <jbooth> Ruby probably has some introspection you could write a template to show you what's available
[2010/06/24 08:09:13] <joe-mac> mikeh_: you can run facter on a node, gets you allt he facts, but variables you defined, i'm not sure how to access them at run time, puppetdoc shows them though
[2010/06/24 08:09:25] <joe-mac> jbooth is right, just never had a need for it
[2010/06/24 08:09:26] <mikeh_> just in general. I want access to the node name within a template, and wanted to know what variable that was stored in, and if there was a list of what comes defined as standard
[2010/06/24 08:09:37] <joe-mac> mikeh_: run 'facter' on a node
[2010/06/24 08:09:42] <joe-mac> that one is in $host
[2010/06/24 08:09:53] <mikeh_> thank you, will try that!
[2010/06/24 08:09:57] @ nevyn joined channel #puppet
[2010/06/24 08:11:33] @ Quit: bitfield: Quit: Colloquy for iPhone - http://colloquy.mobi
[2010/06/24 08:13:27] @ Guest87142 joined channel #puppet
[2010/06/24 08:14:02] @ jeffmccune joined channel #puppet
[2010/06/24 08:14:22] @ Quit: ecolitan: Remote host closed the connection
[2010/06/24 08:15:41] @ Quit: Guest87142: Remote host closed the connection
[2010/06/24 08:16:28] @ Quit: tonyskapunk: Remote host closed the connection
[2010/06/24 08:16:46] @ tonyskapunk joined channel #puppet
[2010/06/24 08:17:24] @ Quit: f3ew: Ping timeout: 265 seconds
[2010/06/24 08:18:24] @ Quit: MattyM: Ping timeout: 258 seconds
[2010/06/24 08:19:34] @ Quit: pmorillo: Quit: pmorillo
[2010/06/24 08:19:37] @ f3ew joined channel #puppet
[2010/06/24 08:22:48] @ [GuS] joined channel #puppet
[2010/06/24 08:24:59] @ rene joined channel #puppet
[2010/06/24 08:25:27] @ rene is now known as Guest51598
[2010/06/24 08:25:44] @ rmiller4pi8 joined channel #puppet
[2010/06/24 08:26:45] @ Quit: mikeh_: Quit: Page closed
[2010/06/24 08:28:19] @ poison joined channel #puppet
[2010/06/24 08:29:23] @ lak joined channel #puppet
[2010/06/24 08:30:58] @ snoop joined channel #puppet
[2010/06/24 08:37:34] @ mick joined channel #puppet
[2010/06/24 08:37:52] @ Quit: TheHaven: Quit: Leaving
[2010/06/24 08:37:54] @ mick is now known as Guest84497
[2010/06/24 08:38:29] @ Quit: mqr: Quit: mqr
[2010/06/24 08:39:28] @ asenchi joined channel #puppet
[2010/06/24 08:39:46] @ asenchi left channel #puppet ()
[2010/06/24 08:44:08] @ gm1959 joined channel #puppet
[2010/06/24 08:48:50] @ Quit: rmiller4pi8: Quit: Leaving.
[2010/06/24 08:49:17] @ bender183 joined channel #puppet
[2010/06/24 08:54:28] <iamchrisf> btw figured out how to auto gen the innodb buffer pool size form memorysize. Here's the code: http://pastie.org/1017322
[2010/06/24 08:54:47] <iamchrisf> thanks to tim|mac for suggesting doing it straight in the template.
[2010/06/24 09:05:47] @ tecto_ joined channel #puppet
[2010/06/24 09:05:47] @ Quit: tecto_: Changing host
[2010/06/24 09:05:47] @ tecto_ joined channel #puppet
[2010/06/24 09:06:18] <gm1959> I'm getting an error that says "Exported resource Nagios_command[nrpe_check_ntp] cannot override local resource" - how do I go about finding where the conflict exists?
[2010/06/24 09:07:07] @ Quit: Welsh_Dwarf: Read error: Connection reset by peer
[2010/06/24 09:08:24] @ addumb joined channel #puppet
[2010/06/24 09:11:28] @ Quit: mfournier: Ping timeout: 252 seconds
[2010/06/24 09:11:42] <jbooth> Volcane, you around?
[2010/06/24 09:12:41] @ alfism joined channel #puppet
[2010/06/24 09:13:12] <Volcane> lo
[2010/06/24 09:13:15] @ Quit: Guest51598: Ping timeout: 240 seconds
[2010/06/24 09:13:46] <jbooth> I have a proof of concept concat example, in puppet types. The interesting sections are concat.rb and actual_content in file.rb: http://pastie.org/1017348
[2010/06/24 09:13:58] @ Quit: verwilst: Quit: Ex-Chat
[2010/06/24 09:14:32] <jbooth> It doesn't have any ordering or the ability to do anything other than content=>"foo" specifing data right now, but it gives a skeleton for how it'd work "for real"
[2010/06/24 09:15:08] <Volcane> hmm, so how do you specify more concat for the file from soe other resource?
[2010/06/24 09:15:36] <Volcane> oh i see
[2010/06/24 09:15:43] <Volcane> interesting
[2010/06/24 09:15:43] <jbooth> I edited in a manifest at top
[2010/06/24 09:15:44] <jbooth> hit reload on it
[2010/06/24 09:16:00] <jbooth> Doing the resource ordering will be a bit annoying, but is probably possible.
[2010/06/24 09:16:00] <Volcane> yeah i figured it out right aftrer i asked :)
[2010/06/24 09:16:12] @ littleidea joined channel #puppet
[2010/06/24 09:16:28] <Volcane> thats pretty nice yeah
[2010/06/24 09:16:54] @ Quit: lak: Quit: lak
[2010/06/24 09:17:01] * Volcane 's spent almost no time looking at provider/type code. stil learning how to read the stuff :)
[2010/06/24 09:17:06] <jbooth> It lacks the ability to pull from the local filesystem
[2010/06/24 09:17:22] @ tep joined channel #puppet
[2010/06/24 09:17:22] @ Quit: tep: Changing host
[2010/06/24 09:17:22] @ tep joined channel #puppet
[2010/06/24 09:17:25] @ MattyM joined channel #puppet
[2010/06/24 09:18:01] @ Quit: giskard: Remote host closed the connection
[2010/06/24 09:19:44] <gm1959> I'm getting an error that says "Exported resource Nagios_command[nrpe_check_ntp] cannot override local resource" - how do I go about finding where the conflict exists? I've looked at the data in the database, and the host running the invocation (node2) is the same node that is the original owner of the resource. So how can there be a conflict?
[2010/06/24 09:20:29] @ Quit: bug: Quit: bug
[2010/06/24 09:20:41] <addumb> gm1959: I think I got that error when I tried to define a resource twice
[2010/06/24 09:20:58] <addumb> (totally accidentally, I swear)
[2010/06/24 09:21:35] <Volcane> gm1959: if you export a resource it has to be unique across all your machines
[2010/06/24 09:21:40] <gm1959> yeah, but I've been all over my code and I dont see where it could be double defined, and this node running is the only one that inherits this type.
[2010/06/24 09:22:36] @ giskard joined channel #puppet
[2010/06/24 09:22:53] <Disconnect> so the good news is, i got off the old thousands-of-file-resources nagios module and onto native types. the bad news is, its been sitting 30 minutes after 'cached config'. maybe cuz of the 27272 lines it dumped into nagios_service.cfg...
[2010/06/24 09:26:28] @ Quit: yakub: Quit: leaving
[2010/06/24 09:28:04] @ Quit: themroc: Remote host closed the connection
[2010/06/24 09:29:39] @ Quit: giskard: Remote host closed the connection
[2010/06/24 09:30:04] @ \ask joined channel #puppet
[2010/06/24 09:31:12] <addumb> gm1959: are you using the example from http://projects.puppetlabs.com/projects/puppet/wiki/Exported_Resources?
[2010/06/24 09:31:58] <Volcane> gm1959: the exported resources db doesnt clean itself, if you made a mistake at some point your old mistakes live on in the DB as well
[2010/06/24 09:32:17] <gm1959> I think I see what the error is. I was talking to Volcane yesterday and trying to seperate out some resources. In doing so, I somehow got them imported by default.
[2010/06/24 09:32:35] <addumb> oh cool
[2010/06/24 09:32:37] <gm1959> Volcane - yeah, I was just in the admin screen deleting the rows.
[2010/06/24 09:32:58] <gm1959> now I have to figure out why it's being included by default
[2010/06/24 09:34:24] @ mqr joined channel #puppet
[2010/06/24 09:35:26] <gm1959> Volcane - I messed up that foo.pp thing from yesterday where I put the resource in a sep .pp file.
[2010/06/24 09:35:31] <gm1959> that was the problem
[2010/06/24 09:36:35] @ Quit: pinoyskull: Quit: Leaving
[2010/06/24 09:39:52] @ mqr_ joined channel #puppet
[2010/06/24 09:39:52] @ Quit: mqr: Read error: Connection reset by peer
[2010/06/24 09:40:19] @ Quit: MattyM: Ping timeout: 248 seconds
[2010/06/24 09:40:55] @ WALoeIII joined channel #puppet
[2010/06/24 09:42:09] <gm1959> thankfully the schema is pretty simple to understand. :)
[2010/06/24 09:43:16] @ Quit: mgk: Quit: mgk
[2010/06/24 09:45:14] @ Quit: alfism: Quit: alfism
[2010/06/24 09:45:34] @ thekad-afk is now known as thekad
[2010/06/24 09:47:00] @ pipegeek joined channel #puppet
[2010/06/24 09:47:39] @ Guest51598 joined channel #puppet
[2010/06/24 09:48:50] @ giskard joined channel #puppet
[2010/06/24 09:49:20] <pipegeek> When using LDAP for puppet node declaration (node_terminus = ldap), is it possible to declare nodes there that inherit from (parentnode:) node declarations in puppet configuration files?
[2010/06/24 09:51:56] @ Quit: jaredrhine: Ping timeout: 258 seconds
[2010/06/24 09:53:06] <Dyson> pipegeek: i haven't done it yet, but iirc it should work
[2010/06/24 09:55:22] @ rene joined channel #puppet
[2010/06/24 09:55:50] @ rene is now known as Guest12006
[2010/06/24 09:55:56] <pipegeek> thanks, Dyson
[2010/06/24 09:55:58] @ Quit: littleidea: Quit: littleidea
[2010/06/24 09:56:01] @ Quit: itguru: Ping timeout: 252 seconds
[2010/06/24 09:56:09] @ Quit: mqr_: Read error: Connection reset by peer
[2010/06/24 09:56:24] @ mqr joined channel #puppet
[2010/06/24 09:58:44] @ Quit: Guest51598: Ping timeout: 276 seconds
[2010/06/24 09:59:26] @ Quit: bronto: Quit: Leaving.
[2010/06/24 10:01:13] @ Quit: xerxas: Quit: Leaving.
[2010/06/24 10:02:45] @ Quit: alban2: Ping timeout: 240 seconds
[2010/06/24 10:03:35] @ MPSimmons joined channel #puppet
[2010/06/24 10:04:03] @ rmiller4pi8 joined channel #puppet
[2010/06/24 10:04:41] @ marlow joined channel #puppet
[2010/06/24 10:04:44] @ rmiller4pi8 left channel #puppet ()
[2010/06/24 10:05:04] @ mqr_ joined channel #puppet
[2010/06/24 10:05:04] @ Quit: mqr: Read error: Connection reset by peer
[2010/06/24 10:05:38] <marlow> Having an issue with" Error 500 on SERVER" when setting up passenger with puppet. Anyone have experience in that arena?
[2010/06/24 10:06:09] @ alfism joined channel #puppet
[2010/06/24 10:06:15] @ littleidea joined channel #puppet
[2010/06/24 10:06:41] @ Quit: mqr_: Read error: Connection reset by peer
[2010/06/24 10:06:42] @ rmiller4pi8 joined channel #puppet
[2010/06/24 10:07:35] @ mqr joined channel #puppet
[2010/06/24 10:08:51] @ Quit: bender183: Ping timeout: 240 seconds
[2010/06/24 10:11:04] @ Quit: littleidea: Client Quit
[2010/06/24 10:11:48] @ Quit: mqr: Ping timeout: 245 seconds
[2010/06/24 10:12:06] @ littleidea joined channel #puppet
[2010/06/24 10:13:10] <fluxdude> is it possible to do a forced downgrade via puppet?
[2010/06/24 10:13:20] <bhearsum> which package provider?
[2010/06/24 10:13:21] <fluxdude> for rpm/yum CentOS?
[2010/06/24 10:13:32] <fluxdude> usually you have to do a yum downgrade
[2010/06/24 10:13:32] <bhearsum> yeah, just set version to the specific version number you want
[2010/06/24 10:13:38] <fluxdude> not sure how puppet deals
[2010/06/24 10:13:50] <fluxdude> is =1.0 enough to let puppet determine that?
[2010/06/24 10:14:06] <fluxdude> ie puppet find version and runs yum downgrade instead of yum install/update?
[2010/06/24 10:14:18] <bhearsum> i don't know
[2010/06/24 10:14:25] <fluxdude> I'm on a higher version, iirc it just makes sure that the version is at least that high
[2010/06/24 10:14:42] <bhearsum> with ensure => latest or ensure => installed ?
[2010/06/24 10:14:42] <fluxdude> but I'm on a higher rpm version and I need it to force the version down a lower number as part of a rollback
[2010/06/24 10:15:08] <bhearsum> sorry, i meant that you need to set ensure => to a specific version number
[2010/06/24 10:15:17] <Volcane> dont think puppet knows about downgrade
[2010/06/24 10:15:19] <Volcane> for yum
[2010/06/24 10:15:25] <bhearsum> ah
[2010/06/24 10:15:36] <addumb> ensure => 1.2.3 prevents newer versions from being installed, but puppet (because of yum) can't really downgrade.
[2010/06/24 10:15:37] @ mqr joined channel #puppet
[2010/06/24 10:15:50] <addumb> you'd have to ensure => absent, then re-run with ensure => 1.2.3 I think?
[2010/06/24 10:16:12] <Volcane> addumb: new yum can downgrade, but only really works for simple rpms with no deps, so pretty shitty all round
[2010/06/24 10:16:17] <addumb> orly??
[2010/06/24 10:16:27] <Volcane> ie. it doesnt downgrade all the dependant packages
[2010/06/24 10:16:36] <addumb> that's close enough haha
[2010/06/24 10:16:43] <Volcane> yeah, its like apt-get
[2010/06/24 10:16:50] <Volcane> portage does sane downgrades
[2010/06/24 10:17:08] @ tonyskap` joined channel #puppet
[2010/06/24 10:17:17] <Volcane> still, i dont think many packagers keep downgrades in mind, wouldnt trust it :)
[2010/06/24 10:17:28] @ tonyskap` is now known as tonyskapunk`
[2010/06/24 10:18:26] @ alban2 joined channel #puppet
[2010/06/24 10:18:46] @ Quit: tonyskapunk: Ping timeout: 258 seconds
[2010/06/24 10:22:21] @ Quit: poison: Remote host closed the connection
[2010/06/24 10:22:30] <rmiller4pi8> anyone else at USENIX / CONFIG right now?
[2010/06/24 10:22:39] <rmiller4pi8> i know Velocity is the bee's knees these days
[2010/06/24 10:22:56] @ Quit: \ask: Remote host closed the connection
[2010/06/24 10:23:41] @ \ask joined channel #puppet
[2010/06/24 10:23:46] @ Quit: \ask: Remote host closed the connection
[2010/06/24 10:24:58] @ |ecapriolo| joined channel #puppet
[2010/06/24 10:25:14] @ \ask joined channel #puppet
[2010/06/24 10:25:38] @ Quit: \ask: Remote host closed the connection
[2010/06/24 10:27:34] @ Quit: littleidea: Quit: littleidea
[2010/06/24 10:30:04] <marlow> Anyone have experience getting a puppet server going with Passenger?
[2010/06/24 10:33:29] @ Quit: TREllis: Quit: Flughafen
[2010/06/24 10:33:43] @ littleidea joined channel #puppet
[2010/06/24 10:34:16] @ Quit: mqr: Ping timeout: 260 seconds
[2010/06/24 10:36:16] @ mqr joined channel #puppet
[2010/06/24 10:37:47] <lisa> in a node definition can i define a variable, $foo, and then use that variable in a class's template that is implemented by that node? for example, a class which manages /etc/nsswitch.conf could have a template that acts differently based on whther or not the node should use ldap, winbindd or only files. i'm new to the template thing and want to get it down before i waste time implementing it
[2010/06/24 10:40:09] <Dominic> you can lisa, though perhaps you'd be better off with three different classes (that could extend a base)
[2010/06/24 10:40:29] <Dominic> then you could include extra config files or packages if ldap is chosen etc
[2010/06/24 10:40:29] <lisa> Dominic: that is even better
[2010/06/24 10:40:53] <lisa> im still trying to wrap my head around templates. :)
[2010/06/24 10:41:08] <Dominic> I try to minimise the number of variables, keeps the model simpler
[2010/06/24 10:43:45] @ mattock joined channel #puppet
[2010/06/24 10:44:34] @ bug joined channel #puppet
[2010/06/24 10:47:09] @ rmiller4pi81 joined channel #puppet
[2010/06/24 10:47:09] @ Quit: rmiller4pi8: Read error: Connection reset by peer
[2010/06/24 10:47:41] @ Quit: ipl31: Ping timeout: 240 seconds
[2010/06/24 10:47:44] @ ipl31 joined channel #puppet
[2010/06/24 10:49:08] @ MattyM joined channel #puppet
[2010/06/24 10:49:10] @ Quit: Guest12006: Ping timeout: 276 seconds
[2010/06/24 10:50:00] <Disconnect> hmm. how long should i expect puppet to take to parse out the native nagios configs? it looks to be rapidly passing 30 minutes. thats an issue :(
[2010/06/24 10:50:07] <Disconnect> if i wipe the config it only takes 5 to run.
[2010/06/24 10:51:46] @ rene joined channel #puppet
[2010/06/24 10:52:14] @ rene is now known as Guest54239
[2010/06/24 10:52:21] @ Quit: littleidea: Quit: littleidea
[2010/06/24 10:52:41] @ Quit: rmiller4pi81: Ping timeout: 276 seconds
[2010/06/24 10:52:56] @ jaredrhine joined channel #puppet
[2010/06/24 10:53:42] @ plathrop-away is now known as plathrop
[2010/06/24 10:55:01] @ Quit: yannL: Remote host closed the connection
[2010/06/24 10:56:28] @ Quit: omry: Ping timeout: 265 seconds
[2010/06/24 11:00:34] @ DavidS joined channel #puppet
[2010/06/24 11:02:27] @ MaxBube joined channel #puppet
[2010/06/24 11:03:15] @ Quit: marlow: Quit: Page closed
[2010/06/24 11:03:55] <manlymatt83> how do you guys manage things on servers that aren't managed in puppet? For instance, database data? Do you just leave open comments?
[2010/06/24 11:04:35] @ Quit: MaxBube: Read error: Connection reset by peer
[2010/06/24 11:04:43] @ Quit: DavidS: Client Quit
[2010/06/24 11:05:00] @ DavidS joined channel #puppet
[2010/06/24 11:05:35] @ Quit: DavidS: Client Quit
[2010/06/24 11:05:55] @ DavidS joined channel #puppet
[2010/06/24 11:10:07] @ yannL joined channel #puppet
[2010/06/24 11:11:55] @ tonyskapunk` is now known as tonyskapunk
[2010/06/24 11:12:30] @ Quit: stanlly: Read error: Connection reset by peer
[2010/06/24 11:13:03] @ stanlly joined channel #puppet
[2010/06/24 11:14:00] @ pting joined channel #puppet
[2010/06/24 11:15:52] @ omry joined channel #puppet
[2010/06/24 11:16:45] @ Quit: tecto_: Read error: Connection reset by peer
[2010/06/24 11:17:01] @ littleidea joined channel #puppet
[2010/06/24 11:17:02] @ tecto_ joined channel #puppet
[2010/06/24 11:19:23] @ Quit: Guest54239: Ping timeout: 260 seconds
[2010/06/24 11:19:24] @ pahalial joined channel #puppet
[2010/06/24 11:21:05] <gepetto> ::redmine:: Wiki edit: Publications (#6) @ http://projects.reductivelabs.com/projects/1/wiki/Publications?version=6 (by Laura Calhoun)
[2010/06/24 11:23:03] @ himynameisthor joined channel #puppet
[2010/06/24 11:24:41] @ robinbowes_nb joined channel #puppet
[2010/06/24 11:27:26] @ himynameisthor is now known as hephaestus
[2010/06/24 11:29:31] @ rmiller4pi8 joined channel #puppet
[2010/06/24 11:32:19] @ rmiller4pi81 joined channel #puppet
[2010/06/24 11:35:11] @ rmiller4pi82 joined channel #puppet
[2010/06/24 11:36:14] @ Quit: rmiller4pi8: Ping timeout: 276 seconds
[2010/06/24 11:36:53] @ Quit: rmiller4pi81: Ping timeout: 260 seconds
[2010/06/24 11:39:40] @ poison joined channel #puppet
[2010/06/24 11:40:50] @ Quit: littleidea: Quit: littleidea
[2010/06/24 11:40:53] @ Quit: yannL: Remote host closed the connection
[2010/06/24 11:42:10] @ Quit: rmiller4pi82: Ping timeout: 252 seconds
[2010/06/24 11:42:43] @ \ask joined channel #puppet
[2010/06/24 11:49:21] @ Quit: \ask: Remote host closed the connection
[2010/06/24 11:49:54] @ \ask joined channel #puppet
[2010/06/24 11:52:52] @ rene joined channel #puppet
[2010/06/24 11:53:00] <_eric> is it possible to make a resource that is subscribed to a target only run if the target was succesful?
[2010/06/24 11:53:20] @ rene is now known as Guest90849
[2010/06/24 11:54:34] <jbooth> if you require something and it fails, then you fail to apply.
[2010/06/24 11:54:55] <jbooth> You may need both require and subscribe to achieve that though
[2010/06/24 11:55:06] <jbooth> (in which case you might be better off with require and notify)
[2010/06/24 11:55:15] <_eric> ah
[2010/06/24 11:56:11] <_eric> if I use require and notify, can I still use refreshonly?
[2010/06/24 11:57:18] @ fbe joined channel #puppet
[2010/06/24 11:58:28] @ Quit: MattyM: Ping timeout: 245 seconds
[2010/06/24 12:01:35] <jbooth> Should be able to
[2010/06/24 12:02:03] @ bjaspan_ joined channel #puppet
[2010/06/24 12:02:47] @ toi joined channel #puppet
[2010/06/24 12:03:39] @ Quit: kaptk2: Quit: Leaving.
[2010/06/24 12:03:56] @ kaptk2 joined channel #puppet
[2010/06/24 12:04:31] @ Quit: kolla: Remote host closed the connection
[2010/06/24 12:04:51] @ Quit: zorzar_: Ping timeout: 240 seconds
[2010/06/24 12:06:22] @ Quit: bjaspan: Ping timeout: 264 seconds
[2010/06/24 12:06:22] @ bjaspan_ is now known as bjaspan
[2010/06/24 12:06:58] @ zorzar joined channel #puppet
[2010/06/24 12:07:28] @ Quit: fbe: Ping timeout: 265 seconds
[2010/06/24 12:08:13] @ Quit: LeLutin: Remote host closed the connection
[2010/06/24 12:08:29] <_eric> I wish file had a refreshonly option
[2010/06/24 12:08:56] <jbooth> ...?
[2010/06/24 12:09:11] <_eric> I want to be able to write a marker file if an exec is successful
[2010/06/24 12:09:33] <jbooth> exec { "your command && touch /marker" ?
[2010/06/24 12:09:38] <jbooth> Not sure you can && that but...
[2010/06/24 12:09:44] <_eric> yeah, I could do that
[2010/06/24 12:09:48] @ rmiller4pi8 joined channel #puppet
[2010/06/24 12:09:49] <_eric> but I was wanting to write a multi-line file
[2010/06/24 12:09:52] <_eric> which makes it more annoying
[2010/06/24 12:10:01] <_eric> I guess I'll just have to give up on writing the multi-line file
[2010/06/24 12:10:14] <jbooth> if the file requires the exec it won't go off if the exec fails
[2010/06/24 12:10:31] @ rmiller4pi8 left channel #puppet ()
[2010/06/24 12:10:42] @ Quit: AimanA: Remote host closed the connection
[2010/06/24 12:10:48] <jbooth> you might be able to exploit that into a "rm marker && your command" in the exec?
[2010/06/24 12:11:11] <_eric> I have two chained exec's that are all set to refreshonly => true, and both require and subscribe to the previous one
[2010/06/24 12:11:23] <_eric> and then I have a file that requires and subscribes to the last exec
[2010/06/24 12:11:27] @ rmiller4pi8 joined channel #puppet
[2010/06/24 12:11:43] <_eric> the first exec fails but it still runs the second one, and then the file
[2010/06/24 12:11:52] <jbooth> Does subscribe carry meaning other than to a service?
[2010/06/24 12:12:06] <_eric> dunno, I assumed it did
[2010/06/24 12:12:08] <_eric> am I wrong?
[2010/06/24 12:12:20] <_eric> I've seen a lot of people use subscribe with exec
[2010/06/24 12:12:24] <_eric> in examples
[2010/06/24 12:12:27] <Volcane> jbooth: execs that are refreshonly would be refreshed too.
[2010/06/24 12:13:54] <jbooth> http://pastie.org/1017663
[2010/06/24 12:14:03] <jbooth> "Skipping because of failed dependencies"
[2010/06/24 12:14:31] <jbooth> Subscribe uses the same relationship graph stuff and may be overwriting the require?
[2010/06/24 12:15:04] <Volcane> well the subscribed to resource failed, you woldnt want it to run?
[2010/06/24 12:15:32] <jbooth> Yeah I can't replicate subscribe overwriting require and causing /bin/true to run
[2010/06/24 12:15:49] <jbooth> Mostly I can't replicate a failed lets dependants run at all.
[2010/06/24 12:18:28] <_eric> so you're doing both a subscribe and require?
[2010/06/24 12:18:58] @ Quit: showy: Ping timeout: 264 seconds
[2010/06/24 12:19:43] @ showy joined channel #puppet
[2010/06/24 12:20:35] @ lak joined channel #puppet
[2010/06/24 12:20:54] <jbooth> I set it to both and tested, yes
[2010/06/24 12:20:59] <jbooth> and it wouldn't run /bin/true
[2010/06/24 12:21:21] <jbooth> I see I forgot to paste my execs, but it is a /bin/false and a /bin/true requires/subscirbe in both orders /bin/false
[2010/06/24 12:22:55] @ fbe joined channel #puppet
[2010/06/24 12:26:21] @ Quit: Guest90849: Remote host closed the connection
[2010/06/24 12:29:42] <_eric> http://gist.github.com/451853
[2010/06/24 12:30:16] <_eric> even though Exec[second] failed, it scheduled the refresh for Exec[third]
[2010/06/24 12:30:36] @ AimanA joined channel #puppet
[2010/06/24 12:31:35] <_eric> the same thing happens if I make requires that match the subscribes
[2010/06/24 12:33:57] <Volcane> why do you want this kind of chain, it should work, just curiour
[2010/06/24 12:35:18] @ sking joined channel #puppet
[2010/06/24 12:37:03] <_eric> I want to be able to run different stages of an installation and then be able to mark a file that says I got to the end
[2010/06/24 12:37:32] <Volcane> ah
[2010/06/24 12:38:54] <jbooth> I get a dependancy cycle there
[2010/06/24 12:39:55] <jbooth> okay, when you're breaking a detected dependency cycle by refering to a file with two different ways... I'm not surprised stuff goes nuts
[2010/06/24 12:39:58] <Volcane> http://pastie.org/1017700
[2010/06/24 12:40:16] <jbooth> change that test -f file to an absolute path and watch it barf on a dep cycle
[2010/06/24 12:40:37] <sking> http://pastebin.com/6hcEw2gg i have the following class definitions… im including ntp in basenode, and ntp includes ntp::config, i want to over ride ntp::config to pull a different config file.. so i inherit ntp::mt::config and include that on the node that i want it applied… what happens in the background on this? does ntp::config get ignored when its included in ntp?
[2010/06/24 12:40:46] <_eric> yeah, I forgot to mention that, jbooth
[2010/06/24 12:40:57] <_eric> it's terrible magic: http://projects.puppetlabs.com/issues/3873
[2010/06/24 12:41:03] <_eric> it should be removed
[2010/06/24 12:41:47] @ Quit: lak: Quit: lak
[2010/06/24 12:42:27] <jbooth> your refreshonly is causing a refresh transitive trigger chain
[2010/06/24 12:42:32] @ sebas891 joined channel #puppet
[2010/06/24 12:42:36] <jbooth> take it out and it fails at second
[2010/06/24 12:43:32] <_eric> hmmmm
[2010/06/24 12:43:58] <_eric> okay
[2010/06/24 12:45:29] <jbooth> consider creates=> on the execs
[2010/06/24 12:45:34] <jbooth> claim they create said text file
[2010/06/24 12:45:48] <jbooth> If the chain finishes and file{} goes off to create it, execs{} now believe they did their job and don't pass
[2010/06/24 12:45:53] <jbooth> Otherwise it runs the whole chain of them again.
[2010/06/24 12:45:57] <jbooth> Acceptable solution?
[2010/06/24 12:46:35] <_eric> yeah, I'm doing an unless there for each stage that checks the md5sum of the contents of the file
[2010/06/24 12:46:37] <_eric> but, same idea
[2010/06/24 12:47:34] @ rlpowell joined channel #puppet
[2010/06/24 12:47:49] <_eric> works perfectly
[2010/06/24 12:47:51] <rlpowell> I can't find anything that says how to actually use the "fail" and "warning" functions; help?
[2010/06/24 12:48:03] <rlpowell> The obvious syntax to me (fail { 'foo': }) doesn't work.
[2010/06/24 12:48:08] <jbooth> fail("yep you failed")
[2010/06/24 12:48:11] <jbooth> function; not type
[2010/06/24 12:48:23] @ Quit: bug: Ping timeout: 240 seconds
[2010/06/24 12:49:00] <jbooth> The good thing about that is you can embed it in selectors
[2010/06/24 12:49:24] <jbooth> file { "foo": source => $os ? { "redhat" => fail("sorry no rhel support!"), ... }
[2010/06/24 12:49:32] <_eric> thanks for the ideas, jbooth
[2010/06/24 12:49:34] <jbooth> Well, Volcane would debate that's a "good" thing but.
[2010/06/24 12:49:36] <rlpowell> jbooth: Thanks.
[2010/06/24 12:49:55] <jbooth> Consider it for a non-distro-specific example :-)
[2010/06/24 12:50:17] <rlpowell> When I'm calling user-made functions, I use function { 'foo': ...}, so I expected it to be the same. Silly me.
[2010/06/24 12:50:41] <jbooth> rlpowell: Sorry if that came across harsh; it wasn't meant to be.
[2010/06/24 12:50:50] <jbooth> The pair that screws me up is notice and notify.
[2010/06/24 12:50:52] <rlpowell> jbooth: Oh, not at all! You were great. :)
[2010/06/24 12:50:59] <rlpowell> Just being cranky.
[2010/06/24 12:51:06] <jbooth> I endlessly notice { "blah": } and puppet barfs on it
[2010/06/24 12:51:30] <rlpowell> -_-
[2010/06/24 12:51:39] <jbooth> rlpowell: You could probably easily write a custom fail type
[2010/06/24 12:51:44] <rlpowell> Enh.
[2010/06/24 12:52:13] <rlpowell> Oh, I suppose the "define"s are custom *types*, not custom *functions*. Duh, whoops.
[2010/06/24 12:53:06] <jbooth> _eric: You might want to note that sort of behavior in a bug ticket. It is a little counterintuitive with the transitive subscribe=> going off.
[2010/06/24 12:53:15] <jbooth> The worse PL will do is reject it :-)
[2010/06/24 12:53:48] @ Quit: [GuS]: Remote host closed the connection
[2010/06/24 12:55:56] <Disconnect> so, is this excessive? (from the report. in seconds.) Nagios service: 847.3842 / Total 1168.5584
[2010/06/24 12:57:25] <Volcane> heh
[2010/06/24 12:57:28] * Disconnect is waiting to see how long it takes to parse the (unchanged) config files that it wrote out :/
[2010/06/24 12:57:37] @ adrian_broher joined channel #puppet
[2010/06/24 12:57:43] * Volcane keeps saying the nagios types arent fit for purpose :)
[2010/06/24 12:57:53] <Disconnect> last time it was over 30 mins when i killed it, but that was also when there were still new hosts reporting in. this file should be complete/identical between the two runs..
[2010/06/24 13:00:17] <_eric> jbooth: filed: http://projects.puppetlabs.com/issues/4071
[2010/06/24 13:01:15] <jbooth> _eric: Cheers!
[2010/06/24 13:02:29] @ xerxas joined channel #puppet
[2010/06/24 13:09:42] @ Hypnoz joined channel #puppet
[2010/06/24 13:09:52] @ Quit: bjaspan: Remote host closed the connection
[2010/06/24 13:09:57] @ bjaspan joined channel #puppet
[2010/06/24 13:16:00] @ littleidea joined channel #puppet
[2010/06/24 13:25:51] @ Quit: stanlly: Read error: Connection reset by peer
[2010/06/24 13:27:06] @ stanlly joined channel #puppet
[2010/06/24 13:34:59] @ Quit: stanlly: Ping timeout: 248 seconds
[2010/06/24 13:36:06] <shenson> I'm seeing a problem where storeconfigs has resources and other records for hosts that no longer exist or where the id (in the hosts table) has been removed
[2010/06/24 13:36:12] <shenson> is there a way to clean this up?
[2010/06/24 13:37:34] @ Quit: adrian_broher: Ping timeout: 264 seconds
[2010/06/24 13:38:08] @ stewartl42 joined channel #puppet
[2010/06/24 13:38:16] @ stewartl42 left channel #puppet ()
[2010/06/24 13:38:43] @ Quit: robinbowes_nb: Ping timeout: 240 seconds
[2010/06/24 13:40:04] @ stanlly joined channel #puppet
[2010/06/24 13:40:22] <jetole> hey guys. I'm trying to setup a mysql class on puppet to install the server however I'm not sure how to set certain attributes that are set by doing a apt-get install on ubuntu like the root password. Does anyone know how this is done?
[2010/06/24 13:41:35] @ kc7zzv joined channel #puppet
[2010/06/24 13:41:40] @ Quit: littleidea: Quit: littleidea
[2010/06/24 13:43:26] @ Quit: toi: Quit: Ex-Chat
[2010/06/24 13:43:29] @ tonyskap` joined channel #puppet
[2010/06/24 13:43:51] <shenson> jetole: I'd assume you would likely have to use debconf to preseed those values
[2010/06/24 13:44:10] <shenson> not sure, but apt-get should respect non-interactive and give you a way to do the right thing
[2010/06/24 13:44:51] @ Quit: tonyskapunk: Ping timeout: 240 seconds
[2010/06/24 13:44:51] <kc7zzv> shenson: You talking about using Package or using apt-get directly using Exec?
[2010/06/24 13:45:02] <shenson> using package
[2010/06/24 13:45:21] <shenson> never played with puppet on ubuntu, but I've done auto install jazz on ubuntu
[2010/06/24 13:45:27] <kc7zzv> Ah. Nevermind.
[2010/06/24 13:46:08] <jetole> kc7zzv: yeah I was wondering about how to setup mysql on ubuntu via puppet since apt-get let's me set the root password on mysql and wondering how to do that on puppet. Thats what shenson was replying to
[2010/06/24 13:46:28] @ Quit: Guest84497: Ping timeout: 252 seconds
[2010/06/24 13:46:39] <shenson> I would guess it sets the password blank if you don't answer the debconf questions
[2010/06/24 13:46:52] <shenson> in which case you would set a root password as a post step
[2010/06/24 13:46:58] <shenson> or use mysql-safe?
[2010/06/24 13:47:18] <Hypnoz> I'm not sure about mysql, but when I apt-get install nis, I'm prompted for an nis domain. In order to do a silent install, i had to echo "nis nis/domain string company.com" to a file, then debconf-set-selections <filename>
[2010/06/24 13:47:29] <Hypnoz> after I did that, the nis install doesn't prompt anymore
[2010/06/24 13:47:36] <mstyne> jetole: you could take a look at the puppet-mysql module
[2010/06/24 13:47:47] <mstyne> http://github.com/camptocamp/puppet-mysql
[2010/06/24 13:48:03] <shenson> Hypnoz: yeah, that is the debconf magic of which I speak :-D
[2010/06/24 13:48:13] <jetole> mstyne: thanks
[2010/06/24 13:48:17] <jetole> shenson: it's blank
[2010/06/24 13:48:18] <mstyne> it's not perfect, in my experience, but it works well enough
[2010/06/24 13:48:21] <jetole> so yeah, post setup
[2010/06/24 13:48:24] @ littleidea joined channel #puppet
[2010/06/24 13:49:36] <jetole> shenson, kc7zzv, Hypnoz and mstyne: option 2 here looks good: http://blogs.cae.tntech.edu/mwr/2008/02/05/stupid-puppet-trick-agreeing-to-the-sun-java-license-with-debconf-preseeds-and-puppet/
[2010/06/24 13:49:50] <kc7zzv> Is there a good way to send pre-generated private keys to a preseeded linux install automatically? I do realize this would allow anyone on the local network to trivially impersonate one of these clients.
[2010/06/24 13:49:51] <shenson> yup, done that too
[2010/06/24 13:50:09] <shenson> kc7zzv: is this for a reinstall?
[2010/06/24 13:50:19] <kc7zzv> Yes.
[2010/06/24 13:50:35] <shenson> what are you using to do the install?
[2010/06/24 13:50:43] <jetole> kc7zzv: private keys for what? I doubt there is a way. The only way to secure it is with a shared secret that the hosts would have to know without asking puppet
[2010/06/24 13:51:03] <shenson> well you can do it with some scripts
[2010/06/24 13:51:11] <kc7zzv> I meant the puppet keys.
[2010/06/24 13:51:20] <jetole> kc7zzv: then again, it's possible to do with pub/private keys for ssh then use that as backend
[2010/06/24 13:51:34] @ adrian_broher joined channel #puppet
[2010/06/24 13:51:35] <shenson> run one before you partition the disks, which copies the keys into the installer, then after the install is done, lay the keys back down before rebooting
[2010/06/24 13:52:09] <shenson> cobbler has some snippets to do it, might be useful depending on the distro you run
[2010/06/24 13:53:40] <kc7zzv> Basically, I want every client using this preseed to pull ca.pem, certs/hostname.pem, and private_keys/hostname.pem from the ca.
[2010/06/24 13:53:58] @ Quit: mattock: Ping timeout: 260 seconds
[2010/06/24 13:54:09] <jetole> ah crap, debconf doesn't store the password
[2010/06/24 13:54:49] @ Quit: nexx: Quit: quit
[2010/06/24 13:55:20] @ Quit: achester: Ping timeout: 276 seconds
[2010/06/24 13:55:46] <jetole> nevermind. It can still be done. It's just not presented in debconf-get-selections
[2010/06/24 13:57:19] @ tonyskap` is now known as tonyskapunk
[2010/06/24 13:57:26] @ achester joined channel #puppet
[2010/06/24 14:00:48] <neek> for virtual @packages: can I override the ensure on realize? (specificly from installed to a specific version)
[2010/06/24 14:01:28] <kjetilho> yes, like any other resource. by inheriting the class declaring it and override it there
[2010/06/24 14:01:49] * DavidS just learned about lvcreate --mirror
[2010/06/24 14:01:52] <DavidS> mdadm must die
[2010/06/24 14:01:59] <Volcane> heh
[2010/06/24 14:03:22] <kjetilho> neek: also, I *think* if you don't specify ensure in your virtual resource, it will default to "installed", but you can set ensure in other places *without* inheriting
[2010/06/24 14:03:42] @ Quit: DavidS: Read error: Connection reset by peer
[2010/06/24 14:03:51] <neek> k, I could probably work with that.
[2010/06/24 14:04:10] <neek> this is a module with a define that's called directly, so the class is never inherited.....
[2010/06/24 14:04:53] <kjetilho> right. you can't override stuff declared inside defines.
[2010/06/24 14:05:10] <kjetilho> you need to override the define instance itself instead
[2010/06/24 14:05:13] <neek> well, it's outside the define. the define just does realize
[2010/06/24 14:06:12] <neek> of course, I need to look at it closer still. one of those not-written-here chunks that I suddenly have a need to override but hopefully not replace wholesale. :)
[2010/06/24 14:09:11] @ Quit: docelic_: Ping timeout: 240 seconds
[2010/06/24 14:16:32] @ Quit: beata-:
[2010/06/24 14:21:49] @ flakrat_ joined channel #puppet
[2010/06/24 14:21:59] @ Quit: spawnyd: Ping timeout: 276 seconds
[2010/06/24 14:23:34] @ docelic_ joined channel #puppet
[2010/06/24 14:26:46] @ fredden joined channel #puppet
[2010/06/24 14:27:59] @ mbarr_ joined channel #puppet
[2010/06/24 14:29:40] <kgraham> (I'm guessing google.com.au has some very interesting results then for both modular and hardware-assisted routers)
[2010/06/24 14:29:48] <kgraham> major mischan
[2010/06/24 14:32:15] @ mbarr_ is now known as mbarr
[2010/06/24 14:33:14] <mbarr> HI folks... I'm trying to find good puppet tutorials, as the ones on the docs site are... wanting.
[2010/06/24 14:33:31] <mbarr> Anyone have any favorites?
[2010/06/24 14:34:10] <kgraham> example42.com/puppet has been my starting point
[2010/06/24 14:34:30] <mbarr> I'm particularly interested in things that go into best practices for such services as web servers, and Staging/QA/DR/Prod type config changes.
[2010/06/24 14:35:21] @ ceren joined channel #puppet
[2010/06/24 14:36:15] <mbarr> hmm.. nifty!
[2010/06/24 14:36:35] <mbarr> i may actually try a toaster to setup a mailserver, and then go dig into it, and learn puppet that way.
[2010/06/24 14:37:20] <mbarr> The tricky things w/ this stuff is desiging a scalable config system.
[2010/06/24 14:37:30] <mbarr> which makes it hard for the first time builder.
[2010/06/24 14:38:13] <mbarr> I've built out a large CFengine site before, but had to learn over time on the best places to put scalability into the design.
[2010/06/24 14:42:50] @ Quit: rmiller4pi8: Quit: Leaving.
[2010/06/24 14:45:28] <|ecapriolo|> I would not think the best practices would be any different in cfengine/puppet.
[2010/06/24 14:48:54] <mbarr> They would for desiging puppet configs.
[2010/06/24 14:49:13] <mbarr> svn == good, yes- that's the same.
[2010/06/24 14:49:29] <Hypnoz> mbarr: I'm in the same boat. I set up puppet in a small vm lab and playing with stuff now. But docs are lacking, even on their wiki. I'm thinking i'll have to learn by looking at sample modules and configs posted around
[2010/06/24 14:49:50] <mbarr> but how to design manifests and modules, and deal w/ the differences between a QA & Prod environment, that's different.
[2010/06/24 14:50:01] <mbarr> specfic to the config system.
[2010/06/24 14:50:02] <Disconnect> just ooc what is missing? there are tutorials, wiki, docs (even versioned now) etc.. there's even a freakin book :)
[2010/06/24 14:50:15] <|ecapriolo|> mbarr: only the actualy language constructs are differnet the theory is still the same
[2010/06/24 14:50:24] <mbarr> tutorials as listed don't seem to be very tutorial.
[2010/06/24 14:50:39] <manlymatt83> How do you guys version your puppet repositories? As in, /etc/puppet. Do you create a repository and just do a checkout/svn up on your puppet server when you're ready to deploy, or do you tag and checkout the tags, then repoint a symlink?
[2010/06/24 14:50:49] <canllaith> I found the puppet documentation to be somewhat lacking in very basic examples. A lot of the templating examples are quite complicated.
[2010/06/24 14:51:00] <|ecapriolo|> mbarr: Your best bet is to look at the "recipes" those are fully functional and practicle IMHO
[2010/06/24 14:51:00] * Disconnect uses git. but should really have a test environment set up..
[2010/06/24 14:51:04] <canllaith> I came from a very large cfengine environment so the concepts were not new to me, but I still struggeld a bit.
[2010/06/24 14:51:11] <mbarr> http://bitfieldconsulting.com/puppet-tutorial was decent.
[2010/06/24 14:51:14] <mbarr> in the simple side.
[2010/06/24 14:51:22] <mbarr> OK, recipies. I'll go look at those.
[2010/06/24 14:51:48] <mbarr> but there's nothing like it on the docs site, that I can see, quickly.
[2010/06/24 14:52:23] <mbarr> I've got my concepts, it's how to to mesh them into a puppet mindset that's tricky.
[2010/06/24 14:52:36] <mbarr> I'm looking forward to seeing other implementations,
[2010/06/24 14:52:38] <canllaith> mbarr: I did find the puppet mindset interesting after being a cfengine person :)
[2010/06/24 14:52:47] <canllaith> I kept wanting to force puppet to do things the wrong way
[2010/06/24 14:52:57] <mbarr> and the walk throughs of Why manifests were the way they were are really interesting.
[2010/06/24 14:53:11] <mbarr> canllaith, that's what i'm trying to prevent.
[2010/06/24 14:53:30] <mbarr> I know that i've got cf2 on my brain, and trying to learn the Puppet(TM) way...
[2010/06/24 14:53:34] <canllaith> *nod*
[2010/06/24 14:53:34] <mbarr> is non trivial.
[2010/06/24 14:53:46] <Disconnect> http://docs.puppetlabs.com/guides/language_tutorial.html
[2010/06/24 14:53:46] <mbarr> it actually appears that cf3 moved more in that direction, a bit.
[2010/06/24 14:53:50] <Disconnect> not good?
[2010/06/24 14:54:27] <canllaith> Disconnect: I find the documentation has very basic covered, and very complicated covered, but lacks stepping stones inbetween.
[2010/06/24 14:55:05] <mbarr> and it's not really the basics.
[2010/06/24 14:55:10] <mbarr> it's the reference guide.
[2010/06/24 14:55:29] <canllaith> I should probably order the book and see if it fill those gaps
[2010/06/24 14:55:59] <mbarr> Yes, but for someone that's coming in and having to figure out which Config Mgmt system to use, this isn't easy.
[2010/06/24 14:56:06] <mbarr> you don't go order the books first.
[2010/06/24 14:56:08] <Disconnect> wouldn't the in-between just be "apply basic inheritance rules to the basic stuff to make complicated stuff"? :)
[2010/06/24 14:56:31] <canllaith> Disconnect: Does it really do you or the project any good to argue that? :)
[2010/06/24 14:56:37] <mbarr> I think there was a hello world program in there...
[2010/06/24 14:56:51] <canllaith> I mean, if people are saying they are having trouble with the documentation why would they make that up?
[2010/06/24 14:56:59] <mbarr> but beyond that, there's nothing like a NTP configuration.
[2010/06/24 14:57:23] <Disconnect> canllaith: .."there's something missing but i won't describe it" is less helpful than "there's something missing, it looks like foo" - one is just general bitching and one is an addressible problem (either by "it exists over here" or by "good point, the docs are lacking, thats fixable"
[2010/06/24 14:57:36] <mbarr> I think michael conntacted the guy that I posted, to see if they'd like to contribute the tutorial he wrote, which was a good start.
[2010/06/24 14:58:01] <canllaith> Some really basic stuff is just not explicitly mentioned - when I first was looking at setting up this environment (Something like 8 months ago now) it took me half a day to realise that yes, all factor variables are available in their simplest form in templates, for example
[2010/06/24 14:58:01] <mbarr> And I disagree on the basics being covered.
[2010/06/24 14:58:14] <canllaith> facter, sorry
[2010/06/24 14:58:27] <mbarr> Uhm. there's no mention of facter in the tutorials, either
[2010/06/24 14:58:28] <canllaith> Disconnect: but you're not interested in hearing the descriptions *shrugs*
[2010/06/24 14:58:39] <Volcane> canllaith: the docs are mostly community contributed though
[2010/06/24 14:59:05] <mbarr> There are a few things that would be useful:
[2010/06/24 14:59:07] <jamesturnbull> canllaith: always happy to take patches for the docs and the wiki is easily editable
[2010/06/24 14:59:18] @ Quit: |ecapriolo|: Quit: KVIrc Insomnia 4.0.0, revision: 4030, sources date: 20100125, built on: 2010-02-25 23:12:54 UTC http://www.kvirc.net/
[2010/06/24 14:59:20] <Disconnect> canllaith: ...um, wanna tell me some more about what i'm interested in? i asked, specifically, for whats missing. but whatever.
[2010/06/24 14:59:26] <mbarr> hi jamesturnbull. Haven't actually looked at the topics of the book yet..
[2010/06/24 14:59:28] <canllaith> Disconnect: But I did, why don't you read it? :)
[2010/06/24 14:59:39] <mbarr> Disconnect, what's missing:
[2010/06/24 14:59:43] <canllaith> jamesturnbull: I am trying to find out how far I can go with contributing back our internal docs
[2010/06/24 14:59:45] <jamesturnbull> canllaith: even log tickets against the docs - http://projects.puppetlabs.com/projects/puppet-docs/issues/new
[2010/06/24 15:00:03] @ Quit: sebas891: Ping timeout: 265 seconds
[2010/06/24 15:00:07] <canllaith> jamesturnbull: since we have wikis and wikis and wikis of 'stuff' about puppet- some of it would not be applicable outside of our environment but some of it would be
[2010/06/24 15:00:10] <Disconnect> "middle stuff".. thats um.. less than helpful. like i said. depending on your definition of easy and hard, middle stuff is almost always just a pile of easy pieces fit together.
[2010/06/24 15:00:16] <canllaith> Disconnect: I gave you an exact example
[2010/06/24 15:00:20] <mbarr> 1) walk through on setting up a basic puppet system, in a way that will not cause issues for a newbie down the road.
[2010/06/24 15:00:35] <jamesturnbull> mbarr: Volcane has a good tutorial for that
[2010/06/24 15:00:40] <canllaith> mbarr: you should look at scaffold, as well
[2010/06/24 15:00:47] <Volcane> mbarr: 1) newbies dont follow guides instructing them to set up a complex system. fact.
[2010/06/24 15:01:00] <canllaith> I'd hardly call someone who manages a complex cfengine environment a newbie
[2010/06/24 15:01:03] <mbarr> 2) basic walk through of setting up basic service. And why things work there. Merging in talk about the language.
[2010/06/24 15:01:09] <canllaith> But trying to do puppet the cfengine way is not the 'best' way
[2010/06/24 15:01:15] <Volcane> mbarr: lots of puppet seems counter intuitive at first, if you give a guide that tells them to set up something counter intuitive, they just dont do it
[2010/06/24 15:01:22] <mbarr> canllaith, that's probably true.
[2010/06/24 15:01:45] <mbarr> 3) a walk through of a basic set of services, to manage say a webserver.
[2010/06/24 15:01:49] <Disconnect> canllaith: if you mean facter facts as your example, http://docs.puppetlabs.com/guides/faq.html .. its a faq :)
[2010/06/24 15:02:06] * jamesturnbull new book will offer 1-3 when I get around to writing it
[2010/06/24 15:02:09] <canllaith> Disconnect: linking to that from basic templating examples would make that easier to find
[2010/06/24 15:02:24] <mbarr> maybe webserver + postfix config + ssh + ntp,
[2010/06/24 15:02:35] <canllaith> mbarr: I've got some basic stuff like that written
[2010/06/24 15:02:47] <Disconnect> sure. and if its not linked/described in teh variables section, that too. but istr there is quite a lot about variable scoping in the docs. lemme see.
[2010/06/24 15:02:49] <canllaith> although I was informed I got my ssh example wrong as there's a built in class =)
[2010/06/24 15:03:04] <canllaith> hrm that was managing authorised keys though
[2010/06/24 15:03:15] <mbarr> That wouldn't be bad, either.
[2010/06/24 15:03:30] <Volcane> mbarr: also there's a matter of whats appropriate for someone, the best practises guides on the wiki are good but they are massively over engineered for small sites or for startes
[2010/06/24 15:03:37] <mbarr> Basically, how to do a reasonably standard box that you might do, and walk through all the files.
[2010/06/24 15:03:41] <canllaith> mbarr: it's probably too basic for you, but here: http://canllaith.org/?p=96
[2010/06/24 15:03:43] <mbarr> No arguments.
[2010/06/24 15:03:56] <Volcane> mbarr: it like, with a programming language, they start with hello world, and not 'here, lets replace facebook'
[2010/06/24 15:04:01] <canllaith> I wrote it up because really basic simple templating examples that a monkey (yknow, me:) could follow were hard to find
[2010/06/24 15:04:10] <Disconnect> in fact.. lol.
[2010/06/24 15:04:10] <Disconnect> http://docs.puppetlabs.com/guides/more_language.html
[2010/06/24 15:04:20] <Disconnect> specifically, http://docs.puppetlabs.com/guides/more_language.html#facts_as_variables
[2010/06/24 15:04:22] <manlymatt83> I have a class called basenode, that installs postfix, and then updates /etc/newaliases and runs "newaliases". the problem is, no matter what order I put things in, newaliases fails because it runs newaliases first, THEN installs postfix. How can I tell the exec { newaliases: } block not to run unless postfix is installed?
[2010/06/24 15:04:35] <canllaith> Disconnect: that couldn't be found from a tutorial on the puppet website that claimed to tell you how to do templates
[2010/06/24 15:04:50] <canllaith> But again, I think you'd rather argue than actually discuss improvements so I'm afraid I'm not interested in discussing this further.
[2010/06/24 15:05:19] <Disconnect> manlymatt83: exec { "newaliases": refreshonly => true } .. then on the aliases file update try "notify => Exec[newaliases]".
[2010/06/24 15:05:20] <robinbowes> FWIW, my opinion is that the puppet docs are pants
[2010/06/24 15:05:23] <mbarr> Volcane, understood.
[2010/06/24 15:05:26] <Volcane> canllaith: hit the 'edit' button on any wiki page, no need for an argument.
[2010/06/24 15:05:54] <canllaith> Again, I'd love to. I need to know how far my employers IP goes in that area.
[2010/06/24 15:05:56] <manlymatt83> what's the refreshonly do?
[2010/06/24 15:05:57] <Disconnect> canllaith: wow. just wow. "this doc doesn't exist." "its in two places, here are docs you might be interested in" "clearly you only want to argue"... um.. ok. terribly sorry to give you the docs you wanted.
[2010/06/24 15:06:22] <Disconnect> manlymatt83: just that - it doesn't run it unless it gets notified (refreshed). check the type docs for exec
[2010/06/24 15:06:44] <manlymatt83> I will, but how will that fix my problem of making sure postfix is installed first?
[2010/06/24 15:07:00] <Disconnect> manlymatt83: let the newaliases file depend on the postfix package.
[2010/06/24 15:07:01] <robinbowes> Really - the puppet docs are very badly structured. I know what I'm looking for these days, and even then I can't always find things easily
[2010/06/24 15:07:08] <Volcane> manlymatt83: file{"/etc/....": require => Package["postfix"] }
[2010/06/24 15:07:11] <manlymatt83> got it
[2010/06/24 15:07:15] <manlymatt83> thanks!
[2010/06/24 15:07:20] <Volcane> manlymatt83: that tells the file to be created only after the package is installed
[2010/06/24 15:08:11] <pheezy> i think the docs are probably in flux, as evident by the fact there are redmine docs as well as some on docs.puppetlabs.com
[2010/06/24 15:08:14] @ Quit: ona_matt: Ping timeout: 265 seconds
[2010/06/24 15:08:53] <mbarr> The fact that a senior SA can't really easily understand the docs does not bode well for them.
[2010/06/24 15:08:59] <pheezy> but writing and maintaining documentation is a tedious and thankless job unfortunately, and i imagine things are made much more difficult with the fact that features and bugs in puppet seem to change all the time
[2010/06/24 15:09:14] <Volcane> mbarr: see http://www.devco.net/archives/tag/puppet and go from the oldest to earliest, i wrote plenty of guides that might help you understand some of the more complex things and how they tie together
[2010/06/24 15:09:31] <canllaith> pheezy: there's also the fact that to write docs you need a very good understanding yourself - and getting there is harder if the docs are hard to find.
[2010/06/24 15:09:42] <mbarr> It's mostly that thery aren't linking to the good tutorials / walk throughs.
[2010/06/24 15:10:06] <Disconnect> mbarr: it used to be worse - not just in terms of layout/etc, but they used to document -only- the git HEAD. so good luck using a released version, or even (shudder) the antique versions that were in debian/ubunut..
[2010/06/24 15:10:11] <Disconnect> ubuntu that is
[2010/06/24 15:10:12] <mbarr> The docs might be good reference guides, but it's hard to get started w/ a huge lump of text.
[2010/06/24 15:11:30] <pheezy> eh, it's all there, and there certainly external resources that might be a little more put together. it's still a young project, it'll get there
[2010/06/24 15:11:36] <canllaith> If there's an interest in best practices for enterprise environments that is something I could contribute to
[2010/06/24 15:11:41] * Disconnect will bbl, gotta rescue the back yard before the monsoon washes dc away
[2010/06/24 15:11:59] @ Quit: littleidea: Quit: littleidea
[2010/06/24 15:12:13] <Disconnect> i would love to see the best practices doc followed by the tutorials and getting started docs :) for example, its -way- easier to start with environments than to wedge them in later. ditto for external nodes (or ldap) and modules.
[2010/06/24 15:12:16] <mbarr> Volcane, is there a good way to reverse the order, or just go to the last page, etc?
[2010/06/24 15:12:25] <Disconnect> er, followed as in obeyed by
[2010/06/24 15:12:32] <canllaith> The problem is scope
[2010/06/24 15:12:34] <manlymatt83> Volcane: thakns :)
[2010/06/24 15:12:35] <pheezy> the training documentation that puppetlabs has is pretty good and has a lot of best practices and such in it as well...
[2010/06/24 15:12:35] <manlymatt83> thanks*
[2010/06/24 15:12:40] <canllaith> Where do you stop sort of thing
[2010/06/24 15:13:30] <pheezy> i mean it's a framework, what can you do besides some bootstrapping, a few examples and some links to other people's stuff eh? ;)
[2010/06/24 15:13:38] <Disconnect> canllaith: you can prolly find a sample or two of jamesturnbull's book out there. its outdated (as he said, new rev coming soon) but a good place to start. unfortunately, i suspect that so long as the book is good, the online docs will suffer.
[2010/06/24 15:14:01] <mbarr> I think you do 2 things:
[2010/06/24 15:14:07] <joe-mac> hmmm, is unless fucked up in .25.4?
[2010/06/24 15:14:20] <Disconnect> yah search github for puppet. tons of stuff, some good, some bad. and there is a growing collection of common/shared puppet modules (not the ones davids put together, but newer ones that are slightly more sane, work with newer language revs)
[2010/06/24 15:14:21] @ qshan joined channel #puppet
[2010/06/24 15:14:23] <canllaith> Disconnect: I manage an environment of over 1000 systems now, including automated software builds - which isn't to say we've done it all 'right' but we've more or less wrestled it into submission
[2010/06/24 15:14:35] <mbarr> 1, you have enough to get someone that knows they want to use a config mgmt system, and has heard of puppet
[2010/06/24 15:14:35] <Volcane> mbarr: its like 2 or 3 clicks at the most, dont be a winey shithead :P
[2010/06/24 15:14:45] <joe-mac> can't be, this other box works fine
[2010/06/24 15:14:45] <canllaith> I'm more interested in working out how to bridge the documentation gaps than read the book - the book wont be easily available to everyone
[2010/06/24 15:14:46] <mbarr> :p Wasn't sure.
[2010/06/24 15:14:48] @ sebas891 joined channel #puppet
[2010/06/24 15:15:01] * Disconnect is only up to 350 systems, but puppet handles 100% of all but about 8 of them, and 50+% of half the rest
[2010/06/24 15:15:02] <mbarr> 2. the best practices looks interesting.
[2010/06/24 15:15:14] <mbarr> Disconnect, only 50%?
[2010/06/24 15:15:20] <Volcane> mbarr: and there's a old getting started guide thats probably out of date now http://www.devco.net/pubwiki/Puppet/GettingStarted
[2010/06/24 15:15:24] <canllaith> Disconnect: I've come into puppet from a cfengine and RHEL3 environment and that's where most of the trouble started
[2010/06/24 15:15:37] @ Quit: qshan: Client Quit
[2010/06/24 15:15:48] @ Quit: flakrat_: Quit: Leaving
[2010/06/24 15:15:54] <Disconnect> yah. those 8 have weird things but puppet manages bits and pieces like ldap authentication even if it doesn't touch (eg) firewall or vpn configs.
[2010/06/24 15:16:02] <mbarr> Damn.. we had it down to 100% on every box of over 200 w/ CF2.
[2010/06/24 15:16:04] <Disconnect> and there are 4 or so that are totally untouched
[2010/06/24 15:16:05] <canllaith> Disconnect: Basics of configuration management - completely fine. How can I make puppet do this thing I'm used to from cfengine? That's where it's so hard to find - you don't know what language to be searching for, what puppet calls that 'thing', where to look
[2010/06/24 15:16:28] <mbarr> Oh, wait- 100% of 340, that's more fine.
[2010/06/24 15:16:34] <canllaith> Not to mention I learned bad habits like scripting way too much by hand instead of using built-ins
[2010/06/24 15:16:45] <Disconnect> canllaith: so you are specifically looking for a point by point comparison with cfengine's configs?
[2010/06/24 15:16:49] @ Quit: pheezy: Remote host closed the connection
[2010/06/24 15:16:49] <Volcane> canllaith: we dont have many ppl who know cfengine extremely well - and puppet extremely well - thats capable of writing such a doc. or a unbiased comparison even
[2010/06/24 15:16:55] <mbarr> No, not really. New office, new job.
[2010/06/24 15:17:01] <mbarr> need a cfg mgmt system.
[2010/06/24 15:17:04] <mbarr> they have none.
[2010/06/24 15:17:08] <canllaith> Disconnect: No, not even slightly - but when trying to find out mid-level topics, it's hard to find what you need in the docs.
[2010/06/24 15:17:12] <canllaith> What docs are there are excellently well written
[2010/06/24 15:17:16] <canllaith> it's finding the bits you want that gets hard
[2010/06/24 15:17:22] <robinbowes> +1
[2010/06/24 15:17:35] <mbarr> I come from an office where i rolled out cf2, but that's out of date, and need a new system.
[2010/06/24 15:17:44] <mbarr> its this, or cf3, or bcfg2.
[2010/06/24 15:17:48] <Disconnect> mbarr: yah 100% of the 350ish, plus some stragglers. (actually i forgot 50 webservers - half blades - that i have been totally unable to modernize)
[2010/06/24 15:17:52] @ rodnet joined channel #puppet
[2010/06/24 15:18:05] <mbarr> i want to know enough of this to be able to actually get them to work.
[2010/06/24 15:18:25] <mackn> there's a cf3?
[2010/06/24 15:18:25] <mackn> haha
[2010/06/24 15:18:29] <mbarr> I'll be able to muddle through w/ the things folks have linked me to, now.
[2010/06/24 15:18:43] <mbarr> but ideally, you'd have a basic walkthough of a single colo box.
[2010/06/24 15:18:46] <Volcane> mbarr: it will require a significant time investment and significant amont of time crawling, simple as that. documentation cannot fix that
[2010/06/24 15:18:53] <mbarr> (I know.)
[2010/06/24 15:19:05] <Volcane> mbarr: no you dont, cos you keep asking for simple walk throughs
[2010/06/24 15:19:09] <kjetilho> mbarr: why have you ruled out Chef, btw?
[2010/06/24 15:19:12] <canllaith> mbarr: you could probably cheat by seeing if someone has written a 'what nagios should monitor' guide
[2010/06/24 15:19:20] <canllaith> mbarr: because those services are all good starts to try and manage
[2010/06/24 15:19:36] <canllaith> a good second guide would be what are your audit requirements?
[2010/06/24 15:19:41] @ thekad is now known as thekad-afk
[2010/06/24 15:19:50] <Disconnect> mbarr: the trick is, what would the colo walkthrough be trying to do exactly? maybe you just want it to create a user.. "apt-get install puppetmaster" .. "apt-get install puppet" .. discuss signing. then a node manifest that just has a user { "foo" }...
[2010/06/24 15:19:58] <mbarr> Sorry- what I meant to say is that I'm looking for certain things. I know I won't find what I need written.
[2010/06/24 15:19:58] <canllaith> If you are required to do auditing and compliance, and this includes say installed packages and users, then these are some natural first points to do with puppet
[2010/06/24 15:20:02] <mbarr> that's why it's my job.
[2010/06/24 15:20:14] <mbarr> What I'm *asking* for is things that people may have pointers to.
[2010/06/24 15:20:34] <mbarr> what I've described as being nice to have for the project would be things that a new person could use
[2010/06/24 15:20:36] <Volcane> mbarr: all u need to do is take lets say ntp, and set it up with puppet, it has all the bits
[2010/06/24 15:20:46] <Volcane> mbarr: it has a package, a service, a config ile that requires to be templated
[2010/06/24 15:20:54] <mbarr> to get up to speed on running a decent server.
[2010/06/24 15:20:58] <Volcane> mbarr: and there's countless sample modules of that, even on forge.puppetlabs.com
[2010/06/24 15:21:14] * Disconnect does wish there was (and may someday write) a system to use dpkg-set-packages/dpkg-get-packages to ensure all the correct packages, and no others, are installed. but it'd have to be it's own provider, and it'd have to handle merging lists magically.
[2010/06/24 15:21:16] <mbarr> Yes, but the *reasoning* is the hard part.
[2010/06/24 15:21:20] <Volcane> mbarr: and once you have that, the rest falls in place cos unix services are just that, package, files, service, perhaps some users. thats all
[2010/06/24 15:21:37] <mbarr> I don't expect magic.
[2010/06/24 15:21:47] @ thekad-afk is now known as thekad
[2010/06/24 15:21:55] <mbarr> I know that. I was describing things that are useful for a project to have.
[2010/06/24 15:22:02] <cparedes> "What is a UNIX service? A miserable little pile of secrets!"
[2010/06/24 15:22:11] <Volcane> mbarr: so if you've looked at the links I've shown you, you'll know step by step how to setup a master, how to setup a client, how to do the ssl, how to transfer files and what documentation to look at for th rest of the puzzle
[2010/06/24 15:22:20] <mbarr> What I've now got to figure out is things like integrating LDAP, external nodes, etc.
[2010/06/24 15:22:33] <Volcane> mbarr: no you dont have to figure that out _now_
[2010/06/24 15:22:37] <Disconnect> mbarr: once you get through the basic language tutorial, you basically have three options: advanced tutorial (recommended, cuz there are some bits that should be in basic in there like the facts thing canllaith mentioned), github/etc to look for modules and other people's code, and getting cozy with the type reference to start hacking some pieces together.
[2010/06/24 15:22:37] <mbarr> (yep, and that's why i've got them all linked, and pulled up.)
[2010/06/24 15:22:38] <Volcane> mbarr: like i said. crawl, then walk.
[2010/06/24 15:22:52] <mbarr> Oh, i will...
[2010/06/24 15:23:00] <addumb> ohhhh how he will
[2010/06/24 15:23:08] <Volcane> mbarr: cos if you try to figure out external nodes now before you know what you're doing, you'll fail and blame the docs, when instead if your learning methodology
[2010/06/24 15:23:09] * addumb hides again
[2010/06/24 15:23:09] <mbarr> Sorry- i'm not communicating it well. I will be doing all those things.
[2010/06/24 15:23:39] <Volcane> mbarr: ok, so come back when you've done it and shown us you're not here just to waste our time with complaints, and i am sure you'll find furhter help is easy to find
[2010/06/24 15:23:43] <mbarr> What I was looking for in coming here was things like Volcane liked me to, as well as example42.
[2010/06/24 15:23:46] <robinbowes> On an unrelated note, I just updated to 0.25.5
[2010/06/24 15:24:10] <robinbowes> The first run seemed to detect a lot of SELinux-related stuff
[2010/06/24 15:24:16] <robinbowes> Was that changed on 0.25.5 ?
[2010/06/24 15:24:29] <robinbowes> I didn't see anything in the release notes?
[2010/06/24 15:24:40] <canllaith> Volcane: I'd be interested in finding out if there's a way of making more of an 'advanced user' tutorial for people who have migrated from other systems. I honestly don't know the answer myself but I'd like to figure it out.
[2010/06/24 15:24:56] <mbarr> Sorry- i've known luke for years, forgot that y'all don't know who I am, vs being an annoying critic.
[2010/06/24 15:25:01] <canllaith> Volcane: as the concepts they need to learn are different - it's more about language specifics and less about 'what's configuration management'
[2010/06/24 15:25:11] <canllaith> Volcane: but, they still need the very basic language stuff as it's all different
[2010/06/24 15:25:26] <Volcane> canllaith: the only way to learn puppet is to start simple, forget about a knowledge gap guide
[2010/06/24 15:25:40] <mbarr> And I got embroiled in the high level question of what puppet needed for docs, vs what *I* needed.
[2010/06/24 15:25:45] <mbarr> I've got what I need, for now.
[2010/06/24 15:25:48] <Volcane> canllaith: its an entire different style of programming and thinking of programming
[2010/06/24 15:25:49] @ kaptk2 left channel #puppet ()
[2010/06/24 15:25:53] <canllaith> Volcane: unfortunately that isn't always possible. I know this isn't a desirable way of doing it, but for example we had to migrate a cfengine/RHEL3 environment to Ubuntu & puppet
[2010/06/24 15:25:53] @ Quit: notbrien: Quit: notbrien
[2010/06/24 15:26:07] <mbarr> more than enough, and apprecaite the links. Those were what I was looking for, on the docs page. They weren't there.
[2010/06/24 15:26:18] <Volcane> canllaith: foo{["one", "two"]: } does that look like a for loop to you? it is, and its not, and you cant know what that means till you learned, experiemented and figured it out
[2010/06/24 15:26:18] @ Quit: allsystemsarego: Quit: Leaving
[2010/06/24 15:26:48] <mbarr> The rest was the high level converstaion of what kind of things I'd think would be helpful for a project, vs what I needed.
[2010/06/24 15:27:33] <mbarr> I'll try to keep track of the stuff that I find to be most useful as someone learning the system.
[2010/06/24 15:27:40] @ Quit: adrian_broher: Quit: Verlassend
[2010/06/24 15:27:43] <canllaith> Volcane: Not everyone who uses puppet and uses it skillfully is a programmer.
[2010/06/24 15:27:48] <Volcane> mbarr: dont forget to his 'edit' on the wiki.
[2010/06/24 15:27:55] <Volcane> s/his/hit/
[2010/06/24 15:28:11] <mbarr> For example : http://bitfieldconsulting.com/puppet-tutorial was very helpful, and I see that Michael has already contacted him/her.
[2010/06/24 15:28:21] <Volcane> canllaith: correct, so you need to start simple.
[2010/06/24 15:28:51] @ Quit: artista_frustrad: Ping timeout: 260 seconds
[2010/06/24 15:28:51] <mbarr> Yep, i intent to. first a basic set of services, and such.
[2010/06/24 15:29:08] <mbarr> then i'll worry about how to scale the damn thing to muli tier environments.
[2010/06/24 15:29:33] <canllaith> mbarr: we have separate puppet configuration roots for uat and prod
[2010/06/24 15:29:37] <canllaith> Well, it's more complicated than that
[2010/06/24 15:29:40] <mbarr> I'm trying to do the basics now, so i know enough about it to actually be able to sell puppet to my mgmt.
[2010/06/24 15:29:44] <Volcane> 'basic set of services' follwed by 'scale to multi tier environments'
[2010/06/24 15:29:48] <canllaith> we have the svn working directory version and then post-commit hooks to pull it out into the config roots
[2010/06/24 15:29:50] <mbarr> :D
[2010/06/24 15:29:58] @ addumb left channel #puppet ()
[2010/06/24 15:30:07] <canllaith> Volcane: I honestly believe there is still a gap in the middle there.
[2010/06/24 15:30:14] <Volcane> canllaith: hit 'edit'
[2010/06/24 15:30:17] <mbarr> There's a huge gap.
[2010/06/24 15:30:27] <mackn> heh
[2010/06/24 15:30:31] * Volcane agrees there's a gap
[2010/06/24 15:30:31] <canllaith> Yep just to have everyone tell me I'm doing it wrong. Sure :) That sounds like fun.
[2010/06/24 15:30:57] <mbarr> but I was basically saying that there was a gap in the stuff for Basics, vs the middle.
[2010/06/24 15:30:59] <Volcane> but it wont go away till someone hits 'edit'
[2010/06/24 15:31:20] <Volcane> so either hit it, or send money so i can make time to do it :P
[2010/06/24 15:31:21] <mbarr> The links y'all have pointed me towards.. that's what needs to be on the docs page of tutorials.
[2010/06/24 15:31:22] <mbarr> etc.
[2010/06/24 15:31:26] <canllaith> I ran the KDE documentation project for two years. I'm not a moron. I'd love to hit edit.
[2010/06/24 15:31:38] <canllaith> Why would I think I could come to you for any assistance with that though based on this conversation?
[2010/06/24 15:32:03] <Volcane> canllaith: my hit edit response is a direct result of you saying the same thing over and over bt
[2010/06/24 15:32:07] <Volcane> btw
[2010/06/24 15:32:10] <Volcane> we get it, we all agreed
[2010/06/24 15:32:24] <Volcane> doesnt change the fact that till someone gets time, we will just get that theres a problem
[2010/06/24 15:32:29] <canllaith> Really? That's agreeing?
[2010/06/24 15:32:32] <Volcane> so why keep compass arguing?
[2010/06/24 15:33:03] <mbarr> I have no idea who controls the structure on the docs page.
[2010/06/24 15:33:19] <Volcane> mbarr: jamesturnbull he'll take whatever you write and put it somewhere nice for you
[2010/06/24 15:33:19] <canllaith> Also, you guys seriously have an open edit wiki where no-one will check my docs are ok? Honestly?
[2010/06/24 15:33:24] <mbarr> but it'd help to add a page of that that just points to some of these nice things you're all pointing to.
[2010/06/24 15:33:25] <canllaith> I would hope at least commit access would be required for that
[2010/06/24 15:33:34] <canllaith> If 'hit edit' is really the answer then please, get a documentation coordinator
[2010/06/24 15:33:37] <mbarr> in the mean time, since no one has time to write origitinal.
[2010/06/24 15:33:41] <Volcane> canllaith: once you edit a page - our bot will notify us in this channel and someone do review changes.
[2010/06/24 15:34:10] <Volcane> canllaith: and once your docs is good enough it might progress from the community space on redmine to the 'official' space in github which has tickets and a review process
[2010/06/24 15:34:22] <Volcane> canllaith: from where it will show up on docs.puppetlabs.com
[2010/06/24 15:34:42] @ blahdeblah joined channel #puppet
[2010/06/24 15:34:45] <canllaith> Do you have any documentation guidelines to teach people the way puppet documentation needs to be?
[2010/06/24 15:34:49] <Volcane> canllaith: and at that point patches are via branches and tickets
[2010/06/24 15:35:03] <Volcane> canllaith: not for the community wiki, just do as the rest does
[2010/06/24 15:35:48] <canllaith> So what you're saying is the barrier to contributing documentation is actually quite high for most people who might be unsure of where to start or who to go to ?
[2010/06/24 15:36:09] <Disconnect> ...and I'M the one who is only here to argue. this guy's a trip.
[2010/06/24 15:36:14] <joe-mac> lol
[2010/06/24 15:36:14] <canllaith> I completely agree with you that people should contribute documentation, but 'hit edit' is an insulting answer.
[2010/06/24 15:36:25] <canllaith> If you honestly want that, why not actually explain to someone how to do it to start with?
[2010/06/24 15:36:26] <Volcane> canllaith: only to twats who would rather be petty and find fault and not just get in there and do something useful.
[2010/06/24 15:36:31] <mackn> haha
[2010/06/24 15:36:32] <Volcane> canllaith: perhaps the shoe fits?
[2010/06/24 15:36:33] <mackn> oh now
[2010/06/24 15:36:33] <joe-mac> how woudl you like, 'please click edit'
[2010/06/24 15:36:49] <joe-mac> it's somewhat of a more warm response...
[2010/06/24 15:37:11] <canllaith> Volcane: I was very serious about contributing documentation to the project and had already mentioned it to jamesturnbull. It's a shame that because of these elitist attitudes prospective contributers are turned away.
[2010/06/24 15:37:14] <Volcane> canllaith: its obvious there literally is no policy around the community docs, you have something useful to say, make a page
[2010/06/24 15:37:16] * Disconnect loves it - "wait, there's NO BARRIER TO ENTRY?" "no, it has a review process" .. "so the barrier is HUGE AND INSURMOUNTABLE?"
[2010/06/24 15:37:31] <canllaith> Disconnect: the barrier to actually having some idea what the project wants you to write is pretty high.
[2010/06/24 15:37:32] * Volcane wonders who is being elitist
[2010/06/24 15:37:37] <Volcane> i am just saying, hit edit, make a page
[2010/06/24 15:37:39] <Volcane> we'll review it
[2010/06/24 15:37:44] <Volcane> james will help you put it where it goes
[2010/06/24 15:37:58] <Volcane> nothing elitist about it, just hit the edit button
[2010/06/24 15:38:06] <joe-mac> hahahahaha
[2010/06/24 15:38:08] <Volcane> massive amounts of people manages to do this
[2010/06/24 15:38:10] @ mbarr is now known as mbarr_away
[2010/06/24 15:38:24] <joe-mac> christ... i am going home. bye everyone.
[2010/06/24 15:38:27] <Disconnect> wait till someone says "screw you i'm not putting this in the docs cuz we didn't write it and you're a jerk". THEN say the review process is elitist.
[2010/06/24 15:38:30] @ joe-mac left channel #puppet ()
[2010/06/24 15:38:58] <canllaith> I didn't say the review process was elitist. I said your attitudes are. You're far more interested in being right than actually letting anyone help fix any of the problems they're having.
[2010/06/24 15:39:14] <Volcane> personally if i see the bot mention someone changed a wiki page, i hit the url immediately, and check out diffs of what they did etc, and i know i am not the only one doing that
[2010/06/24 15:39:21] <Volcane> it all just happens as and when people have time
[2010/06/24 15:39:25] <Volcane> free for all contribution
[2010/06/24 15:39:27] <Disconnect> hahahhahaa. "these docs don't exist!" "here ya go, in the faq and in the advanced guide, both linked from the main guide." "OMG ARGUER!!"
[2010/06/24 15:39:40] <canllaith> Disconnect: You're deliberately misunderstanding me and wasting both of our times.
[2010/06/24 15:39:52] @ Quit: AimanA: Remote host closed the connection
[2010/06/24 15:40:07] <Disconnect> terribly sorry, you're right, those docs DON'T exist, and you should burn any reference to them you might have saved. ditto for volcane's explanation of how to click the edit button and what will happen afterwards.
[2010/06/24 15:40:16] <Volcane> troll.
[2010/06/24 15:40:19] <Volcane> better things to do.
[2010/06/24 15:40:22] <eric0> wow bad point to come back to, pls stop
[2010/06/24 15:40:25] <canllaith> No, I never said they didn't exist. I said I couldn't find them, and that they weren't easy to find from other documentation.
[2010/06/24 15:40:34] <Volcane> come back when you want help rather than to tell everyone they suck.
[2010/06/24 15:40:38] <canllaith> However, I can obviously see this project isn't worth spending any time o.
[2010/06/24 15:40:42] <Disconnect> but as entertaining as this is (and yes, -NOW- i'm being argmentative) i need to put the doors on the jeeeeep before the monsoon
[2010/06/24 15:40:44] <canllaith> Your attitudes are apalling.
[2010/06/24 15:40:47] @ canllaith left channel #puppet ()
[2010/06/24 15:41:20] <mackn> is it time for beer?
[2010/06/24 15:41:22] <eric0> this isnt at all what this channels normally like.
[2010/06/24 15:41:22] <Disconnect> linuxjournal staff. wanna report him (with transcript) to his boss? :)
[2010/06/24 15:41:33] <Cuchulain> wjat
[2010/06/24 15:41:39] <Cuchulain> what's your report going to do?
[2010/06/24 15:41:42] <Disconnect> mackn: in fact, once the doors are on i'm going to gordonbiersch.com for a release. so yes :)
[2010/06/24 15:42:09] @ artista_frustrad joined channel #puppet
[2010/06/24 15:42:16] <Disconnect> Cuchulain: so long as he has the hostmask, he's intentionally representing the publication. and thats not a good time to be trolling.
[2010/06/24 15:42:23] <Cuchulain> you think he was trolling?
[2010/06/24 15:42:25] <eric0> Disconnect: please stop
[2010/06/24 15:42:34] <Volcane> Disconnect: he's just genuinely confused, nothing to report
[2010/06/24 15:42:50] <Cuchulain> if you do submit a report, make sure to include the bit where volcane calls him a twat out of the blue, just to fairly represent all sides.
[2010/06/24 15:42:55] @ tecto__ joined channel #puppet
[2010/06/24 15:42:57] @ cparedes left channel #puppet ()
[2010/06/24 15:42:59] <Disconnect> Volcane: looked a lot more like trolling than confused, but i'm kidding anyway
[2010/06/24 15:43:28] @ bjaspan_ joined channel #puppet
[2010/06/24 15:43:28] <Disconnect> Cuchulain: nothing there was out of the blue, but i'm looking for it and not finding it. got a timestamp?
[2010/06/24 15:43:34] @ Quit: bjaspan_: Client Quit
[2010/06/24 15:43:49] <Berge> Hey, someone was wrong on the Internet. How about discussing something completely different? (-:
[2010/06/24 15:43:55] @ Quit: kc7zzv: Quit: kc7zzv
[2010/06/24 15:44:05] <mackn> macs are better than windoze
[2010/06/24 15:44:11] <lilnick> heh
[2010/06/24 15:44:20] <Berge> No, vi is better than Macs.
[2010/06/24 15:44:23] <Volcane> Disconnect: i said its only complex and difficult to twats who argue and specifically try to find fault rather than do something useful
[2010/06/24 15:44:27] <mackn> ed! ed!
[2010/06/24 15:44:48] <Volcane> Disconnect: so i guess Cuchulain branded the poor guy a twat since he made it apply to him *shrug*
[2010/06/24 15:44:57] <Disconnect> Volcane: yah just spotted that. missed it the first time cuz it wasn't out of the blue. it was after 5 rounds of "omg thats solved too? you elitist jerk!" :)
[2010/06/24 15:45:05] <Cuchulain> Volcane: come on.
[2010/06/24 15:45:14] <Berge> mackn: sed!
[2010/06/24 15:45:16] @ sebas891 left channel #puppet ()
[2010/06/24 15:45:16] <Disconnect> anyway. bbl.
[2010/06/24 15:46:01] <Berge> mackn: It's kind of working!
[2010/06/24 15:46:05] <mackn> heh
[2010/06/24 15:46:23] @ Quit: tecto_: Ping timeout: 245 seconds
[2010/06/24 15:46:33] @ Quit: bjaspan: Ping timeout: 260 seconds
[2010/06/24 15:46:37] <Berge> With a bit of luck, people will discuss puppet and stuff here instead now.
[2010/06/24 15:46:46] <Berge> Or perhaps package management systems. That's a classic.
[2010/06/24 15:46:51] * MPSimmons perks up
[2010/06/24 15:46:57] <MPSimmons> I'm having a puppet problem
[2010/06/24 15:46:58] <MPSimmons> :)
[2010/06/24 15:47:00] <Berge> \o/
[2010/06/24 15:47:11] <MPSimmons> Could not retrieve catalog from remote server: hostname not match with the server certificate
[2010/06/24 15:47:25] @ Quit: tecto__: Ping timeout: 264 seconds
[2010/06/24 15:47:29] <MPSimmons> My client submitted the certificate request, I signed it with puppetca
[2010/06/24 15:47:31] <MPSimmons> and now I get that
[2010/06/24 15:47:53] <Volcane> MPSimmons: you didnt change --server or server= at any time ont he client?
[2010/06/24 15:48:27] <MPSimmons> I am fairly sure that I didn't ever have puppet installed on this machine before tonight, but what would be the easiest way to check for left-over certs?
[2010/06/24 15:49:02] <mackn> when in doubt.. stop puppetd, blow away the ssl dir, puppetca --clean hostname, restart puppetd
[2010/06/24 15:49:12] <Volcane> MPSimmons: well more or less whats happening is the client is connecting to your puppetmaster
[2010/06/24 15:49:22] <Volcane> MPSimmons: in the puppetmaster connection is the ssl cert and it says 'my name if bob'
[2010/06/24 15:49:26] <mackn> the ssl dir on the client that is
[2010/06/24 15:49:27] <pipegeek> is is its wont
[2010/06/24 15:49:36] <pipegeek> argh. *as
[2010/06/24 15:49:37] <Volcane> MPSimmons: but somethings telling the client to connect to something other than bob
[2010/06/24 15:50:13] <Volcane> MPSimmons: and the client goes and validates that who its told to connect is actually who its connecting to and finding a disagreement
[2010/06/24 15:51:00] <MPSimmons> I followed the steps from mackn (at least, assuming the ssl dir is /var/lib/puppet/ssl/) and I'm still getting it...
[2010/06/24 15:51:18] <mackn> check your puppet.conf
[2010/06/24 15:51:20] <Volcane> MPSimmons: show your puppet.conf on pastie as well as output from puppetd --test
[2010/06/24 15:51:25] <mackn> to make sure that's the ssl dir :)
[2010/06/24 15:51:29] <mackn> as well as the server= line
[2010/06/24 15:51:50] @ tecto_ joined channel #puppet
[2010/06/24 15:51:51] @ Quit: tecto_: Changing host
[2010/06/24 15:51:51] @ tecto_ joined channel #puppet
[2010/06/24 15:52:27] <lilnick> mackn: if the server cert doesn't match the hostname he's connecting to no amount of blowing alway the certs on client side are going to fix I think
[2010/06/24 15:52:59] <mackn> i guess i was under the assumption he had other clients... heh which might be bad
[2010/06/24 15:53:06] <mackn> but you are right
[2010/06/24 15:53:23] @ littleidea joined channel #puppet
[2010/06/24 15:53:27] <lilnick> It's a good question - if this is the first client then I guess we should also ask if the server hostname has changed since the cert was first generated
[2010/06/24 15:53:39] <lilnick> or if the server think's it's hostname is different than the one the client is using to connect to it
[2010/06/24 15:53:44] <MPSimmons> http://pastebin.com/hqyavP7E
[2010/06/24 15:53:44] <mackn> if this is a new setup he can blow away the server ssl dir too :)
[2010/06/24 15:53:50] <MPSimmons> This is a new setup
[2010/06/24 15:54:00] <MPSimmons> hrm...that's interesting
[2010/06/24 15:54:08] <Volcane> MPSimmons: ah so there you go
[2010/06/24 15:54:10] <MPSimmons> it's entirely possible
[2010/06/24 15:54:11] <Volcane> MPSimmons: there's a few issues
[2010/06/24 15:54:12] <mackn> are you using cnames or anything for the server
[2010/06/24 15:54:12] <MPSimmons> 1 sec
[2010/06/24 15:54:24] @ Quit: littleidea: Client Quit
[2010/06/24 15:54:27] <Volcane> MPSimmons: first, dont like in most daemons, set the servername etc in the defaults file, just get rid of it
[2010/06/24 15:54:43] <mackn> oh...
[2010/06/24 15:54:44] <mackn> ok
[2010/06/24 15:54:51] <Volcane> MPSimmons: 2nd it would really be best if you created a dns entry or alias for 'puppet' or 'puppet.your.com'
[2010/06/24 15:55:02] <mackn> now that you look at the conf file heh
[2010/06/24 15:55:05] <Volcane> MPSimmons: cos its all kind of designed to work that way
[2010/06/24 15:55:55] @ itguru joined channel #puppet
[2010/06/24 15:55:57] <Volcane> MPSimmons: do: openssl s_client -connect sys1.int.ia:8140
[2010/06/24 15:56:09] @ cparedes joined channel #puppet
[2010/06/24 15:56:14] <Volcane> MPSimmons: and show us the subject and Acceptable client cert names pls
[2010/06/24 15:56:26] <MPSimmons> oh damnit.
[2010/06/24 15:56:28] <MPSimmons> lol
[2010/06/24 15:56:30] <MPSimmons> right
[2010/06/24 15:56:31] @ Quit: tecto_: Ping timeout: 272 seconds
[2010/06/24 15:56:44] <mackn> all fixed now?
[2010/06/24 15:56:53] <MPSimmons> so the DNS name for this machine is sys1.int.ia, but the host name is a-sys1.int.ia
[2010/06/24 15:56:58] * MPSimmons *sigh*
[2010/06/24 15:57:05] <Volcane> MPSimmons: your pupet master should be 'puppet.int.ia
[2010/06/24 15:57:06] <MPSimmons> the fixed part is my brain
[2010/06/24 15:57:07] <MPSimmons> :)
[2010/06/24 15:57:14] <mackn> yeah you should just call it puppet
[2010/06/24 15:57:15] <Volcane> MPSimmons: even if its just a cname
[2010/06/24 15:57:18] <mackn> it'll make things easier
[2010/06/24 15:57:27] <mackn> if you ever need to move stuff around too
[2010/06/24 15:57:34] <Volcane> MPSimmons: but at this point, we need to see the openssl output :)
[2010/06/24 15:57:53] <MPSimmons> Does that imply that the hostname has to be puppet.int.ia as well?
[2010/06/24 15:57:58] <mackn> no
[2010/06/24 15:58:00] <MPSimmons> as opposed to just a cname
[2010/06/24 15:58:00] <MPSimmons> ok
[2010/06/24 15:58:06] <mackn> but the cert you generate needs to be
[2010/06/24 15:58:14] <Volcane> MPSimmons: show us the openssl first before you change anything
[2010/06/24 15:58:36] <MPSimmons> ok, so I'll cname puppet.int.ia to sys1.int.ia, but how do I specify the server name in the puppetmaster for the cert to take?
[2010/06/24 15:58:39] <mackn> show volcane the output he requested to make sure that's your problem :)
[2010/06/24 15:58:52] <MPSimmons> k, 1 sec
[2010/06/24 15:59:43] <mackn> there's a parameter called host*key = /path/to/key you can use to have it use the key you generte for puppet.*
[2010/06/24 15:59:47] @ MattyM joined channel #puppet
[2010/06/24 15:59:55] <mackn> and hostcert
[2010/06/24 15:59:58] <mackn> there
[2010/06/24 16:00:01] <mackn> there
[2010/06/24 16:00:03] <mackn> argh
[2010/06/24 16:00:04] <mackn> haha
[2010/06/24 16:00:10] <mackn> damn fat fingers
[2010/06/24 16:00:29] * mackn stop typing
[2010/06/24 16:00:34] <MPSimmons> http://pastebin.com/yp2e26cZ
[2010/06/24 16:00:59] <mackn> yup
[2010/06/24 16:01:01] <mackn> there ya go heh
[2010/06/24 16:01:07] <Volcane> ok
[2010/06/24 16:01:08] <MPSimmons> right
[2010/06/24 16:01:16] <MPSimmons> ok, so puppet.int.ia is coming along very soon
[2010/06/24 16:01:17] <Volcane> so your cert is called a-sys1.int.ia
[2010/06/24 16:01:24] <Volcane> so now you have a few options
[2010/06/24 16:01:36] <Volcane> if you already have machines talking to this puppetmaster and you dont want to mess with them
[2010/06/24 16:01:56] <MPSimmons> nope
[2010/06/24 16:02:07] <Volcane> then you can just fix this client
[2010/06/24 16:02:09] <MPSimmons> In this case, it's the first one
[2010/06/24 16:02:09] <MPSimmons> yeah
[2010/06/24 16:02:15] <Volcane> if you're happy to blow the lot away, add a puppet dns entry :)
[2010/06/24 16:02:23] @ Quit: rodnet: Remote host closed the connection
[2010/06/24 16:02:32] @ littleidea joined channel #puppet
[2010/06/24 16:02:46] <MPSimmons> Sounds good. I've done that (as a cname). The parameter host*key, where does that go?
[2010/06/24 16:03:06] <mackn> heh it's hostpubkey and hostprivkey
[2010/06/24 16:03:06] <Volcane> MPSimmons: show us your puppet.conf and the defaults file on the master pls
[2010/06/24 16:03:08] <mackn> and hostcert
[2010/06/24 16:03:14] <mackn> i think
[2010/06/24 16:03:39] @ AimanA joined channel #puppet
[2010/06/24 16:04:16] <mackn> puppetmasterd --genconfig might tell you what you need to do
[2010/06/24 16:04:31] @ Quit: masterzen: Ping timeout: 260 seconds
[2010/06/24 16:04:34] <Volcane> mackn: heh thats like the route to confusion
[2010/06/24 16:04:39] <mackn> haha
[2010/06/24 16:04:44] <Volcane> mackn: if you set it all up as puppet, nothing has to change from defaults
[2010/06/24 16:04:51] <Volcane> mackn: defaults just do the right thing
[2010/06/24 16:05:00] <mackn> i guess i like extra lnes in my config files :)
[2010/06/24 16:05:27] <mackn> makes it obvious for other people to tell what's going on from looking at it who don't know what the defaults are
[2010/06/24 16:05:32] <Volcane> by default certs on the mastter has names 'puppet' and 'puppet.$domain' and fqdn
[2010/06/24 16:05:33] <MPSimmons> ok, so I have the puppet.conf from the puppetmaster, but I'm not sure what you want when you said default file?
[2010/06/24 16:05:56] <Volcane> MPSimmons: probably /etc/defaults/puppetmasterd or something similar
[2010/06/24 16:06:32] <MPSimmons> I don't see anything resembling that in my locate database. What are the contents, typically?
[2010/06/24 16:06:38] <lilnick> what OS?
[2010/06/24 16:06:41] <mackn> nod
[2010/06/24 16:06:43] <MPSimmons> CentOS
[2010/06/24 16:06:49] <lilnick> /etc/sysconfig/puppetmaster
[2010/06/24 16:07:11] <Volcane> yeah /etc/sysconfig/puppetmaster
[2010/06/24 16:07:24] <MPSimmons> http://pastebin.com/eC4p2TYG
[2010/06/24 16:07:49] @ masterzen joined channel #puppet
[2010/06/24 16:07:50] <MPSimmons> It's pretty generic
[2010/06/24 16:08:05] <mackn> well empty is more like it heh
[2010/06/24 16:08:28] <Volcane> right
[2010/06/24 16:08:29] <Volcane> hold
[2010/06/24 16:09:47] <Volcane> ok well that seems fine
[2010/06/24 16:09:51] <Volcane> got your dns entry yet?
[2010/06/24 16:09:52] @ Quit: jab_doa: Quit: Verlassend
[2010/06/24 16:10:30] <MPSimmons> yes
[2010/06/24 16:10:44] <Volcane> does ping puppet work?
[2010/06/24 16:10:50] <MPSimmons> yes
[2010/06/24 16:10:59] <Volcane> om the client /etc/sysconfig/puppet
[2010/06/24 16:11:06] <Volcane> comment out PUPPET_SERVER
[2010/06/24 16:11:13] <MPSimmons> k
[2010/06/24 16:11:21] <Volcane> and do puppetd --test again
[2010/06/24 16:11:23] <Volcane> what happens
[2010/06/24 16:11:39] <mackn> did you generate new certs?
[2010/06/24 16:11:58] <Volcane> mackn: probably not needed
[2010/06/24 16:11:59] <MPSimmons> the broken part moved to my config ;-)
[2010/06/24 16:12:05] <MPSimmons> horray
[2010/06/24 16:12:05] <Volcane> mackn: the server isnt badly setup
[2010/06/24 16:12:24] <mackn> it's like magic
[2010/06/24 16:12:30] <MPSimmons> thanks very much
[2010/06/24 16:12:32] <MPSimmons> :)
[2010/06/24 16:12:47] <Volcane> no probs
[2010/06/24 16:12:53] <MPSimmons> Is the "your puppet server should be reachable by puppet.yourtld" thing documented?
[2010/06/24 16:13:05] <mackn> somewhere
[2010/06/24 16:13:11] <Volcane> yeah, somewhere :P
[2010/06/24 16:13:13] <mackn> heh
[2010/06/24 16:13:17] <lilnick> I never really noticed that recommendation but I'm sure it's somewhere
[2010/06/24 16:13:17] <mackn> i know i read it once before :)
[2010/06/24 16:13:36] <lilnick> The tutorial/examples all kinda suggest it I think
[2010/06/24 16:13:58] * Volcane hasnt read the getting started docs in like 4 years no idea whats there :)
[2010/06/24 16:16:14] <MPSimmons> I really appreciate the help
[2010/06/24 16:16:16] <MPSimmons> Thanks
[2010/06/24 16:16:22] <Volcane> no prob
[2010/06/24 16:17:41] @ OpenMedia joined channel #puppet
[2010/06/24 16:20:29] @ bobinabottle joined channel #puppet
[2010/06/24 16:29:12] <MPSimmons> Oh hey, another question...is there a trick to specifying '*' in a crontab with puppet?
[2010/06/24 16:29:38] <Volcane> it works, it just logs weird crap every time it runs
[2010/06/24 16:29:45] <MPSimmons> I'm getting a syntax error
[2010/06/24 16:29:46] <Volcane> minute => '*'
[2010/06/24 16:29:58] <MPSimmons> "syntax error at '*'; expected '}'
[2010/06/24 16:30:03] <Volcane> hmm, show it on pastie again
[2010/06/24 16:30:34] <eric0> if you dont specify that field it will default to *
[2010/06/24 16:30:39] @ Quit: yure: Ping timeout: 260 seconds
[2010/06/24 16:30:53] <MPSimmons> http://pastebin.com/ApQVjGPW
[2010/06/24 16:31:11] @ yure joined channel #puppet
[2010/06/24 16:31:32] @ Quit: tonyskapunk: Quit: ERC Version 5.3 (IRC client for Emacs)
[2010/06/24 16:31:34] <Volcane> hmm
[2010/06/24 16:31:37] <MPSimmons> if it were just that, then it would be alright, but I know that I'm going to need to do */4
[2010/06/24 16:31:45] <Volcane> */4 defo works
[2010/06/24 16:31:57] <Volcane> just leave out the hour it'll default
[2010/06/24 16:32:02] @ Quit: littleidea: Quit: littleidea
[2010/06/24 16:32:33] <mackn> haha
[2010/06/24 16:32:46] <MPSimmons> ok
[2010/06/24 16:32:49] <MPSimmons> lemme give that a shot
[2010/06/24 16:32:51] <mackn> but seriously tho... i don't see what's going on
[2010/06/24 16:33:05] <Volcane> ditto
[2010/06/24 16:33:12] <mackn> it...appears ok
[2010/06/24 16:33:31] <mackn> i'm gonna try it on mine
[2010/06/24 16:35:27] <mackn> welll that wroked just fine
[2010/06/24 16:35:43] <Volcane> MPSimmons: what version?
[2010/06/24 16:35:44] <mackn> i wonder if you have some strange characters in your file.. the inivisble kind...
[2010/06/24 16:36:27] <MPSimmons> I don't think so?
[2010/06/24 16:36:34] <MPSimmons> I'm using vim to edit, and things look "right"
[2010/06/24 16:37:35] <MPSimmons> the */4 did work
[2010/06/24 16:38:02] @ littleidea joined channel #puppet
[2010/06/24 16:39:22] @ Quit: MattyM: Ping timeout: 264 seconds
[2010/06/24 16:39:34] <mackn> hrmm.. oddly everytime i run puppetd --test it mentions that hour is defined as '*'...
[2010/06/24 16:39:52] <MPSimmons> interesting
[2010/06/24 16:39:52] <mackn> but if i change it to a value it says it just once (when it changes it) and then never again
[2010/06/24 16:40:12] <mackn> but i get no error
[2010/06/24 16:42:45] @ jdcasey joined channel #puppet
[2010/06/24 16:43:51] @ plathrop_ joined channel #puppet
[2010/06/24 16:44:12] @ Quit: jdcasey: Client Quit
[2010/06/24 16:44:31] @ jdcasey joined channel #puppet
[2010/06/24 16:44:39] @ Quit: \ask: Ping timeout: 260 seconds
[2010/06/24 16:46:17] @ MattyM joined channel #puppet
[2010/06/24 16:50:35] <Volcane> MPSimmons: you' do well to stick to lowecase classnames and to quote resource names like cron{"foo": ... }
[2010/06/24 16:51:16] @ \ask joined channel #puppet
[2010/06/24 16:53:10] <MPSimmons> is that convention, or just better supported?
[2010/06/24 16:53:36] @ \ask_ joined channel #puppet
[2010/06/24 16:53:43] <Volcane> it avoids certain weird things
[2010/06/24 16:53:56] <Volcane> and just general convention i guess
[2010/06/24 16:54:26] @ Quit: plathrop_: Remote host closed the connection
[2010/06/24 16:54:27] <MPSimmons> class names don't need quotes around them, right?
[2010/06/24 16:54:37] <Volcane> class foo { ... }
[2010/06/24 16:54:38] <Volcane> but
[2010/06/24 16:54:49] <Volcane> file{"/tmp/foo: require => Class["foo"] }
[2010/06/24 16:55:31] @ plathrop_ joined channel #puppet
[2010/06/24 16:55:54] @ Quit: \ask: Ping timeout: 258 seconds
[2010/06/24 16:56:14] <MPSimmons> I'm sure that by now all of these things make sense, but to someone first coming in, they're really confusing :-)
[2010/06/24 16:56:16] <MPSimmons> just so you know ;-)
[2010/06/24 16:56:49] <MPSimmons> ok, so is there anything wrong with this line?
[2010/06/24 16:56:49] <MPSimmons> $iapackagelist = [ "vim", "screen", "nmap", "wget", "curl", "ntp", "yum-priorities" ]
[2010/06/24 16:57:01] <Volcane> that should be fine
[2010/06/24 16:57:16] <MPSimmons> class IA-baseline {
[2010/06/24 16:57:18] <MPSimmons> that's the next line
[2010/06/24 16:57:28] <MPSimmons> damn. let me guess. no dashes
[2010/06/24 16:57:32] <Volcane> shouldnt define variables outside of class { } boundaries
[2010/06/24 16:57:39] <Volcane> dashes work, but the documentation say they shouldnt :)
[2010/06/24 16:57:47] <mackn> haha
[2010/06/24 16:58:16] <Volcane> the documentation subject just keeps on giving tonight :P
[2010/06/24 16:58:47] @ Quit: plathrop: Quit: leaving
[2010/06/24 16:59:07] <nevyn> MPSimmons: it's missing lsof ;)
[2010/06/24 16:59:15] <nevyn> and strace ;)
[2010/06/24 16:59:19] <MPSimmons> hah!
[2010/06/24 16:59:27] <MPSimmons> jesus that was a long day
[2010/06/24 16:59:27] <MPSimmons> ;-)
[2010/06/24 16:59:37] <MPSimmons> and I already checked getenforce
[2010/06/24 16:59:38] <MPSimmons> ;-)
[2010/06/24 17:00:32] <MPSimmons> right.
[2010/06/24 17:00:36] <MPSimmons> so I'm doing something horribly wrong
[2010/06/24 17:00:38] <MPSimmons> http://pastebin.com/EB8vDv2K
[2010/06/24 17:00:40] <MPSimmons> I know it
[2010/06/24 17:00:50] <MPSimmons> otherwise I wouldn't get a syntax error on the first line of code
[2010/06/24 17:00:51] @ Quit: sking: Ping timeout: 240 seconds
[2010/06/24 17:01:03] <Volcane> MPSimmons: what version you on?
[2010/06/24 17:01:32] <Volcane> MPSimmons: you have a problem on line 18 too - but you're not there yet :)
[2010/06/24 17:01:57] @ Quit: plathrop_: Remote host closed the connection
[2010/06/24 17:02:10] @ Quit: \ask_: Ping timeout: 264 seconds
[2010/06/24 17:02:11] @ plathrop joined channel #puppet
[2010/06/24 17:02:17] <MPSimmons> looks like 0.25.5
[2010/06/24 17:02:17] <Volcane> wow. a /root/.vimrc
[2010/06/24 17:02:22] <Volcane> who edits files as root :P
[2010/06/24 17:02:25] <MPSimmons> leave me alone ;-)
[2010/06/24 17:02:27] @ jhunter joined channel #puppet
[2010/06/24 17:02:28] <Volcane> MPSimmons: lol
[2010/06/24 17:02:33] <Volcane> MPSimmons: try lowercasing the class name
[2010/06/24 17:02:35] @ Quit: tep: Quit: Leaving.
[2010/06/24 17:02:48] @ Quit: jhunter: Client Quit
[2010/06/24 17:03:08] @ Quit: plathrop: Remote host closed the connection
[2010/06/24 17:03:36] <MPSimmons> and there was much rejoicing.
[2010/06/24 17:03:40] <MPSimmons> for another 18 lines or so
[2010/06/24 17:03:53] <Volcane> :) drop the ?
[2010/06/24 17:04:16] <MPSimmons> I thought I had seen that on examples, though...but ok
[2010/06/24 17:04:18] <Volcane> there's 2 case like constructs, case and selectors
[2010/06/24 17:04:24] <Volcane> you've got a mix of the 2
[2010/06/24 17:05:39] <MPSimmons> I see
[2010/06/24 17:05:44] <MPSimmons> ok
[2010/06/24 17:06:03] @ sigmonsays joined channel #puppet
[2010/06/24 17:06:17] <MPSimmons> Syntax error at '=>'; expected '}'
[2010/06/24 17:06:20] <MPSimmons> same line.
[2010/06/24 17:06:22] <MPSimmons> heh
[2010/06/24 17:06:26] <MPSimmons> it's almost comical ;-)
[2010/06/24 17:07:01] @ Quit: littleidea: Quit: littleidea
[2010/06/24 17:07:24] @ Alagar joined channel #puppet
[2010/06/24 17:07:24] @ Quit: Alagar: Excess Flood
[2010/06/24 17:07:24] <MPSimmons> is there some kind of code base somewhere of puppet code that I should be looking for examples in, so I don't waste your time?
[2010/06/24 17:07:45] <Volcane> plenty on forge.puppetlabs.com
[2010/06/24 17:08:14] <Volcane> assuming you're familiar with http://docs.reductivelabs.com/guides/language_tutorial.html
[2010/06/24 17:08:29] <Volcane> as well as http://docs.reductivelabs.com/references/0.25.5/
[2010/06/24 17:08:59] @ \ask joined channel #puppet
[2010/06/24 17:09:08] <Volcane> first one is valid syntax and examples
[2010/06/24 17:09:12] <Volcane> 2nd one is reference
[2010/06/24 17:11:07] <Volcane> ok time to try get some sleep, too hot
[2010/06/24 17:11:13] <Volcane> goo dluck
[2010/06/24 17:11:17] <MPSimmons> thanks
[2010/06/24 17:11:54] @ rodnet joined channel #puppet
[2010/06/24 17:13:09] @ Quit: MattyM: Ping timeout: 258 seconds
[2010/06/24 17:14:29] @ littleidea joined channel #puppet
[2010/06/24 17:14:59] @ Quit: jaredrhine: Ping timeout: 260 seconds
[2010/06/24 17:15:08] @ sking joined channel #puppet
[2010/06/24 17:15:51] @ Quit: littleidea: Client Quit
[2010/06/24 17:18:05] @ \ask_ joined channel #puppet
[2010/06/24 17:18:20] @ davea1 joined channel #puppet
[2010/06/24 17:20:19] @ Quit: jdcasey: Remote host closed the connection
[2010/06/24 17:20:45] <MPSimmons> So puppet is throwing an error because I had a period in the name of a node
[2010/06/24 17:20:45] @ Quit: ashp: Ping timeout: 240 seconds
[2010/06/24 17:21:08] <MPSimmons> Is that the way it should be, or do I have something wrong?
[2010/06/24 17:21:17] <mackn> pastie please
[2010/06/24 17:21:18] @ ashp joined channel #puppet
[2010/06/24 17:21:21] <MPSimmons> node sys1b.int.ia inherits "default" {
[2010/06/24 17:21:39] <MPSimmons> Syntax error at '.' at /etc/puppet/manifests/site.pp:3
[2010/06/24 17:21:46] <MPSimmons> which is the line I pasted before
[2010/06/24 17:21:59] @ Quit: \ask: Ping timeout: 260 seconds
[2010/06/24 17:23:17] <mackn> i appear to use regexs in all my node calls... perhaps it's a requiremnt..
[2010/06/24 17:23:24] <mackn> try node /sys1b\.int\.ia/
[2010/06/24 17:23:35] <davea1> MPSimmons, put quotes around the hostname ?
[2010/06/24 17:23:40] <mackn> that too!
[2010/06/24 17:23:41] <mackn> haha
[2010/06/24 17:24:00] <mackn> yeah that'll prolly fix it
[2010/06/24 17:24:09] <MPSimmons> seriously?
[2010/06/24 17:24:24] <MPSimmons> is /that/ documented anywhere?
[2010/06/24 17:24:39] <davea1> http://docs.puppetlabs.com/guides/more_language.html#quoting ?
[2010/06/24 17:24:47] <MPSimmons> "Syntax error at '\'
[2010/06/24 17:24:48] <MPSimmons> same line
[2010/06/24 17:24:48] <mackn> i'm sure there's something that says if it's not just alphanumeric quote it to be sure
[2010/06/24 17:25:26] <MPSimmons> and yet, it works if I just make it 'sys1b
[2010/06/24 17:25:30] <MPSimmons> well, sys1b
[2010/06/24 17:25:32] <MPSimmons> no quotes
[2010/06/24 17:25:35] <MPSimmons> I don't understand this at all
[2010/06/24 17:25:48] <MPSimmons> there are so many arbitrary rules
[2010/06/24 17:25:57] <mackn> well..
[2010/06/24 17:25:59] <mackn> yeah...
[2010/06/24 17:26:02] <davea1> http://docs.puppetlabs.com/guides/language_tutorial.html#nodes
[2010/06/24 17:26:03] <mackn> but once you know them you're golden :)
[2010/06/24 17:26:12] <davea1> Some names, especially fully qualified ones, need to be quoted, so it is a best practice to quote all of them.
[2010/06/24 17:26:35] <mackn> although i'm curious as to why the regex didn't work
[2010/06/24 17:26:59] <MPSimmons> because the name wasn't in quotes
[2010/06/24 17:27:03] @ Quit: \ask_: Remote host closed the connection
[2010/06/24 17:27:04] <MPSimmons> it works with quotes
[2010/06/24 17:27:07] <mackn> i don't use quotes when i regex
[2010/06/24 17:27:08] @ Quit: bgupta: Read error: Connection reset by peer
[2010/06/24 17:27:14] <MPSimmons> I don't know
[2010/06/24 17:27:17] <mackn> maybe it's some strange change in 25.5
[2010/06/24 17:27:18] <mackn> heh
[2010/06/24 17:27:19] <MPSimmons> because puppet hates me
[2010/06/24 17:27:23] <MPSimmons> lol
[2010/06/24 17:27:24] <mackn> i'm on 25.4
[2010/06/24 17:27:25] <mackn> so
[2010/06/24 17:27:26] <mackn> *shrug*
[2010/06/24 17:27:54] <mackn> maybe you're using some funny version of ruby and it's just causing random issues heh
[2010/06/24 17:28:11] @ Quit: alfism: Quit: alfism
[2010/06/24 17:28:24] <lisa> MPSimmons: o/ @standaloneSA i presume?
[2010/06/24 17:28:36] <MPSimmons> yeah
[2010/06/24 17:28:39] @ bogusano_ joined channel #puppet
[2010/06/24 17:28:39] <MPSimmons> :)
[2010/06/24 17:28:46] @ raz_ joined channel #puppet
[2010/06/24 17:28:52] <lisa> howdy
[2010/06/24 17:28:56] @ Quit: bogusano: Read error: Operation timed out
[2010/06/24 17:28:57] @ Quit: raz: Read error: Operation timed out
[2010/06/24 17:28:57] @ Quit: Berge: Read error: Operation timed out
[2010/06/24 17:28:57] @ raz_ is now known as raz
[2010/06/24 17:29:02] @ Quit: raz: Changing host
[2010/06/24 17:29:02] @ raz joined channel #puppet
[2010/06/24 17:29:38] <MPSimmons> hi
[2010/06/24 17:29:49] @ londo_ joined channel #puppet
[2010/06/24 17:32:27] <davea1> MPSimmons, yes I agree that the puppet syntax can be finicky - but mackn is right- once you know it, you are golden
[2010/06/24 17:33:00] <rlpowell> How do I quote ' in exec's command?
[2010/06/24 17:33:55] <davea1> escape with backslash I would guess
[2010/06/24 17:34:00] @ TheAvatar joined channel #puppet
[2010/06/24 17:34:06] @ Phibs_ joined channel #puppet
[2010/06/24 17:34:11] <davea1> or double quote the whole exec
[2010/06/24 17:34:20] * davea1 is guessing
[2010/06/24 17:34:22] @ nico_ joined channel #puppet
[2010/06/24 17:34:23] <rlpowell> *nod*
[2010/06/24 17:34:34] @ bgupta joined channel #puppet
[2010/06/24 17:34:39] @ cosimo_ joined channel #puppet
[2010/06/24 17:34:44] @ ashp_ joined channel #puppet
[2010/06/24 17:34:44] @ promethe1nfire joined channel #puppet
[2010/06/24 17:34:56] @ Quit: ashp: *.net *.split
[2010/06/24 17:34:56] @ Quit: sking: *.net *.split
[2010/06/24 17:34:57] @ Quit: pting: *.net *.split
[2010/06/24 17:34:57] @ Quit: snoop: *.net *.split
[2010/06/24 17:34:57] @ Quit: londo: *.net *.split
[2010/06/24 17:34:57] @ Quit: cosimo: *.net *.split
[2010/06/24 17:34:57] @ Quit: DmosEmp_: *.net *.split
[2010/06/24 17:34:57] @ Quit: Phibs: *.net *.split
[2010/06/24 17:34:58] @ Quit: ricky: *.net *.split
[2010/06/24 17:34:58] @ Quit: prometheanfire: *.net *.split
[2010/06/24 17:34:58] @ Quit: nico: *.net *.split
[2010/06/24 17:34:58] @ Quit: sigmonsays: *.net *.split
[2010/06/24 17:34:58] @ Quit: eshamow: *.net *.split
[2010/06/24 17:34:58] @ Quit: _TheAvatar: *.net *.split
[2010/06/24 17:34:58] @ Quit: blkperl: *.net *.split
[2010/06/24 17:34:59] <MPSimmons> well, it's finally working. Thank you all very, very much
[2010/06/24 17:35:05] @ ricky_ joined channel #puppet
[2010/06/24 17:35:17] @ Quit: ahasenack: Quit: Leaving
[2010/06/24 17:35:39] @ Quit: xerxas: Quit: Leaving.
[2010/06/24 17:36:36] @ Berge joined channel #puppet
[2010/06/24 17:36:41] @ Djelibeybi joined channel #puppet
[2010/06/24 17:36:53] <Djelibeybi> jamesturnbull: ping?
[2010/06/24 17:39:52] @ Quit: jeffmccune: Quit: jeffmccune
[2010/06/24 17:42:39] @ mrsprinkles joined channel #puppet
[2010/06/24 17:43:11] @ eshamow joined channel #puppet
[2010/06/24 17:43:18] <mrsprinkles> i'm setting up puppet on a new ubuntu server and i'm getting this: 'eval_generate': undefined method `closed?' for nil:NilClass anyone know what's up?
[2010/06/24 17:43:29] <MPSimmons> ok
[2010/06/24 17:43:33] <mrsprinkles> I was able to sign the cert just fune
[2010/06/24 17:43:36] <MPSimmons> I'm working to the extent that I would like to tonight
[2010/06/24 17:43:44] <MPSimmons> I'm heading home. You all rock.
[2010/06/24 17:44:00] <MPSimmons> It's probably a sign that it took several hours to get the first node working, but only 30 seconds for the others.
[2010/06/24 17:44:03] @ sking joined channel #puppet
[2010/06/24 17:44:14] <mackn> welcome to puppet
[2010/06/24 17:45:23] @ littleidea joined channel #puppet
[2010/06/24 17:45:28] <MPSimmons> lol
[2010/06/24 17:45:32] <MPSimmons> goodnight
[2010/06/24 17:45:52] <mackn> gnight
[2010/06/24 17:46:08] @ pting_ joined channel #puppet
[2010/06/24 17:46:34] @ pting joined channel #puppet
[2010/06/24 17:46:37] @ Quit: MPSimmons: Quit: Leaving.
[2010/06/24 17:47:53] @ sigmonsays joined channel #puppet
[2010/06/24 17:48:14] @ Quit: Filbert: Quit: rah
[2010/06/24 17:48:19] @ Filbert joined channel #puppet
[2010/06/24 17:49:59] @ KenjiPops joined channel #puppet
[2010/06/24 17:50:22] @ Quit: Filbert: Client Quit
[2010/06/24 17:50:27] @ Filbert joined channel #puppet
[2010/06/24 17:50:34] @ Quit: Djelibeybi: *.net *.split
[2010/06/24 17:50:34] @ Quit: ashp_: *.net *.split
[2010/06/24 17:50:34] @ Quit: blahdeblah: *.net *.split
[2010/06/24 17:50:35] @ Quit: omry: *.net *.split
[2010/06/24 17:50:35] @ Quit: Hypnoz: *.net *.split
[2010/06/24 17:50:35] @ Quit: iamchrisf: *.net *.split
[2010/06/24 17:50:35] @ Quit: reyjrar: *.net *.split
[2010/06/24 17:50:35] @ Quit: macfly: *.net *.split
[2010/06/24 17:50:35] @ Quit: Schmidt: *.net *.split
[2010/06/24 17:50:35] @ Quit: omry|work: *.net *.split
[2010/06/24 17:50:35] @ Quit: Bogdar: *.net *.split
[2010/06/24 17:50:35] @ Quit: robinbowes: *.net *.split
[2010/06/24 17:50:36] @ Quit: rellis__: *.net *.split
[2010/06/24 17:50:36] @ Quit: neek: *.net *.split
[2010/06/24 17:50:36] @ Quit: pkhamre: *.net *.split
[2010/06/24 17:50:36] @ Quit: Dyresen: *.net *.split
[2010/06/24 17:50:46] @ ezmobius joined channel #puppet
[2010/06/24 17:51:40] @ Quit: _nalle: Ping timeout: 276 seconds
[2010/06/24 17:51:50] @ Djelibeybi joined channel #puppet
[2010/06/24 17:51:50] @ ashp_ joined channel #puppet
[2010/06/24 17:51:50] @ blahdeblah joined channel #puppet
[2010/06/24 17:51:50] @ Hypnoz joined channel #puppet
[2010/06/24 17:51:50] @ omry joined channel #puppet
[2010/06/24 17:51:50] @ iamchrisf joined channel #puppet
[2010/06/24 17:51:50] @ reyjrar joined channel #puppet
[2010/06/24 17:51:50] @ macfly joined channel #puppet
[2010/06/24 17:51:50] @ omry|work joined channel #puppet
[2010/06/24 17:51:50] @ Bogdar joined channel #puppet
[2010/06/24 17:51:50] @ robinbowes joined channel #puppet
[2010/06/24 17:51:50] @ rellis__ joined channel #puppet
[2010/06/24 17:51:50] @ neek joined channel #puppet
[2010/06/24 17:51:50] @ pkhamre joined channel #puppet
[2010/06/24 17:51:50] @ Dyresen joined channel #puppet
[2010/06/24 17:51:54] @ Quit: robinbowes: Ping timeout: 243 seconds
[2010/06/24 17:52:08] @ mechcow joined channel #puppet
[2010/06/24 17:52:33] @ robinbowes joined channel #puppet
[2010/06/24 17:53:18] <mechcow> I have a module called "foo" and a template direcotry "foo", how can I specify in the module I want to explicitly use the module version? content=>template("modules/foo/template.erb") does not appear to work
[2010/06/24 17:53:55] <Djelibeybi> mechcow: you should have modules/foo/templates/template.erb
[2010/06/24 17:54:06] <Djelibeybi> mechcow: then use content => template("template.erb")
[2010/06/24 17:54:39] @ Quit: yeled: Ping timeout: 260 seconds
[2010/06/24 17:55:48] @ Quit: pting: Quit: Ex-Chat
[2010/06/24 17:55:50] <rlpowell> http://pastie.org/private/zucdooepbjml7frrhjpbzg -- is giving me "All resource specifications require names; expected '%s' at /data/puppet/modules/psql/manifests/init.pp:409 ". 409 is the "exec { "force postgres restart":" line. ... what is it *talknig* about?
[2010/06/24 17:56:31] <Djelibeybi> rlpowell: try taking the spaces out of the resource name perhaps? This is just a guess, though.
[2010/06/24 17:56:57] <rlpowell> Looks like it was complaining about something like 30 lines down. Weird.
[2010/06/24 17:57:18] @ pting_ is now known as pting
[2010/06/24 17:57:24] <Djelibeybi> rlpowell: ah, ok. BTW, what's the purpose of that exec? Why don't you just notify the service, which will restart PostgreSQL for you.
[2010/06/24 17:57:36] <Djelibeybi> rlpowell: or have the service subscribe to files that may require a restart
[2010/06/24 17:57:40] <rlpowell> It's complicated. :)
[2010/06/24 17:57:50] <rlpowell> I need to star the service, *then* change the file, then restart the service.
[2010/06/24 17:58:36] <Djelibeybi> rlpowell: pg_hba.conf? :)
[2010/06/24 17:58:48] <rlpowell> Yep! How'd you guess?
[2010/06/24 17:59:03] * Djelibeybi has done more than his fair share of PostgreSQL work.
[2010/06/24 17:59:11] <Djelibeybi> I wonder if this would work:
[2010/06/24 17:59:21] <Djelibeybi> Have pg_hba.conf require the service and also notify the service.
[2010/06/24 17:59:35] <rlpowell> Nope; that's a loop.
[2010/06/24 17:59:36] @ Quit: KenjiPops: Remote host closed the connection
[2010/06/24 17:59:40] <Djelibeybi> Poo.
[2010/06/24 17:59:40] <rlpowell> I think.
[2010/06/24 17:59:54] <Djelibeybi> I'm stuck in hospital away from my Puppet VMs so I can't even test it.
[2010/06/24 18:00:05] <rlpowell> heh.
[2010/06/24 18:01:50] @ Quit: ezmobius: Remote host closed the connection
[2010/06/24 18:02:28] <mechcow> Djelibeybi: ahh... ok it defaults to the current module, thanks
[2010/06/24 18:02:45] <Djelibeybi> mechcow: no worries
[2010/06/24 18:02:47] @ KenjiPops joined channel #puppet
[2010/06/24 18:03:01] @ Quit: Demosthenes: Ping timeout: 264 seconds
[2010/06/24 18:03:55] @ yeled joined channel #puppet
[2010/06/24 18:04:00] <davea1> creating a module for bacula is quite challenging
[2010/06/24 18:04:21] <Djelibeybi> davea1: have you checked Puppet Forge or github?
[2010/06/24 18:04:30] @ Quit: littleidea: Quit: littleidea
[2010/06/24 18:04:55] <davea1> Djelibeybi, didnt see anything but that is ok- I am learning alot
[2010/06/24 18:05:23] @ promethe1nfire is now known as prometheanfire
[2010/06/24 18:05:47] @ pjsz joined channel #puppet
[2010/06/24 18:06:30] <mechcow> Djelibeybi: I'm using puppet puppet-0.25.4-1.el5 . Your syntax does not appear to work, says it can't find the template
[2010/06/24 18:06:42] <Djelibeybi> mechcow: one sec
[2010/06/24 18:07:40] <Djelibeybi> mechcow: sorry, try content => template('foo/template.erb'),
[2010/06/24 18:08:47] <mechcow> Djelibeybi: ok yeah, so my issue is that I already have a global "foo/template.erb" and I was hoping I could say "use the module" explicitly. With sources=> you can say "modules/<module_name>/<file_name>" but with the content function it does not appear this is supported
[2010/06/24 18:09:29] <Djelibeybi> mechcow: I would think that if you had a module/templates/template.erb then template('foo/template.erb') would find that first.
[2010/06/24 18:09:51] <Djelibeybi> mechcow: I mean modules/foo/templates/template.erb
[2010/06/24 18:10:30] @ Quit: mqr: Quit: mqr
[2010/06/24 18:10:43] <mechcow> Djelibeybi: from my tests it appears to prefer the global
[2010/06/24 18:10:54] <mechcow> Djelibeybi: would you say this is a bug within puppet ?
[2010/06/24 18:11:06] <Djelibeybi> mechcow: not sure. Log it as a bug and see what the developers say. :)
[2010/06/24 18:11:21] <mechcow> Djelibeybi: will do
[2010/06/24 18:13:03] @ Quit: Hypnoz: Ping timeout: 265 seconds
[2010/06/24 18:17:37] @ jaredrhine joined channel #puppet
[2010/06/24 18:21:29] @ Quit: setient: Quit: leaving
[2010/06/24 18:29:31] @ Quit: pjsz: Quit: pjsz
[2010/06/24 18:31:02] @ Quit: avleen: Read error: Operation timed out
[2010/06/24 18:35:21] @ Quit: rcrowley: Quit: rcrowley
[2010/06/24 18:37:29] @ jeffmccune joined channel #puppet
[2010/06/24 18:38:09] @ Quit: WALoeIII: Quit: Bai.
[2010/06/24 18:41:50] @ joe-mac joined channel #puppet
[2010/06/24 18:47:21] <odyi> Puppet could really use a really good published pacemaker module with an awesome native resource type.
[2010/06/24 18:47:34] * odyi thinks that would be a huge undertaking.
[2010/06/24 18:47:51] @ blkperl joined channel #puppet
[2010/06/24 18:48:09] <joe-mac> anybody notice the crontab headers that puppet writes are > 80 columns?
[2010/06/24 18:49:53] <sking> crontab headers?
[2010/06/24 18:51:18] <joe-mac> yea, like when you use a cron resource
[2010/06/24 18:51:33] <joe-mac> cron { "somejob": minute => "5", hour => "5"; }
[2010/06/24 18:51:43] <joe-mac> it writes a header to the crontab
[2010/06/24 18:52:01] <joe-mac> but each line is longer than 80 columns, just seems a little weird
[2010/06/24 18:52:28] <sking> by header do you mean comment? ive never heard of a header in the context of crontab :\
[2010/06/24 18:53:08] <joe-mac> yea, a multi-line comment, it's a header, not to be confused with a c header, idk what else i could be talking about
[2010/06/24 18:53:47] <sking> just making sure… probably shouldn't mix the terms however… RHCE definitely doesn't :p
[2010/06/24 18:53:53] <sking> however… iv not seen this behaviour
[2010/06/24 18:54:31] @ wilmoore joined channel #puppet
[2010/06/24 18:55:10] @ bender183 joined channel #puppet
[2010/06/24 18:55:13] @ sking is now known as gniks
[2010/06/24 18:56:54] <mechcow> I really don't like the crontab resource, I tend to deploy cron.d/ files directly
[2010/06/24 18:57:01] <mechcow> I know that is not strictly kosher in some circles
[2010/06/24 18:57:13] <gniks> i agree iwth mechcow
[2010/06/24 18:57:18] <bender183> im not sure what is kosher when it comes to that
[2010/06/24 18:57:23] <gniks> actually, my department policy is to do that
[2010/06/24 18:57:26] <bender183> i use crontab -e
[2010/06/24 18:57:30] * bender183 shrugs
[2010/06/24 18:57:33] <gniks> lulz bender
[2010/06/24 18:59:14] <gniks> joe-mac: is the comments causing issues for you?
[2010/06/24 19:00:24] <joe-mac> no- it's a minor annoyance, if i fire up a regular terminal it
[2010/06/24 19:00:25] <joe-mac> s cut off
[2010/06/24 19:00:28] <joe-mac> strictly cosmetic
[2010/06/24 19:00:34] <gniks> ah
[2010/06/24 19:01:00] @ Quit: bgupta: Quit: bgupta
[2010/06/24 19:01:29] @ bgupta joined channel #puppet
[2010/06/24 19:01:46] @ _nalle joined channel #puppet
[2010/06/24 19:06:16] @ ohadlevy left channel #puppet ()
[2010/06/24 19:09:09] @ ohadlevy joined channel #puppet
[2010/06/24 19:10:43] @ avleen joined channel #puppet
[2010/06/24 19:13:55] @ Quit: bender183: Read error: Connection reset by peer
[2010/06/24 19:18:14] <mrsprinkles> hmm.. anyone ever run into an issue where include myclassname doesn't do anything. myclassname can be totally bogus and it won't thow an error or anything. not sure how to get around it
[2010/06/24 19:19:10] <mrsprinkles> hmm, ok, it seems to not be auto importing my module
[2010/06/24 19:19:48] <gniks> what version of puppet are you running?
[2010/06/24 19:20:18] <mrsprinkles> 0.25.4 i'm rolling on ubuntu
[2010/06/24 19:20:34] <gniks> hmm
[2010/06/24 19:20:45] <gniks> check your moduledir setting in puppet.conf on the master?
[2010/06/24 19:20:54] <gniks> im running 25.5 and it auto imports everything
[2010/06/24 19:21:30] <mrsprinkles> you mean modulepath?
[2010/06/24 19:21:40] <mrsprinkles> doh
[2010/06/24 19:21:43] <gniks> er, yeah
[2010/06/24 19:21:45] <gniks> :)
[2010/06/24 19:22:22] <mrsprinkles> yeah it's set to modulepath=/etc/puppet/modules
[2010/06/24 19:22:33] <mrsprinkles> hmm
[2010/06/24 19:22:40] <mrsprinkles> *scratches head*
[2010/06/24 19:22:48] <gniks> hmm
[2010/06/24 19:23:08] <gniks> its in /etc/puppet/modules/<modname>/manifests/init.pp
[2010/06/24 19:23:09] <gniks> ?
[2010/06/24 19:23:18] <mrsprinkles> yep, that's correct
[2010/06/24 19:23:53] <mrsprinkles> I've used puppet lots before, so i'm totally confused. I'm running the same version (0.25.4) on debian and it doesn't have this issue
[2010/06/24 19:24:11] @ Quit: avleen: Read error: Operation timed out
[2010/06/24 19:24:59] @ Quit: jeffmccune: Quit: jeffmccune
[2010/06/24 19:25:32] <mrsprinkles> and it works if i do import "myclass"
[2010/06/24 19:25:42] <gniks> weird
[2010/06/24 19:25:55] <gniks> ive never seen this before (except on older versions where you had to specify it)
[2010/06/24 19:26:30] @ thekad is now known as thekad-afk
[2010/06/24 19:27:45] @ Quit: ceren: Quit: ceren
[2010/06/24 19:28:01] @ Quit: joe-mac: Quit: Leaving.
[2010/06/24 19:28:50] @ ceren joined channel #puppet
[2010/06/24 19:34:08] @ Quit: davea1: Quit: Leaving
[2010/06/24 19:34:16] @ bug joined channel #puppet
[2010/06/24 19:34:52] @ alexine_dsouza joined channel #puppet
[2010/06/24 19:34:59] @ thekad-afk is now known as thekad
[2010/06/24 19:35:09] @ thekad is now known as thekad-afk
[2010/06/24 19:37:07] <gniks> maybe its a bug?
[2010/06/24 19:39:56] @ DmosEmp_ joined channel #puppet
[2010/06/24 19:42:23] @ Schmidt joined channel #puppet
[2010/06/24 19:46:38] <blkperl> does puppet automagically know where custom types are if you put them in modules/$yourmodule/lib/puppet/type or do you have to tell it
[2010/06/24 19:47:42] <gniks> from what i understand it automatically knows… but im not 100% sure
[2010/06/24 19:48:05] <Djelibeybi> blkperl: I believe you need pluginsync=true in puppet.conf for Puppet to send the custom type down the clients.
[2010/06/24 19:48:47] <blkperl> hmmm pluginsync is set to true but it still can't find it
[2010/06/24 19:49:57] @ johnf joined channel #puppet
[2010/06/24 19:50:43] <Djelibeybi> blkperl: have you set that on the clients as well?
[2010/06/24 19:50:54] <blkperl> im just testing it locally right now
[2010/06/24 19:53:00] <Djelibeybi> blkperl: I don't actually use custom types, but I
[2010/06/24 19:53:13] <Djelibeybi> blkperl: I've used pluginsync to send facts down to clients
[2010/06/24 19:55:58] <Djelibeybi> Egads. I have 17000+ messages in my Puppet folder. I really do need to archive this shit.
[2010/06/24 19:59:09] @ Quit: DmosEmp_: Read error: Connection reset by peer
[2010/06/24 20:03:31] <johnf> anyone using an external CA with puppet?
[2010/06/24 20:03:55] @ Phibs_ is now known as Phibs
[2010/06/24 20:05:12] @ Quit: Djelibeybi: Quit: Leaving
[2010/06/24 20:05:53] @ pheezy joined channel #puppet
[2010/06/24 20:15:16] @ ahuman joined channel #puppet
[2010/06/24 20:16:29] <mrsprinkles> gniks: i figured out the problem
[2010/06/24 20:16:39] <gniks> what was that?
[2010/06/24 20:16:49] <mrsprinkles> apparently it is not a good idea to have a module named "main"
[2010/06/24 20:16:56] <gniks> hmm
[2010/06/24 20:16:57] <gniks> good to know :p
[2010/06/24 20:17:06] <mrsprinkles> hahah yeah
[2010/06/24 20:21:56] @ bjaspan joined channel #puppet
[2010/06/24 20:24:41] @ tecto_ joined channel #puppet
[2010/06/24 20:24:41] @ Quit: tecto_: Changing host
[2010/06/24 20:24:41] @ tecto_ joined channel #puppet
[2010/06/24 20:31:52] @ Demosthenes joined channel #puppet
[2010/06/24 20:32:44] @ Quit: KenjiPops: Quit: Leaving...
[2010/06/24 20:34:11] @ Quit: p3rror: Ping timeout: 248 seconds
[2010/06/24 20:37:29] @ Quit: mrsprinkles: Quit: mrsprinkles
[2010/06/24 20:37:38] @ KenjiPops joined channel #puppet
[2010/06/24 20:38:00] @ jhelwig joined channel #puppet
[2010/06/24 20:43:26] @ oldzyama joined channel #puppet
[2010/06/24 20:45:20] @ oldzyama left channel #puppet ()
[2010/06/24 20:47:17] @ oldzyama joined channel #puppet
[2010/06/24 20:48:29] @ oldzyama left channel #puppet ()
[2010/06/24 20:52:06] @ AimanA is now known as HouseAway
[2010/06/24 21:03:23] @ littleidea joined channel #puppet
[2010/06/24 21:04:17] @ lak joined channel #puppet
[2010/06/24 21:05:50] @ addumb joined channel #puppet
[2010/06/24 21:08:18] @ Quit: pheezy: Remote host closed the connection
[2010/06/24 21:14:11] @ Quit: littleidea: Quit: littleidea
[2010/06/24 21:16:29] <blkperl> i got it working, i think puppet barfed on some syntax errors
[2010/06/24 21:20:27] @ Quit: jbarratt: Ping timeout: 260 seconds
[2010/06/24 21:22:17] @ jbarratt joined channel #puppet
[2010/06/24 21:27:03] @ Quit: bug: Quit: bug
[2010/06/24 21:27:11] @ Quit: bjaspan: Quit: bjaspan
[2010/06/24 21:29:04] @ bug joined channel #puppet
[2010/06/24 21:38:17] @ Djelibeybi joined channel #puppet
[2010/06/24 21:40:44] @ Quit: jbarratt: Ping timeout: 276 seconds
[2010/06/24 21:41:25] @ Quit: Bass10: Ping timeout: 264 seconds
[2010/06/24 21:42:13] @ jbarratt joined channel #puppet
[2010/06/24 21:46:57] @ Quit: ceren: Quit: ceren
[2010/06/24 21:51:35] @ Quit: Djelibeybi: Quit: Leaving
[2010/06/24 21:52:42] @ Quit: jY: Ping timeout: 240 seconds
[2010/06/24 21:54:52] @ Quit: AngryParsley: Remote host closed the connection
[2010/06/24 21:55:25] @ jY joined channel #puppet
[2010/06/24 21:55:33] @ AngryParsley_ joined channel #puppet
[2010/06/24 21:57:13] @ AngryParsley_ is now known as AngryParsley
[2010/06/24 21:57:14] @ Quit: AngryParsley: Changing host
[2010/06/24 21:57:14] @ AngryParsley joined channel #puppet
[2010/06/24 21:57:48] @ DmosEmp_ joined channel #puppet
[2010/06/24 21:59:35] @ Quit: KenjiPops: Ping timeout: 276 seconds
[2010/06/24 22:13:12] @ rmiller4pi8 joined channel #puppet
[2010/06/24 22:16:50] @ tecto__ joined channel #puppet
[2010/06/24 22:18:48] @ Quit: ahuman: Remote host closed the connection
[2010/06/24 22:18:53] @ littleidea joined channel #puppet
[2010/06/24 22:20:58] @ Quit: tecto_: Ping timeout: 258 seconds
[2010/06/24 22:28:01] @ markus joined channel #puppet
[2010/06/24 22:28:54] @ Quit: tecto__: Quit: tecto__
[2010/06/24 22:32:41] @ Quit: OpenMedia: Quit: Leaving.
[2010/06/24 22:33:55] @ Quit: tim|mac: Remote host closed the connection
[2010/06/24 22:34:35] @ Quit: _nalle: Read error: Operation timed out
[2010/06/24 22:37:21] @ mgk joined channel #puppet
[2010/06/24 22:38:18] @ _nalle joined channel #puppet
[2010/06/24 22:41:07] @ Quit: pting: Quit: Ex-Chat
[2010/06/24 22:44:33] @ shug joined channel #puppet
[2010/06/24 22:45:50] @ ckauhaus joined channel #puppet
[2010/06/24 22:47:24] @ Quit: fredden: Quit: Leaving
[2010/06/24 22:52:40] @ jab_doa joined channel #puppet
[2010/06/24 22:52:49] @ jeffmccune joined channel #puppet
[2010/06/24 22:54:04] @ Quit: lak: Quit: lak
[2010/06/24 22:57:30] @ Djelibeybi joined channel #puppet
[2010/06/24 22:59:35] @ jt0wn is now known as jhunter
[2010/06/24 23:00:11] @ tecto_ joined channel #puppet
[2010/06/24 23:01:04] @ Quit: ckauhaus: Ping timeout: 276 seconds
[2010/06/24 23:12:42] @ Quit: alban2: Ping timeout: 240 seconds
[2010/06/24 23:14:09] @ tim|mac joined channel #puppet
[2010/06/24 23:18:02] @ ecolitan joined channel #puppet
[2010/06/24 23:21:38] @ ckauhaus joined channel #puppet
[2010/06/24 23:28:16] @ yannL joined channel #puppet
[2010/06/24 23:30:07] @ spawnyd joined channel #puppet
[2010/06/24 23:31:48] @ rcrowley joined channel #puppet
[2010/06/24 23:32:13] @ Quit: _nalle: Quit: leaving
[2010/06/24 23:33:02] @ _nalle joined channel #puppet
[2010/06/24 23:36:18] @ Quit: wilmoore: Remote host closed the connection
[2010/06/24 23:36:45] @ \ask joined channel #puppet
[2010/06/24 23:41:30] @ sdog joined channel #puppet
[2010/06/24 23:41:32] @ Quit: rodnet: Read error: Connection reset by peer
[2010/06/24 23:41:48] @ rodnet joined channel #puppet
[2010/06/24 23:41:59] @ Quit: ckauhaus: Quit: Leaving.
[2010/06/24 23:42:40] @ Quit: fbe: Ping timeout: 252 seconds
[2010/06/24 23:45:21] @ Quit: sdog: Changing host
[2010/06/24 23:45:21] @ sdog joined channel #puppet
[2010/06/24 23:47:18] @ Quit: tecto_: Quit: tecto_
[2010/06/24 23:51:18] @ Ramonster joined channel #puppet
[2010/06/24 23:52:03] @ Quit: \ask: Ping timeout: 248 seconds
[2010/06/24 23:54:18] @ WALoeIII joined channel #puppet
[2010/06/24 23:55:52] @ jab_doa_ joined channel #puppet
[2010/06/24 23:57:26] @ ceren joined channel #puppet

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