| [2011/11/07 00:02:41] @ Log started by gepetto | ||
| [2011/11/07 00:02:41] <CrazyGir> HAH! same thing in 2.7.6 | ||
| [2011/11/07 00:02:45] @ Stenbryggen joined channel #puppet | ||
| [2011/11/07 00:02:51] <CrazyGir> fun stuff | ||
| [2011/11/07 00:02:55] <CrazyGir> ok, time for bed | ||
| [2011/11/07 00:02:58] <CrazyGir> more on this in the morning | ||
| [2011/11/07 00:03:58] <CrazyGir> thanks for the help! | ||
| [2011/11/07 00:04:01] * CrazyGir thud | ||
| [2011/11/07 00:06:15] @ iw_work joined channel #puppet | ||
| [2011/11/07 00:10:57] @ raphdg joined channel #puppet | ||
| [2011/11/07 00:11:35] @ nul0op joined channel #puppet | ||
| [2011/11/07 00:13:51] @ mpdude joined channel #puppet | ||
| [2011/11/07 00:14:05] @ pmorillon joined channel #puppet | ||
| [2011/11/07 00:15:28] @ Quit: kubicek: Excess Flood | ||
| [2011/11/07 00:15:49] @ kubicek joined channel #puppet | ||
| [2011/11/07 00:16:16] @ Quit: lkoranda: Ping timeout: 248 seconds | ||
| [2011/11/07 00:17:25] @ Quit: mpdude: Remote host closed the connection | ||
| [2011/11/07 00:19:28] @ lkoranda joined channel #puppet | ||
| [2011/11/07 00:19:43] @ Quit: lkoranda: Remote host closed the connection | ||
| [2011/11/07 00:19:56] @ lkoranda joined channel #puppet | ||
| [2011/11/07 00:22:44] @ Quit: lkoranda: Read error: Connection reset by peer | ||
| [2011/11/07 00:23:21] @ lkoranda joined channel #puppet | ||
| [2011/11/07 00:28:41] @ Quit: Holocaine: | ||
| [2011/11/07 00:30:18] @ Quit: sdog: Remote host closed the connection | ||
| [2011/11/07 00:31:11] @ MartVisser joined channel #puppet | ||
| [2011/11/07 00:32:01] @ MattyM joined channel #puppet | ||
| [2011/11/07 00:33:11] @ ezmobius is now known as ezmobius|zoning | ||
| [2011/11/07 00:33:39] @ zorg1 joined channel #puppet | ||
| [2011/11/07 00:33:39] @ Quit: zorg1: Client Quit | ||
| [2011/11/07 00:36:11] @ Spads_ joined channel #puppet | ||
| [2011/11/07 00:36:17] @ lkoranda_ joined channel #puppet | ||
| [2011/11/07 00:36:20] @ Quit: lkoranda_: Read error: Connection reset by peer | ||
| [2011/11/07 00:36:42] @ Quit: nul0op: Quit: Leaving | ||
| [2011/11/07 00:37:10] @ trickyf joined channel #puppet | ||
| [2011/11/07 00:37:59] @ Quit: lkoranda: Read error: Connection reset by peer | ||
| [2011/11/07 00:38:03] @ lkoranda joined channel #puppet | ||
| [2011/11/07 00:39:48] @ Quit: Spads: Ping timeout: 260 seconds | ||
| [2011/11/07 00:41:06] @ zorg1 joined channel #puppet | ||
| [2011/11/07 00:41:09] @ Quit: joe-mac: Remote host closed the connection | ||
| [2011/11/07 00:41:59] @ octane- joined channel #puppet | ||
| [2011/11/07 00:43:32] @ Quit: lkoranda: Quit: Ex-Chat | ||
| [2011/11/07 00:43:58] @ joe-mac joined channel #puppet | ||
| [2011/11/07 00:45:24] @ Deesl joined channel #puppet | ||
| [2011/11/07 00:48:15] @ Quit: mosen: Quit: Leaving | ||
| [2011/11/07 00:49:39] @ Quit: bmahe: Quit: Leaving | ||
| [2011/11/07 00:49:41] @ Quit: pmorillon: Quit: pmorillon | ||
| [2011/11/07 00:49:57] @ jbraeuer joined channel #puppet | ||
| [2011/11/07 00:53:48] @ pmorillon joined channel #puppet | ||
| [2011/11/07 00:53:58] @ verwilst joined channel #puppet | ||
| [2011/11/07 00:56:13] @ lkoranda joined channel #puppet | ||
| [2011/11/07 00:57:33] @ Quit: DJClean: Read error: Operation timed out | ||
| [2011/11/07 00:58:41] @ ken_barber joined channel #puppet | ||
| [2011/11/07 00:59:33] @ Quit: pmorillon: Read error: Operation timed out | ||
| [2011/11/07 01:00:15] @ DJClean joined channel #puppet | ||
| [2011/11/07 01:00:32] @ pmorillon joined channel #puppet | ||
| [2011/11/07 01:00:59] @ Quit: jodok: Quit: jodok | ||
| [2011/11/07 01:02:18] @ jodok joined channel #puppet | ||
| [2011/11/07 01:02:18] @ Quit: jodok: Changing host | ||
| [2011/11/07 01:02:18] @ jodok joined channel #puppet | ||
| [2011/11/07 01:13:08] @ mogitaff joined channel #puppet | ||
| [2011/11/07 01:13:55] @ ezryx joined channel #puppet | ||
| [2011/11/07 01:19:28] @ Quit: yann2: Read error: Connection reset by peer | ||
| [2011/11/07 01:21:08] @ Ramonster joined channel #puppet | ||
| [2011/11/07 01:23:07] @ djambar joined channel #puppet | ||
| [2011/11/07 01:23:53] @ mfladischer joined channel #puppet | ||
| [2011/11/07 01:27:26] @ Razique joined channel #puppet | ||
| [2011/11/07 01:30:41] @ Quit: sarkis: Ping timeout: 244 seconds | ||
| [2011/11/07 01:33:03] @ mpdude joined channel #puppet | ||
| [2011/11/07 01:37:39] @ ker2x joined channel #puppet | ||
| [2011/11/07 01:37:45] <ker2x> friendly greetings ! | ||
| [2011/11/07 01:40:09] <ker2x> i'm new to puppet, never installed it. Just heard about it. i'm specifically interested by "Provisioning for VMware" which is en "enterprise" feature. where could i find, please, more information about this specific feature ? :) | ||
| [2011/11/07 01:40:35] <ohadlevy> ker2x: you can probably contact puppetlabs for tht | ||
| [2011/11/07 01:43:29] <ker2x> well, sure. i'll try to find more about it before contacting them. i hate to contact a commercial before reading some kind of documentation. i'd like to know if he bullsh*t me or not, and i don't understand the "Managmentese" langage :) | ||
| [2011/11/07 01:43:56] <ohadlevy> ker2x: afaik, its a new feature, but i never used it | ||
| [2011/11/07 01:44:52] <ker2x> (eg: i don't want to know if puppet enterprise can "leverage" our cross-horizontal-synergetic-scalability-out-of-the-box) :p | ||
| [2011/11/07 01:45:01] <ker2x> ok, thank you :) | ||
| [2011/11/07 01:45:02] <ohadlevy> ker2x: we'll have vmware support in foreman soon :) | ||
| [2011/11/07 01:45:34] @ AikiLinux joined channel #puppet | ||
| [2011/11/07 01:45:48] <ker2x> the foreman ? (just googled it) | ||
| [2011/11/07 01:46:39] <ker2x> look like it | ||
| [2011/11/07 01:46:45] @ AikiLinux left channel #puppet () | ||
| [2011/11/07 01:48:34] <ker2x> my problem is : i keep my actual vmware installation (Enterprise Plus thingy) + an additional configuration/inventory software. or i need to byu the insanly full stack of VMware suite (vShield, vDirector, ...) | ||
| [2011/11/07 01:48:53] <ker2x> insanly expensive* | ||
| [2011/11/07 01:49:30] <nevyn> ker2x: it's simple template cloning capabilitiy via the perl api afaict | ||
| [2011/11/07 01:50:24] <nevyn> I don't believe it uses the orchestrator API but I could be wrong. | ||
| [2011/11/07 01:52:42] <nevyn> ker2x: this blog post describes the components in a automation stack for unixen on vmware | ||
| [2011/11/07 01:52:45] <nevyn> http://blogs.vmware.com/vcloud/2010/06/system-provisioning-in-cloud-computing-from-theory-to-tooling-part-i.html | ||
| [2011/11/07 01:53:42] @ wallblom_ joined channel #puppet | ||
| [2011/11/07 01:54:36] <ker2x> but what do they mean by "provisioning" ? Creating a VM instance ? | ||
| [2011/11/07 01:54:54] <nevyn> that's the usual definition | ||
| [2011/11/07 01:55:09] <nevyn> I don't see much detail on it honestly | ||
| [2011/11/07 01:55:21] <ker2x> thank you | ||
| [2011/11/07 01:55:35] @ Quit: pmorillon: Quit: pmorillon | ||
| [2011/11/07 01:55:44] <nevyn> it could be anything from using vOrchestrator to drive vm creation to doing it via the perl api to vmware to blah | ||
| [2011/11/07 01:56:00] <ohadlevy> ker2x: which kind of provisioning are you looking for? | ||
| [2011/11/07 01:56:33] <nevyn> ohadlevy: what's the detail behind the checkbox "provisioning" feature in PE2.0 | ||
| [2011/11/07 01:56:35] <nevyn> is the question | ||
| [2011/11/07 01:57:32] <ohadlevy> nevyn: yeah, i'm just trying to figure out what he really is after | ||
| [2011/11/07 01:58:27] <ker2x> VMSphere is fine to me to create a clone of a VM. However, i need some other basic stuff like : configuration of iptable, hostname (the created VM take the name of the cloned one), and some basic stuff like that. | ||
| [2011/11/07 01:58:32] * nevyn is curious what the nitty gritty behind that feature is. | ||
| [2011/11/07 01:59:15] <nevyn> so there's a reasonably comprehensive iptables module availible on puppetforge | ||
| [2011/11/07 01:59:38] <nevyn> ip provisioning is a problem that I doubt is addressed by any of this stuff (except maybe orchestrator) | ||
| [2011/11/07 02:00:01] <ker2x> and have some kind of definition of "Group of VM" (thoses VM are database servers, thoses VM are apache server, and so on... with their own software suite installed) | ||
| [2011/11/07 02:00:17] <ker2x> nevyn: indeed | ||
| [2011/11/07 02:00:42] <nevyn> ker2x: puppet can definitly do the software suite and system configuration stuff | ||
| [2011/11/07 02:00:46] <nevyn> it's what it's good at. | ||
| [2011/11/07 02:01:11] <nevyn> so a database server has these user accounts for the app and these firewall rules and these software packages etc | ||
| [2011/11/07 02:01:30] <ker2x> however it's not a huge problem. i know the IP adrdess of the newly created VM, it's the address of the cloned VM which is always kept shutdown :) | ||
| [2011/11/07 02:01:32] <nevyn> make the server "fred" a database server | ||
| [2011/11/07 02:01:45] <dreamhost> hello, since I've updated puppet from 2.6 to 2.7 I've some reports errors... like : Error 400 on SERVER: Could not find class ... and the next puppet run works without problem... it's random, does anyone has a clue ? | ||
| [2011/11/07 02:02:27] @ pmorillon joined channel #puppet | ||
| [2011/11/07 02:03:51] <ker2x> nevyn: yes, i need something like that and puppet look good. but i was curious about the "Provisioning for VMware" feature in enterprise edition. I'll contact them (look like nobody know about this, scary ?) | ||
| [2011/11/07 02:04:24] <nevyn> ker2x: announced a couple of weeks ago. | ||
| [2011/11/07 02:04:33] <nevyn> it's new. | ||
| [2011/11/07 02:04:42] <ohadlevy> ker2x: lots of these problems are solved if you use puppet + foreman | ||
| [2011/11/07 02:04:58] <nevyn> and it's probably BS vmware<>puppetlabs deals | ||
| [2011/11/07 02:05:16] * nevyn hasn't found a solution to ip and dns provisioning yet | ||
| [2011/11/07 02:05:26] <ohadlevy> nevyn: why not? | ||
| [2011/11/07 02:05:29] <nevyn> like a general solution | ||
| [2011/11/07 02:05:37] <nevyn> ohadlevy: our network is way overcomplicated | ||
| [2011/11/07 02:06:02] <nevyn> every host is minimum dual homed. | ||
| [2011/11/07 02:06:03] <ohadlevy> nevyn: what in foreman model would break in your env? | ||
| [2011/11/07 02:06:20] <blahdeblah> Does puppet + foreman provide a solution for getting puppetca certificates signed automatically? | ||
| [2011/11/07 02:06:29] <ohadlevy> blahdeblah: sure | ||
| [2011/11/07 02:06:36] <nevyn> blahdeblah: you can turn on automatic signing if you want | ||
| [2011/11/07 02:06:42] <blahdeblah> How does it work? | ||
| [2011/11/07 02:06:46] <ker2x> network configuration what the main reason i checked about puppet. it is the main problem with "VMware without the full stack of module" :) | ||
| [2011/11/07 02:07:41] <blahdeblah> Does it create and sign the cert on the server, then push it out in the machine deployment? | ||
| [2011/11/07 02:08:09] <ker2x> brb. thank you for your help :) | ||
| [2011/11/07 02:08:19] <ohadlevy> blahdeblah: no, it uses autosign (but with quite a few validations before) | ||
| [2011/11/07 02:08:40] * blahdeblah has not been paying enough attention - when did puppet get autosign? | ||
| [2011/11/07 02:09:31] @ andreaturli joined channel #puppet | ||
| [2011/11/07 02:09:38] <nevyn> blahdeblah: puppet has had autosign forever but it's "bad" | ||
| [2011/11/07 02:09:55] <blahdeblah> nevyn: Define "bad" | ||
| [2011/11/07 02:10:29] <misc> Try to imagine all life as you know it stopping instantaneously, and every molecule in your body exploding at the speed of light. | ||
| [2011/11/07 02:10:50] <nevyn> blahdeblah: used it lots of times in lots of places | ||
| [2011/11/07 02:11:31] <nevyn> ker2x: puppet works over the network so it's not a heck of a lot of use in configuring network | ||
| [2011/11/07 02:11:44] <fragfutter> misc: perfect, can you reproduce it by just | ||
| [2011/11/07 02:12:00] <ken_barber> misc: ghostbusters right? | ||
| [2011/11/07 02:12:05] <misc> ken_barber: yeah :) | ||
| [2011/11/07 02:12:06] <fragfutter> misc: configuring autosign? would be very nice physical experiment. | ||
| [2011/11/07 02:13:22] <misc> autosign could be nice for a automated test setup, but for production that mean that any server could get the configuration any other server, including the templates file and password in it | ||
| [2011/11/07 02:13:52] <misc> that's not very secure in a controled network if any of the server is compromised, it is modern form of seppuku if puppetmaster listen to the internet | ||
| [2011/11/07 02:16:44] <blahdeblah> nevyn: So "bad" == "nevyn has used it a lot"? :-\ | ||
| [2011/11/07 02:16:56] <nevyn> blahdeblah: do as I say not as I do! | ||
| [2011/11/07 02:17:22] <blahdeblah> I would just like to know what's "bad" about it... ;-) | ||
| [2011/11/07 02:18:00] <fragfutter> blahdeblah: exactly what misc described. get one compromised machine and i can pull down the config for any node configured on your puppet master | ||
| [2011/11/07 02:18:18] <nevyn> blahdeblah: you're trusting anyone who presents a CSR to the puppetmaster | ||
| [2011/11/07 02:18:42] <nevyn> blahdeblah: so any host that can connect to the puppet master can masquerade as any node. | ||
| [2011/11/07 02:18:49] <blahdeblah> fragfutter: misc lost me at the whole speed of light thingy. ;-) | ||
| [2011/11/07 02:18:55] <blahdeblah> nevyn: OK, makes sense. Not cool. | ||
| [2011/11/07 02:19:18] <blahdeblah> So there's not really any secure way of automating cert signing? | ||
| [2011/11/07 02:19:46] <nevyn> blahdeblah: I think it can also DOS existing nodes by presenting CSR's for them | ||
| [2011/11/07 02:19:53] <misc> using a external CA | ||
| [2011/11/07 02:20:10] @ csanchez joined channel #puppet | ||
| [2011/11/07 02:20:18] <misc> in fact, it depend on the whole system you use | ||
| [2011/11/07 02:20:54] <nevyn> certifiate management is a giant PITA is anyone managing it sensibly? | ||
| [2011/11/07 02:20:59] <misc> let's say some script that create the disk image, this script could create the certificate, place it on the disk image and then, on puppet master, sign the certificate | ||
| [2011/11/07 02:21:11] <misc> and then, you can deploy the disk image where you want | ||
| [2011/11/07 02:21:32] <ker2x> nevyn: i think it can be used to configure networks. considering that the newly created VM always have the same IP and puppet need to change it to its "assigned ip". it can do that, isn't it ? | ||
| [2011/11/07 02:21:57] <blahdeblah> misc: that's the idea i had in mind | ||
| [2011/11/07 02:21:57] <nevyn> ker2x: no. because the ip forms part of the CSR | ||
| [2011/11/07 02:22:05] <ker2x> and CSR is ... ? | ||
| [2011/11/07 02:22:14] <misc> certificate signing request | ||
| [2011/11/07 02:22:18] <nevyn> certificate signing request | ||
| [2011/11/07 02:22:19] <blahdeblah> nevyn: how can the IP form part of the CSR? What about DHCP systems? | ||
| [2011/11/07 02:22:33] <_rc> the ip is no part of it | ||
| [2011/11/07 02:22:34] <misc> blahdeblah: then you can look at guestfish, to manipulate disk image :) | ||
| [2011/11/07 02:22:36] <nevyn> hrm | ||
| [2011/11/07 02:22:38] <nevyn> I'm wrong | ||
| [2011/11/07 02:22:41] <ker2x> pfew :) | ||
| [2011/11/07 02:22:44] <ken_barber> hostname | ||
| [2011/11/07 02:22:51] <blahdeblah> ken_barber++ | ||
| [2011/11/07 02:22:59] @ danikov joined channel #puppet | ||
| [2011/11/07 02:23:17] <ker2x> Mmmmmmm | ||
| [2011/11/07 02:23:24] @ csanchez left channel #puppet () | ||
| [2011/11/07 02:23:32] @ csanchez joined channel #puppet | ||
| [2011/11/07 02:23:34] <blahdeblah> And, as far as i remember, it's hostname as returned by the client's hostname command, not hostname as DNS sees it. | ||
| [2011/11/07 02:24:19] <ker2x> well, i could have a simple script too.... it's not hard to create a script that ssh a VM that always have the same address, change its hostname, change its ip address (from command line args) and reboot it :) | ||
| [2011/11/07 02:24:33] @ optiz0r joined channel #puppet | ||
| [2011/11/07 02:25:04] <blahdeblah> misc: Guestfish is for VMs only, i take it? I was hoping for a general solution that would work for bare metal hosts as well | ||
| [2011/11/07 02:25:20] @ Quit: frostynova: Remote host closed the connection | ||
| [2011/11/07 02:26:27] <misc> blahdeblah: yep | ||
| [2011/11/07 02:27:03] <blahdeblah> sigh - i guess life wasn't meant to be easy :-) | ||
| [2011/11/07 02:27:41] @ Quit: brtl: Ping timeout: 260 seconds | ||
| [2011/11/07 02:29:31] @ brtl joined channel #puppet | ||
| [2011/11/07 02:30:11] @ Quit: ezmobius|zoning: Quit: peace out | ||
| [2011/11/07 02:33:44] @ Quit: erthad: Changing host | ||
| [2011/11/07 02:33:44] @ erthad joined channel #puppet | ||
| [2011/11/07 02:35:00] @ larstobi joined channel #puppet | ||
| [2011/11/07 02:39:05] @ sdog joined channel #puppet | ||
| [2011/11/07 02:39:36] @ Quit: sdog: Changing host | ||
| [2011/11/07 02:39:36] @ sdog joined channel #puppet | ||
| [2011/11/07 02:40:51] <ker2x> Download Puppet Enterprise | ||
| [2011/11/07 02:40:52] <ker2x> Manage 10 Nodes for Free | ||
| [2011/11/07 02:40:55] <ker2x> ha \o/ | ||
| [2011/11/07 02:41:00] <ker2x> let's try that :) | ||
| [2011/11/07 02:42:04] @ lpaul7 joined channel #puppet | ||
| [2011/11/07 02:45:14] <erthad> hiall | ||
| [2011/11/07 02:45:32] <erthad> where do custom functions get evaluated? on master or on agent? | ||
| [2011/11/07 02:45:47] <erthad> and the same question is for custom facts placed in modules | ||
| [2011/11/07 02:49:16] @ Quit: justin_donaldson: Ping timeout: 255 seconds | ||
| [2011/11/07 02:55:45] @ jnvilo joined channel #puppet | ||
| [2011/11/07 02:57:35] @ Quit: csanchez: Read error: Connection reset by peer | ||
| [2011/11/07 03:01:12] @ justin_donaldson joined channel #puppet | ||
| [2011/11/07 03:01:36] <_rc> erthad: functions, master. facts, agent. | ||
| [2011/11/07 03:04:10] @ csanchez joined channel #puppet | ||
| [2011/11/07 03:06:29] @ Quit: ezryx: Ping timeout: 258 seconds | ||
| [2011/11/07 03:14:32] @ Quit: drnexus: Ping timeout: 258 seconds | ||
| [2011/11/07 03:17:32] @ Quit: Spads_: Quit: Reconnecting | ||
| [2011/11/07 03:17:48] @ Spads joined channel #puppet | ||
| [2011/11/07 03:19:16] @ sdog1 joined channel #puppet | ||
| [2011/11/07 03:19:25] @ Quit: sdog: Quit: Leaving. | ||
| [2011/11/07 03:20:09] @ Quit: lpaul7: Read error: Operation timed out | ||
| [2011/11/07 03:23:31] @ ezryx joined channel #puppet | ||
| [2011/11/07 03:24:37] @ Quit: lwhalen: Quit: Computer has gone to sleep | ||
| [2011/11/07 03:25:07] @ Quit: pmorillon: Quit: pmorillon | ||
| [2011/11/07 03:25:13] @ Quit: ezryx: Remote host closed the connection | ||
| [2011/11/07 03:26:31] @ erthad left channel #puppet () | ||
| [2011/11/07 03:28:17] @ erthad joined channel #puppet | ||
| [2011/11/07 03:29:57] @ Quit: erthad: Changing host | ||
| [2011/11/07 03:29:57] @ erthad joined channel #puppet | ||
| [2011/11/07 03:32:28] @ Quit: kelseyhightower: Read error: Connection reset by peer | ||
| [2011/11/07 03:33:17] @ Quit: MattyM: *.net *.split | ||
| [2011/11/07 03:33:18] @ Quit: ckauhaus: *.net *.split | ||
| [2011/11/07 03:33:19] @ Quit: pugnacity: *.net *.split | ||
| [2011/11/07 03:33:20] @ Quit: sp33t: *.net *.split | ||
| [2011/11/07 03:33:21] @ Quit: asbruvik: *.net *.split | ||
| [2011/11/07 03:33:21] @ Quit: tvsutton: *.net *.split | ||
| [2011/11/07 03:33:22] @ Quit: Andorka: *.net *.split | ||
| [2011/11/07 03:33:22] @ Quit: kolla: *.net *.split | ||
| [2011/11/07 03:33:23] @ Quit: martin-: *.net *.split | ||
| [2011/11/07 03:33:24] @ Quit: gebi: *.net *.split | ||
| [2011/11/07 03:33:24] @ Quit: jason^: *.net *.split | ||
| [2011/11/07 03:33:24] @ Quit: PhilK: *.net *.split | ||
| [2011/11/07 03:33:25] @ Quit: bma: *.net *.split | ||
| [2011/11/07 03:33:25] @ Quit: bigon: *.net *.split | ||
| [2011/11/07 03:33:26] @ Quit: charlieS: *.net *.split | ||
| [2011/11/07 03:33:26] @ Quit: haus: *.net *.split | ||
| [2011/11/07 03:33:27] @ Quit: fpletz: *.net *.split | ||
| [2011/11/07 03:33:27] @ Quit: marcellods: *.net *.split | ||
| [2011/11/07 03:33:27] @ Quit: bradm: *.net *.split | ||
| [2011/11/07 03:33:28] @ Quit: Elwell: *.net *.split | ||
| [2011/11/07 03:33:29] @ Quit: R1ck: *.net *.split | ||
| [2011/11/07 03:33:29] @ Quit: nokia3510: *.net *.split | ||
| [2011/11/07 03:33:30] @ Quit: hggh: *.net *.split | ||
| [2011/11/07 03:33:30] @ Quit: FaUl: *.net *.split | ||
| [2011/11/07 03:33:30] @ Quit: bartavelle: *.net *.split | ||
| [2011/11/07 03:33:31] @ Quit: ronan_1: *.net *.split | ||
| [2011/11/07 03:33:31] @ Quit: idl0r: *.net *.split | ||
| [2011/11/07 03:33:32] @ Quit: gwmngilfen: *.net *.split | ||
| [2011/11/07 03:33:32] @ Quit: liff: *.net *.split | ||
| [2011/11/07 03:33:32] @ Quit: Ratler: *.net *.split | ||
| [2011/11/07 03:33:33] @ Quit: odyi: *.net *.split | ||
| [2011/11/07 03:33:33] @ Quit: elementai: *.net *.split | ||
| [2011/11/07 03:33:34] @ Quit: sfire||mouse: *.net *.split | ||
| [2011/11/07 03:33:34] @ Quit: schvin: *.net *.split | ||
| [2011/11/07 03:33:35] @ Quit: nevyn: *.net *.split | ||
| [2011/11/07 03:33:35] @ Quit: bronto: *.net *.split | ||
| [2011/11/07 03:33:36] @ Quit: crazed: *.net *.split | ||
| [2011/11/07 03:33:36] @ Quit: Rince: *.net *.split | ||
| [2011/11/07 03:33:37] @ Quit: beddari: *.net *.split | ||
| [2011/11/07 03:33:37] @ Quit: Xeross: *.net *.split | ||
| [2011/11/07 03:33:38] @ Quit: eal: *.net *.split | ||
| [2011/11/07 03:33:38] @ Quit: adnichols: *.net *.split | ||
| [2011/11/07 03:33:39] @ Quit: lohapuk: *.net *.split | ||
| [2011/11/07 03:33:39] @ Quit: frapzzt: *.net *.split | ||
| [2011/11/07 03:33:39] @ Quit: jetole: *.net *.split | ||
| [2011/11/07 03:33:40] @ Quit: londo: *.net *.split | ||
| [2011/11/07 03:33:40] @ Quit: fivefish: *.net *.split | ||
| [2011/11/07 03:33:41] @ Quit: vincent_vdk: *.net *.split | ||
| [2011/11/07 03:33:42] @ Quit: n1x0n: *.net *.split | ||
| [2011/11/07 03:33:42] @ Quit: wereHamster: *.net *.split | ||
| [2011/11/07 03:33:43] @ Quit: showy_: *.net *.split | ||
| [2011/11/07 03:33:43] @ Quit: mig5: *.net *.split | ||
| [2011/11/07 03:33:43] @ Quit: vinci: *.net *.split | ||
| [2011/11/07 03:33:44] @ Quit: leifmadsen: *.net *.split | ||
| [2011/11/07 03:33:44] @ Quit: Xenith: *.net *.split | ||
| [2011/11/07 03:33:45] @ Quit: TCPcaveman: *.net *.split | ||
| [2011/11/07 03:33:45] @ Quit: trulsa: *.net *.split | ||
| [2011/11/07 03:33:46] @ Quit: Kiall: *.net *.split | ||
| [2011/11/07 03:33:46] @ Quit: glarizza: *.net *.split | ||
| [2011/11/07 03:33:46] @ Quit: bd__: *.net *.split | ||
| [2011/11/07 03:33:47] @ Quit: cmoates: *.net *.split | ||
| [2011/11/07 03:33:48] @ Quit: darix: *.net *.split | ||
| [2011/11/07 03:33:48] @ Quit: silfreed: *.net *.split | ||
| [2011/11/07 03:33:48] @ Quit: Forconin: *.net *.split | ||
| [2011/11/07 03:33:49] @ Quit: cbeck: *.net *.split | ||
| [2011/11/07 03:33:49] @ Quit: zykes-: *.net *.split | ||
| [2011/11/07 03:33:50] @ Quit: bpgoldsb: *.net *.split | ||
| [2011/11/07 03:33:50] @ Quit: blkperl: *.net *.split | ||
| [2011/11/07 03:33:50] @ Quit: joschi: *.net *.split | ||
| [2011/11/07 03:33:51] @ Quit: nibalizer: *.net *.split | ||
| [2011/11/07 03:33:51] @ Quit: hazmat: *.net *.split | ||
| [2011/11/07 03:33:52] @ Quit: madduck: *.net *.split | ||
| [2011/11/07 03:33:52] @ Quit: froztbyte: *.net *.split | ||
| [2011/11/07 03:33:52] @ Quit: ewoud: *.net *.split | ||
| [2011/11/07 03:33:53] @ Quit: codec: *.net *.split | ||
| [2011/11/07 03:33:53] @ Quit: shine: *.net *.split | ||
| [2011/11/07 03:33:54] @ Quit: stn_: *.net *.split | ||
| [2011/11/07 03:33:54] @ Quit: |Mike|: *.net *.split | ||
| [2011/11/07 03:33:55] @ Quit: Jenza: *.net *.split | ||
| [2011/11/07 03:33:55] @ Quit: choffee: *.net *.split | ||
| [2011/11/07 03:33:56] @ Quit: tris: *.net *.split | ||
| [2011/11/07 03:33:57] @ Quit: bodgit: *.net *.split | ||
| [2011/11/07 03:33:57] @ Quit: FiXion: *.net *.split | ||
| [2011/11/07 03:33:58] @ Quit: yeled: *.net *.split | ||
| [2011/11/07 03:33:58] @ shine joined channel #puppet | ||
| [2011/11/07 03:34:01] @ eal joined channel #puppet | ||
| [2011/11/07 03:34:17] @ Andorka joined channel #puppet | ||
| [2011/11/07 03:34:22] @ blkperl joined channel #puppet | ||
| [2011/11/07 03:34:54] @ ronan_1 joined channel #puppet | ||
| [2011/11/07 03:35:26] @ gwmngilfen joined channel #puppet | ||
| [2011/11/07 03:35:38] @ lpaul7 joined channel #puppet | ||
| [2011/11/07 03:35:59] @ Jenza joined channel #puppet | ||
| [2011/11/07 03:36:00] @ silfreed joined channel #puppet | ||
| [2011/11/07 03:36:20] @ kolla joined channel #puppet | ||
| [2011/11/07 03:36:21] @ londo joined channel #puppet | ||
| [2011/11/07 03:36:28] @ fivefish joined channel #puppet | ||
| [2011/11/07 03:36:40] @ haus joined channel #puppet | ||
| [2011/11/07 03:36:51] @ bma joined channel #puppet | ||
| [2011/11/07 03:37:01] @ kelseyhightower joined channel #puppet | ||
| [2011/11/07 03:37:05] @ Xenith joined channel #puppet | ||
| [2011/11/07 03:37:06] @ liff joined channel #puppet | ||
| [2011/11/07 03:37:09] @ darix joined channel #puppet | ||
| [2011/11/07 03:37:09] @ Quit: darix: Changing host | ||
| [2011/11/07 03:37:09] @ darix joined channel #puppet | ||
| [2011/11/07 03:37:12] @ hggh joined channel #puppet | ||
| [2011/11/07 03:37:13] @ |Mike| joined channel #puppet | ||
| [2011/11/07 03:37:17] @ bpgoldsb joined channel #puppet | ||
| [2011/11/07 03:37:18] @ fpletz joined channel #puppet | ||
| [2011/11/07 03:37:19] @ trulsa joined channel #puppet | ||
| [2011/11/07 03:37:26] @ mig5 joined channel #puppet | ||
| [2011/11/07 03:37:26] @ jetole joined channel #puppet | ||
| [2011/11/07 03:37:27] @ lohapuk joined channel #puppet | ||
| [2011/11/07 03:37:28] @ marcellods joined channel #puppet | ||
| [2011/11/07 03:37:28] @ schvin joined channel #puppet | ||
| [2011/11/07 03:37:28] @ bd joined channel #puppet | ||
| [2011/11/07 03:37:31] @ Forconin joined channel #puppet | ||
| [2011/11/07 03:37:32] @ gebi joined channel #puppet | ||
| [2011/11/07 03:37:36] @ glarizza joined channel #puppet | ||
| [2011/11/07 03:37:37] @ showy_ joined channel #puppet | ||
| [2011/11/07 03:37:40] @ vincent_vdk joined channel #puppet | ||
| [2011/11/07 03:37:43] @ nibalizer joined channel #puppet | ||
| [2011/11/07 03:37:46] @ froztbyte joined channel #puppet | ||
| [2011/11/07 03:37:46] @ tvsutton joined channel #puppet | ||
| [2011/11/07 03:37:50] @ nevyn joined channel #puppet | ||
| [2011/11/07 03:37:51] @ wereHamster joined channel #puppet | ||
| [2011/11/07 03:37:58] @ bradm joined channel #puppet | ||
| [2011/11/07 03:38:00] @ n1x0n joined channel #puppet | ||
| [2011/11/07 03:38:00] @ asbruvik joined channel #puppet | ||
| [2011/11/07 03:38:00] @ FaUl joined channel #puppet | ||
| [2011/11/07 03:38:10] @ adnichols joined channel #puppet | ||
| [2011/11/07 03:38:17] @ R1ck joined channel #puppet | ||
| [2011/11/07 03:39:31] @ Kiall joined channel #puppet | ||
| [2011/11/07 03:39:32] @ Quit: gwmngilfen: Client Quit | ||
| [2011/11/07 03:39:52] @ frapzzt joined channel #puppet | ||
| [2011/11/07 03:40:12] @ gwmngilfen joined channel #puppet | ||
| [2011/11/07 03:40:34] @ ezryx joined channel #puppet | ||
| [2011/11/07 03:41:08] @ sfire||mouse joined channel #puppet | ||
| [2011/11/07 03:41:10] @ bartavelle joined channel #puppet | ||
| [2011/11/07 03:41:14] @ choffee joined channel #puppet | ||
| [2011/11/07 03:41:15] @ hazmat joined channel #puppet | ||
| [2011/11/07 03:41:16] <erthad> _rc: thank you | ||
| [2011/11/07 03:41:31] @ charlieS joined channel #puppet | ||
| [2011/11/07 03:41:41] @ vinci joined channel #puppet | ||
| [2011/11/07 03:42:16] @ Rince joined channel #puppet | ||
| [2011/11/07 03:42:17] @ Quit: Rince: Changing host | ||
| [2011/11/07 03:42:17] @ Rince joined channel #puppet | ||
| [2011/11/07 03:42:41] @ joschi joined channel #puppet | ||
| [2011/11/07 03:42:55] @ Elwell joined channel #puppet | ||
| [2011/11/07 03:42:55] @ martin- joined channel #puppet | ||
| [2011/11/07 03:42:59] @ Xeross joined channel #puppet | ||
| [2011/11/07 03:43:13] @ PhilK joined channel #puppet | ||
| [2011/11/07 03:43:42] @ tris joined channel #puppet | ||
| [2011/11/07 03:44:16] @ dezwart joined channel #puppet | ||
| [2011/11/07 03:46:05] @ TCPcaveman joined channel #puppet | ||
| [2011/11/07 03:46:56] @ madduck joined channel #puppet | ||
| [2011/11/07 03:47:00] @ Quit: gaveen: Quit: Leaving | ||
| [2011/11/07 03:47:38] @ ewoud joined channel #puppet | ||
| [2011/11/07 03:47:39] @ codec joined channel #puppet | ||
| [2011/11/07 03:47:39] @ crazed joined channel #puppet | ||
| [2011/11/07 03:48:39] @ Quit: csanchez: Ping timeout: 258 seconds | ||
| [2011/11/07 03:48:57] @ MattyM joined channel #puppet | ||
| [2011/11/07 03:48:59] @ Ratler joined channel #puppet | ||
| [2011/11/07 03:49:16] @ sp33t joined channel #puppet | ||
| [2011/11/07 03:49:25] @ nokia3510 joined channel #puppet | ||
| [2011/11/07 03:49:29] @ bronto joined channel #puppet | ||
| [2011/11/07 03:49:43] @ yeled joined channel #puppet | ||
| [2011/11/07 03:49:58] @ idl0r joined channel #puppet | ||
| [2011/11/07 03:50:29] @ jason^ joined channel #puppet | ||
| [2011/11/07 03:50:33] @ Quit: jason^: Changing host | ||
| [2011/11/07 03:50:33] @ jason^ joined channel #puppet | ||
| [2011/11/07 03:50:43] @ pmorillon joined channel #puppet | ||
| [2011/11/07 03:50:44] @ elementai joined channel #puppet | ||
| [2011/11/07 03:50:50] @ gaveen joined channel #puppet | ||
| [2011/11/07 03:50:51] @ Quit: gaveen: Changing host | ||
| [2011/11/07 03:50:51] @ gaveen joined channel #puppet | ||
| [2011/11/07 03:51:24] @ pugnacity joined channel #puppet | ||
| [2011/11/07 03:53:10] @ ckauhaus joined channel #puppet | ||
| [2011/11/07 03:54:47] @ cmoates joined channel #puppet | ||
| [2011/11/07 03:57:59] @ Quit: fragfutter: Ping timeout: 260 seconds | ||
| [2011/11/07 03:58:14] @ bigon joined channel #puppet | ||
| [2011/11/07 03:58:15] @ Quit: bigon: Changing host | ||
| [2011/11/07 03:58:15] @ bigon joined channel #puppet | ||
| [2011/11/07 03:58:34] @ mpdude_ joined channel #puppet | ||
| [2011/11/07 03:59:19] @ Quit: mpdude: Read error: Operation timed out | ||
| [2011/11/07 04:00:28] @ beens joined channel #puppet | ||
| [2011/11/07 04:01:09] <beens> hi guys.. i upgraded facter on ubuntu to 1.5.6-2ubuntu2.2 and I get a lot of ruby errors when I run facter | ||
| [2011/11/07 04:01:13] <beens> /usr/lib/ruby/1.8/timeout.rb:60:in `open': execution expired (Timeout::Error) | ||
| [2011/11/07 04:01:15] <beens> etc.. | ||
| [2011/11/07 04:01:22] @ Quit: ezryx: Remote host closed the connection | ||
| [2011/11/07 04:01:26] @ beens is now known as Beens | ||
| [2011/11/07 04:01:30] @ leifmadsen joined channel #puppet | ||
| [2011/11/07 04:01:31] @ Quit: leifmadsen: Changing host | ||
| [2011/11/07 04:01:31] @ leifmadsen joined channel #puppet | ||
| [2011/11/07 04:01:58] <Beens> on multiple boxes... | ||
| [2011/11/07 04:02:23] @ mpdude joined channel #puppet | ||
| [2011/11/07 04:04:30] @ Quit: adimania: Ping timeout: 240 seconds | ||
| [2011/11/07 04:05:59] @ Quit: mpdude_: Ping timeout: 258 seconds | ||
| [2011/11/07 04:06:21] <ker2x> Read our free Learning Puppet series to start speaking the language of DevOps! <- err... i don't want to speak the language of "DevOps", i'm a sysadmin ! x-( | ||
| [2011/11/07 04:06:30] @ ezryx joined channel #puppet | ||
| [2011/11/07 04:06:40] @ Quit: neonflux: Quit: Leaving. | ||
| [2011/11/07 04:09:22] @ zykes- joined channel #puppet | ||
| [2011/11/07 04:10:54] <sdog1> ker2x: with that mentality you'll be unemployed next :) | ||
| [2011/11/07 04:11:27] @ Quit: ezryx: Remote host closed the connection | ||
| [2011/11/07 04:14:07] @ frostynova joined channel #puppet | ||
| [2011/11/07 04:19:04] @ Quit: krish: Quit: Leaving. | ||
| [2011/11/07 04:19:16] @ krish joined channel #puppet | ||
| [2011/11/07 04:20:13] @ Quit: jongrocho: Remote host closed the connection | ||
| [2011/11/07 04:21:15] @ adimania joined channel #puppet | ||
| [2011/11/07 04:21:41] @ csanchez joined channel #puppet | ||
| [2011/11/07 04:22:02] @ Quit: csanchez: Client Quit | ||
| [2011/11/07 04:22:28] @ Quit: tris: Excess Flood | ||
| [2011/11/07 04:25:00] @ fragfutter joined channel #puppet | ||
| [2011/11/07 04:25:01] @ Quit: schvin: Ping timeout: 240 seconds | ||
| [2011/11/07 04:25:27] @ EdMcB4ne joined channel #puppet | ||
| [2011/11/07 04:26:11] @ tris joined channel #puppet | ||
| [2011/11/07 04:28:00] <EdMcB4ne> Hi. I'm trying camptocamp apt module on puppet 2.7.6 and I keep getting the same error: 'Could not find dependent Exec[apt-get_update]' | ||
| [2011/11/07 04:29:01] @ Quit: crazed: Ping timeout: 240 seconds | ||
| [2011/11/07 04:33:17] <_rc> EdMcB4ne: are you just using the define with no corresponding 'include apt' ? | ||
| [2011/11/07 04:33:20] @ ezryx joined channel #puppet | ||
| [2011/11/07 04:34:38] @ schvin joined channel #puppet | ||
| [2011/11/07 04:36:08] @ crazed joined channel #puppet | ||
| [2011/11/07 04:37:57] @ ChikuLinu__ joined channel #puppet | ||
| [2011/11/07 04:40:37] @ Quit: codec: Ping timeout: 240 seconds | ||
| [2011/11/07 04:40:40] <EdMcB4ne> _rc: yup, if i add "include apt" it bombs with 'Could not find class apt' | ||
| [2011/11/07 04:40:52] @ Quit: Chiku|dc: Ping timeout: 258 seconds | ||
| [2011/11/07 04:41:42] <EdMcB4ne> _rc: the log shows it importing all the expected classes though | ||
| [2011/11/07 04:42:58] @ Quit: dezwart: Quit: -ENOTTY | ||
| [2011/11/07 04:43:02] <ker2x> sdog1: i don't think so :D | ||
| [2011/11/07 04:44:05] <_rc> well the apt class is where that exec is defined, but I see it's a module that uses an import in the init.pp so it might be baffling the autoloader | ||
| [2011/11/07 04:44:32] <ker2x> sdog1: http://teddziuba.com/2011/03/devops-scam.html :D | ||
| [2011/11/07 04:44:59] <EdMcB4ne> that probably explains it | ||
| [2011/11/07 04:45:06] <EdMcB4ne> _rc: thanks for the insight | ||
| [2011/11/07 04:45:46] <EdMcB4ne> _rc: do you know of any other apt module that maybe is more "autoloader friendly" ? | ||
| [2011/11/07 04:46:05] <ker2x> i just contacted puppets labs about this "VMWare provisioning" thingy | ||
| [2011/11/07 04:46:08] <ker2x> wait'n see | ||
| [2011/11/07 04:46:14] @ Quit: lpaul7: Read error: Operation timed out | ||
| [2011/11/07 04:47:00] <_rc> EdMcB4ne: you could try modifying the one you have so that it works with this: http://docs.puppetlabs.com/guides/modules.html#module-autoloading | ||
| [2011/11/07 04:49:14] @ Quit: tris: Excess Flood | ||
| [2011/11/07 04:51:33] @ Quit: AshishH: Remote host closed the connection | ||
| [2011/11/07 04:51:41] @ tris joined channel #puppet | ||
| [2011/11/07 04:51:48] @ p3rror joined channel #puppet | ||
| [2011/11/07 04:52:03] @ codec joined channel #puppet | ||
| [2011/11/07 04:52:11] @ Quit: ezryx: Remote host closed the connection | ||
| [2011/11/07 04:52:34] @ Fecn joined channel #puppet | ||
| [2011/11/07 04:53:03] <Fecn> Hi Folks - was storeconfigs working back in the days of puppet 0.25.4 ? | ||
| [2011/11/07 04:53:20] @ Quit: erodriguez: Quit: erodriguez | ||
| [2011/11/07 04:53:52] <Fecn> I'm battling an old ubuntu (lucid) system and it just seems to be ignoring storeconfigs altogether... nothing in the logs.. no complaints, no errors etc | ||
| [2011/11/07 04:54:14] @ jaymurtii joined channel #puppet | ||
| [2011/11/07 04:54:44] <_rc> we used it in 0.25.5, I guess 0.25.4 should work too. what does your configuration look like? | ||
| [2011/11/07 04:55:06] <Fecn> prerequisite says puppet 0.25 or later... so I guess that answers my question... | ||
| [2011/11/07 04:55:09] <fragfutter> Fecn: http://docs.puppetlabs.com/references/0.25.4/configuration.html#storeconfigs | ||
| [2011/11/07 04:56:01] @ lwhalen joined channel #puppet | ||
| [2011/11/07 04:56:02] @ Quit: MattyM: Quit: Leaving | ||
| [2011/11/07 04:56:07] <Fecn> _rc: Config is here... http://pastie.org/2825224 | ||
| [2011/11/07 04:56:20] @ MattyM joined channel #puppet | ||
| [2011/11/07 04:56:36] <_rc> looks ok. restarted the master? | ||
| [2011/11/07 04:56:48] <_rc> oh hang on | ||
| [2011/11/07 04:56:50] <_rc> 0.25 | ||
| [2011/11/07 04:56:51] @ Quit: MattyM: Client Quit | ||
| [2011/11/07 04:56:59] <_rc> the section isn't [master] it's | ||
| [2011/11/07 04:57:01] @ Quit: bobra: Ping timeout: 260 seconds | ||
| [2011/11/07 04:57:20] @ MattyM joined channel #puppet | ||
| [2011/11/07 04:57:22] <Fecn> I tried [puppetmasterd] instead of [master] too | ||
| [2011/11/07 04:57:35] @ Quit: ronan_1: Read error: Connection reset by peer | ||
| [2011/11/07 04:57:40] <_rc> [puppetmasterd] | ||
| [2011/11/07 04:58:00] <Fecn> It was when that didn't work that I changed to [master] .... I have a working 0.27 setup to crib the config from | ||
| [2011/11/07 04:58:34] <_rc> [master] is for 2.6 onwards, [puppetmasterd] is for 0.25 | ||
| [2011/11/07 04:58:57] <_rc> so when you say it didn't work, what did it do? | ||
| [2011/11/07 04:59:15] <Fecn> Well.. puppet runs as normal... no complaints at all | ||
| [2011/11/07 04:59:38] <Fecn> I have a puppet database in mysql... password is correct in the config file... but it has not tables yet | ||
| [2011/11/07 04:59:58] <Fecn> doesn't look as if anything has tried to access the database at all | ||
| [2011/11/07 05:00:00] <_rc> the schema is usually created when the puppetmaster starts | ||
| [2011/11/07 05:00:00] <countskm> ker2x: im deferring from an opinion of that devops critique but the guy is funny - checking out some of his other posts - reminds me of a tech andy rooney :-) | ||
| [2011/11/07 05:00:13] @ Quit: codec: Ping timeout: 240 seconds | ||
| [2011/11/07 05:00:49] @ Quit: verwilst: Quit: Ex-Chat | ||
| [2011/11/07 05:01:04] @ verwilst joined channel #puppet | ||
| [2011/11/07 05:01:14] @ codec joined channel #puppet | ||
| [2011/11/07 05:01:16] <Fecn> I'm running puppetmaster with apache+passenger... would that make a difference? | ||
| [2011/11/07 05:01:18] @ Quit: verwilst: Read error: Connection reset by peer | ||
| [2011/11/07 05:01:33] <_rc> it shouldn't | ||
| [2011/11/07 05:01:44] @ ronan_1 joined channel #puppet | ||
| [2011/11/07 05:02:00] <_rc> does the puppet database user have permission to mutate the schema? | ||
| [2011/11/07 05:02:15] @ lpaul7 joined channel #puppet | ||
| [2011/11/07 05:02:43] <Fecn> it should have all privileges.... (GRANT ALL PRIVILEGES ON *.* TO 'puppet'@'localhost' identified by '<some password>'; | ||
| [2011/11/07 05:03:09] <Fecn> I would have expected it to log something if it was unable to access the database | ||
| [2011/11/07 05:03:19] @ FiXion joined channel #puppet | ||
| [2011/11/07 05:03:19] @ bodgit joined channel #puppet | ||
| [2011/11/07 05:03:20] @ stn_ joined channel #puppet | ||
| [2011/11/07 05:03:33] <_rc> try stopping apache and then starting the puppetmaster binary, then kill it and restart your apache | ||
| [2011/11/07 05:03:48] <Fecn> The puppetmaster binary doesn't have the right ssl certs at the moment | ||
| [2011/11/07 05:03:52] <Fecn> I just tried that one :) | ||
| [2011/11/07 05:03:53] <_rc> just in case it is only the puppetmaster that creates it when you run standalone | ||
| [2011/11/07 05:04:30] @ Quit: Spads: Ping timeout: 240 seconds | ||
| [2011/11/07 05:04:37] <ker2x> countskm: yup, it's funny :) | ||
| [2011/11/07 05:04:48] <Fecn> it didn't create anything at startup.. but I couldn't get a client to connect due to ssl certs only being in apache at the moment | ||
| [2011/11/07 05:05:04] <ker2x> * Culture of respect & trust, good attitude toward failure. How about "culture of stop fucking up"? | ||
| [2011/11/07 05:05:08] <ker2x> :D | ||
| [2011/11/07 05:05:36] <countskm> the only thing is its a little accusatory of people who whether u think its right or not genuinely are trying to solve a problem | ||
| [2011/11/07 05:06:06] <countskm> of course some people will go for the ride and make this a cloudier picture | ||
| [2011/11/07 05:06:24] <ker2x> :)) | ||
| [2011/11/07 05:06:54] <ker2x> (and sell books) | ||
| [2011/11/07 05:07:08] <ker2x> (written in xml) | ||
| [2011/11/07 05:09:39] @ Quit: Deesl: Quit: Bye! | ||
| [2011/11/07 05:11:47] @ Spads joined channel #puppet | ||
| [2011/11/07 05:15:18] <erthad> is it possible to set some global variable in node inventory serverside before compiling catalog but after retrieving facts from client? | ||
| [2011/11/07 05:16:01] @ MoooookiE joined channel #puppet | ||
| [2011/11/07 05:16:14] @ ezryx joined channel #puppet | ||
| [2011/11/07 05:16:22] @ rsnhyperion joined channel #puppet | ||
| [2011/11/07 05:17:01] <erthad> i.e. I'm actually asking about a way to create serverside facts | ||
| [2011/11/07 05:17:24] <MoooookiE> Hello, I have a question to augeas. I have to set two "ListenAddress" in the /etc/ssh/sshd_config. I try it (http://pastebin.com/gNVhWmqs) but the second "set ListenAddress" overrides the first. Can someone please help me with this? | ||
| [2011/11/07 05:18:45] <duritong> erthad: have a look at hiera or extlookup | ||
| [2011/11/07 05:18:53] <duritong> duritong: what you want is to lookup data | ||
| [2011/11/07 05:18:58] <duritong> bleh | ||
| [2011/11/07 05:19:16] <duritong> erthad: what you want is to lookup data and puppet functions will help you with that | ||
| [2011/11/07 05:19:49] <Dominic> MoooookiE: it might be an ordering thing as you're using ListenAddress[1] and [2] without any explicit dependency between the two. Try putting a require from the second onto the first, or use ListenAddress[last()+1]. | ||
| [2011/11/07 05:19:50] <erthad> duritong: that is exactly what I need that for -- to create a fact for further passing that to hiera | ||
| [2011/11/07 05:20:00] @ Quit: lwhalen: Quit: Computer has gone to sleep | ||
| [2011/11/07 05:21:07] @ Quit: IndyMichaelB: Quit: IndyMichaelB | ||
| [2011/11/07 05:21:26] <duritong> erthad: to tweak the lookup? | ||
| [2011/11/07 05:21:30] @ verwilst joined channel #puppet | ||
| [2011/11/07 05:22:06] <erthad> duritong: I want to dynamically set the variable that hiera depends on in its hierarchy | ||
| [2011/11/07 05:22:35] @ Quit: verwilst: Remote host closed the connection | ||
| [2011/11/07 05:22:37] <erthad> so it should be defined in the scope passed to hiera | ||
| [2011/11/07 05:23:01] <duritong> ic | ||
| [2011/11/07 05:23:20] <duritong> well imho you should be able to set that var right before doing the lookup | ||
| [2011/11/07 05:25:40] <MoooookiE> Dominic: Thank you! It works now. | ||
| [2011/11/07 05:26:13] <erthad> duritong: actually I'll try to do that locally in custom puppet function for hiera | ||
| [2011/11/07 05:26:23] @ Quit: MoooookiE: Quit: Leaving. | ||
| [2011/11/07 05:28:17] <erthad> if you are interested, I was going to retrieve some info (node type, environment etc) from node's AWS EC2 tags for hiera to classify node upon these | ||
| [2011/11/07 05:30:14] @ Quit: rsnhyperion: Quit: rsnhyperion | ||
| [2011/11/07 05:31:21] @ beddari joined channel #puppet | ||
| [2011/11/07 05:32:11] <duritong> erthad: and it does not work? do you get any error etc.? | ||
| [2011/11/07 05:32:39] @ verwilst joined channel #puppet | ||
| [2011/11/07 05:34:50] <erthad> duritong: I can't do that from the node as I don't want to pass credentials for such operation to a node. And this should be done globally for all puppet calls to hiera functions so I might have to hack into those to pass that data to hiera | ||
| [2011/11/07 05:39:22] @ Quit: kubicek: Excess Flood | ||
| [2011/11/07 05:39:26] <duritong> erthad: yes | ||
| [2011/11/07 05:39:43] <duritong> erthad: but how does that interfer with what I suggested? | ||
| [2011/11/07 05:40:22] @ kubicek joined channel #puppet | ||
| [2011/11/07 05:40:47] <erthad> duritong: I don't set the var by hand but generate its value | ||
| [2011/11/07 05:42:13] @ Quit: codec: Ping timeout: 240 seconds | ||
| [2011/11/07 05:42:13] @ Quit: n1x0n: Ping timeout: 240 seconds | ||
| [2011/11/07 05:42:59] @ dubey joined channel #puppet | ||
| [2011/11/07 05:43:06] <dubey> hello | ||
| [2011/11/07 05:43:07] <duritong> erthad: so hiera does take variables to build it's lookup hierarchy | ||
| [2011/11/07 05:43:08] @ codec joined channel #puppet | ||
| [2011/11/07 05:43:09] @ n1x0n joined channel #puppet | ||
| [2011/11/07 05:43:44] <duritong> erthad: if you set that variable before you call hiera, you have what you called "server side facts" | ||
| [2011/11/07 05:44:07] <duritong> erthad: it doesn't matter whether you set that variable by hand or it is a result of another function call | ||
| [2011/11/07 05:44:31] <dubey> I want to add a new puppet client; But getting http://pastebin.com/mtgbv3V0 | ||
| [2011/11/07 05:45:25] @ Quit: FaUl: Ping timeout: 240 seconds | ||
| [2011/11/07 05:46:38] @ IndyMichaelB joined channel #puppet | ||
| [2011/11/07 05:49:20] @ astrostl joined channel #puppet | ||
| [2011/11/07 05:49:56] @ Quit: Recourse: Quit: Ouch! | ||
| [2011/11/07 05:50:04] <dubey> anyone | ||
| [2011/11/07 05:50:06] @ Quit: blentz: Ping timeout: 240 seconds | ||
| [2011/11/07 05:50:50] <erthad> duritong: so I can set that in site.pp and it will be evaluated for every node that connects to puppetmaster? | ||
| [2011/11/07 05:50:57] @ Recourse joined channel #puppet | ||
| [2011/11/07 05:51:33] @ Quit: nubs: Quit: WeeChat 0.3.6-dev | ||
| [2011/11/07 05:54:46] @ gniks joined channel #puppet | ||
| [2011/11/07 05:56:09] @ Quit: gniks: Client Quit | ||
| [2011/11/07 05:56:27] @ Chesther joined channel #puppet | ||
| [2011/11/07 05:57:53] @ gregp76 joined channel #puppet | ||
| [2011/11/07 05:58:22] @ choonming joined channel #puppet | ||
| [2011/11/07 06:01:25] @ Quit: PhilK: Ping timeout: 240 seconds | ||
| [2011/11/07 06:01:44] <walkeran> dubey: Is that a new puppet client? Or has it connected to another (different) puppetmaster before? | ||
| [2011/11/07 06:02:01] <walkeran> dubey: Also, check that the clocks are synced between the two servers | ||
| [2011/11/07 06:02:07] @ Quit: gregp76: Read error: Connection reset by peer | ||
| [2011/11/07 06:02:15] <Fritti> right. am I correct in my understanding that the 'resources.dot' as generated by puppet with graph=true should link resources that have requires => / before => ? | ||
| [2011/11/07 06:02:24] @ samkottler joined channel #puppet | ||
| [2011/11/07 06:02:27] @ gregp76 joined channel #puppet | ||
| [2011/11/07 06:02:44] <dubey> walkeran: it is new | ||
| [2011/11/07 06:03:21] <dubey> i have signed the certifcate after that i am getting this error | ||
| [2011/11/07 06:03:34] @ bretm joined channel #puppet | ||
| [2011/11/07 06:03:35] <walkeran> so... are the dates/times exactly in-sync? | ||
| [2011/11/07 06:03:42] @ PhilK joined channel #puppet | ||
| [2011/11/07 06:04:07] @ Quit: adimania: Ping timeout: 255 seconds | ||
| [2011/11/07 06:04:20] <dubey> walkeran: No, they are not in sync | ||
| [2011/11/07 06:04:34] <walkeran> dubey: That's more than likely your issue, then | ||
| [2011/11/07 06:04:42] <duritong> dubey: ssl requires the clocks to be in sync | ||
| [2011/11/07 06:04:48] <dubey> it is a vm and i have paused it for 4 days | ||
| [2011/11/07 06:05:04] <walkeran> That's definitely your problem, then | ||
| [2011/11/07 06:05:47] @ nubs joined channel #puppet | ||
| [2011/11/07 06:06:02] <dubey> let me reboot the vm | ||
| [2011/11/07 06:06:44] @ Quit: IndyMichaelB: Quit: IndyMichaelB | ||
| [2011/11/07 06:07:49] @ Quit: iw_work: Read error: Operation timed out | ||
| [2011/11/07 06:08:16] @ Quit: EdMcB4ne: Quit: Ex-Chat | ||
| [2011/11/07 06:08:54] @ blentz joined channel #puppet | ||
| [2011/11/07 06:08:57] @ IndyMichaelB joined channel #puppet | ||
| [2011/11/07 06:09:15] @ iw_work joined channel #puppet | ||
| [2011/11/07 06:10:23] @ jjungnickel joined channel #puppet | ||
| [2011/11/07 06:10:30] @ Shanlar- joined channel #puppet | ||
| [2011/11/07 06:10:34] <CrazyGir> hello! anyone using puppet on openbsd | ||
| [2011/11/07 06:11:02] @ Quit: Recourse: *.net *.split | ||
| [2011/11/07 06:11:02] @ Quit: n1x0n: *.net *.split | ||
| [2011/11/07 06:11:02] @ Quit: codec: *.net *.split | ||
| [2011/11/07 06:11:03] @ Quit: ronan_1: *.net *.split | ||
| [2011/11/07 06:11:03] @ Quit: tris: *.net *.split | ||
| [2011/11/07 06:11:04] @ Quit: crazed: *.net *.split | ||
| [2011/11/07 06:11:04] @ Quit: schvin: *.net *.split | ||
| [2011/11/07 06:11:05] @ Quit: zykes-: *.net *.split | ||
| [2011/11/07 06:11:05] @ Quit: leifmadsen: *.net *.split | ||
| [2011/11/07 06:11:06] @ Quit: bigon: *.net *.split | ||
| [2011/11/07 06:11:06] @ Quit: cmoates: *.net *.split | ||
| [2011/11/07 06:11:06] @ Quit: ckauhaus: *.net *.split | ||
| [2011/11/07 06:11:07] @ Quit: pugnacity: *.net *.split | ||
| [2011/11/07 06:11:07] @ Quit: yeled: *.net *.split | ||
| [2011/11/07 06:11:08] @ Quit: bronto: *.net *.split | ||
| [2011/11/07 06:11:08] @ Quit: idl0r: *.net *.split | ||
| [2011/11/07 06:11:09] @ Quit: nokia3510: *.net *.split | ||
| [2011/11/07 06:11:10] @ Quit: Ratler: *.net *.split | ||
| [2011/11/07 06:11:10] @ Quit: ewoud: *.net *.split | ||
| [2011/11/07 06:11:11] @ Quit: madduck: *.net *.split | ||
| [2011/11/07 06:11:11] @ Quit: TCPcaveman: *.net *.split | ||
| [2011/11/07 06:11:12] @ Quit: Elwell: *.net *.split | ||
| [2011/11/07 06:11:12] @ Quit: Rince: *.net *.split | ||
| [2011/11/07 06:11:13] @ Quit: choffee: *.net *.split | ||
| [2011/11/07 06:11:14] @ Quit: bartavelle: *.net *.split | ||
| [2011/11/07 06:11:14] @ Quit: Xeross: *.net *.split | ||
| [2011/11/07 06:11:15] @ Quit: frapzzt: *.net *.split | ||
| [2011/11/07 06:11:15] @ Quit: R1ck: *.net *.split | ||
| [2011/11/07 06:11:15] @ Quit: lohapuk: *.net *.split | ||
| [2011/11/07 06:11:16] @ Quit: hggh: *.net *.split | ||
| [2011/11/07 06:11:17] @ Quit: darix: *.net *.split | ||
| [2011/11/07 06:11:17] @ Quit: liff: *.net *.split | ||
| [2011/11/07 06:11:17] @ Quit: Xenith: *.net *.split | ||
| [2011/11/07 06:11:18] @ Quit: Kiall: *.net *.split | ||
| [2011/11/07 06:11:18] @ Quit: silfreed: *.net *.split | ||
| [2011/11/07 06:11:19] @ Quit: Jenza: *.net *.split | ||
| [2011/11/07 06:11:20] @ Quit: optiz0r: *.net *.split | ||
| [2011/11/07 06:11:20] @ Quit: mfladischer: *.net *.split | ||
| [2011/11/07 06:11:21] @ Quit: octane-: *.net *.split | ||
| [2011/11/07 06:11:22] @ Quit: Wolfspyre: *.net *.split | ||
| [2011/11/07 06:11:22] @ Quit: blast_hardcheese: *.net *.split | ||
| [2011/11/07 06:11:23] @ Quit: patcon: *.net *.split | ||
| [2011/11/07 06:11:23] @ Quit: rektide: *.net *.split | ||
| [2011/11/07 06:11:24] @ Quit: Tobu: *.net *.split | ||
| [2011/11/07 06:11:24] @ Quit: kenyon: *.net *.split | ||
| [2011/11/07 06:11:25] @ Quit: misc: *.net *.split | ||
| [2011/11/07 06:11:26] @ Quit: monomyth: *.net *.split | ||
| [2011/11/07 06:11:26] @ Quit: vStone: *.net *.split | ||
| [2011/11/07 06:11:27] @ Quit: Mandus: *.net *.split | ||
| [2011/11/07 06:11:27] @ Quit: OMCK: *.net *.split | ||
| [2011/11/07 06:11:28] @ Quit: aanderson: *.net *.split | ||
| [2011/11/07 06:11:28] @ Quit: Sil4nc4: *.net *.split | ||
| [2011/11/07 06:11:28] @ Quit: bipolar: *.net *.split | ||
| [2011/11/07 06:11:29] @ Quit: hacim: *.net *.split | ||
| [2011/11/07 06:11:29] @ Quit: adrient: *.net *.split | ||
| [2011/11/07 06:11:30] @ Quit: iclebyte: *.net *.split | ||
| [2011/11/07 06:11:30] @ Quit: Raboo: *.net *.split | ||
| [2011/11/07 06:11:31] @ Quit: evilsushi: *.net *.split | ||
| [2011/11/07 06:11:31] @ Quit: nb: *.net *.split | ||
| [2011/11/07 06:11:32] @ Quit: eRefre: *.net *.split | ||
| [2011/11/07 06:11:32] @ Quit: s0enke: *.net *.split | ||
| [2011/11/07 06:11:32] @ Quit: salajander: *.net *.split | ||
| [2011/11/07 06:11:33] @ Quit: emag: *.net *.split | ||
| [2011/11/07 06:11:33] @ Quit: schimmi: *.net *.split | ||
| [2011/11/07 06:11:33] @ Quit: _Spike_: *.net *.split | ||
| [2011/11/07 06:11:34] @ Quit: dballing: *.net *.split | ||
| [2011/11/07 06:11:35] @ Quit: slapster: *.net *.split | ||
| [2011/11/07 06:11:35] @ Quit: giskard: *.net *.split | ||
| [2011/11/07 06:11:35] @ Quit: paravoid: *.net *.split | ||
| [2011/11/07 06:11:36] @ Quit: z00dax: *.net *.split | ||
| [2011/11/07 06:11:36] @ Quit: _NiC: *.net *.split | ||
| [2011/11/07 06:11:37] @ Quit: edheldil: *.net *.split | ||
| [2011/11/07 06:11:37] @ Quit: ToKy: *.net *.split | ||
| [2011/11/07 06:11:38] @ Quit: habanero: *.net *.split | ||
| [2011/11/07 06:11:38] @ Quit: exceion: *.net *.split | ||
| [2011/11/07 06:11:39] @ Quit: kambiz: *.net *.split | ||
| [2011/11/07 06:11:39] @ Quit: masterzen: *.net *.split | ||
| [2011/11/07 06:11:40] @ Quit: whack: *.net *.split | ||
| [2011/11/07 06:11:41] @ Quit: sunny: *.net *.split | ||
| [2011/11/07 06:11:41] @ Quit: daks: *.net *.split | ||
| [2011/11/07 06:11:41] @ Quit: Corey: Read error: Operation timed out | ||
| [2011/11/07 06:11:42] @ Quit: tightwork: Read error: Operation timed out | ||
| [2011/11/07 06:11:42] @ Quit: kelseyhightower: Read error: Connection reset by peer | ||
| [2011/11/07 06:11:43] @ Quit: Shanlar-: Read error: Connection reset by peer | ||
| [2011/11/07 06:11:43] <CrazyGir> I have run into at least 2 (potential) bugs that seem sort of silly, like others must have run into this | ||
| [2011/11/07 06:11:43] @ kelseyhightower joined channel #puppet | ||
| [2011/11/07 06:11:43] <duritong> CrazyGir: like not being able to install remote packages? | ||
| [2011/11/07 06:11:44] @ Quit: Ahlee: Read error: Connection reset by peer | ||
| [2011/11/07 06:11:52] @ larstobi1 joined channel #puppet | ||
| [2011/11/07 06:11:58] @ rejectreality_ joined channel #puppet | ||
| [2011/11/07 06:11:58] @ Quit: MattTheRat: Ping timeout: 240 seconds | ||
| [2011/11/07 06:12:00] @ Quit: rejectreality_: Changing host | ||
| [2011/11/07 06:12:00] @ rejectreality_ joined channel #puppet | ||
| [2011/11/07 06:12:00] @ Quit: olof: Ping timeout: 248 seconds | ||
| [2011/11/07 06:12:01] @ Shanlar- joined channel #puppet | ||
| [2011/11/07 06:12:04] @ Fecn1 joined channel #puppet | ||
| [2011/11/07 06:12:05] @ Raboo joined channel #puppet | ||
| [2011/11/07 06:12:09] @ jb__ joined channel #puppet | ||
| [2011/11/07 06:12:19] @ Quit: mogitux: Read error: Operation timed out | ||
| [2011/11/07 06:12:19] @ Quit: lbt: Read error: Operation timed out | ||
| [2011/11/07 06:12:19] @ Quit: Fecn: Read error: Connection reset by peer | ||
| [2011/11/07 06:12:20] @ Quit: Dyresen: Read error: Operation timed out | ||
| [2011/11/07 06:12:20] @ Quit: bma: Read error: Operation timed out | ||
| [2011/11/07 06:12:20] @ Quit: arnihermann: Read error: Operation timed out | ||
| [2011/11/07 06:12:21] @ Quit: SFox: Read error: Operation timed out | ||
| [2011/11/07 06:12:23] @ Quit: ricky: Read error: Operation timed out | ||
| [2011/11/07 06:12:23] @ Quit: CoolCold: Read error: Operation timed out | ||
| [2011/11/07 06:12:23] @ IndyMichaelB_ joined channel #puppet | ||
| [2011/11/07 06:12:27] @ Quit: blahdeblah: Ping timeout: 252 seconds | ||
| [2011/11/07 06:12:27] @ Quit: DoDaT69: Ping timeout: 252 seconds | ||
| [2011/11/07 06:12:27] @ bma joined channel #puppet | ||
| [2011/11/07 06:12:28] @ lbt joined channel #puppet | ||
| [2011/11/07 06:12:29] @ Quit: lbt: Changing host | ||
| [2011/11/07 06:12:29] @ lbt joined channel #puppet | ||
| [2011/11/07 06:12:29] @ Arendtse1 joined channel #puppet | ||
| [2011/11/07 06:12:30] @ Quit: krish: Ping timeout: 240 seconds | ||
| [2011/11/07 06:12:34] @ Quit: jaytaph: Ping timeout: 256 seconds | ||
| [2011/11/07 06:12:35] @ Quit: ChikuLinu__: Read error: Connection reset by peer | ||
| [2011/11/07 06:12:36] @ Quit: justin_donaldson: Ping timeout: 252 seconds | ||
| [2011/11/07 06:12:36] @ Quit: colon_D: Ping timeout: 252 seconds | ||
| [2011/11/07 06:12:36] @ Quit: hal-j: Ping timeout: 252 seconds | ||
| [2011/11/07 06:12:37] @ Quit: BartVB: Ping timeout: 252 seconds | ||
| [2011/11/07 06:12:37] @ Quit: basic`: Ping timeout: 252 seconds | ||
| [2011/11/07 06:12:37] @ semaphor1 joined channel #puppet | ||
| [2011/11/07 06:12:43] @ schimmi joined channel #puppet | ||
| [2011/11/07 06:12:47] @ Quit: yerp: Ping timeout: 255 seconds | ||
| [2011/11/07 06:12:51] @ Quit: tessier: Read error: Operation timed out | ||
| [2011/11/07 06:12:53] @ Quit: semaphore: Ping timeout: 245 seconds | ||
| [2011/11/07 06:12:54] @ Quit: tizzo-afk: Ping timeout: 240 seconds | ||
| [2011/11/07 06:12:55] @ Quit: kjalil: Ping timeout: 240 seconds | ||
| [2011/11/07 06:12:55] @ Quit: jbarratt: Ping timeout: 240 seconds | ||
| [2011/11/07 06:12:56] @ Quit: gnarf: Ping timeout: 240 seconds | ||
| [2011/11/07 06:13:04] @ Quit: fir31ight: Ping timeout: 248 seconds | ||
| [2011/11/07 06:13:05] @ lohapuk joined channel #puppet | ||
| [2011/11/07 06:13:05] @ Mandus joined channel #puppet | ||
| [2011/11/07 06:13:06] @ BartVB joined channel #puppet | ||
| [2011/11/07 06:13:07] @ Quit: IndyMichaelB_: Client Quit | ||
| [2011/11/07 06:13:08] @ kjalil joined channel #puppet | ||
| [2011/11/07 06:13:09] @ SFox joined channel #puppet | ||
| [2011/11/07 06:13:09] @ jbarratt joined channel #puppet | ||
| [2011/11/07 06:13:19] @ Quit: sdog1: Ping timeout: 240 seconds | ||
| [2011/11/07 06:13:19] @ Quit: Whoop: Ping timeout: 240 seconds | ||
| [2011/11/07 06:13:19] @ Quit: Sargun_Screen: Ping timeout: 240 seconds | ||
| [2011/11/07 06:13:20] @ Quit: taihen: Ping timeout: 240 seconds | ||
| [2011/11/07 06:13:20] @ Quit: kermit: Ping timeout: 252 seconds | ||
| [2011/11/07 06:13:27] @ tessier joined channel #puppet | ||
| [2011/11/07 06:13:31] @ Quit: toobulkeh: Read error: Connection reset by peer | ||
| [2011/11/07 06:13:31] <dpash> if has_variable?("backup_exclusions") then | ||
| [2011/11/07 06:13:33] @ Quit: ianbrandt: Ping timeout: 252 seconds | ||
| [2011/11/07 06:13:33] @ Quit: charlieS: Ping timeout: 258 seconds | ||
| [2011/11/07 06:13:33] @ Quit: Hunner: Ping timeout: 258 seconds | ||
| [2011/11/07 06:13:34] @ Quit: doo: Remote host closed the connection | ||
| [2011/11/07 06:13:36] @ Quit: IndyMichaelB: Ping timeout: 248 seconds | ||
| [2011/11/07 06:13:36] @ Quit: wollviech: Ping timeout: 248 seconds | ||
| [2011/11/07 06:13:38] @ ChikuLinu__ joined channel #puppet | ||
| [2011/11/07 06:13:38] @ charlieS joined channel #puppet | ||
| [2011/11/07 06:13:39] <dpash> how do I qualify that? | ||
| [2011/11/07 06:13:41] @ Quit: Arendtsen: Ping timeout: 252 seconds | ||
| [2011/11/07 06:13:42] @ Quit: bag__: Ping timeout: 252 seconds | ||
| [2011/11/07 06:13:42] @ ricky joined channel #puppet | ||
| [2011/11/07 06:13:43] @ Quit: gwmngilfen: Ping timeout: 240 seconds | ||
| [2011/11/07 06:13:43] @ matthaus joined channel #puppet | ||
| [2011/11/07 06:13:43] @ Quit: joe-mac: Ping timeout: 240 seconds | ||
| [2011/11/07 06:13:45] @ Quit: jpalmer: Ping timeout: 245 seconds | ||
| [2011/11/07 06:13:46] @ Quit: DanielFriesen: Ping timeout: 245 seconds | ||
| [2011/11/07 06:13:47] @ Quit: rew: Ping timeout: 240 seconds | ||
| [2011/11/07 06:13:47] @ Quit: swygue: Ping timeout: 240 seconds | ||
| [2011/11/07 06:13:48] @ Quit: bobbyz: Ping timeout: 240 seconds | ||
| [2011/11/07 06:13:49] @ Quit: trespan: Ping timeout: 240 seconds | ||
| [2011/11/07 06:13:49] @ Quit: _UsUrPeR_: Ping timeout: 240 seconds | ||
| [2011/11/07 06:13:49] @ Quit: Hilli: Ping timeout: 240 seconds | ||
| [2011/11/07 06:13:50] @ Quit: Shanlar: Read error: Connection reset by peer | ||
| [2011/11/07 06:13:50] @ Quit: rejectreality: Read error: Connection reset by peer | ||
| [2011/11/07 06:13:51] @ Quit: jb: Read error: Connection reset by peer | ||
| [2011/11/07 06:13:51] @ paroneay` joined channel #puppet | ||
| [2011/11/07 06:13:51] @ marut1 joined channel #puppet | ||
| [2011/11/07 06:13:51] @ Quit: nibalizer: Read error: Connection reset by peer | ||
| [2011/11/07 06:13:51] @ nibz joined channel #puppet | ||
| [2011/11/07 06:13:52] @ Quit: haus: Read error: Connection reset by peer | ||
| [2011/11/07 06:13:54] @ Quit: filler: Ping timeout: 260 seconds | ||
| [2011/11/07 06:13:59] @ rew joined channel #puppet | ||
| [2011/11/07 06:14:01] @ Quit: elasticdog: Ping timeout: 255 seconds | ||
| [2011/11/07 06:14:02] @ Quit: localhost: Ping timeout: 260 seconds | ||
| [2011/11/07 06:14:02] @ Quit: j^2: Ping timeout: 260 seconds | ||
| [2011/11/07 06:14:03] @ yerp joined channel #puppet | ||
| [2011/11/07 06:14:03] @ Quit: thenulldevice: Ping timeout: 252 seconds | ||
| [2011/11/07 06:14:04] @ Quit: paroneayea: Ping timeout: 252 seconds | ||
| [2011/11/07 06:14:04] @ Sargun_Screen joined channel #puppet | ||
| [2011/11/07 06:14:07] @ Quit: mocker: Ping timeout: 240 seconds | ||
| [2011/11/07 06:14:07] @ olof joined channel #puppet | ||
| [2011/11/07 06:14:08] @ Quit: wilco: Ping timeout: 248 seconds | ||
| [2011/11/07 06:14:09] @ Quit: rtyler: Ping timeout: 276 seconds | ||
| [2011/11/07 06:14:10] @ Sil4nc4 joined channel #puppet | ||
| [2011/11/07 06:14:11] @ Quit: nubs: Ping timeout: 260 seconds | ||
| [2011/11/07 06:14:12] @ Quit: marut: Ping timeout: 260 seconds | ||
| [2011/11/07 06:14:12] @ Whoop joined channel #puppet | ||
| [2011/11/07 06:14:12] @ Quit: Whoop: Changing host | ||
| [2011/11/07 06:14:12] @ Whoop joined channel #puppet | ||
| [2011/11/07 06:14:14] @ justin_donaldson joined channel #puppet | ||
| [2011/11/07 06:14:14] @ toobulkeh joined channel #puppet | ||
| [2011/11/07 06:14:19] @ Quit: larstobi: Ping timeout: 258 seconds | ||
| [2011/11/07 06:14:21] @ krish joined channel #puppet | ||
| [2011/11/07 06:14:24] @ Quit: fenrus02: Ping timeout: 258 seconds | ||
| [2011/11/07 06:14:37] @ Quit: blkperl: Read error: Connection reset by peer | ||
| [2011/11/07 06:14:44] @ Hilli joined channel #puppet | ||
| [2011/11/07 06:14:48] @ Quit: nate_h: Ping timeout: 276 seconds | ||
| [2011/11/07 06:14:49] @ bag__ joined channel #puppet | ||
| [2011/11/07 06:14:50] @ Quit: bolt12: Ping timeout: 256 seconds | ||
| [2011/11/07 06:14:50] @ hggh joined channel #puppet | ||
| [2011/11/07 06:15:03] @ doo joined channel #puppet | ||
| [2011/11/07 06:15:03] @ Quit: Andorka: Read error: Connection reset by peer | ||
| [2011/11/07 06:15:07] @ swygue joined channel #puppet | ||
| [2011/11/07 06:15:14] @ nate_h joined channel #puppet | ||
| [2011/11/07 06:15:14] @ fir31ight joined channel #puppet | ||
| [2011/11/07 06:15:15] @ wilco joined channel #puppet | ||
| [2011/11/07 06:15:16] @ Andorka joined channel #puppet | ||
| [2011/11/07 06:15:19] @ Dantman joined channel #puppet | ||
| [2011/11/07 06:15:21] @ gwmngilfen joined channel #puppet | ||
| [2011/11/07 06:15:27] @ taihen joined channel #puppet | ||
| [2011/11/07 06:15:35] @ CoolCold joined channel #puppet | ||
| [2011/11/07 06:15:37] @ hacim joined channel #puppet | ||
| [2011/11/07 06:15:38] @ Quit: hacim: Changing host | ||
| [2011/11/07 06:15:38] @ hacim joined channel #puppet | ||
| [2011/11/07 06:15:40] @ filler joined channel #puppet | ||
| [2011/11/07 06:15:42] @ nubs joined channel #puppet | ||
| [2011/11/07 06:15:45] @ Dyresen joined channel #puppet | ||
| [2011/11/07 06:15:48] @ Quit: Chesther: Ping timeout: 245 seconds | ||
| [2011/11/07 06:16:12] @ salajander joined channel #puppet | ||
| [2011/11/07 06:16:13] @ Quit: ichilton: Ping timeout: 245 seconds | ||
| [2011/11/07 06:16:18] @ basic` joined channel #puppet | ||
| [2011/11/07 06:16:35] @ IndyMichaelB joined channel #puppet | ||
| [2011/11/07 06:16:38] @ Quit: hamish: Ping timeout: 245 seconds | ||
| [2011/11/07 06:16:38] @ Chesther joined channel #puppet | ||
| [2011/11/07 06:16:39] @ gnarf joined channel #puppet | ||
| [2011/11/07 06:16:46] @ elasticdog joined channel #puppet | ||
| [2011/11/07 06:16:51] @ rtyler joined channel #puppet | ||
| [2011/11/07 06:16:53] @ MattTheRat joined channel #puppet | ||
| [2011/11/07 06:16:56] @ Quit: countskm: Ping timeout: 260 seconds | ||
| [2011/11/07 06:17:02] @ ichilton joined channel #puppet | ||
| [2011/11/07 06:17:03] @ Quit: blentz: Ping timeout: 245 seconds | ||
| [2011/11/07 06:17:03] @ Quit: pdtpatrick1: Ping timeout: 245 seconds | ||
| [2011/11/07 06:17:07] @ rsnhyperion joined channel #puppet | ||
| [2011/11/07 06:17:16] <CrazyGir> duritong: what do you mean by remote packages? | ||
| [2011/11/07 06:17:24] @ jb__ is now known as 36DAAN1PL | ||
| [2011/11/07 06:17:26] @ hamish joined channel #puppet | ||
| [2011/11/07 06:17:33] @ nokia3510 joined channel #puppet | ||
| [2011/11/07 06:17:33] @ silfreed joined channel #puppet | ||
| [2011/11/07 06:17:33] @ wollviec1 joined channel #puppet | ||
| [2011/11/07 06:17:33] @ Recourse joined channel #puppet | ||
| [2011/11/07 06:17:33] @ n1x0n joined channel #puppet | ||
| [2011/11/07 06:17:33] @ codec joined channel #puppet | ||
| [2011/11/07 06:17:33] @ ronan_1 joined channel #puppet | ||
| [2011/11/07 06:17:33] @ tris joined channel #puppet | ||
| [2011/11/07 06:17:33] @ crazed joined channel #puppet | ||
| [2011/11/07 06:17:33] @ schvin joined channel #puppet | ||
| [2011/11/07 06:17:33] @ zykes- joined channel #puppet | ||
| [2011/11/07 06:17:33] @ leifmadsen joined channel #puppet | ||
| [2011/11/07 06:17:33] @ bigon joined channel #puppet | ||
| [2011/11/07 06:17:33] @ cmoates joined channel #puppet | ||
| [2011/11/07 06:17:33] @ ckauhaus joined channel #puppet | ||
| [2011/11/07 06:17:34] @ pugnacity joined channel #puppet | ||
| [2011/11/07 06:17:34] @ idl0r joined channel #puppet | ||
| [2011/11/07 06:17:34] @ yeled joined channel #puppet | ||
| [2011/11/07 06:17:34] @ bronto joined channel #puppet | ||
| [2011/11/07 06:17:34] @ Ratler joined channel #puppet | ||
| [2011/11/07 06:17:34] @ ewoud joined channel #puppet | ||
| [2011/11/07 06:17:34] @ madduck joined channel #puppet | ||
| [2011/11/07 06:17:34] @ TCPcaveman joined channel #puppet | ||
| [2011/11/07 06:17:34] @ Xeross joined channel #puppet | ||
| [2011/11/07 06:17:34] @ Elwell joined channel #puppet | ||
| [2011/11/07 06:17:34] @ Rince joined channel #puppet | ||
| [2011/11/07 06:17:34] @ choffee joined channel #puppet | ||
| [2011/11/07 06:17:34] @ bartavelle joined channel #puppet | ||
| [2011/11/07 06:17:34] @ frapzzt joined channel #puppet | ||
| [2011/11/07 06:17:34] @ R1ck joined channel #puppet | ||
| [2011/11/07 06:17:34] @ darix joined channel #puppet | ||
| [2011/11/07 06:17:34] @ liff joined channel #puppet | ||
| [2011/11/07 06:17:34] @ Xenith joined channel #puppet | ||
| [2011/11/07 06:17:34] @ Jenza joined channel #puppet | ||
| [2011/11/07 06:17:34] @ optiz0r joined channel #puppet | ||
| [2011/11/07 06:17:34] @ mfladischer joined channel #puppet | ||
| [2011/11/07 06:17:34] @ rektide joined channel #puppet | ||
| [2011/11/07 06:17:34] @ Tobu joined channel #puppet | ||
| [2011/11/07 06:17:34] @ kenyon joined channel #puppet | ||
| [2011/11/07 06:17:34] @ misc joined channel #puppet | ||
| [2011/11/07 06:17:34] @ monomyth joined channel #puppet | ||
| [2011/11/07 06:17:34] @ vStone joined channel #puppet | ||
| [2011/11/07 06:17:34] @ OMCK joined channel #puppet | ||
| [2011/11/07 06:17:34] @ aanderson joined channel #puppet | ||
| [2011/11/07 06:17:34] @ s0enke joined channel #puppet | ||
| [2011/11/07 06:17:34] @ iclebyte joined channel #puppet | ||
| [2011/11/07 06:17:34] @ giskard joined channel #puppet | ||
| [2011/11/07 06:17:34] @ paravoid joined channel #puppet | ||
| [2011/11/07 06:17:34] @ adrient joined channel #puppet | ||
| [2011/11/07 06:17:35] @ evilsushi joined channel #puppet | ||
| [2011/11/07 06:17:35] @ nb joined channel #puppet | ||
| [2011/11/07 06:17:35] @ eRefre joined channel #puppet | ||
| [2011/11/07 06:17:35] @ emag joined channel #puppet | ||
| [2011/11/07 06:17:35] @ _Spike_ joined channel #puppet | ||
| [2011/11/07 06:17:35] @ edheldil joined channel #puppet | ||
| [2011/11/07 06:17:35] @ dballing joined channel #puppet | ||
| [2011/11/07 06:17:35] @ slapster joined channel #puppet | ||
| [2011/11/07 06:17:35] @ z00dax joined channel #puppet | ||
| [2011/11/07 06:17:35] @ _NiC joined channel #puppet | ||
| [2011/11/07 06:17:35] @ ToKy joined channel #puppet | ||
| [2011/11/07 06:17:35] @ exceion joined channel #puppet | ||
| [2011/11/07 06:17:35] @ habanero joined channel #puppet | ||
| [2011/11/07 06:17:35] @ kambiz joined channel #puppet | ||
| [2011/11/07 06:17:35] @ masterzen joined channel #puppet | ||
| [2011/11/07 06:17:35] @ whack joined channel #puppet | ||
| [2011/11/07 06:17:35] @ daks joined channel #puppet | ||
| [2011/11/07 06:17:35] @ sunny joined channel #puppet | ||
| [2011/11/07 06:17:36] @ Quit: rektide: Ping timeout: 243 seconds | ||
| [2011/11/07 06:17:36] @ Quit: monomyth: Ping timeout: 243 seconds | ||
| [2011/11/07 06:17:36] @ Quit: evilsushi: Ping timeout: 243 seconds | ||
| [2011/11/07 06:17:37] @ Quit: emag: Ping timeout: 243 seconds | ||
| [2011/11/07 06:17:37] @ Quit: slapster: Ping timeout: 243 seconds | ||
| [2011/11/07 06:17:38] @ Quit: exceion: Ping timeout: 243 seconds | ||
| [2011/11/07 06:17:38] @ Quit: kambiz: Quit: Peace out ... | ||
| [2011/11/07 06:17:38] @ countskm joined channel #puppet | ||
| [2011/11/07 06:17:38] @ joe-mac joined channel #puppet | ||
| [2011/11/07 06:17:42] @ jaytaph joined channel #puppet | ||
| [2011/11/07 06:17:47] @ Hunner joined channel #puppet | ||
| [2011/11/07 06:17:47] @ Quit: Hunner: Changing host | ||
| [2011/11/07 06:17:48] @ Hunner joined channel #puppet | ||
| [2011/11/07 06:17:50] @ tizzo-afk joined channel #puppet | ||
| [2011/11/07 06:18:00] <dpash> You know, I think I might need to ignore joins and parts in this group | ||
| [2011/11/07 06:18:01] @ rdegges joined channel #puppet | ||
| [2011/11/07 06:18:02] @ Quit: nb: Write error: Broken pipe | ||
| [2011/11/07 06:18:03] @ Quit: ToKy: Ping timeout: 247 seconds | ||
| [2011/11/07 06:18:06] @ Ahlee joined channel #puppet | ||
| [2011/11/07 06:18:06] @ thenulldevice joined channel #puppet | ||
| [2011/11/07 06:18:07] <CrazyGir> the two I have see are 1) a check for the 'puppet' user appears to be hardcoded (setting user to something else does nothing, adding a user 'puppet' fixes the problem, even with puppet running as _puppet or something different) | ||
| [2011/11/07 06:18:12] @ sdog joined channel #puppet | ||
| [2011/11/07 06:18:14] @ rektide joined channel #puppet | ||
| [2011/11/07 06:18:20] @ Corey joined channel #puppet | ||
| [2011/11/07 06:18:29] <CrazyGir> and 2) puppet will say a package is installed when it isn't, even for packages that don't even exist | ||
| [2011/11/07 06:18:33] <CrazyGir> it's actually quite sad | ||
| [2011/11/07 06:18:34] @ blkperl joined channel #puppet | ||
| [2011/11/07 06:18:44] @ monomyth joined channel #puppet | ||
| [2011/11/07 06:18:51] @ exceion joined channel #puppet | ||
| [2011/11/07 06:18:54] @ ToKy joined channel #puppet | ||
| [2011/11/07 06:18:55] @ kermit joined channel #puppet | ||
| [2011/11/07 06:18:57] <CrazyGir> I have confirmed this on both 2.6.3, with the openbsd default package, and then 2.7.6 from the site | ||
| [2011/11/07 06:19:03] @ kambiz joined channel #puppet | ||
| [2011/11/07 06:19:04] @ patcon joined channel #puppet | ||
| [2011/11/07 06:19:06] @ bobbyz joined channel #puppet | ||
| [2011/11/07 06:19:11] @ pdtpatrick1 joined channel #puppet | ||
| [2011/11/07 06:19:13] @ evilsushi joined channel #puppet | ||
| [2011/11/07 06:19:15] @ emag joined channel #puppet | ||
| [2011/11/07 06:19:19] @ Quit: tris: Excess Flood | ||
| [2011/11/07 06:19:20] @ Kiall joined channel #puppet | ||
| [2011/11/07 06:19:21] <CrazyGir> which makes me wonder about these findings (how could they be issues others haven't found?) | ||
| [2011/11/07 06:20:05] @ mocker joined channel #puppet | ||
| [2011/11/07 06:20:14] @ Quit: gregp76: Read error: Connection reset by peer | ||
| [2011/11/07 06:20:26] @ nb joined channel #puppet | ||
| [2011/11/07 06:20:36] @ Quit: ricky: Ping timeout: 260 seconds | ||
| [2011/11/07 06:20:50] @ Wolfspyre joined channel #puppet | ||
| [2011/11/07 06:20:58] @ ricky joined channel #puppet | ||
| [2011/11/07 06:21:57] @ fenris02 joined channel #puppet | ||
| [2011/11/07 06:22:05] @ gregp76 joined channel #puppet | ||
| [2011/11/07 06:22:05] @ hal-j joined channel #puppet | ||
| [2011/11/07 06:22:06] @ cliff-hm joined channel #puppet | ||
| [2011/11/07 06:22:06] @ ianbrandt joined channel #puppet | ||
| [2011/11/07 06:22:08] @ Quit: fenris02: Changing host | ||
| [2011/11/07 06:22:08] @ fenris02 joined channel #puppet | ||
| [2011/11/07 06:22:14] @ Quit: KaZeR_W: Read error: Connection reset by peer | ||
| [2011/11/07 06:22:33] @ ricky is now known as Guest72597 | ||
| [2011/11/07 06:22:49] @ z30 joined channel #puppet | ||
| [2011/11/07 06:22:56] @ z30 is now known as KaZeR_W | ||
| [2011/11/07 06:23:01] @ blentz joined channel #puppet | ||
| [2011/11/07 06:23:16] @ j^2 joined channel #puppet | ||
| [2011/11/07 06:23:16] @ tris joined channel #puppet | ||
| [2011/11/07 06:23:32] <duritong> CrazyGir: I was talking about #8435 | ||
| [2011/11/07 06:23:33] <gepetto> duritong: CrazyGir: #8435 is http://projects.puppetlabs.com/issues/show/8435 "Puppet - Bug #8435: openbsd package provider is broken while installing from remote repositories. It has a status of Accepted and is assigned to -" | ||
| [2011/11/07 06:23:52] <duritong> CrazyGir: this probably covers #2 of your bugs | ||
| [2011/11/07 06:23:53] <gepetto> duritong: CrazyGir: #2 is http://projects.puppetlabs.com/issues/show/2 "Puppet - Feature #2: Add 'link' ability to File. It has a status of Closed and is assigned to Luke Kanies" | ||
| [2011/11/07 06:23:54] @ Quit: fenris02: Client Quit | ||
| [2011/11/07 06:24:00] @ localhost joined channel #puppet | ||
| [2011/11/07 06:24:16] @ Quit: blkperl: Read error: Connection reset by peer | ||
| [2011/11/07 06:24:21] @ blkperl joined channel #puppet | ||
| [2011/11/07 06:24:33] @ Quit: alanevans: Ping timeout: 276 seconds | ||
| [2011/11/07 06:24:37] @ Quit: adrient: Ping timeout: 240 seconds | ||
| [2011/11/07 06:24:54] @ fenris02 joined channel #puppet | ||
| [2011/11/07 06:25:06] @ Quit: fim: Ping timeout: 260 seconds | ||
| [2011/11/07 06:25:14] @ adrient joined channel #puppet | ||
| [2011/11/07 06:25:28] @ fim joined channel #puppet | ||
| [2011/11/07 06:25:29] <CrazyGir> duritong: puppet apply -e 'package { "fizzleboots": source => "$PKG_PATH", ensure => present; }' results in "yep, installed" for everything | ||
| [2011/11/07 06:25:33] @ slapster joined channel #puppet | ||
| [2011/11/07 06:25:41] @ Quit: mmcgrath: Remote host closed the connection | ||
| [2011/11/07 06:25:46] @ mmcgrath joined channel #puppet | ||
| [2011/11/07 06:25:53] @ arnihermann joined channel #puppet | ||
| [2011/11/07 06:25:55] <duritong> CrazyGir: this is #8435 | ||
| [2011/11/07 06:25:56] <gepetto> duritong: CrazyGir: #8435 is http://projects.puppetlabs.com/issues/show/8435 "Puppet - Bug #8435: openbsd package provider is broken while installing from remote repositories. It has a status of Accepted and is assigned to -" | ||
| [2011/11/07 06:25:57] @ bolt12 joined channel #puppet | ||
| [2011/11/07 06:26:05] <CrazyGir> yep | ||
| [2011/11/07 06:26:30] @ Quit: _TB_: Ping timeout: 276 seconds | ||
| [2011/11/07 06:26:39] <duritong> CrazyGir: there is a patch applied, which works for me (TM) | ||
| [2011/11/07 06:26:40] @ blast_hardcheese joined channel #puppet | ||
| [2011/11/07 06:26:53] @ _TB_ joined channel #puppet | ||
| [2011/11/07 06:26:58] @ Quit: catay: Remote host closed the connection | ||
| [2011/11/07 06:26:59] @ mogitux joined channel #puppet | ||
| [2011/11/07 06:27:03] <CrazyGir> are you running 2.6.3? | ||
| [2011/11/07 06:27:05] <CrazyGir> or 2.7.6? | ||
| [2011/11/07 06:27:06] <duritong> I got feedback recently on it and will clean it up and submit it for final inclusion soon | ||
| [2011/11/07 06:27:20] @ bipolar joined channel #puppet | ||
| [2011/11/07 06:27:25] @ Quit: Jenza: Ping timeout: 240 seconds | ||
| [2011/11/07 06:27:25] <duritong> but it works with 2.6.x | ||
| [2011/11/07 06:27:27] @ _UsUrPeR_ joined channel #puppet | ||
| [2011/11/07 06:27:29] <duritong> which is what I'm using | ||
| [2011/11/07 06:27:34] <duritong> it works = the patch works | ||
| [2011/11/07 06:27:43] <CrazyGir> ok, good to know | ||
| [2011/11/07 06:27:54] @ Quit: Kloopy: Ping timeout: 245 seconds | ||
| [2011/11/07 06:27:59] <CrazyGir> I also found an alternative package provider for openbsd | ||
| [2011/11/07 06:28:25] <CrazyGir> duritong: have you seen this? https://github.com/wcmaier/puppet-openbsd | ||
| [2011/11/07 06:29:00] @ Quit: gregp76: Read error: Connection reset by peer | ||
| [2011/11/07 06:29:03] @ Mishell joined channel #puppet | ||
| [2011/11/07 06:29:08] @ gregp76 joined channel #puppet | ||
| [2011/11/07 06:29:23] <duritong> CrazyGir: nope haven't seen it | ||
| [2011/11/07 06:29:26] @ Quit: amoe: Quit: leaving | ||
| [2011/11/07 06:29:51] @ marrusl joined channel #puppet | ||
| [2011/11/07 06:29:53] @ Kloopy joined channel #puppet | ||
| [2011/11/07 06:29:53] @ amoe joined channel #puppet | ||
| [2011/11/07 06:30:03] @ Jenza joined channel #puppet | ||
| [2011/11/07 06:30:46] @ benjiedmund joined channel #puppet | ||
| [2011/11/07 06:31:12] @ froztbyt1 joined channel #puppet | ||
| [2011/11/07 06:31:31] @ uphillian joined channel #puppet | ||
| [2011/11/07 06:34:24] @ Quit: fir31ight: Ping timeout: 248 seconds | ||
| [2011/11/07 06:35:17] @ Quit: gregp76: Quit: gregp76 | ||
| [2011/11/07 06:35:49] @ Quit: Chesther: Quit: Leaving. | ||
| [2011/11/07 06:36:15] @ Quit: froztbyte: Ping timeout: 276 seconds | ||
| [2011/11/07 06:36:16] @ gniks joined channel #puppet | ||
| [2011/11/07 06:36:38] @ alanevans joined channel #puppet | ||
| [2011/11/07 06:37:38] <dreamhost> hello, I've a module which add some CRON entries in crontab. My problem is that I'm now not able anymore to add other cron entries without puppet overwrite it, what's the best practice to ensure I can modify it without losing my entries when puppet comes again ? | ||
| [2011/11/07 06:37:53] @ fir31ight joined channel #puppet | ||
| [2011/11/07 06:37:57] @ mcarpent joined channel #puppet | ||
| [2011/11/07 06:38:10] @ jonhattan joined channel #puppet | ||
| [2011/11/07 06:38:41] <astrostl> dreamhost: are you using the cron type or literally overwriting the crontab file? | ||
| [2011/11/07 06:39:03] <dreamhost> astrostl : I use the cron type | ||
| [2011/11/07 06:39:36] <walkeran> dreamhost: You'll have to give us some pasties then, I think. Unless you are using the same resource name, they shouldn't be overwritten | ||
| [2011/11/07 06:39:46] @ mscman joined channel #puppet | ||
| [2011/11/07 06:39:46] <astrostl> dreamhost: it surprises me that it overwrites | ||
| [2011/11/07 06:39:55] <dreamhost> here's the part of the module : http://pastie.org/2825622 | ||
| [2011/11/07 06:40:07] <astrostl> dreamhost: generally speaking, you shouldn't be doing manual edits if you're using puppet | ||
| [2011/11/07 06:40:26] @ Quit: ckauhaus: Quit: Leaving. | ||
| [2011/11/07 06:40:43] <astrostl> dreamhost: are you editing the ones managed by puppets or adding *NEW* ones? | ||
| [2011/11/07 06:41:18] <dreamhost> astrostl : I understand but there's a specific server on which I need specific cron entry :) I won't create a module just for that ? | ||
| [2011/11/07 06:41:21] @ themadcanudist joined channel #puppet | ||
| [2011/11/07 06:41:26] @ Quit: ewoud: Ping timeout: 240 seconds | ||
| [2011/11/07 06:41:28] <astrostl> dreamhost: why not? | ||
| [2011/11/07 06:41:47] <walkeran> astrostl: That shouldn't actually matter. In my experience, the cron type is fairly forgiving when it comes to managing crontabs that have been edited by hand... as long as you leave the individual entries' headers in-tact | ||
| [2011/11/07 06:42:09] <astrostl> dreamhost: you don't need a dedicated module either, you can just do an "if" based on the servername in your generic server cron module, if that's what you're using | ||
| [2011/11/07 06:42:24] <astrostl> walkeran: nod | ||
| [2011/11/07 06:42:28] @ Quit: sdog: Changing host | ||
| [2011/11/07 06:42:28] @ sdog joined channel #puppet | ||
| [2011/11/07 06:43:42] <duritong> astrostl: that (if) is fine to try things out, but will never scale | ||
| [2011/11/07 06:44:02] <walkeran> dreamhost: We're still going to need more specifics, though. Can you reproduce this without fail? If so, then give us the contents of your crontab before a puppet run, as well as the verbose output OF a puppet run (or at least the applicable entries), and then the contents of your crontab afterwards | ||
| [2011/11/07 06:45:49] @ gregp76 joined channel #puppet | ||
| [2011/11/07 06:46:43] @ e-woud joined channel #puppet | ||
| [2011/11/07 06:46:47] <astrostl> duritong: hm | ||
| [2011/11/07 06:47:04] @ tightwork joined channel #puppet | ||
| [2011/11/07 06:47:42] @ paroneay` is now known as paroneayea | ||
| [2011/11/07 06:47:57] @ Quit: paroneayea: Changing host | ||
| [2011/11/07 06:47:57] @ paroneayea joined channel #puppet | ||
| [2011/11/07 06:47:57] <astrostl> i like typing 'puppetd -t' much more than 'puppet agent --test'. is the former going to officially go away anytime soon? | ||
| [2011/11/07 06:48:26] @ e-woud is now known as ewoud | ||
| [2011/11/07 06:48:26] <dreamhost> astrostl I add a new entry | ||
| [2011/11/07 06:49:14] <walkeran> astrostl: AFAIK, the short version of the test flag isn't going to go away (ie: -t instead of --test) | ||
| [2011/11/07 06:49:32] <walkeran> Not sure if you are referring to that, or the puppetd vs puppet agent, though | ||
| [2011/11/07 06:49:36] <astrostl> walkeran: strange that it isn't even documented now | ||
| [2011/11/07 06:49:39] <astrostl> the shorthand | ||
| [2011/11/07 06:49:45] <walkeran> Hrm. That is a little odd | ||
| [2011/11/07 06:49:53] <astrostl> * --test: | ||
| [2011/11/07 06:49:59] <astrostl> not "--test or -t" | ||
| [2011/11/07 06:50:23] <walkeran> astrostl: [-t|--test] | ||
| [2011/11/07 06:50:30] @ Chesther joined channel #puppet | ||
| [2011/11/07 06:50:35] <astrostl> walkeran: you see that somewhere? | ||
| [2011/11/07 06:50:39] <walkeran> Still lists all the shorthands un the usage part... at the top | ||
| [2011/11/07 06:50:54] <astrostl> walkeran: ah, in the summary | ||
| [2011/11/07 06:50:57] @ Quit: Ramonster: Quit: So Long and thanks for all the fish | ||
| [2011/11/07 06:50:57] @ Quit: jaydg: Quit: Verlassend | ||
| [2011/11/07 06:51:09] <astrostl> walkeran: should be both imo. thx! | ||
| [2011/11/07 06:51:26] <walkeran> astrostl: I'd tend to agree :) You're welcome, though! | ||
| [2011/11/07 06:51:31] <astrostl> also calls it puppet-agent | ||
| [2011/11/07 06:51:38] <dreamhost> ok walkeran I need to make some tests and generate results pasties | ||
| [2011/11/07 06:51:38] @ justintime joined channel #puppet | ||
| [2011/11/07 06:51:41] <astrostl> which doesn't exist in executable form | ||
| [2011/11/07 06:51:48] @ Quit: Chesther: Client Quit | ||
| [2011/11/07 06:51:51] <walkeran> That's just the name of the manpage | ||
| [2011/11/07 06:51:55] @ nanliu joined channel #puppet | ||
| [2011/11/07 06:51:55] <astrostl> yeah | ||
| [2011/11/07 06:52:13] <astrostl> artifact of the git-style commands | ||
| [2011/11/07 06:57:28] @ Quit: lkoranda: Quit: Ex-Chat | ||
| [2011/11/07 06:57:29] @ themurph joined channel #puppet | ||
| [2011/11/07 06:57:31] @ key joined channel #puppet | ||
| [2011/11/07 06:57:31] @ jpalmer joined channel #puppet | ||
| [2011/11/07 06:57:52] @ Quit: boklm: Remote host closed the connection | ||
| [2011/11/07 06:57:58] @ boklm joined channel #puppet | ||
| [2011/11/07 06:58:25] @ Quit: frostynova: Remote host closed the connection | ||
| [2011/11/07 06:58:57] @ spiette joined channel #puppet | ||
| [2011/11/07 06:59:11] @ mawser joined channel #puppet | ||
| [2011/11/07 06:59:26] @ ldlework joined channel #puppet | ||
| [2011/11/07 07:00:27] @ Quit: dubey: Quit: Leaving | ||
| [2011/11/07 07:02:06] @ Quit: ezryx: Remote host closed the connection | ||
| [2011/11/07 07:02:10] @ FlexGuy joined channel #puppet | ||
| [2011/11/07 07:02:53] @ Quit: iw_work: Ping timeout: 245 seconds | ||
| [2011/11/07 07:02:54] @ Quit: mcarpent: Quit: Thanks for the fish. | ||
| [2011/11/07 07:02:54] <erthad> duritong: cool, setting global variables outside of any class based on host facts does work but does work strange -- it gets applied only on the second puppet run | ||
| [2011/11/07 07:03:03] <erthad> and does not work for masterless puppet | ||
| [2011/11/07 07:03:06] @ mcarpent joined channel #puppet | ||
| [2011/11/07 07:04:13] @ Quit: schvin: Ping timeout: 240 seconds | ||
| [2011/11/07 07:04:13] <erthad> it seems I have to do some tweaks with import in order for it to work ok | ||
| [2011/11/07 07:05:16] @ schvin joined channel #puppet | ||
| [2011/11/07 07:05:49] @ Quit: mfladischer: Ping timeout: 240 seconds | ||
| [2011/11/07 07:06:52] <duritong> in general you should avoid import | ||
| [2011/11/07 07:07:07] @ Quit: zul: Ping timeout: 255 seconds | ||
| [2011/11/07 07:07:10] <duritong> if you use the autoloading feature, there is no need for any import | ||
| [2011/11/07 07:07:15] @ marczak joined channel #puppet | ||
| [2011/11/07 07:07:52] @ zul joined channel #puppet | ||
| [2011/11/07 07:11:40] @ Quit: Meier: Quit: Leaving. | ||
| [2011/11/07 07:11:45] @ ezryx joined channel #puppet | ||
| [2011/11/07 07:12:45] @ tnguyen joined channel #puppet | ||
| [2011/11/07 07:12:49] @ Quit: ronan_1: Read error: Connection reset by peer | ||
| [2011/11/07 07:13:04] @ ronan_1 joined channel #puppet | ||
| [2011/11/07 07:13:04] @ tnguyen left channel #puppet () | ||
| [2011/11/07 07:13:41] @ Quit: gregp76: Read error: Connection reset by peer | ||
| [2011/11/07 07:13:49] @ Quit: TCPcaveman: Ping timeout: 240 seconds | ||
| [2011/11/07 07:13:57] @ gregp76 joined channel #puppet | ||
| [2011/11/07 07:14:03] <erthad> I don't think I've ever used import but in this case not using import does not work, you can check that yourself: http://dumpz.org/99526/ | ||
| [2011/11/07 07:14:27] @ Quit: samkottler: Quit: Leaving. | ||
| [2011/11/07 07:14:33] <erthad> duritong: ^^^ | ||
| [2011/11/07 07:14:37] @ TCPcaveman joined channel #puppet | ||
| [2011/11/07 07:14:40] <duritong> erthad: because you define the variable outside of the class | ||
| [2011/11/07 07:14:48] @ Chesther joined channel #puppet | ||
| [2011/11/07 07:15:36] <erthad> duritong: sure. but is there any other way to define fact-based variable available for all nodes and classes? | ||
| [2011/11/07 07:15:42] @ thenulldevice left channel #puppet () | ||
| [2011/11/07 07:16:05] <walkeran> in your site.pp? | ||
| [2011/11/07 07:17:51] <duritong> for example, your node definition before you include anything is for example kind of the global scope | ||
| [2011/11/07 07:17:53] <walkeran> I personally put all of that sort of stuff in my "base" class that gets included by all nodes. | ||
| [2011/11/07 07:18:38] <_rc> fact-based sounds like 'just make another fact' | ||
| [2011/11/07 07:19:42] @ Quit: tizzo-afk: Ping timeout: 240 seconds | ||
| [2011/11/07 07:20:33] @ Quit: Wolfspyre: Read error: Connection reset by peer | ||
| [2011/11/07 07:20:51] @ Wolfspyre joined channel #puppet | ||
| [2011/11/07 07:20:56] <erthad> _rc: I'll have to pass credentials to the node which I'd not do or it should be defined serverside which is not possible | ||
| [2011/11/07 07:20:58] @ Quit: kenperkins: Quit: Computer has gone to sleep. | ||
| [2011/11/07 07:21:28] @ stick_zz is now known as stick | ||
| [2011/11/07 07:22:42] @ colon_D joined channel #puppet | ||
| [2011/11/07 07:22:47] <_rc> I guess I don't understand what you mean by fact-based then | ||
| [2011/11/07 07:23:02] <erthad> duritong: does hiera use current scope but not global for doing lookup? thanks, I thought otherwise for some reason, I'll check that | ||
| [2011/11/07 07:23:31] @ Quit: Stenbryggen: Quit: Leaving. | ||
| [2011/11/07 07:23:59] @ samkottler joined channel #puppet | ||
| [2011/11/07 07:24:03] @ ckauhaus joined channel #puppet | ||
| [2011/11/07 07:24:46] <duritong> erthad: I thought it uses the current scope, which inherits from the global scope | ||
| [2011/11/07 07:24:51] @ soh joined channel #puppet | ||
| [2011/11/07 07:24:53] <duritong> erthad: but I might be wrong | ||
| [2011/11/07 07:25:14] <erthad> it is easy to check and I'll do that shortly | ||
| [2011/11/07 07:25:44] @ Quit: Wolfspyre: Client Quit | ||
| [2011/11/07 07:25:49] @ Wolfspyre joined channel #puppet | ||
| [2011/11/07 07:26:13] @ asteve joined channel #puppet | ||
| [2011/11/07 07:26:14] @ Quit: asteve: Changing host | ||
| [2011/11/07 07:26:14] @ asteve joined channel #puppet | ||
| [2011/11/07 07:26:46] @ Quit: andreaturli: Ping timeout: 258 seconds | ||
| [2011/11/07 07:26:56] @ Quit: samkottler: Client Quit | ||
| [2011/11/07 07:28:38] @ Quit: jodok: Read error: Connection reset by peer | ||
| [2011/11/07 07:28:43] @ Quit: pmorillon: Ping timeout: 245 seconds | ||
| [2011/11/07 07:28:58] @ jodok joined channel #puppet | ||
| [2011/11/07 07:28:59] @ Quit: jodok: Changing host | ||
| [2011/11/07 07:28:59] @ jodok joined channel #puppet | ||
| [2011/11/07 07:30:38] @ Quit: ezryx: Remote host closed the connection | ||
| [2011/11/07 07:31:24] @ bosszaru joined channel #puppet | ||
| [2011/11/07 07:32:02] @ samkottler joined channel #puppet | ||
| [2011/11/07 07:33:12] @ rgsteele joined channel #puppet | ||
| [2011/11/07 07:33:19] @ riha left channel #puppet () | ||
| [2011/11/07 07:33:45] @ Quit: soh: Quit: Computer has gone to sleep. | ||
| [2011/11/07 07:34:06] @ Quit: MartVisser: Quit: Leaving | ||
| [2011/11/07 07:34:13] @ ezryx joined channel #puppet | ||
| [2011/11/07 07:34:25] @ Quit: jjungnickel: Quit: jjungnickel | ||
| [2011/11/07 07:34:31] @ ghg joined channel #puppet | ||
| [2011/11/07 07:35:27] @ Quit: ckauhaus: Ping timeout: 244 seconds | ||
| [2011/11/07 07:37:55] @ soh joined channel #puppet | ||
| [2011/11/07 07:40:01] <R1ck> is the puppetlabs.com dns broken? | ||
| [2011/11/07 07:40:12] <n1x0n> yeah | ||
| [2011/11/07 07:40:23] <n1x0n> I thought it's just me (yum.puppetlabs.com doesn't work) | ||
| [2011/11/07 07:40:33] <R1ck> ahh | ||
| [2011/11/07 07:40:56] @ z30 joined channel #puppet | ||
| [2011/11/07 07:41:27] @ Quit: clustermagnet: Remote host closed the connection | ||
| [2011/11/07 07:41:52] @ ckauhaus joined channel #puppet | ||
| [2011/11/07 07:41:54] <Jeff_S> stahnma: ^^ ping ? | ||
| [2011/11/07 07:42:13] @ Quit: dballing: Ping timeout: 240 seconds | ||
| [2011/11/07 07:42:21] @ clustermagnet joined channel #puppet | ||
| [2011/11/07 07:42:23] @ hobbeswalsh joined channel #puppet | ||
| [2011/11/07 07:43:18] @ dballing joined channel #puppet | ||
| [2011/11/07 07:44:04] @ Quit: KaZeR_W: Read error: Connection reset by peer | ||
| [2011/11/07 07:44:23] @ z30 is now known as KaZeR_W | ||
| [2011/11/07 07:45:13] <erthad> duritong: yes, hiera uses current scope, thank you for a clue | ||
| [2011/11/07 07:45:45] @ ja-s joined channel #puppet | ||
| [2011/11/07 07:46:40] @ pmorillon joined channel #puppet | ||
| [2011/11/07 07:47:01] @ rocket_ joined channel #puppet | ||
| [2011/11/07 07:48:26] <rocket_> is it possible to configure a puppetmaster such that it is a client of another puppetmaster for its own configs? I seem to be getting cert issues when trying to do that | ||
| [2011/11/07 07:48:37] @ catay joined channel #puppet | ||
| [2011/11/07 07:49:03] @ Quit: clustermagnet: Quit: Leaving. | ||
| [2011/11/07 07:50:32] @ imroot joined channel #puppet | ||
| [2011/11/07 07:50:41] @ rcrowley joined channel #puppet | ||
| [2011/11/07 07:51:36] @ Quit: imroot: Client Quit | ||
| [2011/11/07 07:52:34] @ Quit: mpdude: Ping timeout: 255 seconds | ||
| [2011/11/07 07:53:31] @ ecolitan joined channel #puppet | ||
| [2011/11/07 07:53:56] @ Quit: toi: Ping timeout: 260 seconds | ||
| [2011/11/07 07:54:18] <duritong> rocket_: you need to split the server and agent certdir | ||
| [2011/11/07 07:54:24] <duritong> rocket_: then it will work fine | ||
| [2011/11/07 07:54:39] <rocket_> duritong: ah thanks | ||
| [2011/11/07 07:56:34] @ Quit: pmorillon: Quit: pmorillon | ||
| [2011/11/07 07:56:37] @ Quit: ianbrandt: Quit: ianbrandt | ||
| [2011/11/07 07:58:30] @ Quit: ezryx: Remote host closed the connection | ||
| [2011/11/07 07:58:30] <krish> hi | ||
| [2011/11/07 07:58:35] <krish> i did a puppet cert --list hostname | ||
| [2011/11/07 07:58:59] <krish> and it gives hostname (signature) (certificate signature failure) | ||
| [2011/11/07 07:59:02] <krish> any ideas? | ||
| [2011/11/07 07:59:49] @ pmorillon joined channel #puppet | ||
| [2011/11/07 08:00:47] @ jrua joined channel #puppet | ||
| [2011/11/07 08:02:03] @ Quit: zorg1: Ping timeout: 276 seconds | ||
| [2011/11/07 08:02:51] @ labrown joined channel #puppet | ||
| [2011/11/07 08:03:23] @ mpdude joined channel #puppet | ||
| [2011/11/07 08:03:33] <Beens> err: Could not run Puppet configuration client: Could not retrieve local facts: execution expired | ||
| [2011/11/07 08:03:36] <Beens> wtf is this | ||
| [2011/11/07 08:04:08] <walkeran> beens: Sounds like facter is timing out... do you have any custom facts? | ||
| [2011/11/07 08:04:13] <Beens> nope | ||
| [2011/11/07 08:04:21] <Beens> i've seen facter had an upgrade on ubuntu | ||
| [2011/11/07 08:04:25] <Beens> and since then I get this issue | ||
| [2011/11/07 08:04:48] <R1ck> Beens: puppetlabs.com has dns issues | ||
| [2011/11/07 08:04:49] <R1ck> we | ||
| [2011/11/07 08:04:53] <R1ck> we're seeing it too | ||
| [2011/11/07 08:05:02] <Beens> http://pastebin.com/mLaVUVwm | ||
| [2011/11/07 08:05:10] <Beens> R1ck: and that's why my facter doesn't work anymore?! | ||
| [2011/11/07 08:05:14] <walkeran> whaa?? What would that have to do with facter timing out | ||
| [2011/11/07 08:05:16] <_rc> what version of facter? | ||
| [2011/11/07 08:05:19] <_rc> 1.6.0? | ||
| [2011/11/07 08:05:28] <Beens> 1.5.6-2ubuntu2.2 | ||
| [2011/11/07 08:05:31] <krish> im trying to revoke certs on my server and it says - err: Could not call revoke: Cannot convert into OpenSSL::BN | ||
| [2011/11/07 08:05:35] <krish> any ideas! | ||
| [2011/11/07 08:05:44] @ the_ramink joined channel #puppet | ||
| [2011/11/07 08:05:47] <R1ck> walkeran: facter seems to do a http open | ||
| [2011/11/07 08:05:56] <Beens> evil :s | ||
| [2011/11/07 08:05:59] <_rc> do facter --timing | ||
| [2011/11/07 08:06:00] <walkeran> R1ck: Wow... that's... horrible...... | ||
| [2011/11/07 08:06:03] <R1ck> yes | ||
| [2011/11/07 08:06:04] <_rc> look for the slow fact | ||
| [2011/11/07 08:06:07] <Beens> /usr/bin/facter: unrecognized option `--timing' | ||
| [2011/11/07 08:06:19] <R1ck> same here, unrecognized option | ||
| [2011/11/07 08:06:27] <_rc> urgh, that's probably a 1.6.x option | ||
| [2011/11/07 08:06:52] <R1ck> if you strace the facter, you see: | ||
| [2011/11/07 08:06:52] <erthad> Beens: try running from your node: curl 169.254.169.254 | ||
| [2011/11/07 08:07:06] <R1ck> connect(3, {sa_family=AF_INET, sin_port=htons(80), sin_addr=inet_addr("169.254.169.254")}, 16) = -1 EINPROGRESS (Operation now in progress) | ||
| [2011/11/07 08:07:20] <Beens> erthad: timeout | ||
| [2011/11/07 08:07:24] <erthad> stack trace shows that it tries to retrieve AWS data and it crashes | ||
| [2011/11/07 08:07:37] @ Quit: verwilst: Quit: Ex-Chat | ||
| [2011/11/07 08:07:56] <erthad> then remove /usr/lib/ruby/1.8/facter/ec2.rb -- if you are not on amazon cloud you'll not need it | ||
| [2011/11/07 08:08:06] <Beens> aws-- | ||
| [2011/11/07 08:08:26] <R1ck> erthad: omg that works | ||
| [2011/11/07 08:08:40] <erthad> anyway in 1.5.6 the ec2 fact is broken | ||
| [2011/11/07 08:08:55] <Beens> indeed erthad that did the trick! | ||
| [2011/11/07 08:08:59] <Beens> thx a lot | ||
| [2011/11/07 08:09:05] <R1ck> indeed | ||
| [2011/11/07 08:09:20] <Beens> allright my puppet --test works again ^^ :p | ||
| [2011/11/07 08:09:34] <R1ck> still it's weird why it would get that 169.254.169.254 ip, that's link-loca | ||
| [2011/11/07 08:09:45] <erthad> R1ck: see lines 17-19 in beens' stacktrace | ||
| [2011/11/07 08:10:06] @ noodles775 joined channel #puppet | ||
| [2011/11/07 08:10:18] <R1ck> l | ||
| [2011/11/07 08:10:35] @ kenperkins joined channel #puppet | ||
| [2011/11/07 08:10:54] <erthad> if you are running on aws cloud connecting to that address provides some info on current instance and is quite useful sometimes | ||
| [2011/11/07 08:11:01] @ Quit: bartavelle: Ping timeout: 240 seconds | ||
| [2011/11/07 08:11:21] <Beens> file { "/usr/lib/ruby/1.8/facter/ec2.rb": | ||
| [2011/11/07 08:11:21] <Beens> ensure => absent | ||
| [2011/11/07 08:11:21] <Beens> } | ||
| [2011/11/07 08:11:22] <bosszaru> I'm noticing timeout on the aws web console as well | ||
| [2011/11/07 08:11:22] <R1ck> right.. but I dont need it, so why is it getting executed | ||
| [2011/11/07 08:11:23] <Beens> :P | ||
| [2011/11/07 08:11:32] <noodles775> newbie question: If I want to apply a local manifest (ie. serverless), how can I enable the manifest access to external variables... do I need to define custom facts, or is there a simpler way? | ||
| [2011/11/07 08:11:46] @ jim80net joined channel #puppet | ||
| [2011/11/07 08:12:00] @ Quit: mpdude: Ping timeout: 258 seconds | ||
| [2011/11/07 08:12:08] <R1ck> still, on a unrelated note, the puppetlabs.com DNS is broken | ||
| [2011/11/07 08:12:19] @ Quit: alanevans: Remote host closed the connection | ||
| [2011/11/07 08:12:23] <R1ck> the nameservers are reachable over ipv6 but not over ipv4 | ||
| [2011/11/07 08:12:37] <noodles775> ie. something like `puppet apply my_manifest.pp --username=whatever` | ||
| [2011/11/07 08:13:10] @ Quit: marrusl: Quit: Ex-Chat | ||
| [2011/11/07 08:13:12] @ digr1 joined channel #puppet | ||
| [2011/11/07 08:13:17] <kelseyhightower> noodles775: that should not work | ||
| [2011/11/07 08:13:38] @ mpdude joined channel #puppet | ||
| [2011/11/07 08:13:44] <kelseyhightower> noodles775: I have never done this myself, I normally run with a master, but I think most people use custom facts | ||
| [2011/11/07 08:13:50] @ Quit: gebi: Ping timeout: 256 seconds | ||
| [2011/11/07 08:14:02] <noodles775> kelseyhightower: I don't expect it to, it's just an example to try to describe what I want to be able to do. Ah, ok, custom fact it is then (unless I hear otherwise). Thanks! | ||
| [2011/11/07 08:14:04] @ Quit: benjiedmund: Remote host closed the connection | ||
| [2011/11/07 08:14:05] <walkeran> noodles775: You can supply facter facts by setting env vars.. ie: FACTER_foo=bar puppet apply manifest.pp, would set a fact called foo with a value of bar | ||
| [2011/11/07 08:14:12] <kelseyhightower> noodles775: let me try and find the link of some best pratices for running serverless | ||
| [2011/11/07 08:14:20] <noodles775> walkeran: ah, perfect! Thanks. | ||
| [2011/11/07 08:14:23] <walkeran> noodles775: I've never tested that with masterless, but I imagine it would work | ||
| [2011/11/07 08:14:30] <kelseyhightower> walkeran: it should | ||
| [2011/11/07 08:14:36] * noodles775 tries. | ||
| [2011/11/07 08:14:59] @ bartavelle joined channel #puppet | ||
| [2011/11/07 08:15:07] @ Quit: rcrowley: Ping timeout: 252 seconds | ||
| [2011/11/07 08:15:19] @ Quit: cwebber: Remote host closed the connection | ||
| [2011/11/07 08:15:48] <kelseyhightower> noodles775: More info about facts: http://bit.ly/t3nzvt | ||
| [2011/11/07 08:15:53] @ cwebber joined channel #puppet | ||
| [2011/11/07 08:16:49] @ Quit: gaveen: Remote host closed the connection | ||
| [2011/11/07 08:16:57] <noodles775> kelseyhightower: thanks! I did browse that earlier but was hoping to be able to specify a fact without writing code (about to try the suggestion above). | ||
| [2011/11/07 08:17:16] @ benkevan joined channel #puppet | ||
| [2011/11/07 08:17:34] <kelseyhightower> noodles775: yeah, cool. ENV vars does make things a bit easier :) | ||
| [2011/11/07 08:18:58] @ octane- joined channel #puppet | ||
| [2011/11/07 08:19:31] @ Quit: gregp76: Read error: Connection reset by peer | ||
| [2011/11/07 08:20:01] @ gregp76 joined channel #puppet | ||
| [2011/11/07 08:20:47] @ trespan joined channel #puppet | ||
| [2011/11/07 08:21:04] @ adimania joined channel #puppet | ||
| [2011/11/07 08:21:10] @ kangman joined channel #puppet | ||
| [2011/11/07 08:21:38] @ Quit: axisys: Quit: leaving | ||
| [2011/11/07 08:22:58] @ alop joined channel #puppet | ||
| [2011/11/07 08:23:30] @ wollviec1 is now known as wollviech | ||
| [2011/11/07 08:23:37] @ Quit: octane-: Ping timeout: 255 seconds | ||
| [2011/11/07 08:24:00] @ marrusl joined channel #puppet | ||
| [2011/11/07 08:24:16] @ Quit: gregp76: Read error: Connection reset by peer | ||
| [2011/11/07 08:24:24] @ Quit: larstobi1: Quit: Leaving. | ||
| [2011/11/07 08:24:27] @ gregp76 joined channel #puppet | ||
| [2011/11/07 08:24:36] @ 36DAAN1PL is now known as jb | ||
| [2011/11/07 08:24:46] @ rcrowley joined channel #puppet | ||
| [2011/11/07 08:25:08] @ Quit: sdog: Remote host closed the connection | ||
| [2011/11/07 08:25:45] @ newtMcKerr joined channel #puppet | ||
| [2011/11/07 08:25:57] @ Quit: samkottler: Quit: Leaving. | ||
| [2011/11/07 08:27:17] @ Quit: FlexGuy: Ping timeout: 252 seconds | ||
| [2011/11/07 08:27:51] @ ghanima joined channel #puppet | ||
| [2011/11/07 08:27:53] @ Quit: bretm: Quit: Leaving | ||
| [2011/11/07 08:27:57] @ mykhyggz joined channel #puppet | ||
| [2011/11/07 08:28:17] @ lborda joined channel #puppet | ||
| [2011/11/07 08:28:33] <fragfutter> puppetlabs is using dyndns as their nameserver. The dyndns nameservers are down, due to a denial of service attack. The dyndns status page displaying the error is now also down... | ||
| [2011/11/07 08:29:11] @ gebi joined channel #puppet | ||
| [2011/11/07 08:29:15] @ negronjl joined channel #puppet | ||
| [2011/11/07 08:29:17] <TCPcaveman> That is unfortunate | ||
| [2011/11/07 08:29:23] @ Elwell_ joined channel #puppet | ||
| [2011/11/07 08:29:34] <walkeran> I hate bullies :( | ||
| [2011/11/07 08:29:41] <fragfutter> someone might want to leave a note in the topic. | ||
| [2011/11/07 08:29:50] @ Quit: Elwell: Read error: Connection reset by peer | ||
| [2011/11/07 08:30:28] <ghanima> Is anyone faces with the following use case... Application and Sysadmin support groups are in two seperate groups.... does puppet work well in this type of scenerio.... The reason I ask this is because it assumes a level of trust by both groups, but puppet can't enforce that respect | ||
| [2011/11/07 08:31:52] <_rc> No it can't. It's just technology | ||
| [2011/11/07 08:31:55] <fragfutter> ghanima: so waht is your question? | ||
| [2011/11/07 08:32:20] <_rc> fragfutter: what's the resource type for making people get along? | ||
| [2011/11/07 08:32:34] <fragfutter> class beer { ... } | ||
| [2011/11/07 08:32:55] <fragfutter> or in my case... cookies ;) | ||
| [2011/11/07 08:32:58] <Spads> ghanima: while it's true that there is a lot of chatter about "devops" blending of app/sysadmin roles, don't be fooled into believing that one is a requirement for the other. | ||
| [2011/11/07 08:33:03] <walkeran> One beer isn't enough... gonna have to turn that class into a definition | ||
| [2011/11/07 08:33:04] @ Quit: mpdude: Ping timeout: 255 seconds | ||
| [2011/11/07 08:33:04] <ghanima> fragfutter: It's a more general question I have an organization who's uses puppet, but it is predominately controlled by the sysadmin group | ||
| [2011/11/07 08:33:07] <Spads> that is and puppet | ||
| [2011/11/07 08:34:33] @ Quit: ks_Marian: Ping timeout: 276 seconds | ||
| [2011/11/07 08:34:36] <ghanima> fragfutter: For them to allow for other users to use puppet opens up a risk in administration.... i.e being able to push changes that are outside the scope of the application... Now in overall change process should govern this, but the bottom line is that unless there is a way to programatically control what can be added or modified I know the sysadmin group won't allow me to have access | ||
| [2011/11/07 08:34:41] <Spads> ghanima: so one approach to this is to give the app devs access to branch the puppet trees from the sysadmin group, but have merges shepherded in by those sysadmins | ||
| [2011/11/07 08:34:52] <fragfutter> dns is online again, looks like they switched routes. expect a bumby ride... | ||
| [2011/11/07 08:34:54] @ iw_work joined channel #puppet | ||
| [2011/11/07 08:36:33] <_rc> turning it into a vcs/merge review process could work, but make sure it comes with education about what's acceptable/expected | ||
| [2011/11/07 08:36:49] <ghanima> Spads: do you have any whitepapers on this... I understanding the svn or git part, but I don't understand how it would work after that point | ||
| [2011/11/07 08:36:56] <fragfutter> ghanima: i'm a sysadmin, so take it with a grain of salt. But i will not allow an application develloper to access any server config. period. | ||
| [2011/11/07 08:36:59] <Spads> ghanima: no, you just do it | ||
| [2011/11/07 08:37:08] <ghanima> Spads: If you have any other references that would be appreciate | ||
| [2011/11/07 08:37:29] <Spads> ghanima: app devs have read access, sysadmins merge proposed branches from app devs. That's short enough to not need a "white paper" | ||
| [2011/11/07 08:37:32] @ Quit: gregp76: Read error: Connection reset by peer | ||
| [2011/11/07 08:37:40] <Spads> write what I said on a white piece of paper if it makes you happy | ||
| [2011/11/07 08:37:46] <walkeran> Zing :) | ||
| [2011/11/07 08:37:48] <ghanima> fragfuttter: That is what I would expect... which is why I don't know if puppet is the right tool for my app group :( | ||
| [2011/11/07 08:38:16] @ Chris03 joined channel #puppet | ||
| [2011/11/07 08:38:19] @ gregp76 joined channel #puppet | ||
| [2011/11/07 08:38:23] <the_ramink> ghanima: one of the better ideas I've seen is for the group that owns Puppet (usually sysadims) to create entry points for the developers. | ||
| [2011/11/07 08:38:29] <Spads> fragfutter: do you mean read or write? | ||
| [2011/11/07 08:38:52] <fragfutter> package your application up in an installable form, write the documentation, tell them where the config files are that you will manage yourself, hand it over to your sysops. | ||
| [2011/11/07 08:38:53] <the_ramink> ghanima: there was a talk about it it Puppet Conf, let me dig it up. | ||
| [2011/11/07 08:38:56] <iw_work> just in a meeting on that about configs and apps, and how to deploy or roll back apps and maintain config files, what a headache | ||
| [2011/11/07 08:39:09] <fragfutter> Spads: at least write ;) | ||
| [2011/11/07 08:39:22] @ Quit: gregp76: Read error: Connection reset by peer | ||
| [2011/11/07 08:39:43] <iw_work> someone needs to publish a best business practices article and make it law :P | ||
| [2011/11/07 08:40:00] @ gregp76 joined channel #puppet | ||
| [2011/11/07 08:40:02] @ rharrison joined channel #puppet | ||
| [2011/11/07 08:40:04] <Chris03> Hi, can someone tell me how to uninstall Puppet Enterprise ? I couldn't find any documentation about that.. | ||
| [2011/11/07 08:40:15] @ benjiedmund joined channel #puppet | ||
| [2011/11/07 08:40:20] <_rc> thing is your devs should already be getting a version of your manifests, or at least the side effects, as you're making them a dev environment that resembles production, right? | ||
| [2011/11/07 08:41:07] <the_ramink> ghanima: http://www.youtube.com/user/puppetlabsinc#p/u/20/4r-N2sO3tTc | ||
| [2011/11/07 08:41:40] <ghanima> Spads: What I am trying to understand is that after the merge..... SVN process obviously doesn't evaluate the change so that has to be looked at to enforce any policy... Also from a testing standpoint since app group has no direct access to puppetmaster or the puppet agent their is no way to test the change(unless you have a dev environment and for us right now we are in the process of getting one, but that is another headache) with that said it makes | ||
| [2011/11/07 08:41:45] @ ken_barber1 joined channel #puppet | ||
| [2011/11/07 08:42:05] <Spads> ghanima: a human reviews the merge into the branch that is live | ||
| [2011/11/07 08:42:07] <iw_work> dev environments wont match production, due to vm counts, networks, etc, its close, but never an exact copy, so always different configs, normally 4 environments, prod/lab/test/ and the 4th i forgot about at this moment | ||
| [2011/11/07 08:42:21] @ gregp76_ joined channel #puppet | ||
| [2011/11/07 08:42:25] <Spads> ghanima: perhaps svn is not the best tool for this, as it makes branching and merging unnecessarily difficult | ||
| [2011/11/07 08:42:26] <_rc> ghanima: puppet isn't going to wave a magic wand and solve your issues | ||
| [2011/11/07 08:42:43] <Spads> ghanima: also you hit the magic 509 character limit in IRC | ||
| [2011/11/07 08:42:54] <fragfutter> iw_work: legacy ;) | ||
| [2011/11/07 08:43:04] <Spads> well it's 512 - message type - control chars or whatever | ||
| [2011/11/07 08:43:05] * iw_work is amused, 509 is the area code for his home town | ||
| [2011/11/07 08:43:06] <ghanima> _rc: In regards to testing in a dev environment this is what we hope to be able to do, but my organization isn't their yet and won't be until after the new year. Which is why I am trying to determine if we should use something outside of puppet | ||
| [2011/11/07 08:43:44] <ghanima> _rc: The true power of puppet is to being able to have visbility into in environment without having direct access to it. To me this only works if it is truly shared and not proxied | ||
| [2011/11/07 08:43:48] <Spads> ghanima: you need to be able to test your changes. puppet agent has a -t --noop --environment=testing set of switches you can use for some of that | ||
| [2011/11/07 08:44:05] <Spads> ghanima: but you need a test infrastructure, and you need a merge review process. | ||
| [2011/11/07 08:44:18] @ clustermagnet joined channel #puppet | ||
| [2011/11/07 08:44:41] @ Quit: ckauhaus: Ping timeout: 244 seconds | ||
| [2011/11/07 08:44:57] @ Quit: gregp76: Ping timeout: 276 seconds | ||
| [2011/11/07 08:44:57] @ gregp76_ is now known as gregp76 | ||
| [2011/11/07 08:44:58] @ Quit: ken_barber: Ping timeout: 258 seconds | ||
| [2011/11/07 08:45:09] <ashp> I have to share puppet certs between two puppetmasters, I just know this is going to be tricky | ||
| [2011/11/07 08:46:10] <ghanima> Spads: I hear you on that, but the problem in my case is that I don't have access to puppet agent and to do this on my laptop is not accurate. I agree that how you should test is how you outlined I am saying that I don't have access to do so. With that said based on those limitations I don't know if puppet would be a good solution | ||
| [2011/11/07 08:46:25] <fragfutter> ashp: you mean client or master certs? | ||
| [2011/11/07 08:46:30] <ashp> fragfutter: master certs | ||
| [2011/11/07 08:46:34] <iw_work> seems to be the same issues and questions in the use of puppet, environments, revision control issues, config app files, etc | ||
| [2011/11/07 08:46:39] <ashp> fragfutter: my issue right now is to do with hostnames | ||
| [2011/11/07 08:46:42] <Spads> ghanima: well we automate the noop runs to generate test reports, which we collate for review | ||
| [2011/11/07 08:46:51] <ghanima> _rc: I am not looking for puppet to wave a magic wand I am willing to do the work I just want to know if there are other options or uses cases available to my problem... If their not I understand that, but still wanted to asks | ||
| [2011/11/07 08:47:00] <ashp> Nov 7 11:43:47 puppet puppet-agent[2617]: Could not send report: Server hostname 'puppet' did not match server certificate; expected puppet.sys.perimeterusa.com | ||
| [2011/11/07 08:47:40] @ Quit: jaytaph: Quit: jaytaph | ||
| [2011/11/07 08:48:09] @ Quit: ker2x: Quit: hop | ||
| [2011/11/07 08:48:39] <fragfutter> ashp: i think you could use a master certificate with an alternate name. | ||
| [2011/11/07 08:48:46] <_rc> ghanima: the use case is code/merge review of the puppet tree, plus the education of users | ||
| [2011/11/07 08:48:55] <Chris03> How do you uninstall Puppet Enterprise ? | ||
| [2011/11/07 08:49:04] <ashp> fragfutter: So I add in alternate names for each puppetmaster to the master cert? I've never had to deal with the certs before, they just get generated on install and magically work | ||
| [2011/11/07 08:50:08] <Chris03> I guess having no support/documentation on how to uninstall the software is a feature | ||
| [2011/11/07 08:51:25] @ Quit: nokia3510: Quit: Leaving | ||
| [2011/11/07 08:52:15] @ nokia3510 joined channel #puppet | ||
| [2011/11/07 08:52:41] @ Quit: jodok: Quit: jodok | ||
| [2011/11/07 08:52:45] <fragfutter> ashp: something like this. should work. | ||
| [2011/11/07 08:52:51] @ trickyf left channel #puppet () | ||
| [2011/11/07 08:52:56] <walkeran> Chris03: Never used puppet enterprise, but AFAIK, everything that's needed is bundled into one folder that's stuck into /opt... so uninstallation should be as easy as a single rm | ||
| [2011/11/07 08:53:10] @ Quit: raphdg: Remote host closed the connection | ||
| [2011/11/07 08:55:53] @ alanevans joined channel #puppet | ||
| [2011/11/07 08:56:38] <Chris03> walkeran: Thanks that seemed to work | ||
| [2011/11/07 08:56:45] <fragfutter> afaik it's rpm based, so you need to drop all pe-* | ||
| [2011/11/07 08:58:53] @ Ancient|away is now known as Ancient | ||
| [2011/11/07 09:01:23] @ Quit: mogitaff: Remote host closed the connection | ||
| [2011/11/07 09:01:40] @ Quit: soh: Quit: Computer has gone to sleep. | ||
| [2011/11/07 09:02:00] @ Quit: silfreed: Quit: Leaving | ||
| [2011/11/07 09:02:30] @ silfreed joined channel #puppet | ||
| [2011/11/07 09:02:46] @ Quit: abetterlie: Ping timeout: 260 seconds | ||
| [2011/11/07 09:04:37] @ Quit: cmoates: Ping timeout: 240 seconds | ||
| [2011/11/07 09:07:38] @ cmoates joined channel #puppet | ||
| [2011/11/07 09:07:51] <erthad> custom functions don't get reloaded when modified like manifests do, do they? | ||
| [2011/11/07 09:08:02] @ Stenbryggen joined channel #puppet | ||
| [2011/11/07 09:08:43] <jamesturnbull> erthad: no | ||
| [2011/11/07 09:08:44] @ Quit: Chris03: Ping timeout: 265 seconds | ||
| [2011/11/07 09:08:49] <jamesturnbull> erthad: they get reloaded next run | ||
| [2011/11/07 09:09:00] <jamesturnbull> erthad: so you can force re-load it by restarting the agent | ||
| [2011/11/07 09:09:32] <rocket_> hrmm I seem to be having an issue where the agent isnt picking up my custom function in 2.6.11 or the server isnt .. the catalog isnt compiling | ||
| [2011/11/07 09:10:28] <_rc> the agent isn't where the custom fuctions are run, that's on the master | ||
| [2011/11/07 09:11:01] @ Quit: yeled: Ping timeout: 240 seconds | ||
| [2011/11/07 09:11:11] <rocket_> ok so I need to debug the master .. and why its not loading the plugins .. :/ | ||
| [2011/11/07 09:11:58] <_rc> typically you need to do a run on it with pluginsync, then (sometimes) bounce it | ||
| [2011/11/07 09:12:05] <erthad> rocket_: have you enabled pluginsync on both master and agent? | ||
| [2011/11/07 09:12:24] <rocket_> yeah .. I think I have a typo somewhere else though | ||
| [2011/11/07 09:12:56] @ Quit: pdtpatrick1: Remote host closed the connection | ||
| [2011/11/07 09:13:20] @ soh joined channel #puppet | ||
| [2011/11/07 09:14:42] @ gob_bluth joined channel #puppet | ||
| [2011/11/07 09:15:42] <gob_bluth> how would i call an erb template from another module? content("other-module/etc/hosts.erb") ? | ||
| [2011/11/07 09:15:53] @ peridot joined channel #puppet | ||
| [2011/11/07 09:16:38] <walkeran> Same way you would from the same module... template("modulename/blah.erb") | ||
| [2011/11/07 09:17:27] @ Quit: MattTheRat: Changing host | ||
| [2011/11/07 09:17:27] @ MattTheRat joined channel #puppet | ||
| [2011/11/07 09:18:18] <gob_bluth> weird that's not working | ||
| [2011/11/07 09:18:20] @ bretm joined channel #puppet | ||
| [2011/11/07 09:18:35] <gob_bluth> guess i have bigger probs | ||
| [2011/11/07 09:23:35] @ Quit: jbraeuer: Quit: jbraeuer | ||
| [2011/11/07 09:23:46] @ williemach joined channel #puppet | ||
| [2011/11/07 09:25:05] @ Quit: soh: Quit: Computer has gone to sleep. | ||
| [2011/11/07 09:25:44] @ neonflux joined channel #puppet | ||
| [2011/11/07 09:25:59] @ Quit: rocket_: Ping timeout: 258 seconds | ||
| [2011/11/07 09:26:37] @ Quit: kenyon: Ping timeout: 240 seconds | ||
| [2011/11/07 09:27:17] @ cwebber_ joined channel #puppet | ||
| [2011/11/07 09:27:23] @ kenyon joined channel #puppet | ||
| [2011/11/07 09:27:25] @ Quit: bartavelle: Ping timeout: 240 seconds | ||
| [2011/11/07 09:27:47] @ ghanima left channel #puppet ("Leaving.") | ||
| [2011/11/07 09:28:22] @ Quit: cwebber: Ping timeout: 258 seconds | ||
| [2011/11/07 09:28:32] @ soh joined channel #puppet | ||
| [2011/11/07 09:28:48] @ ghanima joined channel #puppet | ||
| [2011/11/07 09:28:56] @ froztbyt1 is now known as froztbyte | ||
| [2011/11/07 09:29:12] @ Quit: froztbyte: Changing host | ||
| [2011/11/07 09:29:12] @ froztbyte joined channel #puppet | ||
| [2011/11/07 09:29:23] @ Quit: pmorillon: Quit: pmorillon | ||
| [2011/11/07 09:30:10] @ samkottler joined channel #puppet | ||
| [2011/11/07 09:30:22] @ Quit: Razique: Quit: Razique | ||
| [2011/11/07 09:31:23] @ bartavelle joined channel #puppet | ||
| [2011/11/07 09:32:02] @ shadoi joined channel #puppet | ||
| [2011/11/07 09:32:18] @ Quit: bretm: Quit: Leaving | ||
| [2011/11/07 09:33:20] <CrazyGir> is it pretty easy to test a replacement package provider for a particular os? | ||
| [2011/11/07 09:33:44] <erthad> jamesturnbull: weird.. it seemed to catch changes in custom functions couple of times without reloading but does't do that immediately like it does for manifests | ||
| [2011/11/07 09:36:08] @ cjz joined channel #puppet | ||
| [2011/11/07 09:37:37] @ ianbrandt joined channel #puppet | ||
| [2011/11/07 09:37:42] @ Quit: adimania: Ping timeout: 240 seconds | ||
| [2011/11/07 09:38:11] <cjz> hi im using puppet on windows, how do you specify "source", i specified Z:/<dir>/<file> but it says file:/Z:/<dir>/<file> Could not evaluate: Could not retrieve information from environment | ||
| [2011/11/07 09:38:50] <jamesturnbull> CrazyGir: yeah you can ship it as a module and pluginsync it to the host | ||
| [2011/11/07 09:39:02] <jamesturnbull> erthad: oh you mean on the master? | ||
| [2011/11/07 09:39:07] <erthad> yes | ||
| [2011/11/07 09:39:23] <walkeran> cjz: Use backslashes, maybe? And then, perhaps, escape the backslashes? *sigh* Windows... | ||
| [2011/11/07 09:39:37] <jamesturnbull> erthad: hmmm I think it should work fine to reload ... be odd if it didn't ... but autoload is an odd best with .rb files sometimes | ||
| [2011/11/07 09:40:32] @ Quit: gebi: Ping timeout: 248 seconds | ||
| [2011/11/07 09:40:40] @ sdog joined channel #puppet | ||
| [2011/11/07 09:40:47] @ Quit: sdog: Changing host | ||
| [2011/11/07 09:40:48] @ sdog joined channel #puppet | ||
| [2011/11/07 09:41:02] <jamesturnbull> cjz: I'd grab jhelwig or joshcooper when they're about - they are the experts so far | ||
| [2011/11/07 09:43:58] @ ezryx joined channel #puppet | ||
| [2011/11/07 09:44:19] <benkevan> anyone have screenshots of the PE 2.0 "GUI" that i keep reading about? | ||
| [2011/11/07 09:44:35] @ Quit: gregp76: Ping timeout: 260 seconds | ||
| [2011/11/07 09:47:42] <benkevan> tmz: you planning on packaging 2.7 or are you going to be careful on moving versions up within your repo? | ||
| [2011/11/07 09:48:48] <dballing> Anyone got a really good, solid, module for installing VMware tools (the real tools, not the open-source RPMs) on VMware guests (linux specifically) | ||
| [2011/11/07 09:49:26] <dballing> I've seen a bunch in my googling, but they all seem to sort of really hack their way into the problem and was hoping someone would be like "I use this and it's solid and I recommend it highly" :) | ||
| [2011/11/07 09:49:34] <benkevan> dballing: I'd honestly script the install.. then just call the script. | ||
| [2011/11/07 09:50:01] <dballing> well, the install is already fairly scriptable "vmware-install.pl --default" | ||
| [2011/11/07 09:50:05] <tmz> benkevan: The bits on yum.puppetlabs.com are probably better. It seems like duplicating that effort would be a waste. | ||
| [2011/11/07 09:50:16] <dballing> it's just a matter of knowing when you need to do it and all that | ||
| [2011/11/07 09:50:35] <benkevan> dballing: yah.. but then you want to do a match and do a pull from source XXX .. etc. | ||
| [2011/11/07 09:51:19] <benkevan> tmz: ah.. sure enough | ||
| [2011/11/07 09:51:29] @ cjz1 joined channel #puppet | ||
| [2011/11/07 09:52:10] <benkevan> jamesturnbull: any idea if you'll be utilizing a zypper.puppetlabs.com for SLES? :D | ||
| [2011/11/07 09:52:35] <xeor> Is there anyway for me to grab every servers which uses one specific class and create a list of them and use the list to populate a file on a third server..? | ||
| [2011/11/07 09:52:37] @ Quit: OMCK: Ping timeout: 240 seconds | ||
| [2011/11/07 09:53:06] <xeor> Going to use them for proxies. All proxies have one class, and I want a master proxy to know about all of them | ||
| [2011/11/07 09:53:41] @ OMCK joined channel #puppet | ||
| [2011/11/07 09:53:49] @ Quit: leifmadsen: Ping timeout: 240 seconds | ||
| [2011/11/07 09:54:07] @ Quit: frapzzt: Read error: Connection reset by peer | ||
| [2011/11/07 09:54:12] @ frapzzt joined channel #puppet | ||
| [2011/11/07 09:54:13] @ Quit: cjz: Ping timeout: 240 seconds | ||
| [2011/11/07 09:54:14] @ Quit: iw_work: Quit: Leaving | ||
| [2011/11/07 09:54:28] <jamesturnbull> benkevan: take it up with stahnma :) | ||
| [2011/11/07 09:54:35] <peridot> What was the name of that plugin to handle svn resources? | ||
| [2011/11/07 09:54:50] <jamesturnbull> peridot: vcsrepo | ||
| [2011/11/07 09:54:55] <peridot> thanks | ||
| [2011/11/07 09:54:59] <benkevan> tmz: also are you going to be handling RHEL4 since yum.puppetlabs.com doesn't provide? or you just going to let the puppet project handle? | ||
| [2011/11/07 09:55:10] @ Quit: danikov: Quit: danikov | ||
| [2011/11/07 09:55:32] @ jaytaph joined channel #puppet | ||
| [2011/11/07 09:56:24] @ Quit: jaytaph: Read error: Connection reset by peer | ||
| [2011/11/07 09:56:33] <xeor> puppet-dashboard is missing from the yum repository for el5 | ||
| [2011/11/07 09:56:45] @ jaytaph joined channel #puppet | ||
| [2011/11/07 09:57:16] <benkevan> README_PACKAGES.markdown needs to be updated to show the deprecation of /base/ (guess I should put a bug report) | ||
| [2011/11/07 09:58:38] @ CodyR joined channel #puppet | ||
| [2011/11/07 09:58:43] @ dan__t joined channel #puppet | ||
| [2011/11/07 09:58:44] @ abetterlie joined channel #puppet | ||
| [2011/11/07 09:58:47] <dan__t> 'morning. | ||
| [2011/11/07 09:58:53] <benkevan> dan__t: monin' | ||
| [2011/11/07 09:59:44] @ Quit: Chesther: Ping timeout: 248 seconds | ||
| [2011/11/07 10:01:05] <the_ramink> xeor: Dashboard requires Ruby 1.8.7, el5 only ships 1.8.5 | ||
| [2011/11/07 10:01:19] <dan__t> curse. | ||
| [2011/11/07 10:01:31] <dan__t> though f15's ruby builds well under el5 | ||
| [2011/11/07 10:02:14] <xeor> the_ramink: thanks.. I had to use an older version when I installed it on rhel5 | ||
| [2011/11/07 10:02:52] @ Quit: abetterlie: Read error: Connection reset by peer | ||
| [2011/11/07 10:03:10] @ los3241 joined channel #puppet | ||
| [2011/11/07 10:03:42] @ Quit: frapzzt: Read error: Connection reset by peer | ||
| [2011/11/07 10:03:46] @ frapzzt joined channel #puppet | ||
| [2011/11/07 10:03:54] <the_ramink> xeor: right, I should have said dashboard 1.2.x requires 1.8.7 :) | ||
| [2011/11/07 10:04:44] @ adimania joined channel #puppet | ||
| [2011/11/07 10:04:50] <xeor> Is there too much different on 1.1 and 1.2 tough? Is it worth the hazzle of upgrading? Or are they pretty much the same? | ||
| [2011/11/07 10:04:53] <cjz1> ok well jhelwig if you see this, ive tried bunches of ways of specifying Z:/blahblah, nothing seems to work | ||
| [2011/11/07 10:05:04] <xeor> I dont use their enc script | ||
| [2011/11/07 10:05:47] * benkevan feels left out since there's no SLES repositories lmao. | ||
| [2011/11/07 10:06:22] <hobbeswalsh> Hey puppeteers -- is it possible to use an external node classifier *and* extlookup? | ||
| [2011/11/07 10:06:37] @ Quit: madduck: Ping timeout: 240 seconds | ||
| [2011/11/07 10:06:41] <benkevan> stahnma: any plans on having a SLES repository (i.e., zypper.puppetlabs.com)? | ||
| [2011/11/07 10:06:54] @ cjz1 is now known as cjz | ||
| [2011/11/07 10:06:55] <hobbeswalsh> And... is it recommended? Or is it recommended just to use the "parameters" key in the ENC's YAML as opposed to doing an external lookup? | ||
| [2011/11/07 10:07:15] <_rc> hobbeswalsh: yes it's possible | ||
| [2011/11/07 10:07:39] @ gebi joined channel #puppet | ||
| [2011/11/07 10:07:50] <jhelwig> cjz: What's the full resource look like, and what exactly is the error you're getting? Throw those in a pastebin so we can take a look? | ||
| [2011/11/07 10:08:05] @ madduck joined channel #puppet | ||
| [2011/11/07 10:08:55] @ abetterlie joined channel #puppet | ||
| [2011/11/07 10:10:24] @ yeled joined channel #puppet | ||
| [2011/11/07 10:10:37] <stahnma> benkevan: yes. I'd be looking for community help on that one, but absolutely | ||
| [2011/11/07 10:10:56] @ Quit: rharrison: Remote host closed the connection | ||
| [2011/11/07 10:11:02] @ los3241 left channel #puppet () | ||
| [2011/11/07 10:11:17] <stahnma> benkevan: probably not in the next 4 weeks though. Time constraints :( | ||
| [2011/11/07 10:12:21] <benkevan> stahnma: I've been buliding for the past (long time) in buildservice: https://build.opensuse.org/project/show?project=home%3Aeclipseagent%3Apuppet .. I'm not a great packager, but I did it to get it running for me. :) | ||
| [2011/11/07 10:13:24] @ cwebber_ is now known as cwebber | ||
| [2011/11/07 10:14:00] <stahnma> benkevan: sweet. I don't know a ton about the specifics of SLES/SUSE packaging. I know rpm quite well, but suse has some interesting extensions and choices that I just haven't learned too well yet | ||
| [2011/11/07 10:14:03] @ zwi joined channel #puppet | ||
| [2011/11/07 10:14:28] @ zaytsev joined channel #puppet | ||
| [2011/11/07 10:15:00] <zaytsev> hi folks! so the trick to iterate over an array of hashes no longer works with puppet 2.7.5 or am I doing something wrong? | ||
| [2011/11/07 10:15:51] <zaytsev> http://www.strewth.org/words/2011/01/array-of-hashes-in-puppet-dsl/ <--- this is what I'm talking about | ||
| [2011/11/07 10:15:54] <ashp> http://www.amazon.com/Puppet-2-7-Cookbook-John-Arundel/dp/1849515387 | ||
| [2011/11/07 10:15:57] <ashp> anyone read this? | ||
| [2011/11/07 10:16:26] @ tilgovi joined channel #puppet | ||
| [2011/11/07 10:16:26] @ Quit: tilgovi: Changing host | ||
| [2011/11/07 10:16:26] @ tilgovi joined channel #puppet | ||
| [2011/11/07 10:16:27] <benkevan> ashp: nope.. but thanks for the link, I may be interested in getting it | ||
| [2011/11/07 10:16:35] <benkevan> me hides from james | ||
| [2011/11/07 10:16:44] <jbaldridge> almost impulse buy cheap for the kindle.. | ||
| [2011/11/07 10:17:00] <ashp> my coworker said it's pretty good | ||
| [2011/11/07 10:17:06] <ashp> i just didn't know the authors name from in here ;) | ||
| [2011/11/07 10:17:14] @ KaiserBeto1 joined channel #puppet | ||
| [2011/11/07 10:17:28] <benkevan> ashp: how does it compare to pro puppet? (anyone being able to compare the 2? :D) | ||
| [2011/11/07 10:17:47] <ashp> benkevan: no idea, pro puppet was awesome but I guess this is more about nifty manifests | ||
| [2011/11/07 10:17:47] <tmz> benkevan: I'm not sure if EL4 works well with later 2.6.x or not. If it does, I should update it just to be sure it's not vulnerable to the certdnsnames problem. | ||
| [2011/11/07 10:17:49] @ langworthy joined channel #puppet | ||
| [2011/11/07 10:18:08] <benkevan> tmz: agreed.. that damn booger was bad. | ||
| [2011/11/07 10:18:28] @ scsinutz joined channel #puppet | ||
| [2011/11/07 10:18:48] @ seanh-ansca joined channel #puppet | ||
| [2011/11/07 10:18:56] <jhelwig> benkevan: Don't think you need to hide from James. Seems like the more Puppet books there are the better off we are. ;-) | ||
| [2011/11/07 10:19:04] @ scsinutz left channel #puppet () | ||
| [2011/11/07 10:19:38] @ mitchellh joined channel #puppet | ||
| [2011/11/07 10:20:02] <ashp> I will probably impulse buy it anyway out of interest | ||
| [2011/11/07 10:20:43] @ jon6000 joined channel #puppet | ||
| [2011/11/07 10:20:49] <peridot> I already impulse bought a bash cookbook that arrived this morning...Gotta wait for my next impulse tech book buy. | ||
| [2011/11/07 10:21:09] @ danikov joined channel #puppet | ||
| [2011/11/07 10:21:23] @ Quit: seanh-ansca: Client Quit | ||
| [2011/11/07 10:21:43] @ seanh-ansca joined channel #puppet | ||
| [2011/11/07 10:21:53] <_rc> I think you're doing impulse buying wrong | ||
| [2011/11/07 10:23:01] <unixdaemon> ashp: he goes by bitfield in here. | ||
| [2011/11/07 10:23:02] <zaytsev> doh, the trick still works, I was just doing it wrong | ||
| [2011/11/07 10:23:08] @ shadoi1 joined channel #puppet | ||
| [2011/11/07 10:23:25] <zaytsev> I wish I knew a standard way of iterating over arrays of hashes | ||
| [2011/11/07 10:23:27] @ Quit: gob_bluth: Quit: ChatZilla 0.9.87 [Firefox 7.0.1/20110928134238] | ||
| [2011/11/07 10:23:46] @ Quit: sfire||mouse: Quit: sfire||mouse | ||
| [2011/11/07 10:24:09] <xeor> Is it bad practice to have one key in facter with 600-1000 characters? I am trying to figure out the best way for me to generate multipath.conf using puppet, and I need to grab the data from the server itself.. | ||
| [2011/11/07 10:25:27] <_rc> well the sshdsakey/sshrsakey facts are already pretty long, so there's precedence | ||
| [2011/11/07 10:26:52] <xeor> yea, I noticed them.. But it just feels so ugly storing all that info in a fact | ||
| [2011/11/07 10:27:27] <jhelwig> Don't forget about ec2 user-data. That can be quite large (and binary). | ||
| [2011/11/07 10:27:39] @ Quit: shadoi: Ping timeout: 276 seconds | ||
| [2011/11/07 10:28:04] <xeor> specially when its info which could easiely be grabbed from a csv or if facter supported hash/dicts.. | ||
| [2011/11/07 10:28:18] @ Quit: jon6000: Ping timeout: 276 seconds | ||
| [2011/11/07 10:30:26] @ nul0op joined channel #puppet | ||
| [2011/11/07 10:31:39] @ Quit: ezryx: Remote host closed the connection | ||
| [2011/11/07 10:32:37] @ jsurfer joined channel #puppet | ||
| [2011/11/07 10:33:37] @ imroot joined channel #puppet | ||
| [2011/11/07 10:33:49] @ Quit: optiz0r: Remote host closed the connection | ||
| [2011/11/07 10:34:23] @ optiz0r joined channel #puppet | ||
| [2011/11/07 10:35:06] @ Quit: zwi: Quit: Leaving. | ||
| [2011/11/07 10:35:14] @ Quit: optiz0r: Remote host closed the connection | ||
| [2011/11/07 10:35:45] @ optiz0r joined channel #puppet | ||
| [2011/11/07 10:35:49] <imroot> Hello, I'm a new puppet user. I wrote a simple manifest as a test and it runs fine when I issue a "puppet apply" command manually. The puppet daemon though doesn't run it every 30 mins. How do Iset it up to automatically run? | ||
| [2011/11/07 10:35:55] <benkevan> jhelwig: lmao.. true.. i really just need time to do puppet more.. but right now I'm a basis admin (10 modules), linux admin (200 servers), vmware admin (100 ESX servers).. time is always an issue lmao | ||
| [2011/11/07 10:35:55] @ zwi joined channel #puppet | ||
| [2011/11/07 10:36:04] @ Quit: optiz0r: Remote host closed the connection | ||
| [2011/11/07 10:36:36] @ optiz0r joined channel #puppet | ||
| [2011/11/07 10:37:04] <peridot> imroot: start the puppet service on the client | ||
| [2011/11/07 10:37:59] @ sumsuch joined channel #puppet | ||
| [2011/11/07 10:38:59] <imroot> it looks like puppet is running | ||
| [2011/11/07 10:39:44] @ Quit: kolla: Remote host closed the connection | ||
| [2011/11/07 10:40:08] <imroot> its doing a catalog run every 30 mins. | ||
| [2011/11/07 10:40:21] <imroot> its not running my manifest | ||
| [2011/11/07 10:40:49] <benkevan> imroot: did you assign the manifest in nodes? or is it named correctly to autoload? | ||
| [2011/11/07 10:41:00] @ Quit: samkottler: Quit: Leaving. | ||
| [2011/11/07 10:41:55] <imroot> Where would I assign the manifest in nodes? Where do I look to see if its named correctly in autoload? | ||
| [2011/11/07 10:42:29] <benkevan> imroot: pastebin your node file, and your init.pp (and give us the path to your init.pp) | ||
| [2011/11/07 10:42:50] <imroot> where in the node file? | ||
| [2011/11/07 10:43:00] <imroot> sorry, I meant where is the node file | ||
| [2011/11/07 10:43:09] <benkevan> well I think we found your probelm | ||
| [2011/11/07 10:43:12] <benkevan> problem* | ||
| [2011/11/07 10:43:15] <cjz> sorry jhelwig http://pastebin.com/UWmJbnsu | ||
| [2011/11/07 10:43:17] <benkevan> do you not have a node sfile? | ||
| [2011/11/07 10:44:44] <jhelwig> cjz: Where's the actual resource? It should look something like: file {'foo': source => "${path}", ensure => file, mode => 0644} | ||
| [2011/11/07 10:44:46] @ mpdude joined channel #puppet | ||
| [2011/11/07 10:46:17] <cjz> http://pastebin.com/ax4UV23q | ||
| [2011/11/07 10:46:29] <cjz> thats got the resource as i currently have it, ive tried all kinds of things | ||
| [2011/11/07 10:47:14] @ Quit: tilgovi: Remote host closed the connection | ||
| [2011/11/07 10:47:26] <jhelwig> cjz: Get rid of the leading / in the source string. | ||
| [2011/11/07 10:48:16] @ leifmadsen joined channel #puppet | ||
| [2011/11/07 10:49:06] <imroot> Where would I assign the manifest in nodes? Where do I look to see if its named correctly in autoload? | ||
| [2011/11/07 10:49:12] <cjz> nope, that doesnt work either | ||
| [2011/11/07 10:49:25] <benkevan> imroot: by providing the stuff I had asked for | ||
| [2011/11/07 10:49:37] <jhelwig> cjz: Paste the new resource setup and the error message? | ||
| [2011/11/07 10:50:16] <imroot> benkevan: please clarify | ||
| [2011/11/07 10:50:50] <benkevan> imroot: please pastebin your nodes files, and your manifest including path of the manifest. | ||
| [2011/11/07 10:51:31] <imroot> what node files do you need? | ||
| [2011/11/07 10:51:56] <benkevan> imroot: the node file with the node you're trying to load the manifest on. | ||
| [2011/11/07 10:52:14] @ odyi joined channel #puppet | ||
| [2011/11/07 10:52:15] @ Quit: odyi: Changing host | ||
| [2011/11/07 10:52:15] @ odyi joined channel #puppet | ||
| [2011/11/07 10:52:47] @ samkottler joined channel #puppet | ||
| [2011/11/07 10:52:47] <ashp> question: say you're dealing with 20 datacenters and each dc has an ldap server that other machines in that dc have to use. Do you guys generally just handle that through extlookup, heira, smart variables and the like? | ||
| [2011/11/07 10:52:52] <imroot> I'm sorry, I don't understand what you mean by "node file". | ||
| [2011/11/07 10:52:59] <ashp> Or do people have fancy systems like split-horizon dns with srv records for these things | ||
| [2011/11/07 10:53:57] <jhelwig> imroot: Let's start here. Do you have a puppet master setup at all, or just the agent running? | ||
| [2011/11/07 10:54:05] <imroot> where do I find "node file"? | ||
| [2011/11/07 10:54:57] <imroot> I installed the puppet master, etc. enterprise on server1 and just the agent on server2. | ||
| [2011/11/07 10:55:41] <imroot> I created a simple manifest that just creates a file. It works fine by itself but it doesn't run by itself | ||
| [2011/11/07 10:55:42] <jhelwig> imroot: Puppet enterprise? Did you modify /etc/puppetlabs/puppet/manifests/site.pp at all, yet? | ||
| [2011/11/07 10:55:50] <imroot> no | ||
| [2011/11/07 10:56:11] <jhelwig> That file on the master is where you'd start for pushing things out to the agents. | ||
| [2011/11/07 10:56:24] <jhelwig> That'd be the node file that benkevan was referring to. | ||
| [2011/11/07 10:56:31] @ Quit: mykhyggz: Ping timeout: 260 seconds | ||
| [2011/11/07 10:56:32] @ Quit: jonhattan: Quit: Ex-Chat | ||
| [2011/11/07 10:56:58] @ mykhyggz joined channel #puppet | ||
| [2011/11/07 10:57:22] <imroot> it just has a filebucket definition with my master sserver in it. | ||
| [2011/11/07 10:57:49] @ shadoi1 is now known as shadoi | ||
| [2011/11/07 10:58:33] <imroot> what am I supposed to do with the site.pp file? | ||
| [2011/11/07 10:58:56] @ Quit: rgsteele: Quit: ChatZilla 0.9.86.1 [Firefox 3.0.7/2009030423] | ||
| [2011/11/07 10:59:41] <nlew> imroot: site.pp is the entry point for puppet, the first file the puppet master reads. It's where you declare the classes for each of your nodes. | ||
| [2011/11/07 11:00:07] @ lwhalen joined channel #puppet | ||
| [2011/11/07 11:00:07] <nlew> imroot: The master will look for a node declaration matching the hostname of the node, or fall back to 'default'. | ||
| [2011/11/07 11:00:34] @ Quit: lwhalen: Client Quit | ||
| [2011/11/07 11:00:56] <nlew> imroot: Take a look here. http://docs.puppetlabs.com/guides/language_guide.html#nodes | ||
| [2011/11/07 11:01:25] @ Quit: edheldil: Ping timeout: 240 seconds | ||
| [2011/11/07 11:03:21] @ bmahe joined channel #puppet | ||
| [2011/11/07 11:03:30] @ Quit: p3rror: Read error: Connection reset by peer | ||
| [2011/11/07 11:03:36] @ edheldil joined channel #puppet | ||
| [2011/11/07 11:03:51] <imroot> it doesn't say where to put the node definitions. Also, the item in the include, is that a manifest, class or module (or any of the above)? | ||
| [2011/11/07 11:04:22] <nlew> imroot: Node definitions typically go in site.pp (because that's the first place puppet looks). The item in the include is a class. | ||
| [2011/11/07 11:04:25] @ Quit: amoe: Remote host closed the connection | ||
| [2011/11/07 11:04:26] @ Quit: astrostl: | ||
| [2011/11/07 11:04:53] @ Quit: Mishell: Ping timeout: 258 seconds | ||
| [2011/11/07 11:05:08] <nlew> imroot: You can also put resource declarations directly in the node {} block, which may be the fastest way to get started. | ||
| [2011/11/07 11:06:21] <imroot> Ok. Is there any special place I need to put the class coe/ | ||
| [2011/11/07 11:06:35] <imroot> class code | ||
| [2011/11/07 11:06:41] <nlew> imroot: While you're getting started, you can just put them in site.pp as well (outside of your nodes). | ||
| [2011/11/07 11:06:50] @ Chesther joined channel #puppet | ||
| [2011/11/07 11:07:03] <imroot> is that best practice? | ||
| [2011/11/07 11:07:15] <nlew> imroot: Later, the more maintainable way is to organize them into modules, and let puppet autoload them when you ask for them. | ||
| [2011/11/07 11:07:46] <imroot> Ok. thanks. I give this a try and see if it works. | ||
| [2011/11/07 11:07:53] @ Quit: imroot: Quit: Page closed | ||
| [2011/11/07 11:08:14] @ agwells0714 joined channel #puppet | ||
| [2011/11/07 11:08:54] <agwells0714> So I started checking out Cobbler, its awesome! But I am looking at my rules, and I am wondering is it okay to declare a class inside a class? | ||
| [2011/11/07 11:09:03] @ p3rror joined channel #puppet | ||
| [2011/11/07 11:09:22] @ peridot_ joined channel #puppet | ||
| [2011/11/07 11:09:28] <rodjek> agwells0714: it's against the style guide | ||
| [2011/11/07 11:09:45] <agwells0714> I know that much, but will puppet figure out what I want? | ||
| [2011/11/07 11:09:57] <cjz> sorry jhelwig http://pastebin.com/DSLYg2i4 | ||
| [2011/11/07 11:10:02] <rodjek> you should put the class into its own file and then declare it "class <superclass>::<subclass> {" | ||
| [2011/11/07 11:10:04] <cjz> thats the new error | ||
| [2011/11/07 11:10:07] @ Quit: peridot: Ping timeout: 255 seconds | ||
| [2011/11/07 11:10:21] @ Quit: mig5: Ping timeout: 260 seconds | ||
| [2011/11/07 11:10:22] @ ed209 joined channel #puppet | ||
| [2011/11/07 11:10:22] <cjz> it adds file:/ | ||
| [2011/11/07 11:10:37] @ mig5 joined channel #puppet | ||
| [2011/11/07 11:11:20] <jhelwig> cjz: That part is fine. Does Z:/temp/3013816/version.txt exist on the agent that is running? | ||
| [2011/11/07 11:11:22] <agwells0714> I know how I am supposed to do it, but I am trying to integrate cobbler and puppet via cobbler's external node. | ||
| [2011/11/07 11:11:26] <nlew> agwells0714: Yes, it will understand what you mean, and will namespace the classes accordingly. | ||
| [2011/11/07 11:11:42] @ jbraeuer joined channel #puppet | ||
| [2011/11/07 11:11:49] @ ed209 left channel #puppet () | ||
| [2011/11/07 11:12:47] <agwells0714> Also, as I understand it, Cobbler doesn't know how to handle parameterized classes or defined resources | ||
| [2011/11/07 11:12:54] <cjz> jhelwig: yes it does, in windows it says that its in Z:\temp\3013816 | ||
| [2011/11/07 11:13:11] <agwells0714> so I would like to create classes of node types | ||
| [2011/11/07 11:13:20] <cjz> its a share, mac drive mounted on to windows if that makes any difference | ||
| [2011/11/07 11:13:25] <jhelwig> cjz: On the agent, right? Not on the master? | ||
| [2011/11/07 11:14:58] <agwells0714> so the question is really, do I *need* rewrite all my rules, ( can I inherit parameterized classes and define all the resources I need ), or can puppet handle classes in a class? | ||
| [2011/11/07 11:15:02] @ Quit: p3rror: Remote host closed the connection | ||
| [2011/11/07 11:15:23] @ Quit: mykhyggz: Ping timeout: 245 seconds | ||
| [2011/11/07 11:15:43] <cjz> yes on the agent | ||
| [2011/11/07 11:15:48] @ lwhalen joined channel #puppet | ||
| [2011/11/07 11:15:56] <cjz> the master is on the mac, the agent is on a vmware windows | ||
| [2011/11/07 11:16:01] <nlew> agwells0714: Maybe I was misunderstanding what you were expecting. Puppet doesn't give any special behavior to classes defined in other classes. | ||
| [2011/11/07 11:16:08] @ plathrop joined channel #puppet | ||
| [2011/11/07 11:16:54] <agwells0714> So If i initialize a class in a class, puppet will build out a valid configuration tree | ||
| [2011/11/07 11:17:15] @ Razique joined channel #puppet | ||
| [2011/11/07 11:17:39] <jhelwig> cjz: I doubt this will fix anything, since it should already be working with the resource you pasted, but try changing "Z:/temp/3013816/version.txt" to be 'Z:\temp\3013816\version.txt'. | ||
| [2011/11/07 11:18:02] @ Quit: lwhalen: Client Quit | ||
| [2011/11/07 11:18:04] <cjz> jhelwig: should i do double \\? | ||
| [2011/11/07 11:18:22] <cjz> so z:\\temp\\3013816\\version.txt | ||
| [2011/11/07 11:18:31] <walkeran> depends if you are single quoting, or doublequoting, I imagine | ||
| [2011/11/07 11:18:32] <jhelwig> cjz: No. The only things that need to be escaped in single quotes are single quotes. | ||
| [2011/11/07 11:18:37] @ Quit: Recourse: Ping timeout: 240 seconds | ||
| [2011/11/07 11:19:11] <nlew> In double quotes, escape them. In single quotes, either one is okay. | ||
| [2011/11/07 11:19:16] <jhelwig> Well, single quotes, and if you want a literal \ before a '. | ||
| [2011/11/07 11:19:33] <nlew> agwells0714: Can you give an example of what you're trying to do? We may be mixing up terminology here. | ||
| [2011/11/07 11:20:32] @ Recourse joined channel #puppet | ||
| [2011/11/07 11:20:33] <cjz> same basic error | ||
| [2011/11/07 11:20:38] <cjz> it has to have the \\ though | ||
| [2011/11/07 11:21:18] @ Quit: Razique: Ping timeout: 240 seconds | ||
| [2011/11/07 11:21:22] <cjz> it also always puts the file:/ on there | ||
| [2011/11/07 11:22:46] @ Quit: lindenle: Ping timeout: 260 seconds | ||
| [2011/11/07 11:24:01] @ p3rror joined channel #puppet | ||
| [2011/11/07 11:24:07] @ zaytsev left channel #puppet () | ||
| [2011/11/07 11:25:44] @ _plg joined channel #puppet | ||
| [2011/11/07 11:27:00] @ Quit: adimania: Read error: Connection reset by peer | ||
| [2011/11/07 11:27:10] @ dcsobralWork joined channel #puppet | ||
| [2011/11/07 11:27:13] <dan__t> sigh. guess i need to learn some ruby now. | ||
| [2011/11/07 11:27:22] @ mykhyggz joined channel #puppet | ||
| [2011/11/07 11:27:39] <_plg> how do I use ENCs exactly? I have a script that sets variables accordingly to a node name, I set the puppet.conf and now what? | ||
| [2011/11/07 11:28:20] @ Quit: p3rror: Remote host closed the connection | ||
| [2011/11/07 11:28:21] <_plg> where do I give it the node? | ||
| [2011/11/07 11:28:29] <agwells0714> I have a parameterized class called security in which I could describe what ports to open. | ||
| [2011/11/07 11:28:30] <agwells0714> My nodes and the classes they are to use are given to me by a third party program. The third party program (to my knowledge) cannot provide parameters to its classes. | ||
| [2011/11/07 11:28:30] <agwells0714> Because different nodes will have different requirements, I was wondering if I create a class for each node type, and in that node type have all the classes with parameters defined would it work? | ||
| [2011/11/07 11:28:30] <agwells0714> The idea is class node-a { class { 'security': ports => ['45:tcp | ||
| [2011/11/07 11:28:55] <agwells0714> The idea is class node-a { class { 'security': ports => ['45:tcp','80:tcp'] } } | ||
| [2011/11/07 11:29:23] <jhelwig> cjz: Try running the agent with --trace. It might provide some useful debugging info. | ||
| [2011/11/07 11:30:50] @ joshcooper joined channel #puppet | ||
| [2011/11/07 11:31:31] <walkeran> _plg: It's passed as an argument | ||
| [2011/11/07 11:31:36] <nlew> agwells0714: Ahhh, yes, that should work fine. | ||
| [2011/11/07 11:31:58] @ p3rror joined channel #puppet | ||
| [2011/11/07 11:31:58] <agwells0714> nlew: you do see that node-a is a class right? | ||
| [2011/11/07 11:32:23] <_plg> member:walkeran: i read that, but how? do i do puppet apply "node" | ||
| [2011/11/07 11:32:36] @ djm68 joined channel #puppet | ||
| [2011/11/07 11:32:42] <nlew> agwells0714: Yes. It's perfectly normal to declare classes inside other classes. | ||
| [2011/11/07 11:32:53] @ savid joined channel #puppet | ||
| [2011/11/07 11:32:56] <agwells0714> nlew: just against the style guide right | ||
| [2011/11/07 11:33:25] <agwells0714> nlew: okay thanks | ||
| [2011/11/07 11:33:25] <savid> Has anyone experienced any issues related to facter on ubuntu 11.04? | ||
| [2011/11/07 11:33:35] <walkeran> _plg: Huh? Your ENC script is called with the node name as an argument. When puppet runs on an agent, it will call the script with "/path/to/enc_script <nodename>" | ||
| [2011/11/07 11:33:38] <nlew> agwells0714: I believe the person who said that was referring to *defining* classes inside other classes. | ||
| [2011/11/07 11:33:40] <savid> I'm getting this error: err: Could not run Puppet configuration client: Could not retrieve local facts: execution expired | ||
| [2011/11/07 11:33:41] @ sduchesneau joined channel #puppet | ||
| [2011/11/07 11:33:44] <cjz> jhelwig: :) just traces a lot before it tries to get the file, then fails to get the file | ||
| [2011/11/07 11:33:52] <walkeran> _plg: The master will run that, I should say | ||
| [2011/11/07 11:33:52] <cjz> no traces around what went wrong | ||
| [2011/11/07 11:33:58] @ Quit: davewongillies: Ping timeout: 255 seconds | ||
| [2011/11/07 11:34:18] <jhelwig> cjz: Paste it anyway? | ||
| [2011/11/07 11:34:47] <nlew> jhelwig: I would expect a trace on the master in that case. | ||
| [2011/11/07 11:35:18] <_plg> member:walkeran: ohhh, so lets see if i get it. When the client connects the master the master executes the script with node name? | ||
| [2011/11/07 11:35:18] <walkeran> savid: Someone in here earlier was having the same issue.. they had to remove the ec2 fact, as it was trying to access some 169.x.x.x address and timing out | ||
| [2011/11/07 11:35:31] <walkeran> _plg: Yeah | ||
| [2011/11/07 11:35:48] <_plg> member:walkeran | ||
| [2011/11/07 11:35:54] <_plg> member:walkeran: thanks | ||
| [2011/11/07 11:36:11] @ bretm joined channel #puppet | ||
| [2011/11/07 11:36:25] @ jongrocho joined channel #puppet | ||
| [2011/11/07 11:36:28] <walkeran> _plg: No problem. You might wanna check out http://docs.puppetlabs.com/guides/external_nodes.html | ||
| [2011/11/07 11:37:18] <_plg> member:walkeran: I just started, and I read that and the book, but my base intuition was wrong so... sorry fot the noob question :) | ||
| [2011/11/07 11:37:24] <cjz> http://pastebin.com/xNQXtQYH | ||
| [2011/11/07 11:37:38] <walkeran> _plg: That's fine :) | ||
| [2011/11/07 11:37:49] @ Quit: jongrocho: Remote host closed the connection | ||
| [2011/11/07 11:38:06] <savid> walkeran, how would I go about doing that? | ||
| [2011/11/07 11:39:19] @ Quit: jamesturnbull: Quit: WeeChat 0.3.5 | ||
| [2011/11/07 11:39:33] <walkeran> savid: The fact is probably located somewhere like: /usr/lib/ruby/1.8/facter/ec2.rb ... AFAIK, removing it would do the trick. Depends on what the real problem is, and what you want to do to solve it, too, though. You could stack trace a facter run, too | ||
| [2011/11/07 11:40:16] <jhelwig> cjz: As nlew pointed out, the --trace output from the master would be helpful, too. | ||
| [2011/11/07 11:40:26] @ jamesturnbull joined channel #puppet | ||
| [2011/11/07 11:40:44] @ maxmartin joined channel #puppet | ||
| [2011/11/07 11:41:25] @ Quit: codec: Ping timeout: 240 seconds | ||
| [2011/11/07 11:41:30] @ peridot__ joined channel #puppet | ||
| [2011/11/07 11:41:36] <_plg> member:walkeran: my goal was to find a way to create a more dinamic deploy file. In my case I want to create a system where you say I want node 1,3,5 with module X,Y and Z and it creates the deploy file. Is there some puppet mechanism for this ? | ||
| [2011/11/07 11:42:28] @ codec joined channel #puppet | ||
| [2011/11/07 11:42:54] <walkeran> _plg: I'm not sure I understand quite what you are asking. What do you mean by "deploy file"? | ||
| [2011/11/07 11:43:01] @ Quit: peridot_: Ping timeout: 260 seconds | ||
| [2011/11/07 11:43:54] <joshcooper> cjz: are you running the agent as a service or under a different user account? | ||
| [2011/11/07 11:45:10] <cjz> joshcooper: just as a command line thing, —no-daemonize —debug —verbose --trace | ||
| [2011/11/07 11:45:52] @ Quit: KaiserBeto1: Ping timeout: 248 seconds | ||
| [2011/11/07 11:45:52] <_plg> walkeran: i guess my terminology is not good sry. A node definition file, that would say node 1,3,5 {include X, include Y,...} | ||
| [2011/11/07 11:46:58] @ davewongillies joined channel #puppet | ||
| [2011/11/07 11:48:38] @ Quit: p3rror: Remote host closed the connection | ||
| [2011/11/07 11:49:16] @ Quit: sumsuch: Quit: sumsuch | ||
| [2011/11/07 11:49:21] @ sumsuch joined channel #puppet | ||
| [2011/11/07 11:49:24] <walkeran> _plg: No, I guess there's probably nothing that will do that exactly as you described...but there are packages like puppet dashboard, foreman, etc.. that have web interfaces to modify node definitions, and then also supply an ENC to be used with puppet | ||
| [2011/11/07 11:49:31] <nate_h> _plg, if you use an external nodes lookup you can specify those things on the fly | ||
| [2011/11/07 11:49:46] <nate_h> _plg, or something like hiera where you include classes that are defined in an an external data file. | ||
| [2011/11/07 11:49:50] @ flipwork_ joined channel #puppet | ||
| [2011/11/07 11:50:17] @ Ownage joined channel #puppet | ||
| [2011/11/07 11:50:19] <savid> Hmm, I'm getting "invalid service provider 'upstart'". Doesn't 2.6 support upstart? | ||
| [2011/11/07 11:50:44] @ Quit: newtMcKerr: Quit: Leaving. | ||
| [2011/11/07 11:51:12] <Ownage> if a service's reported name under status is different than it's name I have to specify a pattern to check in ps right | ||
| [2011/11/07 11:51:27] <walkeran> savid: Looking at the docs, I'd say 'no' | ||
| [2011/11/07 11:51:30] @ Quit: flipwork: Ping timeout: 276 seconds | ||
| [2011/11/07 11:51:34] <Ownage> wouldn't it make sense to be able to say what pattern to look in, for status? | ||
| [2011/11/07 11:51:41] <walkeran> savid: http://docs.puppetlabs.com/references/2.6.12/type.html | ||
| [2011/11/07 11:52:17] <Ownage> for example, service rpcidmapd status says rpc.idmapd running. it would be nice to just have a statusname => 'rpc.idmapd', | ||
| [2011/11/07 11:52:44] <walkeran> Ownage: By default, it will check the status by the init-script name... not by process name | ||
| [2011/11/07 11:53:09] <savid> walkeran, that's strange, it worked on my other server, which is the same version... | ||
| [2011/11/07 11:53:16] <Jeff_S> Ownage: and if the init script has a 'status' command, I'd use hasstatus => true | ||
| [2011/11/07 11:53:29] <Ownage> I dont think you're following me | ||
| [2011/11/07 11:53:35] <Ownage> hasstatus true is default also | ||
| [2011/11/07 11:53:37] <Ownage> iirc | ||
| [2011/11/07 11:53:50] <walkeran> Oh... hasstatus isn't default anymore, or something like that | ||
| [2011/11/07 11:53:50] <Jeff_S> clearly I'm not :) | ||
| [2011/11/07 11:53:52] <walkeran> It changed recently | ||
| [2011/11/07 11:54:05] <_plg> member:nate_h: more things to look into... .External nodes lookup = ENC? | ||
| [2011/11/07 11:54:16] <nate_h> yes | ||
| [2011/11/07 11:54:27] <walkeran> I don't know which way it changed, because I've always been explicit about stuff like that... for this reason precisely :) I don't get bitten in the ass by goofy changes in upgrades | ||
| [2011/11/07 11:54:29] <Ownage> the docs say it is default true | ||
| [2011/11/07 11:54:49] <Ownage> but using --debug I see you are right, it is now default off it looks like | ||
| [2011/11/07 11:54:57] <walkeran> savid: the server is the same version, or the client is the same version | ||
| [2011/11/07 11:54:59] <Ownage> which I find to be quite stupid | ||
| [2011/11/07 11:55:01] <walkeran> savid: Big difference | ||
| [2011/11/07 11:55:04] <cjz> jhelwig, joshcooper would it be better if i served these files from the master? | ||
| [2011/11/07 11:55:07] <Ownage> since most services do support hasstatus | ||
| [2011/11/07 11:55:09] <savid> walkeran, sorry, the client | ||
| [2011/11/07 11:55:10] @ Djelibeybi joined channel #puppet | ||
| [2011/11/07 11:55:26] <Ownage> also since the docs are out of date | ||
| [2011/11/07 11:56:01] <walkeran> Ownage: The docs say "This attribute’s default value changed in Puppet 2.7.0." | ||
| [2011/11/07 11:56:30] <walkeran> Ownage: What version are you running? | ||
| [2011/11/07 11:56:42] <savid> walkeran, does support for a service provider need to exist on agent or master or both? | ||
| [2011/11/07 11:56:48] <Ownage> "defaults to true. This attribute’s default value changed in Puppet 2.7.0. " | ||
| [2011/11/07 11:56:55] <_plg> nate_h: sry to ask, but how? you feed the nodes that you want and classes classes to load, and when nodes connect you check if they match and give them the classes? | ||
| [2011/11/07 11:56:59] <Ownage> as in, this is now set to true as of 2.7.0 | ||
| [2011/11/07 11:57:13] <Ownage> it's unclear | ||
| [2011/11/07 11:57:21] <Ownage> either way, that's fine I know what to do now | ||
| [2011/11/07 11:57:28] <walkeran> savid: Just the agent | ||
| [2011/11/07 11:57:46] <agwells0714> Ownage: this confused me too, you also have to state if it has a restart as well | ||
| [2011/11/07 11:57:49] @ Quit: R1ck: Ping timeout: 240 seconds | ||
| [2011/11/07 11:58:31] @ toi joined channel #puppet | ||
| [2011/11/07 11:58:36] @ R1ck joined channel #puppet | ||
| [2011/11/07 11:59:20] <Ownage> annoying | ||
| [2011/11/07 11:59:23] @ imroot joined channel #puppet | ||
| [2011/11/07 11:59:35] <Ownage> at least you can use global param sets | ||
| [2011/11/07 12:00:00] <Ownage> that's what I do with exec, Exec{ path => [.... | ||
| [2011/11/07 12:00:32] <nate_h> _plg the way its done in hiera (how I do it), is you have only one line in your default node { hiera_include("classes") } Then whenever a node comes in and asks the server for its manifests it hits that default node entry. Hiera then looks up the data which is hierarchical merges the list of classes based on the hostname, environment, whatever other custom layers, so I have classes that all machines get in the common layer, then a specific environment | ||
| [2011/11/07 12:00:32] <nate_h> gets additional classes, and finally I assign roles at the host level | ||
| [2011/11/07 12:00:44] <nate_h> _plg, you'd have to read the post about hiera on devco.net | ||
| [2011/11/07 12:01:04] <nate_h> _plg, but you might just want to checkout dashboard | ||
| [2011/11/07 12:01:59] <imroot> Hello, I'm running the eval enterprise version which is licensed for 10 nodes. My log files are telling me I am using 5 of the 10 available nodes. However I only have 2 servers setup with this, can anyone tell me where why is it reporting 5 and not just 2? | ||
| [2011/11/07 12:02:27] @ p3rror joined channel #puppet | ||
| [2011/11/07 12:02:53] @ Quit: mpdude: Remote host closed the connection | ||
| [2011/11/07 12:03:14] @ Quit: Wolfspyre: Quit: Leaving. | ||
| [2011/11/07 12:03:24] <savid> walkeran, this is interesting, this bug seems to suggest the ubuntu version of puppet has had upstart since 0.25.4. https://bugs.launchpad.net/ubuntu/+source/puppet/+bug/551544 | ||
| [2011/11/07 12:03:31] @ jkoppe joined channel #puppet | ||
| [2011/11/07 12:04:11] @ Wolfspyre joined channel #puppet | ||
| [2011/11/07 12:04:40] <walkeran> savid: Hmm.. that's odd, I don't really know what to tell you, I guess :S I was just looking at the docs | ||
| [2011/11/07 12:06:24] <_plg> member:nate_h: I will, but i dont know if it will serve my goal. I have a cluster that will be used in a time shared way, and when people go there and ask 10 nodes I wanted a easy way of creating a repository of stuff they could deploy there. In the end, node 1 maybe needs mysql today, but tomorrow it needs apache or something like that. | ||
| [2011/11/07 12:06:34] <walkeran> savid: But it looks like it might have just been to make the existing init provider working with upstart scripts | ||
| [2011/11/07 12:06:41] @ mpdude joined channel #puppet | ||
| [2011/11/07 12:07:03] <nate_h> _plg, hmm i see, thinking. | ||
| [2011/11/07 12:07:14] <_plg> member:nate_h: even so, is hiera a good way of knowing which modules I have available? | ||
| [2011/11/07 12:07:18] <nate_h> _plg, i assume you are using virtualization right? | ||
| [2011/11/07 12:07:22] <walkeran> _plg: Then you need a custom interface that suits your environment's needs, and writes to some sort of data store... and then your ENC should use that to get its info from | ||
| [2011/11/07 12:07:34] <nate_h> walkeran, agreed | ||
| [2011/11/07 12:07:56] <nate_h> walkeran, something that plugs into your virtual infrastructure, fires up machines, and then writes stuff back to the datastore for the enc to fire off of for the puppetization | ||
| [2011/11/07 12:08:10] @ Quit: tttflexguy: | ||
| [2011/11/07 12:08:42] <walkeran> nate_h: Yupyup.. sounds about right | ||
| [2011/11/07 12:08:53] <walkeran> Would be an interesting project to work on, to say the least :) | ||
| [2011/11/07 12:09:04] <nate_h> walkeran, ya, we kind of need that here too :P | ||
| [2011/11/07 12:09:08] <nate_h> walkeran, for our test labs | ||
| [2011/11/07 12:10:10] @ digr1 left channel #puppet () | ||
| [2011/11/07 12:10:13] <_plg> member:walkeran: ok I see, thanks | ||
| [2011/11/07 12:10:23] <_plg> member:nate_h: thanks also | ||
| [2011/11/07 12:10:40] <nate_h> walkeran, members only club ftw | ||
| [2011/11/07 12:10:42] <nate_h> ;) | ||
| [2011/11/07 12:10:46] <walkeran> :D | ||
| [2011/11/07 12:11:00] @ Quit: evilsushi: Ping timeout: 276 seconds | ||
| [2011/11/07 12:11:26] <nate_h> hey so I saw there are like 15 people coming to the puppet metup in seattle tomorrow, anyone actually online so I can match screennames to real names? | ||
| [2011/11/07 12:13:24] @ Quit: imroot: Quit: Page closed | ||
| [2011/11/07 12:14:53] @ Quit: samkottler: Quit: Leaving. | ||
| [2011/11/07 12:15:39] @ evilsushi joined channel #puppet | ||
| [2011/11/07 12:16:33] @ Quit: p3rror: Remote host closed the connection | ||
| [2011/11/07 12:16:51] @ Quit: deppy_: Remote host closed the connection | ||
| [2011/11/07 12:19:19] <_plg> one more thing, I have a deploy where each nodes receive a conf file with a parameter that changes value in for loop.The loop and the template part I know how to make it in ruby, but when deploying is there a simple way of giving file with parameter 1 to node 1, file with parameter 2 to node 2? (I have a guess that the answer is no) | ||
| [2011/11/07 12:20:28] <bag__> _plg can you just set appropriate variables per ndoe? | ||
| [2011/11/07 12:20:30] <bag__> *node | ||
| [2011/11/07 12:20:37] <peridot__> put the parameter name in the filename maybe? and then use "${paramname}file" | ||
| [2011/11/07 12:21:33] @ Quit: hazmat: Changing host | ||
| [2011/11/07 12:21:33] @ hazmat joined channel #puppet | ||
| [2011/11/07 12:22:51] <_plg> ups, gtg, my college canteen is closing :P. but imagine you want to deploy the same thing on 5 nodes and give to which machine an incrementing id, how do you do it? | ||
| [2011/11/07 12:23:49] <plathrop> _plg: You may want to look at Clusto. Hit me up in #clusto later. | ||
| [2011/11/07 12:24:13] <plathrop> _plg: I think it can fill many of the needs you are talking about. | ||
| [2011/11/07 12:24:57] @ Quit: MattyM: Remote host closed the connection | ||
| [2011/11/07 12:28:08] <bag__> anyone run dashboard with multiple environments? | ||
| [2011/11/07 12:29:46] @ Quit: mitchellh: Quit: Computer has gone to sleep | ||
| [2011/11/07 12:29:48] @ Quit: Wolfspyre: Remote host closed the connection | ||
| [2011/11/07 12:30:13] @ Quit: pugnacity: Ping timeout: 240 seconds | ||
| [2011/11/07 12:31:07] @ samkottler joined channel #puppet | ||
| [2011/11/07 12:31:55] @ pugnacity joined channel #puppet | ||
| [2011/11/07 12:33:41] @ duerF joined channel #puppet | ||
| [2011/11/07 12:35:19] <krish> anyone installed zabbix-server-mysql via puppet? | ||
| [2011/11/07 12:35:26] @ Quit: mawser: Ping timeout: 258 seconds | ||
| [2011/11/07 12:35:29] <krish> it calls configure script via apt-get | ||
| [2011/11/07 12:35:35] <krish> how can i skip that? | ||
| [2011/11/07 12:36:32] @ lindenle joined channel #puppet | ||
| [2011/11/07 12:36:44] <lindenle> Hey guys is there anyway to get the gateway from facter? | ||
| [2011/11/07 12:37:18] @ Wolfspyre joined channel #puppet | ||
| [2011/11/07 12:38:01] @ Quit: timyim: Ping timeout: 265 seconds | ||
| [2011/11/07 12:39:29] <dan__t> Dynamic lookup of $is_openldap_server at /etc/puppet/modules/prod/openldap/manifests/client.pp:36 is deprecated. Support will be removed in Puppet 2.8. Use a fully-qualified variable name (e.g., $classname::variable) or parameterized classes. | ||
| [2011/11/07 12:39:33] <dan__t> What's the better way if doing that? | ||
| [2011/11/07 12:40:30] <gniks> lindenle: im not sure if factor has a gateway variable already, but you can build your own and use "route -n | grep ^0.0.0.0 | cut -d ' ' -f10" as the command to find it | ||
| [2011/11/07 12:40:52] <lindenle> Yeah. Where do I put custom fact commands on the master? | ||
| [2011/11/07 12:41:06] @ Mishell joined channel #puppet | ||
| [2011/11/07 12:41:09] @ lwhalen joined channel #puppet | ||
| [2011/11/07 12:45:30] <lindenle> <gniks> ^^ where do I put custom facts? | ||
| [2011/11/07 12:45:35] @ rocket_ joined channel #puppet | ||
| [2011/11/07 12:47:19] @ Quit: gore: Quit: leaving | ||
| [2011/11/07 12:47:45] <ghanima> the_ramink: Thank you for sending that youtube video for the conference showing how multiple groups maintain a shared puppet ecosystem | ||
| [2011/11/07 12:48:06] @ Quit: brunix: Ping timeout: 240 seconds | ||
| [2011/11/07 12:48:20] @ brunix joined channel #puppet | ||
| [2011/11/07 12:48:22] <ghanima> the_ramink: It gives me an ideas, but not sure if it will work, but it is always worth a try | ||
| [2011/11/07 12:48:22] <lindenle> Or is there a way to test that the fact is being picked up on the master? | ||
| [2011/11/07 12:49:54] @ maes_ joined channel #puppet | ||
| [2011/11/07 12:50:28] @ jongrocho joined channel #puppet | ||
| [2011/11/07 12:53:17] <dan__t> Sigh. People have actually gotten passenger working before? | ||
| [2011/11/07 12:53:35] <peridot__> I got it working on Friday | ||
| [2011/11/07 12:53:39] @ peridot__ is now known as peridot | ||
| [2011/11/07 12:53:55] <dan__t> hm | ||
| [2011/11/07 12:54:00] <asteve> passenger is easy? | ||
| [2011/11/07 12:54:00] <dan__t> Which OS/rel? | ||
| [2011/11/07 12:54:17] <peridot> yeah, 5.6 | ||
| [2011/11/07 12:54:30] <peridot> I wouldn't say it was easy to figure out, but it would be easy to do again. | ||
| [2011/11/07 12:55:10] <peridot> What problem are you having? | ||
| [2011/11/07 12:55:26] <dan__t> Going through Apache. So, does that DocumentRoot point to where puppet.ru lives? | ||
| [2011/11/07 12:55:34] <dan__t> Just piecing it together. | ||
| [2011/11/07 12:56:07] @ metcalfc joined channel #puppet | ||
| [2011/11/07 12:56:17] <dan__t> The Puppet RPM created /usr/share/puppet/ext/rack/ for me. I think that's where my Rack application via Apache, DocumentRoot needs to point. | ||
| [2011/11/07 12:56:40] <peridot> It should point to where puppet.ru lives | ||
| [2011/11/07 12:56:45] @ fredden joined channel #puppet | ||
| [2011/11/07 12:56:53] <dan__t> ok. | ||
| [2011/11/07 12:57:22] <dan__t> How does puppetmasterd need to be set up to listen for those connections? | ||
| [2011/11/07 12:57:35] @ mawser joined channel #puppet | ||
| [2011/11/07 12:57:38] <peridot> Did you find the wiki page? | ||
| [2011/11/07 12:57:50] <dan__t> I did find the wiki page. | ||
| [2011/11/07 12:58:35] <dan__t> No. I was reading the Docs page. | ||
| [2011/11/07 12:58:50] <peridot> The only thing I would add to that is that "puppetmaster.conf" --> /usr/share/puppet/ext/rack/files/apache2.conf | ||
| [2011/11/07 12:58:58] <peridot> http://projects.puppetlabs.com/projects/1/wiki/Using_Passenger | ||
| [2011/11/07 12:59:40] <dan__t> So, that's done | ||
| [2011/11/07 12:59:51] <dan__t> Oh. This way, *is* there a puppetmasterd? | ||
| [2011/11/07 13:00:04] <dan__t> Or does being a rack application imply that it lives in mod_passenger/apache? | ||
| [2011/11/07 13:00:08] <dan__t> (new concept to me, sorry_ | ||
| [2011/11/07 13:00:09] <dan__t> ) | ||
| [2011/11/07 13:00:54] <peridot> Right, you turn off puppetmasterd and manage it through apache | ||
| [2011/11/07 13:00:58] @ tilgovi joined channel #puppet | ||
| [2011/11/07 13:00:59] @ Quit: tilgovi: Changing host | ||
| [2011/11/07 13:00:59] @ tilgovi joined channel #puppet | ||
| [2011/11/07 13:01:24] @ Spads_ joined channel #puppet | ||
| [2011/11/07 13:02:31] @ sduchesneau_ joined channel #puppet | ||
| [2011/11/07 13:03:29] <nate_h> Volcane, i can't remember if I asked you, but is there a way to specify multiple layers in the puppet backend of hiera? | ||
| [2011/11/07 13:03:37] @ Quit: soh: Quit: Computer has gone to sleep. | ||
| [2011/11/07 13:03:40] <dan__t> hm. | ||
| [2011/11/07 13:04:09] @ Quit: sduchesneau: Quit: Leaving | ||
| [2011/11/07 13:05:13] @ Quit: Spads: Ping timeout: 260 seconds | ||
| [2011/11/07 13:05:14] <peridot> dan__t: http://pastie.org/2827399 those are the notes I took. | ||
| [2011/11/07 13:06:50] @ soh joined channel #puppet | ||
| [2011/11/07 13:07:06] <jhelwig> cjz: Sorry for the delay. Needed to grab some lunch. Serving the files from the master is fine as long as you don't care about the line-endings. There's a bug around transferring files where the platforms' line-endings are different. #9983 | ||
| [2011/11/07 13:07:06] <gepetto> jhelwig: cjz: #9983 is http://projects.puppetlabs.com/issues/show/9983 "Puppet - Bug #9983: Files should be opened in binary mode. It has a status of In Topic Branch Pending Review and is assigned to Josh Cooper" | ||
| [2011/11/07 13:08:59] <savid> Is there a way to ensure that all files within a directory are group-writable, without potentially modifying the executable bit? | ||
| [2011/11/07 13:09:11] @ Quit: mawser: Quit: mawser | ||
| [2011/11/07 13:09:14] @ Quit: Spads_: Quit: Reconnecting | ||
| [2011/11/07 13:09:17] @ Quit: benjiedmund: Read error: Connection reset by peer | ||
| [2011/11/07 13:09:23] @ benjiedmund joined channel #puppet | ||
| [2011/11/07 13:09:27] @ Spads joined channel #puppet | ||
| [2011/11/07 13:09:33] <dan__t> hm, getting closer | ||
| [2011/11/07 13:09:35] <dan__t> thank you, peridot. | ||
| [2011/11/07 13:09:58] @ Quit: themadcanudist: Ping timeout: 252 seconds | ||
| [2011/11/07 13:10:40] @ Quit: toi: Ping timeout: 248 seconds | ||
| [2011/11/07 13:13:13] @ Quit: Ownage: Quit: Lost terminal | ||
| [2011/11/07 13:15:36] @ ckauhaus joined channel #puppet | ||
| [2011/11/07 13:16:39] <walkeran> savid: Not specifically with puppet file resources. But you could create an exec that did that | ||
| [2011/11/07 13:17:08] @ Quit: _plg: Ping timeout: 258 seconds | ||
| [2011/11/07 13:20:04] @ Quit: ckauhaus: Ping timeout: 244 seconds | ||
| [2011/11/07 13:20:11] <gepetto> ::redmine:: Wiki edit: Amazon_Web_Service_Patterns (#3) @ http://projects.puppetlabs.com/projects/puppet/wiki/Amazon_Web_Service_Patterns?version=3 (by James Loope) | ||
| [2011/11/07 13:20:57] @ ckauhaus joined channel #puppet | ||
| [2011/11/07 13:21:28] <rocket_> is there a way to debug a custom puppet module/function I have written? | ||
| [2011/11/07 13:21:43] <rocket_> I cannot seem to tell why this piece of my manifest is not working | ||
| [2011/11/07 13:21:58] @ Quit: kelseyhightower: Ping timeout: 255 seconds | ||
| [2011/11/07 13:22:02] @ jodok joined channel #puppet | ||
| [2011/11/07 13:22:03] @ Quit: jodok: Changing host | ||
| [2011/11/07 13:22:03] @ jodok joined channel #puppet | ||
| [2011/11/07 13:22:21] <rodjek> rocket_: in what way is it failing? | ||
| [2011/11/07 13:22:29] <rodjek> an error or it's not doing what you expect? | ||
| [2011/11/07 13:22:44] <gepetto> ::redmine:: Wiki edit: Amazon_Web_Service_Patterns (#4) @ http://projects.puppetlabs.com/projects/puppet/wiki/Amazon_Web_Service_Patterns?version=4 (by James Loope) | ||
| [2011/11/07 13:22:46] <rocket_> not doing what I expect | ||
| [2011/11/07 13:23:06] <rocket_> I have a function that chooses between two templates if they are available | ||
| [2011/11/07 13:23:22] @ Quit: soh: Quit: Computer has gone to sleep. | ||
| [2011/11/07 13:23:27] <rodjek> puppet agent --test --debug to look at exactly what the puppet resources are doing | ||
| [2011/11/07 13:24:00] <rocket_> its not building the catalog | ||
| [2011/11/07 13:24:32] <rodjek> right, well that falls in the category of an error rather than a misbehaving manifest | ||
| [2011/11/07 13:24:36] @ kelseyhightower joined channel #puppet | ||
| [2011/11/07 13:24:50] @ Elwell_ is now known as Elwell | ||
| [2011/11/07 13:25:05] <walkeran> If you just want to spit out some debugging info, use Puppet.notice("here's my debugging output"), or something like that | ||
| [2011/11/07 13:25:11] <rodjek> can you pastebin the error & the manifests? | ||
| [2011/11/07 13:25:26] <walkeran> But yeah, sounds like you have an error instead of misbehaving :) | ||
| [2011/11/07 13:25:41] <rodjek> the puppetmaster logs often have good info on compilation failures | ||
| [2011/11/07 13:27:17] @ justdave_ joined channel #puppet | ||
| [2011/11/07 13:27:38] @ Quit: justdave: Read error: Connection reset by peer | ||
| [2011/11/07 13:28:31] <lindenle> Hi guys my custom facts are showing up in the yaml on the puppet master but not in the client? | ||
| [2011/11/07 13:28:38] <lindenle> What is wrong? | ||
| [2011/11/07 13:28:59] @ Quit: Chesther: Quit: Leaving. | ||
| [2011/11/07 13:29:15] <rodjek> lindenle: do they show up if you run 'facter -p' on the client? | ||
| [2011/11/07 13:29:23] <lindenle> oh man, was a typo in the template nm | ||
| [2011/11/07 13:29:28] @ amoe joined channel #puppet | ||
| [2011/11/07 13:31:19] @ soh joined channel #puppet | ||
| [2011/11/07 13:32:09] <rocket_> rodjek: http://pastebin.com/HbGX8KPS | ||
| [2011/11/07 13:32:11] @ joe-mac left channel #puppet () | ||
| [2011/11/07 13:32:17] @ joe-mac joined channel #puppet | ||
| [2011/11/07 13:32:54] <rodjek> err: Is a directory - /etc/puppet/modules/cobbler/templates/zone_templates/ at /etc/puppet/modules/cobbler/manifests/defines/zone_template.pp:29 on node vmwb.edgar.loc | ||
| [2011/11/07 13:33:22] <rocket_> actually I see my issue I think .. | ||
| [2011/11/07 13:33:31] <rocket_> its not populating a value first | ||
| [2011/11/07 13:33:46] <rocket_> title isnt set properly in this case | ||
| [2011/11/07 13:33:56] <rodjek> use $name instead of title | ||
| [2011/11/07 13:35:06] <rodjek> also, the select on lines 64-66 is pointless | ||
| [2011/11/07 13:35:08] @ Quit: ichilton: Ping timeout: 256 seconds | ||
| [2011/11/07 13:35:38] <rocket_> rodjek: its there for future enhancement | ||
| [2011/11/07 13:35:56] <rocket_> eg if I use this on a different os down the road | ||
| [2011/11/07 13:36:09] <rocket_> for this particular default use I would agree | ||
| [2011/11/07 13:36:55] @ Quit: cliff-hm: Read error: Operation timed out | ||
| [2011/11/07 13:37:07] @ Quit: ckauhaus: Ping timeout: 244 seconds | ||
| [2011/11/07 13:39:58] <rocket_> rodjek: I figured it out I was importing cobbler before my definitions were taking effect | ||
| [2011/11/07 13:40:11] <cjz> thank you jhelwig any idea when that might be fixed? | ||
| [2011/11/07 13:40:13] <rocket_> since I am not using parameterized classes in this case | ||
| [2011/11/07 13:40:35] <cjz> indeed i do run into that problem if i do the puppet filestore | ||
| [2011/11/07 13:41:11] <jhelwig> cjz: Once we've had time to review & merge the code to fix it, and it gets released. So...soonish? | ||
| [2011/11/07 13:41:27] @ ssgelm joined channel #puppet | ||
| [2011/11/07 13:41:32] <cjz> hehe ok | ||
| [2011/11/07 13:42:17] <ssgelm> I'm having a problem with puppet 2.7.5 where puppetd only works when started with "--onetime" on some machines (all running centos 5.7). anyone have any idea why? | ||
| [2011/11/07 13:43:11] <rodjek> ssgelm: error messages would help | ||
| [2011/11/07 13:43:31] @ Quit: samkottler: Quit: Leaving. | ||
| [2011/11/07 13:43:58] @ ckauhaus joined channel #puppet | ||
| [2011/11/07 13:44:06] @ p3rror joined channel #puppet | ||
| [2011/11/07 13:44:11] @ Quit: rcrowley: Quit: Computer has gone to sleep. | ||
| [2011/11/07 13:44:53] <ssgelm> I'd be happy to provide, but I'm not getting any :) | ||
| [2011/11/07 13:45:01] <ssgelm> it just hangs indefinitely | ||
| [2011/11/07 13:45:03] @ newtMcKerr joined channel #puppet | ||
| [2011/11/07 13:45:05] <ssgelm> no error on client or server | ||
| [2011/11/07 13:45:27] <ssgelm> last debug message (with --debug) is: | ||
| [2011/11/07 13:45:28] <ssgelm> "debug: Loaded state in 0.00 seconds" | ||
| [2011/11/07 13:45:32] @ Quit: uphillian: Quit: Leaving. | ||
| [2011/11/07 13:45:33] <rodjek> strace it and see what it's hanging on? | ||
| [2011/11/07 13:46:34] <ssgelm> getting the following repeatedly: | ||
| [2011/11/07 13:46:34] <ssgelm> "clock_gettime(CLOCK_MONOTONIC, {20982, 979764702}) = 0 | ||
| [2011/11/07 13:46:34] <ssgelm> select(9, [7 8], [], [], {0, 0}) = 0 (Timeout)" | ||
| [2011/11/07 13:47:08] <clustermagnet> hey guys… trying to get my head wrapped around templateing… my structure looke like /etc/puppet/manifest/blah and under blah I have classes and nodes | ||
| [2011/11/07 13:47:27] <clustermagnet> per documentation… Best practices indicates including the template in the templates directory inside your http://docs.puppetlabs.com/guides/modules.html. | ||
| [2011/11/07 13:47:30] @ Holocaine joined channel #puppet | ||
| [2011/11/07 13:47:58] <clustermagnet> i write all my classes under /etc/puppet/manifest/classes/linux/blah so… should i store my tempaltes theere ? :) | ||
| [2011/11/07 13:48:02] <clustermagnet> what would you guys recommend ;) | ||
| [2011/11/07 13:48:17] <clustermagnet> and also, i should probably change the default variable where template directory lives... | ||
| [2011/11/07 13:48:19] <clustermagnet> just thoughts :) | ||
| [2011/11/07 13:48:26] <whack> clustermagnet: that's a pretty old style | ||
| [2011/11/07 13:48:30] <rodjek> clustermagnet: use the modules layout that you just linked to rather than everything under manifests/ | ||
| [2011/11/07 13:48:47] <whack> clustermagnet: you should use modules now, f/etc/puppet/modules/<modulename>/{manifests,templates,files,etc}/ | ||
| [2011/11/07 13:48:55] <clustermagnet> hot | ||
| [2011/11/07 13:49:11] <clustermagnet> and if /etc/puppet/modules directory exists, puppet reads in the directories automatically? | ||
| [2011/11/07 13:49:54] <clustermagnet> so if i have a ntp class, that sucker shoudl now go to /etc/puppet/modules/ntp/ | ||
| [2011/11/07 13:50:07] <rodjek> yep | ||
| [2011/11/07 13:50:08] <clustermagnet> and the template, .pp. should live under the /etc/puppet/modules/ntp umbrella | ||
| [2011/11/07 13:50:30] <rodjek> yep modules/ntp/templates/<template_file> | ||
| [2011/11/07 13:50:40] <rodjek> modules/ntp/manifests/<class_name>.pp | ||
| [2011/11/07 13:50:42] <rodjek> etc | ||
| [2011/11/07 13:50:49] <clustermagnet> rodjek: whats the syntax in puppet.conf to specify themodules directory? | ||
| [2011/11/07 13:50:52] <rodjek> modules/ntp/files/ | ||
| [2011/11/07 13:51:31] <rodjek> modulepath = /path/to/your/modules | ||
| [2011/11/07 13:51:35] @ samkottler joined channel #puppet | ||
| [2011/11/07 13:51:38] <clustermagnet> man puppet.conf :) i get it | ||
| [2011/11/07 13:51:39] <rodjek> under [master] | ||
| [2011/11/07 13:51:39] <clustermagnet> thanks! | ||
| [2011/11/07 13:51:53] <savid> Hi, I have the follwing which declares a service and an init file, and the service depends on the init file: http://pastie.org/2827621 . However, I get this error message "Execution of '/sbin/status sites/farstar-hq' returned 1: status: Unknown job: sites/farstar-hq". Why would it try to check status of the service before the init script has even been created? | ||
| [2011/11/07 13:51:56] <clustermagnet> so… uhm… i no longer need to do includes, these guys should get picked up... | ||
| [2011/11/07 13:51:57] <clustermagnet> i'll test | ||
| [2011/11/07 13:52:02] <clustermagnet> thanks rodjek ! | ||
| [2011/11/07 13:52:08] <rodjek> no worries | ||
| [2011/11/07 13:52:54] @ Quit: ldlework: Ping timeout: 240 seconds | ||
| [2011/11/07 13:53:13] <ssgelm> rodjek: any idea from the strace? | ||
| [2011/11/07 13:53:40] @ skm joined channel #puppet | ||
| [2011/11/07 13:53:55] <rodjek> nope sorry, pastebin the full strace and i'll take a look in a bit | ||
| [2011/11/07 13:54:01] @ Quit: negronjl: Ping timeout: 258 seconds | ||
| [2011/11/07 13:54:13] <ssgelm> I think it's a kernel issue: http://projects.puppetlabs.com/issues/10418 | ||
| [2011/11/07 13:54:23] <rocket_> anyone have any examples on conditionally notifying a service based on the value of a variable? | ||
| [2011/11/07 13:54:27] <ssgelm> I'll let you know if reverting the kernel version doesn't fix it | ||
| [2011/11/07 13:54:52] <clustermagnet> rodjek: i would also have to change the templates variable? | ||
| [2011/11/07 13:55:00] <clustermagnet> ie, how do i include a ntp template? | ||
| [2011/11/07 13:55:43] <rodjek> template('ntp/<template_file>') | ||
| [2011/11/07 13:56:51] <dan__t> hrm. | ||
| [2011/11/07 13:56:54] <clustermagnet> k, let me see :) | ||
| [2011/11/07 13:57:20] @ blahdeblah joined channel #puppet | ||
| [2011/11/07 13:58:52] <dan__t> peridot, looks like I got it working | ||
| [2011/11/07 13:59:04] <dan__t> Curious, though, passenger-status says: ERROR: Phusion Passenger doesn't seem to be running. | ||
| [2011/11/07 13:59:05] <peridot> cool | ||
| [2011/11/07 13:59:25] <dan__t> passenger-memory-stats reports, though... | ||
| [2011/11/07 13:59:28] <peridot> have you tested from the client in noop mode? | ||
| [2011/11/07 13:59:46] <dan__t> from a client yes, didn't specify noop | ||
| [2011/11/07 14:00:04] @ _plg joined channel #puppet | ||
| [2011/11/07 14:00:05] <peridot> well, that's just what I do when testing :P | ||
| [2011/11/07 14:00:19] <dan__t> kinda new to passenger, didn't know if it *did* anything heh | ||
| [2011/11/07 14:00:56] <peridot> noop means that your configuration isn't applied, just a dryrun | ||
| [2011/11/07 14:01:05] <dan__t> I know what it is :) | ||
| [2011/11/07 14:01:12] <savid> I have a service declared which depends on the existence of an init script. Unfortunately, puppet tries to check the "status" of the service before the init script is created. How do I make it so that the init script is created first? I have tried various combinations of require/before without any luck. | ||
| [2011/11/07 14:01:13] <dan__t> Didn't know if it had any effect in the Passenger world, for whatever reason | ||
| [2011/11/07 14:01:20] <peridot> Oh, not really, no | ||
| [2011/11/07 14:01:34] <dan__t> just to throw something in passenger and make it generate some stats | ||
| [2011/11/07 14:01:38] <dan__t> Well, I see no stats. | ||
| [2011/11/07 14:02:30] <ssgelm> rodjek: yep, as recommended in the bug report, rolling back my kernel version fixes it. | ||
| [2011/11/07 14:02:55] <dan__t> well. it works. that's good i guess. | ||
| [2011/11/07 14:04:55] <rodjek> ssgelm: cool | ||
| [2011/11/07 14:05:54] <dan__t> When I was using Mongrel, Puppet logged to messages. Where does that log go when running with Passenger? | ||
| [2011/11/07 14:06:05] <dan__t> A server side error/debug log for Puppet. | ||
| [2011/11/07 14:06:57] <peridot> probably wherever your apache logs to | ||
| [2011/11/07 14:06:58] @ ldlework joined channel #puppet | ||
| [2011/11/07 14:07:35] <dan__t> I see access logs. | ||
| [2011/11/07 14:07:38] <dan__t> Not puppet debug logs | ||
| [2011/11/07 14:07:38] <whack> dan__t: if you're using syslog logging in puppet, it should still go to the same place | ||
| [2011/11/07 14:07:43] @ KaiserBeto1 joined channel #puppet | ||
| [2011/11/07 14:08:27] <dan__t> hm ok. | ||
| [2011/11/07 14:08:38] <dan__t> I was looking at the wrong thing - you're right, sorry. | ||
| [2011/11/07 14:09:02] @ paxos joined channel #puppet | ||
| [2011/11/07 14:09:11] @ Quit: sdog: Quit: Leaving. | ||
| [2011/11/07 14:09:13] <clustermagnet> rodjek: uhm… i broke something :) | ||
| [2011/11/07 14:09:22] <clustermagnet> im getting the 'Could not find class ntp for blah" in logs now | ||
| [2011/11/07 14:09:28] @ dgillies joined channel #puppet | ||
| [2011/11/07 14:09:37] <clustermagnet> i've set the modulepath = /etc/puppet/modules/ in puppet.conf under master | ||
| [2011/11/07 14:09:54] @ Quit: _nono_: Ping timeout: 260 seconds | ||
| [2011/11/07 14:09:59] <peridot> Can you define a different nodes.pp file for a different environment? | ||
| [2011/11/07 14:10:02] <clustermagnet> in that directory i have the ntp.pp, which says include | ||
| [2011/11/07 14:10:53] <rocket_> how do I have one class depend on another again? | ||
| [2011/11/07 14:11:04] <clustermagnet> rocket_: include :) | ||
| [2011/11/07 14:11:07] <dan__t> rocket_, require => Class["classname'] | ||
| [2011/11/07 14:11:11] @ Quit: benjiedmund: Remote host closed the connection | ||
| [2011/11/07 14:11:14] <dan__t> include won't implicitly require | ||
| [2011/11/07 14:11:24] <dan__t> You'll need to include before you require it, though. | ||
| [2011/11/07 14:11:48] <rocket_> dan__t: can I just use require in the bare class definition? | ||
| [2011/11/07 14:12:01] @ benjiedmund joined channel #puppet | ||
| [2011/11/07 14:12:05] <dan__t> you'd have to include the required class | ||
| [2011/11/07 14:12:10] <dan__t> noting that include does not require, though | ||
| [2011/11/07 14:12:56] @ tnguyen joined channel #puppet | ||
| [2011/11/07 14:13:05] @ tnguyen_ joined channel #puppet | ||
| [2011/11/07 14:13:08] <clustermagnet> :( this sucks, i dont understand this | ||
| [2011/11/07 14:13:12] @ Quit: tnguyen_: Remote host closed the connection | ||
| [2011/11/07 14:13:31] @ Quit: Guest72597: Quit: leaving | ||
| [2011/11/07 14:13:31] <clustermagnet> do i need to have a top-level modules.pp file that includes everything under modules? | ||
| [2011/11/07 14:13:36] @ themadcanudist joined channel #puppet | ||
| [2011/11/07 14:14:14] @ ricky joined channel #puppet | ||
| [2011/11/07 14:14:26] <clustermagnet> so wtf is the point of moving it out of manifest | ||
| [2011/11/07 14:14:34] <dan__t> http://docs.puppetlabs.com/guides/modules.html - did you read this? | ||
| [2011/11/07 14:15:09] <dan__t> How about the "Module Autoloading" part. | ||
| [2011/11/07 14:15:25] @ Quit: Xenith: Ping timeout: 240 seconds | ||
| [2011/11/07 14:16:17] @ Xenith joined channel #puppet | ||
| [2011/11/07 14:16:48] @ Quit: ja-s: Ping timeout: 248 seconds | ||
| [2011/11/07 14:17:02] <clustermagnet> dan__t: yep | ||
| [2011/11/07 14:17:28] <clustermagnet> hmmmm… maybe i found it | ||
| [2011/11/07 14:17:32] <clustermagnet> should it be init.pp | ||
| [2011/11/07 14:17:33] <clustermagnet> :) | ||
| [2011/11/07 14:18:35] @ Quit: marczak: Read error: Operation timed out | ||
| [2011/11/07 14:18:57] @ Quit: bretm: Quit: Leaving | ||
| [2011/11/07 14:19:45] @ grendzy joined channel #puppet | ||
| [2011/11/07 14:20:16] @ negronjl joined channel #puppet | ||
| [2011/11/07 14:21:38] @ Quit: p3rror: Remote host closed the connection | ||
| [2011/11/07 14:21:57] @ Quit: labrown: Quit: Leaving | ||
| [2011/11/07 14:22:03] @ d3c joined channel #puppet | ||
| [2011/11/07 14:22:48] @ Quit: Elwell: Ping timeout: 615 seconds | ||
| [2011/11/07 14:22:51] <d3c> I'm managing a dns master (bind/named). its zone files will change via DDNS. any way to push those changes back to puppetmaster so they don't get overwritten every time puppet runs? | ||
| [2011/11/07 14:23:33] @ Quit: negronjl: Client Quit | ||
| [2011/11/07 14:24:03] @ negronjl joined channel #puppet | ||
| [2011/11/07 14:24:03] <asteve> d3c: use a git repo; have the changes get pushed to the repo which gets distributed to the puppetmaster | ||
| [2011/11/07 14:24:49] <lindenle> Does require set an order for execution? | ||
| [2011/11/07 14:25:02] <lindenle> i.e. is the required class executed first? | ||
| [2011/11/07 14:25:04] <eric0> its a big race condition in the making; you cant reasonably have files managed via template/file source *and* updated locally. recipe for pain | ||
| [2011/11/07 14:25:22] @ Quit: mcarpent: Quit: Thanks for the fish. | ||
| [2011/11/07 14:26:30] <bob2> I'm dubious of transient state in puppet templates | ||
| [2011/11/07 14:26:57] @ Quit: gniks: Quit: Leaving. | ||
| [2011/11/07 14:27:32] <plathrop> lindenle: no. dependencies are never implicit - you'll have to specify those. | ||
| [2011/11/07 14:28:08] @ Quit: samkottler: Quit: Leaving. | ||
| [2011/11/07 14:29:23] <lindenle> <plathrop>: so how do I do that in a class where I require another class? with a class chain? | ||
| [2011/11/07 14:29:28] <cjz> jhelwig: ok barring the puppet filestore, i am now trying to copy them from a staging directory on the windows server, c:/temp | ||
| [2011/11/07 14:29:39] <cjz> that works but it doesnt copy the entire file | ||
| [2011/11/07 14:30:01] <plathrop> lindenle: You can use the 'require' metaparam, or the relationship syntax | ||
| [2011/11/07 14:30:17] <cjz> the original file size is 1624KB | ||
| [2011/11/07 14:30:20] <cjz> the copied file is | ||
| [2011/11/07 14:30:20] @ Quit: ckauhaus: Ping timeout: 244 seconds | ||
| [2011/11/07 14:30:23] <lindenle> but I want the whole class to execute before this one | ||
| [2011/11/07 14:30:23] <plathrop> lindenle: class { 'foo': require => Class['bar'] } for example | ||
| [2011/11/07 14:30:32] <cjz> 3KB | ||
| [2011/11/07 14:30:35] <lindenle> ah | ||
| [2011/11/07 14:30:36] <jhelwig> cjz: How are you copying the files around? | ||
| [2011/11/07 14:30:47] <cjz> jhelwig: just a file resource | ||
| [2011/11/07 14:30:51] <cjz> or w/e it is | ||
| [2011/11/07 14:30:57] <plathrop> lindenle: You *may* want to use stages, if it is that important. | ||
| [2011/11/07 14:31:10] <jhelwig> cjz: Got a concrete example? | ||
| [2011/11/07 14:31:11] <lindenle> plathrop: can I do Class['foo'] -> Class['bar'] in bar.pp? | ||
| [2011/11/07 14:31:29] <hacim> how can I turn off logging to syslog? | ||
| [2011/11/07 14:31:36] <lindenle> plathrop: just not grocking what you mean at the moment | ||
| [2011/11/07 14:31:59] <plathrop> lindenle: http://docs.puppetlabs.com/learning/ordering.html | ||
| [2011/11/07 14:32:12] @ mosen joined channel #puppet | ||
| [2011/11/07 14:32:33] @ chadskidmore joined channel #puppet | ||
| [2011/11/07 14:32:38] <cjz> jhelwig: http://pastebin.com/bUPqAhdM | ||
| [2011/11/07 14:32:41] <cjz> thats all im doing | ||
| [2011/11/07 14:32:43] <lindenle> <plathrop>: I get that but there is no class example there... | ||
| [2011/11/07 14:32:50] <jhelwig> hacim: --logdest | ||
| [2011/11/07 14:32:54] <plathrop> lindenle: A class is a first-class resource. | ||
| [2011/11/07 14:33:12] <plathrop> lindenle: There's nothing particularly special about them compared to other resources. | ||
| [2011/11/07 14:33:20] @ ckauhaus joined channel #puppet | ||
| [2011/11/07 14:33:21] @ Quit: d3c: Ping timeout: 276 seconds | ||
| [2011/11/07 14:33:35] <lindenle> <plathrop>: so if I have class "foo::bar" { ...} I can put a require in it? | ||
| [2011/11/07 14:33:46] <lindenle> i.e. a module? | ||
| [2011/11/07 14:33:52] <hacim> jhelwig: hm, i dont see that config option on https://docs.puppetlabs.com/references/latest/configuration.html or in puppet agent --genconfig | ||
| [2011/11/07 14:33:56] @ Quit: blentz: Ping timeout: 260 seconds | ||
| [2011/11/07 14:34:46] <plathrop> lindenle: No, but when you actually *use* that class, you can. You're pointing at the class 'definition' step, not the actual use of that class, which happens in a class resource or via an include. If you include, you can't have a require. But a class statement lets you. | ||
| [2011/11/07 14:34:58] @ rmckee joined channel #puppet | ||
| [2011/11/07 14:35:10] <lindenle> ah ok. | ||
| [2011/11/07 14:35:13] <lindenle> I get it now | ||
| [2011/11/07 14:35:14] <torrancew> hacim: it may not be listed there, but it works for us | ||
| [2011/11/07 14:35:17] <jhelwig> hacim: That's because I'm apparently wrong. Thought that was it, but I never change it from syslog. | ||
| [2011/11/07 14:35:37] <plathrop> lindenle: If you are trying to get a whole class to run before a whole *different* class, run stages might be a better fit: http://docs.puppetlabs.com/references/stable/type.html#stage | ||
| [2011/11/07 14:35:41] <lindenle> plathrop: so where is it a better practice to put it (this class always requires the other class first) | ||
| [2011/11/07 14:35:47] <jhelwig> Nope, actually that is right. It's just not in the config file apparently. | ||
| [2011/11/07 14:36:05] <torrancew> hacim: puppet invokation from our crontab: /usr/sbin/puppetd --onetime --no-daemonize --logdest syslog | ||
| [2011/11/07 14:36:10] @ Quit: plathrop: Changing host | ||
| [2011/11/07 14:36:10] @ plathrop joined channel #puppet | ||
| [2011/11/07 14:36:11] * hacim files bug about --logdest | ||
| [2011/11/07 14:36:14] <torrancew> IIRC console is another valid option | ||
| [2011/11/07 14:36:26] <hacim> torrancew: so if I want it to not log at all, because I'm pushing that into foreman? | ||
| [2011/11/07 14:36:32] <jhelwig> hacim: 'puppet agent --help' will list it. | ||
| [2011/11/07 14:36:37] @ Quit: Jenza: Ping timeout: 240 seconds | ||
| [2011/11/07 14:36:50] @ Quit: marrusl: Read error: Connection reset by peer | ||
| [2011/11/07 14:36:58] <jhelwig> hacim: Then you need to log to /dev/null, or the console, and throw it out. | ||
| [2011/11/07 14:37:04] <hacim> ah, yeah, its not a config option, just a flag | ||
| [2011/11/07 14:37:37] @ Jenza joined channel #puppet | ||
| [2011/11/07 14:37:41] <plathrop> lindenle: Yeah, that question pretty much nails the fact you want to use a stage. Set up a stage that runs before main, and put the required class into that stage. | ||
| [2011/11/07 14:38:47] @ marrusl joined channel #puppet | ||
| [2011/11/07 14:39:22] @ Quit: lborda: Quit: Ex-Chat | ||
| [2011/11/07 14:40:37] @ Elwell joined channel #puppet | ||
| [2011/11/07 14:42:06] @ Quit: negronjl: Ping timeout: 240 seconds | ||
| [2011/11/07 14:42:12] @ ranamalo joined channel #puppet | ||
| [2011/11/07 14:42:18] @ chadskid_ joined channel #puppet | ||
| [2011/11/07 14:42:23] @ negronjl_ joined channel #puppet | ||
| [2011/11/07 14:43:31] @ Quit: chadskidmore: Quit: Textual IRC Client: http://www.textualapp.com/ | ||
| [2011/11/07 14:43:31] @ chadskid_ is now known as chadskidmore | ||
| [2011/11/07 14:46:40] @ Quit: krish: Ping timeout: 248 seconds | ||
| [2011/11/07 14:46:50] @ Quit: themurph: Quit: themurph | ||
| [2011/11/07 14:47:36] @ Quit: paxos: Quit: Leaving. | ||
| [2011/11/07 14:49:18] @ Quit: rsnhyperion: Ping timeout: 240 seconds | ||
| [2011/11/07 14:49:49] @ Quit: ckauhaus: Quit: Leaving. | ||
| [2011/11/07 14:50:37] @ Quit: abetterlie: Ping timeout: 240 seconds | ||
| [2011/11/07 14:52:37] <grendzy> beginner question: what's the right way to reference a file that's not in a module? I'm using puppet 2.6.6, but have symptoms similar to http://projects.puppetlabs.com/issues/4489 ("Name or service not known"). I've tried prefixing the source with puppet://, puppet:///, puppet://$puppetserver/, and puppet://${settings::server}. Thanks! | ||
| [2011/11/07 14:54:19] @ Quit: _plg: Quit: _plg | ||
| [2011/11/07 14:55:04] <kjetilho> grendzy: the "modules" just means, look in modulepath | ||
| [2011/11/07 14:55:20] <kjetilho> and modulepath can contain other directories than just modules, e.g. we have clients as well | ||
| [2011/11/07 14:55:46] <kjetilho> what do you want to achieve? | ||
| [2011/11/07 14:56:24] <ranamalo> i'm trying to code an if statement for the source directory, but not sure how to do it. Here is basically what I'm trying to do: http://pastebin.com/CR5YvG59 | ||
| [2011/11/07 14:56:27] @ Quit: ken_barber1: Quit: Leaving. | ||
| [2011/11/07 14:57:44] <grendzy> kjetilho: I haven't learned to write modules yet, so I was just going to stuff an apache config file in manifests/conf/apache_httpd (sort of arbitrary directory in my repo). I'm currently using standalone `puppet apply site.pp` to test the manifests I've written. | ||
| [2011/11/07 14:58:32] @ The_Digital_Ninj joined channel #puppet | ||
| [2011/11/07 14:59:06] @ kelseyhi1htower joined channel #puppet | ||
| [2011/11/07 15:00:07] @ Quit: fenris02: Quit: Leaving | ||
| [2011/11/07 15:00:18] @ MrBIOS-seamicro joined channel #puppet | ||
| [2011/11/07 15:00:19] @ Quit: The_Digital_Ninj: Read error: Connection reset by peer | ||
| [2011/11/07 15:00:28] @ erodriguez joined channel #puppet | ||
| [2011/11/07 15:00:57] @ Spads_ joined channel #puppet | ||
| [2011/11/07 15:00:58] @ Quit: IndyMichaelB: Ping timeout: 255 seconds | ||
| [2011/11/07 15:01:36] @ Quit: kelseyhightower: Ping timeout: 248 seconds | ||
| [2011/11/07 15:02:15] @ Quit: metcalfc: Ping timeout: 258 seconds | ||
| [2011/11/07 15:02:47] @ Quit: Stenbryggen: Quit: Leaving. | ||
| [2011/11/07 15:03:17] @ Quit: jbraeuer: Quit: jbraeuer | ||
| [2011/11/07 15:04:13] @ Quit: Spads: Ping timeout: 260 seconds | ||
| [2011/11/07 15:05:28] @ Quit: kangman: Remote host closed the connection | ||
| [2011/11/07 15:06:45] @ _plg joined channel #puppet | ||
| [2011/11/07 15:06:47] @ Quit: dgillies: Remote host closed the connection | ||
| [2011/11/07 15:06:55] @ Quit: asteve: Quit: asteve | ||
| [2011/11/07 15:07:49] @ Quit: OMCK: Ping timeout: 240 seconds | ||
| [2011/11/07 15:08:06] @ asteve joined channel #puppet | ||
| [2011/11/07 15:08:07] @ Quit: asteve: Changing host | ||
| [2011/11/07 15:08:07] @ asteve joined channel #puppet | ||
| [2011/11/07 15:08:18] @ _nono_ joined channel #puppet | ||
| [2011/11/07 15:08:26] <grendzy> ok, I reorganized my files into modules/ and /manifests dirs. Creating a placeholder module for serving files ("modules/foo/files") seems to work. thanks! | ||
| [2011/11/07 15:08:40] @ OMCK joined channel #puppet | ||
| [2011/11/07 15:10:17] <savid> walkeran, sorry I just got back and saw your answer to my question earlier. So are you saying instead of declaring a service, I should just declare an exec? | ||
| [2011/11/07 15:10:53] @ drewrm joined channel #puppet | ||
| [2011/11/07 15:11:15] @ blentz joined channel #puppet | ||
| [2011/11/07 15:11:38] @ Quit: drewrm: Client Quit | ||
| [2011/11/07 15:11:51] @ sduchesneau_ left channel #puppet ("Leaving") | ||
| [2011/11/07 15:11:57] @ Spads joined channel #puppet | ||
| [2011/11/07 15:12:40] @ Quit: mpdude: Remote host closed the connection | ||
| [2011/11/07 15:15:18] @ Quit: Spads_: Ping timeout: 260 seconds | ||
| [2011/11/07 15:15:39] @ Quit: CodyR: Remote host closed the connection | ||
| [2011/11/07 15:19:06] <jloope> Does anyone know if there is any documentation about implementing custom file sources? Or is this totally outside the realm of possibility? | ||
| [2011/11/07 15:19:37] <nate_h> jloope, what do you mean by custom file sources? | ||
| [2011/11/07 15:19:58] <eric0> jloope: #5783 | ||
| [2011/11/07 15:19:58] <gepetto> eric0: jloope: #5783 is http://projects.puppetlabs.com/issues/show/5783 "Puppet - Feature #5783: support HTTP(S) URL as the file 'source'. It has a status of Accepted and is assigned to -" | ||
| [2011/11/07 15:20:15] <nate_h> ooooh | ||
| [2011/11/07 15:20:19] <jloope> eric0: yes, like this | ||
| [2011/11/07 15:20:19] @ cliff-hm joined channel #puppet | ||
| [2011/11/07 15:20:21] <jloope> thank you | ||
| [2011/11/07 15:20:42] @ Quit: kermit: Quit: Leaving. | ||
| [2011/11/07 15:20:56] @ kermit joined channel #puppet | ||
| [2011/11/07 15:21:10] <eric0> vote up/watch / comment to give it some love | ||
| [2011/11/07 15:21:38] <nate_h> upboat! | ||
| [2011/11/07 15:23:16] <jhelwig> vote up, since there's no way (without raw DB queries) to see the number of watchers. | ||
| [2011/11/07 15:24:17] @ Quit: iamchrisf: Quit: iamchrisf | ||
| [2011/11/07 15:25:00] <eric0> jhelwig: ah ok, a while back nigelk or somebody had said that watching was a better signal | ||
| [2011/11/07 15:26:25] @ stick is now known as stick_zz | ||
| [2011/11/07 15:26:41] @ Quit: jodok: Quit: jodok | ||
| [2011/11/07 15:26:52] @ Quit: negronjl_: Quit: Bye | ||
| [2011/11/07 15:27:21] @ negronjl_ joined channel #puppet | ||
| [2011/11/07 15:27:39] @ negronjl_ is now known as negronjl | ||
| [2011/11/07 15:29:08] @ Ownage joined channel #puppet | ||
| [2011/11/07 15:29:36] <Ownage> hello, I'm wondering what this warning is doing? warning: Dynamic lookup of $hostname at /puppet/manifests/script.module.pp:23 is deprecated. Support will be removed in Puppet 2.8. Use a fully-qualified variable name (e.g., $classname::variable) or parameterized classes. | ||
| [2011/11/07 15:29:38] @ jim80net left channel #puppet () | ||
| [2011/11/07 15:30:08] <Ownage> $hostname is a fact.. how would I call it with $classname::variable ?? | ||
| [2011/11/07 15:30:19] @ Quit: KaiserBeto1: Quit: Leaving. | ||
| [2011/11/07 15:30:40] @ gniks joined channel #puppet | ||
| [2011/11/07 15:31:18] @ rcrowley joined channel #puppet | ||
| [2011/11/07 15:33:27] @ Quit: ghanima: Quit: Leaving. | ||
| [2011/11/07 15:34:14] <jloope> eric0: I'm very much interested in this as a way to combine this: http://projects.puppetlabs.com/projects/1/wiki/Amazon_Web_Service_Patterns with the file type, rather than resorting to an exec of curl | ||
| [2011/11/07 15:36:04] @ tizzo-afk joined channel #puppet | ||
| [2011/11/07 15:36:06] @ Quit: jnvilo: Ping timeout: 240 seconds | ||
| [2011/11/07 15:36:20] @ jnvilo joined channel #puppet | ||
| [2011/11/07 15:36:26] @ Quit: cparedes: Excess Flood | ||
| [2011/11/07 15:37:34] <peridot> Would I use custom file sources like: source => puppet:///var/lib/puppet/files/somedir (when the source is /var/lib/puppet/files on the puppet master)? | ||
| [2011/11/07 15:38:08] <Ownage> I don't use puppet to serve files any more, it doesn't scale in my environment | ||
| [2011/11/07 15:38:22] <peridot> how big is your environment? | ||
| [2011/11/07 15:38:52] <Ownage> when I did, I had this file structure: /etc/puppet/modules/mymodule/files and /etc/puppet/modules/mymodule/manifests | ||
| [2011/11/07 15:39:09] <jloope> Ownage: we find it difficult as well and generally use packaging or curl to fetch over http | ||
| [2011/11/07 15:39:15] <Ownage> and for that I believe I did puppet://mymodule/filename.txt | ||
| [2011/11/07 15:40:02] <peridot> I'm serving it outside the modules because otherwise I'd have to either make lots of links from testing environment to production or duplicate the content. | ||
| [2011/11/07 15:40:47] <Ownage> I serve from existing mount | ||
| [2011/11/07 15:41:13] <Ownage> source => '/puppet/files/etc/whatever', | ||
| [2011/11/07 15:41:25] <Ownage> where /puppet is an nfsv4 mount to storage server | ||
| [2011/11/07 15:41:28] <peridot> ahh | ||
| [2011/11/07 15:41:53] <Ownage> nowadays I don't even use a puppetmaster at all; I find it to be a big waste of time for me | ||
| [2011/11/07 15:42:14] <peridot> what do you use? | ||
| [2011/11/07 15:42:21] @ gniks1 joined channel #puppet | ||
| [2011/11/07 15:42:21] <Ownage> so now I don't need to deal with the buggy ssl, or any of the passenger, httpd, etc | ||
| [2011/11/07 15:42:51] <Ownage> I just have each node apply the manifests without a boss | ||
| [2011/11/07 15:45:04] @ Quit: gniks: Ping timeout: 255 seconds | ||
| [2011/11/07 15:45:12] @ Quit: lwhalen: Quit: Computer has gone to sleep | ||
| [2011/11/07 15:45:33] @ cparedes joined channel #puppet | ||
| [2011/11/07 15:45:34] @ Quit: cparedes: Changing host | ||
| [2011/11/07 15:45:34] @ cparedes joined channel #puppet | ||
| [2011/11/07 15:46:10] <Ownage> $hostname is a fact.. how would I call it with $classname::variable ?? | ||
| [2011/11/07 15:46:26] <Ownage> re: warning: Dynamic lookup of $hostname at /puppet/manifests/script.module.pp:23 is deprecated. Support will be removed in Puppet 2.8. Use a fully-qualified variable name (e.g., $classname::variable) or parameterized classes. | ||
| [2011/11/07 15:47:18] @ ayakashi joined channel #puppet | ||
| [2011/11/07 15:48:02] <Ownage> is there some new way to specify a variable as being a fact? | ||
| [2011/11/07 15:48:16] @ lwhalen joined channel #puppet | ||
| [2011/11/07 15:49:50] <torrancew> Ownage: it may be $::hostname in fully-qualified notation? | ||
| [2011/11/07 15:49:57] @ Quit: lwhalen: Client Quit | ||
| [2011/11/07 15:50:06] <torrancew> also, I heard something about facts being available as ruby instance variables in recent versions... | ||
| [2011/11/07 15:52:04] @ Nizamani joined channel #puppet | ||
| [2011/11/07 15:52:08] @ Nizamani left channel #puppet () | ||
| [2011/11/07 15:53:18] @ Quit: lindenle: Ping timeout: 276 seconds | ||
| [2011/11/07 15:55:55] @ Quit: ghg: Ping timeout: 258 seconds | ||
| [2011/11/07 15:57:02] <savid> sometimes I feel like requre doesn't work like it should | ||
| [2011/11/07 15:57:36] @ Quit: benkevan: Quit: leaving | ||
| [2011/11/07 15:58:16] @ Moe__ joined channel #puppet | ||
| [2011/11/07 15:58:16] <savid> I have this simple use case: http://pastie.org/2828198 . I'm getting this error: "Execution of '/usr/sbin/useradd -g farstar -d /home/farstar -G www-data farstar' returned 6: useradd: group 'farstar' does not exist". Why in the world did it not create the group first, when it is marked as required? | ||
| [2011/11/07 15:59:28] @ IndyMichaelB joined channel #puppet | ||
| [2011/11/07 16:00:13] @ Quit: alop: Quit: alop | ||
| [2011/11/07 16:02:21] <savid> it's as if Group[farstar] is never even seen... | ||
| [2011/11/07 16:03:08] @ Quit: bobbyz: Ping timeout: 260 seconds | ||
| [2011/11/07 16:03:35] <jmslagle> Ug | ||
| [2011/11/07 16:03:51] @ Quit: cjz: Quit: Leaving. | ||
| [2011/11/07 16:03:52] <jmslagle> If you accidently put a space in front of a key in the ssh_authorized_key type you create a mess | ||
| [2011/11/07 16:04:05] @ Quit: skm: Quit: Computer has gone to sleep. | ||
| [2011/11/07 16:06:10] <Hunner> jmslagle: Is that mess auto-fixed by puppet by removing the space and running again? | ||
| [2011/11/07 16:06:30] @ skm joined channel #puppet | ||
| [2011/11/07 16:06:57] @ Quit: neonflux: Quit: Leaving. | ||
| [2011/11/07 16:07:32] <ianbrandt> Greetings. When using create_resources() to iterate a define over a hash of hashes, does the define need a parameter declared for every entry that could be in the nested hashes (e.g. uid, group, groups from the example in the docs: http://docs.puppetlabs.com/references/stable/function.html#createresources)? I want to iterate over a hash of hashes that contains properties being used by several modules. The defines being used b | ||
| [2011/11/07 16:07:32] <ianbrandt> module aren't necessarily concerned with all the possible entries shared data structure. | ||
| [2011/11/07 16:07:33] <torrancew> Hunner: IIRC puppet won't remove keys it doesn't manage, so I doubt it would be | ||
| [2011/11/07 16:08:04] @ Quit: ayakashi: Remote host closed the connection | ||
| [2011/11/07 16:08:36] @ Quit: tessier: Ping timeout: 260 seconds | ||
| [2011/11/07 16:08:51] <ianbrandt> (..."in the" shared data structure.) | ||
| [2011/11/07 16:09:00] @ Quit: soh: Quit: Computer has gone to sleep. | ||
| [2011/11/07 16:09:09] @ Quit: erodriguez: Quit: erodriguez | ||
| [2011/11/07 16:09:52] @ ayakashi joined channel #puppet | ||
| [2011/11/07 16:10:13] <Ownage> hmm weird | ||
| [2011/11/07 16:10:30] <Ownage> I wonder why I suddenly have to use $::hostname but not $::anything else | ||
| [2011/11/07 16:11:10] @ Quit: chadskidmore: Quit: Textual IRC Client: http://www.textualapp.com/ | ||
| [2011/11/07 16:12:20] <Hunner> ianbrandt: the create_resources() only takes a single resource type, but it sounds like you're asking about applying the function to a hash containing the attributes for more than a single resource type... is that true? | ||
| [2011/11/07 16:12:26] @ Quit: benjiedmund: Remote host closed the connection | ||
| [2011/11/07 16:13:18] @ Quit: dan__t: Ping timeout: 245 seconds | ||
| [2011/11/07 16:13:20] <Hunner> ianbrandt: So if you want to use several modules' defined resource types, you would have to make one create_resource() call per defined resource type | ||
| [2011/11/07 16:14:16] <ianbrandt> Hunner: Right, I have the hash as a simple shared data structure. I want to be able to call create_resources from different modules which each have their own defines. So the hash has some parameters that not every define needs. | ||
| [2011/11/07 16:15:22] @ Quit: ayakashi: Quit: Leaving | ||
| [2011/11/07 16:15:53] <Hunner> ianbrandt: how many hashes do you have? How many levels deep is it? | ||
| [2011/11/07 16:16:09] <ianbrandt> Hunner: Trying to do so I'm getting a rather vague error message: "Invalid parameter [param] on node [hostname]". The define I'm trying it with doesn't have a parameter declared for every entry in the nested hashes. | ||
| [2011/11/07 16:16:24] <ianbrandt> Hunner: Just two, exactly like the doc example. | ||
| [2011/11/07 16:16:27] @ lwhalen joined channel #puppet | ||
| [2011/11/07 16:16:49] <Hunner> ianbrandt: just like using a defined resource in the normal way, you can't pass attributes that the defined resource doesn't accept | ||
| [2011/11/07 16:17:06] @ Quit: DJClean: Read error: Operation timed out | ||
| [2011/11/07 16:17:18] @ Quit: alanevans: Remote host closed the connection | ||
| [2011/11/07 16:17:32] <Hunner> foo::bar { "title": baz => "zot", } doesn't work unless define foo::bar ($zot) { ... } exists | ||
| [2011/11/07 16:17:43] <Hunner> s/$zot/$baz/ | ||
| [2011/11/07 16:18:15] <ianbrandt> Hunner: Okay, got it. I was hoping they'd just be ignored, but it makes sense. | ||
| [2011/11/07 16:18:21] @ KaiserBeto1 joined channel #puppet | ||
| [2011/11/07 16:18:22] <eric0> ianbrandt: if you want to re-use your nested hash you could do something like this https://gist.github.com/a6b3fd892f274582984b | ||
| [2011/11/07 16:19:44] @ metcalfc joined channel #puppet | ||
| [2011/11/07 16:20:22] <Hunner> eric0: Hmm... curious | ||
| [2011/11/07 16:23:01] <Hunner> eric0: Why not write test::def to take your attributes directly and use `create_resources('test::def', $__vd["nfs"]["mount"])` ? | ||
| [2011/11/07 16:23:47] @ TheDigitalNinja joined channel #puppet | ||
| [2011/11/07 16:24:04] <Hunner> eric0: Or, make test::def take a $mount parameter instead of $hash an do `create_resources('test::def', $__vd["nfs"])` | ||
| [2011/11/07 16:24:42] <Hunner> eric0: Or are you simply just being sneaky and trying to avoid create_resources() altogether? | ||
| [2011/11/07 16:26:47] <RoyK> - A DBA walks into a NOSQL bar, but turns and leaves because he couldn't find a table... | ||
| [2011/11/07 16:27:17] <Holocaine> RoyK: You're fired. | ||
| [2011/11/07 16:27:28] <RoyK> :) | ||
| [2011/11/07 16:28:43] <jmslagle> Hunner: It fixed itself - yay! | ||
| [2011/11/07 16:28:50] <jmslagle> Just an ugly error :) | ||
| [2011/11/07 16:29:41] <ianbrandt> eric0: I'm still trying to digest the example. I'm not familiar with the keys() function, or the test::def { $keys: hash => $mounts } syntax. | ||
| [2011/11/07 16:30:27] <Hunner> ianbrandt: keys() returns an array of the keys in a hash as strings | ||
| [2011/11/07 16:30:50] <Hunner> ianbrandt: the test::def { ... } syntax is normal defined resource syntax, but with an array title | ||
| [2011/11/07 16:31:10] @ Quit: crazed: Read error: Connection reset by peer | ||
| [2011/11/07 16:31:14] @ mitchellh joined channel #puppet | ||
| [2011/11/07 16:31:23] @ crazed joined channel #puppet | ||
| [2011/11/07 16:31:45] @ Quit: williemach: Quit: Leaving. | ||
| [2011/11/07 16:33:01] <ianbrandt> Hunner: So with an array as a title the define is "instantiated" for each entry in the array? | ||
| [2011/11/07 16:33:33] @ Quit: savid: Quit: Leaving | ||
| [2011/11/07 16:33:43] <Hunner> ianbrandt: yes, just the same as `package { ['httpd','openssl']: ensure => present, }` would be | ||
| [2011/11/07 16:34:16] @ Quit: davewongillies: Ping timeout: 260 seconds | ||
| [2011/11/07 16:34:27] <ianbrandt> Hunner: Okay, right, thanks. | ||
| [2011/11/07 16:34:37] <Hunner> ianbrandt: the trick is that eric0 is using $hash[$name] to access the "correct" elements inside the hash being passed in, thus only using 1 section of the hash which has n sections (or two, in this case) | ||
| [2011/11/07 16:36:49] <ianbrandt> Hunner: Got it. That could work for what I'm trying to do. | ||
| [2011/11/07 16:39:31] @ erodriguez joined channel #puppet | ||
| [2011/11/07 16:39:32] <ianbrandt> Hunner: So for keys(), I don't see that in the list of built in functions: http://docs.puppetlabs.com/references/stable/function.html. Where does it come from, or is there another reference I've missed for such functions? | ||
| [2011/11/07 16:40:21] @ frostynova joined channel #puppet | ||
| [2011/11/07 16:40:45] @ Quit: countskm: Ping timeout: 276 seconds | ||
| [2011/11/07 16:41:04] @ justdave_ is now known as justdave | ||
| [2011/11/07 16:41:48] <ianbrandt> eric0: Now that I grok it I think you're example does just what I need. Thanks! | ||
| [2011/11/07 16:41:50] <eric0> ianbrandt: its in puppetlabs puppet-stdlib on github, sadly not distributed in core ATM | ||
| [2011/11/07 16:42:11] @ countskm joined channel #puppet | ||
| [2011/11/07 16:42:14] <Hunner> If you wanted to write one, it's probably be ~10 lines of ruby all in all | ||
| [2011/11/07 16:42:16] <eric0> credit where its due, someone else here (jmslagle maybe?) gave me that | ||
| [2011/11/07 16:42:47] <eric0> i just gisted it up and made it work for me | ||
| [2011/11/07 16:43:11] @ ghg joined channel #puppet | ||
| [2011/11/07 16:43:31] @ abetterlie joined channel #puppet | ||
| [2011/11/07 16:44:58] @ Quit: Ownage: Ping timeout: 256 seconds | ||
| [2011/11/07 16:46:27] @ Ownage joined channel #puppet | ||
| [2011/11/07 16:46:41] @ davewongillies joined channel #puppet | ||
| [2011/11/07 16:47:10] @ Quit: zwi: Quit: Leaving. | ||
| [2011/11/07 16:47:58] <Hunner> ianbrandt: https://gist.github.com/1346685 | ||
| [2011/11/07 16:50:17] <gepetto> ::redmine:: Wiki edit: Amazon_Web_Service_Patterns (#5) @ http://projects.puppetlabs.com/projects/puppet/wiki/Amazon_Web_Service_Patterns?version=5 (by James Loope) | ||
| [2011/11/07 16:50:17] <gepetto> ::redmine:: Wiki edit: Amazon_Web_Service_Patterns (#6) @ http://projects.puppetlabs.com/projects/puppet/wiki/Amazon_Web_Service_Patterns?version=6 (by James Loope) | ||
| [2011/11/07 16:50:30] <eric0> Hunner: nice | ||
| [2011/11/07 16:51:02] @ Quit: Ownage: Ping timeout: 258 seconds | ||
| [2011/11/07 16:51:18] @ Quit: marrusl: Ping timeout: 240 seconds | ||
| [2011/11/07 16:51:18] <ianbrandt> Hunner: Cool. So that would be in lieu of getting the stdlib module into my environment (which I was just trying to work out how to do)? | ||
| [2011/11/07 16:51:25] <jloope> I just implemented etag checking in the old s3getcurl example if anyone is interested in using s3 as file store: http://projects.puppetlabs.com/projects/puppet/wiki/Amazon_Web_Service_Patterns#Fog-re-implementation-of-s3getcurl | ||
| [2011/11/07 16:51:42] <Hunner> ianbrandt: Have you used custom functions before? | ||
| [2011/11/07 16:52:02] <eric0> ianbrandt: yep, just drop that in the path suggseted in line 1, turn pluginsync on master, and (possibly) restart your puppet master | ||
| [2011/11/07 16:52:16] <ianbrandt> Hunner: Not yet. :) But I think I get it. Just include that in my module in the path per the comment and I can use it I assume. | ||
| [2011/11/07 16:52:35] @ Ownage joined channel #puppet | ||
| [2011/11/07 16:53:34] <Hunner> ianbrandt: You don't have to "include" anything; just put the file at that path and pluginsync will sync it next puppet run | ||
| [2011/11/07 16:54:21] <ianbrandt> Hunner: Ah right, "include" was a poor word choice. ;) | ||
| [2011/11/07 16:55:43] <Hunner> ianbrandt: If you have `puppet-module` installed, to get stdlib you can `cd $(puppet --configprint confdir)/modules && puppet-module install puppetlabs-stdlib` | ||
| [2011/11/07 16:56:06] <Hunner> You might need to `mv` something after that, but it's pretty much it | ||
| [2011/11/07 16:56:42] @ Quit: ghg: Quit: Computer has gone to sleep. | ||
| [2011/11/07 16:57:29] <gepetto> ::redmine:: Wiki edit: Amazon_Web_Service_Patterns (#7) @ http://projects.puppetlabs.com/projects/puppet/wiki/Amazon_Web_Service_Patterns?version=7 (by James Loope) | ||
| [2011/11/07 16:57:29] <gepetto> ::redmine:: Wiki edit: Amazon_Web_Service_Patterns (#8) @ http://projects.puppetlabs.com/projects/puppet/wiki/Amazon_Web_Service_Patterns?version=8 (by James Loope) | ||
| [2011/11/07 16:57:35] @ ghg joined channel #puppet | ||
| [2011/11/07 16:57:56] <ianbrandt> Hunner: Perfect. I'm reading up on puppet-module-tool right now. | ||
| [2011/11/07 16:58:05] @ Quit: ghg: Client Quit | ||
| [2011/11/07 16:58:57] @ Quit: _plg: Quit: _plg | ||
| [2011/11/07 17:00:51] @ Quit: erodriguez: Quit: erodriguez | ||
| [2011/11/07 17:02:05] @ st33v joined channel #puppet | ||
| [2011/11/07 17:02:09] @ ghg joined channel #puppet | ||
| [2011/11/07 17:02:35] @ Quit: st33v: Client Quit | ||
| [2011/11/07 17:02:49] @ st33v joined channel #puppet | ||
| [2011/11/07 17:05:05] @ themurph joined channel #puppet | ||
| [2011/11/07 17:05:45] <Ownage> clear | ||
| [2011/11/07 17:06:32] @ Quit: hal-j: Read error: No route to host | ||
| [2011/11/07 17:06:37] @ hal-j1 joined channel #puppet | ||
| [2011/11/07 17:07:51] @ Quit: bosszaru: Quit: Leaving. | ||
| [2011/11/07 17:09:59] @ Quit: shadoi: Ping timeout: 244 seconds | ||
| [2011/11/07 17:10:37] @ ja-s joined channel #puppet | ||
| [2011/11/07 17:11:19] @ Quit: _nono_: Ping timeout: 260 seconds | ||
| [2011/11/07 17:12:07] @ Quit: Zoiah: Ping timeout: 258 seconds | ||
| [2011/11/07 17:12:12] @ alanevans joined channel #puppet | ||
| [2011/11/07 17:12:50] @ Zoiah joined channel #puppet | ||
| [2011/11/07 17:16:52] @ dgillies joined channel #puppet | ||
| [2011/11/07 17:19:11] @ Quit: lbt: Ping timeout: 260 seconds | ||
| [2011/11/07 17:20:52] @ Chillax_ joined channel #puppet | ||
| [2011/11/07 17:21:47] @ Quit: Chillax: Ping timeout: 260 seconds | ||
| [2011/11/07 17:23:18] @ Quit: nul0op: Ping timeout: 240 seconds | ||
| [2011/11/07 17:25:05] <rocket_> is there a good way to to have a define from a certain class run before everything else? | ||
| [2011/11/07 17:26:51] <agaffney> run stages | ||
| [2011/11/07 17:26:57] <agaffney> but that's not necessarily a "good" way | ||
| [2011/11/07 17:27:00] @ st33v left channel #puppet () | ||
| [2011/11/07 17:27:14] @ Quit: djm68: Quit: leaving | ||
| [2011/11/07 17:28:01] @ Quit: lynxman: Read error: Operation timed out | ||
| [2011/11/07 17:28:42] @ Quit: joshcooper: Quit: joshcooper | ||
| [2011/11/07 17:28:59] @ Jixen joined channel #puppet | ||
| [2011/11/07 17:29:30] @ lynxman joined channel #puppet | ||
| [2011/11/07 17:31:28] <Jixen> hi guys. Trying to learn puppet from a bcfg2 background, Im looking for guidelines on how to model classes and data. | ||
| [2011/11/07 17:32:33] @ Quit: TheDigitalNinja: Ping timeout: 256 seconds | ||
| [2011/11/07 17:32:39] @ ayakashi joined channel #puppet | ||
| [2011/11/07 17:33:14] <Jixen> I read the doc and the book from James T... but Im not very familiar with best practices even for solving real life simple problems | ||
| [2011/11/07 17:33:58] <Jixen> anyone willing to share ? | ||
| [2011/11/07 17:34:23] @ ayakashi is now known as fenris02 | ||
| [2011/11/07 17:34:37] @ peridot left channel #puppet () | ||
| [2011/11/07 17:34:37] @ Quit: idl0r: Ping timeout: 240 seconds | ||
| [2011/11/07 17:34:44] @ Quit: ianbrandt: Quit: ianbrandt | ||
| [2011/11/07 17:38:04] @ rsnhyperion joined channel #puppet | ||
| [2011/11/07 17:40:49] <fenris02> puppetlabs posted a best practices, have you looked there? | ||
| [2011/11/07 17:41:07] <nevyn> Jixen: which book? | ||
| [2011/11/07 17:41:23] <Jixen> nevyn: Pro Puppet | ||
| [2011/11/07 17:41:49] <fenris02> pro puppet is a really nice book too. | ||
| [2011/11/07 17:41:59] <fenris02> might want to check out example42.com as well for ideas | ||
| [2011/11/07 17:42:30] <Jixen> fenris02: Yes but the example are somewhat simple... let me explain a simple case if you will | ||
| [2011/11/07 17:42:31] <fenris02> https://docs.puppetlabs.com/guides/best_practices.html | ||
| [2011/11/07 17:42:41] @ Quit: langworthy: Quit: langworthy | ||
| [2011/11/07 17:42:50] <Ownage> anyone know why I get this warning | ||
| [2011/11/07 17:42:52] <Ownage> warning: Dynamic lookup of $hostname at /puppet/manifests/script.module.pp:23 is deprecated. Support will be removed in Puppet 2.8. Use a fully-qualified variable name (e.g., $classname::variable) or parameterized classes. | ||
| [2011/11/07 17:43:12] <rocket_> I am trying to figure out how a define fits into prioritized classes.... | ||
| [2011/11/07 17:43:31] <Ownage> class something { define something2.. | ||
| [2011/11/07 17:43:45] <Ownage> something::something2{'my whatever': do => 'stuff', } | ||
| [2011/11/07 17:44:03] <fenris02> Jixen, https://github.com/example42/puppet-modules | ||
| [2011/11/07 17:44:08] <Jixen> lets say all nodes are basically ntp clients. Their NTP servers is set based on their datacenter location. So I can define the ntp class and some parameters... maybe from external sources, about the ntp server to use. | ||
| [2011/11/07 17:44:14] <rocket_> right I should expand on my comment .. as far as ordering is concerned .. eg the new ordering stuff in 2.6 | ||
| [2011/11/07 17:44:42] @ Quit: ja-s: Ping timeout: 258 seconds | ||
| [2011/11/07 17:44:44] @ erodriguez joined channel #puppet | ||
| [2011/11/07 17:44:49] <fenris02> Jixen, do you have a fact that can tell the location? | ||
| [2011/11/07 17:45:04] <Ownage> custom facts is what you want sounds like | ||
| [2011/11/07 17:45:11] <fenris02> Jixen, if so, you can setup your recepie to use different ntp servers accordignly, or just add all of them | ||
| [2011/11/07 17:45:24] <fenris02> ntpd can have 10, it will select the best ones already | ||
| [2011/11/07 17:45:33] <Ownage> sounds like a job for a template and a custom fact. | ||
| [2011/11/07 17:45:52] <Jixen> So it makes sense to include this in a default or base section applying to all nodes. But what about the NTP servers ? Should that be something built inside the ntp class of would you add another class for ntp servers possibly overidding the ntp conf ? | ||
| [2011/11/07 17:46:21] <fenris02> Jixen, how many sites do you have? just two? | ||
| [2011/11/07 17:46:28] @ Quit: justin_donaldson: Quit: Leaving. | ||
| [2011/11/07 17:46:35] <Jixen> a fact would help the ntp client configuration... but how to override the config for the ntp servers ? | ||
| [2011/11/07 17:46:40] <Jixen> 5 sites | ||
| [2011/11/07 17:46:42] <Ownage> I would include it from the main node, based on however you actually know it is an ntp server | ||
| [2011/11/07 17:47:21] <Ownage> for example if they all have sv-ntp01.mydomain.com you can test for $fqdn =~ /^sv-ntp/ | ||
| [2011/11/07 17:47:48] <Ownage> or whatever makes sense for your level of security and how you can tell the difference | ||
| [2011/11/07 17:48:13] <Ownage> what I do personally is I have a standard 'every machine gets this' class and then I split based on logic | ||
| [2011/11/07 17:48:14] <fenris02> Jixen, each site has 1 ntp server? | ||
| [2011/11/07 17:48:30] <fenris02> Jixen, is the ntp server the same as the machines default gateway? | ||
| [2011/11/07 17:48:31] <Jixen> fenris02: lets say 2 ntp servers | ||
| [2011/11/07 17:48:57] <Ownage> in my environment if you're in 192.168.4.0/24 then you're a 'workstation,' which I identify in a custom fact | ||
| [2011/11/07 17:49:02] <Jixen> fenris02: no they would be a distinct pair of hosts | ||
| [2011/11/07 17:49:27] <fenris02> Jixen, what Ownage is describing is about ideal for your situation then afaict | ||
| [2011/11/07 17:49:31] <Ownage> hence I can if ($system_type == 'workstation'){ include something-a-workstation-gets. | ||
| [2011/11/07 17:51:05] <Jixen> Ownage: That's good when you can get this from a fact right ? But what if you need to add roles incrementally without relying on a fact or a hostname match ? | ||
| [2011/11/07 17:51:32] <Ownage> how do you 'add' that role? | ||
| [2011/11/07 17:51:37] <Ownage> that could easily be done with a fact | ||
| [2011/11/07 17:52:26] <Ownage> what assumptions can you make | ||
| [2011/11/07 17:52:27] <Jixen> lets I have 3 database server types... mysql/pgsql/oracle... that fact exists only after configuration | ||
| [2011/11/07 17:52:55] <Ownage> well not really | ||
| [2011/11/07 17:53:06] <Ownage> your fact gets pushed out seperately and is part of facter | ||
| [2011/11/07 17:53:44] @ Quit: choonming: Quit: Leaving | ||
| [2011/11/07 17:53:47] <Ownage> RUBYLIB=/path/to/new/facts facter -py | sort | ||
| [2011/11/07 17:53:50] @ lindenle joined channel #puppet | ||
| [2011/11/07 17:54:01] <Ownage> that's basically what puppet will see the next time it runs | ||
| [2011/11/07 17:54:19] <Ownage> if you add a custom fact you should see it push down before the puppet run | ||
| [2011/11/07 17:54:30] <Jixen> I thoughts facter was pullings facts... | ||
| [2011/11/07 17:54:45] <Ownage> it does | ||
| [2011/11/07 17:54:57] <Ownage> puppet invokes facter but it can give it new facts first | ||
| [2011/11/07 17:55:09] @ Quit: Legooolas: Read error: Operation timed out | ||
| [2011/11/07 17:55:30] <Ownage> the only way what you're talking about would happen that Ive seen is if you actually change the location to facts within puppet | ||
| [2011/11/07 17:55:32] @ Quit: failure: Read error: Operation timed out | ||
| [2011/11/07 17:55:41] <Ownage> then it would not take effect until the second puppet check in | ||
| [2011/11/07 17:56:07] <Ownage> because then it would go, custom facts - none, facter, puppet changes fact path, done. | ||
| [2011/11/07 17:56:07] <Jixen> oh... I havent explored that. You can "declare" a facts from the puppet server for a node ? | ||
| [2011/11/07 17:56:17] <Ownage> you make custom facts | ||
| [2011/11/07 17:56:29] <Ownage> so that when you type facter -p you see new stuff based on anything you want | ||
| [2011/11/07 17:56:35] <Ownage> and puppet automagically sees that fact | ||
| [2011/11/07 17:56:54] @ failure joined channel #puppet | ||
| [2011/11/07 17:56:57] <Jixen> So it doesnt have to be something evaluated on the agent side if I understand | ||
| [2011/11/07 17:57:07] <Ownage> it is | ||
| [2011/11/07 17:57:18] @ Legooolas joined channel #puppet | ||
| [2011/11/07 17:57:33] <nevyn> the fact run happens long before the catalog is availible on the client | ||
| [2011/11/07 17:57:41] <Ownage> 1. puppet pushes down a new file. 2. now facter runs on that client, but looks for new stuff. 3. puppet runs with the new stuff as well | ||
| [2011/11/07 17:57:45] <nevyn> NO | ||
| [2011/11/07 17:58:15] @ grendzy_ joined channel #puppet | ||
| [2011/11/07 17:58:22] @ Quit: grendzy_: Client Quit | ||
| [2011/11/07 17:58:24] <nevyn> 1 facter runs -> 2 facts are sent to the puppetmaster 3> catalog is sent to client 4> puppet runs with the catalog | ||
| [2011/11/07 17:58:36] <nevyn> 5 reports are sent to puppetmaster | ||
| [2011/11/07 17:58:51] <Ownage> except there are no custom facts in your diagram | ||
| [2011/11/07 17:59:25] <Ownage> pluginsync will push them down to the node | ||
| [2011/11/07 17:59:35] <Ownage> which you can verify by the fact that the files are on the client | ||
| [2011/11/07 17:59:42] <Ownage> as well as it clearly stating that while it runs | ||
| [2011/11/07 17:59:42] <nevyn> custom facts are plugins that are pulled before the facter run | ||
| [2011/11/07 17:59:47] <nevyn> right. | ||
| [2011/11/07 17:59:52] <Ownage> sounds like exactly what I said | ||
| [2011/11/07 18:00:01] @ rejectreality_ is now known as rejectreality | ||
| [2011/11/07 18:00:09] <Ownage> by new file I mean custom fact file | ||
| [2011/11/07 18:00:11] <nevyn> right but they're not puppet dsl code or part of the catalog | ||
| [2011/11/07 18:00:17] <nevyn> right. | ||
| [2011/11/07 18:00:19] <Ownage> of course not | ||
| [2011/11/07 18:00:35] <Ownage> my wording may have been confusing | ||
| [2011/11/07 18:00:45] <Ownage> Jixen: are you still with us? =] | ||
| [2011/11/07 18:00:47] <Jixen> So custom facts vs node classification / ENC... same function different means ? | ||
| [2011/11/07 18:00:56] <Ownage> no | ||
| [2011/11/07 18:00:56] @ Quit: grendzy: Read error: Operation timed out | ||
| [2011/11/07 18:01:01] <Jixen> Ownage: trying to follow :) | ||
| [2011/11/07 18:01:06] <Ownage> type facter press enter | ||
| [2011/11/07 18:01:11] <Ownage> just a command that gathers some info | ||
| [2011/11/07 18:01:28] <Ownage> the way it does that is it has some processes to find this info, that happen to already be there. you can add some as well | ||
| [2011/11/07 18:01:31] @ Quit: brd: Ping timeout: 252 seconds | ||
| [2011/11/07 18:01:32] <Ownage> here's a real life example. | ||
| [2011/11/07 18:01:36] <Jixen> yes that part is really like bcfg2 probes. | ||
| [2011/11/07 18:01:53] <Ownage> I know that any machine on 192.168.2.0/24 is also on the vlan 2 | ||
| [2011/11/07 18:02:02] @ fenrus02 joined channel #puppet | ||
| [2011/11/07 18:02:07] <Ownage> I also know that 192.168.3.0/24 is also on vlan 2 | ||
| [2011/11/07 18:02:24] <Ownage> I want to be able to have logic in my puppet manifests that say 'if you're on vlan 2 do this' | ||
| [2011/11/07 18:02:38] <Ownage> one way to do this is with a custom fact | ||
| [2011/11/07 18:02:52] <Ownage> that fact says 'if im on either of these subnets my value is 2' | ||
| [2011/11/07 18:02:59] <Ownage> now you can type facter vlan | ||
| [2011/11/07 18:03:08] <Ownage> or facter -py | grep vlan for example | ||
| [2011/11/07 18:03:12] <Ownage> and it will say vlan: 2 | ||
| [2011/11/07 18:03:28] @ Quit: fenris02: Quit: Leaving | ||
| [2011/11/07 18:03:38] <Ownage> puppet will know about that as well, so you can simply say ' if ($vlan == '2'){ ... | ||
| [2011/11/07 18:04:23] <Ownage> the 'custom fact' will likely be not much more than a parsing of ifconfig or netstat for example | ||
| [2011/11/07 18:04:33] <Jixen> Got it. But in this case you got the fact from something you could evaluate on the client... here the subnet. But in the NTP serve example, you can't guess it without forcing/delaring it somehow. | ||
| [2011/11/07 18:04:50] <Ownage> but like I'm eluding to, you have to do that at some point anyway | ||
| [2011/11/07 18:05:04] <Ownage> in real life, forget puppet, how do you suddenly know something should be an ntp server | ||
| [2011/11/07 18:05:13] <Jixen> node classification | ||
| [2011/11/07 18:05:28] <Ownage> huh? | ||
| [2011/11/07 18:05:49] <Ownage> you're sitting there and someone tells you hey make this random node an ntp server? | ||
| [2011/11/07 18:06:01] <Ownage> what actually happens IRL? | ||
| [2011/11/07 18:06:12] <Jixen> We tried from hostname conventions... but we fall short as we cant have as many roles as there are caracaters | ||
| [2011/11/07 18:06:55] <Ownage> it could literally be something as simple as this | ||
| [2011/11/07 18:07:02] <Ownage> # cat /etc/sysconfig/my-roles | ||
| [2011/11/07 18:07:05] <Ownage> ntp-server | ||
| [2011/11/07 18:07:07] <Ownage> dns-server | ||
| [2011/11/07 18:07:10] <Ownage> (etc) | ||
| [2011/11/07 18:07:34] <Ownage> or just checking the mac address or hostname or ip, whatever makes sense in your environment | ||
| [2011/11/07 18:07:45] <Jixen> Ok but what process fills that list ? An ENC ? | ||
| [2011/11/07 18:07:57] <Ownage> you type it with your fingers | ||
| [2011/11/07 18:08:18] <Ownage> you have to have _some_ way to identify the node as being different | ||
| [2011/11/07 18:08:26] <Ownage> facts can literally do anything so it's up to you | ||
| [2011/11/07 18:08:28] <Jixen> I thought about that and I was a little worried someone add its own role :) | ||
| [2011/11/07 18:08:49] <Ownage> maybe you have a mysqldb on your mom's laptop and a fact that checks the db for it's hostname and a list of roles | ||
| [2011/11/07 18:08:51] <Jixen> I thought ENC were the answer | ||
| [2011/11/07 18:09:16] <Ownage> I've never used that | ||
| [2011/11/07 18:09:39] @ Quit: ghg: Quit: Computer has gone to sleep. | ||
| [2011/11/07 18:10:27] <Jixen> Im trying to figure out how to incrementally add roles to systems without relying on hostname and also to get data to get this done properly | ||
| [2011/11/07 18:10:34] <Ownage> seems an awful lot of work to set up a couple ntp servers | ||
| [2011/11/07 18:10:49] <Jixen> hehe thats more than a few NTP server ;) | ||
| [2011/11/07 18:10:52] @ cruzfox joined channel #puppet | ||
| [2011/11/07 18:11:31] <Ownage> even with those you would still have to form the relationship | ||
| [2011/11/07 18:11:34] @ Quit: maxmartin: Quit: Computer has gone to sleep. | ||
| [2011/11/07 18:11:46] <Ownage> why would one node get that config and another wouldn't? at some point there has to be human interaction | ||
| [2011/11/07 18:12:01] <Ownage> either that or you have to use something which is a fact | ||
| [2011/11/07 18:12:15] <Ownage> or some kind of logic to decide that a node should get that config | ||
| [2011/11/07 18:12:31] <Jixen> A more real like example: we setup our database servers with common properties... hostname does it ok up to the point we need more specific sysctl based on the Oracle release that will be installed later. Today we setup custom hostgroups for this but all the data is in the template | ||
| [2011/11/07 18:13:41] <Jixen> Hiding data in the configuration system make it complex to get an idea of what needs to get done. | ||
| [2011/11/07 18:14:07] <Ownage> I don't understand your problem really, I don't have this problem much | ||
| [2011/11/07 18:14:40] <Ownage> database servers for me the workflow is, I look at a file called mysql.pp and I see instantly what decisions are being made and why | ||
| [2011/11/07 18:14:41] <Jixen> Isaw some efford in Puppet to externalize this data (extlookup,hiera)... I thought it could be the answer | ||
| [2011/11/07 18:15:01] <z00dax> Jixen: dont put the data inside puppet, use an external interface that puppet can query | ||
| [2011/11/07 18:15:08] <rocket_> Jixen it is | ||
| [2011/11/07 18:15:18] <z00dax> extlooup, hiera are exactly it | ||
| [2011/11/07 18:15:48] <rocket_> Jixen: the zenoss master uses extlookup to build the catalog of operations from the master | ||
| [2011/11/07 18:16:05] <rocket_> Jixen: it then sends the catalog to the remote node for processing | ||
| [2011/11/07 18:16:30] <Jixen> sounds like a great idea... but I see the need to join both "what class to apply" and "where to get the data from ".. this is where Im lost | ||
| [2011/11/07 18:16:32] @ Quit: tilgovi: Remote host closed the connection | ||
| [2011/11/07 18:16:42] <Ownage> we're outside what I use now. I don't have the problems those solve or I don't understand what they do | ||
| [2011/11/07 18:16:59] <rocket_> ok the extlookup data is in a database, or flat file that exists somewhere in your infrastructure | ||
| [2011/11/07 18:17:15] <Ownage> possibly I don't have the scale for them to be useful, I've managed up to.. about 300 nodes only | ||
| [2011/11/07 18:17:27] <rocket_> Jixen: you will have to manually update the extlookup flatfile for your needs | ||
| [2011/11/07 18:17:59] <rocket_> there are other external node classifiers taht are basically fancy web frontends to the database extlookup would use etc | ||
| [2011/11/07 18:18:14] <rocket_> you still need to enter the data by hand in this case | ||
| [2011/11/07 18:18:23] <Jixen> rocket_: theforeman ? | ||
| [2011/11/07 18:18:23] <Ownage> which basically comes full circle back to that in order to have what you're describing as basically an analog knowledge that 'machine3 and machine42 are ntp-servers just because', you have to do something manually | ||
| [2011/11/07 18:18:59] <rocket_> Jixen that is one | ||
| [2011/11/07 18:19:18] <Ownage> also may I add it's quite easy to change host names o) | ||
| [2011/11/07 18:19:37] <z00dax> Ownage: in many cases, its not. | ||
| [2011/11/07 18:19:52] <nevyn> bkero: ping | ||
| [2011/11/07 18:19:59] <Jixen> Im ok with the fact someone needs to say : this server is an ntp server. But should this case be handled by the ntp class also handling the defaut ntp client config ? | ||
| [2011/11/07 18:20:02] <z00dax> Ownage: quite a few people i know tend to hostname based on machine location, rack id, geo location, etc. :) | ||
| [2011/11/07 18:20:04] <Ownage> certainly it's easy to change something which can be fact'd | ||
| [2011/11/07 18:20:25] <Ownage> Jixen: I would separate that on a large site | ||
| [2011/11/07 18:20:38] <rocket_> Jixen: this is how I work | ||
| [2011/11/07 18:20:48] <Ownage> if you only have 20 manifests then just keep it together as ntp.module.pp or whatever | ||
| [2011/11/07 18:20:58] <nevyn> z00dax: ewww.. | ||
| [2011/11/07 18:20:58] <Jixen> So you got 2 classes handling the same config file ? | ||
| [2011/11/07 18:20:59] <rocket_> 1. create a module do do low level work ... eg install /configure ntp for common scenarios | ||
| [2011/11/07 18:21:01] <z00dax> i wonder if Jixen is thinking of something like Noah or ZooKeeper sort of fact-store | ||
| [2011/11/07 18:21:03] * nevyn hates encoding data in names | ||
| [2011/11/07 18:21:20] <Ownage> I use description## | ||
| [2011/11/07 18:21:43] <Ownage> ws01 -> some kind of general workstation. beyond that there's not much use in a short restricted string of chars to me | ||
| [2011/11/07 18:21:43] <z00dax> nevyn: the point is that after the first 2000 machines, it does not matter. might as well use mkpasswd -l 15 to generate hostnames | ||
| [2011/11/07 18:21:46] <rocket_> 2. create a role-ntp module that does the custom work and includes the core ntp module | ||
| [2011/11/07 18:21:47] <nevyn> hostnames should be from a big category of stuff (babynames or stars or blah) | ||
| [2011/11/07 18:21:56] <nevyn> then with a cname for services | ||
| [2011/11/07 18:22:17] <rocket_> role-ntp is where I would be doing extlookups etc | ||
| [2011/11/07 18:22:20] <Jixen> nevyn: exaclty what we do :) | ||
| [2011/11/07 18:22:35] <nevyn> z00dax: true. I like them being actual names tho. I hate having a onecharcter difference between production and dr or production and dev | ||
| [2011/11/07 18:23:04] <nevyn> we have one of these stupid encoding systems | ||
| [2011/11/07 18:23:08] @ Quit: jongrocho: Remote host closed the connection | ||
| [2011/11/07 18:23:08] @ Quit: Moe__: Read error: Connection reset by peer | ||
| [2011/11/07 18:23:23] <Jixen> rocket_: so the ntp server details is assigned via the ext lookup... not a class parameter right ? | ||
| [2011/11/07 18:23:43] <rocket_> correct | ||
| [2011/11/07 18:23:47] <nevyn> where 6 character hostnames encode the os type the environment the server function and then a numeric encoding which may or may not have meaning | ||
| [2011/11/07 18:23:50] <nevyn> it's horrible | ||
| [2011/11/07 18:23:52] <Ownage> in my house I would still just do a text file with roles because I'm ghetto | ||
| [2011/11/07 18:24:13] <rocket_> jixen the goal for me is to just "include role-ntp" or whatever I have called it | ||
| [2011/11/07 18:24:25] <rocket_> I want it to be as simple as possible | ||
| [2011/11/07 18:24:26] <nevyn> so upd400 and ucd400 are the production and dr instances of a database server | ||
| [2011/11/07 18:24:45] <Ownage> that's how it already should be | ||
| [2011/11/07 18:25:06] <rocket_> Ownage: it tends to scale the best in lots of cases :p | ||
| [2011/11/07 18:25:08] @ Quit: seanh-ansca: Quit: Leaving. | ||
| [2011/11/07 18:25:12] <Ownage> every task should be split to include something really | ||
| [2011/11/07 18:25:32] <Ownage> example42 I believe has good examples | ||
| [2011/11/07 18:26:02] <rocket_> my problem is that everytime I think I have a good puppet design for a module I find I dont like it for one reason or another .. :/ | ||
| [2011/11/07 18:26:03] @ Quit: kenperkins: Quit: Computer has gone to sleep. | ||
| [2011/11/07 18:26:14] <Jixen> rocket_: So you would include that class in default/base... that's what Im looking to for. How to simply say all servers needs NTP but some are NTP servers. That use case is so common. | ||
| [2011/11/07 18:26:16] <Ownage> welcome to coding in general though, heh | ||
| [2011/11/07 18:26:29] <nevyn> my problem is we desperately need to do a complete refactor of the puppet codebase | ||
| [2011/11/07 18:26:33] <nevyn> but it's now non-trivial | ||
| [2011/11/07 18:26:50] <nevyn> and 3 years old | ||
| [2011/11/07 18:27:02] <nevyn> as a gource video demonstrated to me. | ||
| [2011/11/07 18:27:46] <rocket_> Jixen: http://www.devco.net/archives/2009/08/31/complex_data_and_puppet.php | ||
| [2011/11/07 18:28:27] <Jixen> Thx rocket. Nice speaking with and learning from u guys. Hope to see you at LISA maybe :) | ||
| [2011/11/07 18:28:35] <Ownage> Jixen: http://pastebin.com/P3r47q01 ? | ||
| [2011/11/07 18:29:48] <Jixen> thx Ownage | ||
| [2011/11/07 18:30:10] <Ownage> for my case I would actually just have that if statement inside of the ntp, since I consider them close | ||
| [2011/11/07 18:30:39] <Ownage> also that fits inline with my thought process of 'everything gets ntp, some get more (determined later out of site)' | ||
| [2011/11/07 18:30:48] <rocket_> Jixen you could do this | ||
| [2011/11/07 18:31:13] <rocket_> ntpserver = extlookup("ntpserver") | ||
| [2011/11/07 18:31:30] <rocket_> if $ntpserver == ${fqdn} | ||
| [2011/11/07 18:31:39] <rocket_> then include ntp::server | ||
| [2011/11/07 18:31:59] <rocket_> for an example of a way to think about it | ||
| [2011/11/07 18:32:28] <Jixen> rocket_: nice... that would be the so called "nodeless" config stuff I guess ? | ||
| [2011/11/07 18:33:13] <rocket_> yea it would be a test against all nodes etc .. | ||
| [2011/11/07 18:34:34] @ neonflux joined channel #puppet | ||
| [2011/11/07 18:34:37] <rocket_> Jixen there is a pro puppet book I do strongly recommend | ||
| [2011/11/07 18:34:48] @ choonming joined channel #puppet | ||
| [2011/11/07 18:34:53] <Jixen> rocket): I got it openned in front of me | ||
| [2011/11/07 18:35:24] <rocket_> read it from cover to cover about 3 times .. before it all starts to make sense :p | ||
| [2011/11/07 18:35:36] <Jixen> Read the new puppet 2.7 cookbook already ? | ||
| [2011/11/07 18:35:49] <rocket_> no have a url for getting that? | ||
| [2011/11/07 18:35:55] @ Quit: optiz0r: Read error: Operation timed out | ||
| [2011/11/07 18:36:18] <Jixen> http://www.packtpub.com/puppet-2-7-for-reliable-secure-systems-cloud-computing-cookbook/book | ||
| [2011/11/07 18:36:21] @ optiz0r joined channel #puppet | ||
| [2011/11/07 18:36:24] <rocket_> I typically am working on the monitoring front .. work for Zenoss .. so the automation side of my life has taken a slide ... | ||
| [2011/11/07 18:36:55] <Jixen> Out since this October | ||
| [2011/11/07 18:37:00] @ maxmartin joined channel #puppet | ||
| [2011/11/07 18:37:01] @ Enf joined channel #puppet | ||
| [2011/11/07 18:37:24] <rocket_> do you have it? | ||
| [2011/11/07 18:38:14] <Jixen> Nope... will reread ProPuppet first... maybe 3 time s:) | ||
| [2011/11/07 18:38:24] @ Quit: negronjl: Ping timeout: 276 seconds | ||
| [2011/11/07 18:38:46] <Ownage> wow that's expensive | ||
| [2011/11/07 18:38:57] <Ownage> maybe I'll have the ol' company buy it for me' | ||
| [2011/11/07 18:39:12] @ negronjl joined channel #puppet | ||
| [2011/11/07 18:39:14] <sascha_> dumb question maybe. I'm looking at implementing Hiera and I'm a complete puppet newb. If puppet really does all the work on the master, does that mean that Hiera only needs installing on the master? | ||
| [2011/11/07 18:39:23] @ Quit: Mishell: Ping timeout: 260 seconds | ||
| [2011/11/07 18:41:09] @ Quit: jsurfer: Quit: jsurfer | ||
| [2011/11/07 18:43:21] @ sc001 joined channel #puppet | ||
| [2011/11/07 18:44:47] @ Quit: newtMcKerr: Quit: Leaving. | ||
| [2011/11/07 18:52:36] @ KaiserBeto1 left channel #puppet () | ||
| [2011/11/07 18:56:56] @ Quit: trn: Quit: trn | ||
| [2011/11/07 19:01:02] @ Quit: sumsuch: Quit: sumsuch | ||
| [2011/11/07 19:01:27] @ Quit: lwhalen: Quit: Computer has gone to sleep | ||
| [2011/11/07 19:05:03] @ z3ndrag0n joined channel #puppet | ||
| [2011/11/07 19:05:14] @ Quit: skm: Quit: Computer has gone to sleep. | ||
| [2011/11/07 19:06:43] @ Quit: mitchellh: Quit: Computer has gone to sleep | ||
| [2011/11/07 19:08:23] @ sarkis joined channel #puppet | ||
| [2011/11/07 19:13:42] @ Quit: ldlework: Ping timeout: 240 seconds | ||
| [2011/11/07 19:15:07] @ littleidea joined channel #puppet | ||
| [2011/11/07 19:21:11] @ trn joined channel #puppet | ||
| [2011/11/07 19:21:37] @ Quit: bmahe: Quit: Leaving | ||
| [2011/11/07 19:23:35] @ negronjl_ joined channel #puppet | ||
| [2011/11/07 19:25:03] @ Quit: negronjl_: Client Quit | ||
| [2011/11/07 19:25:21] @ negronjl_ joined channel #puppet | ||
| [2011/11/07 19:25:53] @ Quit: negronjl: Ping timeout: 256 seconds | ||
| [2011/11/07 19:27:11] @ negronjl_ is now known as negronjl | ||
| [2011/11/07 19:29:40] @ soh joined channel #puppet | ||
| [2011/11/07 19:31:58] @ jongrocho joined channel #puppet | ||
| [2011/11/07 19:33:26] @ zwi joined channel #puppet | ||
| [2011/11/07 19:33:58] @ newtMcKerr joined channel #puppet | ||
| [2011/11/07 19:34:59] @ Quit: jongrocho: Remote host closed the connection | ||
| [2011/11/07 19:37:26] @ Quit: kelseyhi1htower: Ping timeout: 260 seconds | ||
| [2011/11/07 19:37:42] @ idl0r joined channel #puppet | ||
| [2011/11/07 19:38:07] @ kelseyhightower joined channel #puppet | ||
| [2011/11/07 19:40:41] @ tessier joined channel #puppet | ||
| [2011/11/07 19:42:25] @ Quit: Jixen: | ||
| [2011/11/07 19:44:01] @ Quit: davewongillies: Ping timeout: 252 seconds | ||
| [2011/11/07 19:46:53] @ Quit: negronjl: Quit: Bye | ||
| [2011/11/07 19:49:28] @ skm joined channel #puppet | ||
| [2011/11/07 19:51:05] @ lak joined channel #puppet | ||
| [2011/11/07 19:51:06] @ Quit: lak: Changing host | ||
| [2011/11/07 19:51:06] @ lak joined channel #puppet | ||
| [2011/11/07 19:51:17] @ eliteeaghi joined channel #puppet | ||
| [2011/11/07 19:54:50] @ Quit: eliteeaghi: Remote host closed the connection | ||
| [2011/11/07 19:55:25] @ Quit: tnguyen: Ping timeout: 240 seconds | ||
| [2011/11/07 19:55:57] @ Quit: jaymurtii: Ping timeout: 252 seconds | ||
| [2011/11/07 19:56:06] @ Quit: cliff-hm: Ping timeout: 260 seconds | ||
| [2011/11/07 19:56:56] @ davewongillies joined channel #puppet | ||
| [2011/11/07 19:58:53] @ zinbie joined channel #puppet | ||
| [2011/11/07 19:59:12] @ zinbie left channel #puppet () | ||
| [2011/11/07 20:00:08] @ kenperkins joined channel #puppet | ||
| [2011/11/07 20:03:41] @ Quit: Ownage: Ping timeout: 260 seconds | ||
| [2011/11/07 20:03:50] @ Quit: dgillies: Remote host closed the connection | ||
| [2011/11/07 20:04:38] @ tnguyen joined channel #puppet | ||
| [2011/11/07 20:05:00] @ Quit: tnguyen: Remote host closed the connection | ||
| [2011/11/07 20:05:02] @ Ownage joined channel #puppet | ||
| [2011/11/07 20:09:29] @ mitchellh joined channel #puppet | ||
| [2011/11/07 20:14:14] @ Quit: z3ndrag0n: Quit: Colloquy for iPhone - http://colloquy.mobi | ||
| [2011/11/07 20:15:54] @ chewie71 joined channel #puppet | ||
| [2011/11/07 20:16:55] @ jsurfer joined channel #puppet | ||
| [2011/11/07 20:17:04] @ adimania joined channel #puppet | ||
| [2011/11/07 20:17:43] @ AshishH joined channel #puppet | ||
| [2011/11/07 20:18:30] @ Quit: cyflea: Remote host closed the connection | ||
| [2011/11/07 20:21:49] @ Quit: adimania: Ping timeout: 255 seconds | ||
| [2011/11/07 20:21:59] @ Quit: littleidea: Read error: No route to host | ||
| [2011/11/07 20:30:10] <chewie71> When I run this... (puppetd --server puppet --waitforcert 60 --test) on the puppetmaster server...it works. From another host I get "SSLv3 read server certificate B: certificate verify failed". | ||
| [2011/11/07 20:30:45] <Djelibeybi> chewie71: check time sync between the server and the puppet master | ||
| [2011/11/07 20:31:19] @ dan__t joined channel #puppet | ||
| [2011/11/07 20:31:37] <chewie71> Djelibeybi: within 30 seconds of one another | ||
| [2011/11/07 20:31:50] @ Quit: zwi: Quit: Leaving. | ||
| [2011/11/07 20:32:36] <the_ramink> chewie71: check the name on the cert of your puppet master. You need to use the same servername when connection from the client openssl x509 -text -noout -in /var/lib/puppet/var/ssl/certs/mycert.pem (usually) | ||
| [2011/11/07 20:33:47] @ adimania joined channel #puppet | ||
| [2011/11/07 20:34:17] @ Quit: soh: Quit: Computer has gone to sleep. | ||
| [2011/11/07 20:34:48] <the_ramink> chewie71: actually /var/lib/puppet/ssl/certs/mycert.pem is closer to reality. | ||
| [2011/11/07 20:36:14] <chewie71> the_ramink: Mine are in /etc/puppet/ssl.... This client was probably connected last using an old ca.pem. Can I just delete that pem file and attempt again? | ||
| [2011/11/07 20:37:37] @ lwhalen joined channel #puppet | ||
| [2011/11/07 20:40:36] <the_ramink> yeah that should work, you might need to remove any unsigned cert for that server on the master | ||
| [2011/11/07 20:43:06] @ langworthy joined channel #puppet | ||
| [2011/11/07 20:43:35] @ bobbyz joined channel #puppet | ||
| [2011/11/07 20:44:53] <chewie71> the_ramink: deleted the entire /etc/puppet/ssl folder structure and re-ran it. Worked fine then.....thanks. | ||
| [2011/11/07 20:49:47] @ Quit: rmckee: Quit: Leaving | ||
| [2011/11/07 20:52:50] <the_ramink> chewie71: heh, cool that's what I usually do to | ||
| [2011/11/07 20:53:20] @ KaiserBeto1 joined channel #puppet | ||
| [2011/11/07 20:56:18] @ Quit: neonflux: Quit: Leaving. | ||
| [2011/11/07 20:58:43] @ Quit: KaiserBeto1: Read error: Connection reset by peer | ||
| [2011/11/07 20:59:46] @ Quit: fredden: Quit: Leaving | ||
| [2011/11/07 21:00:32] <nevyn> bkero: poke. | ||
| [2011/11/07 21:00:34] @ Quit: JodieC: Remote host closed the connection | ||
| [2011/11/07 21:01:20] @ KaiserBeto1 joined channel #puppet | ||
| [2011/11/07 21:01:22] @ bmahe joined channel #puppet | ||
| [2011/11/07 21:01:22] @ Quit: bmahe: Changing host | ||
| [2011/11/07 21:01:23] @ bmahe joined channel #puppet | ||
| [2011/11/07 21:03:05] @ bobra joined channel #puppet | ||
| [2011/11/07 21:03:08] @ Quit: KaiserBeto1: Read error: Connection reset by peer | ||
| [2011/11/07 21:07:10] <bkero> nevyn: hi | ||
| [2011/11/07 21:08:31] <nevyn> I was looking at puppet-gitolite. | ||
| [2011/11/07 21:09:21] <bkero> nevyn: ah, i have an updated version of that i havent pushed yet | ||
| [2011/11/07 21:09:40] <nevyn> I just had a chat to sitram about making gitolite more automation friendly | ||
| [2011/11/07 21:09:50] <bkero> nevyn: but its feature complete besides for some reason projects.list isnt working | ||
| [2011/11/07 21:09:53] <bkero> nevdo tell | ||
| [2011/11/07 21:09:58] <nevyn> he disagrees but did say that movingthe gitolite.conf out of the repo is doable | ||
| [2011/11/07 21:10:09] <nevyn> http://dpaste.org/6Y5C4/ | ||
| [2011/11/07 21:10:16] <bkero> i asked him about that too heh | ||
| [2011/11/07 21:10:56] <nevyn> so this should allow config.pp to get rid of the imho pointless commit | ||
| [2011/11/07 21:11:16] <nevyn> a commit that doesn't have a meaningful commit message is pointless ;) | ||
| [2011/11/07 21:11:48] <bkero> nevyn: i do manage the keys myself too :) | ||
| [2011/11/07 21:12:17] <nevyn> bkero: an example would be nice ;) | ||
| [2011/11/07 21:12:21] <bkero> we have a puppet module to create virtuals from all ldap users, then we realize them into pubkey files in gitolites keydir | ||
| [2011/11/07 21:12:49] <nevyn> so you keep the pubkey data in ldap | ||
| [2011/11/07 21:12:49] <nevyn> ? | ||
| [2011/11/07 21:12:51] <bkero> nevyn: ok, ill try that. less execs is always better | ||
| [2011/11/07 21:12:53] <bkero> yes | ||
| [2011/11/07 21:13:10] <bkero> it means we need a patched gitolite.pm file to ignore comments though :/ | ||
| [2011/11/07 21:13:29] <nevyn> I've had THAT discussion with him too. | ||
| [2011/11/07 21:13:32] <nevyn> no joy | ||
| [2011/11/07 21:13:44] <bkero> i can publish that if youre interested | ||
| [2011/11/07 21:13:57] <bkero> unfortunately the way ssh is coded it cant work many other ways | ||
| [2011/11/07 21:14:18] <bkero> ssh-lpk blows goats | ||
| [2011/11/07 21:14:43] <bkero> ugly malnourished goats with hairless spots | ||
| [2011/11/07 21:14:55] <nevyn> so sitram's take on that when we discussed was that the one line thing was a way to ensure one key per file. | ||
| [2011/11/07 21:15:06] <bkero> yea | ||
| [2011/11/07 21:15:43] <bkero> our ldap key realization script will append a number after the key, since users in our ldap db can have N ssh keys | ||
| [2011/11/07 21:16:54] <bkero> we just continue; on detecting ^ or # | ||
| [2011/11/07 21:18:38] <nevyn> bkero: have you tried sending sitaram the keyfile comment patch? | ||
| [2011/11/07 21:19:25] @ Quit: dan__t: Ping timeout: 240 seconds | ||
| [2011/11/07 21:20:29] <bkero> nevyn: no because right above where I patched there was a comment expressing the desired behavior | ||
| [2011/11/07 21:20:53] <nevyn> right. | ||
| [2011/11/07 21:22:11] <bkero> nevyn: unfortunately my module now had a lot of rhel-isms in it that I haven't taken out because it's in the middle of being deployed at work :) | ||
| [2011/11/07 21:23:23] <bkero> nevyn: http://it.pastebin.mozilla.org/1377048 | ||
| [2011/11/07 21:25:33] @ Quit: chewie71: Quit: Page closed | ||
| [2011/11/07 21:27:54] @ Quit: gniks1: Quit: Leaving. | ||
| [2011/11/07 21:29:25] @ sumsuch joined channel #puppet | ||
| [2011/11/07 21:32:15] @ Quit: Holocaine: Ping timeout: 256 seconds | ||
| [2011/11/07 21:32:29] <nevyn> bkero: hrm if there are multiple keys in the file last one wins? | ||
| [2011/11/07 21:32:40] <bkero> nevyn: undefined behavior :) | ||
| [2011/11/07 21:34:31] @ Quit: lpaul7: Remote host closed the connection | ||
| [2011/11/07 21:34:50] <nevyn> bkero: I think it's defined... | ||
| [2011/11/07 21:35:06] <nevyn> the last one will overwrite any previous ones | ||
| [2011/11/07 21:35:27] <bkero> nevyn: actually the first one will win it looks like | ||
| [2011/11/07 21:35:39] <bkero> wait, no, you're right, it's the last | ||
| [2011/11/07 21:36:07] @ Quit: maxmartin: Remote host closed the connection | ||
| [2011/11/07 21:36:11] <bkero> Correct, it's not ideal, but it works for us since that's the behavior of our ldap puppet module | ||
| [2011/11/07 21:36:21] <bkero> patches graciously welcomed :) | ||
| [2011/11/07 21:37:20] <nevyn> hrm | ||
| [2011/11/07 21:38:09] <nevyn> it'd be nice to actually parse the non-comments stuff and if there's more than one key generate a meaningful error. | ||
| [2011/11/07 21:38:27] <nevyn> like "keyfile contains multiple keys none-used" | ||
| [2011/11/07 21:41:29] <bkero> That sounds like less of a hack :) | ||
| [2011/11/07 21:42:09] <nevyn> bkero: heh | ||
| [2011/11/07 21:42:24] <nevyn> so is # in column one enough | ||
| [2011/11/07 21:42:28] <nevyn> for the generated keys? | ||
| [2011/11/07 21:42:36] <nevyn> do we really need ^ as well? | ||
| [2011/11/07 21:43:05] <nevyn> http://dpaste.org/UgpMh/ is what sitaram has said he would consider | ||
| [2011/11/07 21:43:06] <bkero> nevyn: reading back over my code again, I guess I miss on everything that doesn't m/^ssh/ | ||
| [2011/11/07 21:43:34] <bkero> that one would work as well :) | ||
| [2011/11/07 21:44:10] @ WALoeIII joined channel #puppet | ||
| [2011/11/07 21:45:02] @ dgillies joined channel #puppet | ||
| [2011/11/07 21:45:09] <bkero> nevyn: you're aware of puppet's immutable headers, right? :) | ||
| [2011/11/07 21:45:12] <nevyn> bkero: jump in #git if you want. | ||
| [2011/11/07 21:45:13] <nevyn> yes! | ||
| [2011/11/07 21:49:41] @ jongrocho joined channel #puppet | ||
| [2011/11/07 21:52:23] @ soh joined channel #puppet | ||
| [2011/11/07 21:54:07] <nevyn> bkero: so some win I think | ||
| [2011/11/07 21:55:45] @ Quit: cruzfox: Quit: cruzfox | ||
| [2011/11/07 21:55:54] @ negronjl joined channel #puppet | ||
| [2011/11/07 21:58:01] @ Quit: adnichols: Ping timeout: 260 seconds | ||
| [2011/11/07 21:58:33] @ gaveen joined channel #puppet | ||
| [2011/11/07 21:59:47] @ Quit: negronjl: Client Quit | ||
| [2011/11/07 22:00:18] @ Quit: skm: Quit: Computer has gone to sleep. | ||
| [2011/11/07 22:02:31] @ Quit: sc001: Remote host closed the connection | ||
| [2011/11/07 22:03:27] @ Meier joined channel #puppet | ||
| [2011/11/07 22:04:13] @ Quit: jongrocho: Remote host closed the connection | ||
| [2011/11/07 22:05:52] @ Quit: bma: Quit: ZNC - http://znc.sourceforge.net | ||
| [2011/11/07 22:06:04] @ bma joined channel #puppet | ||
| [2011/11/07 22:10:03] @ Quit: Djelibeybi: Quit: Textual IRC Client: http://www.textualapp.com/ | ||
| [2011/11/07 22:16:41] @ Quit: lwhalen: Quit: Computer has gone to sleep | ||
| [2011/11/07 22:32:11] @ riha joined channel #puppet | ||
| [2011/11/07 22:33:37] @ Quit: mosen: Quit: Leaving | ||
| [2011/11/07 22:33:56] @ sdog joined channel #puppet | ||
| [2011/11/07 22:38:02] @ _nono_ joined channel #puppet | ||
| [2011/11/07 22:40:38] @ jbraeuer joined channel #puppet | ||
| [2011/11/07 22:41:16] @ jodok joined channel #puppet | ||
| [2011/11/07 22:44:45] @ Quit: bobbyz: Read error: Connection reset by peer | ||
| [2011/11/07 22:51:21] @ Quit: Ownage: Read error: Operation timed out | ||
| [2011/11/07 22:53:48] @ Ownage joined channel #puppet | ||
| [2011/11/07 22:54:10] @ p3rror joined channel #puppet | ||
| [2011/11/07 22:55:18] @ Quit: hobbeswalsh: Quit: hobbeswalsh | ||
| [2011/11/07 22:56:33] @ Quit: lak: Quit: Leaving. | ||
| [2011/11/07 22:56:35] @ toi joined channel #puppet | ||
| [2011/11/07 22:58:14] @ d3c joined channel #puppet | ||
| [2011/11/07 22:58:27] @ kelseyhi1htower joined channel #puppet | ||
| [2011/11/07 22:59:16] @ Quit: Ownage: Ping timeout: 260 seconds | ||
| [2011/11/07 22:59:57] <d3c> I'm looking for a way to sync changes back to puppetmaster. puppet is managing a DDNS service where the zone files will change. on each change, I want that change synced back to puppetmaster's original zone file. asteve told me to use a git repo for this but should I really depend on such? I mean, my DDNS node doesn't have a git repo - it's just managed by puppet | ||
| [2011/11/07 23:00:40] @ Quit: kelseyhightower: Ping timeout: 255 seconds | ||
| [2011/11/07 23:01:05] @ Ownage joined channel #puppet | ||
| [2011/11/07 23:02:54] @ Quit: danikov: Quit: danikov | ||
| [2011/11/07 23:05:33] @ Quit: dgillies: Remote host closed the connection | ||
| [2011/11/07 23:05:39] @ Quit: langworthy: Quit: langworthy | ||
| [2011/11/07 23:11:14] @ Quit: soh: Quit: Computer has gone to sleep. | ||
| [2011/11/07 23:12:23] <bkero> nevyn: big win, thanks for pushing him | ||
| [2011/11/07 23:12:40] @ rutger_ joined channel #puppet | ||
| [2011/11/07 23:15:28] @ Quit: BartVB: Ping timeout: 248 seconds | ||
| [2011/11/07 23:15:42] @ Quit: gebi: Ping timeout: 240 seconds | ||
| [2011/11/07 23:15:50] @ Quit: jaytaph: Quit: jaytaph | ||
| [2011/11/07 23:16:25] @ Quit: jodok: Read error: Connection reset by peer | ||
| [2011/11/07 23:17:07] @ jodok joined channel #puppet | ||
| [2011/11/07 23:17:07] @ Quit: jodok: Changing host | ||
| [2011/11/07 23:17:07] @ jodok joined channel #puppet | ||
| [2011/11/07 23:18:16] @ skm joined channel #puppet | ||
| [2011/11/07 23:19:06] @ Quit: bolt12: Ping timeout: 260 seconds | ||
| [2011/11/07 23:19:59] @ Quit: Radex: Ping timeout: 260 seconds | ||
| [2011/11/07 23:20:22] <nevyn> bkero: :) | ||
| [2011/11/07 23:21:20] @ Vasik|work joined channel #puppet | ||
| [2011/11/07 23:21:47] @ Quit: Ownage: Read error: Operation timed out | ||
| [2011/11/07 23:22:59] @ Quit: skm: Client Quit | ||
| [2011/11/07 23:23:43] @ MattyM joined channel #puppet | ||
| [2011/11/07 23:23:53] @ Quit: metcalfc: Ping timeout: 256 seconds | ||
| [2011/11/07 23:24:30] @ Ownage joined channel #puppet | ||
| [2011/11/07 23:25:58] @ Quit: themurph: Quit: themurph | ||
| [2011/11/07 23:26:26] @ Quit: jbraeuer: Quit: jbraeuer | ||
| [2011/11/07 23:26:34] @ octane- joined channel #puppet | ||
| [2011/11/07 23:29:05] <Ownage> anyone around | ||
| [2011/11/07 23:29:08] @ Quit: mitchellh: Quit: ZOMG BYE | ||
| [2011/11/07 23:31:19] @ DJClean joined channel #puppet | ||
| [2011/11/07 23:31:47] @ bolt12 joined channel #puppet | ||
| [2011/11/07 23:32:13] @ Quit: Legooolas: Ping timeout: 240 seconds | ||
| [2011/11/07 23:32:44] @ Quit: sdog: Remote host closed the connection | ||
| [2011/11/07 23:33:13] <Ownage> this warning makes me unhappy: warning: Dynamic lookup of $hostname at /puppet/manifests/script.module.pp:23 is deprecated. Support will be removed in Puppet 2.8. Use a fully-qualified variable name (e.g., $classname::variable) or parameterized classes. | ||
| [2011/11/07 23:33:18] @ Legooolas joined channel #puppet | ||
| [2011/11/07 23:33:20] <Ownage> why does it think $hostname is a variable | ||
| [2011/11/07 23:33:25] @ Quit: toi: Quit: Leaving | ||
| [2011/11/07 23:33:54] <Ownage> instead of a fact | ||
| [2011/11/07 23:34:46] @ jongrocho joined channel #puppet | ||
| [2011/11/07 23:35:52] @ Quit: jongrocho: Remote host closed the connection | ||
| [2011/11/07 23:37:56] @ Quit: jodok: Quit: jodok | ||
| [2011/11/07 23:38:15] <noodles775> Ownage: I'm quite new to puppet, but I thought facts were top-level vars, ie. $::hostname should work? (as shown here: http://docs.puppetlabs.com/learning/variables.html#facts ) | ||
| [2011/11/07 23:38:41] <Ownage> everywhere in my manifests I use $factname | ||
| [2011/11/07 23:38:44] <Ownage> they work everywhere | ||
| [2011/11/07 23:38:50] <Ownage> except this line basically | ||
| [2011/11/07 23:39:02] <fragfutter> Ownage: and are deprecated starting with puppet 2.7 and will be gone in 2.8 | ||
| [2011/11/07 23:39:17] <Ownage> how does that explain that it started complaining on this line | ||
| [2011/11/07 23:39:25] <fragfutter> Ownage: see noodles775 comment | ||
| [2011/11/07 23:39:41] <Ownage> does it include how it passes 100 times of using $varname | ||
| [2011/11/07 23:40:02] <Ownage> and suddenly only starting in the last hour start complaining only about one line which if I change it no longer complains | ||
| [2011/11/07 23:40:05] @ jodok joined channel #puppet | ||
| [2011/11/07 23:40:06] @ Quit: jodok: Changing host | ||
| [2011/11/07 23:40:06] @ jodok joined channel #puppet | ||
| [2011/11/07 23:40:20] <Ownage> also, if I change it to $::hostname it doesn't complain but the value is null | ||
| [2011/11/07 23:41:30] <fragfutter> show code | ||
| [2011/11/07 23:41:51] @ ichilton joined channel #puppet | ||
| [2011/11/07 23:42:50] <Ownage> I think that for some reason $hostname is returning nothing | ||
| [2011/11/07 23:43:05] <Ownage> which puppet is thinking that it is a normal variable and throwing that variable | ||
| [2011/11/07 23:43:23] <Ownage> then when I specify it down to $::hostname it just goes with the null | ||
| [2011/11/07 23:43:31] <Ownage> that would explain why it doesn't care about any other variables | ||
| [2011/11/07 23:43:36] <Ownage> but not why it's happening | ||
| [2011/11/07 23:43:45] <Ownage> http://pastebin.com/dvartAV8 | ||
| [2011/11/07 23:44:31] @ jongrocho joined channel #puppet | ||
| [2011/11/07 23:46:16] @ Quit: jongrocho: Remote host closed the connection | ||
| [2011/11/07 23:47:04] @ mpdude joined channel #puppet | ||
| [2011/11/07 23:47:46] @ jongrocho joined channel #puppet | ||
| [2011/11/07 23:48:59] <Ownage> got it | ||
| [2011/11/07 23:49:17] <Ownage> oddly of all the variables on that line that one only works as ${::hostname} | ||
| [2011/11/07 23:49:34] <Ownage> not as ${hostname} or $hostname or $::hostname | ||
| [2011/11/07 23:49:42] <Ownage> all the rest work as $varname | ||
| [2011/11/07 23:51:08] <Ownage> thanks for the link noodles775 | ||
| [2011/11/07 23:51:31] @ pieter_ joined channel #puppet | ||
| [2011/11/07 23:51:31] <noodles775> Ownage: np | ||
| [2011/11/07 23:52:02] <Ownage> hey do you remember the puppet option to draw a diagram of the manifest relationships? | ||
| [2011/11/07 23:52:44] <Ownage> nvm I found it | ||
| [2011/11/07 23:55:52] @ Kazuhiro joined channel #puppet | ||
| [2011/11/07 23:56:51] @ gebi joined channel #puppet | ||
| [2011/11/07 23:56:53] @ sp33t left channel #puppet ("Leaving") | ||
| [2011/11/07 23:57:31] @ sp33t joined channel #puppet |
Generated by irclog2html.py 2.9.2 by Marius Gedminas - find it at mg.pov.lt!