Wednesday, 2008-11-19

[2008/11/19 00:01:18] @ Log started by gepetto
[2008/11/19 00:01:18] <nigelk> lak: I've found all the cases too annoying
[2008/11/19 00:08:37] @ Damm joined channel #puppet
[2008/11/19 00:14:44] <lak> nigelk: yeah, i'm thinking of skipping it, but there's one that's insanely thin and actually enhances the texture of the back
[2008/11/19 00:14:50] <lak> not sticky, but slightly tactile
[2008/11/19 00:14:55] <nigelk> that could be good
[2008/11/19 00:15:05] <nigelk> I have this vinyl sticker from macworld on mine
[2008/11/19 00:15:12] <nigelk> kind of helps
[2008/11/19 00:15:23] <lak> ah
[2008/11/19 00:15:33] <nigelk> gah. i just sent to puppet-dev@madstop
[2008/11/19 00:15:56] <lak> my concern is that teyo and i have the same phone and the cover's only available in one color, so our phones would look identical and i share an office with him (and often dinner and drinks)
[2008/11/19 00:16:08] @ punkcut1 joined channel #puppet
[2008/11/19 00:16:08] @ Quit: punkcut: Nick collision from services.
[2008/11/19 00:16:15] <nigelk> yeah, that sucks. that's one reason why I got the sticker, living in a building full of iphones at work
[2008/11/19 00:16:16] @ punkcut1 is now known as punkcut
[2008/11/19 00:16:41] <nigelk> so I solved the launchd stopped/enabled etc situation
[2008/11/19 00:17:00] <nigelk> the puppet provider can now do more than the launchctl command, in that it can have a job in running/disabled and stopped/enabled mode
[2008/11/19 00:17:49] @ japherwocky_ joined channel #puppet
[2008/11/19 00:23:13] <stick> lak: face it... soon the assimilation will be complete, tejo will add your uniqueness to his own...
[2008/11/19 00:23:51] @ Quit: japherwocky: Connection timed out
[2008/11/19 00:24:47] <stick> lak: I have another friend that has http://www.zagg.com/?gclid=CODi2bTAgJcCFQO2FQod3E_UZA and he loves it
[2008/11/19 00:27:06] <lak> cool
[2008/11/19 00:27:14] <lak> nigelk: coolness
[2008/11/19 00:30:28] @ Quit: dysinger:
[2008/11/19 00:33:43] @ dysinger joined channel #puppet
[2008/11/19 00:34:51] @ holoway joined channel #puppet
[2008/11/19 00:42:05] @ kcrwfrd joined channel #puppet
[2008/11/19 00:44:57] @ Quit: kcrwfrd: Client Quit
[2008/11/19 00:50:03] <tmz> lak: for iphone protection, have you seen http://www.zagg.com/invisibleshield/apple-iphone-3g-cases-screen-protectors-covers-skins-shields.php ?
[2008/11/19 00:50:36] <tmz> I've got that on an ipod and it's worked extremely well.
[2008/11/19 00:51:53] @ andrewcshafer joined channel #puppet
[2008/11/19 00:53:11] @ Quit: mrowell:
[2008/11/19 00:53:14] @ unxfrek joined channel #puppet
[2008/11/19 00:53:38] <lak> tmz: yeah, stick just linked to it; i want something with a little more stickiness than plain plastic, tho
[2008/11/19 00:54:21] @ Quit: nigelk:
[2008/11/19 00:58:41] <stick> lak: I would recommend getting a basic cheap case to protect your phone right when you get it, then live with it for a while and figure out what you want out of a case, there are literally 100s of choices on cases
[2008/11/19 00:58:55] <lak> yeah
[2008/11/19 00:59:02] @ Quit: dbgrandi:
[2008/11/19 01:00:05] <tmz> lak: I find the invisible shield is a good bit stickier than plastic. it's like really thin rubber.
[2008/11/19 01:02:14] <lak> ok
[2008/11/19 01:12:38] @ Quit: chino1: Read error: 60 (Operation timed out)
[2008/11/19 01:13:42] <stick> tmz: how many days did it take to put on?
[2008/11/19 01:14:21] @ WALoeIII joined channel #puppet
[2008/11/19 01:17:34] <tmz> stick: only 1. but it took 3 people and some eye of newt. :)
[2008/11/19 01:18:15] <stick> tmz: yeah it look me forever to put a cover on mine (just the front) and I'm not real happy with it (couple of bubbles, etc)
[2008/11/19 01:18:31] <stick> I really needed a clean room as well
[2008/11/19 01:22:26] @ Quit: WALoeIII: "Bai."
[2008/11/19 01:23:09] <tmz> honestly, it wasn't bad. I've put about 3 of them on my own and friends ipods.
[2008/11/19 01:23:32] <tmz> a clean workspace was important though.
[2008/11/19 01:24:03] @ chino1 joined channel #puppet
[2008/11/19 01:24:10] <tmz> but I've beat the piss out of my ipods and that skin has help up amazingly.
[2008/11/19 01:24:57] @ Quit: unxfrek: "Leaving"
[2008/11/19 01:35:26] @ Quit: lak:
[2008/11/19 01:41:45] @ ijcd joined channel #puppet
[2008/11/19 01:44:31] @ ijcd_ joined channel #puppet
[2008/11/19 01:46:25] @ webx joined channel #puppet
[2008/11/19 01:46:48] <webx> anyone happen to know the guy's irc nick who wrote puppetview?
[2008/11/19 01:46:53] <webx> pretty sure he hangs out here
[2008/11/19 01:48:36] @ Quit: ijcd_: Client Quit
[2008/11/19 01:54:00] @ Quit: dysinger:
[2008/11/19 01:57:23] <dsch04> hola all
[2008/11/19 01:57:43] <dsch04> I'm seeing a strange thing with yum package versions
[2008/11/19 01:57:49] @ Quit: chino1: Read error: 110 (Connection timed out)
[2008/11/19 01:57:56] <dsch04> puppet is not installing the latest version of a package
[2008/11/19 01:58:43] <dsch04> I'm on CentOS and I have the epel repo installed and enabled
[2008/11/19 01:59:35] <dsch04> Hmmm, it worked that time
[2008/11/19 02:02:02] @ Quit: ijcd: Read error: 110 (Connection timed out)
[2008/11/19 02:03:45] @ Quit: webx: "My damn controlling terminal disappeared!"
[2008/11/19 02:04:46] @ chino1 joined channel #puppet
[2008/11/19 02:05:15] @ pleemans joined channel #puppet
[2008/11/19 02:13:42] @ Quit: holoway:
[2008/11/19 02:15:58] @ Quit: andrewcshafer:
[2008/11/19 02:17:22] @ seymopau joined channel #puppet
[2008/11/19 02:18:29] @ andrewcshafer joined channel #puppet
[2008/11/19 02:23:31] @ Quit: chino1: Read error: 54 (Connection reset by peer)
[2008/11/19 02:26:00] <dsch04> Quickie: what's the syntax for multiple requires in a class?
[2008/11/19 02:26:37] <dsch04> I want to make my mysqld service depend on Package["mysql-server"] and File["/etc/my.cnf"]
[2008/11/19 02:28:36] <f3ew> Require => [Package[], Package ]
[2008/11/19 02:29:00] <dsch04> OK, so just list the resources with [ ] round them
[2008/11/19 02:29:03] <dsch04> Thx.
[2008/11/19 02:47:52] @ Quit: punkcut: Read error: 54 (Connection reset by peer)
[2008/11/19 02:57:34] @ Innocenti joined channel #puppet
[2008/11/19 03:00:55] @ ski98033 joined channel #puppet
[2008/11/19 03:01:06] @ ski98033 left channel #puppet ()
[2008/11/19 03:05:49] @ jcape joined channel #puppet
[2008/11/19 03:06:51] @ Quit: Mandus: Read error: 104 (Connection reset by peer)
[2008/11/19 03:13:04] @ descala joined channel #puppet
[2008/11/19 03:21:05] @ Mandus joined channel #puppet
[2008/11/19 03:22:49] @ MarlondB joined channel #puppet
[2008/11/19 03:22:57] @ aymerick joined channel #puppet
[2008/11/19 03:27:05] @ iFujin joined channel #puppet
[2008/11/19 03:29:28] @ masterzen joined channel #puppet
[2008/11/19 03:35:03] @ Quit: quiffhanger: "Ninja IRC v1.5.8.1(#1) exiting after 6d19h27m53s of use"
[2008/11/19 03:37:05] @ tim|macbook joined channel #puppet
[2008/11/19 03:40:13] @ quiffhanger joined channel #puppet
[2008/11/19 03:41:14] @ DerekW joined channel #puppet
[2008/11/19 03:44:33] @ hexasoft joined channel #puppet
[2008/11/19 03:44:44] <hexasoft> hello
[2008/11/19 03:50:58] @ thegcat joined channel #puppet
[2008/11/19 03:51:55] @ nuloop joined channel #puppet
[2008/11/19 03:56:09] <gepetto> ::wiki:: External Nodes edited by Spirou @ http://reductivelabs.com/trac/puppet/wiki/ExternalNodes (by kurt@spam.bendlin.de)
[2008/11/19 04:02:15] <thegcat> anyone using puppet on ubuntu?
[2008/11/19 04:02:32] <thegcat> i get a somewhat worrying message: "/usr/share/rails/activerecord/lib/../../activesupport/lib/active_support/inflector.rb:257: command not found: /sbin/checkproc oninit"
[2008/11/19 04:03:16] <thegcat> and there is no /sbin/checkproc on the system, neither did I find a checkproc in aptitude
[2008/11/19 04:03:34] <jamesturnbull> thegcat: is that puppet for activerecord?
[2008/11/19 04:03:38] <jamesturnbull> s/for/or/
[2008/11/19 04:04:01] <thegcat> jamesturnbull: I get that when I run puppet
[2008/11/19 04:04:19] <thegcat> oninit is used in one of my custom facts
[2008/11/19 04:04:51] <thegcat> oh, nevermind
[2008/11/19 04:05:04] <thegcat> I use the checkproc myself in the fact *shame*
[2008/11/19 04:05:39] <thegcat> nevermind
[2008/11/19 04:11:04] @ mvn071 joined channel #puppet
[2008/11/19 04:21:42] <masterzen> !seen tmz
[2008/11/19 04:21:44] <gepetto> masterzen: tmz was last seen 2 hours, 57 minutes and 32 seconds ago, saying but I've beat the piss out of my ipods and that skin has help up amazingly.
[2008/11/19 04:22:29] <masterzen> tmz: if you're still there, I just fixed #1759. It would be great if you could confirm it solves your original issue.
[2008/11/19 04:23:10] <gepetto> masterzen: tmz: #1759 is http://projects.reductivelabs.com/issues/show/1759 "Puppet - Bug #1759: Numeric comparison does not work as expected in if statements - ReductiveLabs.com"
[2008/11/19 04:31:57] @ realalien joined channel #puppet
[2008/11/19 04:36:45] @ lutter joined channel #puppet
[2008/11/19 04:39:55] @ realalien_ joined channel #puppet
[2008/11/19 04:44:15] @ iFujin_ joined channel #puppet
[2008/11/19 04:51:24] @ iFujin__ joined channel #puppet
[2008/11/19 04:58:28] @ Quit: realalien: Read error: 110 (Connection timed out)
[2008/11/19 04:59:32] @ Quit: iFujin_: Read error: 145 (Connection timed out)
[2008/11/19 05:04:18] @ Quit: iFujin: Read error: 113 (No route to host)
[2008/11/19 05:17:32] @ Quit: iFujin__: Remote closed the connection
[2008/11/19 05:17:53] @ skiold joined channel #puppet
[2008/11/19 05:23:03] @ seymourp joined channel #puppet
[2008/11/19 05:29:29] @ Quit: stevenjenkins: Read error: 60 (Operation timed out)
[2008/11/19 05:38:34] <jamesturnbull> thegcat: it happens :P
[2008/11/19 05:39:17] @ Quit: seymopau: Read error: 110 (Connection timed out)
[2008/11/19 05:44:47] <hexasoft> question: I added a facter variable (it works fine), but it is usable only on some machines (it depends on AFS which is not on every machines).
[2008/11/19 05:45:20] <hexasoft> is there a way to tell puppet to use this variable only on some nodes?
[2008/11/19 05:45:38] <hexasoft> it is not very important, but it generates some warnings on clients.
[2008/11/19 05:47:05] @ iFujin__ joined channel #puppet
[2008/11/19 05:49:02] @ nasrat joined channel #puppet
[2008/11/19 05:49:46] @ Quit: iFujin__: Remote closed the connection
[2008/11/19 05:50:18] @ strerror_work joined channel #puppet
[2008/11/19 06:00:24] @ mgm joined channel #puppet
[2008/11/19 06:12:26] @ stevenjenkins joined channel #puppet
[2008/11/19 06:13:26] @ Quit: seymourp: Read error: 110 (Connection timed out)
[2008/11/19 06:13:35] @ Quit: DerekW: Read error: 110 (Connection timed out)
[2008/11/19 06:22:52] @ keithlard joined channel #puppet
[2008/11/19 06:23:40] @ hexasoft left channel #puppet ()
[2008/11/19 06:25:13] <duritong> this activerecord-gem update is really interesting
[2008/11/19 06:31:21] @ Quit: ohadlevy: Remote closed the connection
[2008/11/19 06:54:55] @ sazma joined channel #puppet
[2008/11/19 06:55:47] @ Quit: GoodStuff: Read error: 104 (Connection reset by peer)
[2008/11/19 06:56:34] @ GoodStuff joined channel #puppet
[2008/11/19 07:13:46] @ dysinger joined channel #puppet
[2008/11/19 07:20:35] <tim|macbook> ok, I have a pattern that i have no solution for... I'm using the mysql plugins from DavidS and use it to export mysql resources
[2008/11/19 07:20:43] <tim|macbook> but i have several mysql servers (dev, stage, prod)
[2008/11/19 07:21:03] @ Quit: thegcat:
[2008/11/19 07:21:10] <tim|macbook> how do i create a distinction between this? how do i tell a server to only realize the resources that are meant for it?
[2008/11/19 07:24:24] @ martha joined channel #puppet
[2008/11/19 07:32:36] <masterzen> tim|macbook: tag your resources, and in the collection use only the tags for the right server
[2008/11/19 07:33:36] <masterzen> tim|macbook: sth along: @@mysql_database { "db": tag => "prod" } and later mysql_database<<| tag == "prod" |>>
[2008/11/19 07:34:01] <masterzen> tim|macbook: sorry, Mysql_database<<| tag == "prod" |>>
[2008/11/19 07:34:41] <tim|macbook> aha... didn't know you could tag resources like that, was under the impression you could only tag classes and the like :)
[2008/11/19 07:34:43] <tim|macbook> great, thanks!
[2008/11/19 07:51:27] <mrrx_> how would you call a function within a file object? for example when it is changed
[2008/11/19 07:51:50] <mrrx_> normally you can use Notify to trigger another object
[2008/11/19 07:52:12] <masterzen> mrrx_: you can't. You can use notify to notify another resource to do something (ie an Exec for instance).
[2008/11/19 07:52:35] <masterzen> mrrx_: which kind of function do you want to call?
[2008/11/19 07:53:34] <mrrx_> custom, say for example if /etc/hosts changes on a puppet i want on the puppetmaster to run a script
[2008/11/19 07:55:39] <jamesturnbull> mrrx_: subscribe?
[2008/11/19 07:55:51] <mrrx_> subscribe will run the script on the puppet itself
[2008/11/19 07:55:57] <mrrx_> if i'm not mistaken
[2008/11/19 07:56:04] <mrrx_> subscribe combined with exec
[2008/11/19 07:56:42] <jamesturnbull> mrrx_: oh sorry - missed the "function" part
[2008/11/19 07:56:43] <mrrx_> afaik only functions are actually executed on the puppetmaster
[2008/11/19 07:56:53] <jamesturnbull> mrrx_: that's correct
[2008/11/19 07:57:12] <jamesturnbull> mrrx_: but why can't the master be a client too?
[2008/11/19 07:57:21] <masterzen> mrrx_: the functions are executed while the catalog is compiled. That's waaay before your current client executes the catalog...
[2008/11/19 07:57:39] <jamesturnbull> mrrx_: so you have a file resource that triggers an exec on your master (which is also defined as a client node)
[2008/11/19 07:59:56] <mrrx_> masterzen: i see, does this mean that the catalog is re-compiled everytime a puppet asks for instructions?
[2008/11/19 08:00:34] <mrrx_> jamesturnbull: interesting... puppetmaster also as a puppet
[2008/11/19 08:00:52] <masterzen> mrrx_: it depends. I don't think so if nothing has changed, but I'm not (yet) an expert in compilation...
[2008/11/19 08:02:43] <jamesturnbull> mrrx_: the catalog is re-compiled if something changes on the client or when the client connects to the master at wahtever interval configured
[2008/11/19 08:03:15] <mrrx_> ok, that sounds trivial to me :P
[2008/11/19 08:03:26] <masterzen> jamesturnbull: wasn't the catalog cached in earlier version?
[2008/11/19 08:05:01] <mrrx_> this is the situation i'm dealing with: i'm trying to incorporate samhain into puppet, the install process. As samhain is a relatively compicated package (during deployment), It is necessary to prepare the binary before pushing it to the puppet.
[2008/11/19 08:06:22] <mrrx_> I've narrowed down the process to this: puppet checks for the samhain init script locally. If it's missing it raises a flag? and puppetmaster starts the process to create a package for this puppet. Then push it to him.
[2008/11/19 08:06:54] <jamesturnbull> masterzen: yeah from memory
[2008/11/19 08:07:27] <mrrx_> a pitfall of samhain is it's security minded, so is distributing it to the clients. The reason packages are built execlusively is that they must contain a password
[2008/11/19 08:07:37] <jamesturnbull> mrrx_: then I'd do it like I proposed before - make the master a client too and create a build process that executes when required
[2008/11/19 08:07:53] <mrrx_> a pitfall and at the same time a feature :P
[2008/11/19 08:08:30] <jamesturnbull> mrrx_: sort of defeats the idempotent nature of puppet but *shrugs*
[2008/11/19 08:08:33] <mrrx_> jamesturnbull: It's rather complex to do that i'm afraid
[2008/11/19 08:08:40] <jamesturnbull> mrrx_: why?
[2008/11/19 08:09:42] <masterzen> mrrx_: I never used samhain myself, I'm a big proponent of osiris, which is easier to install it seems :-)
[2008/11/19 08:11:25] <mrrx_> because the puppetmaster must be able to communication between (puppetmaster,puppet) and (puppet_other). The puppet model is centralization, and sadly also isolated, meaning information gatherred from puppet1 on the master doesn't count or rather cannot be reused to influence the process for puppet2
[2008/11/19 08:11:41] <jamesturnbull> mrrx_: yes it can
[2008/11/19 08:11:41] <mrrx_> masterzen: maybe.. we found samhain to be very capable
[2008/11/19 08:11:47] <jamesturnbull> mrrx_: wiki:ExportedResources
[2008/11/19 08:11:49] <gepetto> jamesturnbull: mrrx_: wiki:ExportedResources is http://reductivelabs.com/trac/puppet/wiki/ExportedResources
[2008/11/19 08:12:33] <mrrx_> it's complexity is the feature we like about it, security was never friendly.
[2008/11/19 08:13:17] * mrrx_ clicks
[2008/11/19 08:14:02] <jamesturnbull> mrrx_: and actually it can - how about custom facts? they'll have the values for that client and you can make use of them in whatever class/module you use to build samhain on the master
[2008/11/19 08:14:07] @ lutter1 joined channel #puppet
[2008/11/19 08:15:13] @ Quit: lutter: Read error: 60 (Operation timed out)
[2008/11/19 08:20:04] <tim|macbook> can i use case statements in templates?
[2008/11/19 08:20:26] <mrrx_> umm... interesting
[2008/11/19 08:21:00] <masterzen> tim|macbook: you can use ruby case statement.
[2008/11/19 08:21:07] <tim|macbook> cool
[2008/11/19 08:21:12] <jamesturnbull> tim|macbook: templates are just ERB so yes
[2008/11/19 08:21:19] <masterzen> tim|macbook: all ruby is usable in ERB
[2008/11/19 08:21:29] @ Quit: mapu: Read error: 104 (Connection reset by peer)
[2008/11/19 08:24:02] @ eventi joined channel #puppet
[2008/11/19 08:24:49] <jamesturnbull> masterzen: saw your fix for that evaluation bug
[2008/11/19 08:25:01] <jamesturnbull> masterzen: did tmz confirm it works now? or fujin?
[2008/11/19 08:25:11] @ mapu joined channel #puppet
[2008/11/19 08:25:14] <masterzen> jamesturnbull: no, they're still asleep I guess...
[2008/11/19 08:25:58] <masterzen> jamesturnbull: I was mad at me this morning when I saw the ticket, was pretty easy to find if only I'd tested with something else than if 2 > 1...
[2008/11/19 08:26:09] <jamesturnbull> masterzen: lol
[2008/11/19 08:26:17] <masterzen> jamesturnbull: <g>
[2008/11/19 08:26:19] <jamesturnbull> masterzen: you shoudl see some of the crap I commit :)
[2008/11/19 08:26:30] * eventi gets douche chill
[2008/11/19 08:26:32] <masterzen> jamesturnbull: lol
[2008/11/19 08:26:39] <jamesturnbull> not on puppet
[2008/11/19 08:26:41] * jamesturnbull looks around for lak
[2008/11/19 08:26:53] <eventi> lol - thanks for qualifying jamesturnbull
[2008/11/19 08:27:10] <jamesturnbull> eventi: I think every programmer has insufficient coffee days
[2008/11/19 08:27:25] <masterzen> yes, I second this opinion :-)
[2008/11/19 08:27:25] <eventi> or insufficient bourbon
[2008/11/19 08:27:41] <jamesturnbull> eventi: I have been havign a lot lately because I really only code for Puppet and when I have to do something else at work I turn into bumbling idiot man
[2008/11/19 08:27:48] @ d3vilb0x joined channel #puppet
[2008/11/19 08:28:08] <masterzen> eventi: bourbon makes code looks beautifull... It's only the next morning you think it is all crap...
[2008/11/19 08:28:26] <eventi> i hear ya - I'm a sysadmin/helpdesk at a startup - I go DAYS without looking at tickets, bc I'm engrossed in puppet/system stuff
[2008/11/19 08:28:36] <jamesturnbull> eventi: lucky you
[2008/11/19 08:28:51] <jamesturnbull> eventi: I'll sway you that for my days filled with operational architecture
[2008/11/19 08:29:00] <jamesturnbull> s/sway/swap
[2008/11/19 08:32:11] <eventi> jamesturnbull: yeah except after 3 days and me CEO comes in and asks why his blackberry hasnt worked in days
[2008/11/19 08:32:12] <masterzen> eventi: tell him to get an iphone :-)
[2008/11/19 08:32:12] <jamesturnbull> eventi: tell me its the companies new work-life balance programme
[2008/11/19 08:32:12] <jamesturnbull> s/me/him/
[2008/11/19 08:32:12] <eventi> "but look - I got the databases replicating" doesn't cut it
[2008/11/19 08:32:12] <eventi> lol@ jamesturnbull
[2008/11/19 08:32:12] <jamesturnbull> eventi: they don't call it crackberry for nothing
[2008/11/19 08:32:12] <eventi> he has a g-phone - hates it - addicted is an understatement
[2008/11/19 08:32:12] <eventi> i just went exchange 2003-> google apps -> exchange 2007 bc his crackberry didn't work
[2008/11/19 08:32:12] <mrrx_> so to summarize, it's impossible to have a function triggered by a resource?
[2008/11/19 08:32:12] * eventi is done griping - back to work
[2008/11/19 08:32:12] @ martha left channel #puppet ()
[2008/11/19 08:32:12] <jamesturnbull> mrrx_: a function yes - but you can trigger other things
[2008/11/19 08:32:39] <eventi> masterzen: you told me to look at something to handle my dynamic instances... what was it again?
[2008/11/19 08:32:53] <mrrx_> aight
[2008/11/19 08:33:13] <mrrx_> i guess your idea of putting a puppet in the PM will work =/
[2008/11/19 08:33:45] <jamesturnbull> mrrx_: I don't see what's wrong with it - I use it all the time - but YMMV and up to you
[2008/11/19 08:33:51] <masterzen> eventi: sorry can't remember... what were we talking about?
[2008/11/19 08:34:15] <mrrx_> what does YMMV mean? i haven't used IRC in years =d
[2008/11/19 08:34:28] <masterzen> YMMV= Your milage might vary
[2008/11/19 08:34:39] <eventi> masterzen: I mentioned that I'm generating new vnode.pp for instances launched by ec2... you told me to use ______ instead
[2008/11/19 08:34:44] <mrrx_> oh :D
[2008/11/19 08:34:45] <eventi> IANAL
[2008/11/19 08:34:49] <jamesturnbull> mrrx_: Your Milage May Vary
[2008/11/19 08:35:01] <eventi> is my favorite lost IRC-ism
[2008/11/19 08:35:06] @ Quit: descala:
[2008/11/19 08:35:19] <masterzen> eventi: oh, I think you're mentionning external nodes.
[2008/11/19 08:35:32] * jamesturnbull is off to sleep
[2008/11/19 08:35:41] <eventi> ya
[2008/11/19 08:35:42] <masterzen> I'm not sure I was the one suggesting this to you, as I don't use them...
[2008/11/19 08:35:55] <eventi> oh you're right it was Volcane
[2008/11/19 08:35:56] <mrrx_> thanks for the insights :P
[2008/11/19 08:36:24] <eventi> thanks tho
[2008/11/19 08:36:27] <masterzen> eventi: wiki:ExternalNodes
[2008/11/19 08:36:28] <gepetto> masterzen: eventi: wiki:ExternalNodes is http://reductivelabs.com/trac/puppet/wiki/ExternalNodes
[2008/11/19 08:37:04] @ jm joined channel #puppet
[2008/11/19 08:47:11] @ erm joined channel #puppet
[2008/11/19 08:52:26] @ Quit: [1]merzy: Read error: 110 (Connection timed out)
[2008/11/19 08:52:48] @ Quit: jcape: Read error: 110 (Connection timed out)
[2008/11/19 08:52:57] <mrrx_> can you export a puppets hostname and have another puppet retrieve it?
[2008/11/19 08:53:03] @ artista_frustrad joined channel #puppet
[2008/11/19 08:53:38] <masterzen> mrrx_: you can export a file. Use the file name as a mean of transport maybe?
[2008/11/19 08:54:12] <mrrx_> umm
[2008/11/19 08:54:43] <mrrx_> let me get this straigt, in this example: http://reductivelabs.com/trac/puppet/wiki/ExportedResources about export /tmp/foo
[2008/11/19 08:55:08] <mrrx_> this same file will be created on the puppetmaster with same contents?
[2008/11/19 08:55:48] <masterzen> no, it will get create on _all_ clients that have File<<| |tag == 'foofile' >> in their manifest.
[2008/11/19 08:56:00] <masterzen> *be created
[2008/11/19 08:57:04] <mrrx_> equal contents?
[2008/11/19 08:57:08] <masterzen> The thing is: @@ will say to the master export this resource. Then another client can collect what has been exported, and it makes the resources that were exported automagically appear
[2008/11/19 08:57:15] <masterzen> yes equal contents
[2008/11/19 08:57:19] <mrrx_> :P
[2008/11/19 08:57:49] <masterzen> for instance I use this to distribute ssh keys in other clients ssh_authorized_keys file...
[2008/11/19 08:58:28] @ tarjei_ is now known as tarjei
[2008/11/19 08:59:12] @ tarjei left channel #puppet ()
[2008/11/19 09:00:44] <mrrx_> i see
[2008/11/19 09:01:11] <mrrx_> so it can be used to communicate between nodes
[2008/11/19 09:01:13] <mrrx_> sweet
[2008/11/19 09:01:24] <mrrx_> i was thinking to use facter
[2008/11/19 09:03:46] @ jcape joined channel #puppet
[2008/11/19 09:05:06] @ Quit: score: Read error: 110 (Connection timed out)
[2008/11/19 09:06:28] @ lak joined channel #puppet
[2008/11/19 09:06:33] @ kenvandine joined channel #puppet
[2008/11/19 09:09:17] @ rsquared joined channel #puppet
[2008/11/19 09:12:00] @ Quit: mapu: Remote closed the connection
[2008/11/19 09:17:01] <masterzen> mrrx_: it doesn't really "communicate", it allows to create resources on one node and use them on some other nodes.
[2008/11/19 09:17:34] <mrrx_> is there a better alternative?
[2008/11/19 09:17:59] <masterzen> mrrx_: for instance, you can allow each dns server to create a file containing their IP address and export this. Then on every client you collect those files, merge them and produce resolv.conf :-)
[2008/11/19 09:18:20] <mrrx_> yeah i understand it's real use
[2008/11/19 09:18:22] <masterzen> mrrx_: for what you want, I think James' solution (ie a custom fact) is the good one.
[2008/11/19 09:18:33] @ Quit: erm: "leaving"
[2008/11/19 09:19:02] <mrrx_> wiki:Customfacts
[2008/11/19 09:19:08] <mrrx_> =/
[2008/11/19 09:19:16] <mrrx_> wiki:CustomFacts
[2008/11/19 09:19:20] <mrrx_> bleh
[2008/11/19 09:19:31] <mrrx_> ok, let's look into that
[2008/11/19 09:19:33] <masterzen> is gepetto asleep?
[2008/11/19 09:19:47] <eventi> wiki: CustomFacts
[2008/11/19 09:19:55] <tim|macbook> gepetto: seen DavidS
[2008/11/19 09:19:55] <gepetto> tim|macbook: DavidS was last seen 6 days, 17 hours, 42 minutes and 46 seconds ago, leaving #puppet
[2008/11/19 09:19:57] <mrrx_> does that exist?
[2008/11/19 09:19:58] <mrrx_> :D
[2008/11/19 09:20:05] @ erm joined channel #puppet
[2008/11/19 09:21:12] <mrrx_> it's: wiki:AddingFacts
[2008/11/19 09:21:16] <gepetto> mrrx_: it's: wiki:AddingFacts is http://reductivelabs.com/trac/puppet/wiki/AddingFacts
[2008/11/19 09:21:29] <mrrx_> :)
[2008/11/19 09:22:04] <eventi> http://reductivelabs.com/trac/puppet/wiki/CustomFacts gives "Page CustomFacts not found"
[2008/11/19 09:24:05] <mrrx_> yeah, i was too lazy to check if that exists.
[2008/11/19 09:24:12] * mrrx_ wanted a direct link
[2008/11/19 09:25:00] @ [1]merzy joined channel #puppet
[2008/11/19 09:33:39] @ MarlondB left channel #puppet ()
[2008/11/19 09:33:43] @ MarlondB joined channel #puppet
[2008/11/19 09:38:37] <tim|macbook> ok, kind of a strange question, probably, but is there any way to show a notice when a certain resource is first initiated?
[2008/11/19 09:38:58] <tim|macbook> something like "Don't forget to kickpuppet on db server, to create the needed databases"?
[2008/11/19 09:41:33] <mrrx_> i think you can use facts
[2008/11/19 09:42:17] <mrrx_> set init_db to 1 for example after first run
[2008/11/19 09:43:05] <tim|macbook> hm...
[2008/11/19 09:44:27] <eventi> tim|imac: touch /tmp/.firstrun
[2008/11/19 09:45:10] <tim|macbook> that's a good one, indeed
[2008/11/19 09:46:08] <eventi> I have a few execs that end in "&& touch /tmp/.something" with creates => "/tmp/.something" so they don't run twice
[2008/11/19 09:49:12] <Volcane> how incredibly fragile :)
[2008/11/19 09:49:31] <Volcane> imagine debian boxes that cleans /tmp on each boot
[2008/11/19 09:49:51] <Jenza> Why don't you check to see if the database files exist, if they don't, create the db.
[2008/11/19 09:50:06] <eventi> of course that's better
[2008/11/19 09:51:13] <eventi> unless => "echo 'show databases' | mysql | grep $dbname"
[2008/11/19 09:51:16] <eventi> or something
[2008/11/19 09:55:27] @ stick is now known as stick[R6]
[2008/11/19 10:02:30] <Damm> what i love is i have to disable selinux lately
[2008/11/19 10:02:44] <Damm> not like I really mind, I hate selinux.
[2008/11/19 10:03:00] * billings leaves selinux running, in permissive
[2008/11/19 10:03:16] @ Quit: realalien_: "ChatZilla 0.9.84 [Firefox 3.0.4/2008111317]"
[2008/11/19 10:03:30] <tim|macbook> because the database is created on another machine
[2008/11/19 10:04:50] @ Quit: markl__: "Lost terminal"
[2008/11/19 10:06:30] <ashp> i am getting so stressed out dealing with mysql
[2008/11/19 10:06:35] <ashp> why would they punish me this way at work :(
[2008/11/19 10:06:41] @ Quit: lak:
[2008/11/19 10:11:01] @ descala joined channel #puppet
[2008/11/19 10:11:13] @ shenson_not_here is now known as shenson
[2008/11/19 10:13:33] <masterzen> ashp: I don't want to start a flamewar, but what's your issue with mysql?
[2008/11/19 10:14:07] <ashp> masterzen: It's not really with mysql, just with the crazy data I'm using. Today's fuss was having to copy a table as you can't select/delete from the same table in one statement
[2008/11/19 10:14:26] <ashp> and now i'm just mad because i'm getting a foreign key failure on import but I can't see what's failing or why :/
[2008/11/19 10:14:55] @ omry joined channel #puppet
[2008/11/19 10:15:05] <masterzen> you can try to import without foreign_keys
[2008/11/19 10:15:23] <masterzen> your data won't be in good shape though...
[2008/11/19 10:15:42] @ unxfrek joined channel #puppet
[2008/11/19 10:16:17] <ashp> well this is 90% of what we're doing
[2008/11/19 10:16:25] <ashp> we have an old schema with nothing but VARCHAR all over
[2008/11/19 10:16:26] <kjetilho> masterzen: today's issue with MySQL -- you can't give a user access to creating and dropping new databases without giving him access to drop *all* databases in that installation
[2008/11/19 10:16:44] <kjetilho> PostgreSQL has a concept of ownership which solves this nicely
[2008/11/19 10:16:51] <ashp> and now we're moving to a real schema with all kinds of intregity checking, and it's painful
[2008/11/19 10:17:03] <ashp> i've already deleted 22,000 lines of a 96,000 line table as the entries are bogus
[2008/11/19 10:17:14] <ashp> and then i deleted 1400 of what was left after i found yet more bogus stuff
[2008/11/19 10:17:23] <Maliuta> PostgreSQL is da shite :)
[2008/11/19 10:20:06] @ ezekiel-13 is now known as ezekiel-v3
[2008/11/19 10:22:06] <masterzen> kjetilho: you can user drop priv for a database only.
[2008/11/19 10:23:10] <masterzen> kjetilho: I meant: you can grant drop priv for a user and a database. sth like: grant drop for db.* ...
[2008/11/19 10:24:16] <tmz> masterzen: thanks for taking a look at #1759 so quickly.
[2008/11/19 10:25:01] <gepetto> tmz: masterzen: #1759 is http://projects.reductivelabs.com/issues/show/1759 "Puppet - Bug #1759: Numeric comparison does not work as expected in if statements - ReductiveLabs.com"
[2008/11/19 10:25:01] <masterzen> tmz: np, can you confirm it fixes your original issue?
[2008/11/19 10:25:16] <tmz> I applied the patch to my puppetmaster and client. it works when run in the test.pp like fujin created. but it still fails when used in a real manifest. :/
[2008/11/19 10:25:35] <kjetilho> masterzen: yes, if you know the names of the databases in advance...
[2008/11/19 10:25:52] <masterzen> tmz: can you extract just the bit that fails?
[2008/11/19 10:26:16] <tmz> sure, it's just if ( $operatingsystem == "Fedora" ) and ( $operatingsystemrelease >= 9 )
[2008/11/19 10:26:41] <tmz> I've even tried only using if $operatingsystemrelease >= 9 and that still fails as well.
[2008/11/19 10:27:14] <masterzen> tmz: are you sure you patched the right master?
[2008/11/19 10:27:18] <tmz> I added a notify to my manifest and it does show that the facter variables are correct.
[2008/11/19 10:27:24] <masterzen> tmz: (and reloaded it?)
[2008/11/19 10:27:40] <tmz> you know, I didn't reload it. :(
[2008/11/19 10:27:55] <tmz> it's too early for testing it seems.
[2008/11/19 10:28:06] <masterzen> tmz: np, it happens to me all the time :-)
[2008/11/19 10:28:54] <tmz> well, let me reload and then I should be able to confirm that it's fixed.
[2008/11/19 10:28:58] <tmz> thanks again.
[2008/11/19 10:36:14] @ realalien joined channel #puppet
[2008/11/19 10:38:51] @ realalien_ joined channel #puppet
[2008/11/19 10:39:06] @ Quit: realalien_: Client Quit
[2008/11/19 10:39:29] @ kcrwfrd joined channel #puppet
[2008/11/19 10:40:30] <realalien> I have a problem, it always prompt 'change from to puppet user failed:' err, is there any solution?
[2008/11/19 10:42:52] @ Quit: kcrwfrd: Client Quit
[2008/11/19 10:44:57] <realalien> the detailed info is " Got 2 failure(s) while initializing: change from 1002 to puppet failed: Could not set gid on user[puppet]: Execution of '/usr/sbin/usermod -g 1002 puppet' returned 1: usermod: unable to lock password file
[2008/11/19 10:44:57] <realalien> ; change from to puppet user failed: Could not set comment on user[puppet]: Execution of '/usr/sbin/usermod -c puppet user puppet' returned 1: usermod: unable to lock password file"
[2008/11/19 10:45:17] @ Quit: d3vilb0x:
[2008/11/19 10:46:22] <realalien> is there anyone can help kindly?
[2008/11/19 10:49:00] <bajan> are you running puppet on the client machines as root or the user 'puppet' ?
[2008/11/19 10:49:21] @ Quit: tim|macbook: "This computer has gone to sleep"
[2008/11/19 10:50:21] <realalien> I am running puppet as a normal user
[2008/11/19 10:51:00] <masterzen> realalien: that's why it can't change groups and such, then.
[2008/11/19 10:51:01] <bajan> Normal users don't have rights to modify the password file using tools like usermod
[2008/11/19 10:51:35] @ jason^ joined channel #puppet
[2008/11/19 10:51:49] <realalien> Let me have a try.
[2008/11/19 10:55:44] @ ski98033 joined channel #puppet
[2008/11/19 10:57:39] @ score joined channel #puppet
[2008/11/19 11:05:59] @ jonj joined channel #puppet
[2008/11/19 11:09:18] <realalien> My problem is done! I switch user to root account, no failures anymore! Thanks u all!
[2008/11/19 11:11:14] <bajan> Yep. Puppet has to run as root (or wrapped in sudo maybe?), since it needs to make changes that only root has the ability to do.
[2008/11/19 11:11:17] @ Quit: mgm: Read error: 60 (Operation timed out)
[2008/11/19 11:14:01] @ stick[R6] is now known as stick
[2008/11/19 11:14:18] @ stick is now known as stick[R6]
[2008/11/19 11:15:12] @ sts joined channel #puppet
[2008/11/19 11:18:41] @ Quit: Innocenti: Client Quit
[2008/11/19 11:19:09] <lazzurs> Hello, having an issue with the redhat init script and puppet. puppet is starting and then in the current working directory creating a .puppet directory which it is then creating the dirs ssl and var under
[2008/11/19 11:19:56] @ Quit: sts: "leaving"
[2008/11/19 11:19:59] <Volcane> you're not perhaps trying to start it as a non root user?
[2008/11/19 11:20:43] <lazzurs> Volcane: well it is running through sudo but yea, clearly that is not working as expected
[2008/11/19 11:21:12] <lazzurs> just noticed the directory is owned by nagios (this is running through nrpe, trying to make an event handler for puppet
[2008/11/19 11:21:15] <lazzurs> )
[2008/11/19 11:22:11] <lazzurs> Volcane: so I guess that is expected behavour then?
[2008/11/19 11:22:15] @ jonj left channel #puppet ()
[2008/11/19 11:25:27] <[1]merzy> ssh_authorized_keys question: each time I run puppet, it creates a new line in the authoized_keys file. What's up with that?
[2008/11/19 11:25:43] <Volcane> lazzurs: yes, if you just run puppet as non root it defaults to .puppet
[2008/11/19 11:26:23] <masterzen> [1]merzy: that's because it can't parse your original file. There some bugs in redmine about this.
[2008/11/19 11:26:51] <masterzen> [1]merzy: you might have a key options that is not supported...
[2008/11/19 11:27:15] <[1]merzy> I didn't think so. Oh, yea, found it.
[2008/11/19 11:27:40] <[1]merzy> the 'key' value had the name at the end, so the name appeared twice
[2008/11/19 11:28:09] <masterzen> was the key generated by puppet?
[2008/11/19 11:28:59] <[1]merzy> Yep, but it was my mistake: I copied the key and just patsted it in the 'key' field. Forgot to strip off the 'id-rsa' and 'user@machine' bits
[2008/11/19 11:29:10] <masterzen> ok, np
[2008/11/19 11:29:14] <lazzurs> Volcane: ick, ok something is doing the wrong thing here as this works fine with other services, but going to see exactly what it is now
[2008/11/19 11:35:19] @ sts joined channel #puppet
[2008/11/19 11:35:31] @ Quit: mvn071: "Leaving"
[2008/11/19 11:35:37] @ Quit: sts: Client Quit
[2008/11/19 11:36:37] @ sts joined channel #puppet
[2008/11/19 11:37:13] @ Quit: sts: Client Quit
[2008/11/19 11:41:52] @ sts joined channel #puppet
[2008/11/19 11:45:18] @ Quit: chillitom: Read error: 60 (Operation timed out)
[2008/11/19 11:45:18] @ Quit: teratoma: Read error: 60 (Operation timed out)
[2008/11/19 11:45:29] @ Quit: CompBrain: Read error: 60 (Operation timed out)
[2008/11/19 11:45:31] @ teratoma joined channel #puppet
[2008/11/19 11:45:56] @ Quit: spike: Read error: 60 (Operation timed out)
[2008/11/19 11:45:59] @ chillitom joined channel #puppet
[2008/11/19 11:46:16] @ Quit: bda: Read error: 60 (Operation timed out)
[2008/11/19 11:46:31] <ashp> what the hell is wrong with ubuntu
[2008/11/19 11:46:43] @ CompBrain joined channel #puppet
[2008/11/19 11:46:43] <ashp> i told it to install kde and it told me it's not working on x86_64
[2008/11/19 11:46:45] <ashp> that's.. different
[2008/11/19 11:46:57] @ bda joined channel #puppet
[2008/11/19 11:47:07] @ spike joined channel #puppet
[2008/11/19 11:51:14] @ Quit: pleemans: Read error: 60 (Operation timed out)
[2008/11/19 11:52:09] @ markl__ joined channel #puppet
[2008/11/19 11:53:43] @ Quit: nasrat:
[2008/11/19 11:57:29] @ Quit: nmalik: "leaving"
[2008/11/19 11:57:40] @ nmalik joined channel #puppet
[2008/11/19 11:58:59] <MrHeavy> Is anyone else having trouble with $variable ? { something => something, default => somethingelse } type selectors where the condition variable doesn't come from Facter?
[2008/11/19 11:59:54] <MrHeavy> I'm having an issue where it's not working in my manifest but the new if ($something == 'something') { } else { } syntax is working just finer
[2008/11/19 11:59:54] <MrHeavy> fine*
[2008/11/19 11:59:54] <MrHeavy> The selector, though, is always resolving to the default
[2008/11/19 12:01:01] <masterzen> what's in $variable?
[2008/11/19 12:01:23] <MrHeavy> The string "true"
[2008/11/19 12:01:56] <masterzen> and in your selector, something is "true", right?
[2008/11/19 12:02:06] <MrHeavy> Yep. Is this a known problem?
[2008/11/19 12:02:17] <masterzen> try: $var ? { true => blah, default => blah }
[2008/11/19 12:02:27] <masterzen> ie without the double quotes arount true...
[2008/11/19 12:03:27] <masterzen> No, not a known problem, it's just that I remember the scope is treating the string true as the boolean true. Hence they're not equal.
[2008/11/19 12:04:12] <MrHeavy> Same result without quotes
[2008/11/19 12:05:56] <MrHeavy> Doesn't matter though, as long as I know it's just a boolean interpretation thing I can work with it
[2008/11/19 12:05:56] * masterzen is testing...
[2008/11/19 12:07:08] @ Quit: MarlondB:
[2008/11/19 12:08:27] @ yure joined channel #puppet
[2008/11/19 12:08:57] <masterzen> MrHeavy: $var="true" and later "true" in the selector works here. same for $var=true and bare true in selector works.
[2008/11/19 12:09:14] <MrHeavy> Is it defined as true in the same scope?
[2008/11/19 12:09:22] <masterzen> MrHeavy: yes.
[2008/11/19 12:09:23] <MrHeavy> Mine's coming from a different scope, though I can't imagine why that would matter
[2008/11/19 12:09:40] <MrHeavy> $autoupdate = 'true' in the node, and including a yum_updatesd class which tests the variable
[2008/11/19 12:09:49] <masterzen> $var=true and "true" of course don't match.
[2008/11/19 12:10:08] * masterzen testing with sub-scope :-)
[2008/11/19 12:10:23] <MrHeavy> Your handle does not lie :)
[2008/11/19 12:10:54] @ Quit: skiold:
[2008/11/19 12:11:21] <masterzen> MrHeavy: I have some time to waste while something is compiling :-)
[2008/11/19 12:11:38] <MrHeavy> The usual developer excuse :)
[2008/11/19 12:11:52] <masterzen> sub-scope works as intended...
[2008/11/19 12:11:53] <MrHeavy> "No, my packages are building, I can't do work right now."
[2008/11/19 12:11:56] <MrHeavy> Hmm
[2008/11/19 12:11:58] @ Quit: Demosthenes: "leaving"
[2008/11/19 12:12:15] <masterzen> I think this is something else...
[2008/11/19 12:12:47] <masterzen> maybe a typo in your variable name?
[2008/11/19 12:13:39] <MrHeavy> Definitely not
[2008/11/19 12:13:52] <MrHeavy> Again, works fine using the new 0.24.6 if syntax
[2008/11/19 12:14:32] <MrHeavy> Hm, seems to work if I defined the variable initially as $autoupdate = true instead of $autoupdate = 'true'
[2008/11/19 12:15:11] <MrHeavy> Which makes Puppet interpret it as a boolean
[2008/11/19 12:15:24] <MrHeavy> The problem is that Puppet's handling of datatypes is very rough where templates are involved, so I try to use strings wherever I can
[2008/11/19 12:15:53] @ eventi left channel #puppet ()
[2008/11/19 12:17:46] <MrHeavy> Ah, see, miscommunication, we had it backwards
[2008/11/19 12:18:07] <MrHeavy> If I DO use 'true' as the lvalue in the selector instead of true, I get the desired behavior
[2008/11/19 12:20:47] <masterzen> MrHeavy: just to understand; $var="true" with { "true" => } that works?
[2008/11/19 12:20:54] <MrHeavy> Yep
[2008/11/19 12:20:57] <MrHeavy> As it should
[2008/11/19 12:21:14] <MrHeavy> The problem was just misinterpreting how Puppet handles boolean variables, since it's really not documented anywhere in the language reference
[2008/11/19 12:21:32] @ bajan left channel #puppet ()
[2008/11/19 12:22:04] <masterzen> in fact in Puppet, everything is true as long it is not false, empty or undefined :-)
[2008/11/19 12:23:58] @ Quit: masterzen: "Leaving"
[2008/11/19 12:25:19] <Damm> so in puppet this Tulleys drink is crappy?
[2008/11/19 12:25:22] <Damm> great i can toss it then
[2008/11/19 12:35:19] @ d3vilb0x joined channel #puppet
[2008/11/19 12:38:36] @ MarlondB joined channel #puppet
[2008/11/19 12:40:02] @ ijcd joined channel #puppet
[2008/11/19 12:44:47] @ Quit: andrewcshafer:
[2008/11/19 12:45:43] @ nigelk joined channel #puppet
[2008/11/19 12:49:40] @ Quit: realalien: Read error: 110 (Connection timed out)
[2008/11/19 12:51:13] @ Quit: nuloop: Read error: 60 (Operation timed out)
[2008/11/19 12:57:00] <billings> True, False or FileNotFound
[2008/11/19 12:57:40] @ Quit: dysinger: Read error: 60 (Operation timed out)
[2008/11/19 13:00:13] @ dbgrandi joined channel #puppet
[2008/11/19 13:00:26] @ Quit: omry: Remote closed the connection
[2008/11/19 13:07:11] <Damm> i'd love to know why when I do ensure in textmate... it screws up my indenting
[2008/11/19 13:07:13] <Damm> ..
[2008/11/19 13:09:41] @ Demosthenes joined channel #puppet
[2008/11/19 13:11:50] <MrHeavy> Has anyone worked out any elegant solutions to the problem of modules that need to know about all other modules regardless of what order they're loaded in?
[2008/11/19 13:15:35] <MrHeavy> Things like iptables, NRPE, etc.
[2008/11/19 13:15:42] @ GoodStuff left channel #puppet ()
[2008/11/19 13:16:42] @ rgsteele||work joined channel #puppet
[2008/11/19 13:16:56] @ Quit: strerror_work: Client Quit
[2008/11/19 13:28:41] @ ijcd_ joined channel #puppet
[2008/11/19 13:30:25] @ Quit: ijcd: Read error: 60 (Operation timed out)
[2008/11/19 13:33:50] <[1]merzy> I'm running a puppetd --test via 'ssh -t $host sudo puppetd --test' and am getting this early in the output:
[2008/11/19 13:33:50] <[1]merzy> info: Loading fact site
[2008/11/19 13:33:50] <[1]merzy> sh: ifconfig: command not found
[2008/11/19 13:33:50] <[1]merzy> info: Loading fact site
[2008/11/19 13:34:55] <[1]merzy> It works, but that's kinda scary. (I use network info to determine some facts... oh, wait, perhaps it's the fault of my facts! Nevermind.)
[2008/11/19 13:36:26] <billings> huh
[2008/11/19 13:36:48] <billings> I have a global path set in my site.pp so /sbin is in $PATH
[2008/11/19 13:40:00] @ Quit: descala:
[2008/11/19 13:40:39] <[1]merzy> So do I, but facter doesn't read from that file.
[2008/11/19 13:41:37] @ ezralini joined channel #puppet
[2008/11/19 13:41:58] @ masterzen joined channel #puppet
[2008/11/19 13:42:04] <nigelk> facts should be as self-contained as possible imgo
[2008/11/19 13:42:05] <nigelk> imho
[2008/11/19 13:42:57] @ stick[R6] is now known as stick
[2008/11/19 13:47:00] @ dysinger joined channel #puppet
[2008/11/19 13:55:39] @ _3rdman joined channel #puppet
[2008/11/19 13:59:21] @ holoway joined channel #puppet
[2008/11/19 14:00:27] @ Quit: keithlard:
[2008/11/19 14:29:38] @ descala joined channel #puppet
[2008/11/19 14:30:54] @ pleemans joined channel #puppet
[2008/11/19 14:32:36] @ Quit: descala: Client Quit
[2008/11/19 14:32:58] @ billings left channel #puppet ()
[2008/11/19 14:34:00] @ billings joined channel #puppet
[2008/11/19 14:38:24] @ plathrop joined channel #puppet
[2008/11/19 14:44:39] @ Quit: sazma: Remote closed the connection
[2008/11/19 14:47:05] @ sazma joined channel #puppet
[2008/11/19 14:49:24] @ descala joined channel #puppet
[2008/11/19 14:49:31] @ Innocenti joined channel #puppet
[2008/11/19 14:50:47] @ descala_ joined channel #puppet
[2008/11/19 14:50:53] @ Quit: Innocenti: Client Quit
[2008/11/19 14:52:19] @ Quit: descala_: Client Quit
[2008/11/19 14:52:49] @ Quit: dbgrandi:
[2008/11/19 14:54:58] @ Quit: sazma: Remote closed the connection
[2008/11/19 14:56:43] @ sazma joined channel #puppet
[2008/11/19 14:56:57] @ Innocenti joined channel #puppet
[2008/11/19 15:02:00] @ Quit: masterzen: "This computer has gone to sleep"
[2008/11/19 15:04:01] @ Quit: sazma: "ChatZilla 0.9.84 [Firefox 3.0.3/2008101315]"
[2008/11/19 15:05:43] @ andrewcshafer joined channel #puppet
[2008/11/19 15:05:59] @ sazma joined channel #puppet
[2008/11/19 15:07:10] @ Quit: descala: Read error: 113 (No route to host)
[2008/11/19 15:09:32] <[1]merzy> I really wish the rpm provider took a 'force' argument. I keep looking on the wiki, thinking that I'm missing something.
[2008/11/19 15:10:51] <fsweetser> doesn't look like it
[2008/11/19 15:11:01] @ Quit: dysinger:
[2008/11/19 15:11:01] <fsweetser> sounds like it would be a good feature request, though
[2008/11/19 15:11:19] <machpo> that's going down a bad road, imo. might be better to 'fix' the rpm instead
[2008/11/19 15:11:37] <fsweetser> can be hard to do that with crappy vendor rpms
[2008/11/19 15:11:47] <_3rdman> amen to that
[2008/11/19 15:11:58] <_3rdman> I end up repackaging the vendor rpms
[2008/11/19 15:12:00] <_3rdman> *sigh*
[2008/11/19 15:12:02] <machpo> fsweeter: yep, been there. no fun
[2008/11/19 15:12:34] <[1]merzy> I'm in the weird state where I need to uninstall package A and then reinstall it, just because I need to replace package B and package A depends on it. If I could just ensure that pacakge B absent with a force option, I'd not have to do weird execs to get things right.
[2008/11/19 15:13:46] <[1]merzy> (php-mysql depends on mysql. I want to uninstall mysql(5) and install mysql(4). I'd like to do this with just package classes, but I can't figure out how to make it work.
[2008/11/19 15:14:38] @ andrewcshafer_ joined channel #puppet
[2008/11/19 15:15:02] <_3rdman> surly package {} will take a full version string, e.g.: "mysql-5.0.21" which you could ensure=>absent, before=> Package["mysql-4.0.55"] or some such
[2008/11/19 15:15:46] <[1]merzy> Ah, but mysql won't uninstall because php-mysql depends on it.
[2008/11/19 15:15:50] @ Quit: andrewcshafer: Read error: 104 (Connection reset by peer)
[2008/11/19 15:15:53] <_3rdman> ah
[2008/11/19 15:16:31] <[1]merzy> ...so I find myself having to uninstall php-mysql, doing what you said with the ensure, and then running an exec to reinstall php-mysql.
[2008/11/19 15:16:58] <fsweetser> [1]merzy: personally, I'd manage that by creating a local yum repo with the newer version of mysql, and letting yum handle it
[2008/11/19 15:17:17] <fsweetser> (I assume you're installing a version of mysql newer than your distro)
[2008/11/19 15:20:57] <Damm> fsweetser, which is why I try not to do too much package management in puppet personally, if what your using isn't in yum/apt/... or you have newer then what's in there... or (insert reason here) it will fail
[2008/11/19 15:21:15] <Damm> if you have enough servers, then setting up your own repo is obviously the clear decision
[2008/11/19 15:21:21] <fsweetser> exactly
[2008/11/19 15:21:48] @ Quit: aymerick: "kit mais sage"
[2008/11/19 15:21:59] <fsweetser> it's nice and easy with yum - just stick the files somewhere accessible, and run createrepo on them to create the metadata
[2008/11/19 15:25:18] * [1]merzy ponders.
[2008/11/19 15:26:09] <Damm> i'd do it, but our stuff is custom and released far too often
[2008/11/19 15:26:15] <Damm> and our developers don't want to get involved in puppet
[2008/11/19 15:27:32] <Damm> (basically roll a rpm)
[2008/11/19 15:41:16] @ jtimberman joined channel #puppet
[2008/11/19 15:42:29] @ dbgrandi joined channel #puppet
[2008/11/19 15:42:34] <[1]merzy> fsweetser: actually, we're trying to roll our mysql _back_. I spent yesterday in dependency hell trying to get an old version of mysql working with a new version of php.
[2008/11/19 15:46:25] @ descala joined channel #puppet
[2008/11/19 15:47:31] @ Quit: dbgrandi: Read error: 54 (Connection reset by peer)
[2008/11/19 15:47:33] @ Quit: descala: Client Quit
[2008/11/19 15:47:47] <ashp> my script is done!
[2008/11/19 15:47:54] <ashp> two weeks of work for what's effectively about 7 lines of sql :(
[2008/11/19 15:48:13] @ Quit: Innocenti: Read error: 113 (No route to host)
[2008/11/19 15:48:35] @ dbgrandi joined channel #puppet
[2008/11/19 15:48:36] @ Innocenti joined channel #puppet
[2008/11/19 15:48:40] <ashp> http://pastebin.com/d68301c16 this monster has taken me weeks of banging on mysql
[2008/11/19 15:49:02] <fsweetser> [1]merzy: ick
[2008/11/19 15:49:17] <fsweetser> having battled with the mysql 4 -> 5 changes, I can sympathize
[2008/11/19 15:49:28] <ashp> fsweetser: we had to hire an outside company to help with that
[2008/11/19 15:49:36] <ashp> apparently a lot of the old stuff in 4 was using words reserved in 5
[2008/11/19 15:49:42] <ashp> i don't and can't imagine what the hell they were doing
[2008/11/19 15:50:10] <fsweetser> I try not to ask questions about that stuff, because sometimes you get answers you didn't want to know
[2008/11/19 15:53:24] @ Quit: rsquared: "Leaving"
[2008/11/19 15:53:38] @ exodos joined channel #puppet
[2008/11/19 15:57:29] @ Quit: dbgrandi:
[2008/11/19 15:58:11] @ Quit: andrewcshafer_:
[2008/11/19 15:58:16] @ rsquared joined channel #puppet
[2008/11/19 16:06:28] <_3rdman> wow... one of my engineers just ran: yum -y remove python
[2008/11/19 16:06:46] <_3rdman> and now wonders why yum doesn't work
[2008/11/19 16:08:32] <Volcane> lol
[2008/11/19 16:08:45] <Volcane> yum remove is a bug
[2008/11/19 16:08:47] <_3rdman> atleast puppet will put it back :-)
[2008/11/19 16:09:12] <Volcane> how? using yum?
[2008/11/19 16:09:25] <_3rdman> rpm :-)
[2008/11/19 16:09:31] <_3rdman> rpm -ivh http://...
[2008/11/19 16:09:33] @ chino joined channel #puppet
[2008/11/19 16:09:36] <Volcane> heh
[2008/11/19 16:09:44] @ jbrothers joined channel #puppet
[2008/11/19 16:09:45] <chino> what is the category attribute on package for ?
[2008/11/19 16:09:46] <Volcane> lots of dependencies will also have been removed
[2008/11/19 16:10:02] <_3rdman> yea, it might be easier to reimage the box
[2008/11/19 16:10:18] <Volcane> chino: to categorize packages
[2008/11/19 16:10:40] <chino> err: //Node[ey02-s00540]/nagios_host/Package[git]: Failed to retrieve current state of resource: More than one package with the specified name [git], please use the category parameter to disambiguate
[2008/11/19 16:10:43] <chino> what does it want from me
[2008/11/19 16:10:54] <chino> i read the documentation and it says it's a read only parameter set by the package
[2008/11/19 16:11:01] <Volcane> rpm -q git
[2008/11/19 16:11:05] <Volcane> what does that say?
[2008/11/19 16:13:16] <chino> I'm on gentoo but i can see there is two gits in diff categories
[2008/11/19 16:13:56] <Volcane> probably ones i386 nd ones x86_64?
[2008/11/19 16:15:07] <chino> no just diff categories i have no idea why it's in two palces in teh first place
[2008/11/19 16:15:13] <Cuchulain> you want dev-util/git
[2008/11/19 16:15:19] <Cuchulain> there's another piece of software called git
[2008/11/19 16:15:24] <Volcane> ah well, i dont know anything a out gentoo
[2008/11/19 16:15:32] <Volcane> about
[2008/11/19 16:15:33] <Cuchulain> Description: GNU Interactive Tools - increase speed and efficiency of most daily task
[2008/11/19 16:17:59] <chino> ah
[2008/11/19 16:18:49] <chino> Cuchulain: yea but if category is read only then does that mean I would do package { dev-util/git: ensure => present }
[2008/11/19 16:19:27] <jbrothers> i have some unreasonable rpms from HP that compile kernel modules in their init script. they want to have kernel and kernel-devel rpms that are the same version, but i don't know how to require that
[2008/11/19 16:19:42] @ nuloop joined channel #puppet
[2008/11/19 16:19:55] @ Quit: pleemans: Read error: 113 (No route to host)
[2008/11/19 16:20:11] @ Quit: ezralini:
[2008/11/19 16:20:46] <Volcane> jbrothers: once you install devel and kernel together updating one with yum will also update the other afaik
[2008/11/19 16:22:08] <chino> Volcane: is it possible to specifiy the category ?
[2008/11/19 16:22:42] <Volcane> not sure, depends if the gentoo package provider supports it, no idea
[2008/11/19 16:23:03] <Volcane> only exposure i had with gentoo was giving someone a 486 desktop to persuade them how much it sucks compiling everything
[2008/11/19 16:23:41] <Cuchulain> http://reductivelabs.com/trac/puppet/wiki/PuppetGentoo
[2008/11/19 16:25:42] <Cuchulain> seems to suggest a solution, chino
[2008/11/19 16:26:31] <Damm> yep
[2008/11/19 16:26:33] <Damm> easy solution
[2008/11/19 16:26:34] @ nwp joined channel #puppet
[2008/11/19 16:27:09] <Damm> i'm not sure i like it using eix though
[2008/11/19 16:28:21] <Cuchulain> and it doesn't grok USE flags or slots
[2008/11/19 16:28:34] <Damm> well you can set those up manually
[2008/11/19 16:28:44] <Cuchulain> sure
[2008/11/19 16:28:48] <Damm> but yeah slots can be a pain if you have multiple versions of gcc
[2008/11/19 16:28:51] <Damm> could be a big spinout
[2008/11/19 16:29:11] <Cuchulain> if i was managing a network of gentoo boxes with puppet, i'd probably build binary packages and only use those
[2008/11/19 16:29:37] <Cuchulain> actually, even without puppet.... :)
[2008/11/19 16:29:50] <Cuchulain> but my one gentoo server has put me off
[2008/11/19 16:30:09] <Damm> how so?
[2008/11/19 16:32:12] <Cuchulain> too much effort involved in maintaining it
[2008/11/19 16:32:31] <ashp> if i was running a network of gentoo boxes
[2008/11/19 16:32:35] <ashp> i would drink really fucking heavily
[2008/11/19 16:32:39] <Cuchulain> if you don't upgrade frequently, you get a huge swath of changes that are really disruptive
[2008/11/19 16:32:49] <Cuchulain> if you upgrade frequently, you just get lots of small disruptive changes
[2008/11/19 16:33:10] <Cuchulain> every now and then there is some package that randomly breaks shit badly
[2008/11/19 16:33:32] <Cuchulain> or you'll miss that there was a major version bump in some package and now all your subversion databases don't work
[2008/11/19 16:33:54] <Damm> i've ran a network of gentoo boxes
[2008/11/19 16:33:58] <Damm> no one makes you update nightly
[2008/11/19 16:34:06] <Cuchulain> or python got upgraded, but it didn't also rebuild all the assorted python packages, and the python-updater didn't help
[2008/11/19 16:34:10] <Cuchulain> you're not listening to me.
[2008/11/19 16:34:24] <Cuchulain> you can do it however often you want, but if you leave it for too long, you get a massive list of major upgrades
[2008/11/19 16:34:35] <Damm> ..
[2008/11/19 16:34:39] <Damm> i only upgrade what I want/need
[2008/11/19 16:34:39] <Cuchulain> and if you do it every night, then you just have upgrades every night :P
[2008/11/19 16:34:55] <Damm> and I make packages and then have the packages get installed
[2008/11/19 16:35:04] <Damm> instead of building it on each server
[2008/11/19 16:35:09] <Cuchulain> right
[2008/11/19 16:35:12] <Cuchulain> well, that's what I said I'd do above
[2008/11/19 16:35:21] <Cuchulain> but in general, it's still too much effort, for very little gain
[2008/11/19 16:35:26] <Damm> but trying to track unstable... is not worth it
[2008/11/19 16:35:39] <Damm> that's known on debian, ubuntu, gentoo
[2008/11/19 16:35:52] <Cuchulain> i'm not tracking unstable either, other than on a couple of minor packages that don't actually move very often anyway
[2008/11/19 16:35:53] @ andrewcshafer joined channel #puppet
[2008/11/19 16:36:10] <Damm> using x86 or amd64... you shouldn't see too much on a daily basis
[2008/11/19 16:36:20] <Damm> only when the commiters mark things stable
[2008/11/19 16:36:20] <Cuchulain> define "too much" then?
[2008/11/19 16:36:41] <Damm> i saw 2-3 items aday... and they were non critical
[2008/11/19 16:36:52] <Cuchulain> i'm seeing a lot more than that
[2008/11/19 16:37:08] <Cuchulain> and there's no easy way to tell in-band whether a package upgrade is critical or not
[2008/11/19 16:37:11] <Damm> i'm running ~amd64 right now and once a night 1-2 packages
[2008/11/19 16:37:12] <Cuchulain> unless i'm missing something
[2008/11/19 16:37:17] <Damm> if i skip a few days i hit 15
[2008/11/19 16:37:23] <Cuchulain> right
[2008/11/19 16:37:25] <Cuchulain> that's my point
[2008/11/19 16:37:33] <Cuchulain> it requires too much attention :P
[2008/11/19 16:37:37] <Damm> nah
[2008/11/19 16:37:46] <Damm> you just need to step back and set it up, and forget it
[2008/11/19 16:37:58] <Cuchulain> i did that for a bit
[2008/11/19 16:38:00] <Damm> I have boxes running apache 2.2.7 that haven't been updated in 6+months
[2008/11/19 16:38:06] <Cuchulain> when i upgraded, it fucked my machine over entirely
[2008/11/19 16:38:13] <Damm> heh
[2008/11/19 16:38:14] @ masterzen joined channel #puppet
[2008/11/19 16:38:23] <Damm> there for awhile i'd have issues updating
[2008/11/19 16:38:26] <Cuchulain> and I'm not kidding when I say I'm not a n00b at linux.
[2008/11/19 16:38:27] <Damm> but anymore it's a no brainer
[2008/11/19 16:38:53] <Damm> I setup dispatch-conf to do rcs, and I jsut paludis -i world
[2008/11/19 16:38:57] <Damm> just*
[2008/11/19 16:39:03] <Cuchulain> i've been doing far more complicated things than running "emerge world"
[2008/11/19 16:39:04] <Cuchulain> hrm
[2008/11/19 16:39:05] <Damm> and usually it's a z, don't need to change nothing.
[2008/11/19 16:39:06] <machpo> i never fully understood sysadmins buying into the bleeding-edge bs of gentoo. seems antithetical to what we're trying to do
[2008/11/19 16:39:07] <Cuchulain> paludis eh
[2008/11/19 16:39:11] * Damm nods
[2008/11/19 16:39:16] <Cuchulain> ok
[2008/11/19 16:39:29] <Cuchulain> so if that is more useful than emerge, then maybe that helps
[2008/11/19 16:39:35] <Damm> it's written in C++, it's dependency handler is different
[2008/11/19 16:39:42] <Damm> nah the central issue isn't package manager
[2008/11/19 16:39:44] <Damm> it's the packages
[2008/11/19 16:39:58] <Cuchulain> it sure is
[2008/11/19 16:40:12] <Damm> you can use pkgcore and if upgrading world fucks you over... it's surely not a pkgcore issue
[2008/11/19 16:40:15] <Cuchulain> like the pam pakcage that kept overwriting all the pam config files without asking (They weren't masked as config files, before you ask)
[2008/11/19 16:40:33] <Damm> hrmph, didn't get that... (haven't ran emerge in ages)
[2008/11/19 16:40:36] <Damm> updated pam and it was smooth
[2008/11/19 16:40:40] <Cuchulain> and which got version bumped about 8 times in 2 weeks
[2008/11/19 16:40:41] <Cuchulain> sure
[2008/11/19 16:40:44] <Cuchulain> this was a few years ago
[2008/11/19 16:40:49] <Cuchulain> and it doesn't happen now
[2008/11/19 16:40:50] <Damm> ah
[2008/11/19 16:40:53] <Damm> yeah, that was a pain
[2008/11/19 16:40:57] <Cuchulain> but it's the sort of thing that should never, ever, happen
[2008/11/19 16:41:05] <Cuchulain> hey
[2008/11/19 16:41:10] <Cuchulain> i'm still running a gentoo server
[2008/11/19 16:41:15] <Damm> that's the problem, lots of things should not happen
[2008/11/19 16:41:18] <Damm> but they do
[2008/11/19 16:41:23] <Cuchulain> mostly because it's more effort to reinstall with debian on the same box
[2008/11/19 16:41:33] <Damm> I would never go back to debian
[2008/11/19 16:41:37] <Damm> it won't fix my woes
[2008/11/19 16:41:40] <Cuchulain> than it is just keep losing an hour every week
[2008/11/19 16:41:51] <Damm> ntpd?
[2008/11/19 16:41:56] <Cuchulain> no
[2008/11/19 16:42:03] <Cuchulain> i lose an hour dealing with gentoo, every week
[2008/11/19 16:42:04] <Cuchulain> more or less
[2008/11/19 16:42:09] <Cuchulain> sometimes i skip it , and then it accumulates
[2008/11/19 16:42:21] <Damm> ah
[2008/11/19 16:42:24] <Cuchulain> sometimes it's a lot less than that, other times it's a lot more
[2008/11/19 16:42:25] <Damm> geeze you shouldn't
[2008/11/19 16:42:31] <Cuchulain> but in general, that's what it costs me :)
[2008/11/19 16:42:32] <Cuchulain> eys
[2008/11/19 16:42:33] <Cuchulain> i shouldn't
[2008/11/19 16:42:39] <Damm> I upgraded to a Q6600 awhile back
[2008/11/19 16:42:42] <Cuchulain> that's my point.
[2008/11/19 16:42:44] <Damm> and that made my upgrades a ton faster
[2008/11/19 16:42:59] <Cuchulain> it's not compile time that's the issue. it's making sure there's no breakages afterwards
[2008/11/19 16:43:01] <Damm> Gentoo requires fast hardware if you want to keep building it
[2008/11/19 16:43:10] <Cuchulain> oh look, new subversion to fix a security bug
[2008/11/19 16:43:11] * Damm hasn't had breakage in over 6months
[2008/11/19 16:43:20] <Cuchulain> now i have to check all my subversion repos to make sure they still work
[2008/11/19 16:43:22] <Damm> i must be lucky.
[2008/11/19 16:43:27] <Cuchulain> oh look, new db2 to fix a security bug.
[2008/11/19 16:43:29] <Cuchulain> now i have to check all my subversion repos to make sure they still work.
[2008/11/19 16:43:31] @ Quit: andrewcshafer: Read error: 104 (Connection reset by peer)
[2008/11/19 16:43:46] @ andrewcshafer joined channel #puppet
[2008/11/19 16:43:49] <Cuchulain> etc
[2008/11/19 16:44:44] <Damm> that's what you get for running subversion</sarcasm>
[2008/11/19 16:44:49] @ _3rdman left channel #puppet ()
[2008/11/19 16:44:56] <Damm> i guess i'm lucky
[2008/11/19 16:45:02] * Damm has been running gentoo for 3+years
[2008/11/19 16:45:37] <Cuchulain> the filesystem on this server was created in may 2004
[2008/11/19 16:45:44] <Cuchulain> so that's how long i've been running it on this box.
[2008/11/19 16:45:52] <Cuchulain> it's remote, so it's a pain to reinstall
[2008/11/19 16:46:33] @ Quit: andrewcshafer: Read error: 104 (Connection reset by peer)
[2008/11/19 16:46:35] @ andrewcshafer joined channel #puppet
[2008/11/19 16:47:00] @ _3rdman_ joined channel #puppet
[2008/11/19 16:49:19] @ andrewcshafer_ joined channel #puppet
[2008/11/19 16:57:25] <snyff> is there a way to check config file
[2008/11/19 17:01:56] @ chino left channel #puppet ()
[2008/11/19 17:04:56] @ mvn071 joined channel #puppet
[2008/11/19 17:07:16] @ Quit: MarlondB:
[2008/11/19 17:09:21] @ jtimberman_ joined channel #puppet
[2008/11/19 17:10:48] @ Quit: andrewcshafer: Read error: 110 (Connection timed out)
[2008/11/19 17:17:59] @ andrewcshafer_ left channel #puppet ()
[2008/11/19 17:24:08] @ Quit: d3vilb0x: Read error: 110 (Connection timed out)
[2008/11/19 17:24:21] @ Quit: jtimberman: Read error: 110 (Connection timed out)
[2008/11/19 17:26:42] @ Jamest joined channel #puppet
[2008/11/19 17:27:51] @ Jamest left channel #puppet ()
[2008/11/19 17:35:39] @ Quit: nuloop: Read error: 110 (Connection timed out)
[2008/11/19 17:36:20] @ Quit: jtimberman_: Read error: 104 (Connection reset by peer)
[2008/11/19 17:37:03] @ nuloop joined channel #puppet
[2008/11/19 17:38:07] @ jtimberman joined channel #puppet
[2008/11/19 17:38:33] @ Quit: kenvandine: Remote closed the connection
[2008/11/19 17:45:42] @ Quit: rgsteele||work: Remote closed the connection
[2008/11/19 17:48:54] @ shenson is now known as shenson_not_here
[2008/11/19 17:50:21] @ Quit: nuloop: Remote closed the connection
[2008/11/19 17:50:29] @ nuloop joined channel #puppet
[2008/11/19 17:52:33] @ Quit: Demosthenes: "leaving"
[2008/11/19 18:01:05] @ Quit: jtimberman: Read error: 110 (Connection timed out)
[2008/11/19 18:02:50] @ Quit: masterzen: "Exploring other worlds"
[2008/11/19 18:10:13] @ Quit: mvn071: Remote closed the connection
[2008/11/19 18:18:08] @ Quit: rsquared: "Leaving"
[2008/11/19 18:19:20] @ omry joined channel #puppet
[2008/11/19 18:20:26] @ jcape_ joined channel #puppet
[2008/11/19 18:20:47] @ Quit: jcape_: Client Quit
[2008/11/19 18:25:47] @ Quit: [1]merzy: Read error: 60 (Operation timed out)
[2008/11/19 18:26:55] @ Quit: ski98033: "Leaving."
[2008/11/19 18:34:11] @ japherwocky_ is now known as japherwocky
[2008/11/19 18:36:04] @ Quit: jcape: Read error: 110 (Connection timed out)
[2008/11/19 18:45:39] @ Quit: yure: Remote closed the connection
[2008/11/19 18:55:52] @ Demosthenes joined channel #puppet
[2008/11/19 18:56:53] @ Quit: exodos: "Lost terminal"
[2008/11/19 19:07:20] @ Quit: _3rdman_:
[2008/11/19 19:19:43] @ Quit: jm: Read error: 60 (Operation timed out)
[2008/11/19 19:19:55] @ jcape joined channel #puppet
[2008/11/19 19:40:11] @ Quit: Demosthenes: Read error: 110 (Connection timed out)
[2008/11/19 19:40:16] @ kolla joined channel #puppet
[2008/11/19 19:49:18] @ silassewell joined channel #puppet
[2008/11/19 19:53:33] <silassewell> I'm trying to write a module for Bacula. Bacula stores most of the configuration data on the Bacula server, but I'd like to put client configuration data as close to the node as possible. Has anyone seen a module which does data in a client node and is interpreted another node?
[2008/11/19 19:54:07] <silassewell> If that at all makes sense.
[2008/11/19 19:54:26] <Volcane> read about exported resources in the wiki
[2008/11/19 19:54:44] <silassewell> Volcane: will do, thanks
[2008/11/19 19:59:00] @ Quit: londo: Read error: 104 (Connection reset by peer)
[2008/11/19 19:59:07] @ londo joined channel #puppet
[2008/11/19 20:00:43] <silassewell> Volcane: awesome, that is exactly what I need, much appreciated. Thanks again
[2008/11/19 20:00:46] @ Quit: silassewell: "leaving"
[2008/11/19 20:03:48] @ punkcut joined channel #puppet
[2008/11/19 20:04:42] <punkcut> what is the best practice way to include two separate classes on a single node. both of which define a single object, however one class overrides an attribute of the duplicate object in the other class?
[2008/11/19 20:05:34] <punkcut> both of which define the _same_ object
[2008/11/19 20:06:21] @ Quit: plathrop: Remote closed the connection
[2008/11/19 20:09:45] <erikh> Cuchulain: you should dump and reimport your subversion trees to new ones created with the file layout
[2008/11/19 20:10:12] <erikh> svn ditched bdb as default a while ago due to typical bdb issues
[2008/11/19 20:12:21] <benp-> punkcut: abstract the duplicated object into its own class
[2008/11/19 20:13:05] @ Quit: unxfrek: Read error: 113 (No route to host)
[2008/11/19 20:13:35] <punkcut> benp-: sorry... not following...
[2008/11/19 20:13:44] <punkcut> benp-: wouldnt i still run into duplicate object issues?
[2008/11/19 20:16:44] <benp-> instead of class foo { file{/tmp/baz:} }; class bar { file{/tmp/baz:} } .. you do class baz { file{/tmp/baz:} }; class foo { include baz }; class bar { include baz }; i guess that doesnt account for one class overriding the attribute though.
[2008/11/19 20:16:58] <punkcut> yah
[2008/11/19 20:17:12] <punkcut> and to top it off im not technically overriding an attribute. its a variable
[2008/11/19 20:17:20] <punkcut> its just postfix
[2008/11/19 20:17:32] <punkcut> but on _all_ boxes. i have relayost set to one thing
[2008/11/19 20:17:48] <punkcut> and then on a single box. I have relayhost set to be the true relay
[2008/11/19 20:17:49] <benp-> well if you had class baz { file { $baz: } }, you could do class bar { $baz = "baz"; include baz }
[2008/11/19 20:18:27] <punkcut> id still end up with a duplicate object error from that though.
[2008/11/19 20:20:00] <benp-> use inheritance?
[2008/11/19 20:20:09] @ unxfrek joined channel #puppet
[2008/11/19 20:20:39] <punkcut> benp-: tried that. still ended up with a duplicate object error
[2008/11/19 20:20:44] <punkcut> I dont understand why on that part
[2008/11/19 20:20:54] <punkcut> i thought inheritance overriding was meant to bypass that issue
[2008/11/19 20:21:06] <punkcut> im on 24.4
[2008/11/19 20:21:08] <punkcut> so im a little behind.
[2008/11/19 20:22:14] <punkcut> got it to work...
[2008/11/19 20:22:18] <punkcut> i created a define in the base
[2008/11/19 20:22:30] <punkcut> and then inherits and overrode the call to the defining function
[2008/11/19 20:25:48] <benp-> cool
[2008/11/19 20:29:00] @ Quit: holoway:
[2008/11/19 20:29:26] @ kenvandine joined channel #puppet
[2008/11/19 20:29:30] <benp-> oh btw thats totally wrong what i said a minute ago
[2008/11/19 20:31:05] <punkcut> lol
[2008/11/19 20:31:29] <kjetilho> benp-: so, "hot"?
[2008/11/19 20:31:46] <benp-> er, never mind.. long day :)
[2008/11/19 20:32:04] <benp-> looking at something else..
[2008/11/19 20:33:33] @ Quit: nuloop: Read error: 60 (Operation timed out)
[2008/11/19 20:35:35] @ Quit: unxfrek: Remote closed the connection
[2008/11/19 20:36:15] @ Demosthenes joined channel #puppet
[2008/11/19 21:03:23] @ [1]merzy joined channel #puppet
[2008/11/19 21:29:29] @ realalien joined channel #puppet
[2008/11/19 21:36:21] @ Quit: Innocenti: Read error: 113 (No route to host)
[2008/11/19 21:43:38] @ kcrwfrd joined channel #puppet
[2008/11/19 21:49:35] @ holoway joined channel #puppet
[2008/11/19 21:50:46] @ unxfrek joined channel #puppet
[2008/11/19 21:51:44] @ Quit: unxfrek: Remote closed the connection
[2008/11/19 21:56:22] @ punkcut left channel #puppet ()
[2008/11/19 22:00:08] @ Quit: Demosthenes: "leaving"
[2008/11/19 22:03:10] @ Quit: jcape:
[2008/11/19 22:09:31] @ n0ts_ joined channel #puppet
[2008/11/19 22:14:51] @ Quit: nigelk:
[2008/11/19 22:21:17] @ Quit: n0ts: Read error: 110 (Connection timed out)
[2008/11/19 22:41:06] @ _3rdman joined channel #puppet
[2008/11/19 22:42:59] @ nigelk joined channel #puppet
[2008/11/19 23:24:11] @ lonebrave left channel #puppet ()
[2008/11/19 23:27:33] @ cocoy2 joined channel #puppet

Generated by irclog2html.py 2.6 by Marius Gedminas - find it at mg.pov.lt!