| [2009/12/24 00:07:51] @ Log started by gepetto_ | ||
| [2009/12/24 00:07:51] <jbu> I just got a "err: State got corrupted" when running 'puppet -t', how to recover from that ? | ||
| [2009/12/24 00:08:03] @ jbu is now known as tjoe | ||
| [2009/12/24 00:08:58] @ Disconnect joined channel #puppet | ||
| [2009/12/24 00:20:33] @ rickbradley is now known as rickbradley|away | ||
| [2009/12/24 00:23:57] @ jfreeman joined channel #puppet | ||
| [2009/12/24 00:27:49] @ vinci joined channel #puppet | ||
| [2009/12/24 00:29:09] @ Quit: jfreeman: Remote closed the connection | ||
| [2009/12/24 00:31:11] @ Quit: jayvee: "Leaving." | ||
| [2009/12/24 00:34:34] @ rickbradley|away is now known as rickbradley | ||
| [2009/12/24 00:35:53] @ bug joined channel #puppet | ||
| [2009/12/24 00:43:01] @ Quit: lero: "Leaving..." | ||
| [2009/12/24 00:46:47] @ Djelibeybi joined channel #puppet | ||
| [2009/12/24 00:52:22] @ jayvee joined channel #puppet | ||
| [2009/12/24 00:57:45] @ Quit: Djelibeybi: "Leaving" | ||
| [2009/12/24 01:05:05] @ Quit: littleidea: | ||
| [2009/12/24 01:07:16] @ Djelibeybi joined channel #puppet | ||
| [2009/12/24 01:09:23] @ swankier joined channel #puppet | ||
| [2009/12/24 01:09:27] <swankier> hi | ||
| [2009/12/24 01:09:55] <swankier> I have one module that's changing the shell of a user, and a second module that's trying to change the group membership of that user | ||
| [2009/12/24 01:10:58] <swankier> how can I do this without getting a "Only subclasses can override parameters" or "resource User[xyz] already exists" error? | ||
| [2009/12/24 01:11:16] <swankier> this is a linux machine, so I cannot use the group class to manage the group membership | ||
| [2009/12/24 01:16:46] @ Quit: Djelibeybi: "Leaving" | ||
| [2009/12/24 01:27:04] @ f3ew joined channel #puppet | ||
| [2009/12/24 01:38:43] @ suchu joined channel #puppet | ||
| [2009/12/24 01:46:32] <swankier> I used an exec statement | ||
| [2009/12/24 01:46:34] <swankier> thanks anyway | ||
| [2009/12/24 01:46:37] @ Quit: swankier: "out" | ||
| [2009/12/24 02:08:57] @ Quit: joe-mac1: Client Quit | ||
| [2009/12/24 02:09:07] @ joe-mac1 joined channel #puppet | ||
| [2009/12/24 02:09:51] @ Quit: joe-mac1: Read error: 54 (Connection reset by peer) | ||
| [2009/12/24 02:10:18] @ joe-mac1 joined channel #puppet | ||
| [2009/12/24 02:28:00] @ rickbradley is now known as rickbradley|away | ||
| [2009/12/24 02:58:06] @ jayvee left channel #puppet () | ||
| [2009/12/24 03:02:55] @ Quit: tjoe: "leaving" | ||
| [2009/12/24 03:29:36] @ giskard joined channel #puppet | ||
| [2009/12/24 04:32:10] @ tripoux joined channel #puppet | ||
| [2009/12/24 04:40:16] @ Quit: jes5: "Leaving." | ||
| [2009/12/24 04:40:37] @ hy is now known as _silver | ||
| [2009/12/24 04:41:18] <tuf_> does nodes.pp support regex now in 0.25? | ||
| [2009/12/24 04:41:41] <Volcane> yes | ||
| [2009/12/24 04:42:17] <tuf_> thats great | ||
| [2009/12/24 04:42:42] <tuf_> is that documented anywhere? | ||
| [2009/12/24 04:42:48] <tuf_> I found it on serverfault.com | ||
| [2009/12/24 04:42:50] <Volcane> wiki:LanguageTutorial | ||
| [2009/12/24 04:42:53] <gepetto_> Volcane: wiki: wiki:LanguageTutorial is http://reductivelabs.com/trac/puppet/wiki/LanguageTutorial | ||
| [2009/12/24 04:43:22] <tuf_> sweet | ||
| [2009/12/24 04:43:49] <tuf_> unfortunately ive got 0.24.8 | ||
| [2009/12/24 04:43:55] <tuf_> centos epel repo | ||
| [2009/12/24 04:44:09] <tuf_> time to upgrade :) | ||
| [2009/12/24 04:44:13] <Volcane> new one is in epel testing afaik | ||
| [2009/12/24 04:44:22] @ poison joined channel #puppet | ||
| [2009/12/24 04:44:26] <Volcane> but also in the tarfile is a rpm spec file so u can just build your own | ||
| [2009/12/24 04:44:37] @ jes5 joined channel #puppet | ||
| [2009/12/24 04:45:13] <tuf_> actually im wrong I use the gems | ||
| [2009/12/24 04:45:23] <Volcane> fail :) | ||
| [2009/12/24 04:46:33] @ jaredrhine joined channel #puppet | ||
| [2009/12/24 04:47:38] @ g0nzo left channel #puppet () | ||
| [2009/12/24 04:47:44] <tuf_> # gem install *gem | ||
| [2009/12/24 04:47:44] <tuf_> Successfully installed facter-1.5.4 | ||
| [2009/12/24 04:47:44] <tuf_> Successfully installed puppet-0.25.1 | ||
| [2009/12/24 04:47:44] <tuf_> 2 gems installed | ||
| [2009/12/24 04:47:45] @ g0nzo joined channel #puppet | ||
| [2009/12/24 04:47:46] <tuf_> yay! | ||
| [2009/12/24 04:50:07] <samppah> one client is complaining about failed dependancy on module it shouldn't load at all.. can i somehow trace what client actually tries to do? | ||
| [2009/12/24 04:50:25] <tuf_> be nice if puppet and facter both used the same switch for version | ||
| [2009/12/24 04:52:14] @ noyb joined channel #puppet | ||
| [2009/12/24 04:56:52] <samppah> puppetd --debug --trace didn't help and in /var/lib/classes.txt | ||
| [2009/12/24 04:57:26] <samppah> i see all correct classes it shoyld load | ||
| [2009/12/24 05:06:12] @ docelic joined channel #puppet | ||
| [2009/12/24 05:06:19] @ rickbradley|away is now known as rickbradley | ||
| [2009/12/24 05:06:44] @ Demosthenes joined channel #puppet | ||
| [2009/12/24 05:11:35] @ _silver is now known as hy | ||
| [2009/12/24 05:11:57] @ rickbradley is now known as _ | ||
| [2009/12/24 05:12:02] @ _ is now known as __ | ||
| [2009/12/24 05:12:25] @ __ is now known as rickbradley | ||
| [2009/12/24 05:21:07] @ nasrat joined channel #puppet | ||
| [2009/12/24 05:21:56] @ Quit: nasrat_: "stuff" | ||
| [2009/12/24 05:22:49] @ Quit: Demosthenex: Read error: 110 (Connection timed out) | ||
| [2009/12/24 05:23:04] @ Quit: nasrat: Client Quit | ||
| [2009/12/24 05:23:14] @ nasrat joined channel #puppet | ||
| [2009/12/24 05:24:36] @ Quit: jes5: "Leaving." | ||
| [2009/12/24 05:25:22] @ Quit: nasrat: Client Quit | ||
| [2009/12/24 05:25:35] @ nasrat joined channel #puppet | ||
| [2009/12/24 05:37:53] @ Quit: friendly12345: "Leaving." | ||
| [2009/12/24 05:47:12] @ hy is now known as xmashy | ||
| [2009/12/24 06:31:05] @ Quit: poison: "Leaving..." | ||
| [2009/12/24 06:33:45] @ poison joined channel #puppet | ||
| [2009/12/24 07:00:58] @ littleidea joined channel #puppet | ||
| [2009/12/24 07:14:26] @ Quit: barn_: "Lost terminal" | ||
| [2009/12/24 07:14:51] @ Welsh_Dwarf joined channel #puppet | ||
| [2009/12/24 07:23:09] @ barn joined channel #puppet | ||
| [2009/12/24 07:27:31] @ whaley joined channel #puppet | ||
| [2009/12/24 07:43:59] @ Quit: littleidea: | ||
| [2009/12/24 07:49:16] @ mvn071 joined channel #puppet | ||
| [2009/12/24 07:49:57] @ Quit: marcoecc: "Quitting" | ||
| [2009/12/24 07:49:59] @ rickbradley is now known as rickbradley|away | ||
| [2009/12/24 08:09:35] @ Bass10 joined channel #puppet | ||
| [2009/12/24 08:11:42] @ Quit: giskard: Remote closed the connection | ||
| [2009/12/24 08:15:02] @ docelic_ joined channel #puppet | ||
| [2009/12/24 08:15:10] @ giskard joined channel #puppet | ||
| [2009/12/24 08:16:01] @ Quit: docelic: Read error: 60 (Operation timed out) | ||
| [2009/12/24 08:22:50] @ nakano_ is now known as nakano | ||
| [2009/12/24 08:33:07] @ rickbradley|away is now known as rickbradley | ||
| [2009/12/24 08:36:50] @ Quit: giskard: Remote closed the connection | ||
| [2009/12/24 08:37:18] @ giskard joined channel #puppet | ||
| [2009/12/24 08:42:36] @ danielbln joined channel #puppet | ||
| [2009/12/24 08:48:43] @ littleidea joined channel #puppet | ||
| [2009/12/24 08:50:28] @ Quit: alban2: Read error: 113 (No route to host) | ||
| [2009/12/24 08:51:10] @ Quit: bgupta: Read error: 110 (Connection timed out) | ||
| [2009/12/24 08:53:42] @ Quit: giskard: Read error: 110 (Connection timed out) | ||
| [2009/12/24 08:58:47] @ pacalm joined channel #puppet | ||
| [2009/12/24 08:59:27] @ Quit: pacalm: Client Quit | ||
| [2009/12/24 09:01:14] @ jmarki joined channel #puppet | ||
| [2009/12/24 09:10:58] @ Quit: tripoux: Remote closed the connection | ||
| [2009/12/24 09:12:42] @ Ramonster joined channel #puppet | ||
| [2009/12/24 09:17:19] @ giskard joined channel #puppet | ||
| [2009/12/24 09:18:08] @ Quit: flakrat: "Leaving" | ||
| [2009/12/24 09:23:50] <ashp> hmm, anyone else use the straight rpm package{} provider | ||
| [2009/12/24 09:23:58] <ashp> it's really annoying in that it keeps trying to install the package on every run | ||
| [2009/12/24 09:24:03] <ashp> it's not smart enough to see that it exists :( | ||
| [2009/12/24 09:24:11] @ Quit: nasrat: | ||
| [2009/12/24 09:24:15] <ashp> err: //ssh::sftp/Package[openssh-client]/ensure: change from absent to present failed: Execution of '/bin/rpm -i --oldpackage http://puppet/packages/openssh-clients-5.1p1-3.x86_64.rpm' returned 1: package openssh-clients-5.1p1-3.x86_64 is already installed | ||
| [2009/12/24 09:24:25] @ happymcplaksin left channel #puppet ("ERC Version 5.3 (IRC client for Emacs)") | ||
| [2009/12/24 09:35:36] @ Quit: Ramonster: Read error: 110 (Connection timed out) | ||
| [2009/12/24 09:36:06] @ Quit: raphink: Remote closed the connection | ||
| [2009/12/24 09:37:22] @ Quit: danielbln: "Leaving." | ||
| [2009/12/24 09:44:21] @ Ramonster joined channel #puppet | ||
| [2009/12/24 09:49:54] @ Quit: kolla: Read error: 110 (Connection timed out) | ||
| [2009/12/24 09:50:38] <monachus> if i have a variable set to undef in the define() defaults (between the parentheses) and want it to not be included in a template, what's the best way to test for that? | ||
| [2009/12/24 09:50:57] <monachus> docs say "has_variable?("myvar")" but that gave me a bunch of "undef" in the template output | ||
| [2009/12/24 09:52:01] <monachus> is it a real ruby type such that i can say "if myvar then" and it'll pick up that it's undef? or should i treat it as a string and say "if myvar == 'undef' then" | ||
| [2009/12/24 09:52:41] <monachus> or should i set them to false instead? i don't use false in my template output... | ||
| [2009/12/24 09:52:48] @ Quit: bug: | ||
| [2009/12/24 09:58:46] <monachus> ah, look - it's issue 2826 | ||
| [2009/12/24 09:59:04] @ bug joined channel #puppet | ||
| [2009/12/24 10:04:56] @ flakrat joined channel #puppet | ||
| [2009/12/24 10:06:01] * monachus switches to @myvar for tests | ||
| [2009/12/24 10:06:11] <monachus> now how to make a selector match on undef... | ||
| [2009/12/24 10:07:48] @ kolla joined channel #puppet | ||
| [2009/12/24 10:08:55] @ Quit: alfism: "http://opensolaris.com/" | ||
| [2009/12/24 10:09:11] @ alfism joined channel #puppet | ||
| [2009/12/24 10:18:41] @ vizzord joined channel #puppet | ||
| [2009/12/24 10:19:28] <monachus> grr. | ||
| [2009/12/24 10:19:38] @ Quit: vzctl_: Remote closed the connection | ||
| [2009/12/24 10:19:43] @ Quit: littleidea: | ||
| [2009/12/24 10:20:08] @ vzctl_ joined channel #puppet | ||
| [2009/12/24 10:20:09] <monachus> how can i keep the client from restarting the connection while the server is still working? it reports "other end went away" and then in my server logs, it finishes compiling the catalog, then the client reconnects, and it starts all over again. | ||
| [2009/12/24 10:20:27] <monachus> it seems to be ~30s, but the timeout vars i can find in the conf are all 120s | ||
| [2009/12/24 10:23:05] <Volcane> why is your server so slow? | ||
| [2009/12/24 10:26:26] @ themurph joined channel #puppet | ||
| [2009/12/24 10:28:17] @ Quit: suchu: "ChatZilla 0.9.86 [Firefox 3.5.6/20091201220228]" | ||
| [2009/12/24 10:28:25] <Volcane> cos no way should it be that slow, if it is, then thats the problem u should be fixing | ||
| [2009/12/24 10:28:28] <Volcane> no upping timeouts | ||
| [2009/12/24 10:28:36] <Volcane> maybe u have too many clients and still use webrick | ||
| [2009/12/24 10:29:07] @ xmashy is now known as _silver | ||
| [2009/12/24 10:30:48] @ _silver is now known as xmashy | ||
| [2009/12/24 10:36:25] @ Quit: scylla: "Connection timed out" | ||
| [2009/12/24 10:38:29] @ nakano is now known as nakano_ | ||
| [2009/12/24 10:40:59] @ bgupta joined channel #puppet | ||
| [2009/12/24 10:42:21] @ bgupta left channel #puppet () | ||
| [2009/12/24 11:05:46] @ Quit: giskard: Remote closed the connection | ||
| [2009/12/24 11:06:17] @ giskard joined channel #puppet | ||
| [2009/12/24 11:11:38] @ Quit: poison: Remote closed the connection | ||
| [2009/12/24 11:15:38] @ Quit: Welsh_Dwarf: Remote closed the connection | ||
| [2009/12/24 11:22:22] @ Quit: giskard: Read error: 113 (No route to host) | ||
| [2009/12/24 11:23:09] @ nasrat joined channel #puppet | ||
| [2009/12/24 11:26:32] @ pheezy joined channel #puppet | ||
| [2009/12/24 11:28:56] @ edavis10 joined channel #puppet | ||
| [2009/12/24 11:31:21] @ joe-mac left channel #puppet () | ||
| [2009/12/24 11:36:52] @ Quit: nasrat: "Get Colloquy for iPhone! http://mobile.colloquy.info" | ||
| [2009/12/24 11:38:15] @ Quit: Ramonster: Remote closed the connection | ||
| [2009/12/24 11:38:28] @ Ramonster joined channel #puppet | ||
| [2009/12/24 11:40:46] @ Quit: whaley: | ||
| [2009/12/24 11:44:36] @ poison joined channel #puppet | ||
| [2009/12/24 11:48:50] <monachus> oh hey volcane - it's a QA server that i have heavy debugging on. it seems so slow down periodically while assembling templates | ||
| [2009/12/24 11:49:22] <monachus> not running webrick - using mongrel, through apache, but this server does other stuff (such as also being the prod puppetmaster) and is also a VM | ||
| [2009/12/24 11:50:21] <monachus> sometimes it compiles the catalog in 8s, sometimes in 65. usually kicking the qa puppetmaster makes it respond better again, but i'm more curious about why the 30s timeout and why when the client reconnects the server finishes what it was doing while also rebuilding the catalog anew (2x the work), and also expires the node it just cached 10s earlier | ||
| [2009/12/24 11:50:45] <monachus> it's only w/ the qa box. | ||
| [2009/12/24 11:50:49] <monachus> s/box/process/ | ||
| [2009/12/24 11:51:55] <|Mike|> what are the specs of the VM ? | ||
| [2009/12/24 11:52:06] <|Mike|> and how many puppetclients are you running on that puppetmaster? | ||
| [2009/12/24 11:53:32] <monachus> 1 vcpu (ESX), 2G RAM. the puppetmaster in question is where we do our dev of new modules, so there's really only ever one client hitting it - once changes are proven not to break anything they get pushed to the prod puppetmaster instance (split between this box and another one). we have about 40 clients total in production. | ||
| [2009/12/24 11:54:13] <monachus> box runs at about 15% CPU most of the time, and about 55% RAM usage. | ||
| [2009/12/24 11:54:18] <monachus> not including cache | ||
| [2009/12/24 11:55:13] @ Quit: poison: "Leaving..." | ||
| [2009/12/24 11:55:16] <Volcane> doinga nything fancy in the templates? | ||
| [2009/12/24 11:55:24] <Volcane> no querying of db's or ldap or anything? | ||
| [2009/12/24 11:55:40] <monachus> oh god no. just assembling nagios service definitions since naginator doesn't agree with me | ||
| [2009/12/24 11:55:46] <monachus> so lots of if/then stuff | ||
| [2009/12/24 11:55:58] <Volcane> very odd | ||
| [2009/12/24 11:56:26] <monachus> k - maybe it's just the level of debug logging i was doing or a bad moment for the box | ||
| [2009/12/24 11:56:43] <monachus> no worries. it's not killing me. | ||
| [2009/12/24 11:58:36] @ happymcplaksin joined channel #puppet | ||
| [2009/12/24 11:59:04] @ happymcplaksin left channel #puppet ("ERC Version 5.3 (IRC client for Emacs)") | ||
| [2009/12/24 12:11:17] @ toi joined channel #puppet | ||
| [2009/12/24 12:18:38] @ boomshankerx joined channel #puppet | ||
| [2009/12/24 12:18:57] @ Quit: boomshankerx: Client Quit | ||
| [2009/12/24 12:29:31] @ bgupta joined channel #puppet | ||
| [2009/12/24 12:29:31] @ BarnacleBob joined channel #puppet | ||
| [2009/12/24 12:38:15] @ bc-bd joined channel #puppet | ||
| [2009/12/24 12:38:21] <bc-bd> hi | ||
| [2009/12/24 12:38:37] @ bgupta__ joined channel #puppet | ||
| [2009/12/24 12:38:58] <bc-bd> on debian, I'd like to make sure a backports.org package is installed. is there a way to tell puppet to do that? | ||
| [2009/12/24 12:40:20] <Volcane> you need to configure your apt to do the right thing | ||
| [2009/12/24 12:40:22] <Volcane> pinning etc | ||
| [2009/12/24 12:41:51] <bc-bd> Volcane: hm, so no way to pass parameters to apt? | ||
| [2009/12/24 12:42:10] <Volcane> puppet will just call apt-get install foo yes | ||
| [2009/12/24 12:42:30] <bc-bd> can I call apt myself? | ||
| [2009/12/24 12:42:40] <Volcane> u could probably do some nasty exec thing | ||
| [2009/12/24 12:43:23] <bc-bd> hm, nasty. maybe I try and deliver a pining file to apt as a prereq or something | ||
| [2009/12/24 12:44:21] @ Quit: bgupta: Read error: 104 (Connection reset by peer) | ||
| [2009/12/24 12:44:22] @ bgupta__ is now known as bgupta | ||
| [2009/12/24 12:47:17] <bc-bd> okay on another note, I am trying to deliver a file to my slaves, namely the backports.org sources.list entry. however the file is not transfered to the clients. how do I debug this? | ||
| [2009/12/24 12:49:31] @ lero joined channel #puppet | ||
| [2009/12/24 12:55:55] @ Quit: toi: Read error: 60 (Operation timed out) | ||
| [2009/12/24 13:00:31] @ Quit: Ramonster: Read error: 110 (Connection timed out) | ||
| [2009/12/24 13:06:47] @ Quit: pheezy: Client Quit | ||
| [2009/12/24 13:06:53] @ giskard joined channel #puppet | ||
| [2009/12/24 13:07:05] @ rickbradley is now known as rickbradley|away | ||
| [2009/12/24 13:10:18] @ Quit: vizzord: "see you" | ||
| [2009/12/24 13:14:59] @ Quit: bgupta: | ||
| [2009/12/24 13:20:16] @ Quit: lero: "Leaving..." | ||
| [2009/12/24 13:26:48] @ Quit: themurph: Read error: 110 (Connection timed out) | ||
| [2009/12/24 13:30:36] @ Quit: Shazburg: Read error: 110 (Connection timed out) | ||
| [2009/12/24 13:35:28] @ Quit: giskard: Remote closed the connection | ||
| [2009/12/24 13:46:35] @ bobbyz joined channel #puppet | ||
| [2009/12/24 13:59:33] @ littleidea joined channel #puppet | ||
| [2009/12/24 14:03:48] @ Quit: jmarki: Remote closed the connection | ||
| [2009/12/24 14:05:43] @ Quit: bobbyz: Read error: 60 (Operation timed out) | ||
| [2009/12/24 14:11:12] @ Shazburg joined channel #puppet | ||
| [2009/12/24 15:10:50] @ vizzord joined channel #puppet | ||
| [2009/12/24 15:22:35] @ Quit: sHaggY_caT: Remote closed the connection | ||
| [2009/12/24 15:36:06] @ danielbln joined channel #puppet | ||
| [2009/12/24 15:38:40] @ sjefen6_ joined channel #puppet | ||
| [2009/12/24 15:44:28] <jamesturnbull> bc-bd: try --trace --debug on the master and client? | ||
| [2009/12/24 15:52:02] @ Quit: sjefen6: Connection timed out | ||
| [2009/12/24 16:26:45] @ qwebirc1105 joined channel #puppet | ||
| [2009/12/24 16:28:41] @ Quit: qwebirc1105: Client Quit | ||
| [2009/12/24 16:33:17] @ jameswhi1e is now known as jameswhite | ||
| [2009/12/24 16:35:21] <bc-bd> jamesturnbull: thanks | ||
| [2009/12/24 16:37:43] <bc-bd> Volcane: FWIW, I have a solution to my pining problem. the biggest issue is that current stable apt does only support pinning from one file (no .d directory). nothing a little shell magic can't work around ;) | ||
| [2009/12/24 16:47:53] @ Quit: littleidea: | ||
| [2009/12/24 16:49:03] @ p3rror joined channel #puppet | ||
| [2009/12/24 16:50:13] @ giskard joined channel #puppet | ||
| [2009/12/24 16:53:38] @ jfreeman joined channel #puppet | ||
| [2009/12/24 16:58:43] @ jbu joined channel #puppet | ||
| [2009/12/24 16:59:01] @ jbu is now known as tjoe | ||
| [2009/12/24 17:07:30] <tjoe> Merry Christmas everyone ! | ||
| [2009/12/24 17:17:41] @ Quit: flakrat: "Leaving" | ||
| [2009/12/24 17:17:56] @ Djelibeybi joined channel #puppet | ||
| [2009/12/24 17:19:03] @ Quit: giskard: Remote closed the connection | ||
| [2009/12/24 17:19:32] @ giskard joined channel #puppet | ||
| [2009/12/24 17:23:53] @ whaley joined channel #puppet | ||
| [2009/12/24 17:26:19] @ Quit: giskard: Read error: 60 (Operation timed out) | ||
| [2009/12/24 17:56:20] @ Quit: mvn071: Remote closed the connection | ||
| [2009/12/24 18:17:50] @ Quit: jaredrhine: Read error: 110 (Connection timed out) | ||
| [2009/12/24 18:22:16] @ Quit: BarnacleBob: "This computer has gone to sleep" | ||
| [2009/12/24 18:28:52] @ Quit: Djelibeybi: "Leaving" | ||
| [2009/12/24 18:28:59] @ Djelibeybi joined channel #puppet | ||
| [2009/12/24 18:29:54] @ Quit: noyb: "No, it's not Winblows... I actually *wanted* to quit." | ||
| [2009/12/24 18:34:19] @ Quit: whaley: Read error: 113 (No route to host) | ||
| [2009/12/24 18:38:48] @ Quit: Djelibeybi: "Leaving" | ||
| [2009/12/24 18:48:07] @ Quit: jfreeman: Read error: 110 (Connection timed out) | ||
| [2009/12/24 18:53:02] @ bobbyz joined channel #puppet | ||
| [2009/12/24 19:03:22] <tjoe> I need to use the --fqdn option with puppetd otherwise it does not use the correct name, where does it get the name from ? | ||
| [2009/12/24 19:03:40] @ nakano_ is now known as nakano | ||
| [2009/12/24 19:05:58] <tjoe> do you know the generate command, I think it run a command as the puppet user, how to have it run the command as root ? | ||
| [2009/12/24 19:06:59] @ friendly12345 joined channel #puppet | ||
| [2009/12/24 19:07:01] <bc-bd> what does hostname output? | ||
| [2009/12/24 19:08:42] <tjoe> hostname return the correct hostname, but when I ran puppet it added "HTTP/" at the beginning of the hostname for some reason, but looks like it's gone now | ||
| [2009/12/24 19:09:14] <bc-bd> tjoe: take a look at /etc/hosts | ||
| [2009/12/24 19:10:22] <tjoe> /etc/hosts looks okay | ||
| [2009/12/24 19:10:46] <bc-bd> hm | ||
| [2009/12/24 19:11:02] <bc-bd> .domain normally comes from /etc/resolv.conf | ||
| [2009/12/24 19:12:02] <bc-bd> <- opening another beer, may leed to deteriorating quality of answers | ||
| [2009/12/24 19:17:59] <tjoe> the name was messed up in a manifest file, where it was using the ${fqdn} variable, but somehow it looks okay now, I checked with facter | ||
| [2009/12/24 19:18:33] <tjoe> maye it's because I used puppetd with the --fqdn option that reset the fqdn variable | ||
| [2009/12/24 19:19:15] <agaffney> do the options passed to puppetd even affect facter? | ||
| [2009/12/24 19:19:24] <agaffney> I'd imagine that the --fqdn option is used for the SSL cert hostname | ||
| [2009/12/24 19:21:25] <tjoe> I did not check facter when I got the error in the first place so not sure how why it occure and how it got fixed | ||
| [2009/12/24 19:22:06] <tjoe> do you guys know the generate function ? I think it's run as the puppet user, is it possible to get it run as root ? | ||
| [2009/12/24 19:24:38] <agaffney> I'm not familiar with it | ||
| [2009/12/24 19:24:55] <agaffney> however, if it's run on the server, it's "stuck" as the puppet user | ||
| [2009/12/24 19:25:01] <agaffney> unless you run your puppetmaster as root | ||
| [2009/12/24 19:25:49] <agaffney> http://projects.reductivelabs.com/issues/541 | ||
| [2009/12/24 19:25:54] <agaffney> I assume you're referring to that | ||
| [2009/12/24 19:26:10] <agaffney> if that's the case, it's run on the puppetmaster, which means it's run as the puppet user | ||
| [2009/12/24 19:35:49] <tjoe> no it should run on the client not the server but it looks like it's run as unpriviledge user even if you invoke puppetd as root | ||
| [2009/12/24 19:43:01] @ Quit: danielbln: "Leaving." | ||
| [2009/12/24 19:43:05] @ danielbln joined channel #puppet | ||
| [2009/12/24 19:43:52] @ Cyis_ joined channel #puppet | ||
| [2009/12/24 19:46:22] @ Quit: Cyis: Nick collision from services. | ||
| [2009/12/24 19:46:26] @ Cyis_ is now known as Cyis | ||
| [2009/12/24 19:46:42] @ Cyis_ joined channel #puppet | ||
| [2009/12/24 19:50:35] <agaffney> tjoe: are you *positive* it runs on the client? it sounds like something that runs on the server when it's parsing the manifests before it generates the .yaml to send to the client | ||
| [2009/12/24 19:50:49] @ Djelibeybi joined channel #puppet | ||
| [2009/12/24 19:52:36] @ Quit: bc-bd: "what button?" | ||
| [2009/12/24 19:55:31] @ xmashy is now known as hy | ||
| [2009/12/24 19:55:31] @ hy is now known as xmashy | ||
| [2009/12/24 19:57:30] <Cyis> anyone used puppet with EC2 clients? | ||
| [2009/12/24 20:06:49] <tjoe> agaffney: you might be right, I need to do some cheks | ||
| [2009/12/24 20:08:13] @ rickbradley|away is now known as rickbradley | ||
| [2009/12/24 20:09:07] @ Quit: friendly12345: "Leaving." | ||
| [2009/12/24 20:14:35] @ rickbradley is now known as rickbradley|away | ||
| [2009/12/24 20:29:24] @ Quit: Djelibeybi: "Leaving" | ||
| [2009/12/24 20:42:47] <jamesturnbull> Cyis: yes | ||
| [2009/12/24 20:43:28] <Cyis> jamesturnbull, just got a new project from my client to complete by Jan 31st... move away from using RightScale and use Puppet | ||
| [2009/12/24 20:44:51] <Cyis> so far I've been doing all my work from outside the cloud on bare metal machines | ||
| [2009/12/24 20:45:43] <jamesturnbull> Cyis: there are a few examples - if you Google - of how people have used Puppet and EC2 | ||
| [2009/12/24 20:46:39] <Cyis> alrighty... you using your own AMI's or one of the pre-built? | ||
| [2009/12/24 20:53:24] <Cyis> jamesturnbull, on another topic... I've been looking for some docs on the standard functions that a provider & type should have minimum and what they provide? I've been looking online and haven't seem to find anything definitive and seems like there is such a mix within existing code to try and figure out what is *standard* if there is such a beast at this time... | ||
| [2009/12/24 20:55:16] <tjoe> agaffney: yes you were right, command execute by the generate function are executed on the puppetmaster | ||
| [2009/12/24 21:02:22] <jamesturnbull> Cyis: I use pre-built | ||
| [2009/12/24 21:03:39] <jamesturnbull> Cyis: there isn't a standard as such ... each type/provider has a name value and then whatever othger attrbiutes it requires | ||
| [2009/12/24 21:06:45] @ giskard joined channel #puppet | ||
| [2009/12/24 21:25:52] @ Quit: p3rror: "أستودعكم الله" | ||
| [2009/12/24 21:29:59] @ Quit: vizzord: "see you" | ||
| [2009/12/24 21:33:32] <Cyis> so functions like instances, defpath, etc are not standard? | ||
| [2009/12/24 21:45:17] @ rickbradley|away is now known as rickbradley | ||
| [2009/12/24 21:56:36] <jamesturnbull> Cyis: nope ... you should model types and providers on the resources they represent | ||
| [2009/12/24 21:57:40] <Cyis> ok... just looking further trying to figure out why the aptrepo parse provider seem to duplicate content apparently in the prefetch | ||
| [2009/12/24 21:57:55] <Cyis> as well as not removing the content when marked :absent | ||
| [2009/12/24 21:58:16] <jamesturnbull> Cyis: still suggest you send it to the -dev list | ||
| [2009/12/24 21:58:30] <jamesturnbull> Cyis: you get the focus of 8-10 developers then :P | ||
| [2009/12/24 22:00:06] <Cyis> yeah I know... I'll have to work on cleaning up the mess I've made of it now so I don't look like such a fool when someone notices some small detail I overlooked :) | ||
| [2009/12/24 22:00:24] <jamesturnbull> Cyis: heh - also tests are a good way of helping solve issues | ||
| [2009/12/24 22:01:11] <Cyis> yeah... I started in reverse (ie- writing code before tests)... but then the tests I did write all seemed to pass but the behavior still persisted | ||
| [2009/12/24 22:01:17] <Cyis> which really had me scratching my head | ||
| [2009/12/24 22:02:11] @ Quit: bobbyz: Read error: 60 (Operation timed out) | ||
| [2009/12/24 22:03:44] @ Quit: giskard: Remote closed the connection | ||
| [2009/12/24 22:04:09] @ giskard joined channel #puppet | ||
| [2009/12/24 22:05:59] @ rsquared joined channel #puppet | ||
| [2009/12/24 22:06:14] <Cyis> this is both my teach-myself for both puppet and ruby... so as par for the course I'm taking the jump in with both feet into the deep end approach :) | ||
| [2009/12/24 22:06:19] @ Quit: giskard: Read error: 60 (Operation timed out) | ||
| [2009/12/24 22:07:46] @ Quit: rsquared: Client Quit | ||
| [2009/12/24 22:26:45] @ Quit: nevyn: Read error: 60 (Operation timed out) | ||
| [2009/12/24 22:28:34] @ nevyn joined channel #puppet | ||
| [2009/12/24 22:28:49] @ toi joined channel #puppet | ||
| [2009/12/24 22:45:45] @ Quit: danielbln: "Leaving." | ||
| [2009/12/24 22:49:35] <Cyis> I actually put "The RSpec Book" on my wishlist at pragprog.com... if none of my family gets it for me I'll be getting it myself for my b-day :) | ||
| [2009/12/24 22:50:48] <Cyis> well in any case I'm off to be with fam (in-laws) and be sociable... | ||
| [2009/12/24 23:10:06] @ joe-mac1 left channel #puppet () | ||
| [2009/12/24 23:11:59] @ Quit: kolla: Remote closed the connection | ||
| [2009/12/24 23:17:18] @ Quit: toi: Read error: 60 (Operation timed out) | ||
| [2009/12/24 23:27:38] @ Quit: alfism: | ||
| [2009/12/24 23:36:54] @ jmarki joined channel #puppet | ||
| [2009/12/24 23:39:37] @ nakano is now known as nakano_ |
Generated by irclog2html.py 2.6 by Marius Gedminas - find it at mg.pov.lt!