| [2010/02/25 00:12:58] @ Log started by gepetto | ||
| [2010/02/25 00:12:58] @ Quit: Bass10: Ping timeout: 264 seconds | ||
| [2010/02/25 00:13:09] @ Quit: jimi_c: | ||
| [2010/02/25 00:43:11] @ qwebirc308 joined channel #puppet | ||
| [2010/02/25 00:56:02] @ OpenMedia left channel #puppet () | ||
| [2010/02/25 01:02:51] @ nexx joined channel #puppet | ||
| [2010/02/25 01:13:37] @ tuf_ joined channel #puppet | ||
| [2010/02/25 01:14:59] @ Quit: rcrowley: Quit: rcrowley | ||
| [2010/02/25 01:16:01] @ rcrowley joined channel #puppet | ||
| [2010/02/25 01:17:01] @ tuf__ joined channel #puppet | ||
| [2010/02/25 01:19:46] @ Quit: tuf_: Ping timeout: 245 seconds | ||
| [2010/02/25 01:23:59] @ Quit: rcrowley: Quit: rcrowley | ||
| [2010/02/25 01:27:20] @ tuf_ joined channel #puppet | ||
| [2010/02/25 01:29:25] @ Quit: tuf__: Ping timeout: 265 seconds | ||
| [2010/02/25 01:32:39] @ Quit: Spads: Ping timeout: 240 seconds | ||
| [2010/02/25 01:40:30] @ randybias joined channel #puppet | ||
| [2010/02/25 01:41:54] @ vermeer joined channel #puppet | ||
| [2010/02/25 01:42:36] @ Quit: randybias: Client Quit | ||
| [2010/02/25 01:55:53] @ giskard joined channel #puppet | ||
| [2010/02/25 01:56:56] <JD_> anyone know if realising based on auto-generated tags is going to be fixed? | ||
| [2010/02/25 02:04:01] @ alban2 joined channel #puppet | ||
| [2010/02/25 02:14:10] @ m1nish joined channel #puppet | ||
| [2010/02/25 02:14:40] @ suchu joined channel #puppet | ||
| [2010/02/25 02:17:06] @ teyo joined channel #puppet | ||
| [2010/02/25 02:17:32] @ lucky__ joined channel #puppet | ||
| [2010/02/25 02:17:54] @ lucky__ left channel #puppet () | ||
| [2010/02/25 02:22:20] @ randybias joined channel #puppet | ||
| [2010/02/25 02:28:05] <abien> Is anyone handling CentOS/RHEL network interface config with puppet? (and if, how ?) | ||
| [2010/02/25 02:30:35] <chadh> abien: search the puppet-users mailing list. I am pretty sure it was discussed there | ||
| [2010/02/25 02:32:20] @ Quit: scavara: Quit: Leaving | ||
| [2010/02/25 02:34:11] @ Quit: alban2: Ping timeout: 265 seconds | ||
| [2010/02/25 02:34:26] @ Quit: ezmobius: Ping timeout: 248 seconds | ||
| [2010/02/25 02:39:18] @ Quit: teyo: Quit: teyo | ||
| [2010/02/25 02:42:00] @ Djelibeybi joined channel #puppet | ||
| [2010/02/25 02:49:18] @ Quit: qwebirc308: Quit: Page closed | ||
| [2010/02/25 02:53:07] @ naresh is now known as nareshov | ||
| [2010/02/25 02:53:45] @ Quit: giskard: Remote host closed the connection | ||
| [2010/02/25 03:00:47] @ Spads joined channel #puppet | ||
| [2010/02/25 03:05:29] @ TREllis joined channel #puppet | ||
| [2010/02/25 03:05:33] @ jnewland joined channel #puppet | ||
| [2010/02/25 03:07:45] <JD_> "Feb 23 00:12:29 ace puppetmasterd[1311]: PGError: server closed the connection unexpectedly#012#011This probably means the server terminated abnormally#012#011before or while processing the request.#012: | ||
| [2010/02/25 03:07:46] <gepetto> JD_: #012 is http://projects.reductivelabs.com/issues/show/012 "Puppet - Feature #12: Support processes in addition to services - ReductiveLabs.com" | ||
| [2010/02/25 03:08:10] <JD_> anyone seen that? | ||
| [2010/02/25 03:09:44] <nico> PGerror ? you use a postgresql backend for storedconfig ? | ||
| [2010/02/25 03:10:09] @ Quit: bwood: Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org | ||
| [2010/02/25 03:10:44] @ Quit: cowbud: Quit: out 0.3.1 | ||
| [2010/02/25 03:18:05] <JD_> nico: yes | ||
| [2010/02/25 03:18:57] <nico> did you look if the logs on the postgresql server show something ? (disclaimer, I don't use postgresql) | ||
| [2010/02/25 03:19:02] @ Quit: jnewland: Quit: jnewland | ||
| [2010/02/25 03:20:19] @ scavara joined channel #puppet | ||
| [2010/02/25 03:22:33] @ giskard joined channel #puppet | ||
| [2010/02/25 03:23:07] <JD_> nico: there's nothing in the logs, but my guess is that the database connection is dying due to a timeout somewhere | ||
| [2010/02/25 03:23:39] <nico> may be a rails problem | ||
| [2010/02/25 03:26:05] <JD_> yeah, that was my assumption | ||
| [2010/02/25 03:26:56] @ elementai joined channel #puppet | ||
| [2010/02/25 03:33:39] @ randybias is now known as randybias|away | ||
| [2010/02/25 03:36:29] @ themroc joined channel #puppet | ||
| [2010/02/25 03:42:52] @ Quit: Djelibeybi: Quit: Leaving | ||
| [2010/02/25 03:42:53] @ mattwynne joined channel #puppet | ||
| [2010/02/25 03:45:53] @ snerd joined channel #puppet | ||
| [2010/02/25 03:50:41] <scavara> in my node.pp for a xpuppet node i have following | ||
| [2010/02/25 03:51:24] <scavara> rsync::secretuser { "rsyncsc":name => "xpuppet.somedomain" } | ||
| [2010/02/25 03:51:42] @ gebi joined channel #puppet | ||
| [2010/02/25 03:51:46] <scavara> where xpuppet is equal to node name | ||
| [2010/02/25 03:53:09] <scavara> is there any way i can do this without entering 'xpupppet.somedomain' manually? | ||
| [2010/02/25 03:54:36] @ ckauhaus joined channel #puppet | ||
| [2010/02/25 03:54:39] @ Quit: tuf_: Quit: tuf_ | ||
| [2010/02/25 03:55:00] @ Quit: ckauhaus: Client Quit | ||
| [2010/02/25 03:55:17] @ Ramonster joined channel #puppet | ||
| [2010/02/25 03:55:30] @ ckauhaus joined channel #puppet | ||
| [2010/02/25 03:56:40] @ pacalm joined channel #puppet | ||
| [2010/02/25 03:59:06] @ Robbie_ joined channel #puppet | ||
| [2010/02/25 03:59:16] <RedPepper> yes | ||
| [2010/02/25 03:59:21] <RedPepper> you can use the fqdn fact | ||
| [2010/02/25 03:59:46] <scavara> facts["fqdn"]? | ||
| [2010/02/25 03:59:49] <RedPepper> no | ||
| [2010/02/25 03:59:50] <JD_> rsync::secretuser { "rsyncsc":name => $fqdn } | ||
| [2010/02/25 03:59:55] <scavara> d'oh! | ||
| [2010/02/25 03:59:57] <RedPepper> yes | ||
| [2010/02/25 04:00:14] <RedPepper> if you need data from the node try to get it through facts | ||
| [2010/02/25 04:00:27] <scavara> 'k | ||
| [2010/02/25 04:00:54] <RedPepper> if you do not know if its provided you can all see with the command facter | ||
| [2010/02/25 04:05:02] <scavara> worked like a charm | ||
| [2010/02/25 04:05:11] @ Quit: mattwynne: Remote host closed the connection | ||
| [2010/02/25 04:07:44] @ MattyM joined channel #puppet | ||
| [2010/02/25 04:07:59] @ tripoux_ joined channel #puppet | ||
| [2010/02/25 04:09:46] @ Quit: tripoux: Ping timeout: 245 seconds | ||
| [2010/02/25 04:19:29] @ tripoux__ joined channel #puppet | ||
| [2010/02/25 04:21:29] @ Quit: tripoux_: Ping timeout: 265 seconds | ||
| [2010/02/25 04:30:08] @ Quit: pacalm: Quit: pacalm | ||
| [2010/02/25 04:32:54] <JD_> http://www.davidpashley.com/blog/systems-administration/puppet/reducing-coupling | ||
| [2010/02/25 04:44:41] <huggie> JD_: Neat. | ||
| [2010/02/25 04:45:35] @ pinoyskull joined channel #puppet | ||
| [2010/02/25 04:45:56] <pinoyskull> have you encoutered an error that says | ||
| [2010/02/25 04:45:57] <pinoyskull> Failed to retrieve current state of resource: Fileserver module 'general' not mounted | ||
| [2010/02/25 04:46:08] <pinoyskull> but in actuality it's mounted in fileserver.conf? | ||
| [2010/02/25 04:46:47] <pinoyskull> 1 [general] | ||
| [2010/02/25 04:46:47] <pinoyskull> 2 path /etc/puppet/manifests/files/general | ||
| [2010/02/25 04:46:48] <pinoyskull> 3 allow * | ||
| [2010/02/25 04:49:00] * JD_ just uses the modules mount these days :S | ||
| [2010/02/25 04:49:35] * tim|imac too | ||
| [2010/02/25 04:49:51] <pinoyskull> what? | ||
| [2010/02/25 04:50:30] <JD_> pinoyskull: as in /etc/puppet/modules/foo/files/bar.txt | ||
| [2010/02/25 04:50:42] @ Quit: mqr: Read error: Connection reset by peer | ||
| [2010/02/25 04:51:12] <JD_> which is then puppet:///modules/foo/bar.txt | ||
| [2010/02/25 04:51:44] <JD_> where foo is the relevent module, like apache or munin or something | ||
| [2010/02/25 04:57:53] @ strangeloop joined channel #puppet | ||
| [2010/02/25 04:57:54] <jhp> Hi everyone. I have setup puppet here and everything seems to work just fine. But now one of my colleges here came to me telling me that doing a puppetrun on the master fails with an error: warning: Certificate validation failed; consider using the certname configuration option | ||
| [2010/02/25 04:58:30] <jhp> I had this same problem during my initial setup, but I think that the problem is now that the server is connecting to the client instead of the other way arround. | ||
| [2010/02/25 04:59:32] @ strangeloop is now known as motech | ||
| [2010/02/25 04:59:44] @ kreno joined channel #puppet | ||
| [2010/02/25 04:59:50] <jhp> I have a setup where the client certs are signed by a subCA of the rootCA and both the client and the server have a trusted-ca-bundle.pem containing the whole cert tree. | ||
| [2010/02/25 05:01:27] @ mqr joined channel #puppet | ||
| [2010/02/25 05:03:25] @ Quit: ckauhaus: Quit: Leaving. | ||
| [2010/02/25 05:03:48] <nico> http://www.davidpashley.com/blog/2010/02/25#reducing-coupling | ||
| [2010/02/25 05:05:45] @ Quit: biertie_laptop: Ping timeout: 252 seconds | ||
| [2010/02/25 05:06:20] @ a55 left channel #puppet () | ||
| [2010/02/25 05:07:29] @ Filbert joined channel #puppet | ||
| [2010/02/25 05:09:42] @ kreno left channel #puppet () | ||
| [2010/02/25 05:13:31] @ Quit: blahdeblah: Ping timeout: 245 seconds | ||
| [2010/02/25 05:15:01] <JD_> nico: erm | ||
| [2010/02/25 05:15:13] <nico> JD_: ? | ||
| [2010/02/25 05:15:15] <JD_> nico: did you read that from planet debian? | ||
| [2010/02/25 05:15:20] <nico> yup | ||
| [2010/02/25 05:15:54] <JD_> it's just that I linked that in here a while ago after I wrote it :) | ||
| [2010/02/25 05:15:54] <nico> it's a clever use for virtual ressources | ||
| [2010/02/25 05:16:31] <nico> JD_: oops, missed it. My term is not high enough :) | ||
| [2010/02/25 05:16:45] <JD_> it's luk's idea. from 2007 or something. I just wrote it up :) | ||
| [2010/02/25 05:17:00] <JD_> read something on a mailing list | ||
| [2010/02/25 05:22:36] @ alban2 joined channel #puppet | ||
| [2010/02/25 05:29:24] @ blahdeblah joined channel #puppet | ||
| [2010/02/25 05:35:45] @ Quit: scavara: Quit: Leaving | ||
| [2010/02/25 05:37:17] <jhp> Hi everyone. When webrick starts on a puppetclient, I would presume it uses the certs of the client that the client got handed from the puppetmaster right? | ||
| [2010/02/25 05:37:36] <jhp> This is to enable puppetrun functionality. | ||
| [2010/02/25 05:40:37] @ ckauhaus joined channel #puppet | ||
| [2010/02/25 05:42:58] @ Quit: maxagaz: Quit: Ex-Chat | ||
| [2010/02/25 05:44:25] <abien> in cfengine i can do stuff like 'someclass = ( IsDir(/home/abien/somedir) )' and then make commands depend on "someclass". If the directory exists, do stuff. If it doesnt, dont. is there a similar way in puppet? | ||
| [2010/02/25 05:45:05] @ mattwynne joined channel #puppet | ||
| [2010/02/25 05:50:11] @ Quit: vinci: Ping timeout: 246 seconds | ||
| [2010/02/25 05:52:11] @ vinci joined channel #puppet | ||
| [2010/02/25 06:01:50] @ andrewh joined channel #puppet | ||
| [2010/02/25 06:01:51] <JD_> abien: not really, unless you define a fact for it | ||
| [2010/02/25 06:03:34] <JD_> puppet is less about reacting to the condition of a server and more about moving a server towards the correct state, if that makes any sense | ||
| [2010/02/25 06:04:09] <JD_> abien: so you'd create a class that created that directory and anything that depended on that directory and add that class to the node | ||
| [2010/02/25 06:04:34] <JD_> so your node manifest is the canonical declaration of the server | ||
| [2010/02/25 06:05:19] @ Quit: ckauhaus: Ping timeout: 269 seconds | ||
| [2010/02/25 06:05:40] @ ckauhaus joined channel #puppet | ||
| [2010/02/25 06:08:06] @ Spruit_elf joined channel #puppet | ||
| [2010/02/25 06:13:05] <abien> jd: Yeah i understand. But the directory in question might be created by other means which are not inside puppet. I was looking for an easier fix than to write a fact :P | ||
| [2010/02/25 06:15:11] @ Quit: ckauhaus: Ping timeout: 268 seconds | ||
| [2010/02/25 06:17:53] @ Quit: mattwynne: Remote host closed the connection | ||
| [2010/02/25 06:18:00] @ ckauhaus joined channel #puppet | ||
| [2010/02/25 06:18:23] <JD_> abien: you could run an exec perhaps | ||
| [2010/02/25 06:19:59] <JD_> something like exec{"foo": onlyif => "test -d /foo/bar", command => "/bin/true", notify => ..... } | ||
| [2010/02/25 06:21:06] <JD_> it's not entirely pretty | ||
| [2010/02/25 06:21:14] @ synack- left channel #puppet () | ||
| [2010/02/25 06:31:10] @ Quit: m1nish: Ping timeout: 265 seconds | ||
| [2010/02/25 06:33:19] <abien> i see | ||
| [2010/02/25 06:36:05] <SyTonnerre> JD_, not entirely pretty … what an understatement :P | ||
| [2010/02/25 06:36:11] @ matti joined channel #puppet | ||
| [2010/02/25 06:36:54] @ Quit: Spads: Ping timeout: 260 seconds | ||
| [2010/02/25 06:37:58] @ Quit: alexine_dsouza: Read error: Connection reset by peer | ||
| [2010/02/25 06:44:50] @ Quit: ckauhaus: Quit: Leaving. | ||
| [2010/02/25 06:46:11] <JD_> SyTonnerre: :) | ||
| [2010/02/25 06:48:47] @ Quit: p3rror: Read error: Operation timed out | ||
| [2010/02/25 06:50:46] @ mattwynne joined channel #puppet | ||
| [2010/02/25 07:01:26] @ Quit: sjefen6: Ping timeout: 245 seconds | ||
| [2010/02/25 07:02:20] @ Quit: pinoyskull: Quit: Leaving | ||
| [2010/02/25 07:10:13] @ quit (okay bye) | ||
| [2010/02/25 07:12:04] @ Joined channel #puppet | ||
| [2010/02/25 07:12:04] @ Topic is "Puppet 0.25.4 released - http://bit.ly/9c5HMv | Log bugs and feature requests at http://tinyurl.com/46ryk7 | see also #puppet-dev" | ||
| [2010/02/25 07:12:04] @ Topic set by mpdehaan!~mpdehaan@cpe-069-134-171-066.nc.res.rr.com on Tue Feb 02 17:04:25 -0500 2010 | ||
| [2010/02/25 07:12:16] @ Mode +cnt by gibson.freenode.net | ||
| [2010/02/25 07:12:30] @ pquerna joined channel #puppet | ||
| [2010/02/25 07:12:35] @ ckauhaus joined channel #puppet | ||
| [2010/02/25 07:12:38] @ cm1 joined channel #puppet | ||
| [2010/02/25 07:12:48] @ Quit: ckauhaus: Client Quit | ||
| [2010/02/25 07:13:27] @ TheAvatar joined channel #puppet | ||
| [2010/02/25 07:14:46] @ stephbul joined channel #puppet | ||
| [2010/02/25 07:14:47] @ zerash joined channel #puppet | ||
| [2010/02/25 07:14:48] @ telmich joined channel #puppet | ||
| [2010/02/25 07:14:51] @ Bosse joined channel #puppet | ||
| [2010/02/25 07:14:59] @ russell_h joined channel #puppet | ||
| [2010/02/25 07:15:00] @ chadh joined channel #puppet | ||
| [2010/02/25 07:15:07] @ sdodson joined channel #puppet | ||
| [2010/02/25 07:15:14] @ errr joined channel #puppet | ||
| [2010/02/25 07:15:16] @ zipkid joined channel #puppet | ||
| [2010/02/25 07:15:16] @ copious joined channel #puppet | ||
| [2010/02/25 07:15:19] @ Jiko joined channel #puppet | ||
| [2010/02/25 07:15:26] @ meltemi joined channel #puppet | ||
| [2010/02/25 07:15:28] @ windo joined channel #puppet | ||
| [2010/02/25 07:15:28] @ cruxeternus joined channel #puppet | ||
| [2010/02/25 07:15:29] @ DanF joined channel #puppet | ||
| [2010/02/25 07:15:35] @ foobar___ joined channel #puppet | ||
| [2010/02/25 07:15:41] @ thrall joined channel #puppet | ||
| [2010/02/25 07:15:43] @ axisys joined channel #puppet | ||
| [2010/02/25 07:15:46] @ z00dax joined channel #puppet | ||
| [2010/02/25 07:15:54] @ zeroXten joined channel #puppet | ||
| [2010/02/25 07:18:27] @ sparagos_away is now known as sparagos | ||
| [2010/02/25 07:22:29] @ Spads joined channel #puppet | ||
| [2010/02/25 07:23:29] @ cliff-hm joined channel #puppet | ||
| [2010/02/25 07:25:12] @ ahasenack joined channel #puppet | ||
| [2010/02/25 07:27:21] @ fox2mike joined channel #puppet | ||
| [2010/02/25 07:28:39] @ lutter joined channel #puppet | ||
| [2010/02/25 07:28:41] @ Quit: giskard: Ping timeout: 265 seconds | ||
| [2010/02/25 07:28:56] @ _nono_ joined channel #puppet | ||
| [2010/02/25 07:30:28] @ giskard joined channel #puppet | ||
| [2010/02/25 07:34:25] @ Quit: suchu: Read error: Connection reset by peer | ||
| [2010/02/25 07:34:39] @ suchu joined channel #puppet | ||
| [2010/02/25 07:35:04] @ biertie joined channel #puppet | ||
| [2010/02/25 07:46:14] @ keith80403 joined channel #puppet | ||
| [2010/02/25 07:50:09] @ sjefen6_ joined channel #puppet | ||
| [2010/02/25 07:52:32] @ qwebirc81024 joined channel #puppet | ||
| [2010/02/25 07:53:36] @ Quit: qwebirc81024: Client Quit | ||
| [2010/02/25 07:59:34] @ Quit: xcrracer_: Remote host closed the connection | ||
| [2010/02/25 07:59:37] @ m1nish joined channel #puppet | ||
| [2010/02/25 08:04:26] @ pheezy joined channel #puppet | ||
| [2010/02/25 08:06:13] @ Quit: tripoux__: Ping timeout: 265 seconds | ||
| [2010/02/25 08:08:02] @ Quit: swygue: Quit: Ex-Chat | ||
| [2010/02/25 08:10:11] @ Quit: rgsteele: Ping timeout: 246 seconds | ||
| [2010/02/25 08:16:12] @ Quit: pheezy: Remote host closed the connection | ||
| [2010/02/25 08:20:40] @ LinuxCode joined channel #puppet | ||
| [2010/02/25 08:21:00] @ manish__ joined channel #puppet | ||
| [2010/02/25 08:22:15] <LinuxCode> jamesturnbull, ping | ||
| [2010/02/25 08:22:41] @ cwebber joined channel #puppet | ||
| [2010/02/25 08:23:49] @ Quit: m1nish: Ping timeout: 264 seconds | ||
| [2010/02/25 08:24:36] @ pheezy joined channel #puppet | ||
| [2010/02/25 08:29:09] @ Quit: jmeeuwen: Remote host closed the connection | ||
| [2010/02/25 08:29:16] @ jmeeuwen joined channel #puppet | ||
| [2010/02/25 08:30:05] @ p3rror joined channel #puppet | ||
| [2010/02/25 08:33:47] @ Quit: pheezy: Remote host closed the connection | ||
| [2010/02/25 08:38:50] @ ssm joined channel #puppet | ||
| [2010/02/25 08:40:03] @ Quit: suchu: Ping timeout: 265 seconds | ||
| [2010/02/25 08:47:24] @ Quit: rdavidr: Quit: Leaving | ||
| [2010/02/25 08:54:36] @ Quit: cwebber: Quit: cwebber | ||
| [2010/02/25 08:58:20] @ Bass10 joined channel #puppet | ||
| [2010/02/25 09:08:24] @ tripoux joined channel #puppet | ||
| [2010/02/25 09:10:11] @ tripoux_ joined channel #puppet | ||
| [2010/02/25 09:13:53] @ Quit: tripoux: Ping timeout: 265 seconds | ||
| [2010/02/25 09:14:02] @ Quit: RageLink: Quit: up up and away | ||
| [2010/02/25 09:16:38] @ pheezy joined channel #puppet | ||
| [2010/02/25 09:16:53] @ rgsteele joined channel #puppet | ||
| [2010/02/25 09:21:20] @ rasputnik joined channel #puppet | ||
| [2010/02/25 09:23:21] @ malraid joined channel #puppet | ||
| [2010/02/25 09:25:35] @ qwebirc65903 joined channel #puppet | ||
| [2010/02/25 09:25:55] <qwebirc65903> is anyone in here? | ||
| [2010/02/25 09:26:22] <kjetilho> try /names | ||
| [2010/02/25 09:26:31] @ Quit: scooby2: Quit: leaving | ||
| [2010/02/25 09:26:42] @ Quit: qwebirc65903: Client Quit | ||
| [2010/02/25 09:28:30] @ unxfrek joined channel #puppet | ||
| [2010/02/25 09:29:03] @ scooby2 joined channel #puppet | ||
| [2010/02/25 09:32:23] @ kaptk2 joined channel #puppet | ||
| [2010/02/25 09:35:08] @ jmccune joined channel #puppet | ||
| [2010/02/25 09:38:08] @ ckauhaus joined channel #puppet | ||
| [2010/02/25 09:43:46] @ Quit: Spruit_elf: Quit: Spruit_elf | ||
| [2010/02/25 09:45:03] @ Quit: giskard: Quit: Leaving... | ||
| [2010/02/25 09:47:13] @ Quit: sjefen6_: Ping timeout: 260 seconds | ||
| [2010/02/25 09:51:26] <rgsteele> Hm, is it possible to access a manifest variable in an external script, the way you would with templates? | ||
| [2010/02/25 09:52:48] <joe-mac1> rgsteele: grep ^.\$\(\+\)$ something l ike that you could parse out variabels | ||
| [2010/02/25 09:52:51] <joe-mac1> if that's what you mean | ||
| [2010/02/25 09:53:19] <joe-mac1> then > to some tempfile and source it. or just load it somehow without using a file. | ||
| [2010/02/25 09:53:51] <ashp> joe-mac1: hey, do you often get errors typing in ##infra-talk | ||
| [2010/02/25 09:53:56] <ashp> it tells me I'm not allowed to talk 90% of the time | ||
| [2010/02/25 09:54:01] <ashp> 14:53 -!- ##infra-talk Cannot send to channel | ||
| [2010/02/25 09:54:05] <joe-mac1> that's cause we don't like you | ||
| [2010/02/25 09:54:07] @ murkk joined channel #puppet | ||
| [2010/02/25 09:54:09] <joe-mac1> kidding :-D | ||
| [2010/02/25 09:54:14] <joe-mac1> you have to be reguistered | ||
| [2010/02/25 09:54:25] <joe-mac1> and if you're registered maybe yuo forgot to login? | ||
| [2010/02/25 09:54:30] <rgsteele> joe-mac1: I mean, I have an exec which I'm passing a puppet array to, but it's treating it like a big long string, i.e., foobarbazquux | ||
| [2010/02/25 09:54:47] <rgsteele> But, when I use it in a template, I can iterate. | ||
| [2010/02/25 09:54:57] <joe-mac1> rgsteele: can you show some code on pastie? | ||
| [2010/02/25 09:55:01] <rgsteele> I want to basically be able to iterate over the array in an external script | ||
| [2010/02/25 09:55:12] <rgsteele> Sure | ||
| [2010/02/25 09:55:13] <rgsteele> sec | ||
| [2010/02/25 09:56:19] @ swygue joined channel #puppet | ||
| [2010/02/25 09:57:17] <joe-mac1> are you not registered ashp? | ||
| [2010/02/25 09:57:36] <ashp> i am | ||
| [2010/02/25 09:57:41] <ashp> i wonder if i disconnected | ||
| [2010/02/25 09:57:47] <joe-mac1> and didn't re auth? | ||
| [2010/02/25 09:58:25] <rgsteele> joe-mac1: http://pastie.org/842284 | ||
| [2010/02/25 09:58:42] <rgsteele> It sends $clientList as a string, not an array | ||
| [2010/02/25 09:59:12] <joe-mac1> oh your custom function, does it return an array or what? | ||
| [2010/02/25 09:59:21] <rgsteele> Yeah | ||
| [2010/02/25 09:59:56] <rgsteele> It splits a string on a comma (e.g., gets foo,bar,baz and returns an array with elements foo bar baz) and returns it | ||
| [2010/02/25 10:00:48] <rgsteele> I can iterate over that resulting variable in a template, but when I pass the variable to an external script as seen in that exec statement, it treats it as a string with no separators. | ||
| [2010/02/25 10:00:53] @ mvn071 joined channel #puppet | ||
| [2010/02/25 10:01:47] @ Guest83373 joined channel #puppet | ||
| [2010/02/25 10:01:59] <joe-mac1> oh rgsteele you want three exec resources in that case | ||
| [2010/02/25 10:02:01] <joe-mac1> ? | ||
| [2010/02/25 10:02:17] <rgsteele> I do? | ||
| [2010/02/25 10:02:26] <joe-mac1> it was a question, sorry | ||
| [2010/02/25 10:02:36] <joe-mac1> i can't function which includes typing today | ||
| [2010/02/25 10:03:37] <rgsteele> Nope, I just want the exec resource I'm passing the variable to to treat it like an array, not a string, but it appears that when puppet passes the variable to the exec resource, it collapses the array and joins them at the separator, basically leaving the script with a big long undelimited string. | ||
| [2010/02/25 10:04:51] @ sjefen6 joined channel #puppet | ||
| [2010/02/25 10:06:04] @ Quit: themroc: Read error: Connection reset by peer | ||
| [2010/02/25 10:07:38] <joe-mac1> rgsteele: what do you mean though by 'treat it like an array"? | ||
| [2010/02/25 10:07:57] <rgsteele> joe-mac1: Ah, don't worry about it, I fixed it. | ||
| [2010/02/25 10:08:07] <rgsteele> Thanks though :) | ||
| [2010/02/25 10:08:23] @ Quit: mvn071: Remote host closed the connection | ||
| [2010/02/25 10:11:11] <joe-mac1> np, is that what you wanted though? to have that execute threee separate times, one for each item in the array? | ||
| [2010/02/25 10:12:24] <inveratulo> anybody had luck with converting a kickstart script into a puppet config? i'm skiing on the kiddie slope right now | ||
| [2010/02/25 10:12:31] <rgsteele> Just to have the variable evaluated as an array in an external script. I just wrote another function to return it as a comma-delimited string I could tokenize in an external script. Returning it as a true Ruby array doesn't work, because Puppet flattens the structure before passing it to a non-Ruby-aware external resource. However, if I pass it to a template, I can use Ruby to iterate over it. | ||
| [2010/02/25 10:13:37] <joe-mac1> inveratulo: kickstart and puppet serve complimentary purposes... | ||
| [2010/02/25 10:14:37] <inveratulo> well i am trying to eliminate platform-specific concepts, such as kickstart and ubiquity | ||
| [2010/02/25 10:15:14] <inveratulo> is it best to not fight it and just let kickstart invoke puppet towards the end when it'd usually do the "post" stuff ? | ||
| [2010/02/25 10:15:26] <fsweetser> inveratulo: that's what people usually do | ||
| [2010/02/25 10:15:50] <joe-mac1> yea either invoke it in the post or place the proper keys, etc | ||
| [2010/02/25 10:15:52] <fsweetser> tools like cobbler and foreman can make it a lot easier, by automating chunks of kickstart | ||
| [2010/02/25 10:17:06] @ Quit: blahdeblah: Remote host closed the connection | ||
| [2010/02/25 10:17:24] <inveratulo> yea, what i'm dealing with an institution of maybe a dozen custom ks scripts for varying environments, dev/qa/prod | ||
| [2010/02/25 10:17:25] @ teyo joined channel #puppet | ||
| [2010/02/25 10:17:30] @ blahdeblah joined channel #puppet | ||
| [2010/02/25 10:18:36] @ Quit: nareshov: Remote host closed the connection | ||
| [2010/02/25 10:23:16] @ Quit: Guest83373: Remote host closed the connection | ||
| [2010/02/25 10:25:59] <keds> Hi all | ||
| [2010/02/25 10:26:29] <keds> can puppet coexist with spacewalk or is it an either / or deal? | ||
| [2010/02/25 10:32:39] @ Quit: elementai: Quit: Lost terminal | ||
| [2010/02/25 10:33:10] @ markwell joined channel #puppet | ||
| [2010/02/25 10:33:35] @ Quit: murkk: Quit: murkk | ||
| [2010/02/25 10:33:37] @ Quit: markwell: Client Quit | ||
| [2010/02/25 10:34:48] @ crdant1 joined channel #puppet | ||
| [2010/02/25 10:34:55] @ jab_doa joined channel #puppet | ||
| [2010/02/25 10:35:43] @ markwell joined channel #puppet | ||
| [2010/02/25 10:35:59] <barn> keds: I don't see why it couldn't coexist | ||
| [2010/02/25 10:36:07] <barn> depending on what you have each doing | ||
| [2010/02/25 10:39:20] @ linuxperv joined channel #puppet | ||
| [2010/02/25 10:45:29] @ cwebber joined channel #puppet | ||
| [2010/02/25 10:45:32] @ rasputnik left channel #puppet ("Leaving") | ||
| [2010/02/25 10:48:37] @ Quit: crdant1: Ping timeout: 265 seconds | ||
| [2010/02/25 10:53:28] @ crdant joined channel #puppet | ||
| [2010/02/25 10:54:32] @ nareshov joined channel #puppet | ||
| [2010/02/25 10:54:33] @ Quit: nareshov: Changing host | ||
| [2010/02/25 10:54:33] @ nareshov joined channel #puppet | ||
| [2010/02/25 10:58:27] @ Quit: crdant: Ping timeout: 265 seconds | ||
| [2010/02/25 10:59:34] @ Cyis_ joined channel #puppet | ||
| [2010/02/25 11:00:02] @ Cyis_ is now known as Cyis-work | ||
| [2010/02/25 11:00:24] <Cyis-work> is there a problem with: User["jdoe"] { groups +> "group1", "group2"] } ? | ||
| [2010/02/25 11:00:29] @ rcrowley joined channel #puppet | ||
| [2010/02/25 11:00:48] <Cyis-work> err... meant: User["jdoe"] { groups +> ["group1", "group2"] } | ||
| [2010/02/25 11:01:06] <RedPepper> this is syntactally false | ||
| [2010/02/25 11:01:36] <RedPepper> eh | ||
| [2010/02/25 11:01:38] <RedPepper> nvmd | ||
| [2010/02/25 11:01:46] <RedPepper> i overseen the + | ||
| [2010/02/25 11:02:11] <RedPepper> should work | ||
| [2010/02/25 11:02:20] @ Quit: biertie: Quit: I'm off :) | ||
| [2010/02/25 11:02:32] @ labrown joined channel #puppet | ||
| [2010/02/25 11:03:44] @ crdant joined channel #puppet | ||
| [2010/02/25 11:04:19] <Cyis-work> Reason I ask is that it fails... but if I reduce it to simply: User["jdoe"] { groups +> "group1" } it works fine | ||
| [2010/02/25 11:05:57] <JD_> Cyis-work: what's the original definition? | ||
| [2010/02/25 11:07:04] <Cyis-work> JD_, the original User["jdoe"] doesn't include any secondary groups | ||
| [2010/02/25 11:07:11] @ Quit: telmich: Changing host | ||
| [2010/02/25 11:07:11] @ telmich joined channel #puppet | ||
| [2010/02/25 11:07:27] <RedPepper> yeah but you must have defined him | ||
| [2010/02/25 11:07:54] <RedPepper> like user { "jdoe" : ensure => present } | ||
| [2010/02/25 11:08:01] <RedPepper> otherwise it wouldn't work | ||
| [2010/02/25 11:08:20] <Cyis-work> Yeah it's just an @user { "jdoe": ... } block ... after adding the groups I do a User <| groups == "group1" |> | ||
| [2010/02/25 11:08:29] <SyTonnerre> Wasn't there something like +> will only work once? | ||
| [2010/02/25 11:08:34] <RedPepper> no | ||
| [2010/02/25 11:08:40] <RedPepper> as far as i know | ||
| [2010/02/25 11:09:02] <Cyis-work> type ref states if multiples are given it needs to be an array | ||
| [2010/02/25 11:09:14] <RedPepper> but if it isn't realized before you cannot call it by User["jdoe"] | ||
| [2010/02/25 11:09:39] <Cyis-work> RedPepper, you say that yet it works | ||
| [2010/02/25 11:09:46] <Cyis-work> if it's not an array of groups | ||
| [2010/02/25 11:09:55] <RedPepper> hmh okay | ||
| [2010/02/25 11:10:08] <Cyis-work> as soon as I remove the array and only set one group it works perfectly | ||
| [2010/02/25 11:10:09] <JD_> Cyis-work: try defining groups as [] in the original | ||
| [2010/02/25 11:10:41] <Cyis-work> JD_, then we're talking about a bug in the User type code | ||
| [2010/02/25 11:10:52] <RedPepper> not really | ||
| [2010/02/25 11:10:56] <RedPepper> u use +> | ||
| [2010/02/25 11:11:20] <RedPepper> that means you add it to the paramters that weren't present in the first definiton | ||
| [2010/02/25 11:12:19] <Cyis-work> Or I'm wondering if the 'User <| groups == "group1" |>' just isn't realizing the User when there are more groups than just group1 | ||
| [2010/02/25 11:13:07] <ashp> hmm, shouldn't I be able to use $namevar within a user{} resource? | ||
| [2010/02/25 11:13:34] <ashp> I hope hoping to be able to do this: | ||
| [2010/02/25 11:13:40] <ashp> @user { "apenney": | ||
| [2010/02/25 11:13:42] <ashp> password => file("/etc/puppet/secrets/users/$namevar"), | ||
| [2010/02/25 11:13:46] <Volcane> nope | ||
| [2010/02/25 11:13:52] <Volcane> not unless you're in a define | ||
| [2010/02/25 11:13:52] <ashp> I can't use $name, $namevar or $title there. | ||
| [2010/02/25 11:13:55] <Volcane> tehn its $name | ||
| [2010/02/25 11:14:02] <Volcane> but then that would be the name of the define resource | ||
| [2010/02/25 11:14:10] <ashp> Damn, so I'm going to have to change all of these to defines and then call a bunch of them | ||
| [2010/02/25 11:14:16] <ashp> or i'll have to set each by hand in password | ||
| [2010/02/25 11:14:20] <ashp> which is not the end of the world i guess | ||
| [2010/02/25 11:15:38] @ giskard joined channel #puppet | ||
| [2010/02/25 11:16:42] @ Quit: russell_h: Changing host | ||
| [2010/02/25 11:16:42] @ russell_h joined channel #puppet | ||
| [2010/02/25 11:16:55] @ Quit: motech: Quit: Leaving | ||
| [2010/02/25 11:17:45] <RedPepper> why don't you put the username in an extra variable ? | ||
| [2010/02/25 11:17:50] <RedPepper> and then call it that way | ||
| [2010/02/25 11:18:12] <RedPepper> only replacing the title with the variable and the namevar also | ||
| [2010/02/25 11:19:31] <ashp> RedPepper: well i'm doing like 10 users this way, so no point in having 10 seperate variables with the username etc | ||
| [2010/02/25 11:19:44] <RedPepper> hmm | ||
| [2010/02/25 11:19:52] <RedPepper> that is bad ^^ | ||
| [2010/02/25 11:20:02] <Volcane> then u should have used a define to begin with :) | ||
| [2010/02/25 11:20:08] <RedPepper> you can define an extra resource to abstract it | ||
| [2010/02/25 11:20:23] <ashp> Volcane: I know, I was just cutting and pasting some previous stuff, I knew I should have stopped and turned it into a define :) | ||
| [2010/02/25 11:20:26] <RedPepper> but you cannot use an array | ||
| [2010/02/25 11:21:30] <Cyis-work> Volcane, you happen to catch any of my User problem? | ||
| [2010/02/25 11:22:10] <JD_> Cyis-work: have you tried adding 'groups => []' to user{"jdoe":} to see if that works? | ||
| [2010/02/25 11:22:41] @ Quit: manish__: Ping timeout: 245 seconds | ||
| [2010/02/25 11:22:45] @ Quit: mqr: Quit: mqr | ||
| [2010/02/25 11:23:27] @ lilmatt joined channel #puppet | ||
| [2010/02/25 11:24:50] @ dotNox joined channel #puppet | ||
| [2010/02/25 11:27:22] @ Quit: crdant: Remote host closed the connection | ||
| [2010/02/25 11:28:13] <dotNox> hello | ||
| [2010/02/25 11:28:23] <dotNox> is anyone using ssh_authorized_key type ? | ||
| [2010/02/25 11:28:44] @ crdant joined channel #puppet | ||
| [2010/02/25 11:28:46] <barn> yes. but not very well | ||
| [2010/02/25 11:29:01] <barn> as I havan't yet found a way to make it do both DSA and RSA | ||
| [2010/02/25 11:29:19] <Cyis-work> JD_, no... considering I did a test with: User["jdoe"] { groups +> ["group1", "group2"] } as before but this time changed 'User <| groups == "group1" |>' to 'User <| title == "jdoe" |>' and it worked as expected | ||
| [2010/02/25 11:29:43] <dotNox> is this a normal behaviour. when I restart puppet client it adds keys again without checking if there is already such key ? :) | ||
| [2010/02/25 11:30:09] <JD_> dotNox: iirc that was a bug. what version are you running? | ||
| [2010/02/25 11:30:57] <JD_> Cyis-work: well groups isn't going to be equal to "group1". it'll be equal to ["group1", "group2"] | ||
| [2010/02/25 11:31:02] <JD_> at a guess | ||
| [2010/02/25 11:31:24] <dotNox> JD_: puppet-0.25.3-1 | ||
| [2010/02/25 11:31:46] @ murkk joined channel #puppet | ||
| [2010/02/25 11:31:56] <Cyis-work> that's the conclusion I just came to and why I tried that... What I was trying to avoid was having to realize each user and be able to do so by secondary group they are members of | ||
| [2010/02/25 11:32:55] <JD_> the docs claim you can only do simple equalities. Perhaps it's worth filing a bug | ||
| [2010/02/25 11:32:57] <Cyis-work> short of there being a way to modify the User <| |> entry to see if a group is in the groups array I'll have to do that | ||
| [2010/02/25 11:37:19] @ crdant1 joined channel #puppet | ||
| [2010/02/25 11:38:24] @ Quit: crdant: Ping timeout: 265 seconds | ||
| [2010/02/25 11:40:46] @ Quit: jason^: Changing host | ||
| [2010/02/25 11:40:46] @ jason^ joined channel #puppet | ||
| [2010/02/25 11:42:16] @ Quit: crdant1: Ping timeout: 265 seconds | ||
| [2010/02/25 11:43:04] <raz> is there a simple way to refer to multiple packages in one package {} block? i tried passing an array to name => but that doesn't seem to work | ||
| [2010/02/25 11:43:26] <raz> i don't really want to have 30 package{} blocks for the list of default pkgs i need | ||
| [2010/02/25 11:43:28] <nDuff> raz, package { ['foo', 'bar', 'baz']: ensure => present } | ||
| [2010/02/25 11:43:52] <raz> aah.. so is name => equivalent to the identifier before the : ? | ||
| [2010/02/25 11:43:55] @ lak joined channel #puppet | ||
| [2010/02/25 11:43:58] <raz> (puppet noob here) | ||
| [2010/02/25 11:44:19] <Volcane> raz: think of it as a for loop | ||
| [2010/02/25 11:44:29] <Volcane> it will make 1 x package{...} for every array member | ||
| [2010/02/25 11:44:32] <raz> so and i just leave name => blank then? | ||
| [2010/02/25 11:44:35] <nDuff> raz, ...honestly, name=> is very rarely used explicitly; the namevar is almost always specified before the : | ||
| [2010/02/25 11:44:42] <raz> alright thx | ||
| [2010/02/25 11:46:00] <raz> hmm how do i deal with pkgs that require interactive feedback? the java package on debian asks for some license bs and puppet bails out there | ||
| [2010/02/25 11:46:21] <raz> "sun-dlj-v1-1 license could not be presented" ... | ||
| [2010/02/25 11:46:42] * nDuff copes with that by using package management systems that disallow it :P | ||
| [2010/02/25 11:47:00] @ Quit: xerxas: Quit: Leaving. | ||
| [2010/02/25 11:47:01] <Volcane> you can supply a seed file or answer file or whatever debian calls it | ||
| [2010/02/25 11:47:01] <raz> ah found a trick sun-dlj-v1-1 license could not be presented | ||
| [2010/02/25 11:47:06] <raz> erm http://blogs.cae.tntech.edu/mwr/2008/02/05/stupid-puppet-trick-agreeing-to-the-sun-java-license-with-debconf-preseeds-and-puppet/ | ||
| [2010/02/25 11:47:09] <tim|imac> hm... are there special rules regarding requires on exported resources? like, they're not getting realized when they depend on something that's not there yet? | ||
| [2010/02/25 11:47:25] <|shad0w|> raz, set debconf priority | ||
| [2010/02/25 11:47:39] <Volcane> tim|imac: yeah its a bug imho I've filed it but ppl seem unexcited about fixing it - pretty fundemantal f'up if you ask me | ||
| [2010/02/25 11:48:22] <tim|imac> I'm not too worried about it, but I was hoping to be able to create my stuff in a way that a single puppetrun after an install would setup everything right, without having to run several times | ||
| [2010/02/25 11:48:28] <tim|imac> do you have a ticketnumber for me? | ||
| [2010/02/25 11:48:49] @ Quit: teyo: Quit: teyo | ||
| [2010/02/25 11:49:01] <|shad0w|> raz, IE: export DEBIAN_PRIORITY=critical | ||
| [2010/02/25 11:49:17] <raz> |shad0w|: hmm, where/how would i do that? | ||
| [2010/02/25 11:49:29] <|shad0w|> not sure about via puppet | ||
| [2010/02/25 11:49:43] <tim|imac> raz: that preseed trick is how we do it, works fine | ||
| [2010/02/25 11:49:55] <raz> yup i'm trying it right now. feels very nasty tho. | ||
| [2010/02/25 11:50:14] <Volcane> tim|imac: #2020 | ||
| [2010/02/25 11:50:14] <gepetto> Volcane: tim|imac: #2020 is http://projects.reductivelabs.com/issues/show/2020 "Puppet - Bug #2020: Realizing a resource should create a dependency on that resource - ReductiveLabs.com" | ||
| [2010/02/25 11:50:33] <tim|imac> maybe, but it's more a problem with the package than with puppet :) at least puppet allows you to preseed, which is nice... imho, of course | ||
| [2010/02/25 11:53:06] @ Quit: cliff-hm: Ping timeout: 245 seconds | ||
| [2010/02/25 11:54:02] @ Quit: giskard: Quit: Leaving... | ||
| [2010/02/25 11:55:30] <joe-mac1> that's how i do it too raz | ||
| [2010/02/25 11:56:04] <joe-mac1> i actually have a definition for preseed packages | ||
| [2010/02/25 11:56:35] <joe-mac1> drop a preseed somewhere in the common module i think files/preseeds and in some class somewhere common::debian::preseed_package (may be a bit too verbose for you) | ||
| [2010/02/25 11:57:43] <tim|imac> we used to have that too, joe-mac1, but this seems to be the only case in which we were using preseed anyway, so we've done away with it | ||
| [2010/02/25 12:00:49] @ Quit: unxfrek: Quit: Leaving | ||
| [2010/02/25 12:02:49] @ Quit: alban2: Ping timeout: 276 seconds | ||
| [2010/02/25 12:04:14] <zahna> anyone use the --tags flag? | ||
| [2010/02/25 12:04:35] <zahna> can i specify multiple tags with one flag? | ||
| [2010/02/25 12:04:59] @ Quit: Ramonster: Quit: Get MacIrssi - http://www.sysctl.co.uk/projects/macirssi/ | ||
| [2010/02/25 12:05:23] <raz> how do you guys commonly deal with debian's habit of auto-starting services after installing the package? | ||
| [2010/02/25 12:05:30] <zahna> n'mind. i found the right keyword combo in google. :) | ||
| [2010/02/25 12:05:33] <raz> i want to install a pkg, but then change the config first, before starting it | ||
| [2010/02/25 12:05:52] <Volcane> raz: we realized long ago debian isnt suited for use outside of the basement of kiddies :P | ||
| [2010/02/25 12:06:13] <zahna> i still don't know a good mechanism for automated debian installs | ||
| [2010/02/25 12:06:15] <dotNox> JD_: i have updated puppet up to 0.25.4, same issue | ||
| [2010/02/25 12:06:15] <raz> Volcane: well, my impression is the opposite tbh. :) what do you use? | ||
| [2010/02/25 12:06:40] <zahna> raz: what do you personally use for automated debian installs? | ||
| [2010/02/25 12:06:47] <joe-mac1> raz: yea debian sucks | ||
| [2010/02/25 12:06:53] <Volcane> raz: doesnt matter - the policy of auto starting, or interactive prompted installs and of modifying every daemon LOTS doesnt work in large scale deployments which all describes debian | ||
| [2010/02/25 12:06:56] <joe-mac1> you just cope with it, try not to get an ulcer | ||
| [2010/02/25 12:07:12] <raz> zahna: nowadays usually a master image. used to use FAI but eventually grew out of the need. | ||
| [2010/02/25 12:07:23] <Volcane> raz: all the cutesy modifications and dialog interface is aimed squarely at enthusiast level use | ||
| [2010/02/25 12:07:30] <tim|imac> raz: man policy-rc.d (or invoke-rc.d, i always forget which one has the useful info) | ||
| [2010/02/25 12:07:35] <joe-mac1> FAI is by definition a hack | ||
| [2010/02/25 12:07:44] <joe-mac1> well not definition, what's the word i am looking for | ||
| [2010/02/25 12:07:46] <joe-mac1> design i guess | ||
| [2010/02/25 12:07:58] @ cliff-hm joined channel #puppet | ||
| [2010/02/25 12:08:03] <zahna> raz: oh. i prefer keeping my setup metadata seperate from my machines. | ||
| [2010/02/25 12:08:10] <joe-mac1> Volcane: i gotta say though i do like the way they do apache | ||
| [2010/02/25 12:08:11] @ bevans5446 joined channel #puppet | ||
| [2010/02/25 12:08:13] <joe-mac1> i have grown accustomed to it | ||
| [2010/02/25 12:08:20] <joe-mac1> it *does* however make some settings hard to track down | ||
| [2010/02/25 12:08:23] <raz> Volcane: well, i'm managing a few medium sized deployments and debian works pretty fine here. apt is just heads & shoulders above other pkg managers. i know all the interactive prompting and probably also the auto-starting can likely be suppressed, it's just the first time i actually need it | ||
| [2010/02/25 12:08:26] <tim|imac> we're an all-debian house here :) | ||
| [2010/02/25 12:08:28] <joe-mac1> but if you're disciplined abuot it, it's cool | ||
| [2010/02/25 12:08:41] <raz> tim|imac: thanks for the pointer | ||
| [2010/02/25 12:08:55] <whack> apt-rpm is reasonable | ||
| [2010/02/25 12:08:58] <joe-mac1> wtf | ||
| [2010/02/25 12:09:05] <joe-mac1> what is apt-rpm dare i ask? | ||
| [2010/02/25 12:09:12] <whack> it's apt that uses rpm instead of dpkg | ||
| [2010/02/25 12:09:13] * Volcane doesnt care, its all just package{"foo": ensure ... } right? | ||
| [2010/02/25 12:09:13] <raz> i don't think you want to know ;) | ||
| [2010/02/25 12:09:26] <whack> Volcane: in theory ;) | ||
| [2010/02/25 12:09:28] <joe-mac1> seems a little unorthodox lol | ||
| [2010/02/25 12:09:36] <joe-mac1> as in, insane | ||
| [2010/02/25 12:09:37] <whack> except yum doesn't do downgrades by default (apt can) | ||
| [2010/02/25 12:09:42] <zahna> i think digg uses debian with puppet, so it probably works ok overall | ||
| [2010/02/25 12:09:49] <whack> as far as goodness, apt-rpm is way better than yum | ||
| [2010/02/25 12:09:54] * raz is actually amazed how people bear with other distros. i've been in rpm land, even in gentoo land. always swinging back to deb. | ||
| [2010/02/25 12:10:08] <joe-mac1> i am fairly certain they do too, since plathrop is always here | ||
| [2010/02/25 12:10:31] <joe-mac1> i recall debian stuff coming from him, can't recall if it was ulcers/bloody stools or if he likes it | ||
| [2010/02/25 12:10:35] <raz> yum is at best a cheap apt knockoff. it has failed for me in pretty much any remotely interesting situation. | ||
| [2010/02/25 12:10:40] <zahna> oh yeah, i forgot about plathrop | ||
| [2010/02/25 12:11:13] @ Quit: jaredrhine: Ping timeout: 264 seconds | ||
| [2010/02/25 12:13:59] <raz> Volcane: you still haven't asked what distro you use, i'm always curious :) | ||
| [2010/02/25 12:14:04] <raz> s/asked/answered/ | ||
| [2010/02/25 12:14:35] <Volcane> have more debian machines than others :) | ||
| [2010/02/25 12:15:24] <Volcane> and they're horrible inconsistant piles of stink | ||
| [2010/02/25 12:15:39] <zahna> raz: have you used preseed installs? are those automated? i've wanted to try debian again. | ||
| [2010/02/25 12:15:46] @ Quit: lak: Quit: lak | ||
| [2010/02/25 12:16:09] <zahna> Volcane: why the vitriol? is debian really that bad in production? | ||
| [2010/02/25 12:16:32] <Volcane> its just inconsistant | ||
| [2010/02/25 12:16:34] @ ohadlevy joined channel #puppet | ||
| [2010/02/25 12:16:38] <zahna> inconsistent how? | ||
| [2010/02/25 12:16:40] <raz> zahna: i'm not sure what you mean by preseed? we usually just clone a base image (minimal install) and then install a few custom packages of our own from our local mirror (which happen to depend on everything they need). | ||
| [2010/02/25 12:16:47] <raz> works like a charme :) | ||
| [2010/02/25 12:17:02] <Volcane> /etc/lighttpd/conf-enabled/ vs /etc/apache/sites-enabled/ | ||
| [2010/02/25 12:17:04] <Volcane> why? | ||
| [2010/02/25 12:17:16] <Volcane> why when they added lighty did they not make it work the same as apache? | ||
| [2010/02/25 12:17:21] <raz> Volcane: you don't use distro packages for that stuff anyways | ||
| [2010/02/25 12:17:23] <zahna> raz: let me find a link to preseed | ||
| [2010/02/25 12:17:29] <fluxdude> zahna: preseed installs suck | ||
| [2010/02/25 12:17:30] <Volcane> and then combine the efforts of a2enmod into one tool that manages the webserer? | ||
| [2010/02/25 12:17:37] <Volcane> raz: fail | ||
| [2010/02/25 12:17:57] <raz> Volcane: no, fail is if you use software that someone else compiles for core duties | ||
| [2010/02/25 12:18:02] <ohadlevy> fluxdude | ||
| [2010/02/25 12:18:08] <ohadlevy> why does it suck? | ||
| [2010/02/25 12:18:08] <zahna> fluxdude: suck how? | ||
| [2010/02/25 12:18:23] <fluxdude> look at how you do disk partitioning in that and compare to kickstart and weep | ||
| [2010/02/25 12:18:38] <fluxdude> the deeper you go the more flaws you find in debian | ||
| [2010/02/25 12:18:42] <whack> raz: I don't think that's true | ||
| [2010/02/25 12:18:43] <fluxdude> automation in rhel is nicer | ||
| [2010/02/25 12:18:54] <zahna> fluxdude: is preseed hands off though? | ||
| [2010/02/25 12:19:04] <ohadlevy> fluxdude: diskpart is ok as long as you dont do vg | ||
| [2010/02/25 12:19:07] <whack> if you build all your own packages, you aren't using a distro, you're making one. That doesn't scale well. | ||
| [2010/02/25 12:19:13] <raz> whack: any other path lies insanity, in my not so humble opinion | ||
| [2010/02/25 12:19:17] <fluxdude> zahna: yes | ||
| [2010/02/25 12:19:37] <fluxdude> ohadlevy: no | ||
| [2010/02/25 12:19:48] <fluxdude> ohadlevy: just adding a tmp partition of a given size is a pain | ||
| [2010/02/25 12:19:56] <raz> whack: i'm only talking about the core pkgs like the webserver, database and such. you always need some config flags and patches in those anyways, relying on some bloated distro pkg (which either has too much or too little) is just bad™. | ||
| [2010/02/25 12:19:57] <whack> zahna: yeah, preseed is automated answering. It's a terrible term that could have simply been 'answer file' or something indicative of that | ||
| [2010/02/25 12:20:00] <fluxdude> doing more clever stuff is almost impossible | ||
| [2010/02/25 12:20:04] <fluxdude> in preseed | ||
| [2010/02/25 12:20:45] <raz> ah now i see what preseed is | ||
| [2010/02/25 12:20:46] <nDuff> raz, ...so you want to be responsible for managing security packages for your web server, database, and other critical systems? I don't have the bloody time to repackage every time a zero-day comes out; that's part of the _point_ of having an upstream vendor | ||
| [2010/02/25 12:21:23] <zahna> ok, just looked at partitioning in preseed. that's pretty bad. | ||
| [2010/02/25 12:21:26] <joe-mac1> raz: yea you can dump them with debconf-get-settings or something like that from the debconf-utils package | ||
| [2010/02/25 12:21:40] <huggie> Volcane: Have you heard of puppet? | ||
| [2010/02/25 12:21:41] <raz> nDuff: that's a non-issue in practice. yes, i do keep a close eye on the 4 or 5 critical packages we use. only two of which are exposed to the internet anyways (nginx and haproxy). | ||
| [2010/02/25 12:21:49] <joe-mac1> zahna: bad as in "ouch it burns my eyes" you mean right | ||
| [2010/02/25 12:21:52] <huggie> Volcane: I hear it's good at making things consistent. You should try it some time :p | ||
| [2010/02/25 12:21:54] <ohadlevy> raz: here is another example : http://theforeman.org/repositories/entry/foreman/app/views/unattended/preseed.rhtml | ||
| [2010/02/25 12:22:09] <Volcane> huggie: GIGO unfortunately :) | ||
| [2010/02/25 12:22:14] <nDuff> raz, in my world, needing compile-time flags other than what the vendor selected is also a non-issue in practice. Clearly we live in different worlds. | ||
| [2010/02/25 12:22:20] <joe-mac1> preseed is actually some kind of lube too guys fyi | ||
| [2010/02/25 12:22:25] <raz> nDuff: absolutely :) | ||
| [2010/02/25 12:22:25] <joe-mac1> so it leads to funny search results sometimes | ||
| [2010/02/25 12:22:27] <Volcane> huggie: it cant unpatch and make apache work like 100s of books say it does on debian :) | ||
| [2010/02/25 12:23:10] <nDuff> raz, (the funny thing is that when I was running production systems on Gentoo and had that ability, I used it all the time; now, I don't need it and don't miss it) | ||
| [2010/02/25 12:23:20] <huggie> Volcane: I don't get where all this vitriol is coming from either to be honest but I never used puppet back in the Black Cat days when I maintained Debian boxes. These days I moan about rubbish repositories and lack of packages and RPM hell in the day job :( | ||
| [2010/02/25 12:23:25] <tim|imac> fluxdude: partman is awful, indeed, but the rest of preseeding is nice... | ||
| [2010/02/25 12:23:40] <tim|imac> we have specialised images that are easily updated for each debian version :D | ||
| [2010/02/25 12:23:43] <joe-mac1> zahna: i do raid 1 and 5 with preseed and it took me months of banging away at it to get it to work, testing is cumbersome, and in the end i had it right except the file i started with had a line that had a whitespace character on it. this caused the debian-installer to fail without a proper error which led me on a goose chase | ||
| [2010/02/25 12:23:54] <raz> nDuff: yea well, i have seen different valid approaches, so i won't go as far as to say you're wrong. much of it also matters on the kind of environment you're in, how clue'd the developers are, etc. | ||
| [2010/02/25 12:24:06] <fluxdude> tim|imac: images... ow | ||
| [2010/02/25 12:24:32] <ohadlevy> tim|imac: I have one preseed template (erb) instead | ||
| [2010/02/25 12:24:48] <tim|imac> fluxdude: http://wiki.kumina.nl/index.php/Kumihatch | ||
| [2010/02/25 12:25:06] <tim|imac> but we can use the same stuff without modification for pxe boot | ||
| [2010/02/25 12:25:13] <tim|imac> pxe boot install, i mean | ||
| [2010/02/25 12:25:37] <tim|imac> ohadlevy: i meant preseeded installation, the stuff you do before you have puppet running :) | ||
| [2010/02/25 12:25:51] <ohadlevy> tim|imac - yes i know | ||
| [2010/02/25 12:26:10] <ohadlevy> tim|imac - thats how foreman works ;) | ||
| [2010/02/25 12:26:24] <zahna> ok, so i think i have a catch-22 situation | ||
| [2010/02/25 12:27:12] <nDuff> raz, *nod*; if our dev team here builds anything that doesn't work as far back as 32-bit RHEL4, they need serious justification for that act... so we pretty much never need latest-and-greatest of anything. | ||
| [2010/02/25 12:28:28] <zahna> on certain machines, ldap needs to be set up, which puppet does. on these machines, the ownership of a directory needs to be set to a user in ldap, which puppet also does. however, on initial setup, this fails because puppet sets up ldap, but isn't able to use it until it restarts, which it can't do because it's in the middle of it's first run. | ||
| [2010/02/25 12:28:32] <joe-mac1> nDuff: developers with discipline? you lie | ||
| [2010/02/25 12:28:34] <joe-mac1> :-D | ||
| [2010/02/25 12:28:45] <ohadlevy> tim|imac: http://theforeman.org/repositories/entry/foreman/app/views/unattended/preseed.rhtml | ||
| [2010/02/25 12:29:14] <joe-mac1> zahna: maybe think about setting up ldap in the preseed then? | ||
| [2010/02/25 12:29:32] <zahna> joe-mac1: thought about that, but not all machines use ldap | ||
| [2010/02/25 12:29:43] <zahna> (and i use kickstart anyway) | ||
| [2010/02/25 12:29:48] <pastamancer> zahna: on the second run, things should work | ||
| [2010/02/25 12:29:49] <joe-mac1> yea, i do have a few different preseeds | ||
| [2010/02/25 12:29:57] <joe-mac1> luike raid1, raid5, one for HP, one for supermicro etc | ||
| [2010/02/25 12:30:11] <ohadlevy> zahna: cant you create the same uid in your ldap tree and on the local account? | ||
| [2010/02/25 12:30:17] <joe-mac1> i try to not get 'preseed sprawl' or in your case ks sprawl, but, i feel like it can't be avoided sometimes | ||
| [2010/02/25 12:30:45] <zahna> ohadlevy: then what's the point of having ldap accounts? | ||
| [2010/02/25 12:30:45] <ohadlevy> joe-mac1: I used to have many, now I use only one template | ||
| [2010/02/25 12:31:04] <zahna> ohadlevy: i use ldap simply for shared unix users/groups | ||
| [2010/02/25 12:31:25] <ohadlevy> zahna: I guess thats not a service account? (e.g. apache) | ||
| [2010/02/25 12:31:25] <tim|imac> zahna: we solve those things with requires and wrappers around functions | ||
| [2010/02/25 12:32:06] <zahna> ohadlevy: right. it's a regular user that owns a certain directory | ||
| [2010/02/25 12:32:26] <tim|imac> just like how we use puppet to setup apt, but every package installation requires on apt being setup properly and apt-get update to have run :) | ||
| [2010/02/25 12:33:05] <zahna> tim|imac: except once apt is installed it's available. not so in the situation i just described. | ||
| [2010/02/25 12:33:47] <tim|imac> zahna: if all you require is a restart of the service, depend on that exec? i might be misunderstanding your problem, though | ||
| [2010/02/25 12:34:12] <tim|imac> ah, i get it | ||
| [2010/02/25 12:34:19] <zahna> yeah | ||
| [2010/02/25 12:35:33] <raz> what's the common procedure to install a pkg that auto-starts a service (think apache), stop it, replace the config, then ensure it's always running? | ||
| [2010/02/25 12:35:44] <raz> can't figure out a way to suppress the auto-starts on debian, and it seems it's the same way on redhat distros | ||
| [2010/02/25 12:35:47] <zahna> i somehow need to have the user "puppet" get the new environment | ||
| [2010/02/25 12:36:07] <zahna> or at least reparse the nss settings | ||
| [2010/02/25 12:36:31] @ giskard joined channel #puppet | ||
| [2010/02/25 12:36:53] @ lak joined channel #puppet | ||
| [2010/02/25 12:37:16] <tim|imac> raz: did you look at policy-rc.d? | ||
| [2010/02/25 12:37:19] @ Quit: ckauhaus: Quit: Leaving. | ||
| [2010/02/25 12:37:28] <raz> tim|imac: yea but i can't make much sense ot it rbh | ||
| [2010/02/25 12:37:30] <raz> tbh | ||
| [2010/02/25 12:37:43] <zahna> you know, i could set up a seperate post-install template for those machines that use ldap | ||
| [2010/02/25 12:38:10] <tim|imac> raz: ok, just a sec, been a while since i last looked at it, but i think i can give you an example | ||
| [2010/02/25 12:38:31] <raz> that would be great. the readme is horrible (there's even a bug on bugs.debian.org about it ;)) | ||
| [2010/02/25 12:40:03] @ Quit: Spads: Ping timeout: 246 seconds | ||
| [2010/02/25 12:40:11] <zahna> hey, if a machine runs "puppetd <lots_of_options> --tags ldap", but that machine doesn't have any ldap classes applied in puppet, it would just do nothing, right? | ||
| [2010/02/25 12:40:28] <kjetilho> tags are pretty vague terms | ||
| [2010/02/25 12:40:56] <kjetilho> you could have a service or file named "ldap", and it would apply | ||
| [2010/02/25 12:40:58] @ Quit: Robbie_: Remote host closed the connection | ||
| [2010/02/25 12:41:48] <zahna> kjetilho: oh, so if *any* resource has the name ldap in it, then it would run that part of the puppet recipe on the client? | ||
| [2010/02/25 12:42:10] <tim|imac> raz: echo "exit 101" > /usr/sbin/policy-rc.d | ||
| [2010/02/25 12:42:11] @ paxos joined channel #puppet | ||
| [2010/02/25 12:42:11] <zahna> er, has the name ldap in the title/name... | ||
| [2010/02/25 12:42:33] <tim|imac> raz: and then try installing apache again... the install script should no longer start the service, now | ||
| [2010/02/25 12:43:01] <tim|imac> raz: make sure the policy-rc.d script is executable, though ;-) | ||
| [2010/02/25 12:43:22] <zahna> is there a way of telling, inside of a template, whether a class applies to the client? | ||
| [2010/02/25 12:43:56] <ohadlevy> zahna: you can query the list of tags | ||
| [2010/02/25 12:44:08] <raz> tim|imac: ah thx, gonna check. any idea how to wrap that up in puppet? (to have it create that policy-rc.d script before every install and remove it afterwards?) | ||
| [2010/02/25 12:44:27] @ Quit: euclid: Read error: Operation timed out | ||
| [2010/02/25 12:44:35] @ Quit: lak: Quit: lak | ||
| [2010/02/25 12:44:39] <tim|imac> raz: we don't remove it, we just make sure puppet starts every service | ||
| [2010/02/25 12:44:42] <zahna> ohadlevy: yeah, but it sounds like a tag of "ldap" would be pretty vague | ||
| [2010/02/25 12:45:06] <raz> tim|imac: ah, so the init scripts still work even with that policy in place? (gotta lookup the meaning of 101) | ||
| [2010/02/25 12:45:06] <tim|imac> raz: and we have a wrapper around package{} that makes sure the policy-rc.d is in place | ||
| [2010/02/25 12:45:24] <tim|imac> yeah they do :) the initscripts don't use policy-rc.d | ||
| [2010/02/25 12:46:02] <raz> aah. blurred memories about using invoke-rc.d in homegrown pkgs come to mind. | ||
| [2010/02/25 12:46:07] <raz> thanks, i think that set me on track :) | ||
| [2010/02/25 12:46:17] <tim|imac> not all packages do either, if I remember correctly... but most important ones do and you can file bug reports for the others :) | ||
| [2010/02/25 12:46:44] <raz> hell yea i will. that behaviour is so wrong. | ||
| [2010/02/25 12:46:58] <raz> was a bit baffled to learn that there's to trivial way to disable it - and that other distros do the same idiotic thing | ||
| [2010/02/25 12:47:15] <tim|imac> raz: explanation -> http://github.com/formorer/file-rc/blob/4674c26cd9c4c22436fd0e128aa0205b2c5eb48b/README.policy-rc.d | ||
| [2010/02/25 12:47:17] <raz> ..and that i never took notice | ||
| [2010/02/25 12:49:09] <tim|imac> some things are very well hidden ;-) | ||
| [2010/02/25 12:51:05] @ toi joined channel #puppet | ||
| [2010/02/25 12:52:53] @ Quit: TREllis: Quit: leaving | ||
| [2010/02/25 12:54:10] @ egerlach joined channel #puppet | ||
| [2010/02/25 12:58:14] <raz> tim|imac: what does your wrapper around package{} look like? | ||
| [2010/02/25 12:58:18] @ Quit: giskard: Quit: Leaving... | ||
| [2010/02/25 12:58:31] @ Quit: cwebber: Quit: cwebber | ||
| [2010/02/25 12:58:58] <tim|imac> raz: I'll get back to you on that, I'm cooking :P | ||
| [2010/02/25 12:59:06] <raz> oh, switching to chef? :P | ||
| [2010/02/25 12:59:12] @ copious left channel #puppet () | ||
| [2010/02/25 12:59:59] @ cwebber joined channel #puppet | ||
| [2010/02/25 13:01:11] @ jaredrhine joined channel #puppet | ||
| [2010/02/25 13:11:38] <zahna> so, is there a good way to run puppet so i can see the tags associated with a particular node? | ||
| [2010/02/25 13:12:57] <raz> hmm when i "include" classes in a node{}, will those classes execute in the order they are included? | ||
| [2010/02/25 13:14:22] <zahna> raz: no | ||
| [2010/02/25 13:15:11] <zahna> they will execute in the order in which the directed graph gets built | ||
| [2010/02/25 13:15:42] <ohadlevy> zahna: you have tags variable in a template, or you can do something like if tagged('tagname') in a manifest afair | ||
| [2010/02/25 13:16:33] <raz> zahna: hmmmm... so how do i make one thing depend on another? i.e. i have an "exec" here that will only make sense after a few other classes have already been applied | ||
| [2010/02/25 13:17:01] <nDuff> raz, see the metaparameter reference | ||
| [2010/02/25 13:17:09] <raz> will look, thx | ||
| [2010/02/25 13:17:24] @ Quit: andrewh: Quit: Quitting | ||
| [2010/02/25 13:17:27] <nDuff> raz, notify=>, require=>, and many others variants exist. | ||
| [2010/02/25 13:17:43] <raz> sweet! | ||
| [2010/02/25 13:18:55] @ mikerowehl joined channel #puppet | ||
| [2010/02/25 13:18:58] <zahna> raz: it's sweet, until it gets annoying | ||
| [2010/02/25 13:19:27] <raz> hehe, as in? | ||
| [2010/02/25 13:20:04] @ joe-mac2 joined channel #puppet | ||
| [2010/02/25 13:20:10] <zahna> oh, sometimes, i just want something to be installed before a ton of other things, but i don't want to specify a "require =>" on all those tons of other things | ||
| [2010/02/25 13:20:39] <zahna> i just "want it done first" | ||
| [2010/02/25 13:20:52] <raz> hmm yea, i'm in a similar situation as i want something "done last here | ||
| [2010/02/25 13:21:13] <raz> hope to learn that require will simply let me put a list of stuff that should have happend before | ||
| [2010/02/25 13:21:29] <zahna> yep, you can do arrays on them | ||
| [2010/02/25 13:21:47] <zahna> require => [Package["this"],File["that"]] | ||
| [2010/02/25 13:21:51] @ Quit: cliff-hm: Ping timeout: 245 seconds | ||
| [2010/02/25 13:21:52] @ Quit: joe-mac: Ping timeout: 252 seconds | ||
| [2010/02/25 13:22:48] <zahna> ohadlevy: so you don't know of a way i can run puppetd from the cli and have it spit out applicable tags? | ||
| [2010/02/25 13:23:05] @ Quit: jab_doa: Ping timeout: 246 seconds | ||
| [2010/02/25 13:23:11] <ohadlevy> zahna: what are you trying to do? | ||
| [2010/02/25 13:24:01] <zahna> i'm trying to see what tags apply to different hosts and maybe find apply a template section to hosts that match a few tags | ||
| [2010/02/25 13:24:20] <zahna> it's mostly seeing how well that approach would work | ||
| [2010/02/25 13:24:43] <zahna> but the first step is to see lists of tags on different machines | ||
| [2010/02/25 13:25:25] <ohadlevy> zahna: if you dont tag something on purpose, than tags==classlist (e.g. the file you find ~puppet/state/classes.txt) | ||
| [2010/02/25 13:25:46] @ autowidget joined channel #puppet | ||
| [2010/02/25 13:26:10] <zahna> ohadlevy: oh, i didn't know that. thanks! | ||
| [2010/02/25 13:26:11] @ benkevan joined channel #puppet | ||
| [2010/02/25 13:28:26] @ cliff-hm joined channel #puppet | ||
| [2010/02/25 13:28:27] <zahna> ohadlevy: that was perfect. thanks again. | ||
| [2010/02/25 13:30:04] <zahna> this foreman project looks interesting | ||
| [2010/02/25 13:31:19] @ Quit: elijahwright: Ping timeout: 245 seconds | ||
| [2010/02/25 13:31:28] @ ambroff joined channel #puppet | ||
| [2010/02/25 13:31:29] @ Quit: ambroff: Client Quit | ||
| [2010/02/25 13:31:46] @ mqr joined channel #puppet | ||
| [2010/02/25 13:32:06] <ohadlevy> zahna: cool, i hope you find it useful :) | ||
| [2010/02/25 13:32:53] <jamesturnbull> LinuxCode: pong | ||
| [2010/02/25 13:33:01] <LinuxCode> yay! | ||
| [2010/02/25 13:33:02] @ jab_doa joined channel #puppet | ||
| [2010/02/25 13:33:07] <LinuxCode> jamesturnbull, hey mate | ||
| [2010/02/25 13:33:18] <LinuxCode> did you see my message regarding reductives postfix ? | ||
| [2010/02/25 13:33:36] <LinuxCode> from yesterday I believe | ||
| [2010/02/25 13:33:47] <LinuxCode> they are using a non fqdn | ||
| [2010/02/25 13:34:04] <LinuxCode> not rfc compliant, and a lot of servers block non-rfc ehlos | ||
| [2010/02/25 13:34:43] <LinuxCode> be nice if one of you guys could have that changed | ||
| [2010/02/25 13:34:58] <jamesturnbull> LinuxCode: so did you see my message? | ||
| [2010/02/25 13:35:03] <LinuxCode> no sorry | ||
| [2010/02/25 13:35:07] <LinuxCode> I log out | ||
| [2010/02/25 13:35:09] <jamesturnbull> LinuxCode: what MTA are you looking at? | ||
| [2010/02/25 13:35:24] <LinuxCode> I will ahve to request an email again | ||
| [2010/02/25 13:35:25] <LinuxCode> sec | ||
| [2010/02/25 13:37:01] @ Quit: ashp: Ping timeout: 264 seconds | ||
| [2010/02/25 13:37:02] @ Quit: mqr: Read error: Connection reset by peer | ||
| [2010/02/25 13:37:03] <LinuxCode> <kuku>: Helo command rejected: need fully-qualified hostname; from=<trac@reductivelabs.com> | ||
| [2010/02/25 13:37:10] <LinuxCode> 208.78.100.132 | ||
| [2010/02/25 13:37:24] <jamesturnbull> LinuxCode: okay let me work that out | ||
| [2010/02/25 13:37:29] <LinuxCode> cool thanks | ||
| [2010/02/25 13:37:33] <LinuxCode> appreciated | ||
| [2010/02/25 13:37:52] @ mqr joined channel #puppet | ||
| [2010/02/25 13:37:58] @ ashp joined channel #puppet | ||
| [2010/02/25 13:39:10] <Volcane> zahna: on 0.25 its trivial to get :) http://www.pastie.org/842758 | ||
| [2010/02/25 13:39:53] @ biertie joined channel #puppet | ||
| [2010/02/25 13:40:07] <Volcane> zahna: that'll find all tags, ones set with tag() etc | ||
| [2010/02/25 13:40:50] <LinuxCode> evening Volcane ;-} | ||
| [2010/02/25 13:41:47] <Volcane> hey | ||
| [2010/02/25 13:41:51] @ crdant joined channel #puppet | ||
| [2010/02/25 13:43:01] <jamesturnbull> LinuxCode: ah okay - I thought you meant Redmine - which is working - it should be fixed now | ||
| [2010/02/25 13:43:09] @ Quit: mqr: Ping timeout: 240 seconds | ||
| [2010/02/25 13:43:11] <LinuxCode> jamesturnbull, let me check for ya | ||
| [2010/02/25 13:43:12] <LinuxCode> sec | ||
| [2010/02/25 13:43:18] <zahna> Volcane: awesome, thanks! | ||
| [2010/02/25 13:43:34] <LinuxCode> yes | ||
| [2010/02/25 13:43:36] <LinuxCode> looks good | ||
| [2010/02/25 13:43:37] <zahna> i've never set anything with tag() | ||
| [2010/02/25 13:43:43] <jamesturnbull> LinuxCode: good | ||
| [2010/02/25 13:43:45] <LinuxCode> bingo yeah | ||
| [2010/02/25 13:43:48] <LinuxCode> excellent | ||
| [2010/02/25 13:43:50] <LinuxCode> thanks James | ||
| [2010/02/25 13:44:01] <LinuxCode> now I can edit the wiki tomorrow | ||
| [2010/02/25 13:44:06] <LinuxCode> and file a bug | ||
| [2010/02/25 13:44:08] <LinuxCode> hehe | ||
| [2010/02/25 13:44:09] <LinuxCode> ;-D | ||
| [2010/02/25 13:44:13] @ giskard joined channel #puppet | ||
| [2010/02/25 13:44:21] <jamesturnbull> LinuxCode: if you need that sort of help easiest to email me - I am in a different TZ every day it seems :) | ||
| [2010/02/25 13:44:32] <LinuxCode> jamesturnbull, so I heard | ||
| [2010/02/25 13:44:38] <jamesturnbull> LinuxCode: also ... hmmm wiki edits are disabled currently after stupid spam attack | ||
| [2010/02/25 13:44:39] <LinuxCode> whats ya email ? | ||
| [2010/02/25 13:44:45] <LinuxCode> ahh ok I see | ||
| [2010/02/25 13:44:47] <jamesturnbull> LinuxCode: james@lovedthanlost.net | ||
| [2010/02/25 13:44:50] <LinuxCode> k | ||
| [2010/02/25 13:44:55] * LinuxCode writes down | ||
| [2010/02/25 13:44:58] <jamesturnbull> LinuxCode: let me re-enable | ||
| [2010/02/25 13:45:13] <LinuxCode> well, no no, leave it, if its being spammed | ||
| [2010/02/25 13:45:19] <LinuxCode> I wont make changes now | ||
| [2010/02/25 13:45:37] <LinuxCode> Off to bed shortly, been up since 3am | ||
| [2010/02/25 13:45:44] @ mqr joined channel #puppet | ||
| [2010/02/25 13:46:26] <jamesturnbull> LinuxCode: it's back on - I've stopped the hole the spammers were using too | ||
| [2010/02/25 13:46:27] @ Quit: crdant: Remote host closed the connection | ||
| [2010/02/25 13:46:47] <LinuxCode> k cool | ||
| [2010/02/25 13:46:54] <LinuxCode> just hope it stays that way | ||
| [2010/02/25 13:46:58] <LinuxCode> for you | ||
| [2010/02/25 13:47:00] <LinuxCode> ;-p | ||
| [2010/02/25 13:47:05] * LinuxCode hates spam | ||
| [2010/02/25 13:47:24] <LinuxCode> which is why I block non-rfc compliant senders | ||
| [2010/02/25 13:47:38] @ crdant joined channel #puppet | ||
| [2010/02/25 13:47:42] <LinuxCode> no sane emai server should send dodgy ehlos hehe | ||
| [2010/02/25 13:47:45] <LinuxCode> email | ||
| [2010/02/25 13:47:48] @ Quit: MattyM: Quit: ta ta | ||
| [2010/02/25 13:48:01] @ lak joined channel #puppet | ||
| [2010/02/25 13:48:03] <bda> "Email" and "sane" do not belong in the same sentence, unless "sane" has been prefixed with in-. | ||
| [2010/02/25 13:48:17] <bda> There are lots of insane MTAs out there sending perfectly legit mail. | ||
| [2010/02/25 13:48:18] @ Quit: RedPepper: Ping timeout: 276 seconds | ||
| [2010/02/25 13:48:27] @ Quit: cwebber: Quit: cwebber | ||
| [2010/02/25 13:48:28] @ randybias|away is now known as randybias | ||
| [2010/02/25 13:48:41] @ RedPepper joined channel #puppet | ||
| [2010/02/25 13:49:03] @ bug joined channel #puppet | ||
| [2010/02/25 13:50:33] <LinuxCode> bda, I happily discriminate | ||
| [2010/02/25 13:50:56] <LinuxCode> I have no sympathy for outlook users or the like | ||
| [2010/02/25 13:51:12] * bda said MTA, not MUA. | ||
| [2010/02/25 13:51:14] <bda> But whatever. | ||
| [2010/02/25 13:51:17] <bda> It's your email. :) | ||
| [2010/02/25 13:51:17] @ cwebber joined channel #puppet | ||
| [2010/02/25 13:51:23] <LinuxCode> or exchange | ||
| [2010/02/25 13:51:34] <LinuxCode> not that I know what it uses for its ehlos | ||
| [2010/02/25 13:51:50] <wastrel> ehlo | ||
| [2010/02/25 13:51:57] <bda> "Be strict in what you send, but generous in what you receive", and all that. | ||
| [2010/02/25 13:52:07] @ alban2 joined channel #puppet | ||
| [2010/02/25 13:53:45] @ Quit: crdant: Remote host closed the connection | ||
| [2010/02/25 13:54:29] @ benlovell joined channel #puppet | ||
| [2010/02/25 13:55:01] @ Quit: ohadlevy: Ping timeout: 264 seconds | ||
| [2010/02/25 13:55:50] @ Quit: benlovell: Client Quit | ||
| [2010/02/25 13:56:21] @ crdant joined channel #puppet | ||
| [2010/02/25 13:57:09] @ Quit: jab_doa: Quit: Verlassend | ||
| [2010/02/25 14:00:33] @ joe-mac joined channel #puppet | ||
| [2010/02/25 14:02:31] @ JuddJudd joined channel #puppet | ||
| [2010/02/25 14:02:55] @ Quit: joe-mac2: Ping timeout: 265 seconds | ||
| [2010/02/25 14:04:03] @ Quit: giskard: Ping timeout: 265 seconds | ||
| [2010/02/25 14:05:05] @ Quit: mqr: Ping timeout: 246 seconds | ||
| [2010/02/25 14:06:28] @ randybias is now known as randybias|away | ||
| [2010/02/25 14:11:37] @ bobbyz_ joined channel #puppet | ||
| [2010/02/25 14:11:37] @ mqr joined channel #puppet | ||
| [2010/02/25 14:14:25] @ Quit: kolla: Remote host closed the connection | ||
| [2010/02/25 14:16:39] @ Quit: Cyis-work: Quit: Ex-Chat | ||
| [2010/02/25 14:16:54] @ Quit: mrobbert: Quit: mrobbert | ||
| [2010/02/25 14:21:37] @ rmayr joined channel #puppet | ||
| [2010/02/25 14:23:11] @ Quit: mattwynne: Remote host closed the connection | ||
| [2010/02/25 14:23:56] @ gorsteph joined channel #puppet | ||
| [2010/02/25 14:24:14] @ Quit: gorsteph: Client Quit | ||
| [2010/02/25 14:24:22] @ gorsteph joined channel #puppet | ||
| [2010/02/25 14:24:31] @ Quit: gorsteph: Remote host closed the connection | ||
| [2010/02/25 14:27:29] @ Quit: Mandus: Read error: Operation timed out | ||
| [2010/02/25 14:27:37] @ Mandus joined channel #puppet | ||
| [2010/02/25 14:29:52] @ Quit: crdant: Remote host closed the connection | ||
| [2010/02/25 14:30:42] @ Quit: rmayr: Ping timeout: 248 seconds | ||
| [2010/02/25 14:31:35] @ crdant joined channel #puppet | ||
| [2010/02/25 14:43:24] @ Quit: omry_|work: Ping timeout: 245 seconds | ||
| [2010/02/25 14:46:04] @ ohadlevy joined channel #puppet | ||
| [2010/02/25 14:46:24] @ Quit: crdant: Remote host closed the connection | ||
| [2010/02/25 14:47:30] @ omry_|work joined channel #puppet | ||
| [2010/02/25 14:49:09] @ crdant joined channel #puppet | ||
| [2010/02/25 14:56:46] @ \ask joined channel #puppet | ||
| [2010/02/25 15:00:08] @ glebaron joined channel #puppet | ||
| [2010/02/25 15:01:11] @ nils__ joined channel #puppet | ||
| [2010/02/25 15:02:20] @ joeyh joined channel #puppet | ||
| [2010/02/25 15:03:14] <joeyh> I am using puppet for the 1st time. Is puppetmaster supposted to speak http on port 8140? When I try to connect to there, it immediatly hangs up | ||
| [2010/02/25 15:03:45] @ Quit: rcrowley: Quit: rcrowley | ||
| [2010/02/25 15:03:45] <jrojas> joeyh: it speaks its own language. over HTTP | ||
| [2010/02/25 15:03:53] <ohadlevy> joeyh: its ssl | ||
| [2010/02/25 15:03:58] <glebaron> I'm having trouble running puppet under Fedora 12 with the default packages - uninitialized constant Active:Record::VERSION | ||
| [2010/02/25 15:05:15] <glebaron> puppet 0.24.8-4 puppet-server 0.24.8-4 ruby-activerecord 2.0.1-3 rubygem-activerecord 2.3.4-2 | ||
| [2010/02/25 15:05:17] <joeyh> aha! Now I can see it has a certificate for the FQDN and so --server=localhost won't work. Yay, working | ||
| [2010/02/25 15:06:40] <glebaron> Sorry - by "default packages" I meant the Fedora provided RPMs | ||
| [2010/02/25 15:07:26] <ohadlevy> glebaron: is that just a warning or fatal error? | ||
| [2010/02/25 15:09:14] @ Quit: crdant: Ping timeout: 268 seconds | ||
| [2010/02/25 15:09:19] <glebaron> puppetd is running so I suspect it's just a warning but I'm not sure. Full error message is: | ||
| [2010/02/25 15:09:28] <glebaron> puppetd --server verona.math.mcgill.ca --verbose --waitforcert 120 | ||
| [2010/02/25 15:09:34] <glebaron> Failed to load feature test for rails: uninitialized constant ActiveRecord::VERSION | ||
| [2010/02/25 15:10:01] <joe-mac1> joeyh: the shittiest part of the ssl auth is usually back to itself | ||
| [2010/02/25 15:12:58] <joeyh> So, I am also wondering about general puppet scalability. Support I had a thousand apache vhosts configured, and added 1 more. Would puppet do O(n) of work, or O(1)? Generally speaking :) | ||
| [2010/02/25 15:14:19] @ Illusioneer joined channel #puppet | ||
| [2010/02/25 15:14:26] @ Quit: ohadlevy: Ping timeout: 248 seconds | ||
| [2010/02/25 15:15:25] @ Quit: phantez: Quit: leaving | ||
| [2010/02/25 15:15:39] @ phantez joined channel #puppet | ||
| [2010/02/25 15:17:31] @ Quit: mboyd: Ping timeout: 265 seconds | ||
| [2010/02/25 15:18:04] @ Quit: phantez: Client Quit | ||
| [2010/02/25 15:18:10] @ phantez joined channel #puppet | ||
| [2010/02/25 15:18:12] <nils__> Any way to run dashboard with puppet using passenger yet? | ||
| [2010/02/25 15:21:39] @ Quit: phantez: Client Quit | ||
| [2010/02/25 15:21:54] @ phantez joined channel #puppet | ||
| [2010/02/25 15:22:10] @ Alagar joined channel #puppet | ||
| [2010/02/25 15:22:11] @ Quit: Alagar: Excess Flood | ||
| [2010/02/25 15:23:15] <nDuff> joeyh, there's a talk you might want to look at from the last puppetcon given by my coworkers on how we here at Dell Global Services make that O(1). | ||
| [2010/02/25 15:23:25] @ crdant joined channel #puppet | ||
| [2010/02/25 15:23:34] <nDuff> joeyh, s/my coworkers/one of my coworkers, Deepak Giridharagopal/ | ||
| [2010/02/25 15:23:37] <joeyh> nDuff: sure.. I assume that means default is O(n)? | ||
| [2010/02/25 15:24:15] <nDuff> joeyh, ...waitamoment, you're talking about scaling with more complexity on a single configuration, not adding more nodes... | ||
| [2010/02/25 15:24:22] <nDuff> joeyh, ...then the answer is "it's complicated" :) | ||
| [2010/02/25 15:24:25] <joeyh> nDuff: that's right. | ||
| [2010/02/25 15:24:58] <joeyh> I saw something on the wiki about scaling the server to multiple nodes, but that is not what I am curious about (at least for now) | ||
| [2010/02/25 15:25:20] <jbooth> The answer probably depends on how your configuration is setup. It could trigger O(N) work depending. | ||
| [2010/02/25 15:25:37] <nDuff> joeyh, the graph sorting algorithms were for a while one of the big pain points there; _ideally_ they could be something like O(n log n), but in practice they were (as of 0.24.x) really damned ugly. | ||
| [2010/02/25 15:25:51] <jbooth> I have a particular case where I know it'll trigger O(N) work, but really if your firewall rules are so complex you worry about that N... well... | ||
| [2010/02/25 15:26:07] @ mboyd joined channel #puppet | ||
| [2010/02/25 15:26:15] <nDuff> joeyh, ...as of 0.25.1, though, performance is pretty good for us, and our configuration's complexity is... very substantial. | ||
| [2010/02/25 15:26:28] @ Alagar joined channel #puppet | ||
| [2010/02/25 15:26:47] <Clint> nDuff: how often do your puppetds die? | ||
| [2010/02/25 15:26:54] <joeyh> well, I was just thinking about a simple case, nothing complex, just a lot of virtual host definitions. | ||
| [2010/02/25 15:26:54] <nDuff> Clint, we don't use puppetd | ||
| [2010/02/25 15:27:32] <Clint> interesting | ||
| [2010/02/25 15:27:58] <nDuff> joeyh, then my initial answer is "use a modern release (not 0.24.x) and don't worry about it too much". | ||
| [2010/02/25 15:29:44] <jbooth> I'd also note 0.24.x has more trouble with a large number of hosts than a complex manifest (though both is much much worse than one of either) | ||
| [2010/02/25 15:30:17] @ Quit: crdant: Remote host closed the connection | ||
| [2010/02/25 15:30:52] <joeyh> I have 0.25.4. So, does it have some smarts to avoid needing to regenerate a lot of files if just one new one has been added to the manifest? | ||
| [2010/02/25 15:31:21] <grim_radical> joeyh: define "regenerate" | ||
| [2010/02/25 15:31:32] @ ShiNboi joined channel #puppet | ||
| [2010/02/25 15:31:45] <grim_radical> joeyh: can you give an example use-case? | ||
| [2010/02/25 15:32:11] <nDuff> joeyh, it doesn't _rewrite_ unmodified files (in terms of disk I/O), but it does need to reevaluate templates to determine which files are still correct. | ||
| [2010/02/25 15:32:34] <joeyh> right, so there's an O(n) operation there. | ||
| [2010/02/25 15:32:43] <grim_radical> joeyh: puppet will evaluate all the resources that apply to host all the time, by default | ||
| [2010/02/25 15:33:06] <grim_radical> that doesn't mean that each resource requires a remediating action on puppet's part, but it certainly "evaluates" it | ||
| [2010/02/25 15:33:25] @ crdant joined channel #puppet | ||
| [2010/02/25 15:33:28] <grim_radical> in that sense, you could say that puppet is O(N) where N is the number of resources in that host's catalog | ||
| [2010/02/25 15:33:30] <joeyh> I guess it has to read or stat the file to determine if it needs to be updated too? | ||
| [2010/02/25 15:33:48] <grim_radical> yes, if you're telling puppet to care about the content of that file | ||
| [2010/02/25 15:33:53] <grim_radical> it'll checksum it | ||
| [2010/02/25 15:33:56] <tim|imac> I know it's a silly idea, but sometimes I wish we'd have facts for all the tickets that are fixed in the running puppet version :) so you can do something like if $ticket_1234 { do it the right way } else { use a workaround } | ||
| [2010/02/25 15:34:06] <joeyh> I figured, but thought you might have some magic way around it :) | ||
| [2010/02/25 15:34:45] <grim_radical> joeyh: ...yeah, that would definitely be magical. :P the only way puppet can tell if a file is "up to date" is to actually inspect the file | ||
| [2010/02/25 15:34:57] @ Quit: cliff-hm: Ping timeout: 252 seconds | ||
| [2010/02/25 15:36:11] <grim_radical> joeyh: there are other, non-linear-time operations that puppet does prior to evaluating the catalog on a host...but the time spent dealing with those operations is (mostly/typically) dwarfed by the time it takes to actually apply the catalog | ||
| [2010/02/25 15:37:06] @ allsystemsarego joined channel #puppet | ||
| [2010/02/25 15:38:29] @ Quit: hacim: Remote host closed the connection | ||
| [2010/02/25 15:39:18] @ Quit: autowidget: Quit: autowidget | ||
| [2010/02/25 15:39:37] @ TREllis joined channel #puppet | ||
| [2010/02/25 15:41:16] <nDuff> joeyh, ...you're not adding O(n) for an _additional_, resource, though; one reading of your initial question would have been asking if puppet's overall time was O(n^2). | ||
| [2010/02/25 15:43:54] @ Quit: crdant: Remote host closed the connection | ||
| [2010/02/25 15:43:56] @ Quit: Illusioneer: Ping timeout: 265 seconds | ||
| [2010/02/25 15:48:07] <raz> when i have multiple exec{} blocks in one class, will they execute in order? | ||
| [2010/02/25 15:48:09] @ Quit: londo: Ping timeout: 240 seconds | ||
| [2010/02/25 15:48:11] @ londo__ joined channel #puppet | ||
| [2010/02/25 15:48:24] <jrojas> raz: only if you use require | ||
| [2010/02/25 15:48:26] <grim_radical> raz: not unless you specify a dependency between them | ||
| [2010/02/25 15:48:46] <raz> hmm okay, so i have to wrap every exec in a class because the exec itself can not be referenced, right? | ||
| [2010/02/25 15:49:08] <grim_radical> raz: eh? I'm not sure I understand...you can certainly refer to individual execs | ||
| [2010/02/25 15:49:18] @ crdant joined channel #puppet | ||
| [2010/02/25 15:49:19] <grim_radical> require => Exec["your-execs-name-here"] | ||
| [2010/02/25 15:49:33] <raz> hmm okay. according to the docs that's problematic because multiple execs can have the same name | ||
| [2010/02/25 15:49:37] @ bozzo joined channel #puppet | ||
| [2010/02/25 15:49:56] <agaffney> raz: umm, you can't have the same resource/name in multiple places | ||
| [2010/02/25 15:49:56] <grim_radical> raz: you can give them a specific name, and use the "command" attribute to specify the command | ||
| [2010/02/25 15:50:06] <raz> ahh okay nice :) | ||
| [2010/02/25 15:50:39] @ Quit: TREllis: Quit: brb | ||
| [2010/02/25 15:51:10] <raz> tim|imac: done cooking? :) | ||
| [2010/02/25 15:51:27] <tim|imac> raz: ah man, almost forgot about you :) | ||
| [2010/02/25 15:51:34] <tim|imac> just a sec, I'll show you my recipe | ||
| [2010/02/25 15:51:39] <raz> hehe no prob ;) | ||
| [2010/02/25 15:51:41] <tim|imac> it's dirt simple though | ||
| [2010/02/25 15:51:44] @ Illusioneer joined channel #puppet | ||
| [2010/02/25 15:52:51] @ ckauhaus joined channel #puppet | ||
| [2010/02/25 15:52:58] @ Quit: ckauhaus: Client Quit | ||
| [2010/02/25 15:53:07] @ TREllis joined channel #puppet | ||
| [2010/02/25 15:53:57] @ euclid joined channel #puppet | ||
| [2010/02/25 15:54:10] @ dlowe joined channel #puppet | ||
| [2010/02/25 15:54:48] <tim|imac> raz: http://pastie.org/843020 | ||
| [2010/02/25 15:54:53] <tim|imac> it does a lot more, though | ||
| [2010/02/25 15:55:12] <dlowe> Hi. I'm wanting to use puppet, but I'm wondering how many nodes it can comfortably support at one time. I'm looking at managing about 100 clients | ||
| [2010/02/25 15:55:14] <tim|imac> and the "if ! defined(Package[bla" is not needed | ||
| [2010/02/25 15:55:18] <raz> thank you, will weave that in! | ||
| [2010/02/25 15:55:30] @ gwar9999 left channel #puppet () | ||
| [2010/02/25 15:55:32] <tim|imac> actually, removing that part right now | ||
| [2010/02/25 15:55:37] <tim|imac> it will never trigger | ||
| [2010/02/25 15:55:59] <dlowe> Is 100 clients a reasonable load? | ||
| [2010/02/25 15:56:15] <tim|imac> dlowe: it depends on the hardware you have available for your puppetmaster, we comfortably manage about 400 hosts with one puppetmaster server (running three mongrels) | ||
| [2010/02/25 15:56:18] <agaffney> yes, but probably not with the "default" server setup | ||
| [2010/02/25 15:56:34] <nDuff> dlowe, depends on the complexity of your configuration, but in the common case, yes. | ||
| [2010/02/25 15:56:43] @ londo__ is now known as londo | ||
| [2010/02/25 15:56:45] <dlowe> Are the clients also running mongrels? | ||
| [2010/02/25 15:57:12] <tim|imac> dlowe: I know there are companies out there that tweak their puppetmaster to support 2000 and more machines | ||
| [2010/02/25 15:57:22] <tim|imac> why would the clients be running mongrels? | ||
| [2010/02/25 15:57:56] <dlowe> I don't know why they would or wouldn't. That's why I was asking. I'm not familiar with the problem space. | ||
| [2010/02/25 15:58:26] @ Quit: joe-mac: Ping timeout: 265 seconds | ||
| [2010/02/25 15:58:44] <jbooth> dlowe: We use a single puppetmaster server for ~800 machines here. (though with mongrel and lots of puppetmasterd's on that one host) | ||
| [2010/02/25 15:59:00] <dlowe> works for me. Thanks a bunch. | ||
| [2010/02/25 15:59:09] <jbooth> It should be noted that's a HPC cluster, so 97% of those machines are absolutely 100% identical. ;-) | ||
| [2010/02/25 15:59:12] @ sparagos is now known as sparagos_away | ||
| [2010/02/25 15:59:31] <tim|imac> in our case, it only 10% duplicates, most are unique machines | ||
| [2010/02/25 15:59:41] <tim|imac> or more or less unique | ||
| [2010/02/25 16:00:12] <paxos> jbooth: what type of applications run on the cluster? | ||
| [2010/02/25 16:00:15] <jbooth> The only problem I run into is if I reboot all 800 nodes at once they'll overload the puppet master. | ||
| [2010/02/25 16:00:24] <grim_radical> tim|imac: the big sticking point will likely be how many concurrent puppet connections you want to support | ||
| [2010/02/25 16:00:35] @ Quit: bug: Quit: bug | ||
| [2010/02/25 16:00:52] <jbooth> paxos: tightly coupled simulations. It's a campus resource so we get all types, you just need to be using MPI and that's good enough for us. | ||
| [2010/02/25 16:01:06] <tim|imac> grim_radical: exactly, we have out puppetds run only once every 2 hours with a hefty splay | ||
| [2010/02/25 16:01:34] <tim|imac> s/out/our/ | ||
| [2010/02/25 16:01:36] <tim|imac> damn typos | ||
| [2010/02/25 16:01:40] <tim|imac> i blame my keyboard | ||
| [2010/02/25 16:01:53] <jbooth> paxos: We have everything from rocket scientists to biophysicists to materials science folks and everything in between. | ||
| [2010/02/25 16:02:00] <grim_radical> tim|imac: it also depends on how long it takes to compile a config for your hosts | ||
| [2010/02/25 16:02:16] @ Quit: fluxdude: Ping timeout: 245 seconds | ||
| [2010/02/25 16:02:18] <grim_radical> tim|imac: but basically, don't DoS your puppetmaster. :P | ||
| [2010/02/25 16:02:20] <jbooth> Speaking of concurrent connections; has anyone else tried to do rate-limiting in http to prevent puppetmaster getting overloaded? | ||
| [2010/02/25 16:02:40] <tim|imac> jbooth: no, but if you have, I'd be very interested in the results! | ||
| [2010/02/25 16:03:10] <jbooth> And here I was hoping I could glom someone else's config for it. :-P | ||
| [2010/02/25 16:03:13] <paxos> jbooth: we run nginx in front of puppetmasterd.. seems to work well | ||
| [2010/02/25 16:03:34] <grim_radical> jbooth: I experimented with limiting the number of incoming http connections...but functionally, I didn't see much difference between that and just increasing the run interval | ||
| [2010/02/25 16:03:45] <grim_radical> this was in the 0.24.x days | ||
| [2010/02/25 16:03:48] <paxos> of course we only have 40 or so hosts | ||
| [2010/02/25 16:03:58] @ Quit: crdant: Ping timeout: 276 seconds | ||
| [2010/02/25 16:04:16] <grim_radical> ultimately, even swamping the puppetmaster with hundreds of compilation requests didn't cause puppetmasterd to crash...rather, clients would just get timeouts trying to connect to the puppetmaster | ||
| [2010/02/25 16:04:26] <jbooth> IYeah see I'm rebooting 800 compute nodes when I patch them. | ||
| [2010/02/25 16:04:43] <jbooth> Or wose, if we have a "power event" | ||
| [2010/02/25 16:04:46] <grim_radical> jbooth: I would strongly recommend orchestrating the reboots such that you only do N at a time | ||
| [2010/02/25 16:05:01] <tim|imac> grim_radical: splay helps with that | ||
| [2010/02/25 16:05:03] <jbooth> grim_radical: I do, but un... tell that to the electric company? | ||
| [2010/02/25 16:05:06] @ ppickfor joined channel #puppet | ||
| [2010/02/25 16:05:14] <grim_radical> jbooth: ha! | ||
| [2010/02/25 16:05:21] <grim_radical> touche. :) | ||
| [2010/02/25 16:05:28] <jbooth> also, why not just rate-limit apache? I know about how long it takes to compile my config... | ||
| [2010/02/25 16:05:55] <tim|imac> jbooth: rate limiting would cause timeouts on the client, wouldn't it? | ||
| [2010/02/25 16:06:03] <tim|imac> in worst case scenarios | ||
| [2010/02/25 16:06:10] <jbooth> Probably, at which point the client would retry | ||
| [2010/02/25 16:06:14] <tim|imac> there's been a discussion on the ml about capacity planning | ||
| [2010/02/25 16:06:32] <jbooth> Since that's what happens right now anyway | ||
| [2010/02/25 16:06:35] <tim|imac> jbooth: retry? are you sure? last time i had those, my clients kinda b0rked.. | ||
| [2010/02/25 16:06:53] <jbooth> I think so, though to be honest I haven't tested. | ||
| [2010/02/25 16:07:09] <grim_radical> tim|imac: yeah, I don't recall my clients retrying automatically (though I wrote scriptage to make them retry) | ||
| [2010/02/25 16:07:18] <tim|imac> would be interesting to test, though... I'll see if I can find a little time for it tomorrow | ||
| [2010/02/25 16:07:32] <jbooth> It might be that we're running it with --onetime ? | ||
| [2010/02/25 16:07:54] <tim|imac> jbooth: I honestly don't know if it would make a difference, though... it's not the number of requests that's choking a puppetmaster, rather, all the background processing | ||
| [2010/02/25 16:08:00] <grim_radical> exactly | ||
| [2010/02/25 16:08:09] <jbooth> No, it's the # of requests. | ||
| [2010/02/25 16:08:26] <jbooth> In 0.24 there's some sort of exponential failure mode when puppetmaster has N>1 connections from a client. | ||
| [2010/02/25 16:08:28] <grim_radical> well, it's both... | ||
| [2010/02/25 16:08:47] <grim_radical> but once you "saturate" the available resources on the puppetmaster, the extra connections don't really matter | ||
| [2010/02/25 16:08:53] <grim_radical> they'll just timeout | ||
| [2010/02/25 16:08:56] <paxos> you need to run puppetmasterd on the cluster ;) | ||
| [2010/02/25 16:09:12] <tim|imac> paxos: yeah, if you have the hardware for it :P | ||
| [2010/02/25 16:09:12] <jbooth> My manifest compilation times go from sub-1-second to >5 minute. | ||
| [2010/02/25 16:09:31] <grim_radical> in my experience, once N was more than the number of cores I saw big performance degradation (which makes sense, as catalog compilation is CPU-heavy) | ||
| [2010/02/25 16:09:33] @ joe-mac joined channel #puppet | ||
| [2010/02/25 16:09:43] @ Quit: ppickfor: Ping timeout: 265 seconds | ||
| [2010/02/25 16:09:44] <jbooth> 'cause that's all puppetmaster does. No file serving or anything. | ||
| [2010/02/25 16:10:09] <tim|imac> would be cool though... several puppetmasters with an OCFS2+drbd manifest storage layer :D | ||
| [2010/02/25 16:10:12] <jbooth> I only have 2 cores, but spawning more puppetmasters helps the problem. I'm not just cpu bound. | ||
| [2010/02/25 16:10:44] <jbooth> It smells like some sort of insane in-ruby thread thrashing or something, but I've not tracked it down. | ||
| [2010/02/25 16:10:48] <grim_radical> we were running with 8 cores, with 8 puppetmasterd's, and after enough connections we were totally cpu-bound | ||
| [2010/02/25 16:11:00] <tim|imac> jbooth: tried to see if 0.25 fixes it? | ||
| [2010/02/25 16:11:22] <jbooth> tim|imac: I haven't | ||
| [2010/02/25 16:11:27] <grim_radical> 0.25 is much faster | ||
| [2010/02/25 16:11:41] <tim|imac> yeah, i notice a lot of speed improvements over 0.24.8 too, in 0.25.4 | ||
| [2010/02/25 16:11:54] @ Quit: phantez: Quit: leaving | ||
| [2010/02/25 16:11:55] <jbooth> faster helps but with an exponential failure mode it still likely won't fix it. | ||
| [2010/02/25 16:12:08] <grim_radical> but, it sort of just extends your lifeline a little bit...you'll hit a bottleneck eventually | ||
| [2010/02/25 16:12:08] @ phantez joined channel #puppet | ||
| [2010/02/25 16:12:12] <grim_radical> jbooth: yup | ||
| [2010/02/25 16:12:33] @ ppickfor joined channel #puppet | ||
| [2010/02/25 16:12:40] <tim|imac> yeah, but it's a nice idea that you can just throw more hardware at it ;-) | ||
| [2010/02/25 16:12:41] <grim_radical> ultimately, if you can handle client timeouts (you don't care *that* much about the timeliness of puppet runs) then it's not really that much of an issue | ||
| [2010/02/25 16:13:04] @ joeyh left channel #puppet () | ||
| [2010/02/25 16:13:05] <grim_radical> tim|imac: indeed...but in my case, that would have been a *lot* of hardware. :P | ||
| [2010/02/25 16:13:14] <tim|imac> btw, you're talking about connections and cpu, aren't you running into memory problems? | ||
| [2010/02/25 16:13:23] <tim|imac> because those are a big deal for us too | ||
| [2010/02/25 16:13:25] @ Quit: Illusioneer: Ping timeout: 265 seconds | ||
| [2010/02/25 16:13:28] <grim_radical> we ran into memory leaks, yes | ||
| [2010/02/25 16:13:43] @ crdant joined channel #puppet | ||
| [2010/02/25 16:13:50] <tim|imac> not the leaks, i mean, lots of memory usage during the compile of a manifest? | ||
| [2010/02/25 16:13:50] <grim_radical> those were in the 0.24.x days, though...nowadays we don't use a puppetmaster so I couldn't say how much 0.25.x improves the situation | ||
| [2010/02/25 16:13:55] <jbooth> Not really? | ||
| [2010/02/25 16:13:56] <grim_radical> tim|imac: yes, that too | ||
| [2010/02/25 16:14:26] <jbooth> My puppetmasters are around 40-60 megs each. The machine has 8 gig, so... | ||
| [2010/02/25 16:14:32] <grim_radical> tim|imac: but our puppetmaster had 8G of ram in it, so I don't think it ended up being much of an issue | ||
| [2010/02/25 16:14:35] @ Quit: allsystemsarego: Quit: Leaving | ||
| [2010/02/25 16:14:52] <jbooth> It might be that I'm not doing any file serving. | ||
| [2010/02/25 16:14:55] <jbooth> No templates no nada | ||
| [2010/02/25 16:15:08] <jbooth> Things were bad when puppetmaster was doing file serving. | ||
| [2010/02/25 16:15:14] <grim_radical> file serving was pretty bad, memory-wise | ||
| [2010/02/25 16:15:23] <tim|imac> jbooth: your kidding? mine are 2GB, currently... and that's only the smallest setup, just 6 clients... | ||
| [2010/02/25 16:15:41] <jbooth> Well, mine were restarted 4 days ago but... | ||
| [2010/02/25 16:15:44] <dlowe> What's the practical difference between node inheritance and node inclusion? | ||
| [2010/02/25 16:15:59] <jbooth> No I'm not. I am also PPC on the off chance it's a x86 specific bug. :-P | ||
| [2010/02/25 16:16:06] <tim|imac> dlowe: with inheritance, you can override resources, you cannot do that with just inclusion | ||
| [2010/02/25 16:16:51] <tim|imac> that does it, I'm going to run my puppetmasters on armel ;-) | ||
| [2010/02/25 16:17:10] <tim|imac> buggy x86 | ||
| [2010/02/25 16:17:17] @ Quit: joe-mac: Ping timeout: 265 seconds | ||
| [2010/02/25 16:17:19] <paxos> jbooth: could you rsync /etc/puppet to the cluster, and have the cluster run puppet locally? | ||
| [2010/02/25 16:17:40] <dlowe> tim|imac: then what happens when you do class A { file { "/foo": mode => 440; } } class B { include A; file { "/foo": mode => 640 } } | ||
| [2010/02/25 16:17:50] <jbooth> paxos: Lots of ways for that to break | ||
| [2010/02/25 16:17:55] <grim_radical> paxos: that's essentially what I do | ||
| [2010/02/25 16:18:00] <tim|imac> dlowe: you'll get an error saying there's a duplicate definition | ||
| [2010/02/25 16:18:09] <dlowe> ah, ok. gotcha. thanks | ||
| [2010/02/25 16:18:12] <jbooth> paxos: Keeping it all central also means nodes don't (can't) get out of sync with a read only disk or such. | ||
| [2010/02/25 16:18:36] @ ckauhaus joined channel #puppet | ||
| [2010/02/25 16:18:57] <paxos> jbooth: yeah... mount /etc/puppet over nfs ?! | ||
| [2010/02/25 16:19:05] <tim|imac> jbooth: isn't it more practical to just run off of pxe for a cluster? no per node setup... | ||
| [2010/02/25 16:19:11] @ cliff-hm joined channel #puppet | ||
| [2010/02/25 16:19:29] <paxos> jbooth: interesting problem to have, I might say | ||
| [2010/02/25 16:20:02] @ Quit: londo: Read error: Operation timed out | ||
| [2010/02/25 16:20:16] * tim|imac really needs to finish this nagios-module-rewritten-from-scratch | ||
| [2010/02/25 16:20:20] <tim|imac> catch you all later! | ||
| [2010/02/25 16:20:53] @ rcrowley joined channel #puppet | ||
| [2010/02/25 16:22:23] <jbooth> Not with the size node image I need to dist. Also, remember: PPC. | ||
| [2010/02/25 16:22:30] <jbooth> I'd be writing almost all my tools from scratch. | ||
| [2010/02/25 16:22:48] @ londo joined channel #puppet | ||
| [2010/02/25 16:24:15] @ plathrop-away is now known as plathrop | ||
| [2010/02/25 16:25:49] <joe-mac1> do you normally code in C? | ||
| [2010/02/25 16:26:08] <jbooth> Not if I can help it. | ||
| [2010/02/25 16:26:28] <joe-mac1> i'm just wondering why you would ahve to rewrite your tools if switching... | ||
| [2010/02/25 16:26:45] <jbooth> Not rewrite. Write. | ||
| [2010/02/25 16:26:50] <jbooth> pxe = x86 boot stuff | ||
| [2010/02/25 16:27:15] <jbooth> There's yaboot for ppc, but all the node-imaging or cluster management stuff folks have written is ALL x86 focused. | ||
| [2010/02/25 16:27:29] <jbooth> Or if you're lucky CHRP or PREP focused (for IBM's ppc-linux clusters). | ||
| [2010/02/25 16:27:50] <jbooth> Me, I have OpenFirmware. 'Yay' Apple. | ||
| [2010/02/25 16:27:53] @ Quit: bobbyz_: Ping timeout: 246 seconds | ||
| [2010/02/25 16:28:05] <joe-mac1> yea actually i ran into this years ago. i had 30 sun workstations and wanted to run a cluster, nothing out there worked on sparc because there is inevitably for optimization, x86 asm | ||
| [2010/02/25 16:28:16] <joe-mac1> <similar problem i mean> | ||
| [2010/02/25 16:28:26] <jbooth> Yeah | ||
| [2010/02/25 16:28:32] <whack> joe-mac1: not entirely, there's sparc netbooting that works nicely | ||
| [2010/02/25 16:28:40] <jb> i did some yaboot stuff. | ||
| [2010/02/25 16:28:45] <jb> i despise ppc-linux. | ||
| [2010/02/25 16:28:50] <joe-mac1> whack: this was i think werewolf | ||
| [2010/02/25 16:28:56] <joe-mac1> cause i wanted to run linux, not solaris | ||
| [2010/02/25 16:29:08] <joe-mac1> i was a strange kid | ||
| [2010/02/25 16:29:49] @ Quit: crdant: Remote host closed the connection | ||
| [2010/02/25 16:30:19] <jbooth> jb: If you didn't reverse-engineer Apple's DHCP/xrdiags stuff don't complain too much. :-P | ||
| [2010/02/25 16:31:15] <jb> jbooth: i just hate all pSeries crap, really :) | ||
| [2010/02/25 16:31:57] <jbooth> pSeries you could at least run RHEL on. That'd be a step in the right direction for me. | ||
| [2010/02/25 16:32:11] @ crdant joined channel #puppet | ||
| [2010/02/25 16:32:19] <jb> yeah, i run RHEL on like 6 pseries boxes.. only because I have to. | ||
| [2010/02/25 16:32:22] <jb> the rest runs AIX. | ||
| [2010/02/25 16:32:42] @ Quit: cliff-hm: Ping timeout: 252 seconds | ||
| [2010/02/25 16:37:18] @ randybias|away is now known as randybias | ||
| [2010/02/25 16:37:41] @ Illusioneer joined channel #puppet | ||
| [2010/02/25 16:38:56] @ Quit: crdant: Quit: Leaving. | ||
| [2010/02/25 16:39:06] <whack> who | ||
| [2010/02/25 16:39:07] <whack> a | ||
| [2010/02/25 16:39:09] <jbooth> Though there are some nice things about running Fedora over RHEL. Up to date compilers, for instance. | ||
| [2010/02/25 16:39:25] <whack> jbooth: you can get newer packages on rhel | ||
| [2010/02/25 16:39:37] @ jimi_c-ph joined channel #puppet | ||
| [2010/02/25 16:39:48] <whack> perhaps with some small/medium amount of pain depending on your experiences | ||
| [2010/02/25 16:40:19] <jbooth> And until someone asks for a newer python... with libraries... | ||
| [2010/02/25 16:40:35] <whack> python packages are doable too | ||
| [2010/02/25 16:40:46] <whack> though that road generally means learning more about rpm | ||
| [2010/02/25 16:41:16] <whack> you just can't replace the system python with the new python (or risk breaking yum) | ||
| [2010/02/25 16:41:35] <whack> python, perl, and other languages have coexisted on the same systems for years though, so that's not new | ||
| [2010/02/25 16:41:37] @ bobbyz_ joined channel #puppet | ||
| [2010/02/25 16:41:44] <jbooth> Yes, I know I can build my own. The whole python chain. Plus python-foo-packages. Plus the libraries they need. | ||
| [2010/02/25 16:41:50] <whack> just doing it in rpm takes some fixed cost to learn what to do | ||
| [2010/02/25 16:42:22] @ Spads joined channel #puppet | ||
| [2010/02/25 16:42:25] <whack> I had to do the same thing for ruby gems, but now the marginal cost of rolling new rubygem rpms is only running a script to download and build the gem as rpm and its dependencies | ||
| [2010/02/25 16:43:07] @ Quit: ShiNboi: Quit: Verlassend | ||
| [2010/02/25 16:43:41] <whack> jbooth: it would be ideal if you could take a fedora 12 python srpm and build it for rhel and have it work without it trying to replace the system python, too | ||
| [2010/02/25 16:44:53] @ randybias is now known as randybias|away | ||
| [2010/02/25 16:44:57] <zahna> does the latest version of puppetd return an exit code of 0, even when it raises an error and skips the run? | ||
| [2010/02/25 16:44:58] @ randybias|away is now known as randybias | ||
| [2010/02/25 16:45:12] <zahna> 0.25.1 does | ||
| [2010/02/25 16:45:35] <zahna> it's made it very hard to loop | ||
| [2010/02/25 16:45:38] <jbooth> whack: It'd be ideal if the developer in question who needs a newer python for ONE line of code (their trinary operator implementation) would just use if then else. :-P | ||
| [2010/02/25 16:46:01] <whack> jbooth: true, but often my engineers need newer modules, or whatnot | ||
| [2010/02/25 16:47:06] <whack> and somteimes those modules are only available in 2.6 or beyond | ||
| [2010/02/25 16:47:17] <jbooth> True. It can happen. | ||
| [2010/02/25 16:47:37] <whack> though for now, I install python modules from tarballs instead of rpms | ||
| [2010/02/25 16:47:47] <whack> download the python package, python setup.py bdist, copy tarball somewhere. | ||
| [2010/02/25 16:47:57] <whack> installing is just tar -C / -zxf thing.tar.gz | ||
| [2010/02/25 16:48:13] <whack> which is crappy, but saves me wasting time with rpm specs for now | ||
| [2010/02/25 16:49:32] @ Quit: toi: Quit: Ex-Chat | ||
| [2010/02/25 16:49:38] @ Quit: Illusioneer: Remote host closed the connection | ||
| [2010/02/25 16:54:24] @ Quit: LinuxCode: Quit: Connection Closed | ||
| [2010/02/25 16:55:01] @ elijahwright joined channel #puppet | ||
| [2010/02/25 16:55:48] @ joe-mac joined channel #puppet | ||
| [2010/02/25 16:59:26] <jbooth> Why is my ruby book always in the wrong place? When I need it at work, it is at home... | ||
| [2010/02/25 16:59:30] @ Quit: ahasenack: Quit: Leaving | ||
| [2010/02/25 16:59:55] @ Quit: labrown: Quit: Leaving | ||
| [2010/02/25 17:00:19] @ Quit: dlowe: Quit: *poof* | ||
| [2010/02/25 17:05:02] @ RageLink joined channel #puppet | ||
| [2010/02/25 17:07:32] @ autowidget joined channel #puppet | ||
| [2010/02/25 17:07:43] @ Quit: showy: Quit: leaving | ||
| [2010/02/25 17:09:11] @ Quit: glebaron: Quit: Ex-Chat | ||
| [2010/02/25 17:09:33] @ Quit: autowidget: Read error: Connection reset by peer | ||
| [2010/02/25 17:09:37] @ autowidget joined channel #puppet | ||
| [2010/02/25 17:12:51] @ Quit: jimi_c-ph: Quit: probably got a phone call... | ||
| [2010/02/25 17:12:55] * eric0 bought paper copy then warezed a pdf of hummingbird book | ||
| [2010/02/25 17:14:11] @ Quit: paxos: Quit: paxos | ||
| [2010/02/25 17:15:07] @ Quit: rgsteele: Remote host closed the connection | ||
| [2010/02/25 17:16:21] @ OpenMedia joined channel #puppet | ||
| [2010/02/25 17:17:13] <dotNox> JD_: found the cause of the issue I had with ssh_authorized_key. as key I was providing an string with spaces ( just for teste ) and this caused regep in module to not match :) | ||
| [2010/02/25 17:18:00] <dotNox> now, does anyone know why augeas returns this: change from need_to_run to 0 failed: Save failed with return code false | ||
| [2010/02/25 17:20:21] @ Djelibeybi joined channel #puppet | ||
| [2010/02/25 17:21:03] @ Quit: ckauhaus: Quit: Leaving. | ||
| [2010/02/25 17:21:05] @ Quit: vermeer: Ping timeout: 265 seconds | ||
| [2010/02/25 17:22:47] @ autonomouswidget joined channel #puppet | ||
| [2010/02/25 17:24:58] @ tyler79 joined channel #puppet | ||
| [2010/02/25 17:26:31] @ Quit: autowidget: Ping timeout: 276 seconds | ||
| [2010/02/25 17:26:31] @ autonomouswidget is now known as autowidget | ||
| [2010/02/25 17:26:42] @ ckauhaus joined channel #puppet | ||
| [2010/02/25 17:28:10] @ Quit: TREllis: Quit: leaving | ||
| [2010/02/25 17:35:40] @ Quit: ninjazjb: Quit: Lost terminal | ||
| [2010/02/25 17:36:52] @ Quit: tjoe: Quit: Lost terminal | ||
| [2010/02/25 17:37:30] @ Quit: alfism: Quit: http://opensolaris.com/ | ||
| [2010/02/25 17:37:56] @ alfism joined channel #puppet | ||
| [2010/02/25 17:37:57] @ Mick27 joined channel #puppet | ||
| [2010/02/25 17:40:09] @ crdant joined channel #puppet | ||
| [2010/02/25 17:41:14] @ Quit: lak: Quit: lak | ||
| [2010/02/25 17:43:22] @ Quit: ckauhaus: Quit: Leaving. | ||
| [2010/02/25 17:44:20] @ jab_doa joined channel #puppet | ||
| [2010/02/25 17:50:26] @ Quit: joe-mac1: Quit: Leaving. | ||
| [2010/02/25 17:54:14] @ Quit: crdant: Quit: Leaving. | ||
| [2010/02/25 17:54:45] @ Pirate_Hunter joined channel #puppet | ||
| [2010/02/25 17:57:01] <tessier> So I'm back to trying to figure out how to get a file type to loop over an array and create a bunch of symlinks without my having to write a file stanza for each one... | ||
| [2010/02/25 17:57:09] <tessier> I could certain do so of course. It just doesn't seem right. | ||
| [2010/02/25 17:57:18] <tessier> I know puppet has some sort of simple array functionality so there has got to be a way... | ||
| [2010/02/25 17:57:52] <eric0> usually you do a define for those things, i'm doing it now for a ton of nfs mounts | ||
| [2010/02/25 17:58:13] @ Quit: cwebber: Quit: cwebber | ||
| [2010/02/25 17:58:20] <tessier> I have a define: http://pastebin.ca/1808991 | ||
| [2010/02/25 17:58:29] <tessier> But apparently it isn't set up correctly. | ||
| [2010/02/25 17:58:39] <tessier> From http://reductivelabs.com/trac/puppet/wiki/LanguageTutorial#arrays | ||
| [2010/02/25 17:59:56] @ cwebber joined channel #puppet | ||
| [2010/02/25 18:01:06] @ cwebber_ joined channel #puppet | ||
| [2010/02/25 18:01:36] @ Quit: cwebber: Read error: Connection reset by peer | ||
| [2010/02/25 18:01:36] @ cwebber_ is now known as cwebber | ||
| [2010/02/25 18:07:32] @ Quit: malraid: Quit: malraid | ||
| [2010/02/25 18:10:36] <whack> tessier: you want ensure => link, target => path | ||
| [2010/02/25 18:10:45] <whack> target => "/fo/bar/baz/$name" rather | ||
| [2010/02/25 18:12:50] @ Quit: Djelibeybi: Ping timeout: 256 seconds | ||
| [2010/02/25 18:16:11] @ Quit: cwebber: Quit: cwebber | ||
| [2010/02/25 18:18:21] <tessier> whack: Ah. Maybe I got outdated information somewhere. I read that if ensure => wasn't one of directory or file it was made a symlink. | ||
| [2010/02/25 18:18:22] * tessier tries it | ||
| [2010/02/25 18:18:51] @ cwebber joined channel #puppet | ||
| [2010/02/25 18:19:27] <tessier> Still no go: puppetd[6082]: Could not retrieve catalog: Syntax error at '/'; expected ']' at /etc/puppet/modules/munin/manifests/init.pp:86 | ||
| [2010/02/25 18:19:45] <whack> pastebin? | ||
| [2010/02/25 18:20:11] <whack> tessier: ensure => "/path/foo" worked before, don't know if it works currently (I use the syntax I gave you) | ||
| [2010/02/25 18:20:48] @ Djeli joined channel #puppet | ||
| [2010/02/25 18:20:50] <whack> it still works | ||
| [2010/02/25 18:21:49] <whack> it still works | ||
| [2010/02/25 18:21:53] <whack> erm, http://pastebin.com/Bpw7gd30 | ||
| [2010/02/25 18:21:54] @ Quit: ppickfor: Ping timeout: 256 seconds | ||
| [2010/02/25 18:22:16] @ crdant joined channel #puppet | ||
| [2010/02/25 18:22:26] <tessier> http://pastebin.ca/1810936 | ||
| [2010/02/25 18:22:29] <tessier> That's what I'm working with | ||
| [2010/02/25 18:22:32] <tessier> I noted line 86 | ||
| [2010/02/25 18:23:24] <whack> aah, you need to put resource names in quotes when you use them that way | ||
| [2010/02/25 18:23:40] <whack> Thing["stuff"], File["/blah"] | ||
| [2010/02/25 18:23:44] <tessier> ah, in the munin-node subscribe | ||
| [2010/02/25 18:23:57] <whack> yeah | ||
| [2010/02/25 18:24:09] <whack> FYI, you want to have your plugin symlinks notify Service["munin-node"] | ||
| [2010/02/25 18:24:14] <tessier> Why does the plugins array have to have { [ ]: } around it? | ||
| [2010/02/25 18:24:28] <whack> because you're saying "for all of these things" | ||
| [2010/02/25 18:24:39] <whack> I'll shwo you an example | ||
| [2010/02/25 18:25:30] <whack> http://pastebin.ca/1810944 | ||
| [2010/02/25 18:26:04] <tessier> Ah. I had forgotten that you can specify multiple file resources like that. | ||
| [2010/02/25 18:26:13] * tessier refactors a bunch of excess code | ||
| [2010/02/25 18:26:14] <whack> you can specify multiple of any resources like that | ||
| [2010/02/25 18:26:15] <whack> :) | ||
| [2010/02/25 18:26:18] <tessier> right | ||
| [2010/02/25 18:28:05] @ Quit: kaptk2: Quit: Leaving. | ||
| [2010/02/25 18:29:57] <eric0> anybody have a nice solution to auto-creating parent directories | ||
| [2010/02/25 18:30:12] <tessier> eric0: I've been wondering about that also. A mkdir -p sort of functionality. | ||
| [2010/02/25 18:30:18] <eric0> yeah | ||
| [2010/02/25 18:31:06] @ giskard joined channel #puppet | ||
| [2010/02/25 18:31:10] @ Quit: OpenMedia: Quit: Leaving. | ||
| [2010/02/25 18:31:44] <tessier> Awesome. Munin is being deployed successfully. whack: thanks! | ||
| [2010/02/25 18:31:46] <JuddJudd> ensure => parent | ||
| [2010/02/25 18:32:13] @ autonomouswidget joined channel #puppet | ||
| [2010/02/25 18:34:10] <JuddJudd> file{ [“/foo”, “/foo/bar”, “/foo/bar/baz”]: ensure => directory } | ||
| [2010/02/25 18:35:10] <Clint> you might want to use ASCII quotes | ||
| [2010/02/25 18:35:13] @ Quit: autowidget: Ping timeout: 268 seconds | ||
| [2010/02/25 18:35:13] @ autonomouswidget is now known as autowidget | ||
| [2010/02/25 18:35:18] <JuddJudd> sry! | ||
| [2010/02/25 18:35:19] <tessier> heh | ||
| [2010/02/25 18:35:28] <tessier> How on earth did you end up with "dumb quotes" in there? | ||
| [2010/02/25 18:35:45] <tessier> Did some fancy Windows IRC client do that for you? | ||
| [2010/02/25 18:35:56] <eric0> they are quite attractive quotation marks | ||
| [2010/02/25 18:36:15] <JuddJudd> copy/paste from http://projects.reductivelabs.com/issues/86 | ||
| [2010/02/25 18:36:23] <JuddJudd> on winxp | ||
| [2010/02/25 18:37:45] @ Quit: JuddJudd: Quit: Leaving | ||
| [2010/02/25 18:38:57] <tessier> test: file{“/some/very/deep/path” | ||
| [2010/02/25 18:38:59] <eric0> dont think that'll work in my define, i'm using the $name its passed to make a file resource and name the mount | ||
| [2010/02/25 18:39:18] <tessier> Wow, I copied that on Linux and it did the same thing. Must be the website or wiki or whatever rendering them that way. | ||
| [2010/02/25 18:43:05] @ Quit: bobbyz_: Ping timeout: 258 seconds | ||
| [2010/02/25 18:44:49] @ Quit: gebi: Ping timeout: 264 seconds | ||
| [2010/02/25 18:45:23] @ spacebatd joined channel #puppet | ||
| [2010/02/25 18:45:50] @ Quit: jbooth_: Quit: Lost terminal | ||
| [2010/02/25 18:45:56] <spacebatd> hi | ||
| [2010/02/25 18:46:08] @ Quit: giskard: Ping timeout: 246 seconds | ||
| [2010/02/25 18:46:16] @ Quit: Djeli: Ping timeout: 256 seconds | ||
| [2010/02/25 18:46:26] <tessier> spacebatd: Howdy | ||
| [2010/02/25 18:46:33] <spacebatd> I remember at LCA2007 hearing the author of puppet talk about his early experience writing it | ||
| [2010/02/25 18:46:52] <tessier> spacebatd: Hope he didn't swear too much at cfengine | ||
| [2010/02/25 18:47:00] <spacebatd> he said that he'd tried in perl but ran into difficulties | ||
| [2010/02/25 18:47:16] <spacebatd> and that after a short while learning ruby, it was a lot easier | ||
| [2010/02/25 18:47:30] * tessier is rather bummed that puppet is ruby and not python since he would hope to not have to learn a whole new language just to use puppet | ||
| [2010/02/25 18:47:41] <spacebatd> since then, I've wondered on and off about what in particular he found difficult to express in perl | ||
| [2010/02/25 18:47:48] <tessier> But I suspect I will have to eventually. I can just see needing a custom fact or type or something. | ||
| [2010/02/25 18:48:05] <tessier> spacebatd: Maybe he wasn't into executable line noise. | ||
| [2010/02/25 18:48:22] <tessier> I used to do only perl. 10 years ago. | ||
| [2010/02/25 18:48:39] <spacebatd> modern perl is a lot nicer | ||
| [2010/02/25 18:48:54] <spacebatd> line noise is a choice :) | ||
| [2010/02/25 18:48:56] <plathrop> tessier: We did quite a lot of very complex stuff before I had to write a custom fact. | ||
| [2010/02/25 18:49:37] <spacebatd> I'm not trying to diss ruby at all, I'll probably learn it sometime | ||
| [2010/02/25 18:49:37] <tessier> So I hear. I should probably learn some more of it. I have Conway's very excellent Higher Order Perl still unread on my bookshelf | ||
| [2010/02/25 18:49:43] @ Djeli joined channel #puppet | ||
| [2010/02/25 18:50:00] <tessier> plathrop: Cool. I am going to be relying on puppet heavily going forward. | ||
| [2010/02/25 18:50:02] <spacebatd> though I've been trending toward lisp rather than ruby | ||
| [2010/02/25 18:50:15] <tessier> spacebatd: Now there's a religious battle for ya... | ||
| [2010/02/25 18:50:20] <spacebatd> :) | ||
| [2010/02/25 18:50:35] <tessier> spacebatd: I rather like lisp but haven't really found the inspiration to seriously dive into it. | ||
| [2010/02/25 18:50:41] @ Quit: Bass10: Ping timeout: 246 seconds | ||
| [2010/02/25 18:50:46] <spacebatd> I was definitely put off by ruby's handling of numbers | ||
| [2010/02/25 18:50:58] <tessier> The Little Lisper was a good introduction to recursion though. Now I get it. | ||
| [2010/02/25 18:51:03] <tessier> I still don't grok the y combinator though. | ||
| [2010/02/25 18:51:14] <tessier> I'll have to read that section again someday. | ||
| [2010/02/25 18:51:16] <whack> spacebatd: handling how? | ||
| [2010/02/25 18:51:23] <tessier> I also have the Seasoned Scheme and Reasoned Schemer on my bookshelf unread. | ||
| [2010/02/25 18:51:25] <plathrop> List is teh awesome, but sadly you'll never be able to use it on the job | ||
| [2010/02/25 18:51:36] <tessier> plathrop: You can if you own the company. | ||
| [2010/02/25 18:51:37] <spacebatd> I think it was 40.87 * 100 | ||
| [2010/02/25 18:51:43] <spacebatd> ruby says 4087 | ||
| [2010/02/25 18:51:53] <tessier> Instead of 4087.00 ? | ||
| [2010/02/25 18:51:55] <whack> instead of? | ||
| [2010/02/25 18:51:58] <spacebatd> but its a value of 4087 that isn't equal to the literal 4087 | ||
| [2010/02/25 18:52:09] <tessier> oh, the binary floating point thing/ | ||
| [2010/02/25 18:52:10] <tessier> ? | ||
| [2010/02/25 18:52:11] <whack> that's probably ieee floating point problems | ||
| [2010/02/25 18:52:13] <spacebatd> most languages will give you 4086.9999999999 | ||
| [2010/02/25 18:52:17] <spacebatd> and not lie about it | ||
| [2010/02/25 18:52:29] <spacebatd> common lisp will give you 4087 exactly | ||
| [2010/02/25 18:52:39] <spacebatd> and it will be equal to 4087 the literal | ||
| [2010/02/25 18:53:38] <spacebatd> irb(main):001:0> 40.87 * 100 => 4087.0 irb(main):002:0> x = 40.87 * 100 => 4087.0 irb(main):003:0> x == 4087.0 => false | ||
| [2010/02/25 18:53:52] @ Av joined channel #puppet | ||
| [2010/02/25 18:53:59] <whack> Av: wtf. | ||
| [2010/02/25 18:54:05] <Av> whack: stfu | ||
| [2010/02/25 18:54:05] <whack> Av: err, hi. | ||
| [2010/02/25 18:54:06] <Av> :) | ||
| [2010/02/25 18:54:15] <tessier> whack: The keys are right next to each other | ||
| [2010/02/25 18:54:24] <whack> tessier: all too often! | ||
| [2010/02/25 18:54:26] <Av> i used to hang around in here a lot! my client didn't auto-join the last time i died :) | ||
| [2010/02/25 18:55:13] <Av> whack: now that i'm here.. do you know how to use Facter stuff in templates? I have a template for a file but I need to insert the IP address of the machine in a file.. any ideas? :) | ||
| [2010/02/25 18:55:29] <whack> any factor facts can just be used as variables | ||
| [2010/02/25 18:55:35] <whack> facter, rather. | ||
| [2010/02/25 18:55:48] <plathrop> Av: <%= ipaddress %> | ||
| [2010/02/25 18:55:50] <whack> so like, <%= ipaddress %> | ||
| [2010/02/25 18:55:50] <spacebatd> anyway, I know how to deal with floating point, but I don't want to add to the list of tricks how to pick my way around ruby not representing numbers truthully | ||
| [2010/02/25 18:56:07] <whack> spacebatd: *shrug* I've never once hit that problem | ||
| [2010/02/25 18:56:31] <whack> but if you're doing scientific programming, you would already be aware of binary representation problems and be using a math library that did accurate math | ||
| [2010/02/25 18:57:27] <spacebatd> its not a binary rep problem that any other language has | ||
| [2010/02/25 18:57:41] <whack> it's quite common | ||
| [2010/02/25 18:57:52] <whack> you mean representation when you print it? | ||
| [2010/02/25 18:58:05] <tessier> whack: He isn't talking about the ieee floating point problems which everyone has. | ||
| [2010/02/25 18:58:07] <spacebatd> I've never heard of another language that will print 4087.0 and its not equal to 4087.0 | ||
| [2010/02/25 18:58:20] <whack> probably ruby floats not having high precision | ||
| [2010/02/25 18:58:21] * whack shrugs | ||
| [2010/02/25 18:58:23] <tessier> whack: I think he means there arise situations where 4087 != 4087 | ||
| [2010/02/25 18:58:45] <tessier> Which could be quite difficult to debug. | ||
| [2010/02/25 18:58:45] <spacebatd> but no doubt it will be, or has been fixed :) | ||
| [2010/02/25 18:59:10] <whack> it's a view problem, not a data problem | ||
| [2010/02/25 18:59:11] <Av> nice thanks :) | ||
| [2010/02/25 18:59:29] <spacebatd> that's just whack | ||
| [2010/02/25 18:59:30] <spacebatd> hehe | ||
| [2010/02/25 18:59:32] <Av> lol | ||
| [2010/02/25 19:00:02] <spacebatd> anyways, I might have to delve bit more into puppet | ||
| [2010/02/25 19:00:17] <spacebatd> thanks for the chat | ||
| [2010/02/25 19:00:23] @ Quit: pheezy: Remote host closed the connection | ||
| [2010/02/25 19:00:28] @ Quit: spacebatd: Quit: Page closed | ||
| [2010/02/25 19:07:25] @ Quit: joe-mac: Ping timeout: 265 seconds | ||
| [2010/02/25 19:09:21] @ autonomouswidget joined channel #puppet | ||
| [2010/02/25 19:09:22] @ Quit: autowidget: Read error: Connection reset by peer | ||
| [2010/02/25 19:09:22] @ autonomouswidget is now known as autowidget | ||
| [2010/02/25 19:12:08] @ joe-mac joined channel #puppet | ||
| [2010/02/25 19:15:57] @ Quit: Djeli: Quit: Leaving | ||
| [2010/02/25 19:16:05] @ Quit: lilmatt: Quit: lilmatt | ||
| [2010/02/25 19:19:36] @ Quit: benkevan: Remote host closed the connection | ||
| [2010/02/25 19:20:45] <rodjek> so that's interesting, my puppetmasterd processes have decided to consume 6GB of memory each today | ||
| [2010/02/25 19:22:07] @ Quit: cwebber: Quit: cwebber | ||
| [2010/02/25 19:22:24] @ cwebber joined channel #puppet | ||
| [2010/02/25 19:22:42] <|Mike|> rodjek: with how many puppets attached? | ||
| [2010/02/25 19:23:00] <rodjek> |Mike|: 1 :) | ||
| [2010/02/25 19:23:17] <|Mike|> that's pretty weird rodjek | ||
| [2010/02/25 19:23:33] <Volcane> big files being copied? | ||
| [2010/02/25 19:23:58] @ Djelibeybi joined channel #puppet | ||
| [2010/02/25 19:24:14] <|Mike|> 6gb of ram for 1 puppet is pretty insane imho. | ||
| [2010/02/25 19:24:47] <rodjek> yeah | ||
| [2010/02/25 19:25:03] <rodjek> Volcane: no, it seems to fall over during the manifest compilation stage | ||
| [2010/02/25 19:25:43] <rodjek> the puppet doesn't even get to the "caching configuration <timestamp>" bit | ||
| [2010/02/25 19:25:57] <|Mike|> what version are you using ? | ||
| [2010/02/25 19:26:03] <|Mike|> puppet and puppetmaster. | ||
| [2010/02/25 19:26:39] <rodjek> 0.25.1 on both ends, but we've been running these versions for 9 months without issue | ||
| [2010/02/25 19:26:43] @ DrHouseMD is now known as HouseAway | ||
| [2010/02/25 19:27:28] @ Quit: cwebber: Quit: cwebber | ||
| [2010/02/25 19:28:59] <|Mike|> HouseAway: you should blog more ;) | ||
| [2010/02/25 19:31:36] <HouseAway> |Mike|: Pardon? | ||
| [2010/02/25 19:32:32] @ Quit: joe-mac: Ping timeout: 265 seconds | ||
| [2010/02/25 19:32:40] <|Mike|> Your last blog post was on Oct 29, 2009 | ||
| [2010/02/25 19:33:21] <raz> is there some smart trick to mirror an entire directory to certain clients? i'd love to on the fileserver to just create an "overlay tree" instead of marking up every individual file. | ||
| [2010/02/25 19:33:23] <rodjek> hmm, looks like it's just spinning on the sqlite db | ||
| [2010/02/25 19:33:29] <HouseAway> I'm busy with work. How do you know me? | ||
| [2010/02/25 19:33:33] <|Mike|> rodjek: using debian btw? | ||
| [2010/02/25 19:33:35] <|Mike|> HouseAway: /whois | ||
| [2010/02/25 19:33:36] <rodjek> yep | ||
| [2010/02/25 19:33:43] <HouseAway> obviously. and you are? | ||
| [2010/02/25 19:34:49] <|Mike|> rodjek: we had the same issue at work, you might want to talk with tim|imac about that issu. (there was something with the current version of ruby in lenny, and it was fixed in backports ) | ||
| [2010/02/25 19:35:03] <|Mike|> HouseAway: Mike :) | ||
| [2010/02/25 19:35:12] <rodjek> |Mike|: thanks | ||
| [2010/02/25 19:35:19] <HouseAway> lol, i knew that. but do i know you personally | ||
| [2010/02/25 19:35:26] <|Mike|> HouseAway: Probably not. | ||
| [2010/02/25 19:35:58] <HouseAway> ah | ||
| [2010/02/25 19:38:28] <HouseAway> do you work at my comapny? | ||
| [2010/02/25 19:39:26] <HouseAway> company* | ||
| [2010/02/25 19:39:51] <raz> is there a way to access variables that i declared in a node{} inside a template? | ||
| [2010/02/25 19:40:16] <raz> like, can i say something like node foo { $primary_ip = "1234" } and then refer to that in a template? | ||
| [2010/02/25 19:40:29] <Djelibeybi> raz: yes: <%= primary_ip %> | ||
| [2010/02/25 19:40:40] <raz> oh, that easy, cool :) | ||
| [2010/02/25 19:41:27] <|Mike|> HouseAway: not really, I work at Kumina | ||
| [2010/02/25 19:46:04] <raz> tim|imac: so i had a closer look at your pkg wrapper. is it really necessary to duplicate so much of the puppet internals there? i'm a bit wary of hardcoding stuff like /var/cache/puppet-removed-packages : | ||
| [2010/02/25 19:46:07] <raz> :\ | ||
| [2010/02/25 19:49:39] <|Mike|> raz: it's midnight here in NL, tim might be asleep at this time :) | ||
| [2010/02/25 19:49:45] <raz> ah okay | ||
| [2010/02/25 19:49:59] <raz> what a wimp, real hackers only wake up then! ;) | ||
| [2010/02/25 19:50:05] <|Mike|> (i'm pretty sure about the sleep part :P ) | ||
| [2010/02/25 19:51:12] <raz> 2am here ;) | ||
| [2010/02/25 19:53:00] @ Quit: autowidget: Quit: autowidget | ||
| [2010/02/25 19:55:03] <raz> is there perhaps some surefire way to have a class execute "first" or "before any package events trigger"? | ||
| [2010/02/25 19:55:15] <raz> i guess that could substitute the wrapper | ||
| [2010/02/25 19:58:42] @ Quit: jaredrhine: Ping timeout: 248 seconds | ||
| [2010/02/25 20:00:18] <raz> hmm that didn't work out | ||
| [2010/02/25 20:00:25] <raz> i set $primary_ip in my node {} | ||
| [2010/02/25 20:00:35] <raz> and used <%= primary_ip %> in the template | ||
| [2010/02/25 20:00:46] <raz> could not find vaue it says | ||
| [2010/02/25 20:00:54] <raz> value | ||
| [2010/02/25 20:01:19] <raz> could that be because my node actually inherits the class that finally contains the template stuff? | ||
| [2010/02/25 20:01:38] <Djelibeybi> raz: yes. You have scoping issues | ||
| [2010/02/25 20:01:43] @ Quit: crdant: Ping timeout: 265 seconds | ||
| [2010/02/25 20:01:43] <raz> i.e. node foo inherits bar { $primary_ip = "123" } | ||
| [2010/02/25 20:01:50] <raz> and "bar" is where the templating stuff happens | ||
| [2010/02/25 20:02:05] <raz> how do i get around that? | ||
| [2010/02/25 20:02:40] <kjetilho> make bar a class and use include bar instead | ||
| [2010/02/25 20:02:55] <raz> oh.. there goes my prettyness :( | ||
| [2010/02/25 20:03:13] <kjetilho> or use external node information to fetch the information | ||
| [2010/02/25 20:03:23] <raz> how does that latter one work? | ||
| [2010/02/25 20:04:10] <kjetilho> http://reductivelabs.com/trac/puppet/wiki/ExternalNodes | ||
| [2010/02/25 20:04:13] @ lak joined channel #puppet | ||
| [2010/02/25 20:05:39] @ sebas891 joined channel #puppet | ||
| [2010/02/25 20:05:49] <raz> ah ok that looks like even more work | ||
| [2010/02/25 20:05:54] * raz scratches head | ||
| [2010/02/25 20:12:38] @ Quit: londo: Ping timeout: 260 seconds | ||
| [2010/02/25 20:13:09] @ Quit: murkk: Quit: murkk | ||
| [2010/02/25 20:15:05] <rodjek> "err: undefined method `function_split' for #<Puppet::Parser::Scope:0x7f7c0d82aa38>" even more interesting | ||
| [2010/02/25 20:16:29] <tessier> Any way to control order of operations in puppet? I have a notify => Service["munin-node"] which seems to be getting called and trying to start the service before the config files etc are all in place. | ||
| [2010/02/25 20:18:54] <rodjek> tessier: before => and require =>? | ||
| [2010/02/25 20:19:36] @ Quit: swygue: Quit: Ex-Chat | ||
| [2010/02/25 20:22:34] <whack> tessier: you want to specify require, probably | ||
| [2010/02/25 20:23:01] <whack> for anything that needs order | ||
| [2010/02/25 20:24:33] <Djelibeybi> tessier: make the service{ "service-name": require => File["config"], } | ||
| [2010/02/25 20:24:44] @ Quit: randybias: Quit: Leaving... | ||
| [2010/02/25 20:27:17] @ londo joined channel #puppet | ||
| [2010/02/25 20:27:56] <tessier> rodjek, whack, Djelibeybi: Thanks | ||
| [2010/02/25 20:29:15] @ randybias joined channel #puppet | ||
| [2010/02/25 20:32:19] @ Quit: mqr: Quit: mqr | ||
| [2010/02/25 20:32:48] <raz> how often does a puppetd check for updates and how do i configure that? (can i force push new changes?) | ||
| [2010/02/25 20:33:14] <|Mike|> it doesn't automatic update | ||
| [2010/02/25 20:33:25] <|Mike|> or what do you mean by update? | ||
| [2010/02/25 20:33:36] <raz> well, when i make changes to the config (nodes.pp etc.) | ||
| [2010/02/25 20:33:39] <raz> when do the clients notice that? | ||
| [2010/02/25 20:34:00] <|Mike|> you might want to change /etc/default/puppet | ||
| [2010/02/25 20:34:18] <|Mike|> there is something with blablabla = 0 to blablabla = 30 | ||
| [2010/02/25 20:34:24] <|Mike|> so it runs every 30 minutes. | ||
| [2010/02/25 20:34:41] <|Mike|> raz: yes, see above | ||
| [2010/02/25 20:34:55] <raz> hmm in my default/puppet it only has option -w | ||
| [2010/02/25 20:35:09] <|Mike|> -w 0 yes | ||
| [2010/02/25 20:35:11] <Djelibeybi> raz: every 30 minutes, by default | ||
| [2010/02/25 20:35:16] <|Mike|> you might want to change it to -w 30 | ||
| [2010/02/25 20:35:25] <|Mike|> Djelibeybi: debian has -w 0 default | ||
| [2010/02/25 20:35:30] <raz> mine has -w 5 actually | ||
| [2010/02/25 20:35:53] <|Mike|> 5 min till next puppet check imho. | ||
| [2010/02/25 20:36:02] @ Quit: alfism: Quit: http://opensolaris.com/ | ||
| [2010/02/25 20:36:16] @ cliff-hm joined channel #puppet | ||
| [2010/02/25 20:36:19] @ Quit: bevans5446: Ping timeout: 245 seconds | ||
| [2010/02/25 20:36:20] <raz> ah okay | ||
| [2010/02/25 20:36:23] @ bevans5446 joined channel #puppet | ||
| [2010/02/25 20:36:34] <raz> can i safely start a manual puppet run without stopping the daemon first? | ||
| [2010/02/25 20:36:43] <|Mike|> yes | ||
| [2010/02/25 20:36:49] <|Mike|> it does create a lock when it runs. | ||
| [2010/02/25 20:36:53] <|Mike|> (on debian that is.) | ||
| [2010/02/25 20:37:10] <raz> good :) | ||
| [2010/02/25 20:39:17] <raz> hmm only problem | ||
| [2010/02/25 20:39:24] <raz> 5 minutes have long passed and it didn't run again | ||
| [2010/02/25 20:40:00] @ Quit: Djelibeybi: Quit: Leaving | ||
| [2010/02/25 20:40:28] <raz> ah n/m, there it goes | ||
| [2010/02/25 20:41:31] @ Quit: lak: Quit: lak | ||
| [2010/02/25 20:42:09] @ Quit: Mick27: Quit: This computer has gone to sleep | ||
| [2010/02/25 20:46:48] @ Djelibeybi joined channel #puppet | ||
| [2010/02/25 20:49:55] @ Quit: rcrowley: Quit: rcrowley | ||
| [2010/02/25 20:50:10] @ rcrowley joined channel #puppet | ||
| [2010/02/25 20:50:43] @ giskard joined channel #puppet | ||
| [2010/02/25 20:50:49] @ Quit: bevans5446: Ping timeout: 260 seconds | ||
| [2010/02/25 20:51:25] @ Quit: nexx: Quit: quit | ||
| [2010/02/25 20:51:53] @ rcrowley_ joined channel #puppet | ||
| [2010/02/25 20:51:55] @ Quit: rcrowley: Read error: Connection reset by peer | ||
| [2010/02/25 20:51:55] @ rcrowley_ is now known as rcrowley | ||
| [2010/02/25 20:55:09] @ Quit: rcrowley: Read error: Operation timed out | ||
| [2010/02/25 20:55:19] @ rcrowley joined channel #puppet | ||
| [2010/02/25 20:55:31] @ Quit: rcrowley: Client Quit | ||
| [2010/02/25 20:56:44] @ Quit: randybias: Quit: randybias | ||
| [2010/02/25 20:57:02] @ bevans5446 joined channel #puppet | ||
| [2010/02/25 20:58:05] <raz> hmm how users are normally enforced? | ||
| [2010/02/25 20:58:13] <raz> just including a class with a user{} block doesn't seem to do it | ||
| [2010/02/25 20:58:48] <raz> n/m, worked | ||
| [2010/02/25 20:59:52] @ Quit: giskard: Remote host closed the connection | ||
| [2010/02/25 21:02:34] @ Quit: \ask: Ping timeout: 245 seconds | ||
| [2010/02/25 21:03:42] @ Quit: jheiss: Quit: jheiss | ||
| [2010/02/25 21:03:51] @ rellis joined channel #puppet | ||
| [2010/02/25 21:03:55] @ Quit: rellis: Changing host | ||
| [2010/02/25 21:03:55] @ rellis joined channel #puppet | ||
| [2010/02/25 21:04:11] @ jheiss joined channel #puppet | ||
| [2010/02/25 21:04:20] @ Quit: rellis: Remote host closed the connection | ||
| [2010/02/25 21:05:01] @ rellis joined channel #puppet | ||
| [2010/02/25 21:05:21] @ Quit: Alagar: Read error: Connection reset by peer | ||
| [2010/02/25 21:07:15] @ Quit: jheiss: Client Quit | ||
| [2010/02/25 21:07:36] @ jheiss joined channel #puppet | ||
| [2010/02/25 21:09:23] @ jaredrhine joined channel #puppet | ||
| [2010/02/25 21:09:30] @ alexine_dsouza joined channel #puppet | ||
| [2010/02/25 21:11:21] @ Quit: Djelibeybi: Ping timeout: 260 seconds | ||
| [2010/02/25 21:11:38] @ joe-mac joined channel #puppet | ||
| [2010/02/25 21:13:20] <RageLink> anybody knows what this means? err: Could not parse for environment production: All resource specifications require names; expected '%s' at puppet/modules/vzhwnode/manifests/init.pp:44 | ||
| [2010/02/25 21:13:46] <joe-mac> RageLink: pastie.org the code it's talking about | ||
| [2010/02/25 21:14:07] <RageLink> sure will | ||
| [2010/02/25 21:14:39] <tessier> Ok, puppet syntax is rather frustrating. | ||
| [2010/02/25 21:14:52] <RageLink> joe-mac: http://pastie.org/843533 | ||
| [2010/02/25 21:15:06] <RageLink> the line its talking about is the end "}" bracket | ||
| [2010/02/25 21:15:15] <tessier> http://pastebin.ca/1811148 What is wrong with this? I keep getting Could not retrieve catalog: Syntax error at 'else'; expected '}' at /etc/puppet/modules/munin/manifests/init.pp:102 | ||
| [2010/02/25 21:15:26] <joe-mac> yea you need to name vzdirs | ||
| [2010/02/25 21:15:33] <RageLink> ? | ||
| [2010/02/25 21:15:42] <RageLink> name as in how | ||
| [2010/02/25 21:15:55] <joe-mac> every resource needs a name, and you haven't given one. so the syntax is resource_type { "resource_name": parameter => "value" } | ||
| [2010/02/25 21:16:06] <RageLink> ahh | ||
| [2010/02/25 21:16:07] <joe-mac> at vzdirs you skip the "name": part | ||
| [2010/02/25 21:16:42] @ plathrop is now known as plathrop-away | ||
| [2010/02/25 21:17:08] <RageLink> so something like this define vzdirs (dirs: $create_root, $subdir, $file_list) { | ||
| [2010/02/25 21:17:14] <RageLink> right? | ||
| [2010/02/25 21:17:38] <joe-mac> no | ||
| [2010/02/25 21:18:04] <RageLink> :( | ||
| [2010/02/25 21:22:15] @ Quit: joe-mac: Ping timeout: 265 seconds | ||
| [2010/02/25 21:22:36] <eric0> does puppet automatically make parent resources of Files for their directory ancestors? and if so can i influence ensure on those ...? i thought i would be clever and make parent directories in my define but i got err: Could not run Puppet configuration client: Cannot alias File[dir-/nas/f156a/vol1-parent] to /nas/f156a; resource File[/nas/f156a] already exists | ||
| [2010/02/25 21:22:59] @ Quit: mikerowehl: Quit: mikerowehl | ||
| [2010/02/25 21:31:36] @ Bass10 joined channel #puppet | ||
| [2010/02/25 21:35:38] <proton> eric0: there's an autorequire if they're defined as puppet resources already | ||
| [2010/02/25 21:37:34] <tessier> I had an extra : that is why my else was not working. | ||
| [2010/02/25 21:37:50] <tessier> Would help if the puppet mode for emacs were a little smarter too. | ||
| [2010/02/25 21:50:37] @ crdant joined channel #puppet | ||
| [2010/02/25 21:59:24] @ Quit: Demosthenes: Ping timeout: 252 seconds | ||
| [2010/02/25 22:00:03] <eric0> proton: that's the thing, i needed a way to programmatically make them, but it looks like they're already made. i just can't figure out how to set a default ensure=>directory on them. tracing... | ||
| [2010/02/25 22:03:42] @ Quit: n0ts: Quit: Tiarra 0.1+svn-35634: SIGTERM received; exit | ||
| [2010/02/25 22:04:00] @ n0ts joined channel #puppet | ||
| [2010/02/25 22:05:45] @ Demosthenes joined channel #puppet | ||
| [2010/02/25 22:11:17] @ \ask joined channel #puppet | ||
| [2010/02/25 22:14:21] @ autowidget joined channel #puppet | ||
| [2010/02/25 22:20:17] @ Quit: autowidget: Quit: autowidget | ||
| [2010/02/25 22:21:01] @ Quit: Disconnect: Read error: Connection reset by peer | ||
| [2010/02/25 22:23:27] @ ppickfor joined channel #puppet | ||
| [2010/02/25 22:24:40] @ Disconnect joined channel #puppet | ||
| [2010/02/25 22:26:52] @ ppickfor1 joined channel #puppet | ||
| [2010/02/25 22:26:52] @ Quit: ppickfor: Read error: Connection reset by peer | ||
| [2010/02/25 22:26:54] @ ppickfor1 is now known as ppickfor | ||
| [2010/02/25 22:27:51] <axisys> facter does not differentiate between different releases of solaris .. solaris 10 u8 and solaris 10 u7 are same .. any hint on upgrading the facter to look at the /etc/release on solaris ? i never pushed a updated facter using puppet master .. any suggestion would be appreciated.. | ||
| [2010/02/25 22:31:05] <axisys> facter does read /etc/solaris to determine solaris version .. need to push the updated facter to pick up the 5/08 as well for example from "Solaris 10 5/08 s10s_u5wos_10 SPARC" | ||
| [2010/02/25 22:31:37] @ Quit: ppickfor: Ping timeout: 260 seconds | ||
| [2010/02/25 22:31:49] <axisys> some solaris pkgs need to be removed from sol 10 5/08 or above .. but not from lower sol 10 | ||
| [2010/02/25 22:38:12] @ Quit: p3rror: Read error: Operation timed out | ||
| [2010/02/25 22:48:07] @ tonyskapunk joined channel #puppet | ||
| [2010/02/25 22:50:52] @ maxagaz joined channel #puppet | ||
| [2010/02/25 23:00:54] @ Quit: stephbul: Ping timeout: 245 seconds | ||
| [2010/02/25 23:04:30] @ Quit: crdant: Remote host closed the connection | ||
| [2010/02/25 23:07:47] @ crdant joined channel #puppet | ||
| [2010/02/25 23:11:34] @ eventi___ joined channel #puppet | ||
| [2010/02/25 23:11:41] @ eventi___ is now known as eventi | ||
| [2010/02/25 23:13:31] @ Quit: crdant: Remote host closed the connection | ||
| [2010/02/25 23:23:20] @ Quit: \ask: Ping timeout: 246 seconds | ||
| [2010/02/25 23:23:21] @ Quit: jab_doa: Quit: Verlassend | ||
| [2010/02/25 23:27:54] @ Quit: Bass10: Ping timeout: 256 seconds | ||
| [2010/02/25 23:37:14] @ nb is now known as i | ||
| [2010/02/25 23:37:24] @ i is now known as nb | ||
| [2010/02/25 23:38:36] @ sebas891 left channel #puppet () | ||
| [2010/02/25 23:57:28] @ swygue joined channel #puppet |
Generated by irclog2html.py 2.9.2 by Marius Gedminas - find it at mg.pov.lt!