| [2009/04/27 00:04:24] @ Log started by gepetto | ||
| [2009/04/27 00:04:24] @ nakano is now known as nakano_ | ||
| [2009/04/27 00:13:26] @ Quit: d3vilb0x: | ||
| [2009/04/27 00:29:29] @ Quit: fujin: | ||
| [2009/04/27 00:33:04] @ Quit: ericrw: | ||
| [2009/04/27 00:33:23] @ fujin joined channel #puppet | ||
| [2009/04/27 00:43:05] @ nakano_ is now known as nakano | ||
| [2009/04/27 00:47:15] @ Quit: fujin: | ||
| [2009/04/27 00:49:02] @ fujin joined channel #puppet | ||
| [2009/04/27 00:52:28] @ Quit: cwebber: | ||
| [2009/04/27 00:54:32] @ Quit: fujin: | ||
| [2009/04/27 00:56:02] @ tmz_ joined channel #puppet | ||
| [2009/04/27 00:56:28] @ fujin joined channel #puppet | ||
| [2009/04/27 00:56:35] @ WALoeIII joined channel #puppet | ||
| [2009/04/27 00:57:47] @ tmz_ is now known as tmz | ||
| [2009/04/27 01:01:00] @ Quit: fujin: Client Quit | ||
| [2009/04/27 01:04:41] @ fujin joined channel #puppet | ||
| [2009/04/27 01:06:27] @ Quit: fujin: Client Quit | ||
| [2009/04/27 01:10:22] @ Quit: WALoeIII: "Bai." | ||
| [2009/04/27 01:14:12] @ ohadlevy joined channel #puppet | ||
| [2009/04/27 01:27:07] @ madrescher joined channel #puppet | ||
| [2009/04/27 01:34:26] @ randybias is now known as randybias|away | ||
| [2009/04/27 01:38:32] @ Quit: mizzy: Read error: 110 (Connection timed out) | ||
| [2009/04/27 01:45:31] @ randybias|away is now known as randybias | ||
| [2009/04/27 01:47:22] @ pugnacity joined channel #puppet | ||
| [2009/04/27 01:56:15] @ Quit: kingitchy: Read error: 110 (Connection timed out) | ||
| [2009/04/27 01:59:26] @ pleemans joined channel #puppet | ||
| [2009/04/27 02:02:37] @ mizzy joined channel #puppet | ||
| [2009/04/27 02:20:56] @ ericrw joined channel #puppet | ||
| [2009/04/27 02:22:20] @ kibahop joined channel #puppet | ||
| [2009/04/27 02:29:14] @ Quit: kolla: Remote closed the connection | ||
| [2009/04/27 02:30:46] @ Quit: ezmob: "Bye!" | ||
| [2009/04/27 02:40:49] @ eythian joined channel #puppet | ||
| [2009/04/27 02:41:29] <eythian> How do I add more than one thing to File's 'ignore' attribute? Just chuck them in an array? The docs don't say. | ||
| [2009/04/27 02:44:43] <ohadlevy> i think you can specify it mulitple times | ||
| [2009/04/27 02:44:51] <ohadlevy> ignore => ".snapshot", ignore => "share".. | ||
| [2009/04/27 02:45:08] <ohadlevy> maybe an array works as well | ||
| [2009/04/27 02:47:34] @ Quit: randybias: Read error: 110 (Connection timed out) | ||
| [2009/04/27 02:48:44] @ Quit: ericrw: | ||
| [2009/04/27 02:52:51] @ Quit: yarihm: "Leaving" | ||
| [2009/04/27 03:00:55] @ Deesl joined channel #puppet | ||
| [2009/04/27 03:01:49] @ stijnbe joined channel #puppet | ||
| [2009/04/27 03:02:27] @ Quit: Djelibeybi: "Leaving" | ||
| [2009/04/27 03:08:39] @ MarlondB joined channel #puppet | ||
| [2009/04/27 03:09:52] @ Innocenti joined channel #puppet | ||
| [2009/04/27 03:14:40] @ fdz joined channel #puppet | ||
| [2009/04/27 03:18:26] @ aymerick joined channel #puppet | ||
| [2009/04/27 03:26:32] @ randybias joined channel #puppet | ||
| [2009/04/27 03:27:39] @ chiggsy joined channel #puppet | ||
| [2009/04/27 03:29:21] <f3ew> #1010 | ||
| [2009/04/27 03:29:23] <gepetto> f3ew: #1010 is http://projects.reductivelabs.com/issues/show/1010 "Puppet - Bug #1010: puppet/puppetmaster randomly corrupts file{} resources, seemingly after leaking RAM for some time - ReductiveLabs.com" | ||
| [2009/04/27 03:29:38] * f3ew looks for jamesturnbull | ||
| [2009/04/27 03:33:57] @ mattock joined channel #puppet | ||
| [2009/04/27 03:34:19] @ DavidS joined channel #puppet | ||
| [2009/04/27 03:35:15] @ Quit: chiggsy: | ||
| [2009/04/27 03:41:35] @ DerekW joined channel #puppet | ||
| [2009/04/27 03:45:53] @ HarryCalahan joined channel #puppet | ||
| [2009/04/27 03:46:01] @ Quit: MarlondB: | ||
| [2009/04/27 03:48:31] @ randybias is now known as randybias|away | ||
| [2009/04/27 03:49:10] @ randybias|away is now known as randybias | ||
| [2009/04/27 03:51:14] @ lak joined channel #puppet | ||
| [2009/04/27 03:52:07] @ niczar1 joined channel #puppet | ||
| [2009/04/27 03:57:11] @ fbe joined channel #puppet | ||
| [2009/04/27 04:05:18] @ glaw joined channel #puppet | ||
| [2009/04/27 04:09:11] @ degr8hunt joined channel #puppet | ||
| [2009/04/27 04:13:40] @ randybias is now known as randybias|away | ||
| [2009/04/27 04:17:45] @ Quit: niczar1: Remote closed the connection | ||
| [2009/04/27 04:21:02] @ kolla joined channel #puppet | ||
| [2009/04/27 04:23:39] @ Quit: stijnbe: Client Quit | ||
| [2009/04/27 04:31:25] @ Quit: lak: | ||
| [2009/04/27 04:32:51] @ niczar1 joined channel #puppet | ||
| [2009/04/27 04:36:14] @ Quit: ghenry: Read error: 110 (Connection timed out) | ||
| [2009/04/27 04:36:30] @ niczar1 is now known as nicZa1 | ||
| [2009/04/27 04:36:38] @ nicZa1 is now known as nicZar` | ||
| [2009/04/27 04:36:44] @ ghenry joined channel #puppet | ||
| [2009/04/27 04:39:59] @ Quit: andrewcshafer: | ||
| [2009/04/27 04:43:50] @ PsychoSid joined channel #puppet | ||
| [2009/04/27 04:44:18] @ Quit: mikepea: | ||
| [2009/04/27 04:48:10] @ friendly12345 joined channel #puppet | ||
| [2009/04/27 04:53:55] @ Quit: goacid: Remote closed the connection | ||
| [2009/04/27 04:55:21] @ lak joined channel #puppet | ||
| [2009/04/27 04:58:54] @ mikepea joined channel #puppet | ||
| [2009/04/27 05:12:20] @ Quit: mikepea: | ||
| [2009/04/27 05:17:29] @ MattyM joined channel #puppet | ||
| [2009/04/27 05:20:37] @ nakano is now known as nakano_ | ||
| [2009/04/27 05:24:26] @ Quit: lak: Read error: 113 (No route to host) | ||
| [2009/04/27 05:39:22] @ ohadlevy left channel #puppet () | ||
| [2009/04/27 05:53:10] @ mikepea joined channel #puppet | ||
| [2009/04/27 06:06:46] @ masterzen joined channel #puppet | ||
| [2009/04/27 06:10:08] * monachus is in limbo. | ||
| [2009/04/27 06:12:16] @ ethan_rowe joined channel #puppet | ||
| [2009/04/27 06:12:52] @ verwilst joined channel #puppet | ||
| [2009/04/27 06:16:23] @ melopt joined channel #puppet | ||
| [2009/04/27 06:16:34] @ mattock left channel #puppet () | ||
| [2009/04/27 06:21:52] @ erm_ joined channel #puppet | ||
| [2009/04/27 06:23:03] @ d3vilb0x joined channel #puppet | ||
| [2009/04/27 06:29:26] <HarryCalahan> scary... | ||
| [2009/04/27 06:30:22] <HarryCalahan> i have a mountpoint on my systems /nfs.images. It's mounted on most old systems. On new systems its /images (and nfs.images is a symlink for legacy apps). | ||
| [2009/04/27 06:30:26] @ Quit: maxagaz: Remote closed the connection | ||
| [2009/04/27 06:30:53] <HarryCalahan> now i started a puppet manifest that will create /images, mount it and ensure that /nfs.images is a symlink. | ||
| [2009/04/27 06:31:06] <HarryCalahan> manifests starts and begins to backup everything inside of /nfs.images | ||
| [2009/04/27 06:31:11] <HarryCalahan> (2TB of data) | ||
| [2009/04/27 06:31:53] <Volcane> heh | ||
| [2009/04/27 06:33:37] <HarryCalahan> if i now specify file { "/nfs.images": backup => false, ensure => "/images" } it will at least not backup, but will it start to delete files? will it unmount? | ||
| [2009/04/27 06:34:06] <Volcane> test on a dev system is all I'll say :) | ||
| [2009/04/27 06:37:38] @ briandquinn joined channel #puppet | ||
| [2009/04/27 06:38:18] <mikepea> are any of you coming to the meet tonight? | ||
| [2009/04/27 06:38:31] <jenza> Where is it? | ||
| [2009/04/27 06:38:37] <mikepea> s/meet/London Meet/ | ||
| [2009/04/27 06:38:42] <HarryCalahan> guess i need to add another resource that makes sure that /nfs.images is unmounted | ||
| [2009/04/27 06:38:49] <jenza> Hmmm tempted | ||
| [2009/04/27 06:39:02] * Volcane 's going | ||
| [2009/04/27 06:39:07] <jenza> details in the usergroup? | ||
| [2009/04/27 06:39:36] <mikepea> yeah, in the mailing list. | ||
| [2009/04/27 06:40:27] <mikepea> Meet in the Bree Louise near Euston | ||
| [2009/04/27 06:40:27] <mikepea> http://www.beerintheevening.com/pubs/s/40/4034/Bree_Louise/Euston for | ||
| [2009/04/27 06:40:28] <mikepea> some real ale from around 18:30 | ||
| [2009/04/27 06:40:43] <mikepea> i think lak is going to be there too. | ||
| [2009/04/27 06:41:20] <fruitcake> mikepea: where's it at? | ||
| [2009/04/27 06:41:30] <fruitcake> right | ||
| [2009/04/27 06:41:31] <fruitcake> ok | ||
| [2009/04/27 06:41:35] <fruitcake> sorry (was reading back) | ||
| [2009/04/27 06:44:14] <HarryCalahan> can i somehow ensure that a directory is empty? | ||
| [2009/04/27 06:45:34] @ Quit: nicZar`: Remote closed the connection | ||
| [2009/04/27 06:45:49] <jenza> Hmm that's not too far away | ||
| [2009/04/27 06:46:19] <HarryCalahan> jenza: define far ;) | ||
| [2009/04/27 06:46:49] <jenza> 30 minutes up the Picadilly far. | ||
| [2009/04/27 06:47:03] <mikepea> HarryCalahan: try the purge directive... | ||
| [2009/04/27 06:47:22] <mikepea> (on the file type) | ||
| [2009/04/27 06:47:37] <Volcane> HarryCalahan: recursive copy an empty dir onto it, purge it, force it | ||
| [2009/04/27 06:47:42] <Volcane> that'll delete all files | ||
| [2009/04/27 06:47:59] <HarryCalahan> no. i just want to check if directory is empty. otherwise fail. | ||
| [2009/04/27 06:48:24] <HarryCalahan> safety check to avoid the mentioned 2TB ;) | ||
| [2009/04/27 06:48:35] <HarryCalahan> i guess i will write an exec and depend on that | ||
| [2009/04/27 06:48:48] <Volcane> prolly cant, frankly, this kind of work you really should go do carefully by hand :P | ||
| [2009/04/27 06:49:18] <HarryCalahan> that's the fail ;) if it is not there, create a symlink otherwise fail and let someone resolve it by hand | ||
| [2009/04/27 06:49:45] <Volcane> cos its like, one-off type work etc, not what puppets for, this is why people use func/cap/etc along with puppet | ||
| [2009/04/27 06:50:58] <f3ew> ?func | ||
| [2009/04/27 06:51:32] <HarryCalahan> https://fedorahosted.org/func/ | ||
| [2009/04/27 06:52:19] * Volcane really wants something that can use the puppet dsl for one-off stuff easily, but need to find a willing coder | ||
| [2009/04/27 06:53:39] <DavidS> HarryCalahan: yes you have, and use --noop to see what happens without touching the system | ||
| [2009/04/27 06:53:55] <DavidS> ugh . | ||
| [2009/04/27 06:54:05] <DavidS> HarryCalahan: use --noop to see what happens without touching the system | ||
| [2009/04/27 06:54:52] <f3ew> We are having a wierd issue with 0.24.7 not able to find the server specified on the command line | ||
| [2009/04/27 06:54:57] <HarryCalahan> http://pastie.org/459518 | ||
| [2009/04/27 06:55:00] <DavidS> Volcane: you always can call puppet (no -d) on a manifest | ||
| [2009/04/27 06:55:34] <Volcane> DavidS: sure, i want though the puppetd client to check in with the master, get its manifests, set facts, node variables, external node variables etc, and then only run the class i specified not the whole thing | ||
| [2009/04/27 06:55:45] <DavidS> tags? | ||
| [2009/04/27 06:55:59] <Volcane> no, cos that implies those classes are included in general runs | ||
| [2009/04/27 06:56:03] <jamesturnbull> f3ew: what are you lookng at me for? :) | ||
| [2009/04/27 06:56:04] <HarryCalahan> works. first unmounting. doing no backup. then fails to rename/mode nfs.images because it is not empty | ||
| [2009/04/27 06:56:13] <f3ew> We are having a wierd issue with 0.24.7 not able to find the server specified on the command line <=== @ jamesturnbull | ||
| [2009/04/27 06:56:21] <f3ew> Also, the error in #948 | ||
| [2009/04/27 06:56:22] <gepetto> f3ew: Also: #948 is http://projects.reductivelabs.com/issues/show/948 "Puppet - Bug #948: err: Could not create root: undefined method `groups' for #<Puppet::Type::User:0xb77e3ef4> - ReductiveLabs.com" | ||
| [2009/04/27 06:56:35] <f3ew> Except that we aren't doing anything custom | ||
| [2009/04/27 06:56:41] <Volcane> davids: i literally want one-off thigns, written in the DSL with full access to node classifier variables etc, but they shouldnt be included in normal runs | ||
| [2009/04/27 06:57:30] <jamesturnbull> f3ew: weird - okay on the first do you have logs and traces? | ||
| [2009/04/27 06:58:11] <f3ew> jamesturnbull, Puppet appears to do nothing in the first case | ||
| [2009/04/27 06:58:56] @ Quit: madrescher: Read error: 110 (Connection timed out) | ||
| [2009/04/27 06:59:10] <jamesturnbull> f3ew: and 948? weird - that was fixed ... in hmmm 0.24.1 I think | ||
| [2009/04/27 06:59:33] <HarryCalahan> me is having the same issue (client not finding master) with 0.24.8 | ||
| [2009/04/27 07:00:07] <HarryCalahan> err: Connection timeout calling fileserver.describe: execution expired | ||
| [2009/04/27 07:00:10] * f3ew shells into a box | ||
| [2009/04/27 07:02:11] @ Quit: erm_: Read error: 60 (Operation timed out) | ||
| [2009/04/27 07:02:50] <jamesturnbull> f3ew: okay ... what platform is this? how is puppet installed? | ||
| [2009/04/27 07:03:16] <jamesturnbull> HarryCalahan: can you pastie a full --debug --trace run of that please? | ||
| [2009/04/27 07:03:48] <f3ew> RHEL 4.4, x86_64, RPM | ||
| [2009/04/27 07:04:01] <ChoHag> Is there a function/plugin/module/whatever which can change a line in a file, leaving others intact? | ||
| [2009/04/27 07:04:06] <ChoHag> Without resorting to exec | ||
| [2009/04/27 07:04:56] <jamesturnbull> ChoHag: well there is the augeas type for those files with a lens | ||
| [2009/04/27 07:05:21] <jamesturnbull> ChoHag: or there is a crufty define that does line edits..... it's somewhere in the Recipes namespace on the wiki | ||
| [2009/04/27 07:05:50] <HarryCalahan> jamesturnbull: will first check the network if something is fishy there | ||
| [2009/04/27 07:06:04] <jamesturnbull> HarryCalahan: that's a good idea | ||
| [2009/04/27 07:06:30] <f3ew> I can get things to work by editing defaults.rb | ||
| [2009/04/27 07:06:40] <jamesturnbull> f3ew: and these are EPEL RPMs? | ||
| [2009/04/27 07:06:45] <f3ew> no | ||
| [2009/04/27 07:06:59] <jamesturnbull> f3ew: what change to defaults.rb? | ||
| [2009/04/27 07:07:38] <f3ew> s/puppet/puppet.directi.com/ on the server line | ||
| [2009/04/27 07:07:41] <f3ew> for puppetd | ||
| [2009/04/27 07:07:49] <f3ew> This is a recompiled F11 SRPM | ||
| [2009/04/27 07:10:49] <HarryCalahan> strange. if i floodping the ip of the puppetmaster it works. if i floodping the cname it takes AGES between every package. | ||
| [2009/04/27 07:10:55] <f3ew> Line 397 | ||
| [2009/04/27 07:11:03] <HarryCalahan> (not puppetrelated.) | ||
| [2009/04/27 07:11:50] @ niczar1 joined channel #puppet | ||
| [2009/04/27 07:11:55] <jamesturnbull> f3ew: I am thinking this is something underlying to do with RHEL 4.4 and resolution | ||
| [2009/04/27 07:12:38] @ niczar1 is now known as nicZar` | ||
| [2009/04/27 07:12:40] <f3ew> jamesturnbull, why so? | ||
| [2009/04/27 07:13:08] <f3ew> If I edit the file and put in the FQDN for the puppet host, it works | ||
| [2009/04/27 07:13:16] <f3ew> If I leave it to puppet, it fails | ||
| [2009/04/27 07:13:20] <jamesturnbull> f3ew: well I don't see this issue on RHEL5 | ||
| [2009/04/27 07:13:32] <realist> Checked your resolv.conf search path? | ||
| [2009/04/27 07:13:32] <jamesturnbull> f3ew: what ruby version does 4.4 run? | ||
| [2009/04/27 07:13:54] <f3ew> rpm -q ruby | ||
| [2009/04/27 07:13:54] <f3ew> ruby-1.8.6.111-1 | ||
| [2009/04/27 07:14:22] * HarryCalahan found his problem. ping resolves dns on every packet and is not caching the dns request | ||
| [2009/04/27 07:14:27] <realist> Also, nscd = flaky badness. | ||
| [2009/04/27 07:14:39] <SyTonnerre> Ewwww nscd | ||
| [2009/04/27 07:14:39] <kolla> indeed | ||
| [2009/04/27 07:14:42] <HarryCalahan> and it looks like my dns server is also not caching the record | ||
| [2009/04/27 07:15:15] <kolla> nscd very often doesnt behave | ||
| [2009/04/27 07:15:27] * Volcane 's got RH4.6 machines thats fine, been a while since 4.4 though not sure | ||
| [2009/04/27 07:15:37] <SyTonnerre> I've had funny situations where the entire users were unavailable whenever nscd was started | ||
| [2009/04/27 07:15:55] <Volcane> nscd must die yeah | ||
| [2009/04/27 07:17:06] @ Quit: PsychoSid: Read error: 104 (Connection reset by peer) | ||
| [2009/04/27 07:17:07] @ Quit: DerekW: Read error: 104 (Connection reset by peer) | ||
| [2009/04/27 07:17:54] @ DerekW joined channel #puppet | ||
| [2009/04/27 07:18:30] <jamesturnbull> f3ew: what happens if you hardcode puppet to FQDN in /etc/hosts? | ||
| [2009/04/27 07:19:03] @ PsychoSid joined channel #puppet | ||
| [2009/04/27 07:21:27] <HarryCalahan> upstream DNS server is not happy when it needs to return internal ips and it won't cache them at all. :( | ||
| [2009/04/27 07:21:58] @ nasrat joined channel #puppet | ||
| [2009/04/27 07:24:06] @ erm_ joined channel #puppet | ||
| [2009/04/27 07:25:46] <ChoHag> Can/does puppet send a warning if an exec command fails? | ||
| [2009/04/27 07:25:57] <Volcane> yes | ||
| [2009/04/27 07:27:03] <JD> ChoHag: where do you want the warning? | ||
| [2009/04/27 07:27:13] <ChoHag> Email most likely. | ||
| [2009/04/27 07:27:22] <JD> ChoHag: we use the tagmail reporting to show failed runs | ||
| [2009/04/27 07:27:49] <JD> you probably also want to make sure your exec displays output if there's an error | ||
| [2009/04/27 07:27:55] @ ericrw joined channel #puppet | ||
| [2009/04/27 07:34:05] <pastie> jamesturnbull: http://pastie.org/459522 by HarryCalahan. | ||
| [2009/04/27 07:35:04] <jamesturnbull> HarryCalahan: def. a network timeout | ||
| [2009/04/27 07:35:19] <f3ew> jamesturnbull appears to be in the same state | ||
| [2009/04/27 07:35:30] * f3ew returns with birthday cake | ||
| [2009/04/27 07:36:56] <nico> looks like reductivelabs.com experiments new kind of slowness | ||
| [2009/04/27 07:37:15] <phantez> err: Got an uncaught exception of type NameError: uninitialized constant Puppet::SimpleGraph::VertexWrapper::Set | ||
| [2009/04/27 07:37:18] <phantez> err: Got an uncaught exception of type NameError: uninitialized constant Puppet::SimpleGraph::Set | ||
| [2009/04/27 07:37:22] <phantez> on the master :( | ||
| [2009/04/27 07:37:54] <kolla> what's these days equivalent to aptitude on fedoras? | ||
| [2009/04/27 07:38:05] <jamesturnbull> phantez: yeah that one is being fixed - it's logged | ||
| [2009/04/27 07:38:05] <f3ew> yum | ||
| [2009/04/27 07:38:26] <SyTonnerre> kolla, if you want a gui, go for some packagekit frontend | ||
| [2009/04/27 07:38:27] <kolla> I mean something that you can expect to already be installed on fresh install | ||
| [2009/04/27 07:38:30] <jamesturnbull> phantez: actually let me see if I can't fix that now | ||
| [2009/04/27 07:38:32] <kolla> no, not gui | ||
| [2009/04/27 07:38:34] <SyTonnerre> kolla, that's yum then | ||
| [2009/04/27 07:39:34] <jamesturnbull> phantez: is that latest HEAD? | ||
| [2009/04/27 07:39:54] <phantez> reductive lab git repo yes | ||
| [2009/04/27 07:39:59] <phantez> not the github one | ||
| [2009/04/27 07:40:19] <phantez> git://reductivelabs.com/puppet | ||
| [2009/04/27 07:40:23] @ fujin joined channel #puppet | ||
| [2009/04/27 07:40:29] <phantez> the latest HEAD | ||
| [2009/04/27 07:40:41] <kolla> ok, turns out this wasnt _really_ fedora either | ||
| [2009/04/27 07:41:07] <HarryCalahan> jamesturnbull: looks like puppetmaster insists on a reverse lookup before serving files. This fails because i'm using internal ips | ||
| [2009/04/27 07:41:43] <SyTonnerre> HarryCalahan, then add PTRs for them :P | ||
| [2009/04/27 07:42:18] <HarryCalahan> SyTonnerre: yeah always wanted to own *.168.192.in-addr.arpa | ||
| [2009/04/27 07:42:18] <kolla> and yum is default on redhat and centos as well? | ||
| [2009/04/27 07:42:22] <SyTonnerre> 4.2.1.10.in-addr.arpa. IN PTR ten.one.two.four.company.com. | ||
| [2009/04/27 07:42:33] <Volcane> kolla: redhat since 5 | ||
| [2009/04/27 07:42:40] <SyTonnerre> kolla, yes, recent versions | ||
| [2009/04/27 07:42:50] <SyTonnerre> Volcane, didn't RHEL4 also have yum? | ||
| [2009/04/27 07:42:57] <Volcane> only centos 4 had it | ||
| [2009/04/27 07:43:02] <kolla> ok... well, it's not part of this openfiler distro, sigh | ||
| [2009/04/27 07:44:29] * HarryCalahan goes for lunch | ||
| [2009/04/27 07:48:58] <chillitom> nasrat, the meet up still on for tonight? I think I'll try and come along | ||
| [2009/04/27 07:48:58] <jenza> I'm tempted to drop by. Will you guys be the nerdy bunch in the corner wearing Amiga t-shirts? :p | ||
| [2009/04/27 07:49:04] <SyTonnerre> Nah, Puppet t-shirts | ||
| [2009/04/27 07:49:08] <jenza> oh, cool | ||
| [2009/04/27 07:49:13] <nico> I love puppet <3 so much time wasted before this too l! | ||
| [2009/04/27 07:49:16] <SyTonnerre> (Disclaimer: I won't be there) | ||
| [2009/04/27 07:49:27] <SyTonnerre> nico, yepp | ||
| [2009/04/27 07:49:37] <jenza> If I'd of known I would have worn my muppet t-shirt :/ | ||
| [2009/04/27 07:52:04] @ nakano_ is now known as nakano | ||
| [2009/04/27 07:54:06] @ Quit: d3vilb0x: | ||
| [2009/04/27 07:54:30] @ MarlondB joined channel #puppet | ||
| [2009/04/27 07:56:12] @ madrescher joined channel #puppet | ||
| [2009/04/27 07:57:23] <chillitom> it's a good point though? how does one recognise a group of puppeteers in a london pub? | ||
| [2009/04/27 08:01:03] <nico> chillitom: they require => ["beer"] | ||
| [2009/04/27 08:01:10] @ Quit: PsychoSid: Read error: 104 (Connection reset by peer) | ||
| [2009/04/27 08:02:25] <masterzen> chillitom: service { "beer": ensure => running } | ||
| [2009/04/27 08:02:45] * phantez masterzen +1 :P | ||
| [2009/04/27 08:06:36] @ Quit: erm_: Read error: 60 (Operation timed out) | ||
| [2009/04/27 08:07:42] <jamesturnbull> masterzen: http://www.pastie.org/459589 - I think that'll fix #2188 - thoughts? | ||
| [2009/04/27 08:07:43] <gepetto> jamesturnbull: masterzen: #2188 is http://projects.reductivelabs.com/issues/show/2188 "Puppet - Bug #2188: puppetmaster fails to start - ReductiveLabs.com" | ||
| [2009/04/27 08:08:54] <riddley> jamesturnbull, I have some commands for facter under HP-UX and I'm not sure how they'd fit into the existing code, whats the best thing to do? | ||
| [2009/04/27 08:09:11] <jamesturnbull> riddley: patches to the -dev list | ||
| [2009/04/27 08:09:25] @ Quit: fbe: Read error: 110 (Connection timed out) | ||
| [2009/04/27 08:09:31] <riddley> jamesturnbull, hehe yea, that's why I said "I'm not sure how they'd fit into the existing code" | ||
| [2009/04/27 08:09:46] <riddley> for example, the serial number code is very linux-specific | ||
| [2009/04/27 08:09:53] <riddley> and I'm not sure how to get in there | ||
| [2009/04/27 08:10:07] <masterzen> jamesturnbull: that's a revert of the patch introducing the Set, is that right? | ||
| [2009/04/27 08:10:18] @ PsychoSid joined channel #puppet | ||
| [2009/04/27 08:10:36] <masterzen> jamesturnbull: I think it's missing a require 'set', because it chokes on trying to load Set as a subclass of the current class... | ||
| [2009/04/27 08:11:38] <masterzen> jamesturnbull: I myself never had this issue, and still I'm starting the master a lot of time on new environment while testing... | ||
| [2009/04/27 08:13:47] <nasrat> chillitom: yup still on | ||
| [2009/04/27 08:13:53] <jamesturnbull> masterzen: well I think Luke's revert didn't fully revert the change | ||
| [2009/04/27 08:14:48] <masterzen> jamesturnbull: I think his point was to leave some the Set in place to benefit at least a partial speed-up, at least that was what I though. | ||
| [2009/04/27 08:14:59] * masterzen is looking to lak's patch | ||
| [2009/04/27 08:15:11] <jamesturnbull> masterzen: his patch doesn't have a require 'set' | ||
| [2009/04/27 08:16:43] <masterzen> yes you're right. and the set version worked for me (ruby 1.8.7). I'm wondering but maybe Set were introduced in ruby 1.8.6 only, and the reporter might be using and older version? | ||
| [2009/04/27 08:16:57] <phantez> =) | ||
| [2009/04/27 08:16:58] <jamesturnbull> masterzen: also I can't see how the remaining graph can work without the require | ||
| [2009/04/27 08:17:12] <phantez> [root@cors002 puppet-github]# ruby -v | ||
| [2009/04/27 08:17:12] <phantez> ruby 1.8.5 (2006-08-25) [i386-linux] | ||
| [2009/04/27 08:17:19] <jamesturnbull> masterzen: yep that'd be it | ||
| [2009/04/27 08:17:21] @ nakano is now known as nakano_ | ||
| [2009/04/27 08:17:22] <phantez> I have the same bug =) | ||
| [2009/04/27 08:17:32] @ fbe joined channel #puppet | ||
| [2009/04/27 08:17:40] <phantez> so I have to upgrade and it will be ok ? | ||
| [2009/04/27 08:17:58] <masterzen> can you check that your have /usr/lib/ruby/1.8/set.rb ? | ||
| [2009/04/27 08:17:59] <jamesturnbull> phantez: well yes - revert my other patches - but we should fix too | ||
| [2009/04/27 08:18:09] <phantez> I reverted it already | ||
| [2009/04/27 08:18:23] <phantez> I have it | ||
| [2009/04/27 08:18:28] <phantez> masterzen: I have this file | ||
| [2009/04/27 08:18:54] <masterzen> and if you add require 'set' in simple_graph, does it solve your issue? | ||
| [2009/04/27 08:19:05] <jamesturnbull> phantez: ah ... what masterzen said | ||
| [2009/04/27 08:19:53] <phantez> nop :( | ||
| [2009/04/27 08:20:07] <masterzen> personally I don't mind reverting the Set patch, but I know some people are seeing 30% gain in performance with large number of resources. | ||
| [2009/04/27 08:20:17] <phantez> "require 'set'" ? | ||
| [2009/04/27 08:20:41] <jamesturnbull> masterzen: it's also a little tangled - luke patched on the patch - I am relunctant to totally revert without talking to him | ||
| [2009/04/27 08:20:43] <phantez> at the begining of the file simple_graph doesn't change anything to the ouput | ||
| [2009/04/27 08:21:04] <masterzen> actually, it shouldn't be needed, was just a wild guess at the issue. | ||
| [2009/04/27 08:21:10] <masterzen> jamesturnbull: yes, you're right. | ||
| [2009/04/27 08:25:13] @ goozbach joined channel #puppet | ||
| [2009/04/27 08:25:16] @ rraphink joined channel #puppet | ||
| [2009/04/27 08:26:44] @ bajan joined channel #puppet | ||
| [2009/04/27 08:28:26] <HarryCalahan> what should dig -x 192.168.1.1 return? NXDomain or ServFail? | ||
| [2009/04/27 08:29:40] <kolla> oh.. conary | ||
| [2009/04/27 08:30:12] <masterzen> HarryCalahan: I think: NXDomain | ||
| [2009/04/27 08:31:13] <proton> NXDOMAIN is correct | ||
| [2009/04/27 08:31:38] <HarryCalahan> anyone knows an RFC where i can read this up? | ||
| [2009/04/27 08:33:33] @ Welsh_Dwarf joined channel #puppet | ||
| [2009/04/27 08:34:54] <Welsh_Dwarf> Hi everyone, I'm currently preparing a server for deploiment, and as such I had to setup a tempory puppet server (I don't have access to the main server from here). Is there a way to deactivate certificats until I get the server deploied? | ||
| [2009/04/27 08:36:58] @ Quit: Demosthenes: "leaving" | ||
| [2009/04/27 08:44:02] <ChoHag> Sorry Welsh_Dwarf you must be this --- tall to enter the channel. | ||
| [2009/04/27 08:44:26] <masterzen> HarryCalahan: choose your poison: http://www.dns.net/dnsrd/rfc/ | ||
| [2009/04/27 08:44:52] * HarryCalahan picks the blue poison *argggh* | ||
| [2009/04/27 08:46:27] @ bla_ joined channel #puppet | ||
| [2009/04/27 08:46:56] @ Quit: bla_: Client Quit | ||
| [2009/04/27 08:47:27] <riddley> jamesturnbull, I've checked out facter and added one change, but I really don't know what to do with manufacturer.rb (and friends) in terms of getting my code in there. | ||
| [2009/04/27 08:49:42] <masterzen> phantez: can you try to Set.new in an irb, to see if your ruby can load-up a Set? | ||
| [2009/04/27 08:49:45] <mikepea> Welsh_Dwarf: not that I'm aware of. You can easily re-pair it with the main server after it's been deployed though - just remove the SSL certs from the client and reconnect to the new master. (certs are usually in /var/lib/puppet/ssl or /etc/puppet/ssl). | ||
| [2009/04/27 08:50:09] <degr8hunt> can anyone help me in installing deb files located in "files" folder of puppet server to different nodes? | ||
| [2009/04/27 08:51:00] <degr8hunt> I am not sure about the syntax though tried searching it almost everywhere | ||
| [2009/04/27 08:51:12] <Volcane> you need to use file{} to copy it to the local machine | ||
| [2009/04/27 08:51:19] <Volcane> then package{} to install from the local machine | ||
| [2009/04/27 08:51:27] <jamesturnbull> riddley: what do you mean? | ||
| [2009/04/27 08:51:34] <jamesturnbull> riddley: can't you just add your code and diff? | ||
| [2009/04/27 08:52:06] <degr8hunt> Volcane: Interesting, let me try before I say Thanks | ||
| [2009/04/27 08:52:23] @ DasFx joined channel #puppet | ||
| [2009/04/27 08:52:35] <riddley> jamesturnbull, I mean that manufacturer.rb is all about parsing the output of dmidecode... do I just treat it like hardwaremodel.rb and stick a new Facter.add at the bottom? It seems different. | ||
| [2009/04/27 08:52:50] <jamesturnbull> riddley: what's the fact you're creating? | ||
| [2009/04/27 08:53:05] <riddley> serialnumber | ||
| [2009/04/27 08:53:21] <Volcane> there's already a fact for that isnt htere? | ||
| [2009/04/27 08:53:30] <riddley> not on hp-ux | ||
| [2009/04/27 08:53:34] <Volcane> ah | ||
| [2009/04/27 08:53:44] @ Quit: axisys: Connection timed out | ||
| [2009/04/27 08:54:01] <FiXion> hmm dependency cycles.. :( | ||
| [2009/04/27 08:54:03] <FiXion> http://pastie.org/459627 | ||
| [2009/04/27 08:54:10] <jamesturnbull> riddley: actually just create a serialnumber.rb and add an appropriate confine I think | ||
| [2009/04/27 08:54:20] <riddley> jamesturnbull, ok :) | ||
| [2009/04/27 08:54:41] <jamesturnbull> riddley: somewhat silly but we backed ourselves into that corner with Facter and won't fix it until 1.6 or 2.0 | ||
| [2009/04/27 08:54:54] <riddley> jamesturnbull, ok cool thanks a ton, man :) | ||
| [2009/04/27 08:54:55] <FiXion> anyone having a generic require => Exec[apt-update] ? | ||
| [2009/04/27 08:55:28] <jamesturnbull> and since I've had no time to look at FActer future we may even end up with another 1.5.x release - unless nasrat has been power coding in secret | ||
| [2009/04/27 08:55:58] <phantez> irb(main):005:0> require 'set' | ||
| [2009/04/27 08:55:58] <phantez> => true | ||
| [2009/04/27 08:55:58] <phantez> irb(main):006:0> Set.new | ||
| [2009/04/27 08:55:58] <phantez> => #<Set: {}> | ||
| [2009/04/27 08:56:20] <DavidS> Welsh_Dwarf: not to my knowledge, but you can just create temp certs and clean $ssldir after deploying | ||
| [2009/04/27 08:56:21] <jamesturnbull> phantez: what happens if you don't require and just do Set.net | ||
| [2009/04/27 08:56:39] <phantez> irb(main):001:0> Set.new | ||
| [2009/04/27 08:56:39] <phantez> NameError: uninitialized constant Set | ||
| [2009/04/27 08:56:42] <jamesturnbull> s/Set.net/Set.new/ | ||
| [2009/04/27 08:56:50] <Volcane> FiXion: please show the whole define or whatever | ||
| [2009/04/27 08:56:54] @ Quit: glaw: Remote closed the connection | ||
| [2009/04/27 08:56:54] <Volcane> FiXion: and how you use it | ||
| [2009/04/27 08:57:25] <ChoHag> Why would puppet be unable to authenticate to the server on localhost? | ||
| [2009/04/27 08:59:53] <riddley> jamesturnbull, my code is working! thanks again. I did a 'git format-patch master mybranch' and it spewed a ton of patches... will rake mail_patches only mail mine? | ||
| [2009/04/27 09:00:43] @ d3vilb0x joined channel #puppet | ||
| [2009/04/27 09:01:41] <phantez> riddley: are you sure it is not making patches using another branch ? this could explain the ton of patches | ||
| [2009/04/27 09:01:42] @ erm_ joined channel #puppet | ||
| [2009/04/27 09:03:17] <riddley> phantez, oh I should checkout master and then do my format-patch ? | ||
| [2009/04/27 09:04:19] <phantez> I don't exactly know, but if it generates ton of patches I suspect it is making a diff against another branch | ||
| [2009/04/27 09:04:24] <ChoHag> Yay! It's a year-old bug! | ||
| [2009/04/27 09:04:52] <riddley> ok thx | ||
| [2009/04/27 09:05:02] <Volcane> ChoHag: we cant really help much without error messages etc | ||
| [2009/04/27 09:05:10] <ChoHag> http://projects.reductivelabs.com/issues/899 | ||
| [2009/04/27 09:06:14] @ afb joined channel #puppet | ||
| [2009/04/27 09:10:22] <jamesturnbull> riddley: branch against 1.5.x I think | ||
| [2009/04/27 09:10:31] @ joe-mac joined channel #puppet | ||
| [2009/04/27 09:10:48] <riddley> jamesturnbull, I branched against master... start over? | ||
| [2009/04/27 09:11:06] <jamesturnbull> riddley: git branch 1.5.x mynewbranch && update && git commit -a && rake mail_patches | ||
| [2009/04/27 09:12:38] <jamesturnbull> riddley: oh and git checkout mynewbranch obviously | ||
| [2009/04/27 09:13:12] <riddley> lol | ||
| [2009/04/27 09:13:45] <masterzen> phantez: so, basically you need to "require 'set'" in simple_graph.rb. But when you added this, you got the same error. So, either you forgot to restart the master, or you didn't edit the right file. Do you have several puppet install? | ||
| [2009/04/27 09:13:57] @ Quit: nasrat: Remote closed the connection | ||
| [2009/04/27 09:14:31] <f3ew> jamesturnbull the hardcoding didn't work | ||
| [2009/04/27 09:14:42] <jamesturnbull> f3ew: okay | ||
| [2009/04/27 09:15:11] @ Bass10 joined channel #puppet | ||
| [2009/04/27 09:15:13] <jamesturnbull> f3ew: can you log a ticket then please with all the details - I'll have to install a RHEL 4.4 VM and have a look I guess | ||
| [2009/04/27 09:16:20] <f3ew> Yup | ||
| [2009/04/27 09:16:20] <riddley> jamesturnbull, I see some instances of Facter::Util::Resolution.exec is that prefered over %x{} ? I'm providing full paths because of hp-ux being weird. | ||
| [2009/04/27 09:17:14] <FiXion> Volcane: that is the whole define. it's in my templates.pp | ||
| [2009/04/27 09:17:45] <FiXion> Volcane: it works when I remove uncomment it all - except the package { provider => "apt", require => "apt-update" } | ||
| [2009/04/27 09:17:54] <FiXion> then all package definitions by default get those settings. | ||
| [2009/04/27 09:18:03] <jamesturnbull> f3ew: though maybe an strace? | ||
| [2009/04/27 09:18:04] <HarryCalahan> big P | ||
| [2009/04/27 09:18:13] <FiXion> but then it doesn't work on CentOS as it doesn't have apt :) | ||
| [2009/04/27 09:18:26] <HarryCalahan> FiXion: apt4rpm ;) | ||
| [2009/04/27 09:18:33] <Volcane> FiXion: that's not the whole define, neither do you show how you use it that causes it. | ||
| [2009/04/27 09:18:56] <FiXion> HarryCalahan: bad solution :) | ||
| [2009/04/27 09:19:56] <HarryCalahan> FiXion: you can add and case on lsbdistid and only set the package provider defaults for the right dists | ||
| [2009/04/27 09:20:19] <FiXion> HarryCalahan: see the pastie. that's what I did - and that gives me cyclic dependencies | ||
| [2009/04/27 09:20:52] <FiXion> Volcane: I don't get what define you're missing? that's the whole thing. I ofcourse have package definitions in all my modules.. | ||
| [2009/04/27 09:21:11] <FiXion> and those are the ones that get assigned a provider and a require - from this "default" package definition | ||
| [2009/04/27 09:21:13] * f3ew invokes a strace | ||
| [2009/04/27 09:22:00] <FiXion> they all work, when I run it like this: http://pastie.org/459643 (in templates.pp) | ||
| [2009/04/27 09:22:15] <FiXion> except CentOS complains about not having an apt provider | ||
| [2009/04/27 09:22:20] <FiXion> :) | ||
| [2009/04/27 09:23:19] <FiXion> I'm most definetely doing something wrong.. I just can't figure out what :) | ||
| [2009/04/27 09:23:34] <Volcane> FiXion:why do you use a virtual resource for the exec? | ||
| [2009/04/27 09:24:04] <FiXion> Volcane: the Exec[apt-update] is a virtual defined in the apt module. | ||
| [2009/04/27 09:24:21] <FiXion> just as how I defined the yum-update (which I just put in templates.pp as it's bogus :) | ||
| [2009/04/27 09:24:50] @ andrewcshafer joined channel #puppet | ||
| [2009/04/27 09:25:08] * Volcane 'd ditch the @exec thing and just make normal resources with an onlyif => that checks if yum exists on the box | ||
| [2009/04/27 09:25:13] <Volcane> keep it simple | ||
| [2009/04/27 09:25:57] <FiXion> so I need a specific package definition for each distribution I run? | ||
| [2009/04/27 09:26:08] <Volcane> nope | ||
| [2009/04/27 09:26:27] <FiXion> I just wanted puppet to always run an update, before installing anything | ||
| [2009/04/27 09:27:15] <FiXion> Volcane: and the apt exec isn't @ - that made a require exec[apt-update] not work afaik. | ||
| [2009/04/27 09:27:21] <FiXion> afair even | ||
| [2009/04/27 09:27:27] @ Quit: Bass10: Read error: 104 (Connection reset by peer) | ||
| [2009/04/27 09:27:36] <Volcane> in the cyclic thing I see tings like "Exec[yum-update] => Service[syslog]" | ||
| [2009/04/27 09:28:00] <Volcane> which suggests maybe you're using the $require variable elsewhere etc? | ||
| [2009/04/27 09:29:01] <FiXion> Volcane: nope. the same error shows up with apt-update instead - when I'm on an ubuntu. | ||
| [2009/04/27 09:29:03] <phantez> masterzen: you're write I forgot to redeploy | ||
| [2009/04/27 09:29:44] <FiXion> Volcane: I must have done something wrong. tried changing $require to $requi - it worked | ||
| [2009/04/27 09:29:55] <Hollow> what is the correct syntax to require a define inside a class? require => Foo::bar yields syntax error on :: | ||
| [2009/04/27 09:29:59] <phantez> masterzen: now it wors with rhe require 'set' | ||
| [2009/04/27 09:30:05] <Volcane> yup, and I'd have pointed this out immediately had you shown the entire problem area and how you use them etc. | ||
| [2009/04/27 09:30:23] <FiXion> odd thing is that I don't have $require anywhere | ||
| [2009/04/27 09:30:33] <masterzen> phantez: ok, if you want/have time, you can send a patch to the puppet-dev list, then. | ||
| [2009/04/27 09:30:48] <Volcane> I'd avoid entirely $require = Exec[.....] type constructs | ||
| [2009/04/27 09:31:04] @ Quit: friendly12345: "Leaving." | ||
| [2009/04/27 09:31:05] <phantez> ok I will | ||
| [2009/04/27 09:31:07] <FiXion> Volcane: I did a grep just to be certain - in my entire modules and manifests dir.. no hits | ||
| [2009/04/27 09:31:19] <Volcane> case $lsbdistid { "CentOS": { Package { ... } } default: { Package{ ... } } | ||
| [2009/04/27 09:31:33] <Volcane> do that instead of using the variables | ||
| [2009/04/27 09:31:38] <masterzen> phantez: and add a comment on #2188, too | ||
| [2009/04/27 09:31:39] <gepetto> masterzen: phantez: #2188 is http://projects.reductivelabs.com/issues/show/2188 "Puppet - Bug #2188: puppetmaster fails to start - ReductiveLabs.com" | ||
| [2009/04/27 09:31:42] <FiXion> Volcane: so pack the entire "default package setup" in a case. | ||
| [2009/04/27 09:32:07] <FiXion> it seems the $require is some sort of internally used variable that if used in my scripts, trips puppet up | ||
| [2009/04/27 09:32:28] <jamesturnbull> masterzen: I'll just patch it | ||
| [2009/04/27 09:32:36] <Volcane> yes, puppet variables arent really made for storing that kind of thing, they're mostly just for storing strings | ||
| [2009/04/27 09:32:43] <Volcane> and Exec["foo"] isnt a string | ||
| [2009/04/27 09:33:02] <FiXion> Volcane: fair enough - thank you for the tip and help. I'll restructure it as you suggest. | ||
| [2009/04/27 09:33:03] <masterzen> jamesturnbull: OK, thanks | ||
| [2009/04/27 09:33:14] @ mfoster joined channel #puppet | ||
| [2009/04/27 09:33:31] <phantez> jamesturnbull: I can do it | ||
| [2009/04/27 09:33:43] <phantez> will be my first patch ^^ | ||
| [2009/04/27 09:34:05] <degr8hunt> Volcane: how to specify package source path in package {} | ||
| [2009/04/27 09:34:20] <degr8hunt> I have written it like: | ||
| [2009/04/27 09:34:21] <degr8hunt> package {"lxp": | ||
| [2009/04/27 09:34:21] <degr8hunt> ensure => installed | ||
| [2009/04/27 09:34:21] <degr8hunt> } | ||
| [2009/04/27 09:34:52] <degr8hunt> inserting source => "/opt/lxp_0.2-1d_i386.deb" in between is not working | ||
| [2009/04/27 09:35:02] @ Quit: fujin: | ||
| [2009/04/27 09:35:12] <jamesturnbull> phantez: ah - I just pushed it being a one liner | ||
| [2009/04/27 09:35:27] <phantez> ^^ | ||
| [2009/04/27 09:36:06] @ cedric_b joined channel #puppet | ||
| [2009/04/27 09:36:55] <Volcane> does "/opt/lxp...deb" exist on your clients drive? | ||
| [2009/04/27 09:37:03] @ PsychoSid1 joined channel #puppet | ||
| [2009/04/27 09:37:10] <degr8hunt> yes | ||
| [2009/04/27 09:37:21] <degr8hunt> I just transferred using file {} | ||
| [2009/04/27 09:37:30] <Volcane> whats the error you get? | ||
| [2009/04/27 09:37:32] <degr8hunt> the way you suggested and it worked :-) | ||
| [2009/04/27 09:37:59] <degr8hunt> error with this syntax --> package {"lxp": | ||
| [2009/04/27 09:37:59] <degr8hunt> ensure => installed | ||
| [2009/04/27 09:37:59] <degr8hunt> source => "/opt/lxp_0.2-1d_i386.deb" | ||
| [2009/04/27 09:38:00] <degr8hunt> } | ||
| [2009/04/27 09:38:28] <Volcane> a) please use pastie.org b) show your entire problem code and actual error message | ||
| [2009/04/27 09:39:22] <degr8hunt> err: Could not parse for environment production: Syntax error at 'source'; expected '}' at /etc/puppet/manifests/site.pp:20 | ||
| [2009/04/27 09:39:46] <degr8hunt> everything works but the moment I put "source" in package {} it throws error | ||
| [2009/04/27 09:40:38] @ Quit: tuf: Read error: 110 (Connection timed out) | ||
| [2009/04/27 09:40:38] <huggie> degr8hunt: Don't you need a , after installed? | ||
| [2009/04/27 09:41:31] <degr8hunt> my bad :-( | ||
| [2009/04/27 09:42:08] <degr8hunt> in logs its going to apt-get | ||
| [2009/04/27 09:42:14] <degr8hunt> it should install with dpkg | ||
| [2009/04/27 09:42:17] <degr8hunt> should I use exec? | ||
| [2009/04/27 09:42:44] <Volcane> see the documentation how to choose what provider to use | ||
| [2009/04/27 09:43:23] <degr8hunt> well thanks, is there some IRC for beginners? lol | ||
| [2009/04/27 09:43:52] <HarryCalahan> #puppet@quakenet | ||
| [2009/04/27 09:43:53] <jamesturnbull> phantez: was that the only bug you had? or did you have another issue? | ||
| [2009/04/27 09:43:55] <Volcane> wiki:TypeReference under package shows you how to choose dpkg/apt-get or whatever u want | ||
| [2009/04/27 09:44:18] <gepetto> Volcane: wiki: wiki:TypeReference is http://reductivelabs.com/trac/puppet/wiki/TypeReference | ||
| [2009/04/27 09:44:19] @ cwebber joined channel #puppet | ||
| [2009/04/27 09:44:52] @ Quit: DerekW: Read error: 110 (Connection timed out) | ||
| [2009/04/27 09:45:25] <phantez> jamesturnbull: It works with --test but I have an error about pid without | ||
| [2009/04/27 09:46:03] @ Quit: PsychoSid: Read error: 110 (Connection timed out) | ||
| [2009/04/27 09:46:17] @ DerekW joined channel #puppet | ||
| [2009/04/27 09:46:22] <jamesturnbull> phantez: *sigh* can oyu pastie this error? | ||
| [2009/04/27 09:46:24] <phantez> http://pastie.org/459667 | ||
| [2009/04/27 09:46:52] @ Quit: eythian: Read error: 60 (Operation timed out) | ||
| [2009/04/27 09:47:39] @ Quit: kibahop: "Leaving." | ||
| [2009/04/27 09:47:49] <phantez> http://pastie.org/459669 | ||
| [2009/04/27 09:51:28] <riddley> is git://reductivelabs.com/facter the repo that should have a 1.5.x branch in it? | ||
| [2009/04/27 09:51:43] <jamesturnbull> riddley: it does | ||
| [2009/04/27 09:51:49] <jamesturnbull> riddley: but best to use github | ||
| [2009/04/27 09:51:56] <riddley> is there doc on this somewhere? | ||
| [2009/04/27 09:52:20] <jamesturnbull> riddley: wiki:PuppetDevelopmentLifecycle | ||
| [2009/04/27 09:52:25] <riddley> http://reductivelabs.com/trac/puppet/wiki/PuppetSource is wrong then | ||
| [2009/04/27 09:52:44] <jamesturnbull> riddley: wiki:DevelopmentLifecycle | ||
| [2009/04/27 09:53:01] <gepetto> jamesturnbull: riddley: wiki:DevelopmentLifecycle is http://reductivelabs.com/trac/puppet/wiki/DevelopmentLifecycle | ||
| [2009/04/27 09:53:22] <riddley> also says reductivelabs.com | ||
| [2009/04/27 09:55:20] <phantez> jamesturnbull: that works | ||
| [2009/04/27 09:55:28] <phantez> just a pid file that haven't been remove | ||
| [2009/04/27 09:55:55] <jamesturnbull> phantez: okay thanks for your help testing this and sorry it took a little while to puzzle out | ||
| [2009/04/27 09:56:20] <phantez> it's ok ;) | ||
| [2009/04/27 09:57:05] <gepetto> ::trac:: Puppet Source edited by jamtur01 @ http://reductivelabs.com/trac/puppet/wiki/PuppetSource (by james@lovedthanlost.net) | ||
| [2009/04/27 09:57:05] <gepetto> ::trac:: Development Lifecycle edited by jamtur01 @ http://reductivelabs.com/trac/puppet/wiki/DevelopmentLifecycle (by james@lovedthanlost.net) | ||
| [2009/04/27 09:57:22] <jamesturnbull> phantez: though that pidfile thing is a bug - can you log a ticket for it please | ||
| [2009/04/27 09:58:05] <phantez> jamesturnbull: ok | ||
| [2009/04/27 09:59:26] <Welsh_Dwarf> Thanks all for your tips | ||
| [2009/04/27 09:59:36] <Welsh_Dwarf> ChoHag: I'm on stilts :) | ||
| [2009/04/27 10:00:12] @ Quit: elementai: Read error: 60 (Operation timed out) | ||
| [2009/04/27 10:01:39] @ tuf joined channel #puppet | ||
| [2009/04/27 10:02:20] <degr8hunt> wow, Thanks Volcane and Gepetto, it rocks! | ||
| [2009/04/27 10:04:13] <masterzen> degr8hunt: gepetto is a bot, no need to thank him, except sometimes he's a bit angry and he takes his time to answer :-) | ||
| [2009/04/27 10:04:36] <HarryCalahan> masterzen: even bots have feelings | ||
| [2009/04/27 10:04:50] <HarryCalahan> masterzen: and maybe the dream of sheeps sometimes ;) | ||
| [2009/04/27 10:04:59] <masterzen> of electric sheep... | ||
| [2009/04/27 10:05:07] <HarryCalahan> you got me. | ||
| [2009/04/27 10:05:18] <masterzen> :-) | ||
| [2009/04/27 10:05:34] <masterzen> as long as they don't break the 3 robotic rules, I'm OK :-) | ||
| [2009/04/27 10:07:56] <riddley> so, should I see remote branches when I clone the github version of facter? git branch just shows master | ||
| [2009/04/27 10:10:07] @ elementai joined channel #puppet | ||
| [2009/04/27 10:10:14] @ Quit: andrewcshafer: | ||
| [2009/04/27 10:15:51] @ teratoma joined channel #puppet | ||
| [2009/04/27 10:16:07] <mikepea> riddley: git branch -a | ||
| [2009/04/27 10:16:28] <riddley> thx | ||
| [2009/04/27 10:17:18] @ fbe_ joined channel #puppet | ||
| [2009/04/27 10:21:16] <riddley> man this is frustrating | ||
| [2009/04/27 10:21:44] <HarryCalahan> yeah its still monday ;) | ||
| [2009/04/27 10:22:00] <riddley> so I called my branch 'hpux' which apparently mail_patches doesn't like... is there a way to rename it so that I can get it to go? I'm spending longer on git than I did on the code. | ||
| [2009/04/27 10:22:32] @ fujin joined channel #puppet | ||
| [2009/04/27 10:28:13] @ fdz1 joined channel #puppet | ||
| [2009/04/27 10:28:14] @ fdz left channel #puppet () | ||
| [2009/04/27 10:30:43] @ Quit: fbe: Read error: 110 (Connection timed out) | ||
| [2009/04/27 10:32:46] <riddley> is there a place to file facter issues? redmine doesn't seem to know about facter | ||
| [2009/04/27 10:33:04] <Volcane> theres a facter project on it yes | ||
| [2009/04/27 10:33:19] <riddley> aah I see it now | ||
| [2009/04/27 10:33:49] @ Quit: fujin: | ||
| [2009/04/27 10:37:20] <riddley> wow what's the difference between "create" and "create and continue" on redmine New Issue? | ||
| [2009/04/27 10:38:01] <agaffney> the second probably takes you to a screen where you can keep editing | ||
| [2009/04/27 10:39:30] @ gaveen joined channel #puppet | ||
| [2009/04/27 10:41:54] @ jmarki joined channel #puppet | ||
| [2009/04/27 10:42:13] @ Quit: jbooth: Read error: 110 (Connection timed out) | ||
| [2009/04/27 10:44:22] <jamesturnbull> riddley: branchs shold be feature/1.5.x/2205 | ||
| [2009/04/27 10:44:31] <jamesturnbull> riddley: or bug/master/xxxx | ||
| [2009/04/27 10:44:33] <jamesturnbull> riddley: etc | ||
| [2009/04/27 10:44:45] <riddley> I know that now :) is there a way to rename my branch? | ||
| [2009/04/27 10:45:26] @ MrHeavy joined channel #puppet | ||
| [2009/04/27 10:45:34] <jamesturnbull> riddley: git branch -m | ||
| [2009/04/27 10:45:50] @ lak joined channel #puppet | ||
| [2009/04/27 10:46:30] <riddley> thanks James | ||
| [2009/04/27 10:47:18] <joe-mac> OT: anybody here got a good solution for automated availability reports from nagios? #nagios is a little dead, if you've got something good to share, please PM | ||
| [2009/04/27 10:47:50] <jamesturnbull> joe-mac: isn't there an availability report already? | ||
| [2009/04/27 10:48:21] <joe-mac> yea i want to grab the data from a script though, and then do some ruby xls stuff with it | ||
| [2009/04/27 10:48:30] <joe-mac> for the suits, of course | ||
| [2009/04/27 10:48:45] * Volcane 's nagios is all in a DB via ndo, easy to do this kind of thing then | ||
| [2009/04/27 10:48:55] @ fujin joined channel #puppet | ||
| [2009/04/27 10:49:03] <joe-mac> i'm looking at the cgi requests through firefox's tamper data plugin and it doesn't look so easy, adn the perl module i got to do it isn't working for me | ||
| [2009/04/27 10:49:14] <joe-mac> yea i am still in flat file land | ||
| [2009/04/27 10:49:47] <joe-mac> maybe i should look to moving to a db anyways | ||
| [2009/04/27 10:49:57] <Volcane> avail.cgi though is pretty trivial? | ||
| [2009/04/27 10:50:09] <Volcane> all you do is pass it the type, time periods etc and thats it? | ||
| [2009/04/27 10:50:40] <joe-mac> well, sort of. i looked at the headers and it's like a three step process to set up the query, it didn't look like passing all parameters in one stage of the process would work | ||
| [2009/04/27 10:50:43] <joe-mac> but i might be wrong | ||
| [2009/04/27 10:50:45] <joe-mac> i will try that now | ||
| [2009/04/27 10:50:56] <Volcane> look at the last page that shows the result | ||
| [2009/04/27 10:51:10] <Volcane> and it even supports outputing csv | ||
| [2009/04/27 10:51:34] <joe-mac> yea i know that is waht i want to grab, however the param get_date_parts shows as empty | ||
| [2009/04/27 10:53:05] <joe-mac> nagios/cgi-bin/avail.cgi?get_date_parts=&host=all&service=all <--- tyhat is the query sent after i fill in the time frame i want, choose csv, and tell it to not assume state during program downtime | ||
| [2009/04/27 10:53:12] @ shake-n-bake joined channel #puppet | ||
| [2009/04/27 10:53:22] <Volcane> what version you on? | ||
| [2009/04/27 10:53:27] <joe-mac> 3.0.6 | ||
| [2009/04/27 10:53:31] <Volcane> nagios/cgi-bin/avail.cgi?show_log_entries=&hostgroup=all&timeperiod=last7days&smon=4&sday=1&syear=2009&shour=0&smin=0&ssec=0&emon=4&eday=27&eyear=2009&ehour=24&emin=0&esec=0&rpttimeperiod=&assumeinitialstates=yes&assumestateretention=yes&assumestatesduringnotrunning=yes&includesoftstates=no&initialassumedhoststate=0&initialassumedservicestate=0&backtrack=4 | ||
| [2009/04/27 10:53:33] <Volcane> thats mine | ||
| [2009/04/27 10:53:36] <Volcane> arg, sorry soooo long | ||
| [2009/04/27 10:53:44] <joe-mac> hm, let me try that Volcane | ||
| [2009/04/27 10:53:54] <Volcane> also 3.0.6 | ||
| [2009/04/27 10:54:46] @ Quit: PsychoSid1: Remote closed the connection | ||
| [2009/04/27 10:54:48] <joe-mac> thanks Volcane, from your query i should be able to get what i want. idk why i wasn't seeing all those options in my headers | ||
| [2009/04/27 10:54:54] <Volcane> for all hosts, csv etc you need http://pastie.org/459765 | ||
| [2009/04/27 10:54:55] <joe-mac> maybe this plugin is messed up | ||
| [2009/04/27 10:55:18] @ Quit: d3vilb0x: | ||
| [2009/04/27 10:55:34] <Volcane> joe-mac: check out centreon, opensource GUI for managing clusters of nagios machines, has very nice reporting tools | ||
| [2009/04/27 10:56:39] @ glaw joined channel #puppet | ||
| [2009/04/27 10:57:19] <riddley> There was a thread on the mailing list a while back (wow a year ago!) about replacing the documentation wiki... did it wither on the 0.25 vine ? If the new service is up, I can volunteer some time to migrate data. | ||
| [2009/04/27 10:57:34] <Volcane> rl still working on it :( | ||
| [2009/04/27 10:58:28] <riddley> any way I can help? | ||
| [2009/04/27 10:59:23] <lak> riddley: ping teyo | ||
| [2009/04/27 10:59:29] <Volcane> donno, Tyeo working on it, not on irc much | ||
| [2009/04/27 10:59:31] <lak> at reductivelabs.com | ||
| [2009/04/27 10:59:33] @ kambiz_away is now known as kambiz | ||
| [2009/04/27 11:01:07] @ Quit: sigmonsays: Read error: 104 (Connection reset by peer) | ||
| [2009/04/27 11:05:46] @ axisys joined channel #puppet | ||
| [2009/04/27 11:07:42] @ claymation joined channel #puppet | ||
| [2009/04/27 11:08:08] <jamesturnbull> riddley: Teyo is almost ready - we've just had a combination of teething problems with the migration script and Teyo has been busy with other stuff | ||
| [2009/04/27 11:16:36] @ Quit: lak: | ||
| [2009/04/27 11:16:48] @ Quit: chip__: Remote closed the connection | ||
| [2009/04/27 11:17:38] @ fluxdude joined channel #puppet | ||
| [2009/04/27 11:18:29] <fluxdude> i think i've just found a puppet bug... I have an exec with refreshonly true, require a file + service and subscribe to a file. When the file updated, the exec triggered even though the service was not running and had not been triggered due to a failed dep on the service. | ||
| [2009/04/27 11:18:33] <fluxdude> any comments? | ||
| [2009/04/27 11:21:38] <Volcane> show the code | ||
| [2009/04/27 11:26:06] @ d3vilb0x joined channel #puppet | ||
| [2009/04/27 11:26:13] @ Quit: fujin: | ||
| [2009/04/27 11:26:18] @ jbooth joined channel #puppet | ||
| [2009/04/27 11:27:45] @ Quit: verwilst: "Ex-Chat" | ||
| [2009/04/27 11:27:59] @ Quit: HarryCalahan: "." | ||
| [2009/04/27 11:30:36] @ Quit: degr8hunt: Read error: 104 (Connection reset by peer) | ||
| [2009/04/27 11:32:49] @ Quit: pleemans: Read error: 110 (Connection timed out) | ||
| [2009/04/27 11:38:32] @ Quit: Deesl: | ||
| [2009/04/27 11:39:10] @ fujin joined channel #puppet | ||
| [2009/04/27 11:40:01] <fluxdude> is there a good user exists type function to check that a user exists on the system before launching an exec? | ||
| [2009/04/27 11:40:19] @ Quit: fujin: Client Quit | ||
| [2009/04/27 11:40:28] <SyTonnerre> require => User["franz"] | ||
| [2009/04/27 11:40:37] <fluxdude> SyTonnerre: ah, thanks...! | ||
| [2009/04/27 11:40:55] <Volcane> only if puppet is also making the user.... | ||
| [2009/04/27 11:41:05] <SyTonnerre> Volcane, sure | ||
| [2009/04/27 11:41:14] <SyTonnerre> .oO(But why would it not) | ||
| [2009/04/27 11:41:15] @ Quit: madrescher: Read error: 110 (Connection timed out) | ||
| [2009/04/27 11:41:25] * Volcane can think of a 100 reasons | ||
| [2009/04/27 11:42:10] <fluxdude> I think I may ditch this check actually... I don't want it to create a user if non exists, would rather it fail... | ||
| [2009/04/27 11:42:54] <Volcane> /usr/bin/id will return a compatible code | ||
| [2009/04/27 11:43:15] @ Quit: cedric_b: "Ex-Chat" | ||
| [2009/04/27 11:46:42] @ randybias|away is now known as randybias | ||
| [2009/04/27 11:53:48] @ Quit: jmarki: Remote closed the connection | ||
| [2009/04/27 11:56:39] @ rraphink is now known as raphink | ||
| [2009/04/27 11:56:43] @ Quit: shake-n-bake: | ||
| [2009/04/27 11:59:08] @ kingitchy joined channel #puppet | ||
| [2009/04/27 12:07:12] @ randybias is now known as randybias|away | ||
| [2009/04/27 12:07:49] @ Quit: MattyM: "ta ta" | ||
| [2009/04/27 12:09:41] @ vilemaxim joined channel #puppet | ||
| [2009/04/27 12:11:05] @ Quit: DasFx: Read error: 110 (Connection timed out) | ||
| [2009/04/27 12:13:12] <hMz> how are people making sure puppetd is still functional? Just the mutual trust/cron or nagios monitors or what? | ||
| [2009/04/27 12:13:22] @ Quit: Welsh_Dwarf: Read error: 104 (Connection reset by peer) | ||
| [2009/04/27 12:18:02] <Volcane> age of files in /var/lib/puppet | ||
| [2009/04/27 12:18:22] <Volcane> localconfig is when it last had a succesfull compiled result from the master | ||
| [2009/04/27 12:18:26] <Volcane> state.yaml is when it last ran | ||
| [2009/04/27 12:18:50] <hMz> and then hooking that into nagios? | ||
| [2009/04/27 12:19:03] <hMz> or some sort of cronspam | ||
| [2009/04/27 12:19:07] <Volcane> yes, or if you prefer to not monitor on each server, you can monitor the age of the yaml files on the master | ||
| [2009/04/27 12:19:41] @ Quit: masterzen: "Leaving" | ||
| [2009/04/27 12:19:45] <Volcane> i use nrpe on the clients | ||
| [2009/04/27 12:22:39] <vilemaxim> Sorry to bug you guy for a simple question, but I cannot seem to find the answer anywhere. I'm trying to create a file buy only if it does not exist. I want to create default content, but not overwrite the content of the file if the file exist. | ||
| [2009/04/27 12:23:15] <vilemaxim> Is that obvious somewhere in the docs that I missed? | ||
| [2009/04/27 12:23:25] <Volcane> look at the replace option to file{} | ||
| [2009/04/27 12:23:58] <vilemaxim> thanks | ||
| [2009/04/27 12:24:27] @ Quit: Innocenti: Read error: 113 (No route to host) | ||
| [2009/04/27 12:26:38] @ bla-bla_ joined channel #puppet | ||
| [2009/04/27 12:27:05] @ rdaugherty joined channel #puppet | ||
| [2009/04/27 12:27:55] <bla-bla_> hi | ||
| [2009/04/27 12:28:28] @ renchap joined channel #puppet | ||
| [2009/04/27 12:28:44] <bla-bla_> how to get the hostname of the node from puppet? I'm trying to create a directory based no the host name on the node. | ||
| [2009/04/27 12:28:55] <Volcane> $hostname | ||
| [2009/04/27 12:29:29] <bla-bla_> thanks, let me try | ||
| [2009/04/27 12:30:30] @ Quit: bajan: "Leaving." | ||
| [2009/04/27 12:30:54] <vilemaxim> is this bugging out for anyone else http://reductivelabs.com/trac/puppet/wiki/TypeReference | ||
| [2009/04/27 12:31:09] <agaffney> it was taking a long time to load for me yesterday | ||
| [2009/04/27 12:31:23] <agaffney> if that's what you mean | ||
| [2009/04/27 12:31:27] <vilemaxim> yep | ||
| [2009/04/27 12:31:33] <Volcane> http://nephilim.ml.org/~rip/puppet/historical/ I've an alternate copy of it | ||
| [2009/04/27 12:31:38] <Volcane> with older versions | ||
| [2009/04/27 12:31:45] <vilemaxim> thanks | ||
| [2009/04/27 12:33:00] <bla-bla_> it worked. Thanks | ||
| [2009/04/27 12:33:47] <vilemaxim> Volcane: replace is exactly what I needed.... thanks | ||
| [2009/04/27 12:33:59] <bla-bla_> The support server is very slow today. It's timing out with internal error | ||
| [2009/04/27 12:34:13] <bla-bla_> Trac detected an internal error: | ||
| [2009/04/27 12:34:24] @ WALoeIII joined channel #puppet | ||
| [2009/04/27 12:35:14] @ andrewcshafer joined channel #puppet | ||
| [2009/04/27 12:35:19] @ Quit: ericrw: Read error: 104 (Connection reset by peer) | ||
| [2009/04/27 12:37:28] @ Quit: briandquinn: | ||
| [2009/04/27 12:37:40] <bla-bla_> Volcane: How to we send/suggest a recipe to puppet recipe list? | ||
| [2009/04/27 12:37:53] <Volcane> its a wiki, you can just add it | ||
| [2009/04/27 12:38:03] <bla-bla_> ok | ||
| [2009/04/27 12:44:34] @ Quit: fbe_: Read error: 110 (Connection timed out) | ||
| [2009/04/27 12:45:10] <fluxdude> dang puppet is being soo buggy with dependencies in at the moment... I have just wasted 2 hours going over this... | ||
| [2009/04/27 12:45:25] @ Quit: DerekW: "Leaving" | ||
| [2009/04/27 12:45:56] <fluxdude> having two directory resources /var/lib/pgsql and /var/lib/pgsql/data it looks like puppet is confusing which one another resource wants, not sure if this is a dirname type bug... | ||
| [2009/04/27 12:45:59] <bla-bla_> Volcane: I do not see a edit button on the puppet recipe page | ||
| [2009/04/27 12:46:07] <bla-bla_> I see that only on main pages | ||
| [2009/04/27 12:47:15] @ randybias|away is now known as randybias | ||
| [2009/04/27 12:47:39] <phantez> you have to register | ||
| [2009/04/27 12:49:57] @ Quit: randybias: "Leaving..." | ||
| [2009/04/27 12:50:34] @ Quit: DavidS: Read error: 104 (Connection reset by peer) | ||
| [2009/04/27 12:54:11] @ jief- joined channel #puppet | ||
| [2009/04/27 12:54:26] <jief-> hello. how do you override something configured in a class when including it in another? | ||
| [2009/04/27 12:55:55] @ fdz1 left channel #puppet () | ||
| [2009/04/27 12:56:08] * chillitom packs up his laptop and prepares to head to the pub to meet other puppet peoples | ||
| [2009/04/27 12:56:34] <bla-bla_> Jief : take a look at page 49 of pulling string with puppet | ||
| [2009/04/27 12:56:55] <jief-> bla-bla_: what if i dont have that book? :P | ||
| [2009/04/27 12:57:08] <bla-bla_> then buy it :) | ||
| [2009/04/27 12:57:16] <bla-bla_> let me paste teh code | ||
| [2009/04/27 12:57:23] <jief-> we did, amazon's just not shipping fast tnough | ||
| [2009/04/27 12:58:33] <riddley> jamesturnbull, I'm not seeing my patch on puppet-dev, did it make it? | ||
| [2009/04/27 12:58:43] <bla-bla_> class redhat { | ||
| [2009/04/27 12:58:44] <bla-bla_> service { | ||
| [2009/04/27 12:58:46] <bla-bla_> "mdmdp": | ||
| [2009/04/27 12:58:47] <bla-bla_> enable => true, | ||
| [2009/04/27 12:58:49] <bla-bla_> ensure => stopped, | ||
| [2009/04/27 12:58:50] <bla-bla_> } | ||
| [2009/04/27 12:58:52] <bla-bla_> } | ||
| [2009/04/27 12:58:53] <bla-bla_> class rhel5 inherits redhat { | ||
| [2009/04/27 12:58:55] <bla-bla_> Service["mdmdp"] { ensure => running } | ||
| [2009/04/27 12:58:56] <bla-bla_> } | ||
| [2009/04/27 12:58:56] <riddley> jamesturnbull, I used my work address, which might not be whitelisted | ||
| [2009/04/27 12:58:58] <riddley> dude | ||
| [2009/04/27 12:59:04] <riddley> pastebin | ||
| [2009/04/27 13:00:12] @ Quit: glaw: Remote closed the connection | ||
| [2009/04/27 13:01:31] @ Quit: mikepea: Read error: 110 (Connection timed out) | ||
| [2009/04/27 13:02:15] @ alfism joined channel #puppet | ||
| [2009/04/27 13:03:07] @ Quit: bla-bla_: "ChatZilla 0.9.84 [Firefox 3.0.9/2009040821]" | ||
| [2009/04/27 13:09:33] <phantez> riddley: I guess you have to register to google group bot to be able tu use your work address | ||
| [2009/04/27 13:10:07] <riddley> I'll just change my git config | ||
| [2009/04/27 13:11:14] <riddley> worked! | ||
| [2009/04/27 13:11:53] @ mvn071 joined channel #puppet | ||
| [2009/04/27 13:14:27] @ incommon_ike joined channel #puppet | ||
| [2009/04/27 13:14:40] @ mib_gwjmap joined channel #puppet | ||
| [2009/04/27 13:14:48] @ Quit: mib_gwjmap: Client Quit | ||
| [2009/04/27 13:21:53] @ Quit: vilemaxim: "Ex-Chat" | ||
| [2009/04/27 13:22:04] <hMz> is everyone using something like daemontools on linux? | ||
| [2009/04/27 13:22:37] <grim_radical_> I use runit, on linux...I doubt that "everyone" is using that, though. :P | ||
| [2009/04/27 13:22:39] <phantez> I have used it but never with puppet, is there a problem ? | ||
| [2009/04/27 13:24:15] <melopt> hMz, I'm using straight daemontools on linux with puppet | ||
| [2009/04/27 13:24:33] <hMz> seems like my puppetds are dying only on linux boxes | ||
| [2009/04/27 13:24:41] <hMz> althogh, thats the only platform without the automagicrestartlove | ||
| [2009/04/27 13:27:02] <melopt> hMz, running pupet 0.24.8 on linux with supervise, centos5.{2,3} no problems, compiled from source | ||
| [2009/04/27 13:27:31] @ pleemans joined channel #puppet | ||
| [2009/04/27 13:29:17] @ madrescher joined channel #puppet | ||
| [2009/04/27 13:29:58] <hMz> i think i have the puppet shutdown problem | ||
| [2009/04/27 13:30:29] <melopt> hMz, in case you want to see the run script I use: http://pastie.textmate.org/private/ajzugspiifgkaesdctxqw | ||
| [2009/04/27 13:32:37] @ Quit: incommon_ike: "Leaving" | ||
| [2009/04/27 13:33:16] @ Bass10 joined channel #puppet | ||
| [2009/04/27 13:34:40] @ Quit: Bass10: SendQ exceeded | ||
| [2009/04/27 13:35:09] @ Bass10 joined channel #puppet | ||
| [2009/04/27 13:42:47] @ Quit: MarlondB: | ||
| [2009/04/27 13:49:24] @ Quit: rdaugherty: "Leaving." | ||
| [2009/04/27 13:49:26] @ rdaugherty1 joined channel #puppet | ||
| [2009/04/27 13:49:54] @ Quit: andrewcshafer: | ||
| [2009/04/27 13:52:46] <monachus> my puppets die periodically. i'm about to put them all under runit. | ||
| [2009/04/27 13:57:18] @ ezmob joined channel #puppet | ||
| [2009/04/27 13:59:20] @ alfism_ joined channel #puppet | ||
| [2009/04/27 13:59:50] @ Quit: alfism: Read error: 110 (Connection timed out) | ||
| [2009/04/27 14:06:42] @ afb left channel #puppet () | ||
| [2009/04/27 14:09:04] @ Quit: jief-: "Lost terminal" | ||
| [2009/04/27 14:12:38] @ DasFx joined channel #puppet | ||
| [2009/04/27 14:21:46] @ Quit: joe: Read error: 110 (Connection timed out) | ||
| [2009/04/27 14:26:18] @ Quit: kolla: Remote closed the connection | ||
| [2009/04/27 14:30:25] @ Quit: Risar: "Coyote finally caught me" | ||
| [2009/04/27 14:32:29] @ ijcd joined channel #puppet | ||
| [2009/04/27 14:37:44] @ ijcd_ joined channel #puppet | ||
| [2009/04/27 14:38:49] @ joe joined channel #puppet | ||
| [2009/04/27 14:41:53] @ andrewcshafer joined channel #puppet | ||
| [2009/04/27 14:44:06] @ cw_ joined channel #puppet | ||
| [2009/04/27 14:47:12] @ rdaugherty joined channel #puppet | ||
| [2009/04/27 14:47:12] @ Quit: rdaugherty1: Read error: 104 (Connection reset by peer) | ||
| [2009/04/27 14:47:49] <rektide> anyone see or write any good Puppet-oriented replies to the slashdot article on managing packages ? | ||
| [2009/04/27 14:48:03] @ pheezy joined channel #puppet | ||
| [2009/04/27 14:54:57] @ Quit: ijcd: Read error: 110 (Connection timed out) | ||
| [2009/04/27 14:58:16] @ Quit: pleemans: Read error: 60 (Operation timed out) | ||
| [2009/04/27 15:00:42] @ Quit: mfoster: Read error: 110 (Connection timed out) | ||
| [2009/04/27 15:05:43] @ rdaugherty1 joined channel #puppet | ||
| [2009/04/27 15:06:04] @ Quit: rdaugherty: Read error: 104 (Connection reset by peer) | ||
| [2009/04/27 15:09:12] @ shake-n-bake joined channel #puppet | ||
| [2009/04/27 15:11:21] @ coofamani joined channel #puppet | ||
| [2009/04/27 15:16:43] @ fbe_ joined channel #puppet | ||
| [2009/04/27 15:22:49] @ Quit: aymerick: "kit mais sage" | ||
| [2009/04/27 15:25:21] <coofamani> I surrender. If I want to be able to specify variables in a node definition, and those variables should be inserted in a template, how the heck to I do it. I tried a definition that accepts the variable and calls the template, but it seems like no matter what I do the variables in a node{} are out of scope | ||
| [2009/04/27 15:25:53] @ Quit: gaveen: Connection timed out | ||
| [2009/04/27 15:26:48] @ gaveen joined channel #puppet | ||
| [2009/04/27 15:27:07] @ pleemans joined channel #puppet | ||
| [2009/04/27 15:29:42] <Hollow> coofamani: http://git.xnull.de/gitweb/?p=puppet-modules.git;a=blob;f=modules/common/plugins/puppet/parser/functions/get_var.rb | ||
| [2009/04/27 15:30:04] <coofamani> will check that out, thanks Hollow | ||
| [2009/04/27 15:30:06] <Hollow> this function will find your variable and also provide sane defaults | ||
| [2009/04/27 15:30:37] <Hollow> get_var("my_config_option", "default_value") | ||
| [2009/04/27 15:30:54] @ cw_ left channel #puppet () | ||
| [2009/04/27 15:31:10] <coofamani> the get_var() function call needs to go in a define or can it be in a class? | ||
| [2009/04/27 15:31:27] @ Quit: shake-n-bake: | ||
| [2009/04/27 15:31:33] <Hollow> i think both is ok, but i currently only use it in classes | ||
| [2009/04/27 15:31:44] <coofamani> nice, that's what I would prefer. thanks again | ||
| [2009/04/27 15:32:27] @ randybias joined channel #puppet | ||
| [2009/04/27 15:32:56] @ Quit: rdaugherty1: "Leaving." | ||
| [2009/04/27 15:32:57] @ rdaugherty joined channel #puppet | ||
| [2009/04/27 15:37:15] @ mfoster joined channel #puppet | ||
| [2009/04/27 15:37:18] @ shake-n-bake joined channel #puppet | ||
| [2009/04/27 15:39:15] @ ezmob is now known as ezmob|away | ||
| [2009/04/27 15:40:57] @ Quit: shake-n-bake: Client Quit | ||
| [2009/04/27 15:41:33] @ ezmob|away is now known as ezmob | ||
| [2009/04/27 15:44:04] @ rraphink joined channel #puppet | ||
| [2009/04/27 15:44:56] @ Quit: raphink: Read error: 113 (No route to host) | ||
| [2009/04/27 15:45:41] @ ijcd joined channel #puppet | ||
| [2009/04/27 15:57:06] <Ned_> has anyone seen 'Could not autoload "/usr/lib/ruby/1.8/puppet/provider/service/launchd.rb": no such file to load -- facter/util/plist' before ? | ||
| [2009/04/27 15:57:11] @ Quit: alfism_: "Connection reset by beer" | ||
| [2009/04/27 15:58:51] @ randybias is now known as randybias|away | ||
| [2009/04/27 15:58:56] @ briandqui joined channel #puppet | ||
| [2009/04/27 15:59:56] <ashp> argh i am so terrible at facter facts | ||
| [2009/04/27 16:00:23] <phantez> Ned_: how that happens ? | ||
| [2009/04/27 16:00:31] <Ned_> phantez: whenever puppet runs | ||
| [2009/04/27 16:00:41] <Ned_> it looks like something in facter is causing it | ||
| [2009/04/27 16:00:51] <Ned_> phantez: it doesn't appear to affect the operation in any significant way | ||
| [2009/04/27 16:00:56] <Ned_> (i.e. puppet is still working) | ||
| [2009/04/27 16:01:03] <Ned_> but I'm getting emailed about it a bunch :-( | ||
| [2009/04/27 16:01:30] @ Quit: briandqui: Client Quit | ||
| [2009/04/27 16:02:29] <ashp> hmm annoying, if a fact has a syntax error in it | ||
| [2009/04/27 16:02:39] <ashp> it'll try to parse it and fail before it does 'retrieving facts' | ||
| [2009/04/27 16:02:43] <ashp> so I had to manually delete it. | ||
| [2009/04/27 16:02:59] <phantez> can you launch puppetd with --trace and past the output | ||
| [2009/04/27 16:03:06] <Ned_> phantez: me?, sure | ||
| [2009/04/27 16:03:19] <phantez> Ned_: past it on a pastbin like | ||
| [2009/04/27 16:03:34] @ Quit: plathrop: "leaving" | ||
| [2009/04/27 16:03:41] <Ned_> http://paste.dollyfish.net.nz/8fdc24.txt | ||
| [2009/04/27 16:03:51] @ plathrop joined channel #puppet | ||
| [2009/04/27 16:04:30] <phantez> which version of puppet are you using ? | ||
| [2009/04/27 16:04:41] <Ned_> 0.24.8-1 | ||
| [2009/04/27 16:04:46] <Ned_> (in Debian | ||
| [2009/04/27 16:04:47] <Ned_> ) | ||
| [2009/04/27 16:06:18] @ Quit: ijcd_: Read error: 110 (Connection timed out) | ||
| [2009/04/27 16:07:34] <ashp> hmm, anyone remember how to get facter to read puppet facts too from the command line | ||
| [2009/04/27 16:07:37] <ashp> so i can test them? | ||
| [2009/04/27 16:07:40] <phantez> you should fill a bug | ||
| [2009/04/27 16:07:49] <ashp> is it just -p? | ||
| [2009/04/27 16:08:24] <phantez> facter -p virtual | ||
| [2009/04/27 16:08:32] <ashp> it doesn't seem to work, hmm | ||
| [2009/04/27 16:08:33] <phantez> for example | ||
| [2009/04/27 16:08:35] @ Quit: plathrop: Client Quit | ||
| [2009/04/27 16:08:43] @ plathrop joined channel #puppet | ||
| [2009/04/27 16:08:44] <ashp> -sh-3.2# facter -p admport | ||
| [2009/04/27 16:08:45] <ashp> -sh-3.2# | ||
| [2009/04/27 16:08:49] <phantez> just type facter | ||
| [2009/04/27 16:08:54] <ashp> i use that fact in puppet all the time | ||
| [2009/04/27 16:08:56] <ashp> so i know it exists | ||
| [2009/04/27 16:09:03] <ashp> facter alone isn't calling the /etc/puppet/facts | ||
| [2009/04/27 16:09:26] <phantez> facter -p is not calling /etc/puppet/facts I guess | ||
| [2009/04/27 16:10:58] <ashp> i was trying to get away with this in irb to test it | ||
| [2009/04/27 16:11:01] <ashp> => #<Facter::Util::Fact:0x2b8585c33c38 @value=nil, @searching=false, @resolves=[#<Facter::Util::Resolution:0x2b8585c337b0 @value=nil, @code=#<Proc:0x00002b8585c34188@(irb):4>, @timeout=0, @name=:apachelistening443, @confines=[#<Facter::Util::Confine:0x2b8585c32cc0 @values=["RedHat"], @fact="operatingsystem">]>], @ldapname="apachelistening443", @name=:apachelistening443> | ||
| [2009/04/27 16:11:07] <ashp> i guess the fact is created at least | ||
| [2009/04/27 16:11:13] <ashp> I just can't test the output :( | ||
| [2009/04/27 16:12:31] <ashp> oh i guess I should do if $var == "true" or something rather than just if $var, as it's always existing I suppose, even if it's blank | ||
| [2009/04/27 16:13:37] @ Quit: d3vilb0x: Read error: 110 (Connection timed out) | ||
| [2009/04/27 16:17:25] @ Quit: pleemans: Read error: 60 (Operation timed out) | ||
| [2009/04/27 16:21:28] @ bla-bla joined channel #puppet | ||
| [2009/04/27 16:21:47] @ randybias|away is now known as randybias | ||
| [2009/04/27 16:22:44] <bla-bla> hi, what is the best way to copy a directory from master to slave? u want to copy files from '/usr/lib/nagios/plugins/* ' on my master to 'var/lib/nagios/plugins' on node | ||
| [2009/04/27 16:23:45] @ briandqui joined channel #puppet | ||
| [2009/04/27 16:34:56] @ sebas891 joined channel #puppet | ||
| [2009/04/27 16:35:36] <ashp> hmm: in a fact can I do: | ||
| [2009/04/27 16:35:50] <ashp> txt = File.read("/etc/httpd/conf.d/ssl.conf") | ||
| [2009/04/27 16:35:51] <ashp> if txt =~ /^Listen 443$/ | ||
| [2009/04/27 16:35:51] <ashp> "true" | ||
| [2009/04/27 16:35:51] <ashp> end | ||
| [2009/04/27 16:37:38] @ coofamani left channel #puppet () | ||
| [2009/04/27 16:39:08] <sebas891> hi folks, I'm a little new to puppet. Thanks for this great software. | ||
| [2009/04/27 16:40:37] <sebas891> I've a problem with a recipe with and exec statement, I get this error. err: //Node[walsh]/Ltsp::Buildclient[dist]/Exec[ltsp-build-client]/returns: change from notrun to 0 failed: /usr/sbin/ltsp-build-client: line 9: lsb_release: command not found | ||
| [2009/04/27 16:41:11] <ashp> ok this is REALLY annoying, i've hit a bug and it's annoying as hell (sometimes a puppetd -tv run fails with a syntax error, sometimes it works perfectly fine) | ||
| [2009/04/27 16:41:24] <ashp> sebas891: what is line 9? | ||
| [2009/04/27 16:41:27] <ashp> stick it on pastebin.com | ||
| [2009/04/27 16:41:34] <agaffney> sebas891: probably because it can't find lsb_release...did you set a path? | ||
| [2009/04/27 16:41:35] <phantez> you have a syntax error, but it works when you it the cache =) | ||
| [2009/04/27 16:41:37] <ashp> like the whole exec | ||
| [2009/04/27 16:41:40] <phantez> hit | ||
| [2009/04/27 16:41:47] <sebas891> "line 9: lsb_release: command not found" any idea where it's come from? | ||
| [2009/04/27 16:42:12] <ashp> phantez: i guess, it's weird that no other node is having a problem, the error is just at the end of the file too, it's annoying | ||
| [2009/04/27 16:42:17] <ashp> sebas891: you probably have like exec { "lsb_release" and it's trying to run exactly that, without a path | ||
| [2009/04/27 16:42:19] <sebas891> ah a path let see. path => "/bin:/usr/sbin", | ||
| [2009/04/27 16:42:21] <score> sebas891: are you running linux? if so, what distro? | ||
| [2009/04/27 16:42:25] <bla-bla> try to do 'whereis lbs_release' | ||
| [2009/04/27 16:42:31] <ashp> phantez: i can restart puppetmaster and puppetd -tv on another node and it works fine, it's very odd | ||
| [2009/04/27 16:42:38] <score> sebas891: for ubuntu/debian you need the 'lsb-release' package | ||
| [2009/04/27 16:42:41] <agaffney> actually, it looks like the exec line is running /usr/sbin/ltsp-build-client which is trying to run lsb_release | ||
| [2009/04/27 16:42:58] <sebas891> the master puppet is on debian lenny and the puppet node are on ubuntu. | ||
| [2009/04/27 16:43:04] <phantez> ashp: no idea :( | ||
| [2009/04/27 16:43:34] <pheezy> should i always use modules instead of manifests? | ||
| [2009/04/27 16:44:32] <sebas891> ashp score, thanks for the pointer. | ||
| [2009/04/27 16:44:53] <sebas891> i'm installing lsb-release on the puppetmaster. | ||
| [2009/04/27 16:45:54] <agaffney> sebas891: you shouldn't need it on the puppetmaster unless it's running there | ||
| [2009/04/27 16:46:09] <sebas891> agaffney: ok. | ||
| [2009/04/27 16:46:43] <bla-bla> any hints on how to move files from master to slave? | ||
| [2009/04/27 16:46:55] <sebas891> I think, I'm missing something in the paths like... . /usr/bin/ | ||
| [2009/04/27 16:47:18] @ alfism joined channel #puppet | ||
| [2009/04/27 16:48:55] <sebas891> ashp: that was the problem, I forgot the path /usr/bin, I had /sbin:/usr/sbin thanks :) | ||
| [2009/04/27 16:49:21] <agaffney> sebas891: that's what I said :) | ||
| [2009/04/27 16:50:12] <sebas891> agaffney: yes, thanks to you too! you said it first :) | ||
| [2009/04/27 16:50:23] <agaffney> heh | ||
| [2009/04/27 16:55:31] <sebas891> what happen if the exec command produces output, does puppet sees it has failed command ? | ||
| [2009/04/27 16:56:16] <sebas891> there are some commands which I cannot silence... | ||
| [2009/04/27 16:56:42] <bda> It uses the return code ($?) of the process to determine failure. | ||
| [2009/04/27 16:56:44] <sebas891> I get " returned 1 instead of 0 " in the puppet debug. | ||
| [2009/04/27 16:57:10] <agaffney> which means failure | ||
| [2009/04/27 16:57:17] <agaffney> well, in most cases | ||
| [2009/04/27 16:57:30] <score> sebas891: should look at http://reductivelabs.com/trac/puppet/wiki/TypeReference#exec | ||
| [2009/04/27 16:59:16] @ Quit: briandqui: Read error: 104 (Connection reset by peer) | ||
| [2009/04/27 16:59:17] <sebas891> ok... then, I'll try to control the output in the command sent to exec. | ||
| [2009/04/27 16:59:38] <agaffney> the exit code is independent of the output | ||
| [2009/04/27 16:59:48] <agaffney> and you can *always* silence output | ||
| [2009/04/27 16:59:58] <agaffney> &>/dev/null is your friend | ||
| [2009/04/27 17:00:28] <sebas891> I was thinking about that. | ||
| [2009/04/27 17:00:56] <sebas891> thanks score for the reference. | ||
| [2009/04/27 17:01:43] <sebas891> http://reductivelabs.com/trac/puppet/wiki/TypeReference#exec that would be cool to put a example a little bit more complex there. | ||
| [2009/04/27 17:04:38] <sebas891> puppet is sssooooo cool! | ||
| [2009/04/27 17:05:25] <agaffney> sebas891: that example there is only to illustrate the point about the aliases | ||
| [2009/04/27 17:05:38] <agaffney> not as a definitive example of how to use it | ||
| [2009/04/27 17:05:39] <sebas891> agaffney: I solve the problem with your suggestion and added the creates => "/opt/ltsp/i386" parameter | ||
| [2009/04/27 17:07:45] <sebas891> I see what you mean, than a another example would nice to have. something focus on the exec and its possible parameters. | ||
| [2009/04/27 17:09:03] <pheezy> how is that puppet book? | ||
| [2009/04/27 17:12:01] <jrojas> pheezy: its good to get people started | ||
| [2009/04/27 17:12:11] <jrojas> pheezy: i have one around for reference | ||
| [2009/04/27 17:13:25] <pheezy> does it go into some pretty advanced examples | ||
| [2009/04/27 17:13:30] <pheezy> you know, things that make you go "hmm..." | ||
| [2009/04/27 17:14:23] <agaffney> there's a puppet book? | ||
| [2009/04/27 17:15:17] @ randybias is now known as randybias|away | ||
| [2009/04/27 17:15:31] <agaffney> http://www.borders.com/online/store/TitleDetail?sku=1590599780 ? or is there a different one? | ||
| [2009/04/27 17:15:41] <pheezy> no that's the one | ||
| [2009/04/27 17:15:49] <Cuchulain> you can get it as an ebook too | ||
| [2009/04/27 17:16:42] <agaffney> I'd rather have the dead-tree edition | ||
| [2009/04/27 17:18:24] <jrojas> agaffney: +1 for dead tree. +2 for kindle :) | ||
| [2009/04/27 17:18:39] <agaffney> no kindle | ||
| [2009/04/27 17:18:59] <agaffney> while it's a cool concept, I'm not paying that much just to have to keep paying more for books | ||
| [2009/04/27 17:20:26] @ Quit: nmalik: "leaving" | ||
| [2009/04/27 17:21:58] <ChoHag> Given two integers, how do you have a template iterate from one to the other? | ||
| [2009/04/27 17:22:12] <jrojas> .each | ||
| [2009/04/27 17:22:50] @ rberger joined channel #puppet | ||
| [2009/04/27 17:23:03] <ChoHag> Helpful. | ||
| [2009/04/27 17:23:23] <jrojas> ChoHag: http://www.ruby-doc.org/stdlib/libdoc/erb/rdoc/ | ||
| [2009/04/27 17:23:37] @ Quit: babatoko: "KVIrc 3.4.0 Virgo http://www.kvirc.net/" | ||
| [2009/04/27 17:23:38] <jrojas> ChoHag: your question wasnt really informative either | ||
| [2009/04/27 17:24:35] <ChoHag> Given two integers, we'll call them fred who is 4, and jim who is 9, how do you iterate over the array of all integers from fred (4) to jim (9)? | ||
| [2009/04/27 17:25:34] <jrojas> arrayname.each do |item| | ||
| [2009/04/27 17:25:42] <jrojas> puts item | ||
| [2009/04/27 17:25:43] <jrojas> end | ||
| [2009/04/27 17:26:05] <ChoHag> OK, jim and fred are integers, not an array. | ||
| [2009/04/27 17:26:10] <jrojas> ah | ||
| [2009/04/27 17:26:18] <ChoHag> Hence 'Given two integers' | ||
| [2009/04/27 17:26:23] <jrojas> ok so, 4..9 i think | ||
| [2009/04/27 17:26:25] <jrojas> something like that | ||
| [2009/04/27 17:26:31] @ Quit: axisys: Connection timed out | ||
| [2009/04/27 17:26:44] <ChoHag> And if they're variables? | ||
| [2009/04/27 17:28:44] @ kambiz is now known as kambiz_away | ||
| [2009/04/27 17:28:51] <jrojas> h (a..b).each {|n| puts "number #{n}" } | ||
| [2009/04/27 17:28:53] <jrojas> err | ||
| [2009/04/27 17:29:15] <jrojas> (fred..jim).each {|n| puts "number #{n}" } | ||
| [2009/04/27 17:29:27] <jrojas> that is assuming that jim > fred | ||
| [2009/04/27 17:29:30] @ nmalik joined channel #puppet | ||
| [2009/04/27 17:30:31] <ChoHag> Good. Now if jim is not known but (jim-fred) is? | ||
| [2009/04/27 17:30:38] <ChoHag> We'll cann him ben. | ||
| [2009/04/27 17:30:39] <ChoHag> call | ||
| [2009/04/27 17:31:18] <ChoHag> In perl, foreach ($fred .. ($fred + $ben)), except that perl hasn't OVERLOADED THE BLOODY ADDITION OPERATOR. | ||
| [2009/04/27 17:32:02] @ Quit: erm_: Read error: 60 (Operation timed out) | ||
| [2009/04/27 17:32:58] @ Quit: mvn071: "Leaving" | ||
| [2009/04/27 17:34:12] @ mvn071 joined channel #puppet | ||
| [2009/04/27 17:47:00] @ Risar joined channel #puppet | ||
| [2009/04/27 17:47:42] @ randybias|away is now known as randybias | ||
| [2009/04/27 17:49:54] @ Quit: pheezy: "Leaving..." | ||
| [2009/04/27 17:55:38] @ Quit: mvn071: "Leaving" | ||
| [2009/04/27 17:57:11] <jbooth> ChoHag: so cast them to integers? You're probably operating on strings, so yes they add like strings do? | ||
| [2009/04/27 17:58:20] @ joe-mac left channel #puppet () | ||
| [2009/04/27 18:01:06] @ Quit: rraphink: Read error: 113 (No route to host) | ||
| [2009/04/27 18:01:12] @ lak joined channel #puppet | ||
| [2009/04/27 18:01:13] <jrojas> ChoHag: (fred..(fred.to_i + ben)).each {|num| puts "#{num}" } | ||
| [2009/04/27 18:01:22] <jrojas> err | ||
| [2009/04/27 18:01:46] <jrojas> (fred.to_i..(fred.to_i + ben)).each {|num| puts "#{num}" } | ||
| [2009/04/27 18:02:48] <jrojas> if fred has no value then it will be 0 when converting it to an integer | ||
| [2009/04/27 18:08:38] @ claymation_ joined channel #puppet | ||
| [2009/04/27 18:08:38] @ Quit: claymation: Read error: 54 (Connection reset by peer) | ||
| [2009/04/27 18:09:18] <agaffney> how would I go about changing the puppet server that a client uses via puppet? | ||
| [2009/04/27 18:09:35] <agaffney> for example, could I just push a new puppet.conf with an updated 'server' line? | ||
| [2009/04/27 18:09:49] @ mvn071 joined channel #puppet | ||
| [2009/04/27 18:12:28] @ Quit: mvn071: Client Quit | ||
| [2009/04/27 18:20:27] @ oxtail joined channel #puppet | ||
| [2009/04/27 18:20:28] @ Quit: bla-bla: "ChatZilla 0.9.84 [Firefox 3.0.9/2009040821]" | ||
| [2009/04/27 18:21:56] @ d3vilb0x joined channel #puppet | ||
| [2009/04/27 18:23:20] @ claymation joined channel #puppet | ||
| [2009/04/27 18:24:42] @ randybias is now known as randybias|away | ||
| [2009/04/27 18:25:27] @ sebas891 left channel #puppet ("Leaving.") | ||
| [2009/04/27 18:33:29] @ axisys joined channel #puppet | ||
| [2009/04/27 18:36:45] @ Quit: claymation_: Read error: 110 (Connection timed out) | ||
| [2009/04/27 18:41:57] @ Quit: andrewcshafer: Read error: 110 (Connection timed out) | ||
| [2009/04/27 18:45:16] @ randybias|away is now known as randybias | ||
| [2009/04/27 18:46:00] @ Quit: claymation: | ||
| [2009/04/27 18:48:31] @ Quit: rellis__: Read error: 104 (Connection reset by peer) | ||
| [2009/04/27 18:49:01] <jamesturnbull> agaffney: or override the command line with a new --server option | ||
| [2009/04/27 18:50:03] <agaffney> jamesturnbull: and what files do I need to copy from the old puppet master so they don't need to request new certs? | ||
| [2009/04/27 18:57:17] @ madrescher1 joined channel #puppet | ||
| [2009/04/27 18:57:20] @ andrewcshafer joined channel #puppet | ||
| [2009/04/27 18:59:39] @ jmarki joined channel #puppet | ||
| [2009/04/27 19:01:01] @ sigmonsays joined channel #puppet | ||
| [2009/04/27 19:02:20] @ mfoster left channel #puppet () | ||
| [2009/04/27 19:05:24] @ Quit: lak: | ||
| [2009/04/27 19:07:05] @ Quit: madrescher: Read error: 110 (Connection timed out) | ||
| [2009/04/27 19:13:30] @ Quit: oxtail: Read error: 104 (Connection reset by peer) | ||
| [2009/04/27 19:14:01] @ erm_ joined channel #puppet | ||
| [2009/04/27 19:16:15] <agaffney> if I'm migrating clients from an existing puppetmaster to a new one, what's the easiest way? I know I can use puppet itself to modify the puppet config on the clients to point to the new server. what should I copy from the old server to the new so I don't have to regen certs or anything like that? | ||
| [2009/04/27 19:16:59] <jrojas> copy the /var/lib/puppet/ssl dir form the master | ||
| [2009/04/27 19:17:07] <Volcane> is your hostname changing? | ||
| [2009/04/27 19:17:34] <jrojas> thats a good question :) | ||
| [2009/04/27 19:17:49] <Volcane> cos if it is, then your ssl certs all need redoing | ||
| [2009/04/27 19:25:47] @ StyleWarz left channel #puppet ("/part my ass.") | ||
| [2009/04/27 19:28:14] <agaffney> Volcane: it is | ||
| [2009/04/27 19:28:31] @ Quit: d3vilb0x: | ||
| [2009/04/27 19:28:35] <agaffney> however, can't I add the hostname of the old server as a certdnsalias? | ||
| [2009/04/27 19:28:40] <Volcane> nighamre | ||
| [2009/04/27 19:29:00] <agaffney> well, I've only got 6 clients on the old server | ||
| [2009/04/27 19:29:06] <agaffney> better now than when I've got 30 or 40 | ||
| [2009/04/27 19:29:24] <Volcane> the right thing to do is to add a cname, set it up to talk to the cname | ||
| [2009/04/27 19:29:32] <Volcane> then you can move things around all you want in future | ||
| [2009/04/27 19:29:47] <Volcane> and if you use 'puppet' as the cname, then it will just work by default | ||
| [2009/04/27 19:30:16] @ Quit: kingitchy: Read error: 104 (Connection reset by peer) | ||
| [2009/04/27 19:30:59] @ nicholashubbard joined channel #puppet | ||
| [2009/04/27 19:31:23] <nicholashubbard> hey guys right now we have a node that looks like this: | ||
| [2009/04/27 19:31:25] <nicholashubbard> node 'something.example.com' { | ||
| [2009/04/27 19:31:25] <nicholashubbard> tag("public_ssh_allowed") | ||
| [2009/04/27 19:31:25] <nicholashubbard> include base | ||
| [2009/04/27 19:31:26] <nicholashubbard> } | ||
| [2009/04/27 19:32:20] <nicholashubbard> we are moving things to ldap so can't use tag anymore anyone have any suggestions on alternatives... basically base has a include openssh::client that adds the public ip if this tag is set | ||
| [2009/04/27 19:32:38] <jrojas> nicholashubbard: use pastie, and try tag => "tagname", | ||
| [2009/04/27 19:32:41] <Volcane> why not just use a variable instead? | ||
| [2009/04/27 19:32:55] <jrojas> oh nvermind my last half | ||
| [2009/04/27 19:33:04] <nicholashubbard> yeah i did use pastie just the copy of the url didn't work so well, sorry | ||
| [2009/04/27 19:33:17] @ kingitchy joined channel #puppet | ||
| [2009/04/27 19:33:20] <jrojas> Volcane: i image he wants it to be a bit dynamic | ||
| [2009/04/27 19:33:36] <nicholashubbard> Volcane: yeah I wanted to use a variable, but if i define a variable on that node then include base doesn't have it does it? | ||
| [2009/04/27 19:33:51] <jrojas> nicholashubbard: it should. | ||
| [2009/04/27 19:33:56] <Volcane> nicholashubbard: it does, its only if you did node inheritance that it wouldnt | ||
| [2009/04/27 19:34:01] <jrojas> nicholashubbard: search the wiki for variable inheritence | ||
| [2009/04/27 19:34:26] <nicholashubbard> oh...ha thats right that is why we just moved away from node inheritance to the class.....argh doing to much at once these days | ||
| [2009/04/27 19:34:53] <nicholashubbard> ok guys thanks for that | ||
| [2009/04/27 19:36:43] @ fujin joined channel #puppet | ||
| [2009/04/27 19:40:40] @ d3vilb0x joined channel #puppet | ||
| [2009/04/27 19:42:08] @ Quit: andrewcshafer: | ||
| [2009/04/27 19:42:40] @ Quit: nicholashubbard: | ||
| [2009/04/27 19:42:51] <fujin> fluxdude: getent passwd|grep user | ||
| [2009/04/27 19:42:51] <fujin> ? | ||
| [2009/04/27 19:43:03] <fujin> !!Etc.getpwnam("username") | ||
| [2009/04/27 19:43:19] @ kingitchy_ joined channel #puppet | ||
| [2009/04/27 19:49:16] @ randybias is now known as randybias|away | ||
| [2009/04/27 19:49:35] @ Quit: cwebber: | ||
| [2009/04/27 19:51:53] @ Toad joined channel #puppet | ||
| [2009/04/27 19:51:59] <Toad> Hey all | ||
| [2009/04/27 19:52:06] <Toad> I've got a virtual resource for a package that several classes want to include | ||
| [2009/04/27 19:52:10] <Toad> (some nodes may include multiple classes) | ||
| [2009/04/27 19:52:29] <plathrop> I know there have been some threads about htis, but I can't track one down... what's the best way to be sure puppet is running? I thought there was a file you should check the age of...? | ||
| [2009/04/27 19:52:31] <Toad> I need another resource in one of those classes to require => the realized virtual resource | ||
| [2009/04/27 19:52:44] <Toad> any way to do that? If I do require => [Package[foo]] it says that package foo does not exist | ||
| [2009/04/27 19:56:29] <jrojas> plathrop: one of the yaml files in /var/lib/puppet/(localstate?) | ||
| [2009/04/27 19:56:44] <plathrop> jrojas: That sounds like what I remember | ||
| [2009/04/27 19:58:28] <jrojas> Toad: that is sort of interesting, the package doesnt exist because it hasnt been realized in that class, you may want to look at this http://reductivelabs.com/trac/puppet/wiki/ExportedResources | ||
| [2009/04/27 19:59:26] @ Quit: kingitchy: Read error: 110 (Connection timed out) | ||
| [2009/04/27 19:59:42] <jrojas> Toad: also, you can realize a virtual resource numerous times.. maybe just add a realize in there ? | ||
| [2009/04/27 19:59:47] <jrojas> see what happens :) | ||
| [2009/04/27 20:00:12] @ mfoster joined channel #puppet | ||
| [2009/04/27 20:00:27] <jrojas> whoa | ||
| [2009/04/27 20:00:30] <jrojas> has anyone seen this? http://www.kanarip.com/courses/PuppetWorkshop.html | ||
| [2009/04/27 20:00:40] @ Demosthenes joined channel #puppet | ||
| [2009/04/27 20:00:52] <jrojas> looks a little out of date, but its cool that its around | ||
| [2009/04/27 20:04:29] * JD finally gets home | ||
| [2009/04/27 20:05:10] * JD waves to anyone he met tonight | ||
| [2009/04/27 20:07:12] @ andrewcshafer joined channel #puppet | ||
| [2009/04/27 20:10:50] @ randybias|away is now known as randybias | ||
| [2009/04/27 20:18:02] @ Quit: kingitchy_: | ||
| [2009/04/27 20:18:37] @ Quit: Bass10: Read error: 110 (Connection timed out) | ||
| [2009/04/27 20:20:51] <Toad> jrojas: it has been realized in that class | ||
| [2009/04/27 20:21:01] <Toad> but it doesn't seem to see it for the require => directive anyway | ||
| [2009/04/27 20:27:26] @ Quit: jmarki: Remote closed the connection | ||
| [2009/04/27 20:32:24] <edwardam> Are facter facts available in erbs ? | ||
| [2009/04/27 20:33:43] @ Quit: randybias: "Leaving..." | ||
| [2009/04/27 20:39:42] @ mikepea_ joined channel #puppet | ||
| [2009/04/27 20:41:04] <jrojas> edwardam: yes. | ||
| [2009/04/27 20:43:21] <edwardam> figured it out ... was using $ ... which is wrong obviously | ||
| [2009/04/27 20:43:59] @ Quit: mfoster: Remote closed the connection | ||
| [2009/04/27 20:50:59] @ Quit: Demosthenes: "leaving" | ||
| [2009/04/27 20:53:07] @ Quit: zamba: "leaving" | ||
| [2009/04/27 20:54:24] @ etaylor joined channel #puppet | ||
| [2009/04/27 20:58:50] @ ijcd left channel #puppet () | ||
| [2009/04/27 21:01:22] @ Quit: madrescher1: Read error: 113 (No route to host) | ||
| [2009/04/27 21:01:38] @ Quit: ezmob: "Bye!" | ||
| [2009/04/27 21:07:17] @ Quit: rdaugherty: "Leaving." | ||
| [2009/04/27 21:11:09] @ Quit: euph: Read error: 60 (Operation timed out) | ||
| [2009/04/27 21:13:18] @ euph joined channel #puppet | ||
| [2009/04/27 21:23:17] @ Quit: Toad: "leaving" | ||
| [2009/04/27 21:27:18] @ maxagaz joined channel #puppet | ||
| [2009/04/27 21:27:22] @ Quit: alfism: "Connection reset by beer" | ||
| [2009/04/27 21:32:54] @ nakano_ is now known as nakano | ||
| [2009/04/27 21:38:33] @ WALoeIII_ joined channel #puppet | ||
| [2009/04/27 21:39:16] @ Quit: WALoeIII_: Client Quit | ||
| [2009/04/27 21:49:15] @ kingitchy joined channel #puppet | ||
| [2009/04/27 21:50:42] @ Quit: fujin: | ||
| [2009/04/27 21:55:45] @ Quit: WALoeIII: Read error: 113 (No route to host) | ||
| [2009/04/27 21:59:04] @ WALoeIII joined channel #puppet | ||
| [2009/04/27 21:59:48] @ Quit: mikepea_: | ||
| [2009/04/27 22:11:37] @ randybias joined channel #puppet | ||
| [2009/04/27 22:24:11] @ fujin joined channel #puppet | ||
| [2009/04/27 22:34:31] @ PaulWay joined channel #puppet | ||
| [2009/04/27 22:36:08] @ collier_s joined channel #puppet | ||
| [2009/04/27 22:37:28] <score> does the camptocamp guy hang out here? | ||
| [2009/04/27 23:13:12] @ Cuchulai1 joined channel #puppet | ||
| [2009/04/27 23:13:37] @ Quit: Cuchulain: Read error: 60 (Operation timed out) | ||
| [2009/04/27 23:16:15] @ ezmob joined channel #puppet | ||
| [2009/04/27 23:47:01] @ Quit: Cuchulai1: Remote closed the connection | ||
| [2009/04/27 23:47:04] @ Cuchulain joined channel #puppet | ||
| [2009/04/27 23:49:40] @ cwebber joined channel #puppet |
Generated by irclog2html.py 2.6 by Marius Gedminas - find it at mg.pov.lt!