| [2009/04/30 00:03:17] @ Log started by gepetto | ||
| [2009/04/30 00:03:17] <dzollinger> don't everyone answer me all at once, kay? One at a time, plskthx. | ||
| [2009/04/30 00:06:04] <Djelibeybi> dzollinger: would love to help, but I haven't used custom functions yet | ||
| [2009/04/30 00:07:28] <dzollinger> fair enough - cheers for the reply anyway | ||
| [2009/04/30 00:12:56] <andrewcshafer> dzollinger: can you pastie the code | ||
| [2009/04/30 00:12:56] @ Quit: Djelibeybi: Read error: 104 (Connection reset by peer) | ||
| [2009/04/30 00:13:24] <dzollinger> the function code? | ||
| [2009/04/30 00:13:36] <andrewcshafer> yeah | ||
| [2009/04/30 00:13:38] <dzollinger> i've confirmed that it loads in ruby, if that helps | ||
| [2009/04/30 00:13:59] <andrewcshafer> I'm assuming you can use ther standard functions and you wrote custom one | ||
| [2009/04/30 00:14:35] <dzollinger> it's from the recipe TemplateValidationFunction | ||
| [2009/04/30 00:14:59] @ edwardam joined channel #puppet | ||
| [2009/04/30 00:15:09] <andrewcshafer> link? | ||
| [2009/04/30 00:15:10] <dzollinger> yes - sorry you entered the room right after i stated that stuff | ||
| [2009/04/30 00:15:55] <dzollinger> http://reductivelabs.com/trac/puppet/wiki/Recipes/TemplateValidationFunction | ||
| [2009/04/30 00:16:27] <andrewcshafer> what version of puppet are you using? | ||
| [2009/04/30 00:17:15] <dzollinger> 0.24.7 on server and client | ||
| [2009/04/30 00:18:37] <andrewcshafer> give me a minute | ||
| [2009/04/30 00:20:30] <dzollinger> it looks like there is some sort of environmental difference between when i load it in ruby (using "ruby -rubygems validate.rb" or through irb) and how the puppetmaster runs | ||
| [2009/04/30 00:20:39] <andrewcshafer> yeah | ||
| [2009/04/30 00:20:48] <andrewcshafer> it does some magic autoloading | ||
| [2009/04/30 00:20:55] <dzollinger> is there a canonical path i could try to copy validate.rb to? | ||
| [2009/04/30 00:25:03] @ Djelibeybi joined channel #puppet | ||
| [2009/04/30 00:28:11] <dzollinger> probably a stupid question, but $libdir is $vardir/lib by default, neh? | ||
| [2009/04/30 00:28:28] <dzollinger> i don't have $libdir explicitely configured in puppet.conf | ||
| [2009/04/30 00:30:39] <andrewcshafer> k, back | ||
| [2009/04/30 00:31:22] <andrewcshafer> you can see what it is with puppet --configprint libdir | ||
| [2009/04/30 00:31:45] <dzollinger> yup, its /var/lib/puppet/lib | ||
| [2009/04/30 00:32:56] <andrewcshafer> is there anything else in /var/lib/puppet/lib/puppet/parser/functions/? | ||
| [2009/04/30 00:33:09] <dzollinger> no | ||
| [2009/04/30 00:33:31] <dzollinger> i think i had to create it manually though | ||
| [2009/04/30 00:33:46] <andrewcshafer> try this | ||
| [2009/04/30 00:33:50] <andrewcshafer> irb | ||
| [2009/04/30 00:34:00] <andrewcshafer> actually | ||
| [2009/04/30 00:34:07] <andrewcshafer> http://reductivelabs.com/trac/puppet/wiki/WritingYourOwnFunctions | ||
| [2009/04/30 00:34:28] <andrewcshafer> see if you can load it like the example at the very bottom | ||
| [2009/04/30 00:35:29] <dzollinger> yup, that loads, but not quite as stated - i get a "no such file to load -- puppet (LoadError) | ||
| [2009/04/30 00:36:04] <dzollinger> but it works fine when i specify -rubygems (puppet installed through rubygems) | ||
| [2009/04/30 00:36:19] <dzollinger> loads fine in irb | ||
| [2009/04/30 00:38:00] <andrewcshafer> what does the code look like where you call the function? | ||
| [2009/04/30 00:38:11] <andrewcshafer> the puppet code | ||
| [2009/04/30 00:38:41] <dzollinger> in a file declaration, like so "content => validate($content, "/usr/sbin/visudo -cq -f") | ||
| [2009/04/30 00:40:31] <andrewcshafer> Actually, looking at the code for lib/puppet/parser/ast/function.rb, that is only going to be raised if the function was undefined, which means it isn't getting autoloaded. | ||
| [2009/04/30 00:41:23] <dzollinger> right - so puppetmaster hasn't been able to find it wherever it has been? | ||
| [2009/04/30 00:42:57] @ nakano is now known as nakano_ | ||
| [2009/04/30 00:46:11] <andrewcshafer> I'm trying to replicate it. | ||
| [2009/04/30 00:54:20] <dzollinger> it's probably PEBKAC, but i can not figure out what it is. | ||
| [2009/04/30 00:54:32] <andrewcshafer> I think the wiki is wrong. | ||
| [2009/04/30 00:54:39] @ nakano_ is now known as nakano | ||
| [2009/04/30 00:54:40] <andrewcshafer> the functions need to be somewhere else | ||
| [2009/04/30 00:54:53] <andrewcshafer> it isn't loading for me either | ||
| [2009/04/30 00:55:09] <dzollinger> that's brilliant, i feel so much better :-) | ||
| [2009/04/30 00:56:50] <dzollinger> maybe the "parser/functions" path is wrong? | ||
| [2009/04/30 01:07:22] <andrewcshafer> not sure | ||
| [2009/04/30 01:07:41] <andrewcshafer> I haven't messed with functions for a while, I'm digging | ||
| [2009/04/30 01:08:56] @ PaulWay joined channel #puppet | ||
| [2009/04/30 01:08:59] <PaulWay> Hi all! | ||
| [2009/04/30 01:09:52] <PaulWay> I've got an oddity with Puppet running on a RHEL 5 box - it seems to want to use up2date to install packages, which is only for RHEL <= 4 | ||
| [2009/04/30 01:10:43] <PaulWay> facter correctly informs operatingsystemrelease => 5 | ||
| [2009/04/30 01:12:23] <PaulWay> Is there anything in puppet's config or node definition that would be setting the RHEL version incorrectly anywhere? | ||
| [2009/04/30 01:13:46] <Djelibeybi> PaulWay: what does facter say? | ||
| [2009/04/30 01:13:47] <andrewcshafer> it probably isn't that, my suspicion is that something is making that provider default somehow | ||
| [2009/04/30 01:14:06] <PaulWay> that's what facter says: "operatingsystemrelease => 5" | ||
| [2009/04/30 01:14:36] <Djelibeybi> PaulWay: I know jamesturnbull added oel support for me, which still uses up2date even for => 5 | ||
| [2009/04/30 01:15:19] <PaulWay> Hmmm. | ||
| [2009/04/30 01:19:56] <PaulWay> I assume other people on RHEL 5 and CentOS 5 aren't having this problem... | ||
| [2009/04/30 01:20:12] <PaulWay> This is a fresh install, as well, everything previous was blown away. | ||
| [2009/04/30 01:20:51] <PaulWay> Any idea what might be going wrong? | ||
| [2009/04/30 01:22:34] <PaulWay> Well, I must be doing something right with Puppet - I've just rewritten my rhn class into a base class and two subclasses and I got the syntax right first time! :-) | ||
| [2009/04/30 01:27:37] <PaulWay> Grrrr - it's now getting the RHEL-5-server-node config but still trying to use up2date. | ||
| [2009/04/30 01:28:01] <PaulWay> Yes, I know the node class name has nothing to do with it, but it was bugging me and I'm clutching at straws here. | ||
| [2009/04/30 01:30:35] <PaulWay> On a related topic, what's the best way to get Puppet to install an RPM for a package repository (EPEL)? | ||
| [2009/04/30 01:31:49] <PaulWay> With RHEL4 I have a puppet-served sources file and I check for the existence of the GPG key package and if it isn't there install it using rpm --install | ||
| [2009/04/30 01:32:11] <PaulWay> With RHEL5 I'd like to be able to install the RPM with the EPEL config. | ||
| [2009/04/30 01:32:55] @ f3ew joined channel #puppet | ||
| [2009/04/30 01:33:00] <PaulWay> Maybe the best way is to require the package 'epel-release' to be installed - can I specify a custom source for that package? | ||
| [2009/04/30 01:34:44] * PaulWay goes and gets a restorative cup of tea. | ||
| [2009/04/30 01:39:09] <spheromak> yea | ||
| [2009/04/30 01:39:11] <spheromak> bah | ||
| [2009/04/30 01:41:31] <FiXion> PaulWay: epel-release just creates a repo file. IMHO you should just create that and then install puppet | ||
| [2009/04/30 01:41:49] <FiXion> and a yum-key of some sort I guess. | ||
| [2009/04/30 01:41:57] <Djelibeybi> FiXion: yeah, .repo and a GPG key | ||
| [2009/04/30 01:42:40] <FiXion> PaulWay: so just install the yum-key as well. look at the apt::key example on the wiki - it shouldn't be too hard to convert to yum | ||
| [2009/04/30 01:44:30] @ rawleto_ joined channel #puppet | ||
| [2009/04/30 01:44:46] @ Quit: rawleto: Read error: 110 (Connection timed out) | ||
| [2009/04/30 01:45:11] <PaulWay> Righto. Ta, FiXion | ||
| [2009/04/30 01:45:20] @ Quit: rawleto_: Client Quit | ||
| [2009/04/30 01:45:23] @ rawleto_ joined channel #puppet | ||
| [2009/04/30 01:45:32] <PaulWay> Anyone with ideas why Puppet on a RHEL 5 box would be trying to use up2date? | ||
| [2009/04/30 01:46:08] * FiXion must be getting old.. Ta ? | ||
| [2009/04/30 01:46:45] <Djelibeybi> PaulWay: I set the defaults in site.pp | ||
| [2009/04/30 01:46:47] <PaulWay> British for thanks. | ||
| [2009/04/30 01:47:04] <PaulWay> Ahhhhhh! | ||
| [2009/04/30 01:47:08] <PaulWay> Djelibeybi: you're a genius! | ||
| [2009/04/30 01:47:20] <PaulWay> there it **********ing is! | ||
| [2009/04/30 01:47:47] <Djelibeybi> http://pastie.org/463509 | ||
| [2009/04/30 01:47:56] <Djelibeybi> Hehehe | ||
| [2009/04/30 01:49:02] @ Quit: kolla: Remote closed the connection | ||
| [2009/04/30 01:49:04] <FiXion> PaulWay: no - but just set provider => yum in some .pp file | ||
| [2009/04/30 01:49:40] <PaulWay> Yeah, thanks FiXion, I got it; I'd forgot about that completely. | ||
| [2009/04/30 01:50:17] <PaulWay> Djelibeybi: full stop on line 4 of that paste. | ||
| [2009/04/30 01:51:16] <Djelibeybi> PaulWay: yeah, I just typed it off another machine. :) | ||
| [2009/04/30 01:53:02] @ Quit: kingitchy: | ||
| [2009/04/30 01:54:13] <PaulWay> Yay! | ||
| [2009/04/30 01:55:45] <PaulWay> It worketh. | ||
| [2009/04/30 01:55:51] <PaulWay> Thanks for the help! | ||
| [2009/04/30 01:56:10] <PaulWay> It'd been so long since I copied the site.pp file from the standard setup I'd completely forgotten its existence. | ||
| [2009/04/30 01:59:38] <Djelibeybi> PaulWay: no worries. :) | ||
| [2009/04/30 02:00:10] <PaulWay> (That was another change I made without a syntax error in puppet - I must be learning!) | ||
| [2009/04/30 02:00:20] @ oxtail_ joined channel #puppet | ||
| [2009/04/30 02:01:36] @ pleemans joined channel #puppet | ||
| [2009/04/30 02:10:19] @ madrescher joined channel #puppet | ||
| [2009/04/30 02:23:06] @ PsychoSid joined channel #puppet | ||
| [2009/04/30 02:25:11] @ kibahop joined channel #puppet | ||
| [2009/04/30 02:33:46] @ madrescher1 joined channel #puppet | ||
| [2009/04/30 02:33:48] @ Quit: PsychoSid: Read error: 104 (Connection reset by peer) | ||
| [2009/04/30 02:34:17] @ Quit: madrescher: Read error: 110 (Connection timed out) | ||
| [2009/04/30 02:39:18] @ int_ joined channel #puppet | ||
| [2009/04/30 02:40:54] @ Quit: madrescher1: Read error: 113 (No route to host) | ||
| [2009/04/30 02:42:52] @ PsychoSid joined channel #puppet | ||
| [2009/04/30 02:45:00] @ kolla joined channel #puppet | ||
| [2009/04/30 02:53:28] @ Quit: oxtail_: Read error: 110 (Connection timed out) | ||
| [2009/04/30 02:55:45] @ Quit: alban2: Read error: 113 (No route to host) | ||
| [2009/04/30 02:56:16] @ aymerick joined channel #puppet | ||
| [2009/04/30 03:01:46] @ DavidS joined channel #puppet | ||
| [2009/04/30 03:02:41] <DavidS> yo :) | ||
| [2009/04/30 03:03:25] @ nakano is now known as nakano_ | ||
| [2009/04/30 03:03:56] @ Quit: fbe_: Read error: 110 (Connection timed out) | ||
| [2009/04/30 03:10:23] @ Quit: mccune: Remote closed the connection | ||
| [2009/04/30 03:12:08] @ Quit: ezmob: "Bye!" | ||
| [2009/04/30 03:18:29] @ PaulWay left channel #puppet () | ||
| [2009/04/30 03:35:59] @ verwilst joined channel #puppet | ||
| [2009/04/30 03:37:24] @ Quit: randybias: "Leaving..." | ||
| [2009/04/30 03:43:58] @ DerekW joined channel #puppet | ||
| [2009/04/30 03:49:54] @ adminas joined channel #puppet | ||
| [2009/04/30 03:52:17] <Volcane> self hosted i mean | ||
| [2009/04/30 03:52:20] <Volcane> oops...wrong # | ||
| [2009/04/30 03:53:23] <Djelibeybi> andrewcshafer: ping? | ||
| [2009/04/30 04:02:36] @ MattyM joined channel #puppet | ||
| [2009/04/30 04:09:00] @ Quit: Djelibeybi: "Leaving" | ||
| [2009/04/30 04:18:23] @ nakano_ is now known as nakano | ||
| [2009/04/30 04:25:21] @ Quit: DavidS: Read error: 104 (Connection reset by peer) | ||
| [2009/04/30 04:27:02] @ keithlard joined channel #puppet | ||
| [2009/04/30 04:27:35] @ Quit: keithlard: Client Quit | ||
| [2009/04/30 04:27:41] @ keithlard joined channel #puppet | ||
| [2009/04/30 04:29:22] @ DavidS joined channel #puppet | ||
| [2009/04/30 04:31:25] @ Quit: keithlard: Client Quit | ||
| [2009/04/30 04:31:32] @ HarryCalahan joined channel #puppet | ||
| [2009/04/30 04:33:36] @ keithlard joined channel #puppet | ||
| [2009/04/30 04:34:28] @ fbe_ joined channel #puppet | ||
| [2009/04/30 04:41:27] @ fdz joined channel #puppet | ||
| [2009/04/30 04:43:33] @ alban2 joined channel #puppet | ||
| [2009/04/30 04:52:00] @ johan-s joined channel #puppet | ||
| [2009/04/30 05:06:50] @ Quit: mconigliaro: "Leaving." | ||
| [2009/04/30 05:07:30] <FiXion> hmm | ||
| [2009/04/30 05:07:38] <FiXion> I have a postfix module that uninstalls sendmail | ||
| [2009/04/30 05:07:55] <FiXion> can I use "unless" inside a service {} ? | ||
| [2009/04/30 05:08:15] <FiXion> I need it to NOT try to stop the sendmail service, if the package isn't installed anymore (ie. it succeded in uninstalling it) | ||
| [2009/04/30 05:08:34] <HarryCalahan> if you uninstall sendmail using your package manager it should stop sendmail itself | ||
| [2009/04/30 05:09:03] <duritong> and if the service isn't running anymore, puppet won't try to stop it | ||
| [2009/04/30 05:09:24] <FiXion> duritong: it complains that there's no sendmail init script | ||
| [2009/04/30 05:09:44] <FiXion> but I probably need "pattern" in it then. | ||
| [2009/04/30 05:09:48] <duritong> FiXion: did you set hasstatus? | ||
| [2009/04/30 05:10:02] <duritong> maybe set hasstatus => false | ||
| [2009/04/30 05:10:19] <duritong> because then it will use ps to determine if the process is running | ||
| [2009/04/30 05:10:31] <FiXion> I will. For now I've just removed it - I don't remember if I really needed it when I made it or if it was just "to be sure" | ||
| [2009/04/30 05:10:36] @ omry|work joined channel #puppet | ||
| [2009/04/30 05:11:17] @ oxtail_ joined channel #puppet | ||
| [2009/04/30 05:11:53] <HarryCalahan> FiXion: rpm and apt packages will stop sendmail in the pre-uninstall phase | ||
| [2009/04/30 05:12:01] <HarryCalahan> s/apt/deb/ | ||
| [2009/04/30 05:16:05] @ Quit: d3vilb0x: | ||
| [2009/04/30 05:16:35] <FiXion> HarryCalahan: yes yes - I was probably just "extra careful" when I wrote that module :) | ||
| [2009/04/30 05:16:55] <HarryCalahan> FiXion: better safe then sorry, i know. | ||
| [2009/04/30 05:16:58] @ Quit: adminas: Remote closed the connection | ||
| [2009/04/30 05:17:41] @ Quit: PsychoSid: Read error: 104 (Connection reset by peer) | ||
| [2009/04/30 05:20:25] <fluxdude> is there any way to temporarily stop a service that is already defined as needing to be running from another place in puppet? | ||
| [2009/04/30 05:20:45] <fluxdude> I need to stop this service which is normally running, then take some action, then enable the service straight afterwards... | ||
| [2009/04/30 05:21:01] <fluxdude> aliasing the service has given me an error... | ||
| [2009/04/30 05:24:59] @ Quit: oxtail_: Read error: 104 (Connection reset by peer) | ||
| [2009/04/30 05:26:36] @ PsychoSid joined channel #puppet | ||
| [2009/04/30 05:27:53] <fluxdude> I am an unusual problem where I am getting puppet to create a user but the user is local, however, there is another auth mechanism on the server and as a result the uid of the local user created is far too high in the range of the other authentication mechanism which will later lead to a uid clash | ||
| [2009/04/30 05:28:21] <fluxdude> so is there a way of making the user resource add a user but to only take local uids from passwd into account when allocating the next uid? | ||
| [2009/04/30 05:29:35] <fluxdude> looks like this is useradd's fault... | ||
| [2009/04/30 05:29:36] <omry|work> installing puppet on a new box, any idea what does this mean when I run puppetd? | ||
| [2009/04/30 05:29:41] <omry|work> dnsdomainname: Unknown host | ||
| [2009/04/30 05:33:12] @ bajan joined channel #puppet | ||
| [2009/04/30 05:33:12] @ Quit: keithlard: | ||
| [2009/04/30 05:37:40] <omry|work> I accidentally cleaned all my certs with pupperca --clean --all (expected it to only clean requests). | ||
| [2009/04/30 05:38:03] <omry|work> I restored from backup, but something is strange: I have a request that keeps coming back: | ||
| [2009/04/30 05:38:07] <omry|work> I clean it, it's still there. | ||
| [2009/04/30 05:38:20] <omry|work> if I stop puppetmaster and clean it, it stays gone till I restart puppetmaster | ||
| [2009/04/30 05:38:21] <omry|work> any idea? | ||
| [2009/04/30 05:39:21] @ madrescher joined channel #puppet | ||
| [2009/04/30 05:41:11] @ Quit: mikepea: Read error: 110 (Connection timed out) | ||
| [2009/04/30 05:48:20] @ ghenry joined channel #puppet | ||
| [2009/04/30 05:55:11] <FiXion> omry|work: try running it in the cli - does it return your domain ? | ||
| [2009/04/30 05:55:47] <FiXion> omry|work: some distro's - ubuntu f.ex. looks in /etc/hosts file for an ip matching the hosts and gets the dnsdomainname from there - and fails if it isn't there | ||
| [2009/04/30 05:56:51] <omry|work> FiXion, I found the problem. the cli version returned the same error. I had to fix my hosts file | ||
| [2009/04/30 05:57:37] <omry|work> I had I only had the local name in the host file for that box. I added name.domain.com as well and it fixed it | ||
| [2009/04/30 05:59:02] <FiXion> as I said :) | ||
| [2009/04/30 05:59:06] <FiXion> omry|work: what distro? | ||
| [2009/04/30 05:59:20] <omry|work> debian | ||
| [2009/04/30 05:59:49] <omry|work> lenny (5.0.1) | ||
| [2009/04/30 06:00:32] <FiXion> It's a weird Debian/Ubuntu behavior IMHO | ||
| [2009/04/30 06:01:24] <omry|work> possibly | ||
| [2009/04/30 06:01:46] <omry|work> although I have some doubts that debian guys would change something so basic for no good reason | ||
| [2009/04/30 06:02:43] <ssm> omry|work: if your box is configured by dhcp on install, it takes the domain name from there, I think | ||
| [2009/04/30 06:03:43] <omry|work> well, I guess. but I use static network configuration | ||
| [2009/04/30 06:03:56] @ PsychoSid1 joined channel #puppet | ||
| [2009/04/30 06:04:27] @ DerekW_ joined channel #puppet | ||
| [2009/04/30 06:17:41] @ Quit: PsychoSid: Read error: 110 (Connection timed out) | ||
| [2009/04/30 06:18:14] @ Quit: DerekW: Read error: 110 (Connection timed out) | ||
| [2009/04/30 06:28:25] @ Quit: fdz: "Leaving." | ||
| [2009/04/30 06:32:41] @ keithlard joined channel #puppet | ||
| [2009/04/30 06:45:01] @ Quit: DavidS: Read error: 104 (Connection reset by peer) | ||
| [2009/04/30 06:45:54] @ d3vilb0x joined channel #puppet | ||
| [2009/04/30 06:53:53] @ Quit: keithlard: | ||
| [2009/04/30 06:54:15] @ keithlard joined channel #puppet | ||
| [2009/04/30 06:57:27] @ oxtail_ joined channel #puppet | ||
| [2009/04/30 07:00:22] @ Quit: keithlard: | ||
| [2009/04/30 07:00:55] @ keithlard joined channel #puppet | ||
| [2009/04/30 07:01:11] @ Quit: d3vilb0x: | ||
| [2009/04/30 07:03:18] @ Quit: keithlard: Client Quit | ||
| [2009/04/30 07:06:01] @ keithlard joined channel #puppet | ||
| [2009/04/30 07:08:09] @ fdz joined channel #puppet | ||
| [2009/04/30 07:12:31] <Hollow> is there any explanation why require in a global resource config (such as Package { require => Exec["program-that-builds-my-package-manager.conf"] }) does not trigger the refresh on the exec before merging any packages ... it happens somewhere in the middle between many package merges, which defeats the whole purpose of building the config before anything else | ||
| [2009/04/30 07:14:03] <keithlard> can we see the code | ||
| [2009/04/30 07:14:03] <Volcane> show your code pls | ||
| [2009/04/30 07:14:09] <keithlard> Volcane: jinx, buy me a coke | ||
| [2009/04/30 07:14:34] * HarryCalahan drinks a coke | ||
| [2009/04/30 07:17:01] @ glaw joined channel #puppet | ||
| [2009/04/30 07:17:15] <Hollow> http://git.xnull.de/gitweb/?p=nepal.git;a=blob;f=puppet/nepal_meta_complete/manifests/init.pp | ||
| [2009/04/30 07:17:37] <Hollow> and http://git.xnull.de/gitweb/?p=nepal.git;a=blob;f=puppet/tool_portage/manifests/init.pp | ||
| [2009/04/30 07:18:20] <Hollow> it's the gentoo_make_conf resource and Exec["concat_/etc/make.conf"] | ||
| [2009/04/30 07:22:39] @ Quit: omry|work: Read error: 60 (Operation timed out) | ||
| [2009/04/30 07:23:49] @ keithlard_ joined channel #puppet | ||
| [2009/04/30 07:23:52] <Volcane> where do you include those resources into your manifest? | ||
| [2009/04/30 07:24:13] @ kibahop left channel #puppet () | ||
| [2009/04/30 07:24:15] @ goacid joined channel #puppet | ||
| [2009/04/30 07:24:27] <goacid> hello all | ||
| [2009/04/30 07:25:30] @ slap_stick joined channel #puppet | ||
| [2009/04/30 07:25:45] <Hollow> Volcane: etc/nepal.pp just includes the nepal_meta_complete module | ||
| [2009/04/30 07:26:04] <slap_stick> hey i was just reading about augeas, but i'm not sure i full understand the need for it? Why would you use augeas over just updating a template or config file manually and it changing / shipping | ||
| [2009/04/30 07:26:08] <Hollow> and the basic make.conf parts are in os_gentoo | ||
| [2009/04/30 07:26:59] <HarryCalahan> slap_stick: if you distribute complete templates, no need for augeas. | ||
| [2009/04/30 07:27:26] <slap_stick> ok so i guess i am not really understanding the point in augeas at all then? | ||
| [2009/04/30 07:27:26] <HarryCalahan> slap_stick: it helps if you want to change specific settings directly on the hosts without touching the rest of the configuration | ||
| [2009/04/30 07:27:44] <slap_stick> ahh i see | ||
| [2009/04/30 07:27:54] <Volcane> Hollow: well then it should be working | ||
| [2009/04/30 07:28:02] <Volcane> Hollow: thats exactly what require is for | ||
| [2009/04/30 07:28:05] <HarryCalahan> slap_stick: replacement for sed and awk scripts ;) | ||
| [2009/04/30 07:28:15] <slap_stick> that makes sense ;-) | ||
| [2009/04/30 07:28:16] <slap_stick> thanks | ||
| [2009/04/30 07:28:29] <Hollow> Volcane: yeah, that's what i thought as well ... | ||
| [2009/04/30 07:28:42] <HarryCalahan> FiXion: do you distribute aliases in your postfix config? | ||
| [2009/04/30 07:28:49] <Volcane> Hollow: as a test, try adding them to the individual package resources? does it work right then? | ||
| [2009/04/30 07:29:24] <Hollow> Volcane: it seems to get the concat_file_parts depends right, but the exec refresh trigger happens somewhere in the middle | ||
| [2009/04/30 07:29:50] <Hollow> yeah i can try that | ||
| [2009/04/30 07:30:41] @ Quit: keithlard: Read error: 110 (Connection timed out) | ||
| [2009/04/30 07:35:09] <realist> augeas gives you a consistent way of reading/writing config files | ||
| [2009/04/30 07:35:33] @ nakano is now known as nakano_ | ||
| [2009/04/30 07:35:34] <Volcane> but doesnt give you a consistent result | ||
| [2009/04/30 07:35:59] <Volcane> you edit setting foo in a file, luser edits setting bar in file | ||
| [2009/04/30 07:36:02] @ Quit: maxagaz: "Leaving" | ||
| [2009/04/30 07:36:05] <Volcane> you think file is as you left it? you'd be mistaken | ||
| [2009/04/30 07:37:05] <realist> How is that any different when /not/ using augeas? | ||
| [2009/04/30 07:37:18] <Volcane> you'd push out the whole file or a template | ||
| [2009/04/30 07:37:26] <Volcane> any change that gets made gets undon | ||
| [2009/04/30 07:37:55] <Volcane> where with augeas, line editos and so forth all you're doing it dealing with the one line in question | ||
| [2009/04/30 07:38:21] @ masterzen joined channel #puppet | ||
| [2009/04/30 07:39:36] <FiXion> HarryCalahan: not currently no. | ||
| [2009/04/30 07:46:18] <keithlard_> what d'you think's going on here: Failed to retrieve current state of resource: Could not get latest version: undefined method `[]' for nil:NilClass | ||
| [2009/04/30 07:46:39] <spheromak> Lebowski: Is it... is it, being prepared to do the right thing? Whatever the price? Isn't that what makes a man? | ||
| [2009/04/30 07:46:44] <spheromak> Dude: Sure. That and a pair of testicles. | ||
| [2009/04/30 07:47:30] <keithlard_> http://pastie.org/463719 | ||
| [2009/04/30 07:50:51] <keithlard_> same code works fine on another machine with the same version of puppet and rubygems | ||
| [2009/04/30 07:51:55] @ omry|work joined channel #puppet | ||
| [2009/04/30 07:51:59] @ d3vilb0x joined channel #puppet | ||
| [2009/04/30 07:55:56] <keithlard_> Volcane: am I going mad? | ||
| [2009/04/30 08:05:16] <HarryCalahan> i have bit of trouble with inheritance. I use a base class which includes all default class (like puppet, apt, ssh,... postfix). This default class is included in all hosts. Now i have a few hosts where i need to have a different postfix setup. How would i best do this? | ||
| [2009/04/30 08:06:50] @ Quit: oxtail_: Remote closed the connection | ||
| [2009/04/30 08:07:51] <HarryCalahan> or asked differently. Can i (inside a node definition) say: hey drop that class, ignore it. | ||
| [2009/04/30 08:07:55] @ oxtail joined channel #puppet | ||
| [2009/04/30 08:08:21] <oxtail> anyone here using the nagios types and/or naginator? | ||
| [2009/04/30 08:10:55] @ Quit: rawleto_: "Ухожу" | ||
| [2009/04/30 08:13:06] @ Quit: PsychoSid1: Remote closed the connection | ||
| [2009/04/30 08:19:14] @ Quit: keithlard_: | ||
| [2009/04/30 08:22:44] <oxtail> HarryCalahan: sounds like you need to remove postfix from the default class and specify it per host, or create a "mailserver" class that reads a property like "mailserver_type" where you can specify what sort of postfix config to apply... | ||
| [2009/04/30 08:23:06] <oxtail> HarryCalahan: the advantage there is if you change mailserver you could just change it there | ||
| [2009/04/30 08:23:25] <oxtail> in fact this has probably already been done i'm just thinking out loud | ||
| [2009/04/30 08:25:32] <HarryCalahan> can i define a variable inside the node definition, so that is available inside the class? node "example" { $foo = "bar"; include classa; } | ||
| [2009/04/30 08:25:48] @ lak joined channel #puppet | ||
| [2009/04/30 08:25:55] @ pluesch0r joined channel #puppet | ||
| [2009/04/30 08:26:18] @ bla-bla joined channel #puppet | ||
| [2009/04/30 08:26:26] <HarryCalahan> ah lets try ;) | ||
| [2009/04/30 08:27:29] <pluesch0r> hi everybody! i've got a mix of debian etch/lenny hosts that i want to manage. is there a way to check if some class has been included in a node config from a different class? i.e. i'd include etch and then in include mysql i'd do whatever magic needs to be done to install the correct mysql package version ... | ||
| [2009/04/30 08:27:58] <pluesch0r> depending on what debian flavour i'm actually running on that node. | ||
| [2009/04/30 08:28:22] <masterzen> HarryCalahan: yes, it should work. | ||
| [2009/04/30 08:28:31] <pluesch0r> .. or is the only way to somehow distinguish package versions by doing something like include mysql::etch ? | ||
| [2009/04/30 08:28:38] <pluesch0r> and nesting classes inside the mysql class? | ||
| [2009/04/30 08:28:58] <masterzen> pluesch0r: I think the include mysql::etch approach is better | ||
| [2009/04/30 08:29:03] <Volcane> if defined(Class["foo"]) | ||
| [2009/04/30 08:29:10] <pluesch0r> i guess what i'm looking for is a construct that'll let me do "if class x is present then do y" | ||
| [2009/04/30 08:29:14] <Volcane> but yes, agree with masterzen | ||
| [2009/04/30 08:29:25] @ Quit: omry|work: Success | ||
| [2009/04/30 08:29:25] <pluesch0r> hm | ||
| [2009/04/30 08:29:39] <masterzen> does this work: include mysql::$distrib ? | ||
| [2009/04/30 08:29:55] <pluesch0r> are you asking me? | ||
| [2009/04/30 08:30:05] <masterzen> no, I'm thinking out loud :-) | ||
| [2009/04/30 08:30:07] <pluesch0r> :) | ||
| [2009/04/30 08:30:11] <Volcane> yes, include's just a function | ||
| [2009/04/30 08:30:17] <Volcane> include("foo::${bar}") | ||
| [2009/04/30 08:30:23] <masterzen> yes, of course... | ||
| [2009/04/30 08:31:03] <pluesch0r> plus .. i'd also like to be able to do something like 'if host is running apache, install libapache2-mod-php5' inside the php5 recipe. is that possible? | ||
| [2009/04/30 08:31:18] <pluesch0r> again via the defined directive? | ||
| [2009/04/30 08:31:51] <HarryCalahan> masterzen: yes it works. but sadly not when extending from a basenode. I will switch to a baseclass and include that in all nodes so i can specify the variables before classes get included. | ||
| [2009/04/30 08:32:03] <pluesch0r> mh | ||
| [2009/04/30 08:32:31] <Volcane> node inheritance is a bug | ||
| [2009/04/30 08:32:45] <masterzen> I do agree with Volcane :-) | ||
| [2009/04/30 08:34:25] <masterzen> pluesch0r: IMHO you should only use this kind of reasoning with facter variables, not introspection of the produced configuration, that way things are simpler and auto-documented | ||
| [2009/04/30 08:35:02] <pluesch0r> i see. will look into that. thanks. :) | ||
| [2009/04/30 08:35:09] <masterzen> pluesch0r: I mean, declare a php5::apache2 class which does everything for php5 on apache2. Then include it in nodes that needs apache. | ||
| [2009/04/30 08:35:14] <masterzen> and php5. | ||
| [2009/04/30 08:35:32] <masterzen> yes. K.I.S.S | ||
| [2009/04/30 08:35:51] <SyTonnerre> Wow, PHP and kiss in the same discussion | ||
| [2009/04/30 08:35:52] <Volcane> package{"apache2": alias => "webserver" } | ||
| [2009/04/30 08:36:01] <Volcane> package["lighttpd": alias => "webserver" } | ||
| [2009/04/30 08:36:10] <Volcane> in your php stuff just require Package["webserver"] | ||
| [2009/04/30 08:36:19] <Volcane> people will then include whatever they wish | ||
| [2009/04/30 08:36:37] <pluesch0r> gotcha. | ||
| [2009/04/30 08:36:56] @ Quit: Mandus: "leaving" | ||
| [2009/04/30 08:36:59] @ Mandus joined channel #puppet | ||
| [2009/04/30 08:38:12] @ Quit: lak: | ||
| [2009/04/30 08:40:06] @ gaveen joined channel #puppet | ||
| [2009/04/30 08:42:41] @ Quit: fdz: "Leaving." | ||
| [2009/04/30 08:43:00] <HarryCalahan> would it be puppish thinking to handle default-vs-custom config in this way: node "example" { $customA = true; include classA } class A { if not $customA { include A::config::default }} | ||
| [2009/04/30 08:43:26] @ omry|work joined channel #puppet | ||
| [2009/04/30 08:51:03] @ keithlard joined channel #puppet | ||
| [2009/04/30 08:52:16] @ DerekW__ joined channel #puppet | ||
| [2009/04/30 08:52:29] @ Quit: DerekW_: Read error: 110 (Connection timed out) | ||
| [2009/04/30 08:52:44] @ nicZar` left channel #puppet () | ||
| [2009/04/30 08:52:49] @ nicZar` joined channel #puppet | ||
| [2009/04/30 08:53:21] <HarryCalahan> http://pastie.org/463764 | ||
| [2009/04/30 08:54:47] <Volcane> yeah its not too bad | ||
| [2009/04/30 08:55:03] <Volcane> include ("postfix::config::${postfixConfig}") | ||
| [2009/04/30 08:55:07] <Volcane> one case statement less | ||
| [2009/04/30 08:55:17] <Volcane> just make a noop postfix::config::none | ||
| [2009/04/30 08:55:54] <HarryCalahan> and i thought i got bonus points from Volcane. well always possibilies to improve | ||
| [2009/04/30 08:56:05] <Volcane> :) | ||
| [2009/04/30 08:56:41] <HarryCalahan> what is $postfixConfig if it is never defined? | ||
| [2009/04/30 08:56:58] <Volcane> parse error :P | ||
| [2009/04/30 08:57:12] <Volcane> http://nephilim.ml.org/~rip/puppet/extlookup.rb | ||
| [2009/04/30 08:57:24] <Volcane> $postfixConfig = extlookup("postfixconfig", "none") | ||
| [2009/04/30 08:57:34] <Volcane> then its none if you didnt define any :) | ||
| [2009/04/30 09:00:03] <HarryCalahan> what about this http://pastie.org/463764 | ||
| [2009/04/30 09:00:57] @ erm_ joined channel #puppet | ||
| [2009/04/30 09:01:09] <bla-bla> http://widget.mibbit.com/pb/qIc1CO This is my nrep module code, what will be the advantabe of including nrpe service to this code? | ||
| [2009/04/30 09:01:40] <Volcane> HarryCalahan: does if even support the ! syntax? never tried... | ||
| [2009/04/30 09:01:58] <HarryCalahan> Volcane: it says so http://reductivelabs.com/trac/puppet/wiki/LanguageTutorial#backus-naur-form | ||
| [2009/04/30 09:02:06] <Volcane> bla-bla: puppet can restart nrpe service if the config change | ||
| [2009/04/30 09:02:14] <bla-bla> The nrpe service will endure nrpe will be running..; I've included exec{ nrpe-restart} that should be sufficient? | ||
| [2009/04/30 09:02:15] <Volcane> ah nifty | ||
| [2009/04/30 09:02:35] * HarryCalahan has everything on snmp | ||
| [2009/04/30 09:02:45] * Volcane 's nrpe is under inetd | ||
| [2009/04/30 09:03:00] <pluesch0r> what do you guys use to ensure that puppet is running? | ||
| [2009/04/30 09:03:02] <pluesch0r> monit? | ||
| [2009/04/30 09:03:02] <Volcane> bla-bla: doesnt your code restart nrpe each time puppet runs? | ||
| [2009/04/30 09:03:11] <Volcane> pluesch0r: it doesnt die | ||
| [2009/04/30 09:03:18] <HarryCalahan> also the nagios local-command output if anything from them is needed | ||
| [2009/04/30 09:03:27] <fluxdude> pluesch0r: cron. | ||
| [2009/04/30 09:03:32] <pluesch0r> Volcane: maybe on your side of the fluffy planet. | ||
| [2009/04/30 09:03:39] <HarryCalahan> pluesch0r: i only run it manually (too scared of magic system configurations) | ||
| [2009/04/30 09:03:51] <fluxdude> HarryCalahan: lol | ||
| [2009/04/30 09:03:55] <fluxdude> but understandable. | ||
| [2009/04/30 09:04:04] @ Quit: gaveen: Success | ||
| [2009/04/30 09:04:11] <fluxdude> if you have puppet running everywhere and then some idiot changes a config you're toast across all your servers... | ||
| [2009/04/30 09:04:21] <HarryCalahan> fluxdude: some habbits die hard. in a year maybe ;) | ||
| [2009/04/30 09:04:30] <pluesch0r> if you give some idiot access to your puppetmaster ... | ||
| [2009/04/30 09:04:40] @ gaveen joined channel #puppet | ||
| [2009/04/30 09:04:54] * bda also uses cron. | ||
| [2009/04/30 09:04:56] <bla-bla> Volcane: Yes I am restarting nrpe each time puppet runs | ||
| [2009/04/30 09:05:05] <bda> HarryCalahan: I was thinking about a postfix provider. | ||
| [2009/04/30 09:05:16] <bda> HarryCalahan: But instead of templating main.cf, I was going to check/set via postconf. | ||
| [2009/04/30 09:05:23] <Volcane> bla-bla: why? when it can restart it only when the configs change for you? | ||
| [2009/04/30 09:05:54] <HarryCalahan> bda: templates are good enough for me. Not to many different sytems. most of them only use postfix to get local mail off the system. | ||
| [2009/04/30 09:06:08] <bla-bla> Volcane: Would it be better I include that as a service instead of exec ? | ||
| [2009/04/30 09:06:27] <bda> HarryCalahan: Fair enough. We're a mail company, so. :) | ||
| [2009/04/30 09:06:37] <Volcane> bla-bla: service{"nrpe": subscribe => File["configfile"], ensure => running, enable => true} | ||
| [2009/04/30 09:06:44] <bla-bla> thanks | ||
| [2009/04/30 09:06:52] <Volcane> bla-bla: it will start it if it dies, it will set it to auto start and it will restart if the config changes | ||
| [2009/04/30 09:07:03] <pluesch0r> bda, fluxdude: as written in http://reductivelabs.com/trac/puppet/wiki/Recipes/MutualRestart? | ||
| [2009/04/30 09:07:16] <HarryCalahan> bda: on systems that do the mail relay most postfix config is pulled from mysql backends. i can template them also ;) | ||
| [2009/04/30 09:08:03] @ mikepea joined channel #puppet | ||
| [2009/04/30 09:08:06] <HarryCalahan> pluesch0r: add puppet to nagios monitoring that ensures it is running, or add a cron that checks every hour and starts puppet if it is not running. Puppet can then check that the cronjob is there. | ||
| [2009/04/30 09:08:29] <bda> HarryCalahan: Yeah, that's a good point. We have plenty of mysql table configs laying around too. But they're all the same, and versioned, and symlinks to the versioned file (which puppet ensures). | ||
| [2009/04/30 09:08:42] <pluesch0r> HarryCalahan: if you only check the puppet process via SNMP/nagios, you're not able to restart it, though. or are you restarting it via snmpd?! | ||
| [2009/04/30 09:09:24] @ Quit: Dyresen: Remote closed the connection | ||
| [2009/04/30 09:09:37] <Volcane> seriously, since like 0.24.4 I've never had a puppetd die on me - obviously i monitor it - but they never die, even on crappy 256mb ram VMs | ||
| [2009/04/30 09:09:50] <HarryCalahan> pluesch0r: no. if a process dies i need to fix by hand. And then ensure that it will never die again ;) as said i'm not a fan of magic self-healing auto-restarting systems unless absolutely necessary (because of crappy software) | ||
| [2009/04/30 09:10:05] @ nakano_ is now known as nakano | ||
| [2009/04/30 09:10:32] <proton> just use whatever your OS of choice uses to keep daemons running, it should do whatever auto-backoff/suspend etc if things keep dying | ||
| [2009/04/30 09:10:39] * bda relies on SMF pretty happily. | ||
| [2009/04/30 09:10:46] <bda> And daemontools somewhat less so. | ||
| [2009/04/30 09:11:15] <bda> We have a local mon instance that checks local services, and a centralized mon instance that checks services everywhere less often, just in case. | ||
| [2009/04/30 09:11:32] @ ckm joined channel #puppet | ||
| [2009/04/30 09:12:51] <pluesch0r> HarryCalahan: how do you ensure it'll never die again? | ||
| [2009/04/30 09:13:01] @ mccune joined channel #puppet | ||
| [2009/04/30 09:13:09] <pluesch0r> what if your kernel decides to kill that process 'cause it consumes too much memory? | ||
| [2009/04/30 09:13:17] <HarryCalahan> check, debug, fix, patch, cry, pray | ||
| [2009/04/30 09:13:33] <bda> "Rage" goes before cry, ime. | ||
| [2009/04/30 09:13:43] <HarryCalahan> bda: never ;) | ||
| [2009/04/30 09:13:52] <pluesch0r> still ... that doesn't solve the insufficient resources problem .. | ||
| [2009/04/30 09:14:02] <HarryCalahan> pluesch0r: then i need to figure out why it started to abuse its resources | ||
| [2009/04/30 09:14:46] <masterzen> yes, if you automatically restart a resource hungry process it will one again be killed. I prefer to be notified and inspect/clear the issue | ||
| [2009/04/30 09:14:55] <masterzen> *once | ||
| [2009/04/30 09:14:57] <bda> Or set a resource cap on the process. | ||
| [2009/04/30 09:15:10] <pluesch0r> sun spots. atmospheric disturbances. yellow. | ||
| [2009/04/30 09:15:20] <bda> pluesch0r: Shit happens. It's why you have sysadmins. | ||
| [2009/04/30 09:15:28] <HarryCalahan> if it simply gets restarted every time, it will be ignored, the restart interval gets shorter and shorter, and then the database process will restart during a very bad moment. no. | ||
| [2009/04/30 09:15:28] <pluesch0r> true. | ||
| [2009/04/30 09:15:29] <bda> Fix the problem, or work around it. | ||
| [2009/04/30 09:15:59] * HarryCalahan signs bda | ||
| [2009/04/30 09:17:12] @ claymation joined channel #puppet | ||
| [2009/04/30 09:18:53] <oxtail> is anyone here using puppet to spit out their nagios configs for hosts? any good? the link to the naginator page on trac seems to have been taken down or moved... | ||
| [2009/04/30 09:19:30] * SyTonnerre just replaced his nagios installation with hobbitmon | ||
| [2009/04/30 09:19:37] <oxtail> i'm thinking of running a small instance of puppet for just this purpose so we don't have to edit nagios config files | ||
| [2009/04/30 09:19:52] <oxtail> SyTonnerre: any particular reason? | ||
| [2009/04/30 09:20:30] <SyTonnerre> oxtail, yes; hobbitmon deals better with large amounts of hosts and services, and does not require PHP | ||
| [2009/04/30 09:20:57] <SyTonnerre> Also, it's easier to configure actually, and more flexible in some ways | ||
| [2009/04/30 09:21:07] <SyTonnerre> Especially in terms of notification | ||
| [2009/04/30 09:21:16] <oxtail> i don't recall nagios requiring php? | ||
| [2009/04/30 09:21:26] <SyTonnerre> oxtail, then you didn't look at version 3.1 yet | ||
| [2009/04/30 09:21:34] <oxtail> ah...yes 3.0.6 | ||
| [2009/04/30 09:21:52] <SyTonnerre> The web interface was rewritten in PHP for 3.1 | ||
| [2009/04/30 09:21:57] <oxtail> ooh | ||
| [2009/04/30 09:22:22] <oxtail> so is the hobbitmon config in a sensible, easily parseable format? | ||
| [2009/04/30 09:23:37] <SyTonnerre> One might say so | ||
| [2009/04/30 09:24:04] <SyTonnerre> I'm sure it's not as versatile as nagios in all cases, but it can really do a whole lot | ||
| [2009/04/30 09:24:16] <SyTonnerre> And the notification stuff is just nice | ||
| [2009/04/30 09:24:30] <oxtail> my main bugbear with nagios is how you configure it, i'll take a look at hobbitmon chrs | ||
| [2009/04/30 09:24:49] <Volcane> SyTonnerre: FUD. | ||
| [2009/04/30 09:25:05] <Volcane> the PHP just references the existing cgi's | ||
| [2009/04/30 09:27:04] <Volcane> and howly shit, how fugly is hobbit, its worse than bigbrother, its like a timewarp back to the 90s | ||
| [2009/04/30 09:27:41] <joe-mac> SyTonnerre: was it really re written in PHP?!?? i am still on 3.0.6. my boss is going to be pisst cause he wants to phase out all php apps | ||
| [2009/04/30 09:27:56] <bda> Heh, that is pretty bad. Why not monit? Or Hyperic? | ||
| [2009/04/30 09:27:56] <teratoma> i was considering switching from Nagios to zabbix | ||
| [2009/04/30 09:28:08] <SyTonnerre> teratoma, that's PHP too, right? | ||
| [2009/04/30 09:28:22] <SyTonnerre> bda, monit is not really a full-featured monitoring system | ||
| [2009/04/30 09:28:27] <teratoma> i remember you, you're the guy who hates php ! | ||
| [2009/04/30 09:28:45] <SyTonnerre> teratoma, that description fits so many people… | ||
| [2009/04/30 09:28:49] <joe-mac> i like nagios for the most part... | ||
| [2009/04/30 09:28:49] <SyTonnerre> joe-mac, according to Volcane it's not totally rewritten, but anyway, it has a PHP dependency | ||
| [2009/04/30 09:28:52] <bda> I use mon, but I want to replace it with .. something. | ||
| [2009/04/30 09:29:06] <teratoma> blindly hating PHP and not using nagios because the front end uses php is kind of weird | ||
| [2009/04/30 09:29:06] <bda> It works well enough that it's difficult to make the investment, though. | ||
| [2009/04/30 09:29:08] <SyTonnerre> joe-mac, I dislike how Nagios crashes and burns regularly on big endian hardware | ||
| [2009/04/30 09:29:29] <SyTonnerre> teratoma, I agree, and that's why I hate PHP non-blindly | ||
| [2009/04/30 09:29:43] <joe-mac> like a PDP-11 SyTonnerre? lol... | ||
| [2009/04/30 09:30:08] <joe-mac> i don't blindly hate PHP either, it just has a bad trck record for security, like sendmail | ||
| [2009/04/30 09:30:11] <SyTonnerre> joe-mac, no, like UltraSPARC Coolthreads hardware for example | ||
| [2009/04/30 09:30:30] <joe-mac> i know, i was kidding SyTonnerre... we don't run any here but i used to be a sparc fanboy | ||
| [2009/04/30 09:30:47] <joe-mac> i still am a sun fanboy, i love their hardware | ||
| [2009/04/30 09:30:49] <SyTonnerre> Actually, PDP-11 is not even big endian | ||
| [2009/04/30 09:30:58] <joe-mac> really? thought it was | ||
| [2009/04/30 09:31:03] @ pvenkata joined channel #puppet | ||
| [2009/04/30 09:31:18] <SyTonnerre> No, it had a special flavour of endianness | ||
| [2009/04/30 09:31:59] <joe-mac> lol, sweet. i wrote a pdp-?? emulator once but i can't remember which one it was | ||
| [2009/04/30 09:32:07] <SyTonnerre> (Commonly called PDP-Endian) | ||
| [2009/04/30 09:32:17] <SyTonnerre> (Or middle-endian) | ||
| [2009/04/30 09:33:05] <joe-mac> nice | ||
| [2009/04/30 09:33:27] <SyTonnerre> I wonder how badly Python would fail on pdp-endian | ||
| [2009/04/30 09:34:09] <masterzen> the PDP-11 was middle-endian or sth like that... | ||
| [2009/04/30 09:34:33] <joe-mac> what's that program that will burn in a system and you can specify how many execution threads and how much memory to fill etc.. | ||
| [2009/04/30 09:34:34] * masterzen should read everything before hitting the return key | ||
| [2009/04/30 09:34:49] <masterzen> cpuburn ? | ||
| [2009/04/30 09:34:51] <joe-mac> it's ok, jumping in an irc convo mid way is how i roll | ||
| [2009/04/30 09:34:52] <joe-mac> there we go | ||
| [2009/04/30 09:34:59] <masterzen> stress? | ||
| [2009/04/30 09:35:01] <joe-mac> i knew it was burn in it, but coudln't remember exactly, thanks | ||
| [2009/04/30 09:35:33] @ Quit: gaveen: Connection timed out | ||
| [2009/04/30 09:36:38] <SyTonnerre> joe-mac, hackbench or such can do odd things too | ||
| [2009/04/30 09:36:38] @ kambiz_away is now known as kambiz | ||
| [2009/04/30 09:36:52] @ gaveen joined channel #puppet | ||
| [2009/04/30 09:39:55] @ mib_lz0sdb joined channel #puppet | ||
| [2009/04/30 09:40:17] <mib_lz0sdb> how do I delete all files in a folder? | ||
| [2009/04/30 09:41:05] <mib_lz0sdb> The same way as packages => purge | ||
| [2009/04/30 09:42:03] @ bobbyz joined channel #puppet | ||
| [2009/04/30 09:42:56] @ Quit: axisys: Read error: 110 (Connection timed out) | ||
| [2009/04/30 09:46:26] <masterzen> mib_lz0sdb: if you want to get rid of the whole directory including the directory itself: directory { "/path/to/dir": ensure => absent } should work, no? | ||
| [2009/04/30 09:46:32] <masterzen> and you also have tidy | ||
| [2009/04/30 09:48:10] <mib_lz0sdb> masterzen: I just found out about tidy - thanks a bunch | ||
| [2009/04/30 09:51:17] @ pheezy joined channel #puppet | ||
| [2009/04/30 09:54:26] @ PsychoSid joined channel #puppet | ||
| [2009/04/30 09:56:42] @ squiddle joined channel #puppet | ||
| [2009/04/30 09:56:54] @ Quit: oxtail: Read error: 104 (Connection reset by peer) | ||
| [2009/04/30 09:57:03] @ oxtail joined channel #puppet | ||
| [2009/04/30 09:59:48] @ Quit: Disconnect: Read error: 104 (Connection reset by peer) | ||
| [2009/04/30 10:01:45] <HarryCalahan> for the resource service i can specify pattern => any legal ruby pattern. Sorry no clue about ruby. is pattern => "/usr/sbin/ntpd" valid? | ||
| [2009/04/30 10:04:25] <gepetto> ::trac:: Using Mongrel OnEnterprise Linux edited by phantez @ http://reductivelabs.com/trac/puppet/wiki/UsingMongrelOnEnterpriseLinux | ||
| [2009/04/30 10:05:55] @ axisys joined channel #puppet | ||
| [2009/04/30 10:07:49] @ cwebber joined channel #puppet | ||
| [2009/04/30 10:08:44] <joe-mac> quick rooby question, if i am splitting a tab delimtied line i would expect line.split("\t")[3] to give me the third string on the line, but it doesn't. what am i doing wrong? | ||
| [2009/04/30 10:09:25] <Volcane> 0, 1, 2 | ||
| [2009/04/30 10:09:27] <Volcane> not 1, 2, 3 | ||
| [2009/04/30 10:09:41] <Volcane> easy to test in irb: | ||
| [2009/04/30 10:09:42] <Volcane> > "1\t2\t3\t4".split("\t")[2] | ||
| [2009/04/30 10:09:42] <Volcane> => "3" | ||
| [2009/04/30 10:10:09] <joe-mac> wow | ||
| [2009/04/30 10:10:17] * joe-mac punches self | ||
| [2009/04/30 10:10:50] <Volcane> heh | ||
| [2009/04/30 10:10:50] * HarryCalahan hands icebag to joe-mac | ||
| [2009/04/30 10:10:50] <joe-mac> lol | ||
| [2009/04/30 10:15:51] <HarryCalahan> what is the "legal ruby pattern" in resource -> service -> pattern? regular expression? | ||
| [2009/04/30 10:16:21] @ quit (seeya) | ||
| [2009/04/30 10:17:27] @ Joined channel #puppet | ||
| [2009/04/30 10:17:27] @ Topic is "Puppet 0.24.8 released! http://tinyurl.com/cv2tq2 | Tickets, bugs and features at http://tinyurl.com/46ryk7" | ||
| [2009/04/30 10:17:27] @ Topic set by jamesturnbull on Mon Mar 23 07:50:35 -0400 2009 | ||
| [2009/04/30 10:17:42] @ Mode +tnc by pratchett.freenode.net | ||
| [2009/04/30 10:19:02] <Volcane> regex = Regexp.new(@resource[:pattern]) | ||
| [2009/04/30 10:19:08] <Volcane> looks like it wants regex | ||
| [2009/04/30 10:20:38] @ Disconnect joined channel #puppet | ||
| [2009/04/30 10:22:07] @ Quit: oxtail: Read error: 110 (Connection timed out) | ||
| [2009/04/30 10:22:29] @ mfoster joined channel #puppet | ||
| [2009/04/30 10:23:17] <mib_lz0sdb> Header add ServedBy <%= servername %> puppet translates that to puppet server hostname when we try to push it put? any suggestions? | ||
| [2009/04/30 10:23:38] @ charlieS1 joined channel #puppet | ||
| [2009/04/30 10:23:50] <Volcane> type "facter" on a client to get a list of valid variables | ||
| [2009/04/30 10:23:51] @ Quit: int_: "No Ping reply in 90 seconds." | ||
| [2009/04/30 10:24:18] @ Quit: PsychoSid: Remote closed the connection | ||
| [2009/04/30 10:24:47] <HarryCalahan> i don't get it. i know that i can check that ntpd is running by looking for "/usr/sbin/ntpd" in my processtable. But i don't get how to tell this to puppet. pattern => "//usr/sbin/ntpd/" or pattern => "/\/usr\/sbin\/ntpd/" or both not working | ||
| [2009/04/30 10:25:20] <agaffney> HarryCalahan: if you're using service { ntpd: ... }, it should be able to figure it out on its own | ||
| [2009/04/30 10:25:30] @ rdaugherty joined channel #puppet | ||
| [2009/04/30 10:25:39] @ int joined channel #puppet | ||
| [2009/04/30 10:25:48] <Volcane> agaffney: you assume his OS doesnt suck. | ||
| [2009/04/30 10:25:58] <agaffney> true | ||
| [2009/04/30 10:26:04] <agaffney> HarryCalahan: get an OS that doesn't suck :P | ||
| [2009/04/30 10:26:35] @ Quit: charlieS: Read error: 104 (Connection reset by peer) | ||
| [2009/04/30 10:26:35] <HarryCalahan> agaffney: no the service is opentnpd and i don't want to simply check for a single ntpd somewhere inside the process table (that could also be vim ntpd.conf) | ||
| [2009/04/30 10:26:44] <Volcane> dont you have status comands on your openntp script? | ||
| [2009/04/30 10:26:51] <HarryCalahan> nope. missing. | ||
| [2009/04/30 10:26:59] <Volcane> CrapOS | ||
| [2009/04/30 10:27:07] <HarryCalahan> (i could add them, but now i want to learn how this pattern works) | ||
| [2009/04/30 10:27:55] <agaffney> for a regex, it's probably better to single-quote it | ||
| [2009/04/30 10:28:08] @ Quit: fujin: | ||
| [2009/04/30 10:28:09] <agaffney> pattern => '/\/usr\/sbin\/ntpd/' | ||
| [2009/04/30 10:28:32] <agaffney> otherwise, the double-quotes will eat those backslashes | ||
| [2009/04/30 10:28:39] <HarryCalahan> agaffney: that's it | ||
| [2009/04/30 10:28:49] @ Quit: pluesch0r: Read error: 110 (Connection timed out) | ||
| [2009/04/30 10:29:07] <agaffney> hurray! | ||
| [2009/04/30 10:29:14] <HarryCalahan> i first thought ruby didn't need leaning-toothpicks ;) | ||
| [2009/04/30 10:29:58] <mib_lz0sdb> Volcane: Yes i tried that but puppet somehow converts that to its own name before sending the file | ||
| [2009/04/30 10:30:33] <HarryCalahan> servername is the name of the puppet server | ||
| [2009/04/30 10:30:50] <HarryCalahan> the client name is in fqdn | ||
| [2009/04/30 10:31:07] <Volcane> HarryCalahan: http://pastie.org/463854 | ||
| [2009/04/30 10:31:15] <Volcane> HarryCalahan: you can test it with that :) | ||
| [2009/04/30 10:31:29] <HarryCalahan> *ahhhh* ruby. *panic | ||
| [2009/04/30 10:32:17] <HarryCalahan> agaffney: i tested with the wrong node :( | ||
| [2009/04/30 10:34:12] <Volcane> thats how puppet/provider/service/base.rb figures it out too | ||
| [2009/04/30 10:34:20] @ Quit: claymation: | ||
| [2009/04/30 10:34:29] <HarryCalahan> Volcane: thanks. | ||
| [2009/04/30 10:34:59] @ fujin joined channel #puppet | ||
| [2009/04/30 10:38:43] <HarryCalahan> pattern = '\/usr\/sbin\/ntpd$' | ||
| [2009/04/30 10:39:03] <Volcane> works for me without all the escaping | ||
| [2009/04/30 10:39:11] <HarryCalahan> slashes need a quote. the enclosing slashes of a regexp are not needed. | ||
| [2009/04/30 10:39:30] <HarryCalahan> Volcane: it doesn't hurt them and i'm so used to quoting slashes in regexp | ||
| [2009/04/30 10:39:45] @ claymation joined channel #puppet | ||
| [2009/04/30 10:40:00] <Volcane> yeah, doesnt hurt, but not needed, perl and other similar things are the same - pass a variable into a regex and you dont need to escape the /s | ||
| [2009/04/30 10:40:06] <HarryCalahan> my misstake was that i tried to add the regexp delimeter (slash) at the begin and end of the pattern. | ||
| [2009/04/30 10:40:52] @ Quit: ckm: Read error: 110 (Connection timed out) | ||
| [2009/04/30 10:42:15] @ ckm joined channel #puppet | ||
| [2009/04/30 10:44:24] <HarryCalahan> guess by the end of the year i need to learn ruby | ||
| [2009/04/30 10:45:53] <agaffney> I bought a book on it a while back, but I really didn't like it | ||
| [2009/04/30 10:45:53] @ Quit: mib_lz0sdb: "http://www.mibbit.com ajax IRC Client" | ||
| [2009/04/30 10:46:09] <agaffney> it seems like it's different just to be different | ||
| [2009/04/30 10:46:13] <HarryCalahan> agaffney: i'm scared to say this loud in the puppet channel | ||
| [2009/04/30 10:46:21] <agaffney> heh | ||
| [2009/04/30 10:46:29] <agaffney> I'll probably learn it eventually | ||
| [2009/04/30 10:46:39] <agaffney> I used to not like python | ||
| [2009/04/30 10:46:46] <agaffney> but I learned it for a particular project I was working on | ||
| [2009/04/30 10:46:48] * HarryCalahan loves python | ||
| [2009/04/30 10:47:08] <agaffney> python isn't *too* bad, but it's no perl :P | ||
| [2009/04/30 10:47:46] <SyTonnerre> To err is human, to really fsck up requires Python | ||
| [2009/04/30 10:48:03] <HarryCalahan> i learned perl a while ago and coded with it. But i don't like the @ $ % something magic variables | ||
| [2009/04/30 10:48:14] <SyTonnerre> I like how I have to explain the Python guys 3 times a day what a metaclass is | ||
| [2009/04/30 10:50:16] @ Quit: ckm: "Leaving" | ||
| [2009/04/30 10:51:41] @ ckm joined channel #puppet | ||
| [2009/04/30 10:53:49] <kolla> so what is a metaclass? :) | ||
| [2009/04/30 10:53:51] <Telmo> perl is a write only language | ||
| [2009/04/30 10:54:48] <agaffney> Telmo: pfft, and? :P | ||
| [2009/04/30 10:54:51] <agaffney> woot | ||
| [2009/04/30 10:54:55] <kolla> well, you can typically also run perl scripts, at least for a while | ||
| [2009/04/30 10:54:56] <agaffney> my puppet book just arrived | ||
| [2009/04/30 10:55:10] <HarryCalahan> pulling strings with puppet? | ||
| [2009/04/30 10:56:28] @ Quit: johan-s: Read error: 110 (Connection timed out) | ||
| [2009/04/30 10:56:37] <realist> Telmo: in that case, Python's a read only language | ||
| [2009/04/30 10:56:46] <agaffney> HarryCalahan: yep | ||
| [2009/04/30 10:56:50] <Telmo> Volcane: oracle installation, configuration and initial table population completed. | ||
| [2009/04/30 10:57:16] @ Quit: pleemans: Read error: 110 (Connection timed out) | ||
| [2009/04/30 10:57:19] <Volcane> telmo: nice one :) | ||
| [2009/04/30 10:58:00] <Telmo> realist: python is that language where the guy said "I don't like how you guys deal with white space so I am going to make up my own white space and make it stupidly easy to screw up and almost impossible to debug" | ||
| [2009/04/30 10:58:24] <HarryCalahan> Telmo: but where is the magic "I'm a dba" if you just change a manifest and it get's installed everyone can do it. Don't let them see you do it so easy. | ||
| [2009/04/30 10:58:27] <Telmo> is that a space or a tab there? | ||
| [2009/04/30 10:58:32] <Telmo> :) | ||
| [2009/04/30 10:58:39] <agaffney> heh | ||
| [2009/04/30 10:58:47] <HarryCalahan> Telmo: thats what my editor handles ;) | ||
| [2009/04/30 10:58:56] <agaffney> the whole whitespace thing is the reason I "hate" python | ||
| [2009/04/30 10:59:06] <agaffney> that and the lack of ++ and -- | ||
| [2009/04/30 10:59:08] <agaffney> :P | ||
| [2009/04/30 11:00:47] <Telmo> HarryCalahan: it wasn't easy, Oracle installation its a a %%$#$%# pain, specially with all the pre-reqs, kernel parameter changes, swap sizes and all that crap | ||
| [2009/04/30 11:01:23] <HarryCalahan> but now everyone can do it. If administration sees this, no dba is a demigod anymore. | ||
| [2009/04/30 11:01:40] <realist> Is X11 still a dependency? | ||
| [2009/04/30 11:01:59] <pheezy> you puppetized the oracle installation? O_o | ||
| [2009/04/30 11:02:02] <HarryCalahan> what you need a new oracle db? that will take at least two working days. | ||
| [2009/04/30 11:02:23] <Telmo> realist there is a dependency on X as in you have to have it installed, but you can skip the "wizard" using a response file | ||
| [2009/04/30 11:02:47] <Telmo> so the installation can be totally managed by puppet | ||
| [2009/04/30 11:03:07] <Telmo> installation, configuration and management | ||
| [2009/04/30 11:03:53] <Telmo> I told Lak I would send him the class once I was done, so I need to do that so he puts it with the rest of recipes | ||
| [2009/04/30 11:04:12] <Volcane> you can add it to the recipes yourself | ||
| [2009/04/30 11:04:21] <Telmo> even better | ||
| [2009/04/30 11:04:29] <Telmo> pheezy: yes | ||
| [2009/04/30 11:04:59] <Telmo> for Solaris at least, working on the Linux now | ||
| [2009/04/30 11:05:35] * Telmo is out to lunch | ||
| [2009/04/30 11:06:25] <HarryCalahan> now that oracle owns sun, maybe oracle-db will be a simple package | ||
| [2009/04/30 11:06:49] <Volcane> simple like sun software? the company who after decades still have no decent packaging system? :) | ||
| [2009/04/30 11:07:00] @ oxtail joined channel #puppet | ||
| [2009/04/30 11:07:02] <HarryCalahan> ;) | ||
| [2009/04/30 11:08:18] <joe-mac> agaffney: there is ++i in python. but for some reason my interpreter says int objects are not iterable, ROFL | ||
| [2009/04/30 11:08:34] @ Quit: fujin: | ||
| [2009/04/30 11:08:36] <joe-mac> never noticed that | ||
| [2009/04/30 11:08:45] <joe-mac> i guess i don't do much with numbers | ||
| [2009/04/30 11:08:56] <bla-bla> http://widget.mibbit.com/pb/fWz6PZ how do I make this directory pass permission recursively to the inner files/directories? | ||
| [2009/04/30 11:09:12] <realist> Volcane: IPS is decent. | ||
| [2009/04/30 11:09:45] <Volcane> its practically beta software | ||
| [2009/04/30 11:10:08] <Volcane> or has it made it to solaris proper yet? | ||
| [2009/04/30 11:15:16] <realist> Not until the next major release | ||
| [2009/04/30 11:15:31] <Volcane> Oracle Enterprise Unix :P | ||
| [2009/04/30 11:15:43] <bla-bla> 'recurse' isn't helping...any suggestions? | ||
| [2009/04/30 11:15:47] <HarryCalahan> joe-mac: ++i is +(+(i)) and does nothing | ||
| [2009/04/30 11:16:08] <joe-mac> nice | ||
| [2009/04/30 11:18:09] <HarryCalahan> at least for simple types ;) | ||
| [2009/04/30 11:18:17] <HarryCalahan> and now it's weeeeeekkkend | ||
| [2009/04/30 11:19:08] @ Quit: mikepea: Read error: 104 (Connection reset by peer) | ||
| [2009/04/30 11:19:09] @ Quit: HarryCalahan: "we have joy we have fun, we are dancing ... *shit* in the rain" | ||
| [2009/04/30 11:20:12] @ mikepea joined channel #puppet | ||
| [2009/04/30 11:20:29] <bla-bla> how do we pass permission recursively to a directory? hmmmm | ||
| [2009/04/30 11:20:51] <Volcane> puppet changes files you tell it specifically to manage | ||
| [2009/04/30 11:21:01] <Volcane> you cant just say take this dir and change perms recursively | ||
| [2009/04/30 11:21:11] <Volcane> unless you're recursively sourcing the directory from the master | ||
| [2009/04/30 11:27:05] <pheezy> Telmo that is kick ass. | ||
| [2009/04/30 11:27:18] <bla-bla> http://widget.mibbit.com/pb/gBva3U do you mean recurse=true when you mean 'recursively sourcing the directory' ? | ||
| [2009/04/30 11:28:16] <bla-bla> if yes, that did not work, I need to so an exec on - '/var/www$ sudo chown -R munin.www-data munin' | ||
| [2009/04/30 11:28:42] <bla-bla> *( if yes, then that did not work, I need to do an exec on - '/var/www$ sudo chown -R munin.www-data munin') | ||
| [2009/04/30 11:28:59] <Volcane> the real question is whats broken that's requiring you to need to do that | ||
| [2009/04/30 11:29:09] <Volcane> cos my munin never needs any hacks like that | ||
| [2009/04/30 11:29:44] <bla-bla> initial munin installation gives me a /var/www/munin directory with permission root.root | ||
| [2009/04/30 11:30:04] <bla-bla> I need to change the permission of that to munin.www-data to be able to see the graphs | ||
| [2009/04/30 11:30:33] <bla-bla> inside /var/www/munin/ I have /folder_name for each host | ||
| [2009/04/30 11:30:38] <Volcane> so you dont really need to change it recursively, you only need to change the directory cos the data will be correctly owned? | ||
| [2009/04/30 11:31:03] <bla-bla> so for each of this host I need to change the ownership to munin.www-data again | ||
| [2009/04/30 11:31:49] <Volcane> your munin doesnt auto create those dirs? | ||
| [2009/04/30 11:31:55] <Volcane> mine does, and it does it with sane permissions | ||
| [2009/04/30 11:32:27] <Volcane> puppets not a replacement for cronjob that just exec a ton of crap to fix a broken system | ||
| [2009/04/30 11:33:05] <Volcane> fix the problem, use puppet to keep the big things in a sane state, but generally on each puppet run puppet doesnt actually do anything when used correctly (unless you do like apt-get update kind of sucky but ok) | ||
| [2009/04/30 11:33:31] <Volcane> like, use service{} to check its still running and set it to start at boot, one use exec to restart the service every 30 minutes | ||
| [2009/04/30 11:33:49] <Volcane> if you find you're doing the latter, or regularly running exec's to chown -R things, you're using the wrong tool | ||
| [2009/04/30 11:35:00] @ mvn071 joined channel #puppet | ||
| [2009/04/30 11:42:15] @ Quit: madrescher: Read error: 60 (Operation timed out) | ||
| [2009/04/30 11:44:42] @ lak joined channel #puppet | ||
| [2009/04/30 11:47:46] @ Quit: masterzen: "Leaving" | ||
| [2009/04/30 11:50:19] @ nakano is now known as nakano_ | ||
| [2009/04/30 11:52:50] @ Quit: verwilst: "Ex-Chat" | ||
| [2009/04/30 11:55:45] @ Quit: bla-bla: "http://www.mibbit.com ajax IRC Client" | ||
| [2009/04/30 12:02:24] @ Quit: alban2: "A bientot" | ||
| [2009/04/30 12:02:30] @ fzzzt joined channel #puppet | ||
| [2009/04/30 12:03:38] <fzzzt> Hello. I'm working through the tutorials on RHEL5, using yum, and it's trying to update sudo but failing because of conflicting files. It looks like it's running yum install instead of yum update, which might be why that's happening. How can I make it run yum update instead, or is there another way to get around this? | ||
| [2009/04/30 12:04:15] <Volcane> show us the errors on pastie? | ||
| [2009/04/30 12:04:30] @ Quit: nicZar`: Remote closed the connection | ||
| [2009/04/30 12:05:37] @ bajan left channel #puppet () | ||
| [2009/04/30 12:05:44] @ mfoster left channel #puppet () | ||
| [2009/04/30 12:05:54] @ niczar1 joined channel #puppet | ||
| [2009/04/30 12:08:50] @ Quit: goacid: "Leaving." | ||
| [2009/04/30 12:15:51] <fzzzt> Volcane: http://pastebin.com/d60b3b598 | ||
| [2009/04/30 12:16:52] <Volcane> yeah thats pretty odd | ||
| [2009/04/30 12:16:59] <fzzzt> doh :/ | ||
| [2009/04/30 12:17:15] <Volcane> and you just have like package{"sudo": ensure => latest} or what? | ||
| [2009/04/30 12:17:45] <Volcane> and if you do rpm -qa|grep sudo there's only 1 right? | ||
| [2009/04/30 12:18:13] <fzzzt> Actually, no... | ||
| [2009/04/30 12:18:13] <fzzzt> sudo-1.6.8p12-12.el5 | ||
| [2009/04/30 12:18:13] <fzzzt> sudo-1.6.8p12-10 | ||
| [2009/04/30 12:18:19] <fzzzt> hrm | ||
| [2009/04/30 12:18:37] <Volcane> thats probably why its weird | ||
| [2009/04/30 12:18:55] @ Quit: lak: | ||
| [2009/04/30 12:19:34] <fzzzt> Okay, I'll figure out how to fix that then try again | ||
| [2009/04/30 12:21:06] @ madrescher joined channel #puppet | ||
| [2009/04/30 12:22:35] @ seph_ joined channel #puppet | ||
| [2009/04/30 12:22:39] @ bla-bla joined channel #puppet | ||
| [2009/04/30 12:22:50] @ Quit: edwardam: Remote closed the connection | ||
| [2009/04/30 12:23:05] <Telmo> Volcane: we had a meeting with Sun about their packaging system, we had the head engineer for IPS on the phone and a couple of the VPs for product development. We basically told them that pkg sucks and we needed dependencies. their answer was IPS. so when we asked them if they were backporting themk to Solaris 9/10 they said "no unless we get lots of requests for it" | ||
| [2009/04/30 12:23:29] @ Quit: alfism: "Connection reset by beer" | ||
| [2009/04/30 12:23:38] <fzzzt> puppetd[19490]: (//Node[rhel]/sudo/Package[sudo]/ensure) ensure changed '1.6.8p12-12.el5' to '1.6.9p17-3.el5_3.1' thanks! | ||
| [2009/04/30 12:23:45] @ edwardam joined channel #puppet | ||
| [2009/04/30 12:23:51] <Volcane> fzzzt: sweet | ||
| [2009/04/30 12:23:55] <Volcane> Telmo: yeah its a bit of a joke | ||
| [2009/04/30 12:24:51] @ win_sky joined channel #puppet | ||
| [2009/04/30 12:25:26] <Telmo> we are actually wrapping out pkgs in gems so "We can haz dependencies" | ||
| [2009/04/30 12:25:46] <Volcane> install rpm :P | ||
| [2009/04/30 12:26:24] <Volcane> though getting yum going shouldnt be fun | ||
| [2009/04/30 12:26:31] <Volcane> no doubt their python etc is very broken | ||
| [2009/04/30 12:27:36] @ Quit: fbe_: Read error: 110 (Connection timed out) | ||
| [2009/04/30 12:30:04] <seph_> I must be missing something obvious... I have a named module, it refers to a template. But puppet can't find the template. http://pastie.org/464003 | ||
| [2009/04/30 12:30:24] <Volcane> take away the / infront | ||
| [2009/04/30 12:31:11] <seph_> *ah* | ||
| [2009/04/30 12:31:55] @ lfuser-889 joined channel #puppet | ||
| [2009/04/30 12:31:55] <seph_> I knew it would be obvious. Thanks! | ||
| [2009/04/30 12:31:59] <lfuser-889> www.LinuxCAD.com, need a Linux Consultant 80k/year | ||
| [2009/04/30 12:31:59] <Volcane> :)# | ||
| [2009/04/30 12:32:03] <lfuser-889> www.LinuxCAD.com, need a Linux Consultant 80k/year | ||
| [2009/04/30 12:32:19] @ lfuser-889 left channel #puppet () | ||
| [2009/04/30 12:32:26] <Volcane> what a moron. | ||
| [2009/04/30 12:32:35] <Volcane> totally inspires you to hire him | ||
| [2009/04/30 12:33:18] <chu> Your request for http://www.linuxcad.com/ could not be fulfilled, because the domain name www.linuxcad.com could not be resolved. | ||
| [2009/04/30 12:33:18] <fzzzt> or he's looking and offering 80k | ||
| [2009/04/30 12:33:25] <chu> why yes he does need an admin | ||
| [2009/04/30 12:33:25] <fzzzt> hah | ||
| [2009/04/30 12:33:51] <fzzzt> it works for me tho | ||
| [2009/04/30 12:34:04] <Volcane> yeah me too | ||
| [2009/04/30 12:34:20] <Volcane> sheesh, been a whlie since I've seen that widget set, what WM was it again? old Sun thing | ||
| [2009/04/30 12:34:49] <Volcane> ah no its normal fugly linux | ||
| [2009/04/30 12:34:53] <Volcane> e-mail to: unixguy@aol.com | ||
| [2009/04/30 12:34:54] <Volcane> hah | ||
| [2009/04/30 12:34:56] <Volcane> nuff said | ||
| [2009/04/30 12:35:08] @ rdaugherty1 joined channel #puppet | ||
| [2009/04/30 12:35:09] @ Quit: rdaugherty: "Leaving." | ||
| [2009/04/30 12:35:09] @ Quit: nasrat: "Ex-Chat" | ||
| [2009/04/30 12:35:50] @ kingitchy joined channel #puppet | ||
| [2009/04/30 12:36:36] @ fzzzt left channel #puppet () | ||
| [2009/04/30 12:39:04] <jbooth> Any ruby gurus on? | ||
| [2009/04/30 12:40:15] <jbooth> Looks like no. Bother. | ||
| [2009/04/30 12:40:42] <joe-mac> lol, i wiswh my email was unixguy@aol.com | ||
| [2009/04/30 12:40:47] <joe-mac> that'd be hilarious | ||
| [2009/04/30 12:41:31] @ Quit: n0ts_______: "Tiarra 0.1+svn-30026: SIGTERM received; exit" | ||
| [2009/04/30 12:41:45] @ n0ts joined channel #puppet | ||
| [2009/04/30 12:43:50] * jbooth rewrites the code in another way. | ||
| [2009/04/30 12:46:15] @ randybias joined channel #puppet | ||
| [2009/04/30 12:48:46] @ nakano_ is now known as nakano | ||
| [2009/04/30 12:49:13] <andrewcshafer> jbooth: what are you trying to figure out? | ||
| [2009/04/30 12:49:22] @ nakano is now known as nakano_ | ||
| [2009/04/30 12:49:43] <andrewcshafer> joe-mac: unixguy@msn.com would be better | ||
| [2009/04/30 12:52:18] @ Quit: DerekW__: "Leaving" | ||
| [2009/04/30 12:52:31] <wakko666> when specifying an rpm to ensure => absent, is the syntax "name.arch" valid? | ||
| [2009/04/30 12:53:58] @ Quit: MattyM: "ta ta" | ||
| [2009/04/30 12:54:06] @ Quit: kolla: Remote closed the connection | ||
| [2009/04/30 12:56:27] @ Quit: pvenkata: Read error: 104 (Connection reset by peer) | ||
| [2009/04/30 12:56:39] <jbooth> andrewcshafer: I was trying to see if I could do a Hash.new(Hash.new(0)) and get a hash of hashes that all defaulted to 0. | ||
| [2009/04/30 12:57:52] @ Quit: madrescher: Read error: 110 (Connection timed out) | ||
| [2009/04/30 12:58:01] <andrewcshafer> jbooth: you can | ||
| [2009/04/30 12:58:02] @ lak joined channel #puppet | ||
| [2009/04/30 12:58:11] <andrewcshafer> jbooth: irb is your friend | ||
| [2009/04/30 13:03:04] @ Quit: bla-bla: "http://www.mibbit.com ajax IRC Client" | ||
| [2009/04/30 13:08:12] @ Quit: elijahwright: Read error: 104 (Connection reset by peer) | ||
| [2009/04/30 13:09:38] @ alfism joined channel #puppet | ||
| [2009/04/30 13:13:35] @ randybias is now known as randybias|away | ||
| [2009/04/30 13:16:28] @ Quit: ed209: Remote closed the connection | ||
| [2009/04/30 13:16:36] <Telmo> linuxguy@microsoft.com would be even better | ||
| [2009/04/30 13:17:18] <victor1> how woudl i go about testing a passive check? | ||
| [2009/04/30 13:17:32] <victor1> ignore | ||
| [2009/04/30 13:23:48] <sigmonsays> anyone know how the uniqueid fact is generated? | ||
| [2009/04/30 13:24:20] @ ed209 joined channel #puppet | ||
| [2009/04/30 13:25:43] <Telmo> let me take a look at the facter code, it should be fairly easy to figure it out | ||
| [2009/04/30 13:26:42] <sigmonsays> oh I can do that too. i'm just wondering the likelyhood of collisions | ||
| [2009/04/30 13:26:56] <Telmo> Facter.add(:uniqueid) do | ||
| [2009/04/30 13:26:56] <Telmo> setcode 'hostid', '/bin/sh' | ||
| [2009/04/30 13:26:56] <Telmo> confine :operatingsystem => %w{Solaris Linux Fedora RedHat CentOS SuSE Debia | ||
| [2009/04/30 13:26:57] <Telmo> n Gentoo AIX} | ||
| [2009/04/30 13:26:57] <Telmo> end | ||
| [2009/04/30 13:27:00] <sigmonsays> i am seeing tons of duplicates but havn't really investigated | ||
| [2009/04/30 13:27:07] <Telmo> it seems to run a hostid | ||
| [2009/04/30 13:27:35] <Telmo> I am not sure how the hostid is generated though :) | ||
| [2009/04/30 13:27:58] <sigmonsays> I am contemplating generating my own unique id at install | ||
| [2009/04/30 13:28:02] <sigmonsays> just hoping I could use someone elses :) | ||
| [2009/04/30 13:28:47] <wilturn> we just rely on mac addresses being unique.. not sure if that satisfies your needs | ||
| [2009/04/30 13:29:00] <wilturn> the fact being there already | ||
| [2009/04/30 13:29:27] <Telmo> it wont, if you were to change the system board or the NIC or for some reason use a different NIC your MAC would change | ||
| [2009/04/30 13:30:06] <claymation> hostid is not guaranteed to be unique (on sun) | ||
| [2009/04/30 13:30:18] <sigmonsays> yah it's not unique | ||
| [2009/04/30 13:30:35] <claymation> primary keys for servers is a non-trivial problem to solve | ||
| [2009/04/30 13:30:54] <sigmonsays> i want to use ip:mac:<generated id> | ||
| [2009/04/30 13:30:59] @ graynor joined channel #puppet | ||
| [2009/04/30 13:31:02] <sigmonsays> complex, yes | ||
| [2009/04/30 13:31:10] <sigmonsays> but accounting is wonderful | ||
| [2009/04/30 13:31:12] <claymation> hmm | ||
| [2009/04/30 13:31:24] @ Quit: keithlard: | ||
| [2009/04/30 13:31:35] <sigmonsays> i'm tempated to just make <genreated id> == date +%s.%N | ||
| [2009/04/30 13:31:50] <sigmonsays> and set that during pxe | ||
| [2009/04/30 13:32:27] <sigmonsays> but I havn't really thought this out :) | ||
| [2009/04/30 13:32:35] @ Quit: edwardam: Remote closed the connection | ||
| [2009/04/30 13:32:42] <claymation> so the question is ... what are you trying to identify? | ||
| [2009/04/30 13:32:58] <claymation> the physical device or the operating system instance running on it? | ||
| [2009/04/30 13:33:50] <sigmonsays> varies. that's why I think a combo of all will work well | ||
| [2009/04/30 13:34:21] <sigmonsays> physical and logical is ip, hardware is mac, generated is os | ||
| [2009/04/30 13:34:59] <claymation> modern devices expose their SN via SMBIOS | ||
| [2009/04/30 13:35:10] <sigmonsays> ahah! | ||
| [2009/04/30 13:35:18] <claymation> so I use a cascading key: SN, MAC, IP, hostname | ||
| [2009/04/30 13:35:20] <claymation> first match wins | ||
| [2009/04/30 13:35:30] <sigmonsays> screws me if I ever get a machine that i cant get a SN from :) | ||
| [2009/04/30 13:35:35] <sigmonsays> i like the first match idea | ||
| [2009/04/30 13:35:51] @ bla-bla joined channel #puppet | ||
| [2009/04/30 13:35:54] @ Quit: bla-bla: Client Quit | ||
| [2009/04/30 13:36:11] <claymation> it's not super friendly to work with | ||
| [2009/04/30 13:37:22] <sigmonsays> I wonder what the collisoin rate of md5(ip:mac:epoch) would be | ||
| [2009/04/30 13:37:30] @ Quit: ckm: Read error: 110 (Connection timed out) | ||
| [2009/04/30 13:37:49] <sigmonsays> time to test | ||
| [2009/04/30 13:38:13] @ bla-bla joined channel #puppet | ||
| [2009/04/30 13:38:47] @ ckm joined channel #puppet | ||
| [2009/04/30 13:38:51] <claymation> sigmonsays: how will you be able to look records up with that kind of key? | ||
| [2009/04/30 13:39:27] @ mikepea_ joined channel #puppet | ||
| [2009/04/30 13:39:58] <sigmonsays> i'm hoping to find a decent hash function | ||
| [2009/04/30 13:40:21] <sigmonsays> djb has a crazy one that uses 33 :) | ||
| [2009/04/30 13:40:39] <claymation> we use the djb hash for various things | ||
| [2009/04/30 13:41:23] <sigmonsays> yah | ||
| [2009/04/30 13:41:25] @ Quit: glaw: ""make love, not war"" | ||
| [2009/04/30 13:50:24] @ edwardam joined channel #puppet | ||
| [2009/04/30 13:54:24] @ Quit: mikepea: Read error: 110 (Connection timed out) | ||
| [2009/04/30 13:59:00] <agaffney> does the order classes are included for a node guarantee order of execution? | ||
| [2009/04/30 13:59:31] @ pleemans joined channel #puppet | ||
| [2009/04/30 13:59:40] <sigmonsays> agaffney, not sure, but thining of it another way, you can have a class require another, which guarantees all the resources will be applied | ||
| [2009/04/30 13:59:49] <mrepop> anyone have a good link for converting a cfengine installation to puppet? | ||
| [2009/04/30 13:59:56] <agaffney> I've got a 'class puppet' that has a 'cron' entry, but puppetd failed on the client because there was no crond installed | ||
| [2009/04/30 14:00:05] <agaffney> it failed immediately before trying to do anything | ||
| [2009/04/30 14:00:30] <Volcane> agaffney: use require => Package["crond"] or whatever assuming you use package{"crond": ensure => present} to install it somewhere | ||
| [2009/04/30 14:00:38] <agaffney> will adding a 'package { "vixie-cron": ... }' "fix" that? | ||
| [2009/04/30 14:01:06] <agaffney> can the require/subscribe cross classes? | ||
| [2009/04/30 14:01:17] <Volcane> yes | ||
| [2009/04/30 14:03:32] <Volcane> if you have a whole class that takes care of cron installation - maybe doing some configs or whatever | ||
| [2009/04/30 14:03:38] <Volcane> you can require => Class["crond"] | ||
| [2009/04/30 14:04:29] @ Quit: win_sky: Read error: 60 (Operation timed out) | ||
| [2009/04/30 14:05:34] <jbooth> andrewcshafer: irb didn't look like that was the case in testing. hash[:a][:b] = 1, then referencing a undeclared hash[:b][:b] => 1 when it should be 0. | ||
| [2009/04/30 14:06:12] @ Quit: lak: | ||
| [2009/04/30 14:06:13] <jhulten> Moving off webrick shortly... Is there a consensus on Mongrel vs Passenger? | ||
| [2009/04/30 14:06:44] <Volcane> mongrel solutions are tried and tested by loads of people compared to often threads on the list of ppl moaning about passenger issues. | ||
| [2009/04/30 14:06:52] @ mfoster1 joined channel #puppet | ||
| [2009/04/30 14:07:03] <Volcane> but thats about hte only evidence I have : | ||
| [2009/04/30 14:07:04] <Volcane> :) | ||
| [2009/04/30 14:07:11] <andrewcshafer> jbooth: I think it is probably setting up a reference to the same hash as a default then | ||
| [2009/04/30 14:07:24] @ Quit: rdaugherty1: "Leaving." | ||
| [2009/04/30 14:07:36] <ch> volcane: have any of the passenger trouble mails ready? | ||
| [2009/04/30 14:08:03] <jbooth> andrewcshafer: Yep, that was my conclusion. It wasn't calling default.dup so I got a fresh copy each time. Coding around it was easy, so I quit trying to be clever. | ||
| [2009/04/30 14:09:33] <agaffney> Volcane: doesn't work | ||
| [2009/04/30 14:09:37] <andrewcshafer> I think you should be able to get the default behavior you wanted using a block in the initializer. I'll play with it later. | ||
| [2009/04/30 14:09:43] <Volcane> agaffney: you're doing it wrong then | ||
| [2009/04/30 14:10:00] <Volcane> agaffney: show code | ||
| [2009/04/30 14:10:04] <agaffney> I have a 'require => Package[cron]' in my 'cron' entry, but puppetd fails immediately with "err: Could not create check_puppet: Could not find a default provider for cron" | ||
| [2009/04/30 14:10:04] <Volcane> (on pastie) | ||
| [2009/04/30 14:10:16] <Volcane> oh, thats something else | ||
| [2009/04/30 14:10:22] <Volcane> do you not have cron installed at all? | ||
| [2009/04/30 14:10:27] <Volcane> before puppet runs? | ||
| [2009/04/30 14:10:39] <agaffney> this is a @core centos install | ||
| [2009/04/30 14:10:40] <agaffney> no cron | ||
| [2009/04/30 14:10:43] <Volcane> hmm | ||
| [2009/04/30 14:10:44] <agaffney> I can install it by hand | ||
| [2009/04/30 14:10:49] <agaffney> but I'd like puppet to do it if possible | ||
| [2009/04/30 14:10:57] <Volcane> let me test | ||
| [2009/04/30 14:11:49] @ victor1 left channel #puppet () | ||
| [2009/04/30 14:11:54] <Volcane> yeah you might be in trouble there | ||
| [2009/04/30 14:12:06] <Volcane> if you have any cron resources you'll need cron installed before puppet runs | ||
| [2009/04/30 14:12:08] <jhulten> agaffney: Try putting cron in the Package call in quotes... require => Package["cron"] | ||
| [2009/04/30 14:12:18] <agaffney> jhulten: I don't think that matters :P | ||
| [2009/04/30 14:12:33] <Volcane> cos puppet starts, sees it needs to do cron stuff then first tries to figure out how before it does anyting | ||
| [2009/04/30 14:12:42] <agaffney> Volcane: yeah, that's what I figured | ||
| [2009/04/30 14:12:44] <agaffney> no big deal | ||
| [2009/04/30 14:12:50] <jhulten> agaffney: Not normally, but my thought is that since cron is a parser term it might conflict. | ||
| [2009/04/30 14:13:10] <agaffney> jhulten: there's no conflict if crond is installed...it works just fine | ||
| [2009/04/30 14:13:24] <jhulten> ah. | ||
| [2009/04/30 14:13:30] <agaffney> and actually, it's Package[crond] | ||
| [2009/04/30 14:13:41] <Volcane> agaffney: i break my installs into 2, a bootstrap stage where puppet does basic things and then a 2nd phase where it does the more complex stuff | ||
| [2009/04/30 14:14:29] <agaffney> well, this is a "basic" thing | ||
| [2009/04/30 14:14:34] <agaffney> it's part of my 'class puppet' | ||
| [2009/04/30 14:14:42] @ randybias|away is now known as randybias | ||
| [2009/04/30 14:14:45] <Volcane> yeah but one of the things you try to do has a cron resource | ||
| [2009/04/30 14:14:48] <Volcane> it just wont work :) | ||
| [2009/04/30 14:14:59] * Volcane 's gotta go, dinner calls | ||
| [2009/04/30 14:15:00] <agaffney> I run 'puppetd --test --server puppet.foo.bar', sign the cert on the server, and run the command again | ||
| [2009/04/30 14:15:22] <agaffney> it sets up my puppet.conf, starts the init script, adds it to bootup, and adds a cron job to make sure it keeps running :P | ||
| [2009/04/30 14:15:26] <agaffney> Volcane: alright, thanks | ||
| [2009/04/30 14:15:56] <Volcane> agaffney: my first run is a run that just does like 10 resources, does initial yum repo setups and so, no crons, no packages, nothing, just the basics that is such a pain to get right without 100s of requires etc, and pushes out facts that the rest of my manifest needs | ||
| [2009/04/30 14:16:08] <Volcane> agaffney: i do that using a small environment where the machines boot into first | ||
| [2009/04/30 14:16:22] <Volcane> as in puppetmaster environment with a simple default host only | ||
| [2009/04/30 14:16:30] <Volcane> anyway, gotta go | ||
| [2009/04/30 14:16:32] <agaffney> well, now that's interesting | ||
| [2009/04/30 14:16:41] <agaffney> my puppetd running in the background installed crond for me... | ||
| [2009/04/30 14:16:46] <Volcane> heh | ||
| [2009/04/30 14:16:58] <agaffney> it just wouldn't do it when I ran it from the commandline | ||
| [2009/04/30 14:17:04] <agaffney> whatever :P | ||
| [2009/04/30 14:24:07] @ Quit: bgupta: Read error: 60 (Operation timed out) | ||
| [2009/04/30 14:24:46] @ Quit: mikepea_: Read error: 110 (Connection timed out) | ||
| [2009/04/30 14:25:24] @ sdodson joined channel #puppet | ||
| [2009/04/30 14:30:35] @ plathrop joined channel #puppet | ||
| [2009/04/30 14:30:40] <plathrop> So, not sure if this is a known problem, but I'm noticing that on Debian Puppet can't "ensure" a package version that is *older* than the currently installed | ||
| [2009/04/30 14:35:02] <sdodson> Is there a defauilt user/group for the file type I'm missing? ensure => directory is reseting ownership of a directory even though I don't want it to do so. | ||
| [2009/04/30 14:35:46] @ exothermc joined channel #puppet | ||
| [2009/04/30 14:35:57] @ bgupta joined channel #puppet | ||
| [2009/04/30 14:35:59] <exothermc> What is a good centos 5 repo for puppet? | ||
| [2009/04/30 14:36:09] <exothermc> rpmforge is really outdated. | ||
| [2009/04/30 14:37:38] <sdodson> exothermc: EPEL has 0.24.8 | ||
| [2009/04/30 14:38:03] <exothermc> sdodson: ok great thanks | ||
| [2009/04/30 14:38:34] @ Quit: monzie: Read error: 110 (Connection timed out) | ||
| [2009/04/30 14:42:12] <exothermc> hmm standard epel only has 0.24.7-4 | ||
| [2009/04/30 14:42:28] <exothermc> is that compatable with a puppet server running 0.024.8? | ||
| [2009/04/30 14:42:45] <jhulten> Anyone know if 0.24.5 clients will talk to a 0.24.8 server, at least long enough to upgrade? | ||
| [2009/04/30 14:43:34] @ Aaro1 joined channel #puppet | ||
| [2009/04/30 14:44:20] @ mikepea_ joined channel #puppet | ||
| [2009/04/30 14:47:59] @ Quit: bgupta: Connection reset by peer | ||
| [2009/04/30 14:48:01] @ bgupta joined channel #puppet | ||
| [2009/04/30 14:50:14] @ Quit: pheezy: Remote closed the connection | ||
| [2009/04/30 14:53:58] <jbooth> exothermc: I think 24.8 is in standard epel. Are you sure your mirror is up to date? | ||
| [2009/04/30 14:54:15] @ edwardam is now known as edwardam|phn | ||
| [2009/04/30 14:55:30] <jbooth> I'm seeing it for a RHEL4 box using epel, at least. | ||
| [2009/04/30 14:55:45] @ Aaro1 left channel #puppet () | ||
| [2009/04/30 14:56:55] <exothermc> jbooth: hmm not sure, just did default install. | ||
| [2009/04/30 14:56:57] <exothermc> let me see. | ||
| [2009/04/30 14:57:31] <exothermc> jbooth: http://download.fedora.redhat.com/pub/epel/5/x86_64/ | ||
| [2009/04/30 14:57:42] <exothermc> looks like 0.024.7-4 to me. | ||
| [2009/04/30 14:57:51] @ Quit: aymerick: | ||
| [2009/04/30 14:59:12] <jbooth> exothermc: shrug. I just see what yum or up2date tells me. Maybe it's a x86_64 thing | ||
| [2009/04/30 14:59:24] <exothermc> ya | ||
| [2009/04/30 14:59:35] <jbooth> exothermc: though my rhel4 box is x86-64 and it has it | ||
| [2009/04/30 14:59:56] <exothermc> is there somewhere that lists the compatibility between puppet versions for client server? | ||
| [2009/04/30 15:00:40] <jbooth> http://download.fedora.redhat.com/pub/epel/5/x86_64/puppet-0.24.8-1.el5.1.noarch.rpm | ||
| [2009/04/30 15:00:44] <jbooth> I see it there | ||
| [2009/04/30 15:01:14] <jbooth> I don't know of any compatibility list. .7 client and .8 server seems to work for me. YMMV. | ||
| [2009/04/30 15:01:22] <exothermc> what the hell | ||
| [2009/04/30 15:01:25] <jbooth> (as did .8 client and .7 server) | ||
| [2009/04/30 15:01:43] <exothermc> oh there are two versions there. | ||
| [2009/04/30 15:01:43] <jbooth> Have you not patched and are still 5.0 rather than 5.[123]? | ||
| [2009/04/30 15:01:58] <exothermc> why would it default to 0.24.7-4 I wonder. | ||
| [2009/04/30 15:02:15] <exothermc> I'm 5.3 | ||
| [2009/04/30 15:03:17] <jbooth> Installed it when the system was 5.0? | ||
| [2009/04/30 15:03:31] <jbooth> Will yum update upgrade it? | ||
| [2009/04/30 15:03:44] <exothermc> I haven't installed it yet | ||
| [2009/04/30 15:03:54] <exothermc> it wants to install 0.24.7-4 | ||
| [2009/04/30 15:04:28] @ ezmob joined channel #puppet | ||
| [2009/04/30 15:05:31] @ Quit: ckm: Read error: 60 (Operation timed out) | ||
| [2009/04/30 15:06:02] @ ckm joined channel #puppet | ||
| [2009/04/30 15:11:23] @ Quit: flakrat: Read error: 104 (Connection reset by peer) | ||
| [2009/04/30 15:17:55] @ flakrat joined channel #puppet | ||
| [2009/04/30 15:20:12] @ randybias is now known as randybias|away | ||
| [2009/04/30 15:33:27] @ elijahwright joined channel #puppet | ||
| [2009/04/30 15:36:08] @ edwardam|phn is now known as edwardam | ||
| [2009/04/30 15:43:24] <jbooth> andrewcshafer: you around, and if so can I ask puppet internals questions of you? | ||
| [2009/04/30 15:45:44] @ Quit: ezmob: Read error: 110 (Connection timed out) | ||
| [2009/04/30 15:52:59] <bla-bla> http://widget.mibbit.com/pb/fU8Ofl This is my munin controller install script...once the installation is done, If I delete the /var/www/munin directory and /etc/munin directory and run the build controller script again ( which is supposed to call the munin-controller class as-is again ) The installation does not complete...i.e the style sheets and logo.png | ||
| [2009/04/30 15:53:32] <bla-bla> in /var/www/munin does not get reinstalled nor the /etc/munin/template/* | ||
| [2009/04/30 15:53:42] <bla-bla> any idea why they get installed only during the 1st run? | ||
| [2009/04/30 15:54:27] @ Quit: bolt: Remote closed the connection | ||
| [2009/04/30 16:03:51] @ bolt joined channel #puppet | ||
| [2009/04/30 16:08:44] @ zoniguana joined channel #puppet | ||
| [2009/04/30 16:11:03] @ Quit: squiddle: Read error: 60 (Operation timed out) | ||
| [2009/04/30 16:12:15] @ edwardam is now known as edwardam|lunch | ||
| [2009/04/30 16:14:33] <jrojas> anyone using that iptables plugin that was on the list the other day? | ||
| [2009/04/30 16:20:21] <jbooth> Was it the iptables-type-0.2 or something one? | ||
| [2009/04/30 16:20:41] <jrojas> not sure.. | ||
| [2009/04/30 16:20:49] <jrojas> this thread | ||
| [2009/04/30 16:20:50] <jrojas> http://groups.google.com/group/puppet-users/browse_thread/thread/ecb960af853b71f8/c7ac86e17a4a2185?lnk=gst&q=iptables#c7ac86e17a4a2185 | ||
| [2009/04/30 16:22:07] <jrojas> the iptables-type-0.2 seems a bit old and a little limiting but i will look at it. | ||
| [2009/04/30 16:23:03] <jrojas> the iptables type that is on github, its good, but, it does a sort by name of the tables rules so puppet doesnt run each time, this means you either have to number your rules, otherwise you risk putting a default drop all above everything else | ||
| [2009/04/30 16:24:57] <jbooth> I don't think it works with modern puppet. | ||
| [2009/04/30 16:25:02] <jbooth> (the -0.2) | ||
| [2009/04/30 16:25:12] <jrojas> yeah, i just checked the code, it doesnt look like it | ||
| [2009/04/30 16:25:56] <jbooth> The one in the thread is just an updated -0.2 I'd guess | ||
| [2009/04/30 16:26:10] <jbooth> All the questions you see me asking are about an iptables provider too, but I'm still slugging away. | ||
| [2009/04/30 16:26:30] <jbooth> For some reason I tried to be fancy and do it as a type/provider split, so that it works on more than linux. :-P | ||
| [2009/04/30 16:26:36] <jrojas> ah | ||
| [2009/04/30 16:26:52] <jbooth> And the documentation on how that split works... lacking. | ||
| [2009/04/30 16:26:55] <jbooth> And contradictory | ||
| [2009/04/30 16:27:48] <jrojas> yeah | ||
| [2009/04/30 16:28:06] <jrojas> im trying the one from github and i am numbering my rules, we will see how it works out. | ||
| [2009/04/30 16:30:19] <jrojas> technically if you comment out the sort in iptables.rb you *should* be able to use before => Iptables["RuleX"] and after... | ||
| [2009/04/30 16:30:33] <jrojas> but that seems like more work than its worth | ||
| [2009/04/30 16:33:11] @ randybias|away is now known as randybias | ||
| [2009/04/30 16:36:06] @ Quit: zoniguana: "Leaving" | ||
| [2009/04/30 16:36:17] <dixond> hi all - I'm having trouble understanding how to set up fileserver.conf to work correctly with plugins in modules - what exactly do I need to add to make it work? | ||
| [2009/04/30 16:36:44] <dixond> none of the relevant wiki pages actually say 'this is what should be in fileserver.conf' | ||
| [2009/04/30 16:37:14] <jrojas> dixond: have you tried it with a blank fileserver.conf? | ||
| [2009/04/30 16:37:19] <jrojas> jbooth: http://pastie.org/464388 | ||
| [2009/04/30 16:37:26] <jrojas> numbering didnt work either :/ | ||
| [2009/04/30 16:38:32] <dixond> jrojas: hrm. hangon. | ||
| [2009/04/30 16:42:46] @ keithlard joined channel #puppet | ||
| [2009/04/30 16:44:05] <sdodson> Shoud file { "/exports/foo": ensure => directory, } be changing ownership of /exports/foo to root:root if it's not root:root when puppet runs? | ||
| [2009/04/30 16:45:34] <jrojas> sdodson: if puppet runs as root yes it will change it to root:root | ||
| [2009/04/30 16:45:43] <jrojas> sdodson: you would have to define otherswise | ||
| [2009/04/30 16:45:48] <dixond> sdodson: probably not, but IIRC you can explicitly set this with group => undef, user => undef | ||
| [2009/04/30 16:45:55] <dixond> (or was it owner => undef) | ||
| [2009/04/30 16:46:09] <sdodson> dixond: Ok, I'll give that a shot. | ||
| [2009/04/30 16:46:43] <sdodson> jrojas: Makes sense. I really should be telling it ownership I guess, for the case that it doesn't exist and puppet has to create it. | ||
| [2009/04/30 16:47:57] <jrojas> :) | ||
| [2009/04/30 16:52:51] <sigmonsays> does python have a unix socket interface? | ||
| [2009/04/30 16:54:31] <dixond> sigmonsays: erm ? yes ? | ||
| [2009/04/30 16:56:06] @ ttilley joined channel #puppet | ||
| [2009/04/30 16:57:05] <sigmonsays> should pointed to lmgtfh.com | ||
| [2009/04/30 16:57:38] <sigmonsays> *lmgtfy.com | ||
| [2009/04/30 17:00:39] <jbooth> jrojas: nope. The puppet require=> isn't sufficient. | ||
| [2009/04/30 17:00:45] <jbooth> That's the big problem I've been working on | ||
| [2009/04/30 17:01:01] <jrojas> hmm | ||
| [2009/04/30 17:02:16] @ Quit: pleemans: Read error: 113 (No route to host) | ||
| [2009/04/30 17:04:19] <Volcane> good movie | ||
| [2009/04/30 17:04:21] <Volcane> wrong # | ||
| [2009/04/30 17:05:06] <jrojas> jbooth: hte sort is messed up from what i gather... i am testing a fix now | ||
| [2009/04/30 17:08:13] @ lak joined channel #puppet | ||
| [2009/04/30 17:09:21] @ Quit: mikepea_: | ||
| [2009/04/30 17:10:00] <jbooth> Hey lak, up for any more of my type<=>provider questions? | ||
| [2009/04/30 17:10:29] <lak> maybe? | ||
| [2009/04/30 17:10:35] <lak> my brain isn't working all that well | ||
| [2009/04/30 17:12:28] @ kambiz is now known as kambiz_away | ||
| [2009/04/30 17:12:54] <jbooth> lak: Well, I got firewall/iptables written, but with some bugs. So I went reading, and then I found contradictions and am confused. :-/ | ||
| [2009/04/30 17:13:05] <lak> ok | ||
| [2009/04/30 17:13:11] <lak> what's confusing? | ||
| [2009/04/30 17:14:25] <jbooth> lak: I think it is the resource<->provider interaction. In particular, getting the provider's exists? defined in such a way that things that already existed on disk are detected. | ||
| [2009/04/30 17:14:52] <jbooth> lak: There were comments about not being able to store state in the provider, because they can get swapped out under you when you're using prefetch | ||
| [2009/04/30 17:15:01] <lak> yeah | ||
| [2009/04/30 17:15:19] <jbooth> lak: But my understanding was the provider stored what was the system-live state, and the type held the puppet-defined state | ||
| [2009/04/30 17:15:28] <lak> basically, prefetch makes a new instance of the provider and assigns that to the resource | ||
| [2009/04/30 17:15:40] <lak> that's essentially true, that comment is more to mean that providers aren't long-lived | ||
| [2009/04/30 17:15:51] <lak> so you can store state between prefetching and the end of the transaction | ||
| [2009/04/30 17:15:57] <lak> just not between transactions | ||
| [2009/04/30 17:15:59] <sigmonsays> doh, dixond I totally didn't know I was in #puppet | ||
| [2009/04/30 17:16:22] <jbooth> Okay. Define between transactions? | ||
| [2009/04/30 17:18:09] @ Quit: mvn071: Remote closed the connection | ||
| [2009/04/30 17:18:54] <lak> jbooth: between runs in puppetd | ||
| [2009/04/30 17:19:41] @ mfoster1 left channel #puppet () | ||
| [2009/04/30 17:20:03] <jbooth> Okay, that was what I thought you meant but I wanted to check | ||
| [2009/04/30 17:21:47] <sigmonsays> where is puppett on getting integration with a message bus? | ||
| [2009/04/30 17:25:04] @ mfoster joined channel #puppet | ||
| [2009/04/30 17:25:07] @ Djelibeybi joined channel #puppet | ||
| [2009/04/30 17:26:29] @ johan-s joined channel #puppet | ||
| [2009/04/30 17:28:33] <sigmonsays> i'm contemplating experiementing w/ my own home brew setup | ||
| [2009/04/30 17:28:50] <sigmonsays> but i'm missing the ability to pass arguments to a notify/subscribe | ||
| [2009/04/30 17:29:35] <bla-bla> hi...does anyone has a working puppet-minin recipe? The one I've written is http://widget.mibbit.com/pb/URLmDF | ||
| [2009/04/30 17:29:58] <bla-bla> It works only for the 1st time...then after...the permissions gets messed up | ||
| [2009/04/30 17:31:03] @ Quit: axisys: "leaving" | ||
| [2009/04/30 17:32:47] <Volcane> bla-bla: we've tried to explain to you that you're completely on the wrong track and using execs for totally the wrong thing. | ||
| [2009/04/30 17:33:05] @ Quit: lak: Read error: 60 (Operation timed out) | ||
| [2009/04/30 17:33:43] @ lak joined channel #puppet | ||
| [2009/04/30 17:33:48] <bla-bla> I fail to understand...could you explain it to me again...all the recipes i've seen uses exec in the same way.. | ||
| [2009/04/30 17:34:32] <bla-bla> i got s3sync,nrpe working well with puppet using exec in the same way...on 3 servers.. | ||
| [2009/04/30 17:34:58] @ kingitchy_ joined channel #puppet | ||
| [2009/04/30 17:34:58] @ Quit: kingitchy: Read error: 54 (Connection reset by peer) | ||
| [2009/04/30 17:35:17] <bla-bla> exec is juzszt like running commands right? | ||
| [2009/04/30 17:35:38] <Volcane> you could also throw away apache and write webservers using bash and /dev/tcp, just you can treat puppet like a bloated cron/shell script replacement doesnt mean u have too and doesnt make it right | ||
| [2009/04/30 17:36:11] <jbooth> lak: How can I best create an internal-only param? Concrete example: I want to record the --line-numbers from iptables-save output. Can I avoid having it be in the type and just do it in the provider? I've got to write my owner getter and setter then, right? | ||
| [2009/04/30 17:36:13] <Volcane> anyway, after 3 days i give up, and I'm quite patient :) | ||
| [2009/04/30 17:36:21] @ Quit: erm_: Read error: 110 (Connection timed out) | ||
| [2009/04/30 17:36:52] <lak> jbooth: yes | ||
| [2009/04/30 17:37:06] <jbooth> lak: Is there a helper I should be using? | ||
| [2009/04/30 17:37:19] @ edwardam|lunch is now known as edwardam | ||
| [2009/04/30 17:37:20] <lak> for making getters and setters? just use 'attr_accessor' | ||
| [2009/04/30 17:37:25] <jbooth> lak: put another way; any reason I can't just... yeah, okay | ||
| [2009/04/30 17:37:25] <bla-bla> Volcane: ok...how about just one another time please :) Promise to learn this time | ||
| [2009/04/30 17:37:27] <lak> it's builtin to ruby | ||
| [2009/04/30 17:37:58] <jbooth> lak: Are there any helper functions for determining require=> relationships? | ||
| [2009/04/30 17:38:17] <jbooth> lak: like object.requires?(me) ? | ||
| [2009/04/30 17:38:21] <lak> you mean for figuring out what resources a given resource requires? | ||
| [2009/04/30 17:38:22] <lak> hmm | ||
| [2009/04/30 17:38:30] <lak> i don't remember; i'll look | ||
| [2009/04/30 17:38:54] <jbooth> lak: I mean given two objects if the first requires the second. I can write a loop to do it, but I'd rather reuse | ||
| [2009/04/30 17:39:07] @ Quit: claymation: Read error: 104 (Connection reset by peer) | ||
| [2009/04/30 17:39:36] <lak> well, in that case you can just do 'if catalog.edge(required, requirer)' | ||
| [2009/04/30 17:39:46] <lak> but yeah, that should probably be promoted to a method | ||
| [2009/04/30 17:39:53] <jbooth> lak: actually double checking it is. | ||
| [2009/04/30 17:39:58] @ claymation joined channel #puppet | ||
| [2009/04/30 17:40:00] <jbooth> lak: I bet I typoed my grep originally looking. | ||
| [2009/04/30 17:40:09] <jbooth> type.rb: def requires?(other) | ||
| [2009/04/30 17:40:09] <lak> ah; what's the method name? | ||
| [2009/04/30 17:40:12] <lak> ah | ||
| [2009/04/30 17:40:38] <lak> it's not in 0.25, from what i can see | ||
| [2009/04/30 17:40:44] <jbooth> Oh. | ||
| [2009/04/30 17:40:57] <jbooth> I take it 0.25 is going to mean some heavy rewriting for type/providers? | ||
| [2009/04/30 17:41:07] <jbooth> Or is that just, "nobody else used it so it got dropped"? | ||
| [2009/04/30 17:42:44] <jbooth> lak: From a provider, is @resource created automatically for me when I associate the provider instance with a resource in prefetch? | ||
| [2009/04/30 17:42:58] <lak> yes, it should be | ||
| [2009/04/30 17:43:09] <lak> i think no one used that method so it got dropped | ||
| [2009/04/30 17:43:20] <lak> at least, it wasn't being used internally any more | ||
| [2009/04/30 17:52:55] <ckm> pastie: url | ||
| [2009/04/30 17:53:43] <pastie> http://pastie.org/464462 by ckm. | ||
| [2009/04/30 17:54:26] <ckm> so given that pastebin, is there a way to remove the whitespace in front of the printed line while maintaining the whitespace in the template? | ||
| [2009/04/30 17:55:01] * lak just switched redmine to display the full username rather than the nick | ||
| [2009/04/30 17:55:13] <ckm> I know <%- or -%> will take care of it for general ruby statements but something like <%-= or <%=- doesn't work | ||
| [2009/04/30 17:55:28] <Volcane> ckm: I just put spaces inside the < > to do indention | ||
| [2009/04/30 17:55:37] <ckm> is the only alternative <%- puts foo %> | ||
| [2009/04/30 17:55:51] <ckm> Volcane: not sure I follow you there | ||
| [2009/04/30 17:56:14] <Volcane> line 2 would become "<%= foo %>" | ||
| [2009/04/30 17:56:20] <Volcane> ugly, but you can see stuff indented :P | ||
| [2009/04/30 17:56:32] <Volcane> without ugly whitespace in the result | ||
| [2009/04/30 17:57:33] @ Quit: seph_: | ||
| [2009/04/30 18:00:42] <ckm> hmm | ||
| [2009/04/30 18:00:48] <ckm> yes it is ugly ;) | ||
| [2009/04/30 18:01:08] <Volcane> best i could find though, with nested loops or whatever it works fine | ||
| [2009/04/30 18:01:59] @ ttilley left channel #puppet () | ||
| [2009/04/30 18:02:49] <ckm> hmm even using puts doesn't work (ends up not in the template) | ||
| [2009/04/30 18:09:26] <Djelibeybi> Is the reductivelabs.com site down? | ||
| [2009/04/30 18:09:31] <Djelibeybi> nvm, it's back now! | ||
| [2009/04/30 18:13:13] @ Quit: claymation: Read error: 104 (Connection reset by peer) | ||
| [2009/04/30 18:13:20] @ claymation joined channel #puppet | ||
| [2009/04/30 18:17:39] @ Quit: bla-bla: "http://www.mibbit.com ajax IRC Client" | ||
| [2009/04/30 18:17:46] @ mikepea joined channel #puppet | ||
| [2009/04/30 18:19:15] @ madrescher joined channel #puppet | ||
| [2009/04/30 18:26:25] <jhulten> 0.24.5 queries a 0.24.8 server in my environment perfectly... At least long enough to upgrade the puppet client via gem... Takes a while though... rdoc and such... | ||
| [2009/04/30 18:30:15] <agaffney> is it relatively safe to do something like: package { puppet: ensure => "latest" }? | ||
| [2009/04/30 18:30:58] <agaffney> all my boxes are centos and get puppet from epel | ||
| [2009/04/30 18:31:43] <Djelibeybi> Is this a valid use of case: http://pastie.org/464515 | ||
| [2009/04/30 18:31:46] @ Demosthenes joined channel #puppet | ||
| [2009/04/30 18:31:51] <Djelibeybi> I want to build the appropriate yumrepo URLs | ||
| [2009/04/30 18:32:12] @ tek-ops joined channel #puppet | ||
| [2009/04/30 18:32:50] <agaffney> Djelibeybi: well, does it work? if it does, it's valid :P | ||
| [2009/04/30 18:33:52] <tek-ops> when did puppetd lose the ability to support --environment and --environments ? | ||
| [2009/04/30 18:34:12] <Volcane> both work, --environments is not needed anymore | ||
| [2009/04/30 18:34:22] <tek-ops> ah | ||
| [2009/04/30 18:34:39] <Djelibeybi> agaffney: yes, I figured someone would say that. :) I'm testing it now. :) | ||
| [2009/04/30 18:34:44] <tek-ops> actually, it fails with --environments | ||
| [2009/04/30 18:35:09] <Volcane> Djelibeybi: you can run puppet code using just hte 'puppet' command, saves having to go via the master to do simple tests | ||
| [2009/04/30 18:36:01] <Volcane> ah, must have been totally removed then in 0.24.8, i think it was just deprecated for a while then | ||
| [2009/04/30 18:36:27] <Djelibeybi> Volcane: ah, thanks. | ||
| [2009/04/30 18:36:46] <tek-ops> 0.24.7 does at least | ||
| [2009/04/30 18:40:22] <agaffney> is there any "feedback" mechanism in puppet? for example, if an 'exec' fails on a client, does that get reported back to the server? | ||
| [2009/04/30 18:40:24] <Volcane> yeah, well cant say its missed or anything :P | ||
| [2009/04/30 18:40:37] <bevans5446> Is there a way to get puppet to transfer all the files in the directory without actually managin the directory its self? | ||
| [2009/04/30 18:40:42] <Volcane> agaffney: set up reporting, search the wiki, you can get logs on the server or mails etc | ||
| [2009/04/30 18:41:01] <agaffney> I got the "pulling strings with puppet" book today | ||
| [2009/04/30 18:41:10] <agaffney> I'm going to read it over the weekend :P | ||
| [2009/04/30 18:41:13] <Volcane> it covers tagmail i think | ||
| [2009/04/30 18:41:49] <agaffney> http://reductivelabs.com/trac/puppet/wiki/ReportsAndReporting | ||
| [2009/04/30 18:41:54] <agaffney> I assume that's what you were talking about in the wiki | ||
| [2009/04/30 18:42:13] <Volcane> yeah | ||
| [2009/04/30 18:42:28] <Volcane> i wrote some shitty php to view them http://www.devco.net/pubwiki/Puppet/PuppetView | ||
| [2009/04/30 18:44:07] <agaffney> I'm sure I can do my own shitty bash, perl, php, or python :P | ||
| [2009/04/30 18:44:34] @ axisys joined channel #puppet | ||
| [2009/04/30 18:47:38] @ mikepea_ joined channel #puppet | ||
| [2009/04/30 18:48:23] <Djelibeybi> Ok, I'm stumped. | ||
| [2009/04/30 18:48:43] <Djelibeybi> Anyone want to guess why $repo_name in http://pastie.org/464515 returns blank? | ||
| [2009/04/30 18:48:58] <Djelibeybi> The yumrepo type actually creates a .repo file. | ||
| [2009/04/30 18:49:33] <Djelibeybi> However, the baseurl in the .repo is actually correct, so the variables are expanded at that point | ||
| [2009/04/30 18:50:03] <Volcane> how should it know if you mean | ||
| [2009/04/30 18:50:22] <Volcane> $operatingsys and the string temrelease_base or maybe $operatingsystemrelease and the string _base? | ||
| [2009/04/30 18:50:25] @ Quit: tek-ops: "Ex-Chat" | ||
| [2009/04/30 18:50:43] @ Quit: ckm: "Leaving" | ||
| [2009/04/30 18:50:44] <Volcane> like shell scripts, you need to help it along a bit | ||
| [2009/04/30 18:50:48] <Djelibeybi> Volcane: except the baseurl line expands fine | ||
| [2009/04/30 18:50:51] <Volcane> "${foo}_${bar}_etc" | ||
| [2009/04/30 18:50:56] <Djelibeybi> Oooh | ||
| [2009/04/30 18:51:49] <Djelibeybi> Volcane: thanks a bunch! | ||
| [2009/04/30 18:53:44] @ Quit: flakrat: "Leaving" | ||
| [2009/04/30 18:55:42] @ Quit: ghenry: Remote closed the connection | ||
| [2009/04/30 18:55:47] @ Quit: dzollinger: "Leaving." | ||
| [2009/04/30 18:57:10] <gepetto> ::trac:: Writing Your Own Functions edited by dzollinger @ http://reductivelabs.com/trac/puppet/wiki/WritingYourOwnFunctions (by daniel.zollinger@gmail.com) | ||
| [2009/04/30 19:03:24] @ WALoeIII joined channel #puppet | ||
| [2009/04/30 19:04:42] @ Quit: gaveen: Read error: 110 (Connection timed out) | ||
| [2009/04/30 19:06:06] @ quit (okay bye) | ||
| [2009/04/30 19:06:55] @ Joined channel #puppet | ||
| [2009/04/30 19:06:55] @ Topic is "Puppet 0.24.8 released! http://tinyurl.com/cv2tq2 | Tickets, bugs and features at http://tinyurl.com/46ryk7" | ||
| [2009/04/30 19:06:55] @ Topic set by jamesturnbull on Mon Mar 23 07:50:35 -0400 2009 | ||
| [2009/04/30 19:07:05] @ Mode +tnc by brown.freenode.net | ||
| [2009/04/30 19:07:31] @ Quit: bobbyz: Read error: 110 (Connection timed out) | ||
| [2009/04/30 19:11:37] @ Quit: mikepea: Read error: 110 (Connection timed out) | ||
| [2009/04/30 19:12:23] @ Quit: lak: | ||
| [2009/04/30 19:15:09] @ Quit: keithlard: | ||
| [2009/04/30 19:16:09] @ keithlard joined channel #puppet | ||
| [2009/04/30 19:21:21] @ Quit: mikepea_: Read error: 110 (Connection timed out) | ||
| [2009/04/30 19:29:50] @ PhabX joined channel #puppet | ||
| [2009/04/30 19:29:50] @ Quit: PhabX: Client Quit | ||
| [2009/04/30 19:30:09] @ kolla joined channel #puppet | ||
| [2009/04/30 19:34:15] @ Quit: bevans5446: | ||
| [2009/04/30 19:40:31] @ bevans5446 joined channel #puppet | ||
| [2009/04/30 19:40:55] @ ezmob joined channel #puppet | ||
| [2009/04/30 19:45:29] @ Quit: Demosthenes: Read error: 113 (No route to host) | ||
| [2009/04/30 19:46:53] @ Quit: edwardam: Remote closed the connection | ||
| [2009/04/30 19:50:09] @ Quit: d3vilb0x: | ||
| [2009/04/30 19:52:49] @ Quit: cwebber: | ||
| [2009/04/30 19:53:39] @ Quit: axisys: brown.freenode.net irc.freenode.net | ||
| [2009/04/30 19:53:39] @ Quit: andrewcshafer: brown.freenode.net irc.freenode.net | ||
| [2009/04/30 19:53:40] @ Quit: machpo: brown.freenode.net irc.freenode.net | ||
| [2009/04/30 19:53:41] @ Quit: Superfly_: brown.freenode.net irc.freenode.net | ||
| [2009/04/30 19:53:41] @ Quit: hamish: brown.freenode.net irc.freenode.net | ||
| [2009/04/30 19:53:42] @ Quit: spheromak: brown.freenode.net irc.freenode.net | ||
| [2009/04/30 19:53:42] @ Quit: LapTop006: brown.freenode.net irc.freenode.net | ||
| [2009/04/30 19:53:42] @ Quit: CompBrain: brown.freenode.net irc.freenode.net | ||
| [2009/04/30 19:53:43] @ Quit: thijso: brown.freenode.net irc.freenode.net | ||
| [2009/04/30 19:53:43] @ Quit: vinci: brown.freenode.net irc.freenode.net | ||
| [2009/04/30 19:53:43] @ Quit: stick: brown.freenode.net irc.freenode.net | ||
| [2009/04/30 19:53:44] @ Quit: gaveen: brown.freenode.net irc.freenode.net | ||
| [2009/04/30 19:53:44] @ Quit: bolt: brown.freenode.net irc.freenode.net | ||
| [2009/04/30 19:53:44] @ Quit: randybias: brown.freenode.net irc.freenode.net | ||
| [2009/04/30 19:53:45] @ Quit: londo: brown.freenode.net irc.freenode.net | ||
| [2009/04/30 19:53:45] @ Quit: happymcplaksin: brown.freenode.net irc.freenode.net | ||
| [2009/04/30 19:53:45] @ Quit: fsweetser: brown.freenode.net irc.freenode.net | ||
| [2009/04/30 19:53:45] @ Quit: euph: brown.freenode.net irc.freenode.net | ||
| [2009/04/30 19:53:46] @ Quit: lurbs: brown.freenode.net irc.freenode.net | ||
| [2009/04/30 19:53:46] @ Quit: euclid: brown.freenode.net irc.freenode.net | ||
| [2009/04/30 19:53:46] @ Quit: ashp: brown.freenode.net irc.freenode.net | ||
| [2009/04/30 19:53:47] @ Quit: SyTonnerre: brown.freenode.net irc.freenode.net | ||
| [2009/04/30 19:53:47] @ Quit: Djelibeybi: brown.freenode.net irc.freenode.net | ||
| [2009/04/30 19:53:47] @ Quit: nmalik: brown.freenode.net irc.freenode.net | ||
| [2009/04/30 19:53:48] @ Quit: joe-mac: brown.freenode.net irc.freenode.net | ||
| [2009/04/30 19:53:48] @ Quit: gstratton: brown.freenode.net irc.freenode.net | ||
| [2009/04/30 19:53:48] @ Quit: phips: brown.freenode.net irc.freenode.net | ||
| [2009/04/30 19:53:48] @ Quit: astinus: brown.freenode.net irc.freenode.net | ||
| [2009/04/30 19:53:48] @ Quit: nearthal: brown.freenode.net irc.freenode.net | ||
| [2009/04/30 19:53:49] @ Quit: omry: brown.freenode.net irc.freenode.net | ||
| [2009/04/30 19:53:49] @ Quit: bda: brown.freenode.net irc.freenode.net | ||
| [2009/04/30 19:53:49] @ Quit: mellen: brown.freenode.net irc.freenode.net | ||
| [2009/04/30 19:53:49] @ Quit: authentic: brown.freenode.net irc.freenode.net | ||
| [2009/04/30 19:53:50] @ Quit: macbar: brown.freenode.net irc.freenode.net | ||
| [2009/04/30 19:54:30] @ axisys joined channel #puppet | ||
| [2009/04/30 19:54:30] @ andrewcshafer joined channel #puppet | ||
| [2009/04/30 19:54:30] @ machpo joined channel #puppet | ||
| [2009/04/30 19:54:30] @ vinci joined channel #puppet | ||
| [2009/04/30 19:54:30] @ stick joined channel #puppet | ||
| [2009/04/30 19:54:30] @ thijso joined channel #puppet | ||
| [2009/04/30 19:54:30] @ LapTop006 joined channel #puppet | ||
| [2009/04/30 19:54:30] @ Superfly_ joined channel #puppet | ||
| [2009/04/30 19:54:30] @ spheromak joined channel #puppet | ||
| [2009/04/30 19:54:30] @ hamish joined channel #puppet | ||
| [2009/04/30 19:54:30] @ CompBrain joined channel #puppet | ||
| [2009/04/30 19:54:51] @ Djelibeybi joined channel #puppet | ||
| [2009/04/30 19:54:51] @ joe-mac joined channel #puppet | ||
| [2009/04/30 19:54:51] @ nmalik joined channel #puppet | ||
| [2009/04/30 19:54:51] @ gstratton joined channel #puppet | ||
| [2009/04/30 19:54:51] @ phips joined channel #puppet | ||
| [2009/04/30 19:54:51] @ astinus joined channel #puppet | ||
| [2009/04/30 19:54:51] @ nearthal joined channel #puppet | ||
| [2009/04/30 19:54:51] @ omry joined channel #puppet | ||
| [2009/04/30 19:54:51] @ bda joined channel #puppet | ||
| [2009/04/30 19:54:51] @ mellen joined channel #puppet | ||
| [2009/04/30 19:54:51] @ authentic joined channel #puppet | ||
| [2009/04/30 19:54:51] @ macbar joined channel #puppet | ||
| [2009/04/30 19:54:56] @ gaveen joined channel #puppet | ||
| [2009/04/30 19:54:56] @ bolt joined channel #puppet | ||
| [2009/04/30 19:54:56] @ randybias joined channel #puppet | ||
| [2009/04/30 19:54:56] @ londo joined channel #puppet | ||
| [2009/04/30 19:54:56] @ happymcplaksin joined channel #puppet | ||
| [2009/04/30 19:54:56] @ fsweetser joined channel #puppet | ||
| [2009/04/30 19:54:57] @ ashp joined channel #puppet | ||
| [2009/04/30 19:54:57] @ euph joined channel #puppet | ||
| [2009/04/30 19:54:57] @ lurbs joined channel #puppet | ||
| [2009/04/30 19:54:57] @ euclid joined channel #puppet | ||
| [2009/04/30 19:54:57] @ SyTonnerre joined channel #puppet | ||
| [2009/04/30 19:54:59] @ Quit: gaveen: SendQ exceeded | ||
| [2009/04/30 19:54:59] @ Quit: bolt: SendQ exceeded | ||
| [2009/04/30 19:55:05] @ bolt joined channel #puppet | ||
| [2009/04/30 19:55:25] @ gaveen joined channel #puppet | ||
| [2009/04/30 20:04:47] @ Quit: axisys: "Lost terminal" | ||
| [2009/04/30 20:06:40] @ Quit: madrescher: "Leaving." | ||
| [2009/04/30 20:10:39] @ plathrop is now known as plathrop-away | ||
| [2009/04/30 20:12:22] @ Quit: punkcut: Nick collision from services. | ||
| [2009/04/30 20:12:23] @ punkcut1 joined channel #puppet | ||
| [2009/04/30 20:12:28] @ punkcut1 is now known as punkcut | ||
| [2009/04/30 20:13:36] @ Quit: ezmob: Read error: 60 (Operation timed out) | ||
| [2009/04/30 20:14:21] @ exothermc left channel #puppet () | ||
| [2009/04/30 20:21:24] @ Quit: keithlard: | ||
| [2009/04/30 20:21:59] @ oxtai928 joined channel #puppet | ||
| [2009/04/30 20:26:10] @ Quit: alfism: "Connection reset by beer" | ||
| [2009/04/30 20:32:19] @ sigmonsays_ joined channel #puppet | ||
| [2009/04/30 20:34:47] @ Quit: kingitchy_: | ||
| [2009/04/30 20:37:43] @ Quit: oxtail: Read error: 110 (Connection timed out) | ||
| [2009/04/30 20:39:21] @ d3vilb0x joined channel #puppet | ||
| [2009/04/30 20:39:53] <gepetto> ::trac:: Recipes/Zabbix Agent edited by sylvester_0 @ http://reductivelabs.com/trac/puppet/wiki/Recipes/ZabbixAgent | ||
| [2009/04/30 20:43:33] @ Quit: oxtai928: Read error: 110 (Connection timed out) | ||
| [2009/04/30 20:47:49] @ Quit: sigmonsays: Read error: 110 (Connection timed out) | ||
| [2009/04/30 20:54:23] @ mikepea joined channel #puppet | ||
| [2009/04/30 20:54:39] @ Quit: mikepea: Read error: 104 (Connection reset by peer) | ||
| [2009/04/30 20:57:10] @ Quit: andrewcshafer: Read error: 113 (No route to host) | ||
| [2009/04/30 21:13:27] @ Quit: jtimberman: "Quitters never win [at irc]." | ||
| [2009/04/30 21:14:40] @ randybias is now known as randybias|away | ||
| [2009/04/30 21:15:21] @ fujin joined channel #puppet | ||
| [2009/04/30 21:19:58] @ axisys joined channel #puppet | ||
| [2009/04/30 21:27:28] @ randybias|away is now known as randybias | ||
| [2009/04/30 21:32:47] @ Quit: WALoeIII: Read error: 113 (No route to host) | ||
| [2009/04/30 21:35:45] @ sigmonsays_ is now known as sigmonsays | ||
| [2009/04/30 21:38:18] <dixond> can someone enlighten me as to what the 'filebucket' is, and therefore what this line is about? filebucket { main: server => puppet } | ||
| [2009/04/30 21:38:40] <Djelibeybi> dixond: the file bucket is where files go when they are replaced by puppet master | ||
| [2009/04/30 21:38:59] <Djelibeybi> That line means that the default filebucket is the server named "puppet" | ||
| [2009/04/30 21:39:00] <dixond> replaced? | ||
| [2009/04/30 21:39:07] <dixond> *totally lost* | ||
| [2009/04/30 21:39:46] <Djelibeybi> dixond: you know about file resources? | ||
| [2009/04/30 21:40:43] <Djelibeybi> dixond: essentially, you can get puppet to control files on your servers. However, instead of just replacing a file, puppet saves the old version in the filebucket | ||
| [2009/04/30 21:40:47] <dixond> Djelibeybi: so far I've read language reference, basic puppet recipe, advanced puppet recipe, modules, plugins etc and I'm still as lost about some basic fundamentals as ever, but I think I understand what file resources are about :-/ | ||
| [2009/04/30 21:41:00] <Djelibeybi> So, if I define a file resource, like so: | ||
| [2009/04/30 21:41:32] <dixond> Djelibeybi: ok... so can I read up somewhere on what the operational parameters are for that? eg, will it archive multiple versions, etc? | ||
| [2009/04/30 21:41:43] <Djelibeybi> dixond: it will archive every non-compliant version | ||
| [2009/04/30 21:41:50] <Djelibeybi> gepetto: wiki filebucket | ||
| [2009/04/30 21:42:33] <Djelibeybi> Hmmm. gepetto is not being useful | ||
| [2009/04/30 21:42:42] <dixond> Djelibeybi: thanks for pointers :) | ||
| [2009/04/30 21:42:57] <Djelibeybi> dixond: filebucket shouldn't be considering a VCS though | ||
| [2009/04/30 21:43:23] <dixond> Djelibeybi: just like a 'last chance backstop' ? :) | ||
| [2009/04/30 21:43:23] <Djelibeybi> http://reductivelabs.com/trac/puppet/wiki/TypeReference#filebucket | ||
| [2009/04/30 21:43:30] <dixond> aha | ||
| [2009/04/30 21:43:36] <Djelibeybi> dixond: indeed. An "Oh, crap! I really needed that file!" | ||
| [2009/04/30 21:44:03] <Djelibeybi> As highlighted by the fact that manual retrieval is a) the only method and b) tedious. :) | ||
| [2009/04/30 21:44:22] <dixond> roger. | ||
| [2009/04/30 21:51:01] @ Quit: gaveen: Success | ||
| [2009/04/30 21:56:23] @ edwardam joined channel #puppet | ||
| [2009/04/30 22:03:01] @ WALoeIII joined channel #puppet | ||
| [2009/04/30 22:06:57] @ axisys_ joined channel #puppet | ||
| [2009/04/30 22:09:52] @ nakano_ is now known as nakano | ||
| [2009/04/30 22:17:11] @ Demosthenes joined channel #puppet | ||
| [2009/04/30 22:17:51] @ Quit: axisys: Connection timed out | ||
| [2009/04/30 22:20:15] @ Quit: Djelibeybi: "Leaving" | ||
| [2009/04/30 22:20:35] @ Djelibeybi joined channel #puppet | ||
| [2009/04/30 22:31:32] @ Quit: edwardam: Read error: 104 (Connection reset by peer) | ||
| [2009/04/30 22:32:51] @ Quit: Djelibeybi: "Leaving" | ||
| [2009/04/30 22:36:17] @ Quit: axisys_: Read error: 104 (Connection reset by peer) | ||
| [2009/04/30 22:37:24] @ axisys joined channel #puppet | ||
| [2009/04/30 22:46:47] @ edwardam joined channel #puppet | ||
| [2009/04/30 23:06:17] @ shake-n-bake joined channel #puppet | ||
| [2009/04/30 23:24:45] @ kingitchy joined channel #puppet | ||
| [2009/04/30 23:25:58] @ cwebber joined channel #puppet | ||
| [2009/04/30 23:33:45] @ Quit: fujin: | ||
| [2009/04/30 23:34:01] @ fujin joined channel #puppet | ||
| [2009/04/30 23:57:41] @ Quit: ivan: "Coyote finally caught me" | ||
| [2009/04/30 23:58:00] @ ivan joined channel #puppet |
Generated by irclog2html.py 2.6 by Marius Gedminas - find it at mg.pov.lt!