| [2009/05/08 00:19:43] @ Log started by gepetto | ||
| [2009/05/08 00:19:43] @ Quit: pdt: | ||
| [2009/05/08 00:20:41] @ Quit: Guest52608: Remote closed the connection | ||
| [2009/05/08 00:20:43] @ odin joined channel #puppet | ||
| [2009/05/08 00:21:11] @ odin is now known as Guest38111 | ||
| [2009/05/08 00:25:18] @ chrysn_ joined channel #puppet | ||
| [2009/05/08 00:39:06] @ Quit: chrysn: Read error: 110 (Connection timed out) | ||
| [2009/05/08 00:50:25] @ mfoster left channel #puppet () | ||
| [2009/05/08 01:02:06] @ themurph joined channel #puppet | ||
| [2009/05/08 01:05:58] @ Quit: shake-n-bake: | ||
| [2009/05/08 01:07:38] @ Quit: mikearr: Read error: 110 (Connection timed out) | ||
| [2009/05/08 01:08:31] @ Quit: brothers: | ||
| [2009/05/08 01:09:11] @ shake-n-bake joined channel #puppet | ||
| [2009/05/08 01:15:14] @ mikearr joined channel #puppet | ||
| [2009/05/08 01:16:00] @ kibahop joined channel #puppet | ||
| [2009/05/08 01:16:09] @ Quit: kibahop: Client Quit | ||
| [2009/05/08 01:27:26] @ Quit: johan-s: "Leaving..." | ||
| [2009/05/08 01:28:53] @ Quit: shake-n-bake: | ||
| [2009/05/08 01:32:25] @ Quit: gaveen__: No route to host | ||
| [2009/05/08 01:35:17] @ gaveen__ joined channel #puppet | ||
| [2009/05/08 01:59:21] @ descala joined channel #puppet | ||
| [2009/05/08 02:10:11] @ nasrat joined channel #puppet | ||
| [2009/05/08 02:13:08] @ mikearr_ joined channel #puppet | ||
| [2009/05/08 02:17:11] @ lak joined channel #puppet | ||
| [2009/05/08 02:18:11] @ Quit: mikearr: Read error: 110 (Connection timed out) | ||
| [2009/05/08 02:22:57] @ kolla joined channel #puppet | ||
| [2009/05/08 02:26:12] @ Quit: descala: | ||
| [2009/05/08 02:27:36] @ andrewcshafer joined channel #puppet | ||
| [2009/05/08 02:33:49] @ Quit: themurph: Read error: 110 (Connection timed out) | ||
| [2009/05/08 02:44:36] @ Quit: fbe: Read error: 110 (Connection timed out) | ||
| [2009/05/08 02:45:48] * monachus is in limbo. | ||
| [2009/05/08 02:48:01] @ nakano is now known as nakano_ | ||
| [2009/05/08 02:53:13] @ DavidS joined channel #puppet | ||
| [2009/05/08 02:54:18] @ nakano_ is now known as nakano | ||
| [2009/05/08 02:56:48] @ Quit: nasrat: | ||
| [2009/05/08 03:01:20] @ Quit: gaveen__: Read error: 110 (Connection timed out) | ||
| [2009/05/08 03:02:40] @ gaveen__ joined channel #puppet | ||
| [2009/05/08 03:04:51] @ Quit: lak: | ||
| [2009/05/08 03:06:00] @ nasrat joined channel #puppet | ||
| [2009/05/08 03:11:25] @ Quit: mikearr_: Read error: 110 (Connection timed out) | ||
| [2009/05/08 03:15:38] @ mvn071 joined channel #puppet | ||
| [2009/05/08 03:17:57] @ MattyM joined channel #puppet | ||
| [2009/05/08 03:20:47] @ mikearr_ joined channel #puppet | ||
| [2009/05/08 03:24:23] @ Quit: punkcut: Read error: 54 (Connection reset by peer) | ||
| [2009/05/08 03:25:13] @ Quit: MattyM: Read error: 113 (No route to host) | ||
| [2009/05/08 03:29:11] @ MattyM joined channel #puppet | ||
| [2009/05/08 03:31:58] @ nakano is now known as nakano_ | ||
| [2009/05/08 03:33:48] @ Quit: Djelibeybi: "Leaving" | ||
| [2009/05/08 03:34:23] @ Innocenti joined channel #puppet | ||
| [2009/05/08 03:34:24] @ nasrat_ joined channel #puppet | ||
| [2009/05/08 03:34:27] @ Quit: nasrat_: Remote closed the connection | ||
| [2009/05/08 03:35:11] @ Quit: nasrat: Read error: 104 (Connection reset by peer) | ||
| [2009/05/08 03:40:53] @ johan-s joined channel #puppet | ||
| [2009/05/08 03:43:17] @ Quit: Kindred: Read error: 104 (Connection reset by peer) | ||
| [2009/05/08 03:43:24] @ Kindred joined channel #puppet | ||
| [2009/05/08 03:47:04] @ aymerick joined channel #puppet | ||
| [2009/05/08 03:53:18] @ DerekW joined channel #puppet | ||
| [2009/05/08 04:05:20] @ zeroXten joined channel #puppet | ||
| [2009/05/08 04:07:50] @ Quit: gstratton: | ||
| [2009/05/08 04:08:31] @ tim|mb joined channel #puppet | ||
| [2009/05/08 04:09:23] @ Quit: andrewcshafer: | ||
| [2009/05/08 04:10:27] @ Quit: MarlondB: | ||
| [2009/05/08 04:16:19] @ Quit: Berge: Read error: 104 (Connection reset by peer) | ||
| [2009/05/08 04:17:40] @ Berge joined channel #puppet | ||
| [2009/05/08 04:19:38] @ edwardam joined channel #puppet | ||
| [2009/05/08 04:23:19] @ mgk joined channel #puppet | ||
| [2009/05/08 04:34:44] * Volcane tries to figure out how to fork with git, and add some code to facter in a local branch | ||
| [2009/05/08 04:36:13] <SyTonnerre> git branch -b yourlocalthing origin/master | ||
| [2009/05/08 04:36:28] <jenza> Volcane: You need http://www.worldwidefred.com/airforkone.htm | ||
| [2009/05/08 04:38:29] <Volcane> sure, know how to branch, dont know what to branch against, dont know what people generally name their branches as etcetc | ||
| [2009/05/08 04:38:40] <Volcane> SyTonnerre: did you ask for disk facts the other day? | ||
| [2009/05/08 04:38:51] <SyTonnerre> Volcane, I don't remember, no | ||
| [2009/05/08 04:38:56] <Volcane> ah k | ||
| [2009/05/08 04:39:18] <Volcane> i made some, trying to figure out how to use git properly :) | ||
| [2009/05/08 04:40:43] <SyTonnerre> What exactly do they do? Create partitions and file systems? Or manage /etc/vfstab? | ||
| [2009/05/08 04:42:32] @ Djelibeybi joined channel #puppet | ||
| [2009/05/08 04:43:12] <Volcane> http://pastie.org/471699 | ||
| [2009/05/08 04:43:30] @ monzie joined channel #puppet | ||
| [2009/05/08 04:43:53] <monzie> Hello | ||
| [2009/05/08 04:43:55] <monzie> I got a (simple) puppet error | ||
| [2009/05/08 04:43:57] <monzie> err: Could not request certificate: Certificate retrieval failed: Could not connect to freedom.local on port 8140 | ||
| [2009/05/08 04:44:03] <monzie> When I ran a sudo puppetd --server freedom.local --test --verbose | ||
| [2009/05/08 04:44:14] <monzie> any clue as to why this is the case? | ||
| [2009/05/08 04:44:18] <Volcane> and can you connect to freedom.local on port 8140? | ||
| [2009/05/08 04:44:29] <monzie> Volcane: telent / ssh ? | ||
| [2009/05/08 04:44:33] <Volcane> telnet | ||
| [2009/05/08 04:44:52] <monzie> manish@freedom ~ % telnet freedome.local 8140 | ||
| [2009/05/08 04:44:52] <monzie> freedome.local: nodename nor servname provided, or not known | ||
| [2009/05/08 04:45:06] <Volcane> so thats the problem then | ||
| [2009/05/08 04:45:26] <monzie> Volcane: http://pastebin.ca/1416168 | ||
| [2009/05/08 04:45:34] <SyTonnerre> monzie, freedom or freedome? | ||
| [2009/05/08 04:45:46] <monzie> SyTonnerre: made that typo earlier.. now see this http://pastebin.ca/1416168 | ||
| [2009/05/08 04:45:58] <victor_> free domes for everyone! | ||
| [2009/05/08 04:46:01] <Volcane> looks like your master isnt running on that machine | ||
| [2009/05/08 04:46:01] <monzie> lol | ||
| [2009/05/08 04:46:11] <monzie> Volcane: I am on OSX. How do I start the master? | ||
| [2009/05/08 04:46:40] <Volcane> no idea, i just use OS X as a desktop, would never dream of actually running anything on it :P | ||
| [2009/05/08 04:46:56] <monzie> sudo puppetmasterd | ||
| [2009/05/08 04:46:57] <monzie> Got 6 failure(s) while initializing: Tried to get name field for silly id 4294967294; Failed to retrieve current state of resource: Could not find group puppet; Tried to get name field for silly id 4294967294; Failed to retrieve current state of resource: Could not find group puppet; Tried to get name field for silly id 4294967294; Failed to retrieve current state of resource: Could not find group puppet | ||
| [2009/05/08 04:47:32] <monzie> I also deploy on Linux.. just that if I could develoop my provider on OSX, I could use Textmate instead of SSH + Vim :( | ||
| [2009/05/08 04:47:48] <Volcane> textmate+ssh+svn | ||
| [2009/05/08 04:47:57] <monzie> Volcane: you can do that? | ||
| [2009/05/08 04:48:08] <Volcane> linuxbox+samba -> os x + textmate | ||
| [2009/05/08 04:48:16] <monzie> hmm | ||
| [2009/05/08 04:48:17] <Volcane> yes, textmate speaks svn just fine | ||
| [2009/05/08 04:48:18] <Djelibeybi> TextMate can do svn | ||
| [2009/05/08 04:48:33] <monzie> mercurial? | ||
| [2009/05/08 04:48:35] <monzie> lemme check | ||
| [2009/05/08 04:48:41] <Djelibeybi> Not sure. There may be a plug in for it. | ||
| [2009/05/08 04:48:52] <Djelibeybi> You could also load FUSE+sshfs | ||
| [2009/05/08 04:50:02] <monzie> I think me will use TextMate + mercurial | ||
| [2009/05/08 04:50:25] <HarryCalahan> Djelibeybi: is there an sshfs for mac osx? | ||
| [2009/05/08 04:51:12] <ssm> HarryCalahan: http://www.macfusionapp.org/ should do just that | ||
| [2009/05/08 04:51:29] <Djelibeybi> HarryCalahan: I'm pretty sure sshfs ships with MacFUSE anyway | ||
| [2009/05/08 04:52:10] <HarryCalahan> interesting. (not that i use a mac, but next time someone with a mac complains...) | ||
| [2009/05/08 04:52:30] <ssm> Djelibeybi: looks like MacFUSE includes "sshfs, procfs, AccessibilityFS, GrabFS, LoopbackFS, SpotlightFS, and YouTubeFS" :) | ||
| [2009/05/08 04:53:11] <Djelibeybi> ssm: Yes, I knew I didn't have to do much beyond load MacFUSE to get sshfs. Though, macfusion gives you a GUI. :) | ||
| [2009/05/08 04:53:34] <ssm> Djelibeybi: yes, I use macfusion, which again needs macfuse installed. | ||
| [2009/05/08 04:54:12] <ssm> Hmmm, has anyone made a FUSE PuppetFS yet? :P | ||
| [2009/05/08 04:55:01] @ monzie left channel #puppet () | ||
| [2009/05/08 04:55:06] @ monzie joined channel #puppet | ||
| [2009/05/08 04:55:07] @ monzie left channel #puppet () | ||
| [2009/05/08 04:55:27] @ monzie joined channel #puppet | ||
| [2009/05/08 05:13:31] @ DerekW_ joined channel #puppet | ||
| [2009/05/08 05:14:09] @ abustardo joined channel #puppet | ||
| [2009/05/08 05:30:51] @ Quit: DerekW: Read error: 110 (Connection timed out) | ||
| [2009/05/08 05:32:12] * monzie wants to fix his monit provider to take care of something like this | ||
| [2009/05/08 05:32:12] <monzie> http://pastebin.ca/1416202 | ||
| [2009/05/08 05:32:51] @ glaw joined channel #puppet | ||
| [2009/05/08 05:33:03] @ Quit: Berge: Read error: 104 (Connection reset by peer) | ||
| [2009/05/08 05:35:08] @ ohadlevy left channel #puppet () | ||
| [2009/05/08 05:35:36] @ Quit: PhabX: "Leaving..." | ||
| [2009/05/08 06:04:38] <monzie> when we say | ||
| [2009/05/08 06:04:39] <monzie> service { "httpd": | ||
| [2009/05/08 06:04:39] <monzie> ensure => running, | ||
| [2009/05/08 06:04:39] <monzie> require => Package["httpd"], | ||
| [2009/05/08 06:04:39] <monzie> } | ||
| [2009/05/08 06:04:46] <monzie> What does the "service" keyword stand for? | ||
| [2009/05/08 06:04:58] <monzie> and more importantly how do I subclass it and make use of it? | ||
| [2009/05/08 06:05:31] <HarryCalahan> service is a type and you don't subclass types. | ||
| [2009/05/08 06:05:45] <HarryCalahan> you define classes that contain (multiple) types | ||
| [2009/05/08 06:05:52] <HarryCalahan> http://reductivelabs.com/trac/puppet/wiki/TypeReference | ||
| [2009/05/08 06:05:57] @ MarlondB joined channel #puppet | ||
| [2009/05/08 06:05:59] <monzie> HarryCalahan: I want to modify the service type behavio | ||
| [2009/05/08 06:06:04] <monzie> *behaviour | ||
| [2009/05/08 06:06:28] <HarryCalahan> then you need to get down and dirty with ruby. | ||
| [2009/05/08 06:06:33] <HarryCalahan> But what do you want to change? | ||
| [2009/05/08 06:06:37] <monzie> so that I can do something like | ||
| [2009/05/08 06:06:37] <monzie> service { "thingie": | ||
| [2009/05/08 06:06:38] <monzie> provider => "monit", | ||
| [2009/05/08 06:06:38] <monzie> start => "/opt/thingie/start-stop-thingie start", | ||
| [2009/05/08 06:06:57] <monzie> } | ||
| [2009/05/08 06:07:03] <monzie> (just a trivial example) | ||
| [2009/05/08 06:07:19] <HarryCalahan> then you write a new service provider (again in ruby) | ||
| [2009/05/08 06:07:36] <monzie> The "provider=>monit" should make sure that monit takes care of this service | ||
| [2009/05/08 06:07:47] <pietro> http://reductivelabs.com/trac/puppet/wiki/TypeReference#service | ||
| [2009/05/08 06:07:53] <monzie> Here's what I want | ||
| [2009/05/08 06:07:54] <monzie> service { "thingie": | ||
| [2009/05/08 06:07:54] <monzie> provider => "monit", | ||
| [2009/05/08 06:07:55] <monzie> start => "/opt/thingie/start-stop-thingie start", | ||
| [2009/05/08 06:07:55] <monzie> stop => "/opt/thingie/start-stop-thingie stop", | ||
| [2009/05/08 06:07:55] <monzie> pidfile => "/var/thingie/pidfile.pid", | ||
| [2009/05/08 06:07:56] <monzie> monitextra => "group assorted_thingies\nif memory > 120 Mb then restart", | ||
| [2009/05/08 06:07:58] <monzie> require => Package["thingie"], | ||
| [2009/05/08 06:08:00] <monzie> subscribe => File["/etc/thingie.conf"] | ||
| [2009/05/08 06:08:02] <monzie> } | ||
| [2009/05/08 06:08:02] <Volcane> monzie: paste on pastie.org please | ||
| [2009/05/08 06:08:04] <monzie> would produce something like this in /etc/monit.d/thingie | ||
| [2009/05/08 06:08:06] <monzie> check process thingie with pidfile /var/thingie/pidfile.pid | ||
| [2009/05/08 06:08:08] <monzie> start program = "/opt/thingie/start-stop-thingie start" | ||
| [2009/05/08 06:08:10] <monzie> stop program = "/opt/thingie/start-stop-thingie stop" | ||
| [2009/05/08 06:08:10] <HarryCalahan> stop pasting to the channel | ||
| [2009/05/08 06:08:12] <monzie> group assorted_thingies | ||
| [2009/05/08 06:08:14] <monzie> if memory > 120 Mb then restart | ||
| [2009/05/08 06:08:16] <monzie> and when it needs to stop the service will start it wihth | ||
| [2009/05/08 06:08:18] <monzie> monit start thingie | ||
| [2009/05/08 06:08:20] <monzie> or | ||
| [2009/05/08 06:08:22] <monzie> monit stop thingie | ||
| [2009/05/08 06:08:24] <monzie> sorry. | ||
| [2009/05/08 06:08:26] <monzie> http://pastebin.ca/1416202 | ||
| [2009/05/08 06:08:32] <pietro> monzie: search for a monit module | ||
| [2009/05/08 06:08:43] <monzie> pietro: there is none. I am the one writing it :) | ||
| [2009/05/08 06:09:28] <pietro> monzie: https://labs.riseup.net/code/projects/show/puppetmodules | ||
| [2009/05/08 06:12:46] <monzie> pietro: cool! | ||
| [2009/05/08 06:12:58] <monzie> pietro: can I use this in a commercial / production environment ? | ||
| [2009/05/08 06:16:03] <pietro> iirc the license is gpl. so yes | ||
| [2009/05/08 06:16:45] @ verwilst joined channel #puppet | ||
| [2009/05/08 06:16:51] @ mfladischer joined channel #puppet | ||
| [2009/05/08 06:17:34] <monzie> pietro: if you are the author, please add a "COPYING" file.. the git clone has no mention of the license.. which would make it public domain | ||
| [2009/05/08 06:17:47] <monzie> (it has no copyright information on it whatsoever ) | ||
| [2009/05/08 06:17:55] <Volcane> copyright doesnt need to be stated to exist | ||
| [2009/05/08 06:18:00] <monzie> really? | ||
| [2009/05/08 06:18:03] <Volcane> really | ||
| [2009/05/08 06:18:23] <Volcane> in the absense of it, the safest thing is to assume quite the opposite of public domain :) | ||
| [2009/05/08 06:18:23] <monzie> oh | ||
| [2009/05/08 06:18:40] <monzie> which means I cannot use the module_monit from pietro | ||
| [2009/05/08 06:18:42] <monzie> :( | ||
| [2009/05/08 06:18:43] <HarryCalahan> so all those mp3 files that came with a file_id.diz and no copyright file are not public domain. | ||
| [2009/05/08 06:21:43] <monzie> pietro: would you mind putting a license notice on the project(s) ? It's kinda scary now to use it.. esp after what Volcane said | ||
| [2009/05/08 06:22:29] <monzie> example, I would like make some modifications to it.. maybe even try to contribute my code to it... but i need to know what I am getting into.. | ||
| [2009/05/08 06:23:30] @ Quit: gaveen__: Read error: 145 (Connection timed out) | ||
| [2009/05/08 06:25:15] @ tazz joined channel #puppet | ||
| [2009/05/08 06:25:56] <pietro> monzie: ill contact the original author and add the license ot the module as soon as he answers | ||
| [2009/05/08 06:26:15] <monzie> pietro: that would be so amazing.. | ||
| [2009/05/08 06:26:48] <monzie> pietro: I have a few ideas of my own for a monit module.. maybe i'll talk to the author and present my ideas.. maybe I can sneak a patch in and make my first contribution to puppet :) | ||
| [2009/05/08 06:28:08] @ mikepea joined channel #puppet | ||
| [2009/05/08 06:29:10] @ squiddle joined channel #puppet | ||
| [2009/05/08 06:29:54] @ Quit: tim|mb: | ||
| [2009/05/08 06:33:25] <monzie> pietro / Volcane : this is how my provider works; http://pastebin.ca/1416255 | ||
| [2009/05/08 06:34:06] <Volcane> monzie: can you not provide a monitor provider for the service{} type? | ||
| [2009/05/08 06:34:22] <Volcane> s/monitor/monit | ||
| [2009/05/08 06:34:23] <monzie> Volcane: not sure I get you. | ||
| [2009/05/08 06:34:53] <monzie> Volcane: that would be useful to start/stop services in monit's control, rather than populating the configuration file. | ||
| [2009/05/08 06:35:00] <Volcane> monzie: well today you can do service{"puppet": ensure => running } and it will do the right thing with SMF, sysv init or whatever | ||
| [2009/05/08 06:35:14] <Volcane> monzie: so surely you can make it deal with monit too? | ||
| [2009/05/08 06:35:36] <monzie> Volcane: hmm | ||
| [2009/05/08 06:36:31] <Volcane> it just seems very close to what service does and its confusing to have both | ||
| [2009/05/08 06:36:51] <Volcane> esp since yours isnt modelled closely around service with slightly different names for properties and stuff | ||
| [2009/05/08 06:37:37] @ gaveen__ joined channel #puppet | ||
| [2009/05/08 06:37:52] @ docelic joined channel #puppet | ||
| [2009/05/08 06:38:24] @ monzie_ joined channel #puppet | ||
| [2009/05/08 06:38:40] @ Quit: monzie_: Remote closed the connection | ||
| [2009/05/08 06:38:53] @ monzie_ joined channel #puppet | ||
| [2009/05/08 06:38:57] @ Quit: monzie: Read error: 54 (Connection reset by peer) | ||
| [2009/05/08 06:40:19] @ Quit: MarlondB: Read error: 110 (Connection timed out) | ||
| [2009/05/08 06:45:21] <monzie_> Volcane: I am essentially trying to make it populate the configuration file | ||
| [2009/05/08 06:45:27] <monzie_> ie monit configuration file | ||
| [2009/05/08 06:46:02] @ monzie_ is now known as monzie | ||
| [2009/05/08 06:46:28] @ Quit: MattyM: "ta ta" | ||
| [2009/05/08 06:46:42] <Volcane> sounds reasonable, with SMF it edits xml files and tells it to load it | ||
| [2009/05/08 06:46:52] <Volcane> so i am sure you could make service{} speak monit | ||
| [2009/05/08 06:50:43] @ monzie_ joined channel #puppet | ||
| [2009/05/08 06:50:50] @ Quit: monzie_: Remote closed the connection | ||
| [2009/05/08 06:50:52] @ Quit: monzie: Read error: 54 (Connection reset by peer) | ||
| [2009/05/08 06:51:02] @ monzie joined channel #puppet | ||
| [2009/05/08 06:57:51] @ Quit: erm_: Read error: 60 (Operation timed out) | ||
| [2009/05/08 06:58:01] @ tim|mb joined channel #puppet | ||
| [2009/05/08 07:10:52] @ Quit: alban2: "A bientot" | ||
| [2009/05/08 07:13:20] <monzie> Volcane: for which I would have to subclass from base.rb and carry on right? | ||
| [2009/05/08 07:13:34] * Volcane 's not developed any providers etc | ||
| [2009/05/08 07:15:06] <monzie> Volcane: this is what the service provider might look like http://pastebin.ca/1416292 | ||
| [2009/05/08 07:19:41] @ Quit: tim|mb: | ||
| [2009/05/08 07:22:29] @ sdague joined channel #puppet | ||
| [2009/05/08 07:25:24] <sdague> I've written a zypper package provider for puppet, what's the right way to contribute that back? | ||
| [2009/05/08 07:28:50] @ pdt joined channel #puppet | ||
| [2009/05/08 07:29:02] @ tim|mb joined channel #puppet | ||
| [2009/05/08 07:31:03] @ Quit: mfladischer: "Ex-Chat" | ||
| [2009/05/08 07:36:41] @ keithlard joined channel #puppet | ||
| [2009/05/08 07:38:49] <ssm> sdague: http://reductivelabs.com/trac/puppet/wiki/DevelopmentLifecycle may give a hint or three | ||
| [2009/05/08 07:38:56] <keithlard> what up | ||
| [2009/05/08 07:41:14] @ ethan_rowe joined channel #puppet | ||
| [2009/05/08 07:42:34] <sdague> ssm: thanks | ||
| [2009/05/08 07:42:45] <ssm> any time :) | ||
| [2009/05/08 07:43:18] @ Quit: pdt: | ||
| [2009/05/08 07:55:28] @ pdt joined channel #puppet | ||
| [2009/05/08 07:59:09] @ Quit: maxagaz: "Leaving" | ||
| [2009/05/08 07:59:57] @ Quit: docelic: Remote closed the connection | ||
| [2009/05/08 08:00:27] @ Quit: Djelibeybi: "Leaving" | ||
| [2009/05/08 08:01:30] <DerekW_> Anyone tried 0.25beta on Solaris yet? | ||
| [2009/05/08 08:01:45] <DerekW_> In particular the cron type | ||
| [2009/05/08 08:03:11] @ briandquinn joined channel #puppet | ||
| [2009/05/08 08:07:11] @ Quit: pdt: | ||
| [2009/05/08 08:16:47] @ erm_ joined channel #puppet | ||
| [2009/05/08 08:38:18] @ Quit: briandquinn: | ||
| [2009/05/08 08:39:07] @ Quit: monzie: | ||
| [2009/05/08 08:46:36] @ mccune joined channel #puppet | ||
| [2009/05/08 08:56:18] @ Quit: gaveen__: Connection timed out | ||
| [2009/05/08 08:58:43] @ Quit: bbot__: "Ухожу" | ||
| [2009/05/08 09:12:17] <Volcane> arg, when running from the command line or puppetd --test or facter, this works fine "size = File.open(sfile).gets.chomp if File.exists?(sfile)" run puppet as a daemon and it hangs/failed/dies right there | ||
| [2009/05/08 09:12:32] <Volcane> this is in a custom fact | ||
| [2009/05/08 09:13:35] @ brothers joined channel #puppet | ||
| [2009/05/08 09:16:18] @ kngus joined channel #puppet | ||
| [2009/05/08 09:17:09] @ kngus left channel #puppet () | ||
| [2009/05/08 09:27:29] @ Quit: elijahwright: Read error: 104 (Connection reset by peer) | ||
| [2009/05/08 09:37:29] @ rasputnik joined channel #puppet | ||
| [2009/05/08 09:37:59] @ bobbyz joined channel #puppet | ||
| [2009/05/08 09:39:45] @ devicenull_ joined channel #puppet | ||
| [2009/05/08 09:43:42] @ Quit: Demosthenes: "leaving" | ||
| [2009/05/08 09:43:49] @ Quit: nigelk_: | ||
| [2009/05/08 09:45:54] @ flakrat joined channel #puppet | ||
| [2009/05/08 09:55:40] @ Quit: mgk: brown.freenode.net irc.freenode.net | ||
| [2009/05/08 09:55:40] @ Quit: pugnacity: brown.freenode.net irc.freenode.net | ||
| [2009/05/08 09:55:41] @ Quit: victor_: brown.freenode.net irc.freenode.net | ||
| [2009/05/08 09:55:42] @ Quit: euph: brown.freenode.net irc.freenode.net | ||
| [2009/05/08 09:55:42] @ Quit: jamesturnbull: brown.freenode.net irc.freenode.net | ||
| [2009/05/08 09:55:43] @ Quit: Risar: brown.freenode.net irc.freenode.net | ||
| [2009/05/08 09:55:43] @ Quit: walrus: brown.freenode.net irc.freenode.net | ||
| [2009/05/08 09:55:44] @ Quit: monachus: brown.freenode.net irc.freenode.net | ||
| [2009/05/08 09:56:39] @ mgk joined channel #puppet | ||
| [2009/05/08 09:57:54] @ Quit: int: Remote closed the connection | ||
| [2009/05/08 09:57:56] @ victor_ joined channel #puppet | ||
| [2009/05/08 09:57:58] @ Quit: devicenull: Read error: 110 (Connection timed out) | ||
| [2009/05/08 09:58:07] @ euph joined channel #puppet | ||
| [2009/05/08 09:58:28] @ jamesturnbull joined channel #puppet | ||
| [2009/05/08 09:58:39] @ walrus joined channel #puppet | ||
| [2009/05/08 10:00:12] @ Quit: blahdeblah: Remote closed the connection | ||
| [2009/05/08 10:00:13] @ blahdeblah1 joined channel #puppet | ||
| [2009/05/08 10:02:52] @ Risar joined channel #puppet | ||
| [2009/05/08 10:04:57] @ nigelk joined channel #puppet | ||
| [2009/05/08 10:05:45] @ axisys joined channel #puppet | ||
| [2009/05/08 10:10:27] @ Joelio joined channel #puppet | ||
| [2009/05/08 10:10:52] <Joelio> hi all, does anyone have any written up experiences of using fai with puppet? | ||
| [2009/05/08 10:11:58] @ int joined channel #puppet | ||
| [2009/05/08 10:12:16] @ mfoster joined channel #puppet | ||
| [2009/05/08 10:13:19] <Volcane> what do you want to achieve? | ||
| [2009/05/08 10:14:02] @ pugnacity joined channel #puppet | ||
| [2009/05/08 10:14:12] <Joelio> I'm just trying to ascertain if there are any gotchas etc. I've got a working FAI setup now, that bootstraps a minimal environment, looking at using puppet to turn the vanilla install into something specific | ||
| [2009/05/08 10:14:39] <HarryCalahan> Joelio: i'm using puppet so there is no more need for fai. Boot installer from the net (bootp). Install a base system (preseeded as good as possible). Install Puppet. Pulls in all the rest | ||
| [2009/05/08 10:14:47] <Volcane> yeah, with kickstart i just install a few possible permutation of machine (mostly due to drive layout differences, some with hard raid etc) but the OS is all the same | ||
| [2009/05/08 10:14:54] <Volcane> doing the actual puppet stuff is post-fai really | ||
| [2009/05/08 10:15:29] <Volcane> but keep FAI only to do the absolute minimum | ||
| [2009/05/08 10:15:41] <Volcane> 1) install os 2) install puppet/facter/ruby-shadow 3) put down initial config | ||
| [2009/05/08 10:15:42] <Volcane> reboot | ||
| [2009/05/08 10:16:00] <Volcane> where intiial config is just /etc/puppet/puppet.conf in my case | ||
| [2009/05/08 10:17:32] <Joelio> Well kickstart is all well and good, but we're a Debian shop... and FAI is sorted now with automagic partitoninng, PXE booting goodness anyway so that's not the issue. | ||
| [2009/05/08 10:17:52] <joe-mac> FAI is disgusting | ||
| [2009/05/08 10:17:59] <Volcane> yes, what i am saying is KS and FAI is the same, and thats just how i use KS + puppet | ||
| [2009/05/08 10:18:03] <joe-mac> but preseed is inadequate | ||
| [2009/05/08 10:18:04] <Volcane> you can achieve the same with FAI | ||
| [2009/05/08 10:18:10] <joe-mac> such is the story of my life :-( | ||
| [2009/05/08 10:18:40] <Volcane> i guess the big thing i am saying is dont use FAI to config manage a lot of stuff and then puppet from there, make all machines as close to same as possible at install time and leave customisation to puppet | ||
| [2009/05/08 10:18:48] <HarryCalahan> joe-mac: well pressed allows the installation of my base systems. (except for the weird, fucked up, harddrive partitioning) | ||
| [2009/05/08 10:19:20] <joe-mac> HarryCalahan: yea, we require raid 1, so, the preseed totally fails in that department. on 8.04 LTS of ubuntu at least | ||
| [2009/05/08 10:19:38] <Joelio> Volcane: Yes, I'm not using FAI for config management or softupdates etc.. That's the reason I'm here :) | ||
| [2009/05/08 10:19:42] <HarryCalahan> joe-mac: i wanted lvm and it failed ;) | ||
| [2009/05/08 10:20:05] <Volcane> the common denominator in all your pains is debian :P | ||
| [2009/05/08 10:20:08] <joe-mac> lol HarryCalahan yea not to mention afaik the installer can't do lvm and raid together. talk about failboats | ||
| [2009/05/08 10:20:27] <HarryCalahan> Volcane: thanks. rub it in. | ||
| [2009/05/08 10:20:27] <Joelio> HarryCalahan: Got my LVM automagic working yesterday.. give it another go if you're brave :) | ||
| [2009/05/08 10:20:33] <joe-mac> i don't know how many times i've had to drink martinis because of debian | ||
| [2009/05/08 10:20:53] <joe-mac> Joelio: you're talking about with FAI right? | ||
| [2009/05/08 10:20:59] * Volcane doesnt drink, i think thats why i loath debian so much, cos i remember every painful moment of using it, unlike you lucky drinkers :P | ||
| [2009/05/08 10:21:04] @ descala joined channel #puppet | ||
| [2009/05/08 10:21:07] <Joelio> joe-mac: Yea | ||
| [2009/05/08 10:21:25] <HarryCalahan> Joelio: it can't. I want to control the naming of my vgs and lvs and the sizes. i gave up. it's the part i do manual. | ||
| [2009/05/08 10:21:26] <joe-mac> lol i should not drink either. drains my money and makes me feel like garbage every friday morning | ||
| [2009/05/08 10:21:41] <Joelio> Volcane: Are you mad? Debian's an awesome distro! | ||
| [2009/05/08 10:21:45] <HarryCalahan> joe-mac: drink an sunday. monday is pain anyway ;) | ||
| [2009/05/08 10:22:07] <joe-mac> HarryCalahan: that's preseeds though, FAI can pretty mcuh do anything, i just find it to be hacky and a little bit too far to go for something that should be natively handled by teh os installer | ||
| [2009/05/08 10:22:29] <joe-mac> i wouldn't make it into work lol... | ||
| [2009/05/08 10:22:53] <HarryCalahan> joe-mac: as fai only helps me on the initial install it's not worth the trouble for me. | ||
| [2009/05/08 10:23:14] <Joelio> HarryCalahan: That's possible.. everything is scripted, so if you know where to look.. granted it's a p.i.t.a sometimes! | ||
| [2009/05/08 10:23:21] <joe-mac> lol, wtf? why is mpstat showing 3 cpus on this system | ||
| [2009/05/08 10:23:35] <joe-mac> HarryCalahan: i | ||
| [2009/05/08 10:23:44] <joe-mac> m at the point where the initial OS install for me is the most tedious | ||
| [2009/05/08 10:24:11] @ Quit: kolla: Remote closed the connection | ||
| [2009/05/08 10:24:34] <joe-mac> i have tos et up software raid then ont he first boot i have to do a bunch of shit like installing lvm this and that. i have to really script my install, i'm sick of doing it this way especially when i sign the puppet key about a minute.5 later it's all set up | ||
| [2009/05/08 10:24:42] <HarryCalahan> and i thought dealing with users was the most tedious task | ||
| [2009/05/08 10:24:48] <joe-mac> i'll probably do the ole firstboot init script that deletes itself | ||
| [2009/05/08 10:25:09] <joe-mac> HarryCalahan: luckily my title is operations engineer, which means i generally don't talk to the users. my boss does that | ||
| [2009/05/08 10:25:25] <joe-mac> i help him out when he's swamped, but i am pretty cozy in my batcave | ||
| [2009/05/08 10:27:36] <flashn> it means he doesnt rely on your social skills | ||
| [2009/05/08 10:27:42] <flashn> >:PpPp | ||
| [2009/05/08 10:28:39] <joe-mac> lol, people in general here are scared of me i think | ||
| [2009/05/08 10:28:58] @ cwebber joined channel #puppet | ||
| [2009/05/08 10:29:29] <joe-mac> i don't shave, my keyboard is blank and loud, i have a prominent boston accent and i come to work looking like the unibomber most of the time | ||
| [2009/05/08 10:30:01] * HarryCalahan awards the offical nerd-of-the-day badge to joe-mac | ||
| [2009/05/08 10:30:16] <joe-mac> lol, i prefer trophies. made of cookies. | ||
| [2009/05/08 10:30:32] <HarryCalahan> playstation3 platinum trophy? | ||
| [2009/05/08 10:30:43] <Volcane> Sony is the devil | ||
| [2009/05/08 10:31:09] <HarryCalahan> so let's talk about BSD ;) | ||
| [2009/05/08 10:31:22] <joe-mac> lol, openbsd is testing me | ||
| [2009/05/08 10:31:40] <HarryCalahan> . o O ( friday ) | ||
| [2009/05/08 10:32:10] <flashn> joe-mac, sweet >:D | ||
| [2009/05/08 10:32:39] <flashn> IBM model M! | ||
| [2009/05/08 10:32:55] <joe-mac> i actually use a das keyboard, right idea though | ||
| [2009/05/08 10:33:19] @ francois joined channel #puppet | ||
| [2009/05/08 10:33:32] <HarryCalahan> joe-mac: hehe. that's the one with all blank keycaps, right? | ||
| [2009/05/08 10:33:50] <joe-mac> yea, and the keys are like a model m | ||
| [2009/05/08 10:33:57] <machpo> i wish the das was kvm-compatible | ||
| [2009/05/08 10:34:01] <joe-mac> it's not?!?! | ||
| [2009/05/08 10:34:17] <HarryCalahan> i use an ibm spacesaver II. more room to place empty cups on the desk | ||
| [2009/05/08 10:34:34] <joe-mac> the happy hacking keyboard is real good for saving space, i have one at home but it doesn't get so much use | ||
| [2009/05/08 10:34:48] <machpo> no according to their site. i was a huge avantprime kbd fan, but they're still strictly ps2, and they don't work w/modern kvms either | ||
| [2009/05/08 10:34:48] @ Quit: pleemans: Read error: 60 (Operation timed out) | ||
| [2009/05/08 10:35:01] <machpo> ended up with a unicomp and i'm less-than-thrilled | ||
| [2009/05/08 10:35:17] @ pleemans joined channel #puppet | ||
| [2009/05/08 10:35:34] <HarryCalahan> joe-mac: i stil like to use cursor keys. | ||
| [2009/05/08 10:35:37] <HarryCalahan> +l | ||
| [2009/05/08 10:36:37] @ MrHeavy joined channel #puppet | ||
| [2009/05/08 10:42:56] <joe-mac> cursor keys? | ||
| [2009/05/08 10:43:00] <joe-mac> not familiar with the term | ||
| [2009/05/08 10:43:33] <HarryCalahan> inverted T arrow keys. (the ones you use instead of hjkl ;) | ||
| [2009/05/08 10:45:03] <joe-mac> the HHKB has cursor keys, they're a little small but there nonetheless. i never got used to the whole hjkl thing in vi. | ||
| [2009/05/08 10:48:28] @ cwebber_ joined channel #puppet | ||
| [2009/05/08 10:48:37] @ Quit: cwebber: Read error: 104 (Connection reset by peer) | ||
| [2009/05/08 10:49:13] <joe-mac> i wonder what makes it incompatible with kvms... | ||
| [2009/05/08 10:49:45] * Volcane used a maltron for yonks, fixed my wrists 100% | ||
| [2009/05/08 10:50:03] @ Quit: tim|mb: | ||
| [2009/05/08 10:50:23] @ devicenull joined channel #puppet | ||
| [2009/05/08 10:52:29] @ Quit: JD: Remote closed the connection | ||
| [2009/05/08 10:55:40] @ JD joined channel #puppet | ||
| [2009/05/08 10:57:56] <joe-mac> maltron? i'm googling that | ||
| [2009/05/08 10:58:24] * joe-mac punches ubuntu for setting /home/* dirs to mod 755 | ||
| [2009/05/08 11:00:25] <Volcane> joe-mac: http://www.maltron.com/images/keyboards/maltron-usb-dual-l90-uk-mac-qwerty-gray-1-large.jpg | ||
| [2009/05/08 11:00:47] <joe-mac> hmm i might have to try that out | ||
| [2009/05/08 11:00:51] <joe-mac> my wrists are ruined | ||
| [2009/05/08 11:01:04] <joe-mac> my left one was so bad this week it was popping really loudly i almost had to callt he doctor | ||
| [2009/05/08 11:01:13] <Volcane> cracked my wrists falling off a bike, i couldnt hold a book to read it, couldnt drive a manual transmission car after a days work etc | ||
| [2009/05/08 11:01:14] <joe-mac> something is wrong with it to begin with, there is like a bone that is out of place that is plainly seen | ||
| [2009/05/08 11:01:21] <Volcane> used matron for 2 years and wrists have been fine | ||
| [2009/05/08 11:01:29] <joe-mac> sounds promising | ||
| [2009/05/08 11:02:23] <Volcane> was 450 pounds or something stupid though | ||
| [2009/05/08 11:04:24] <HarryCalahan> joe-mac: check DIR_MODE in /etc/adduser.conf | ||
| [2009/05/08 11:05:13] <joe-mac> holy shit! 450 poudns is like 700 USD or something | ||
| [2009/05/08 11:05:32] <HarryCalahan> joe-mac: but it has FIVE leds ;) | ||
| [2009/05/08 11:06:10] <joe-mac> i really need to do something though. i'm only 23 and have been on unix and linux since i was like 12. my hands are basically junk by now. i used to play drums too, which added | ||
| [2009/05/08 11:06:19] @ Quit: devicenull_: Read error: 110 (Connection timed out) | ||
| [2009/05/08 11:06:56] <HarryCalahan> it helped me to switch between mouse/trackball and normal/ergonomic keyboards | ||
| [2009/05/08 11:07:13] <HarryCalahan> not using any input method exclusively. | ||
| [2009/05/08 11:07:23] <HarryCalahan> s/method/device/ | ||
| [2009/05/08 11:09:19] <HarryCalahan> and it's always nice to know when the cleaning team wiped your desk. The trackball is turned upside down, becaus the ball has to be down, right. | ||
| [2009/05/08 11:09:42] <Volcane> lol | ||
| [2009/05/08 11:10:30] <joe-mac> LMAO | ||
| [2009/05/08 11:10:34] <joe-mac> that's hilarious | ||
| [2009/05/08 11:10:36] <HarryCalahan> or people with the "here i show you" mentality. Grabbing the trackball and move the device over the desk and giving up. | ||
| [2009/05/08 11:10:56] <joe-mac> i can't really use a trackball, i suck at it | ||
| [2009/05/08 11:11:33] <HarryCalahan> joe-mac: you get used to it ;) i can't use it for gaming but for the rest its find. | ||
| [2009/05/08 11:11:52] <HarryCalahan> place the cursor over the right terminal and it is raised. works ;) | ||
| [2009/05/08 11:12:05] <joe-mac> i use my xbox for games. currently a very evil villain of the wastes in fallout lol | ||
| [2009/05/08 11:13:07] <HarryCalahan> but i managed to get RSI in my thumb (thumb trackball) and index finker (standard trackball) so now i switch between, three devices left and right hand and since then its fine. | ||
| [2009/05/08 11:13:13] @ StyleWarz joined channel #puppet | ||
| [2009/05/08 11:13:15] <StyleWarz> morning | ||
| [2009/05/08 11:13:26] <HarryCalahan> nooooo not morning again. | ||
| [2009/05/08 11:13:29] <StyleWarz> can anyone gimme some short advice how to use facts in templates? | ||
| [2009/05/08 11:13:35] <Volcane> yeah, left hand mouse at home, right hand mouse at work, that helps a lot hehe | ||
| [2009/05/08 11:13:40] <HarryCalahan> StyleWarz: <%= factname %> | ||
| [2009/05/08 11:13:43] <Volcane> <%= yourfact %> | ||
| [2009/05/08 11:14:00] <StyleWarz> hmhm, somehow doesn't work if the fact is true or false, i'll play some more :s | ||
| [2009/05/08 11:14:11] <HarryCalahan> anything listed by facter and no Dollar signs! | ||
| [2009/05/08 11:14:24] <Volcane> facts are all strings, so they're not boolean etc | ||
| [2009/05/08 11:15:03] <HarryCalahan> *hm* physicalprocessorcount => 0 | ||
| [2009/05/08 11:15:18] <HarryCalahan> i have a quantum server here! | ||
| [2009/05/08 11:15:49] <HarryCalahan> processer not their until you open the case | ||
| [2009/05/08 11:16:16] @ briandquinn joined channel #puppet | ||
| [2009/05/08 11:16:17] <HarryCalahan> (great english today... s/their/there/) | ||
| [2009/05/08 11:16:39] @ gmason_msu joined channel #puppet | ||
| [2009/05/08 11:16:42] <joe-mac> lol | ||
| [2009/05/08 11:17:05] @ Quit: blahdeblah1: Remote closed the connection | ||
| [2009/05/08 11:17:34] <joe-mac> it's ok, according to mpstat one of my boxes has three processors | ||
| [2009/05/08 11:17:42] @ blahdeblah joined channel #puppet | ||
| [2009/05/08 11:17:44] <joe-mac> assymetric multi processing | ||
| [2009/05/08 11:17:46] @ gmason joined channel #puppet | ||
| [2009/05/08 11:18:35] @ Quit: gmason_msu: Client Quit | ||
| [2009/05/08 11:19:08] <rasputnik> StyleWarz, <% if fact %> some stuff <% end %> ? | ||
| [2009/05/08 11:19:43] <gmason> so, I'm in the middle needing to pick between CFEngine and something else. | ||
| [2009/05/08 11:19:55] <StyleWarz> rasputnik: that's what i thought | ||
| [2009/05/08 11:19:55] <rasputnik> gmason, the second one. | ||
| [2009/05/08 11:20:02] <StyleWarz> now can anyone explain to me this? http://pastie.org/private/zjf8xjsjnosziriayaszvq | ||
| [2009/05/08 11:20:10] <gmason> obviously, I have a preference, but other folks in the office have their doubts | ||
| [2009/05/08 11:20:26] <gmason> we're a SLES shop, with a few OpenSolaris boxes as well | ||
| [2009/05/08 11:20:27] <StyleWarz> maybe it's a string.. *test* | ||
| [2009/05/08 11:20:30] <Volcane> see the template wiki page, you cant do "if variable" | ||
| [2009/05/08 11:20:54] <StyleWarz> yes it is ;) | ||
| [2009/05/08 11:21:25] <StyleWarz> Volcane: my fact was just File.exists?("somefile") ... i didn't think that facter turns a boolean returnvalue into a string | ||
| [2009/05/08 11:21:42] <gmason> so, what it's coming down to is yast support, along with how well puppet supports the SuSE config files (i.e. how well it abstracts them) | ||
| [2009/05/08 11:21:43] <Volcane> StyleWarz: like i said above, they're all string :) | ||
| [2009/05/08 11:22:00] <StyleWarz> Volcane: oops, that passed while i was testing =) but thanks | ||
| [2009/05/08 11:23:25] <gmason> so, i guess the real question is, is anybody here running Puppet on SLES 10? Any potential issues? | ||
| [2009/05/08 11:23:38] @ Quit: mgk: Read error: 54 (Connection reset by peer) | ||
| [2009/05/08 11:23:44] <StyleWarz> gmason: i guess the SLES is more of an issue than puppet :> | ||
| [2009/05/08 11:23:56] <Volcane> gmason: there are some ppl who use it, cant recall names now :) | ||
| [2009/05/08 11:24:05] <StyleWarz> gmason: altho i'd love to see SLES' yast f'up after puppet ran over some config files | ||
| [2009/05/08 11:24:06] <gmason> heh, well, there's no changing the SLES any time soon | ||
| [2009/05/08 11:24:36] <gmason> mostly, it's just "yast -i" support that's the hangup. | ||
| [2009/05/08 11:24:49] <gmason> other configuration is generally done outside of yast | ||
| [2009/05/08 11:24:52] <StyleWarz> i refuse to use rpm based distros :P | ||
| [2009/05/08 11:25:07] <StyleWarz> (also dpkg based :>) | ||
| [2009/05/08 11:25:07] <gmason> StyleWarz: ++ | ||
| [2009/05/08 11:25:18] <StyleWarz> gmason: sles is rpm based | ||
| [2009/05/08 11:25:18] <gmason> oh, dpkg is nice :) | ||
| [2009/05/08 11:25:29] <gmason> yes, i know. I'm not a big fan of it | ||
| [2009/05/08 11:25:29] <StyleWarz> no, it's like getting assraped | ||
| [2009/05/08 11:26:04] <rasputnik> StyleWarz, how about <% if fact == 'true' %> then ? | ||
| [2009/05/08 11:26:36] @ Quit: mvn071: "Leaving" | ||
| [2009/05/08 11:26:44] <joe-mac> LOL if rpm = ass rape, i want my ass raped daily | ||
| [2009/05/08 11:26:55] <gmason> unfortunately, we need to use either SLES or RHEL. at least it wasn't RHEL... | ||
| [2009/05/08 11:27:02] <StyleWarz> rasputnik: i already got it =) i code ruby for money ;) | ||
| [2009/05/08 11:27:10] <joe-mac> RHEL is tasty, so tasty | ||
| [2009/05/08 11:27:24] <StyleWarz> so tasty that you'd throw up? :P | ||
| [2009/05/08 11:27:40] <gmason> MSU has a pretty big SLES installation... Might be that whole "green" thing... | ||
| [2009/05/08 11:27:44] <HarryCalahan> gmason: go for rhel | ||
| [2009/05/08 11:28:07] <gmason> heh, can't do that for a few years, at the very least | ||
| [2009/05/08 11:28:10] <StyleWarz> go for gentoo ;) if you need someone to blame because your linux doesn't work, you shouldn't be using it at all | ||
| [2009/05/08 11:28:19] <HarryCalahan> gmason: cfengine vs puppet. I read a book about both and then decided for puppet. even as i don't like ruby. | ||
| [2009/05/08 11:28:24] @ lak joined channel #puppet | ||
| [2009/05/08 11:28:32] @ monachus joined channel #puppet | ||
| [2009/05/08 11:28:33] <StyleWarz> HarryCalahan: what's not to like about ruby? | ||
| [2009/05/08 11:28:38] <StyleWarz> (except it's performance) | ||
| [2009/05/08 11:28:41] @ monachus left channel #puppet () | ||
| [2009/05/08 11:28:54] <HarryCalahan> StyleWarz: i code python that's enough of a reason? | ||
| [2009/05/08 11:29:10] <StyleWarz> HarryCalahan: shame on you! ;) | ||
| [2009/05/08 11:29:16] <gmason> this is for the MSU High Performance Computing Center... so we're kind of stuck with our distro. | ||
| [2009/05/08 11:29:32] <StyleWarz> gmason: MSU as in Michigan State University? | ||
| [2009/05/08 11:29:36] <gmason> yes | ||
| [2009/05/08 11:29:36] <rasputnik> HarryCalahan, yeah they do seem to be mutually exclusive. what about Func ? | ||
| [2009/05/08 11:29:37] <StyleWarz> (just guessing) | ||
| [2009/05/08 11:29:42] <gmason> sorry | ||
| [2009/05/08 11:29:48] <StyleWarz> for what? ;) | ||
| [2009/05/08 11:29:54] <HarryCalahan> gmason: you might end with a lot of exec statements. but thats the same if you wanted to start with cfengine | ||
| [2009/05/08 11:29:55] <gmason> not specifying which MSU | ||
| [2009/05/08 11:30:16] <StyleWarz> gmason: i am from europe, i was just guessing acronyms =) | ||
| [2009/05/08 11:30:36] <gmason> so, with all the exec statements, what does puppet get me over CFengine then? | ||
| [2009/05/08 11:30:44] <HarryCalahan> gmason: you wont be able to use all the nice puppet resources but at least the dependency handling. | ||
| [2009/05/08 11:30:53] <ibt> is the puppet wiki being ridiculously slow for anyone else? | ||
| [2009/05/08 11:31:04] <Volcane> i think someone wrote a package provider for SLES? | ||
| [2009/05/08 11:31:18] <StyleWarz> Volcane: i am pretty sure of that too | ||
| [2009/05/08 11:31:32] <StyleWarz> gmason: in the best case you can setup whole systems by themself including package dependencies | ||
| [2009/05/08 11:31:33] <gmason> the package provider, according to the docs, is for zypper | ||
| [2009/05/08 11:31:52] <gmason> which is only in opensuse | ||
| [2009/05/08 11:32:14] <StyleWarz> omg, they split that crap up? | ||
| [2009/05/08 11:32:17] <Volcane> gmason: puppet is more like programing, you can write the equivelant of functions/methods that abstract things, and you can call them with paramters and run repeatedly, contrasted to cfengine that on its own allows for much more comfortable use cases. it also lets you much easier, extend, abstract etc groupings of configs | ||
| [2009/05/08 11:32:25] @ andrewcshafer joined channel #puppet | ||
| [2009/05/08 11:32:57] @ rdaugherty joined channel #puppet | ||
| [2009/05/08 11:33:00] @ rdaugherty left channel #puppet () | ||
| [2009/05/08 11:33:26] <Volcane> gmason: it's also i think easier to integrate into CMDBs, asset dbs or whatever, and provides a very accessible (ruby rather than c) extension options | ||
| [2009/05/08 11:34:05] @ justin_ joined channel #puppet | ||
| [2009/05/08 11:37:05] <gmason> i've been trying to find a decent CFengine vs. Puppet comparison, that clearly shows the benefits of puppet. | ||
| [2009/05/08 11:37:22] @ alfism joined channel #puppet | ||
| [2009/05/08 11:37:37] <gmason> what i've found so far isn't as helpful as it could be with convincing folks to go with puppet. | ||
| [2009/05/08 11:37:53] <Volcane> theres something on the wiki, but not really more than that | ||
| [2009/05/08 11:37:59] <Volcane> that I've seen | ||
| [2009/05/08 11:38:05] <Volcane> the best is to spend 2 weeks with each and see how you get on | ||
| [2009/05/08 11:38:55] @ Quit: johan-s: Read error: 110 (Connection timed out) | ||
| [2009/05/08 11:39:30] <gmason> Volcane: with trying puppet first, and then folks realizing, 2 weeks in, that it's not so bad after all? | ||
| [2009/05/08 11:40:32] <Volcane> well then imho you'd have made the right decision :P | ||
| [2009/05/08 11:40:38] * Volcane used cfengine first too | ||
| [2009/05/08 11:40:55] <gmason> what distro(s) do you manage with it? | ||
| [2009/05/08 11:41:06] <ed209> I personally saw the light for puppet when I had different os's under the same puppet class | ||
| [2009/05/08 11:41:13] <Volcane> debian and centos/rhel | ||
| [2009/05/08 11:41:22] <Volcane> and oel a bit | ||
| [2009/05/08 11:41:26] <ed209> solaris, redhat, ubuntu | ||
| [2009/05/08 11:41:48] @ Quit: Innocenti: Client Quit | ||
| [2009/05/08 11:41:59] <Volcane> gmason: the nice thing is that you can do user{"john": uid = 500, ensure => present } and on any of the platforms puppet knows about it will do the right thing | ||
| [2009/05/08 11:42:14] <ed209> compared to my old cfengine configs, its was dead easy to let puppet figure out what needed to happen rather than script it | ||
| [2009/05/08 11:42:17] <Volcane> gmason: where with cfengine that kind of thing can be right PITA | ||
| [2009/05/08 11:42:53] <Volcane> gmason: and in the cases where you need to do different things, puppet provides a couple of different approaches to abstracting the specific out so you can generally fine one that balances with your way of working | ||
| [2009/05/08 11:42:55] <gmason> most of what we'd be managing is just various config files, and package installations | ||
| [2009/05/08 11:43:30] <ed209> take for example setting ntp.conf up | ||
| [2009/05/08 11:43:32] <rasputnik> I had some trouble with Solaris SMF and packages, but nothing too awful. Most of our boxen are Redhat/CentOS anyway. | ||
| [2009/05/08 11:43:34] <Volcane> yeah, well soon as you have that you'll see the big advantages of puppet and want more :) | ||
| [2009/05/08 11:44:00] <Volcane> gmason: i wrote this http://www.devco.net/pubwiki/Puppet/GettingStarted its a bit of a crawl pace getting started guide but it might help | ||
| [2009/05/08 11:44:10] <rasputnik> How stable is Augeas btw? Are people generally still using templates? | ||
| [2009/05/08 11:44:29] <Volcane> rasputnik: they solve different problems | ||
| [2009/05/08 11:44:51] @ Quit: verwilst: "Ex-Chat" | ||
| [2009/05/08 11:44:56] <gmason> the only other concern is that puppet requires a daemon to run, whereas cfengine can be configured to run without a daemon | ||
| [2009/05/08 11:45:08] <Volcane> gmason: puppet runs fine from cron | ||
| [2009/05/08 11:45:10] <gmason> i.e. just fire up from a cronjob/on boot | ||
| [2009/05/08 11:45:26] <gmason> Volcane: just what I was hoping to hear :) | ||
| [2009/05/08 11:45:27] <Volcane> gmason: in fact, puppet runs fine even without a central server if you rsync your configs out | ||
| [2009/05/08 11:45:36] <gmason> or nfs mount them :) | ||
| [2009/05/08 11:45:39] <Volcane> yes | ||
| [2009/05/08 11:45:50] <Volcane> central server adds value though | ||
| [2009/05/08 11:46:32] <gmason> i.e. tracking/reporting, right? | ||
| [2009/05/08 11:46:53] <Volcane> yes, and you can build your configs dynamically out of a CMDB for example | ||
| [2009/05/08 11:47:06] <Volcane> typically you'd have node web1 { include stuff } | ||
| [2009/05/08 11:47:13] <Volcane> so that gets tedious for 1000 webs | ||
| [2009/05/08 11:47:31] <Volcane> puppet lets you programatically create that from a DB or just from any kind of logic | ||
| [2009/05/08 11:47:51] <Volcane> so if you already had a asset system that has a capability of taggign hosts with purposes for exaple, then you could integrate | ||
| [2009/05/08 11:47:57] <rasputnik> Volcane, that's the NodeClassifier thing, rightL | ||
| [2009/05/08 11:47:59] <rasputnik> ? | ||
| [2009/05/08 11:48:01] <Volcane> yes | ||
| [2009/05/08 11:48:46] <rasputnik> Yeah, I liked that. If you just need the output in YAML too, that's extremely flexible. | ||
| [2009/05/08 11:48:47] <Volcane> and puppet use the thing called facter that tells you all sorts about your machine, with a puppetmaster in place those facts for all your nodes are kept in one place, where u can feed a asset system if you wanted. also logs, performance metrics and even rrd graphs of performance metrics over times gets created by the master | ||
| [2009/05/08 11:49:10] @ gaurav joined channel #puppet | ||
| [2009/05/08 11:49:21] @ claymation joined channel #puppet | ||
| [2009/05/08 11:50:21] @ magick joined channel #puppet | ||
| [2009/05/08 11:50:21] <rasputnik> Volcane, any references on that topic (the collection of facts in one place)? I hadn't thought of that one, but it'd be really useful here. | ||
| [2009/05/08 11:50:36] @ xyz joined channel #puppet | ||
| [2009/05/08 11:50:45] <Volcane> rasputnik: here's a fugly little tool I wrote to show them and also logs and rrds http://www.devco.net/pubwiki/Puppet/PuppetView | ||
| [2009/05/08 11:51:14] <rasputnik> Volcane, cheers. | ||
| [2009/05/08 11:51:49] @ Quit: pleemans: Read error: 110 (Connection timed out) | ||
| [2009/05/08 11:52:15] @ Quit: HarryCalahan: "done" | ||
| [2009/05/08 11:52:50] @ Bass10 joined channel #puppet | ||
| [2009/05/08 11:53:16] @ Quit: erm_: "leaving" | ||
| [2009/05/08 11:54:00] @ Quit: Bass10: SendQ exceeded | ||
| [2009/05/08 11:54:35] @ Bass10 joined channel #puppet | ||
| [2009/05/08 11:56:32] @ tyler79 joined channel #puppet | ||
| [2009/05/08 12:04:45] @ Quit: tazz: Read error: 110 (Connection timed out) | ||
| [2009/05/08 12:06:57] @ Quit: justin_: | ||
| [2009/05/08 12:08:40] @ Quit: lak: | ||
| [2009/05/08 12:11:44] @ jtimberman joined channel #puppet | ||
| [2009/05/08 12:15:10] @ Quit: DerekW_: "Leaving" | ||
| [2009/05/08 12:20:23] @ Quit: rasputnik: Read error: 110 (Connection timed out) | ||
| [2009/05/08 12:22:10] @ Quit: andrewcshafer: | ||
| [2009/05/08 12:27:35] @ Quit: gaurav: "Leaving" | ||
| [2009/05/08 12:30:02] @ lak joined channel #puppet | ||
| [2009/05/08 12:30:08] @ Cope joined channel #puppet | ||
| [2009/05/08 12:31:57] <bevans5446> So has anyone played around with puppetlisten yet? | ||
| [2009/05/08 12:32:08] @ k0001 joined channel #puppet | ||
| [2009/05/08 12:32:32] <Volcane> does what it says on the tin | ||
| [2009/05/08 12:33:40] @ Quit: lak: Client Quit | ||
| [2009/05/08 12:34:01] <bevans5446> I think I'm gonna try it out | ||
| [2009/05/08 12:34:28] <bevans5446> puppetd eats up way too much memory when it's not doing anything | ||
| [2009/05/08 12:34:42] @ Quit: briandquinn: | ||
| [2009/05/08 12:34:59] <Volcane> err, wait, puppetlisten? this the little thing that spawns the daemon just when callled via puppetrun? or the option to puppetd that makes it listen? | ||
| [2009/05/08 12:35:20] <bevans5446> the little daemon | ||
| [2009/05/08 12:35:30] <Volcane> ah, I've not tried that one | ||
| [2009/05/08 12:35:43] <bevans5446> I just though of something | ||
| [2009/05/08 12:36:02] <bevans5446> in my head I'm comparing it to cfservd, but cfservd also handled schedules | ||
| [2009/05/08 12:36:35] <Volcane> yeah i think the little daemon thing is when using it with cron, to also have the puppetrun functionality still | ||
| [2009/05/08 12:36:50] <bevans5446> well that would work too | ||
| [2009/05/08 12:36:53] <k0001> guys, using a "base" provider for a Service resource, can I specify the user who should start the service? | ||
| [2009/05/08 12:37:54] @ justindossey joined channel #puppet | ||
| [2009/05/08 12:39:22] <bevans5446> well, you could specify a start option | ||
| [2009/05/08 12:39:49] <bevans5446> something like start => 'runuser USERNAME /usr/sbin/command' | ||
| [2009/05/08 12:40:41] <bevans5446> k0001: that might work but I haven't tried it | ||
| [2009/05/08 12:41:57] <k0001> bevans5446: i see.. that "runuser" command is something like "su" gnu/linux i guess.. | ||
| [2009/05/08 12:42:14] @ rgsteele||work joined channel #puppet | ||
| [2009/05/08 12:42:56] <rgsteele||work> So, when using passenger, is there a rack child process spawned for each puppet request a config? | ||
| [2009/05/08 12:42:58] <rgsteele||work> s/request/requesting/ | ||
| [2009/05/08 12:43:10] <bevans5446> you know, I'm not sure where it comes from, it's on my centos 4/5 boxes. It's not quite the same as su. Let me check | ||
| [2009/05/08 12:43:26] @ Quit: justindossey: "Leaving." | ||
| [2009/05/08 12:43:52] <bevans5446> it's part of coreutils on CentOS 5 | ||
| [2009/05/08 12:44:04] <bevans5446> but su would probably work jsut as well | ||
| [2009/05/08 12:44:19] @ ags joined channel #puppet | ||
| [2009/05/08 12:44:28] @ johan-s joined channel #puppet | ||
| [2009/05/08 12:44:52] <k0001> bevans5446: from runuser's manpage: "runuser - run a shell with substitute user and group IDs, similar to su, but will not run PAM hooks" | ||
| [2009/05/08 12:45:40] <bevans5446> k0001: manpage huh? Who ever though of looking there for info on a program :P | ||
| [2009/05/08 12:46:07] @ doo joined channel #puppet | ||
| [2009/05/08 12:47:48] <k0001> bevans5446: it's human nature... | ||
| [2009/05/08 12:49:23] <doo> I see from the Debian recipies in the wiki that you can do something like source => ["puppet://.../file1.$varable", "puppet://.../other_file"] and if the first file is not found, the 2nd file is used. Should this sort of syntax also work for templates? I can't seem to get it right. | ||
| [2009/05/08 12:49:45] <Volcane> doesnt work for template | ||
| [2009/05/08 12:49:57] <doo> I'm trying to do something like content => tempalte(file1), template(file2) | ||
| [2009/05/08 12:50:18] @ themurph joined channel #puppet | ||
| [2009/05/08 12:54:48] <doo> what I am trying to do is have my user's ssh keys in template files, if I have not added a template for that user yet, I would like just an empty authorized_keys file created. I put the creation of the key in a define function. What I am seeing is that the catalog won't run because it can't find the missing template. Any ideas on how I can get this functionality without having to pre-create all my authorized_keys templateS? | ||
| [2009/05/08 12:55:40] <Volcane> yeah, really wish template that had functionality, but it doesnt | ||
| [2009/05/08 12:57:30] @ Quit: aymerick: | ||
| [2009/05/08 12:57:53] @ aymerick joined channel #puppet | ||
| [2009/05/08 13:00:25] @ Quit: mikepea: Read error: 110 (Connection timed out) | ||
| [2009/05/08 13:02:03] <descala> hi | ||
| [2009/05/08 13:02:20] <descala> just a, let's say global picture question .... | ||
| [2009/05/08 13:02:40] <descala> is there some docs about the dialog between puppetd amb puppetmasterd ? | ||
| [2009/05/08 13:02:47] <descala> like: | ||
| [2009/05/08 13:03:00] <descala> 1) puppetd send facts to master | ||
| [2009/05/08 13:03:17] <descala> 2) puppetd asks the master for his catalog | ||
| [2009/05/08 13:03:25] <descala> and so on ... | ||
| [2009/05/08 13:03:26] <descala> ? | ||
| [2009/05/08 13:05:45] <Volcane> i remember something on the wiki but cant find it now | ||
| [2009/05/08 13:06:27] @ Quit: glaw: Remote closed the connection | ||
| [2009/05/08 13:08:37] <descala> volcane: thanks for checking anyway. i'll ask the cod ;) | ||
| [2009/05/08 13:08:43] <descala> code | ||
| [2009/05/08 13:08:47] <Volcane> is there someting specific you want to know? | ||
| [2009/05/08 13:08:56] <descala> or maybe a tcpdump | ||
| [2009/05/08 13:09:39] <Volcane> its all ssl :) | ||
| [2009/05/08 13:09:59] <descala> oh, not realy. I just want to understand what's going on | ||
| [2009/05/08 13:10:13] <descala> ups! SSL | ||
| [2009/05/08 13:10:30] <Volcane> k, well once the client has the catalogue, it will work through all in it and confirm things are as described and do any actions needed | ||
| [2009/05/08 13:10:35] <descala> will try to listen to httpd talking to mongrel | ||
| [2009/05/08 13:11:02] <Volcane> so it will confirm the user match what was specified and do what your OS expects to make it so | ||
| [2009/05/08 13:11:21] @ justindossey joined channel #puppet | ||
| [2009/05/08 13:11:21] <Volcane> for files, it will compare checksums on master and client and fetch files that differs | ||
| [2009/05/08 13:12:36] <descala> now that I think about it, yes, there's somethinf specific I was looking after :) ...what about exported resources? | ||
| [2009/05/08 13:12:56] <descala> reports, should be last | ||
| [2009/05/08 13:13:02] <Volcane> when the master finished compiling the catalog it stores it in the database on the master | ||
| [2009/05/08 13:13:15] <Volcane> using this database it facilitate the collection of resources to other nodes | ||
| [2009/05/08 13:13:27] <descala> so, exported resources don't travel to the client | ||
| [2009/05/08 13:13:37] <Volcane> no | ||
| [2009/05/08 13:13:43] <Volcane> not unlress you realize them | ||
| [2009/05/08 13:13:49] <descala> of course :) | ||
| [2009/05/08 13:14:35] @ Quit: aymerick: Connection timed out | ||
| [2009/05/08 13:14:41] <Volcane> for reports, the client builds the report | ||
| [2009/05/08 13:15:03] <Volcane> it benchmarks things, knows what its changing etc - the "stuff" doing the changing on the client are called providers - and at the end of all the work | ||
| [2009/05/08 13:15:07] <Volcane> it sends the report to the master | ||
| [2009/05/08 13:15:18] <Volcane> the master then passes it to whatever modules were defined to deal with reports | ||
| [2009/05/08 13:16:55] <descala> volcane: your are very insightful, thanks | ||
| [2009/05/08 13:17:18] <Volcane> no probs | ||
| [2009/05/08 13:18:04] <descala> summarizing, client: 1) sends facts, 2) gets catalog, 3) does the magic thing, 4) sends report | ||
| [2009/05/08 13:18:21] <Volcane> thats the short of it yeah | ||
| [2009/05/08 13:18:28] <descala> :) ok | ||
| [2009/05/08 13:19:02] <Volcane> what this implies ofcourse is that you cant just say in your puppetmanifest simple things like | ||
| [2009/05/08 13:19:16] <Volcane> read the content of a file and store in a variable | ||
| [2009/05/08 13:19:24] <Volcane> it would read the contents of the file on the master not the client | ||
| [2009/05/08 13:19:29] <Volcane> cos that would be done at compile time | ||
| [2009/05/08 13:20:00] <descala> you'd need a fact for that | ||
| [2009/05/08 13:20:06] <Volcane> correct | ||
| [2009/05/08 13:20:44] <descala> but facts are supposed to be generic stuff ... | ||
| [2009/05/08 13:20:56] <Volcane> the default ones that come with facter yes | ||
| [2009/05/08 13:20:59] <Volcane> but you can add your own | ||
| [2009/05/08 13:21:22] <Volcane> i have ones like country=de or us or uk for where the machine is | ||
| [2009/05/08 13:21:52] <Volcane> and ones like location=linodetx for a machine hosted at linode's texas facility | ||
| [2009/05/08 13:22:11] <descala> it wouldn't be practical anyway if that client file is a large one anyway | ||
| [2009/05/08 13:22:22] <Volcane> yeah | ||
| [2009/05/08 13:22:39] <Volcane> if you really need things that rely very heavily on large amounts of state on the client u need to write a type/provider | ||
| [2009/05/08 13:22:47] <Volcane> like service, package etc | ||
| [2009/05/08 13:24:21] @ Quit: egh: "ERC Version 5.3 (IRC client for Emacs)" | ||
| [2009/05/08 13:25:17] <descala> do you know if File can refer to a local file, or it must be always source => "puppet://....." ? | ||
| [2009/05/08 13:25:34] <Volcane> local to the client or hte master? | ||
| [2009/05/08 13:25:38] <descala> client | ||
| [2009/05/08 13:25:49] @ WALoeIII joined channel #puppet | ||
| [2009/05/08 13:26:00] <Volcane> doubt it, what would be the application? | ||
| [2009/05/08 13:27:36] @ doo left channel #puppet () | ||
| [2009/05/08 13:27:46] <descala> i want to maintaing a collection of windows xp installation files, like firefox, openoffice, in a samba share | ||
| [2009/05/08 13:28:12] @ lak joined channel #puppet | ||
| [2009/05/08 13:28:17] <Volcane> and then install them? | ||
| [2009/05/08 13:28:52] <descala> and I want samba servers to download them from provider, mozzilla or openoffice.org | ||
| [2009/05/08 13:29:14] @ Quit: lak: Read error: 104 (Connection reset by peer) | ||
| [2009/05/08 13:29:14] <descala> well, we don't have puppet for windows, do we? :P | ||
| [2009/05/08 13:29:20] <Volcane> not yet :P | ||
| [2009/05/08 13:29:22] @ lak joined channel #puppet | ||
| [2009/05/08 13:29:39] <Volcane> descala: so what u want to do is have puppet fetch the exe's or whatever if they dont exist? | ||
| [2009/05/08 13:30:03] @ andrewcshafer joined channel #puppet | ||
| [2009/05/08 13:30:14] <descala> yes, and fetch new releases | ||
| [2009/05/08 13:30:38] @ andrewcshafer_ joined channel #puppet | ||
| [2009/05/08 13:30:43] @ Quit: andrewcshafer: Read error: 54 (Connection reset by peer) | ||
| [2009/05/08 13:30:44] <descala> now I've got a shell script, an Exec, with a trigger | ||
| [2009/05/08 13:30:47] <Volcane> lak: most infuriating thing. i have: size = File.open("/sys/block/xvda/size").gets.chomp in a fact. it works under facter, it works in puppetd --test, but run puppet as a daemon and it fails silently right there, if i log before and after it never gets after? any idea at all? | ||
| [2009/05/08 13:31:37] <Volcane> descala: yeah thats pretty much what you'd need, there is no built in facility for that, if your files were named in a specific way - say with version tags - you could write a define that would fetch any missing ones if version isnt found, but it sounds pretty hacky | ||
| [2009/05/08 13:31:50] <descala> in fact it would be a puppet module for WPKG | ||
| [2009/05/08 13:31:58] <Volcane> descala: I'd say this is a case where a cronjob is good, and puppet could manage the cronjob and the script to do the work, but not do the work | ||
| [2009/05/08 13:32:08] <lak> Volcane: at the least, that's probably going to leave an open filehandle | ||
| [2009/05/08 13:32:26] @ philip__ joined channel #puppet | ||
| [2009/05/08 13:32:34] <Volcane> hmm, that it would. | ||
| [2009/05/08 13:32:48] <lak> Volcane: why not just to File.read("/....").chomp | ||
| [2009/05/08 13:32:49] <lak> ? | ||
| [2009/05/08 13:32:58] <Volcane> cos i didnt know about File.read? :) | ||
| [2009/05/08 13:33:10] <Volcane> but I tried, erm, IO.readline or whatever, same shit | ||
| [2009/05/08 13:33:12] <lak> as to why it's dying, i'm a bit stumped | ||
| [2009/05/08 13:33:26] <Volcane> atm, i have size = %x{/bin/cat #{sfile}}.chomp and that works but how fugly is that | ||
| [2009/05/08 13:33:39] <Volcane> does though show its not permissions or anything lame like that | ||
| [2009/05/08 13:35:53] <Volcane> I've tried capturing exceptions around it and all sorts, it just never passes that instruction | ||
| [2009/05/08 13:35:55] <Volcane> most sucky | ||
| [2009/05/08 13:36:47] <Volcane> using File.read(sfile).chomp yields the same problem | ||
| [2009/05/08 13:39:58] <Volcane> lak: http://pastie.org/472380 | ||
| [2009/05/08 13:40:01] <Volcane> its very odd. | ||
| [2009/05/08 13:40:20] <Volcane> fg | ||
| [2009/05/08 13:40:22] <Volcane> oops.. | ||
| [2009/05/08 13:40:51] @ nakano_ is now known as nakano | ||
| [2009/05/08 13:40:52] @ Quit: cwebber_: | ||
| [2009/05/08 13:41:28] <lak> Volcane: that's in facter? | ||
| [2009/05/08 13:41:31] <Volcane> yeah | ||
| [2009/05/08 13:42:26] <Volcane> annoyingly, later on when i do exactly the same style of read to get the drive model it works a charm | ||
| [2009/05/08 13:42:42] <Volcane> its only when trying to determine the drive size - though its really just different files being read in /sys | ||
| [2009/05/08 13:44:03] @ Quit: jbooth_: "leaving" | ||
| [2009/05/08 13:44:20] <lak> i'm, um, stumped | ||
| [2009/05/08 13:44:54] @ jief- joined channel #puppet | ||
| [2009/05/08 13:45:03] <Volcane> ditto | ||
| [2009/05/08 13:45:07] <Volcane> will just cat the damn thing now :) | ||
| [2009/05/08 13:45:15] <Volcane> been annoying me all day | ||
| [2009/05/08 13:45:36] <jief-> hey guys | ||
| [2009/05/08 13:45:54] <jief-> how can i tell puppet to accept the prompt for licenses in certain .deb? | ||
| [2009/05/08 13:46:05] <Volcane> heh | ||
| [2009/05/08 13:46:51] @ Quit: themurph: Read error: 110 (Connection timed out) | ||
| [2009/05/08 13:47:04] <Volcane> if you cant preseed it, then you'll be re-packaging it | ||
| [2009/05/08 13:47:36] <jief-> bummer :) | ||
| [2009/05/08 13:48:17] <jief-> i wonder where they store my acceptance for sun-java6-jre | ||
| [2009/05/08 13:48:23] <jief-> id then distribute that file :) | ||
| [2009/05/08 13:48:41] <joe-mac> jief-: you can preseed the acceptance of the license | ||
| [2009/05/08 13:48:43] <joe-mac> however! | ||
| [2009/05/08 13:48:47] <joe-mac> on my boxen, it doesn't work | ||
| [2009/05/08 13:48:54] <joe-mac> someone on here basically claimed i was lying | ||
| [2009/05/08 13:48:57] <joe-mac> but i preseed other stuff fine | ||
| [2009/05/08 13:49:01] <jief-> preseed? | ||
| [2009/05/08 13:49:02] <Volcane> heh | ||
| [2009/05/08 13:49:23] <joe-mac> yea, it's how you tell the d-i answers non-interactively | ||
| [2009/05/08 13:49:53] <jief-> ah gotcha for installation | ||
| [2009/05/08 13:50:06] @ Quit: descala: | ||
| [2009/05/08 13:51:13] <jief-> i wonder if they could use the openjdk instead | ||
| [2009/05/08 13:51:18] <joe-mac> yea, and you can feed them to puppet | ||
| [2009/05/08 13:51:25] <joe-mac> doubt it | ||
| [2009/05/08 13:51:31] <joe-mac> openjdk isn't a full implementation afaik | ||
| [2009/05/08 13:51:48] <jief-> ya but we already have a system to deploy | ||
| [2009/05/08 13:51:56] <jief-> can you preseed only a package? | ||
| [2009/05/08 13:52:36] <Volcane> jief: http://reductivelabs.com/trac/puppet/wiki/Recipes/DebianPreseed | ||
| [2009/05/08 13:52:41] <Volcane> jief: debian is great | ||
| [2009/05/08 13:52:52] <jief-> Volcane: indeed, been using it for 8 years :) | ||
| [2009/05/08 13:52:57] <joe-mac> yea great for making me want to stab things | ||
| [2009/05/08 13:53:03] <jief-> but i always used deboostrap instead | ||
| [2009/05/08 13:53:07] * Volcane 's with joe-mac :) | ||
| [2009/05/08 13:53:23] <joe-mac> jief-: this works for package installation | ||
| [2009/05/08 13:53:34] <joe-mac> not just the debian-installer, i should have said that | ||
| [2009/05/08 13:54:01] <jief-> gotta love Sun and their weird licenses | ||
| [2009/05/08 13:54:06] <jief-> its just gonna get worst with Oracle | ||
| [2009/05/08 13:54:23] <joe-mac> mehh, it is what it is. | ||
| [2009/05/08 13:54:32] <joe-mac> sun makes awesome hardware, and i love that portion of their business | ||
| [2009/05/08 13:54:41] <jief-> we run our business on it | ||
| [2009/05/08 13:54:42] <Volcane> arg, someone must write something on how to grok git with how puppet people expect patches | ||
| [2009/05/08 13:56:40] <jief-> alright, thanks again for your help. last meeting of the week then pub time! | ||
| [2009/05/08 13:56:42] <jief-> cya | ||
| [2009/05/08 13:56:46] @ Quit: jief-: "Lost terminal" | ||
| [2009/05/08 13:58:15] @ egh joined channel #puppet | ||
| [2009/05/08 14:04:26] <egh> is there anybody who can fix the error preventing me from updating a ticket on the puppet bug tracker? | ||
| [2009/05/08 14:04:53] @ nakano is now known as nakano_ | ||
| [2009/05/08 14:07:16] @ cwebber joined channel #puppet | ||
| [2009/05/08 14:09:28] @ francois left channel #puppet () | ||
| [2009/05/08 14:13:02] @ nakano_ is now known as nakano | ||
| [2009/05/08 14:13:54] <lak> which error? | ||
| [2009/05/08 14:17:51] <Volcane> lak: bah, still learning/figuring out git | ||
| [2009/05/08 14:20:09] <andrewcshafer_> egh: What does the error say? | ||
| [2009/05/08 14:20:56] @ Quit: astinus: Remote closed the connection | ||
| [2009/05/08 14:20:59] @ andrewcshafer_ is now known as andrewcshafer | ||
| [2009/05/08 14:21:23] @ Quit: bobbyz: Read error: 110 (Connection timed out) | ||
| [2009/05/08 14:21:38] @ bobbyz joined channel #puppet | ||
| [2009/05/08 14:22:07] <andrewcshafer> Volcane: Is there some specific thing about git that you think needs to be explained? maybe just more of an outline of the workflow and links to git resources? | ||
| [2009/05/08 14:22:48] <Volcane> yeah, workflow i guess - never used git before so figuring out its weird little way of working and how puppet ppl like it used | ||
| [2009/05/08 14:23:11] <Volcane> like for adding these facts i forked the facter repo on github | ||
| [2009/05/08 14:23:20] <Volcane> which seems ok | ||
| [2009/05/08 14:23:31] <Volcane> now trying to figure out mailing, but my git has no send-mail command | ||
| [2009/05/08 14:24:18] <Volcane> which is odd cos i see it in the man page, so no doubt thats just my git being crap | ||
| [2009/05/08 14:25:31] <Volcane> ah got that now at least | ||
| [2009/05/08 14:29:08] @ Quit: zeroXten: Remote closed the connection | ||
| [2009/05/08 14:37:51] @ ghenry joined channel #puppet | ||
| [2009/05/08 14:46:46] <Volcane> ok, right, trying to send this thing in, hope it doesnt make a mess :P | ||
| [2009/05/08 14:48:06] <Volcane> hmm.wtf, send it to myself it sent the cover and the patch | ||
| [2009/05/08 14:48:12] <Volcane> send it to the list it sends just the cover, nice | ||
| [2009/05/08 14:50:52] <Volcane> no i think google ate it :( | ||
| [2009/05/08 14:51:47] <Volcane> they accepted the mail, but it didnt seem to get to the list | ||
| [2009/05/08 14:53:13] <Volcane> oh, i see it twice in the archive though, so i guess its going out still or something, sorry for the double mail | ||
| [2009/05/08 14:56:24] <lak> i got the cover and two copies of the code | ||
| [2009/05/08 14:56:29] @ mikepea joined channel #puppet | ||
| [2009/05/08 14:56:44] <Volcane> yeah sorry about that, dont know why i only got the cover so resent the code. then i saw both on the web archive of the list | ||
| [2009/05/08 14:56:46] <Volcane> ah well. | ||
| [2009/05/08 14:57:59] <lak> yeah | ||
| [2009/05/08 14:58:11] <Volcane> not finding git to be at all intuitive :P | ||
| [2009/05/08 14:58:21] <lak> no, that's not exactly git's strong suit | ||
| [2009/05/08 14:59:32] @ Quit: edwardam: Remote closed the connection | ||
| [2009/05/08 15:01:13] <Volcane> do ppl generally send 2 mails or just comment top of the patch? | ||
| [2009/05/08 15:02:31] <lak> the mail_patches rake target sends a cover-email if there's more than one commit | ||
| [2009/05/08 15:02:35] <lak> which i think is reasonable behaviour | ||
| [2009/05/08 15:02:44] <lak> (somewhat obviously, since i wrote that rake target) | ||
| [2009/05/08 15:02:54] <Volcane> heh | ||
| [2009/05/08 15:03:47] <Volcane> i need to figure out how to setup all the various bits to dev on centos, its not exactly great for up-to-date things | ||
| [2009/05/08 15:04:03] @ Quit: cwebber: | ||
| [2009/05/08 15:05:21] @ astinus joined channel #puppet | ||
| [2009/05/08 15:07:21] <justindossey> What is the best way in puppet to ensure that a file has a particular line? There are cases when I don't want to maintain an entire file, but I do want to be sure some bits are constant | ||
| [2009/05/08 15:07:39] <justindossey> I know I can use exec {...} but that seems like a hack | ||
| [2009/05/08 15:07:52] <Volcane> there are soe hackish recipes on the wiki that uses sed and all sorts | ||
| [2009/05/08 15:07:54] <Volcane> yeah thats it | ||
| [2009/05/08 15:08:08] <justindossey> hrm. I suppose I could write a function to do it | ||
| [2009/05/08 15:08:40] * Volcane goes home | ||
| [2009/05/08 15:08:52] <justindossey> or add facts to facter so that I can auto-generate the files from erb | ||
| [2009/05/08 15:10:04] @ Quit: keithlard: "Leaving..." | ||
| [2009/05/08 15:28:34] @ Quit: lak: Read error: 60 (Operation timed out) | ||
| [2009/05/08 15:29:23] @ lak joined channel #puppet | ||
| [2009/05/08 15:29:48] @ Quit: bobbyz: Read error: 113 (No route to host) | ||
| [2009/05/08 15:32:22] @ gozer joined channel #puppet | ||
| [2009/05/08 15:32:37] <gozer> ever seen this error before? | ||
| [2009/05/08 15:32:45] <gozer> err: /File[/var/lib/puppet/lib]: Failed to generate additional resources during transaction: can't convert String into Integer | ||
| [2009/05/08 15:34:19] <lak> sometimes; what's the --trace output say? | ||
| [2009/05/08 15:34:33] @ edwardam joined channel #puppet | ||
| [2009/05/08 15:36:05] @ Quit: lak: | ||
| [2009/05/08 15:40:22] <gozer> lak: http://gozer.pastebin.mozilla.org/647819 | ||
| [2009/05/08 15:40:32] @ andrewcshafer_ joined channel #puppet | ||
| [2009/05/08 15:40:35] @ Quit: andrewcshafer: Read error: 104 (Connection reset by peer) | ||
| [2009/05/08 15:46:29] @ claymation_ joined channel #puppet | ||
| [2009/05/08 15:48:14] @ mfournier joined channel #puppet | ||
| [2009/05/08 15:54:13] @ Quit: claymation: Read error: 110 (Connection timed out) | ||
| [2009/05/08 15:56:30] @ andrewcshafer joined channel #puppet | ||
| [2009/05/08 15:58:03] @ Quit: andrewcshafer_: Read error: 104 (Connection reset by peer) | ||
| [2009/05/08 15:58:18] @ andrewcshafer_ joined channel #puppet | ||
| [2009/05/08 16:02:00] @ andrewcshafer__ joined channel #puppet | ||
| [2009/05/08 16:02:00] @ Quit: andrewcshafer_: Read error: 104 (Connection reset by peer) | ||
| [2009/05/08 16:09:47] @ d3vilb0x joined channel #puppet | ||
| [2009/05/08 16:10:46] @ andrewcshafer_ joined channel #puppet | ||
| [2009/05/08 16:10:46] @ Quit: andrewcshafer__: Read error: 131 (Connection reset by peer) | ||
| [2009/05/08 16:12:33] @ Quit: abustardo: Read error: 110 (Connection timed out) | ||
| [2009/05/08 16:13:00] <andrewcshafer_> is redmine slow as hell for anyone else or is it just the network here? | ||
| [2009/05/08 16:15:17] @ Quit: andrewcshafer_: Client Quit | ||
| [2009/05/08 16:17:14] @ Quit: andrewcshafer: Read error: 110 (Connection timed out) | ||
| [2009/05/08 16:22:59] @ gmason left channel #puppet () | ||
| [2009/05/08 16:23:34] <bartc> I haven't been able to view any ticket on redmine for some time - I get a 500 error | ||
| [2009/05/08 16:25:04] @ Quit: mikepea: | ||
| [2009/05/08 16:29:16] @ dsch04 joined channel #puppet | ||
| [2009/05/08 16:30:04] @ Quit: d3vilb0x: | ||
| [2009/05/08 16:32:23] @ kolla joined channel #puppet | ||
| [2009/05/08 16:32:57] @ Quit: gozer: | ||
| [2009/05/08 16:34:23] @ Quit: jli_: Read error: 110 (Connection timed out) | ||
| [2009/05/08 16:38:59] @ Quit: Volcane: "Coyote finally caught me" | ||
| [2009/05/08 16:39:28] @ Volcane joined channel #puppet | ||
| [2009/05/08 16:43:09] @ Quit: xyz: "ChatZilla 0.9.84 [Firefox 3.0.10/2009042810]" | ||
| [2009/05/08 16:44:46] @ cwebber joined channel #puppet | ||
| [2009/05/08 16:48:08] @ Quit: joe-mac: "Leaving." | ||
| [2009/05/08 16:51:15] @ MarlondB joined channel #puppet | ||
| [2009/05/08 17:02:07] @ Quit: jtimberman: Read error: 104 (Connection reset by peer) | ||
| [2009/05/08 17:02:39] @ jtimberman joined channel #puppet | ||
| [2009/05/08 17:08:47] @ adoom42 joined channel #puppet | ||
| [2009/05/08 17:09:57] @ Quit: squiddle: Remote closed the connection | ||
| [2009/05/08 17:10:15] @ squiddle joined channel #puppet | ||
| [2009/05/08 17:13:00] <adoom42> hey guys, can you put a chunk of raw ruby code into a puppet template? I'm trying to get it to work with no luck | ||
| [2009/05/08 17:24:42] <Volcane> yeah they are just ruby bits | ||
| [2009/05/08 17:28:47] @ mconigliaro left channel #puppet () | ||
| [2009/05/08 17:29:13] @ nakano is now known as nakano_ | ||
| [2009/05/08 17:32:06] @ alfism_ joined channel #puppet | ||
| [2009/05/08 17:33:18] @ shenson joined channel #puppet | ||
| [2009/05/08 17:34:18] <shenson> is there a for each stucture in puppet? | ||
| [2009/05/08 17:35:09] <shenson> I have an array that I need to do something with each element of the array, but trying to do a custom type to process them result in multiple objects with the same name (even though they are technically different objects the have the same name for various reasons) | ||
| [2009/05/08 17:35:12] <Volcane> you need to create a defined type and pass an array to it | ||
| [2009/05/08 17:35:40] <shenson> that was my first thought, but I run in to the duplicate definitions problem | ||
| [2009/05/08 17:35:50] <Volcane> then call them uniquely | ||
| [2009/05/08 17:36:03] <agaffney> %<%= sudo_group %> ALL=(ALL) ALL | ||
| [2009/05/08 17:36:16] <agaffney> puppet does not seem to like that for template() | ||
| [2009/05/08 17:36:22] <Volcane> define foo() { file{"/tmp/foo-${name}": } } | ||
| [2009/05/08 17:36:26] <Volcane> foo{$arr: } | ||
| [2009/05/08 17:36:37] <Volcane> creates /tmp/<each member of arr> | ||
| [2009/05/08 17:36:42] <agaffney> http://rafb.net/p/bmhZun97.html | ||
| [2009/05/08 17:36:46] <agaffney> that's the syntax error | ||
| [2009/05/08 17:36:50] <agaffney> not sure how to fix it | ||
| [2009/05/08 17:37:42] @ yarihm joined channel #puppet | ||
| [2009/05/08 17:37:43] <justindossey> agaffney: what about <%= "#{sudo_group} ALL=(ALL) ALL" %> | ||
| [2009/05/08 17:38:44] <shenson> Volcane, I have something along the lines of "define foo($bar) { file {"/tmp/${bar}-${name}"}}" "foo{$arr: bar => 'baz'}", and I call it with $arr multiple times, and each time I call it $arr may contain duplicate entries, but bar will be different | ||
| [2009/05/08 17:38:46] <agaffney> justindossey: nope...same | ||
| [2009/05/08 17:38:51] <agaffney> it's that % at the beginning | ||
| [2009/05/08 17:39:00] <agaffney> I guess I can just include that in $sudo_group | ||
| [2009/05/08 17:39:07] <agaffney> or is there a way to "escape" it? | ||
| [2009/05/08 17:39:20] <Volcane> shenson: arr needs to have unique member names then | ||
| [2009/05/08 17:39:31] <shenson> Volcane, basically what I'm trying to do is implement a poor man's members attribute on the group type | ||
| [2009/05/08 17:39:36] <Volcane> shenson: cos you'll make dupes then for sure | ||
| [2009/05/08 17:39:37] <justindossey> agaffney: ah, the %-- what about <%= "%#{sudo_group}... | ||
| [2009/05/08 17:40:24] <shenson> Volcane, so each user needs to be able to be added to multiple groups, what I'm trying is keying the groupmember type to the username, which is resulting in dupes | ||
| [2009/05/08 17:40:30] @ Quit: cwebber: | ||
| [2009/05/08 17:40:53] @ nakano_ is now known as nakano | ||
| [2009/05/08 17:41:05] <agaffney> justindossey: that gets rid of the syntax error, but apparently that wasn't my base problem | ||
| [2009/05/08 17:41:08] <agaffney> err: Could not retrieve catalog: can't convert nil into String at /etc/puppet/modules/ldap/manifests/init.pp:47 | ||
| [2009/05/08 17:41:23] <agaffney> that's the 'content => template("sudoers.erb"),' line | ||
| [2009/05/08 17:41:43] <agaffney> when using templates within a module, what path does it look in for templates? | ||
| [2009/05/08 17:41:55] <Volcane> shenson: donno, surely for a specific user the group will only have unique members? | ||
| [2009/05/08 17:42:11] @ Quit: alfism: Read error: 110 (Connection timed out) | ||
| [2009/05/08 17:42:36] @ Quit: edwardam: Remote closed the connection | ||
| [2009/05/08 17:42:51] <shenson> Volcane, indeed, but how do I process the array of members into a unique string so that I can pass it to the function and unpack it to do the actual work? | ||
| [2009/05/08 17:43:16] <Volcane> nod, puppet just dont really have much of that :) | ||
| [2009/05/08 17:43:33] <agaffney> hmm, still doesn't work with full path | ||
| [2009/05/08 17:44:32] <wilturn> does anybody have an example of puppet deploying custom munin plugins? The documentation I find talks about a 'script_path' parameter which puppet is choking on during retrieving the catalog | ||
| [2009/05/08 17:45:07] <shenson> hmm, maybe I could kluge it with a parser function, but this just keeps feeling messier and messier just because the provider I'm using doesn't manage_members | ||
| [2009/05/08 17:45:19] <shenson> wilturn, script_path will be the path to the munin plugins I believe | ||
| [2009/05/08 17:47:35] <wilturn> shenson, that is what I would like, but it seems like the parameter is not supported: http://pastie.org/472648 (sorry about that color scheme :/) | ||
| [2009/05/08 17:47:57] <agaffney> bah, got it | ||
| [2009/05/08 17:48:17] <agaffney> it wanted template("ldap/sudoers.erb") for the path /etc/puppet/modules/ldap/templates/sudoers.erb | ||
| [2009/05/08 17:48:31] <agaffney> similar to files in modules | ||
| [2009/05/08 17:49:06] <shenson> wilturn, I'd need to see your define for munin::plugin | ||
| [2009/05/08 17:52:47] <wilturn> shenson, I guess im confused about some of these munin internals and will need to dig more.. It seems like we just tell the node to include munin::client and the munin::plugin is just a module we are deploying from RPM, I appreciate you taking a look | ||
| [2009/05/08 17:58:35] @ shenson is now known as shenson_not_here | ||
| [2009/05/08 18:03:44] @ brothers left channel #puppet () | ||
| [2009/05/08 18:07:45] @ edwardam joined channel #puppet | ||
| [2009/05/08 18:12:14] @ Quit: Bass10: Read error: 110 (Connection timed out) | ||
| [2009/05/08 18:17:35] <bevans5446> is there a way for me to disable the checksum option for the file{} type? | ||
| [2009/05/08 18:19:01] <bevans5446> This way I could, for example, have puppet create directory once with default permissions, but then manually change the permissions on the directory if needed. | ||
| [2009/05/08 18:19:06] @ rberger joined channel #puppet | ||
| [2009/05/08 18:19:25] <bevans5446> ...without worrying about puppet changing the permissions back | ||
| [2009/05/08 18:19:46] @ Quit: flakrat: "Leaving" | ||
| [2009/05/08 18:20:33] @ Djelibeybi joined channel #puppet | ||
| [2009/05/08 18:20:48] <bevans5446> meh, doesn't look like it | ||
| [2009/05/08 18:24:19] @ elijahwright joined channel #puppet | ||
| [2009/05/08 18:25:25] <mfournier> I would say "replace => false" should be used for this, but it doesn't seems to work on perms/ownerships. | ||
| [2009/05/08 18:26:06] <mfournier> Even if "owner/mode" are omitted. | ||
| [2009/05/08 18:27:53] <justindossey> mfournier: what about using exec {}? | ||
| [2009/05/08 18:30:09] @ Quit: blahdeblah: "Leaving." | ||
| [2009/05/08 18:32:35] <mfournier> I personaly avoid using exec when possible. It allows you to do anthing, including ugly unmaintanable mess.. | ||
| [2009/05/08 18:33:02] @ zirpu is now known as zirpu-away | ||
| [2009/05/08 18:33:40] <justindossey> mfournier: I agree with you on that | ||
| [2009/05/08 18:34:13] @ zirpu-away is now known as zirpu | ||
| [2009/05/08 18:39:13] <justindossey> mfournier: the only band-aid on the flexibility of exec is to create a defined type that wraps exec | ||
| [2009/05/08 18:48:35] @ mfoster left channel #puppet () | ||
| [2009/05/08 18:49:45] @ Quit: egh: Remote closed the connection | ||
| [2009/05/08 18:51:45] @ Quit: ags: "Leaving" | ||
| [2009/05/08 18:57:24] <k0001> so, nwebie question here... i have a service whose title is "postgresql", i've defined its name as "postgresql-8.3" asuming that a file named "/etc/init.d/postgresql-8.3" will be used to start the service, however, i'm getting the following error in my node: Failed to retrieve current state of resource: Could not find init script for '/etc/init.d/postgresql-8.3', which is quite weird since /etc/init.d/postgresql-8.3 is there. | ||
| [2009/05/08 18:57:29] <k0001> what am i missing? | ||
| [2009/05/08 19:00:36] @ Quit: axisys: "leaving" | ||
| [2009/05/08 19:01:35] @ Quit: elijahwright: Remote closed the connection | ||
| [2009/05/08 19:03:29] @ lak joined channel #puppet | ||
| [2009/05/08 19:06:23] @ grim_radical left channel #puppet ("Leaving") | ||
| [2009/05/08 19:06:54] @ Quit: lak: Client Quit | ||
| [2009/05/08 19:07:58] @ cwebber joined channel #puppet | ||
| [2009/05/08 19:09:35] @ Quit: Djelibeybi: "Leaving" | ||
| [2009/05/08 19:10:51] @ lak joined channel #puppet | ||
| [2009/05/08 19:11:02] <wilturn> does anyone have an example of deploying a munin custom plugin via puppet using the script_path parameter to specify the custom/overlayed directory? | ||
| [2009/05/08 19:11:14] @ andrewcshafer joined channel #puppet | ||
| [2009/05/08 19:18:20] <hacim> wilturn: i'm deploying some custom munin plugins | ||
| [2009/05/08 19:18:43] <hacim> i think I have a file resource that does something like: | ||
| [2009/05/08 19:18:43] <hacim> "/usr/local/share/munin-plugins/process_states": | ||
| [2009/05/08 19:18:43] <hacim> source => "$fileserver/munin/process_states", | ||
| [2009/05/08 19:18:43] <hacim> mode => 0755, owner => root, group => root; | ||
| [2009/05/08 19:18:51] @ phyn joined channel #puppet | ||
| [2009/05/08 19:18:54] <hacim> and then: | ||
| [2009/05/08 19:18:54] <hacim> munin::plugin { "process_states": | ||
| [2009/05/08 19:18:55] <hacim> ensure => present, | ||
| [2009/05/08 19:18:55] <hacim> script_path => "/usr/local/share/munin-plugins"; | ||
| [2009/05/08 19:18:55] <hacim> } | ||
| [2009/05/08 19:19:13] <wilturn> hacim, I find in the documentation that it says I use the script_path param, but that seems to fail on my run.. and it looks just like yours | ||
| [2009/05/08 19:19:18] <wilturn> I must have something else up, thanks SO MUCH | ||
| [2009/05/08 19:19:27] <hacim> no problem | ||
| [2009/05/08 19:19:30] <hacim> good luck! | ||
| [2009/05/08 19:20:31] <phyn> whats a site i can paste text to and get a url from so i dont have to spam a large error here ? | ||
| [2009/05/08 19:22:06] <gepetto> ::trac:: Development Lifecycle edited by jamtur01 @ http://reductivelabs.com/trac/puppet/wiki/DevelopmentLifecycle (by james@lovedthanlost.net) | ||
| [2009/05/08 19:23:21] <phyn> ok i have a weird problem i have about 15 identical boxes running centos5.2 i have installed puppet on 13 of them with out any problem but the last two give me errors when i run puppetd. http://tinypaste.com/b35e1 | ||
| [2009/05/08 19:24:48] <wilturn> phyn, I havent seen that on my cent 5.2 or 5.3 setups, but one thing I would see is if yum can run cleanly or if maybe there is a circular dep or package merge it cant decide on | ||
| [2009/05/08 19:25:11] <wilturn> looks more like an internal puppet issue, im probably off base | ||
| [2009/05/08 19:26:11] <phyn> the yum install finishes with no errors on both | ||
| [2009/05/08 19:26:39] <phyn> how can i double check what your saying ? | ||
| [2009/05/08 19:27:20] <wilturn> if a yum update will finish without warnings, you are usually fine there, it only really comes into play with 3rd party repos using different names for slotting | ||
| [2009/05/08 19:27:39] <phyn> imjust using rpmforge for puppet | ||
| [2009/05/08 19:30:45] @ devicenull_ joined channel #puppet | ||
| [2009/05/08 19:31:35] @ Quit: cwebber: | ||
| [2009/05/08 19:37:53] @ Quit: mfournier: Read error: 148 (No route to host) | ||
| [2009/05/08 19:39:04] @ axisys joined channel #puppet | ||
| [2009/05/08 19:39:56] @ cwebber joined channel #puppet | ||
| [2009/05/08 19:43:13] @ Quit: k0001: "Leaving." | ||
| [2009/05/08 19:43:19] @ Quit: nigelk: | ||
| [2009/05/08 19:48:51] @ Quit: devicenull: Read error: 110 (Connection timed out) | ||
| [2009/05/08 19:54:11] @ Quit: cwebber: | ||
| [2009/05/08 19:54:52] @ Quit: phyn: "http://www.mibbit.com ajax IRC Client" | ||
| [2009/05/08 19:55:02] @ Quit: squiddle: Read error: 113 (No route to host) | ||
| [2009/05/08 20:01:27] @ Quit: andrewcshafer: | ||
| [2009/05/08 20:01:53] @ Quit: alfism_: "Connection reset by beer" | ||
| [2009/05/08 20:06:40] @ mikepea joined channel #puppet | ||
| [2009/05/08 20:11:30] @ Quit: philip__: "Lost terminal" | ||
| [2009/05/08 20:25:35] @ Quit: lak: | ||
| [2009/05/08 20:31:33] @ Quit: WALoeIII: Read error: 110 (Connection timed out) | ||
| [2009/05/08 20:32:17] @ Quit: f3ew: Read error: 113 (No route to host) | ||
| [2009/05/08 20:33:29] @ punkcut joined channel #puppet | ||
| [2009/05/08 20:48:33] @ Quit: mikepea: | ||
| [2009/05/08 21:13:09] @ Quit: claymation_: | ||
| [2009/05/08 21:14:12] @ Quit: justindossey: "Leaving." | ||
| [2009/05/08 21:15:38] @ WALoeIII joined channel #puppet | ||
| [2009/05/08 21:21:45] @ johnw joined channel #puppet | ||
| [2009/05/08 21:21:54] <johnw> what is the namespace restriction for templates? | ||
| [2009/05/08 21:22:16] <johnw> i have a class that I'm including, so I can say $module::foo in my node, but I can't use <%= module::foo %> in a template in that node | ||
| [2009/05/08 21:31:36] @ shake-n-bake joined channel #puppet | ||
| [2009/05/08 21:32:12] @ Quit: johnw: | ||
| [2009/05/08 21:36:05] @ Quit: shake-n-bake: Client Quit | ||
| [2009/05/08 21:43:11] @ DavidS1 joined channel #puppet | ||
| [2009/05/08 21:43:43] @ PhabX joined channel #puppet | ||
| [2009/05/08 21:48:43] @ Quit: edwardam: Remote closed the connection | ||
| [2009/05/08 21:49:51] @ edwardam joined channel #puppet | ||
| [2009/05/08 21:55:36] @ Quit: edwardam: Remote closed the connection | ||
| [2009/05/08 21:56:03] @ Quit: punkcut: Nick collision from services. | ||
| [2009/05/08 21:56:04] @ punkcut1 joined channel #puppet | ||
| [2009/05/08 21:56:09] @ punkcut1 is now known as punkcut | ||
| [2009/05/08 21:57:42] @ pdt joined channel #puppet | ||
| [2009/05/08 22:01:54] @ Quit: DavidS: Read error: 110 (Connection timed out) | ||
| [2009/05/08 22:09:41] @ Quit: WALoeIII: | ||
| [2009/05/08 22:15:58] @ Quit: auxesis_: Read error: 113 (No route to host) | ||
| [2009/05/08 22:27:34] @ Quit: pdt: Read error: 104 (Connection reset by peer) | ||
| [2009/05/08 22:27:36] @ pdt_ joined channel #puppet | ||
| [2009/05/08 22:35:14] @ CompBrain left channel #puppet () | ||
| [2009/05/08 22:37:45] @ Quit: ethan_rowe: "Lack of interest wins out." | ||
| [2009/05/08 22:42:26] @ WALoeIII joined channel #puppet | ||
| [2009/05/08 22:48:26] @ chip__ joined channel #puppet | ||
| [2009/05/08 22:50:54] @ Quit: rberger: | ||
| [2009/05/08 23:03:50] <ribo> why would a first run get stuck at debug: Calling puppetca.getcert | ||
| [2009/05/08 23:04:23] @ Quit: atlan_: Read error: 110 (Connection timed out) | ||
| [2009/05/08 23:06:11] @ Quit: punkcut: Read error: 104 (Connection reset by peer) | ||
| [2009/05/08 23:08:38] @ nigelk joined channel #puppet | ||
| [2009/05/08 23:14:19] @ edwardam joined channel #puppet | ||
| [2009/05/08 23:18:06] @ Quit: PhabX: "Leaving..." | ||
| [2009/05/08 23:24:03] @ fujin joined channel #puppet | ||
| [2009/05/08 23:26:05] @ Quit: pdt_: | ||
| [2009/05/08 23:31:24] @ rberger joined channel #puppet | ||
| [2009/05/08 23:39:17] @ pdt joined channel #puppet | ||
| [2009/05/08 23:48:43] <ribo> nm | ||
| [2009/05/08 23:56:20] @ rberger_ joined channel #puppet |
Generated by irclog2html.py 2.6 by Marius Gedminas - find it at mg.pov.lt!