| [2009/06/12 00:02:00] @ Log started by gepetto | ||
| [2009/06/12 00:02:00] @ jhulten_home joined channel #puppet | ||
| [2009/06/12 00:02:50] @ Quit: pinoyskull: Read error: 54 (Connection reset by peer) | ||
| [2009/06/12 00:05:36] <axisys> jamesturnbull: heh may .. will there be a live webcast or even archive of the opensource bridge speak by luke on puppet ? | ||
| [2009/06/12 00:05:48] <axisys> s/may/man/ | ||
| [2009/06/12 00:09:14] @ drmikecrowe joined channel #puppet | ||
| [2009/06/12 00:10:22] @ Quit: jhulten_home: | ||
| [2009/06/12 00:10:26] <lak> axisys: i don't have a separate talk, i'm just on jamesturnbull's panel | ||
| [2009/06/12 00:11:41] <drmikecrowe> hey folks, on fresh machine, trying to install puppet via gems. Is there something special I need to do? I'm just "gem install puppet* facter*" ... | ||
| [2009/06/12 00:15:06] @ Quit: Julien___: "Lost terminal" | ||
| [2009/06/12 00:16:02] @ Quit: D-CoDe: "Leaving." | ||
| [2009/06/12 00:18:05] @ Quit: nmalik: Read error: 104 (Connection reset by peer) | ||
| [2009/06/12 00:18:25] @ nmalik joined channel #puppet | ||
| [2009/06/12 00:19:17] <drmikecrowe> nm, found 24.8 in backports | ||
| [2009/06/12 00:24:19] <jamesturnbull> axisys: no idea if they are taping things | ||
| [2009/06/12 00:25:23] @ pearcec joined channel #puppet | ||
| [2009/06/12 00:25:25] @ Quit: pearcec1: Read error: 104 (Connection reset by peer) | ||
| [2009/06/12 00:25:28] @ Quit: WALoeIII: | ||
| [2009/06/12 00:31:16] @ jhulten_home joined channel #puppet | ||
| [2009/06/12 00:33:28] @ Quit: matty: | ||
| [2009/06/12 00:37:36] @ D-CoDe joined channel #puppet | ||
| [2009/06/12 00:43:13] @ Quit: PhabX: "Leaving..." | ||
| [2009/06/12 00:46:41] @ walterheck joined channel #puppet | ||
| [2009/06/12 00:48:31] @ Quit: walterheck: Read error: 104 (Connection reset by peer) | ||
| [2009/06/12 00:48:32] @ walterheck1 joined channel #puppet | ||
| [2009/06/12 00:48:42] @ walterheck1 is now known as walterheck | ||
| [2009/06/12 00:56:25] @ edmondlo joined channel #puppet | ||
| [2009/06/12 01:05:01] @ andrewcshafer joined channel #puppet | ||
| [2009/06/12 01:20:52] @ Quit: lak: | ||
| [2009/06/12 01:35:05] @ Quit: edmondlo: Read error: 110 (Connection timed out) | ||
| [2009/06/12 01:51:27] @ ezmob joined channel #puppet | ||
| [2009/06/12 01:59:10] @ saurabhverma joined channel #puppet | ||
| [2009/06/12 02:00:50] @ Quit: saurabhverma: Client Quit | ||
| [2009/06/12 02:01:36] @ saurabhverma joined channel #puppet | ||
| [2009/06/12 02:07:19] @ DavidS joined channel #puppet | ||
| [2009/06/12 02:10:07] @ Quit: Djelibeybi: "Leaving" | ||
| [2009/06/12 02:10:17] @ DavidS1 joined channel #puppet | ||
| [2009/06/12 02:18:09] @ mfournier joined channel #puppet | ||
| [2009/06/12 02:21:30] @ edmondlo joined channel #puppet | ||
| [2009/06/12 02:23:39] @ Quit: saurabhverma: Client Quit | ||
| [2009/06/12 02:25:11] @ mattock joined channel #puppet | ||
| [2009/06/12 02:30:35] @ Quit: DavidS: Read error: 110 (Connection timed out) | ||
| [2009/06/12 02:30:57] @ Quit: fbe: Read error: 110 (Connection timed out) | ||
| [2009/06/12 02:32:19] @ kolla joined channel #puppet | ||
| [2009/06/12 02:33:10] @ Quit: walterheck: "Leaving." | ||
| [2009/06/12 02:34:51] @ sheldonh joined channel #puppet | ||
| [2009/06/12 02:35:05] @ ctso joined channel #puppet | ||
| [2009/06/12 02:55:40] @ francois joined channel #puppet | ||
| [2009/06/12 02:58:40] @ Innocenti joined channel #puppet | ||
| [2009/06/12 03:04:32] @ Quit: edmondlo: Read error: 110 (Connection timed out) | ||
| [2009/06/12 03:04:58] @ DavidS1 is now known as DavidS | ||
| [2009/06/12 03:06:06] @ Quit: QMan: | ||
| [2009/06/12 03:09:46] @ MattyM joined channel #puppet | ||
| [2009/06/12 03:12:09] @ Quit: jhulten_home: | ||
| [2009/06/12 03:23:27] @ Quit: D-CoDe: "Leaving." | ||
| [2009/06/12 03:36:50] @ Innocent1 joined channel #puppet | ||
| [2009/06/12 03:38:33] @ Quit: MattyM: Read error: 110 (Connection timed out) | ||
| [2009/06/12 03:38:48] @ Quit: Innocenti: Client Quit | ||
| [2009/06/12 03:38:54] @ Quit: Innocent1: Client Quit | ||
| [2009/06/12 03:41:31] @ Innocenti joined channel #puppet | ||
| [2009/06/12 03:44:09] @ MattyM joined channel #puppet | ||
| [2009/06/12 03:46:38] @ Welsh_Dwarf joined channel #puppet | ||
| [2009/06/12 03:54:17] @ Quit: poison: Remote closed the connection | ||
| [2009/06/12 03:55:06] @ alex_ joined channel #puppet | ||
| [2009/06/12 03:56:28] @ Quit: ezmob: | ||
| [2009/06/12 04:04:39] <Tonnerre> Hm, how can the file statement of puppet be kept from creating a hardlink? | ||
| [2009/06/12 04:04:55] <Tonnerre> puppet is now quarreling with itself about permissions of an SSL certificate | ||
| [2009/06/12 04:05:00] <Tonnerre> Because it created a hardlink | ||
| [2009/06/12 04:05:09] <Tonnerre> I'd want it to create a copy | ||
| [2009/06/12 04:07:37] @ HarryCalahan joined channel #puppet | ||
| [2009/06/12 04:07:54] <DavidS> Tonnerre: puppet should never create hardlinks ?! | ||
| [2009/06/12 04:08:02] <Tonnerre> DavidS, apparently it did | ||
| [2009/06/12 04:08:06] <DavidS> o_O | ||
| [2009/06/12 04:08:49] <Volcane> never seen it do hardlinks, didnt know it could :) | ||
| [2009/06/12 04:08:59] <Volcane> maybe if you recurse copied a dir with them, even then i doubt it | ||
| [2009/06/12 04:09:03] <Tonnerre> I have file { "/etc/ssl/certs/bla.pem": ensure => present, owner => 'root', group => 'www', mode => 0440, source => '/etc/ssl/certs/other.pem', require => ... } | ||
| [2009/06/12 04:09:15] <Tonnerre> That creates a hardlink | ||
| [2009/06/12 04:09:30] <Volcane> heh | ||
| [2009/06/12 04:09:38] <Volcane> undocumented then | ||
| [2009/06/12 04:09:53] <Volcane> why not make a symlink? | ||
| [2009/06/12 04:10:05] <Tonnerre> Volcane, because I want the two files to have different groups | ||
| [2009/06/12 04:10:24] <Volcane> well then you need to copy it twice from the master | ||
| [2009/06/12 04:10:30] @ thegcat joined channel #puppet | ||
| [2009/06/12 04:10:35] <Volcane> not try to source it on the node | ||
| [2009/06/12 04:10:47] <Tonnerre> Volcane, the file has been created on the host, it has never seen the master | ||
| [2009/06/12 04:11:09] @ m6d4 left channel #puppet () | ||
| [2009/06/12 04:11:46] <Tonnerre> I don't usually copy SSL private keys around much | ||
| [2009/06/12 04:12:20] <Tonnerre> Ok, I could copy the cert, but I only do that for publically signed certs, this is a test installation with an autogenerated self-signed one | ||
| [2009/06/12 04:12:30] <Tonnerre> But that would still not solve the problem for the private keys | ||
| [2009/06/12 04:12:44] <Volcane> nods, i think it hsould be making a copy not a link | ||
| [2009/06/12 04:13:18] <Volcane> mine makes copies | ||
| [2009/06/12 04:13:35] <sheldonh> Volcane: the more i think about it, the more i think it's important to move toward what you were saying, where we _don't_ need augeas, and should do so as a priority | ||
| [2009/06/12 04:13:45] <Volcane> anyway, hardlinks can have multiple owners/modes | ||
| [2009/06/12 04:13:50] <Volcane> sheldonh: hehe, its evil for sure | ||
| [2009/06/12 04:13:53] <sheldonh> Volcane: time to start punting md5 checksums for config files into facts, so we can see how different they are | ||
| [2009/06/12 04:14:04] <Tonnerre> Volcane, apparently not | ||
| [2009/06/12 04:14:43] <Tonnerre> Volcane, the rule for /etc/ssl/certs/bla.pem always changes groupship to www and the one for /etc/ssl/certs/other.pem changes it back to ssl-cert | ||
| [2009/06/12 04:14:52] * Volcane tries | ||
| [2009/06/12 04:16:41] <Volcane> Tonnerre: http://pastie.org/509417 | ||
| [2009/06/12 04:17:32] @ Djelibeybi joined channel #puppet | ||
| [2009/06/12 04:17:47] <Volcane> sheldonh: there are many cases where its good for sure, but if your goal is consistancy or predictability, then you need to avoid it like the plague | ||
| [2009/06/12 04:17:48] <Tonnerre> Volcane, what does stat say about these files? | ||
| [2009/06/12 04:17:56] <Tonnerre> Do they have differing inodes? | ||
| [2009/06/12 04:18:36] <Volcane> Tonnerre: reload pastie | ||
| [2009/06/12 04:19:04] <Tonnerre> Hm, odd | ||
| [2009/06/12 04:20:50] @ pleemans joined channel #puppet | ||
| [2009/06/12 04:20:57] <Volcane> Tonnerre: linux machine? | ||
| [2009/06/12 04:21:34] <sheldonh> Volcane: the problem is, there are cases where it's appropriate and useful. but once it's available, it'll be abused | ||
| [2009/06/12 04:22:25] <Volcane> sheldonh: yeah thats my main gripe with it being a requirement on the EPEL RPMs, conceptually i dont want it used in puppet its counter my goals, but it could be useful sometimes, but how do you prevent the abuse, would rather just not have it | ||
| [2009/06/12 04:22:51] @ poison joined channel #puppet | ||
| [2009/06/12 04:24:36] <sheldonh> Volcane: find a way for puppet to cripple it :) | ||
| [2009/06/12 04:24:48] @ fbe joined channel #puppet | ||
| [2009/06/12 04:25:07] <Volcane> sheldonh: file{"/usr/lib/ruby/site_ruby/1.8/puppet/provider/augeas/augeas.rb": ensure => absent} :) | ||
| [2009/06/12 04:26:08] @ Quit: jmeeuwen: Read error: 60 (Operation timed out) | ||
| [2009/06/12 04:26:53] <sheldonh> hehehe | ||
| [2009/06/12 04:27:03] <sheldonh> "thanks for playing" | ||
| [2009/06/12 04:33:57] <DavidS> sheldonh, Volcane: require every augeas usage be wrapped in a proper resource-oriented define. That way you can always replace it "easily" with a proper type later | ||
| [2009/06/12 04:34:54] <HarryCalahan> *wow*. first server down, second server down, one switch down. looks like someone is walkting through the datacenter pulling plugs. | ||
| [2009/06/12 04:36:07] <Volcane> DavidS: one thing to say 'do this' a whole different matter to get all admins to do it and new admins to know about all these little conventions | ||
| [2009/06/12 04:38:41] @ saurabhverma joined channel #puppet | ||
| [2009/06/12 04:39:07] @ verwilst joined channel #puppet | ||
| [2009/06/12 04:40:25] <Volcane> and simply wrapping it doesnt solve the problem | ||
| [2009/06/12 04:40:40] <Volcane> i dont want people to edit parts of files only | ||
| [2009/06/12 04:43:14] <Volcane> like say you're line hacking up some xml file, just changing one setting with some sed/awk/grep mess | ||
| [2009/06/12 04:43:24] <Volcane> and its a really important bit, but someone else disagrees | ||
| [2009/06/12 04:43:24] <Tonnerre> Volcane, yes, Linux | ||
| [2009/06/12 04:43:37] <Volcane> he logs in and slap a <!-- beofre and --> after your line | ||
| [2009/06/12 04:43:44] <Volcane> you're sleeping well thinking alls awesome | ||
| [2009/06/12 04:43:46] <Volcane> when its not | ||
| [2009/06/12 04:44:28] <DavidS> Volcane: I'd hope augeas'd be better than sed/awk/grep? | ||
| [2009/06/12 04:45:19] <sheldonh> Volcane: yeah, that's our problem. too many people who know too little | ||
| [2009/06/12 04:45:31] <DavidS> Volcane: are you generally against apache::setting{} style resources? | ||
| [2009/06/12 04:45:40] <Volcane> DavidS: still doesnt prevent someone from *adding* unmanaged bits to your files for example | ||
| [2009/06/12 04:46:01] <DavidS> Volcane: proper resources know "purge" :-P | ||
| [2009/06/12 04:46:08] <Volcane> DavidS: even if it was clever enough to spot something is commented out in that fashion | ||
| [2009/06/12 04:46:15] <DavidS> but i begin to get your point | ||
| [2009/06/12 04:46:19] <Volcane> DavidS: if you're purging all unmanaged parts of file, why use it? :) | ||
| [2009/06/12 04:46:27] <Volcane> DavidS: then you can just manage the whole file | ||
| [2009/06/12 04:46:31] <DavidS> true | ||
| [2009/06/12 04:46:33] <Volcane> minus the risk | ||
| [2009/06/12 04:47:05] <Volcane> DavidS: yeah against those apache::setting type stuff for same reasons | ||
| [2009/06/12 04:47:24] <DavidS> disallow root logins on puppet managed boxes | ||
| [2009/06/12 04:47:57] <Volcane> not always possible, devs for example deploy their own code etc and sometimes need sudo access to silly things like yum, or rpm | ||
| [2009/06/12 04:48:27] <Volcane> so even with sudo to those, if you're packaging your deploys and let ppl run rpm on a box or apt on a box then they can overwrite any file | ||
| [2009/06/12 04:48:59] <Volcane> even if its not malicious, they might just think hey, heres a bit of apache config that belongs to my app, surely i can just pop it out with my rpm into /etc/httpd/... | ||
| [2009/06/12 04:49:15] @ loquito_ joined channel #puppet | ||
| [2009/06/12 04:49:47] <loquito_> Is it possible to specify a local file within the package resource for a gem provider to install? | ||
| [2009/06/12 04:51:32] <sheldonh> :q:q | ||
| [2009/06/12 04:53:13] @ Quit: Djelibeybi: "Leaving" | ||
| [2009/06/12 04:53:32] @ mikepea joined channel #puppet | ||
| [2009/06/12 04:53:43] <DavidS> loquito_: If a URL is passed via source, then that URL is used as the remote gem repository; if a source is present but is not a valid URL, it will be interpreted as the path to a local gem file. | ||
| [2009/06/12 04:53:54] <DavidS> loquito_: see wiki:TypeReference#package | ||
| [2009/06/12 04:54:55] <gepetto> DavidS: loquito_: wiki:TypeReference is http://reductivelabs.com/trac/puppet/wiki/TypeReference | ||
| [2009/06/12 04:54:55] <loquito_> DavidS: Thanks | ||
| [2009/06/12 04:57:44] * Volcane heads to work | ||
| [2009/06/12 04:58:39] @ Quit: andrewcshafer: | ||
| [2009/06/12 05:01:12] <verwilst> i upgraded 1 client to 0.25.0beta1, and now i get the error: "err: Could not retrieve catalog from remote server: Server returned 405: Method Not Allowed" | ||
| [2009/06/12 05:01:15] <verwilst> any ideas? | ||
| [2009/06/12 05:01:24] <verwilst> does the server need to be 0.25 as well? | ||
| [2009/06/12 05:01:28] <Volcane> yes | ||
| [2009/06/12 05:01:32] <verwilst> damned :P | ||
| [2009/06/12 05:02:18] <DavidS> verwilst: puppet always upgrades the server first and clients later | ||
| [2009/06/12 05:02:46] <verwilst> i just wanted to try 0.25 to see if a bug is gone | ||
| [2009/06/12 05:03:31] @ francois left channel #puppet () | ||
| [2009/06/12 05:03:45] <verwilst> <% 0.upto(classes.nitems-1) do |id| %><%= classes[id] %><% end %> | ||
| [2009/06/12 05:03:50] <verwilst> this template actually | ||
| [2009/06/12 05:04:00] <verwilst> it constantly gives a different list of classes | ||
| [2009/06/12 05:04:05] @ nakano is now known as nakano_ | ||
| [2009/06/12 05:04:24] @ Quit: fbe: Remote closed the connection | ||
| [2009/06/12 05:04:26] <verwilst> causing some things not getting installed right away | ||
| [2009/06/12 05:04:31] <verwilst> or updated | ||
| [2009/06/12 05:04:42] <verwilst> until in the next run, some other classes are left out | ||
| [2009/06/12 05:05:16] <DavidS> verwilst: templates are expanded on the server anyways | ||
| [2009/06/12 05:05:24] <verwilst> hm | ||
| [2009/06/12 05:05:25] <verwilst> true | ||
| [2009/06/12 05:05:26] <verwilst> :) | ||
| [2009/06/12 05:14:04] @ Quit: pleemans: Read error: 110 (Connection timed out) | ||
| [2009/06/12 05:14:38] @ Quit: f3ew: "You can /quit any time you like, but you can never leave" | ||
| [2009/06/12 05:20:41] @ nico joined channel #puppet | ||
| [2009/06/12 05:31:13] @ Quit: ferd: Read error: 110 (Connection timed out) | ||
| [2009/06/12 05:32:14] @ glaw joined channel #puppet | ||
| [2009/06/12 05:36:45] @ Quit: ssm: Read error: 60 (Operation timed out) | ||
| [2009/06/12 05:38:43] @ Quit: poison: Remote closed the connection | ||
| [2009/06/12 05:40:03] @ ssm joined channel #puppet | ||
| [2009/06/12 05:40:08] <FiXion> I have added a sysctl provider | ||
| [2009/06/12 05:40:20] @ benoit1 joined channel #puppet | ||
| [2009/06/12 05:40:23] <FiXion> but on clients that haven't sync'ed up - they failed complaining there's no sysctl provider | ||
| [2009/06/12 05:40:25] @ pleemans joined channel #puppet | ||
| [2009/06/12 05:40:31] <FiXion> chicken'n'egg issue :) | ||
| [2009/06/12 05:40:48] <FiXion> can I check in the sysctl module for the availability of the sysctl provider? | ||
| [2009/06/12 05:40:54] <benoit1> I have a pb with external nodes. If I defined a class that doesn't exists in the external node, puppet doesn't fails | ||
| [2009/06/12 05:41:03] <benoit1> Is it normal ? | ||
| [2009/06/12 05:41:04] <FiXion> and just "notify" if it's not there - instead of the whole run failing | ||
| [2009/06/12 05:43:08] @ Quit: MattyM: "ta ta" | ||
| [2009/06/12 05:50:54] @ Innocent1 joined channel #puppet | ||
| [2009/06/12 06:01:37] @ abien joined channel #puppet | ||
| [2009/06/12 06:05:12] @ tim|macbook joined channel #puppet | ||
| [2009/06/12 06:06:11] @ poison joined channel #puppet | ||
| [2009/06/12 06:06:46] @ Quit: poison: Remote closed the connection | ||
| [2009/06/12 06:07:16] @ Quit: Innocenti: Read error: 110 (Connection timed out) | ||
| [2009/06/12 06:08:51] @ poison joined channel #puppet | ||
| [2009/06/12 06:13:13] @ Quit: pleemans: Read error: 110 (Connection timed out) | ||
| [2009/06/12 06:15:37] <DavidS> FiXion: use pluginsync | ||
| [2009/06/12 06:16:00] <DavidS> pluginsync happens before the configuration is transmitted | ||
| [2009/06/12 06:16:40] @ nakano_ is now known as nakano | ||
| [2009/06/12 06:16:41] <DavidS> benoit1: what's a pb? and i didn't understand your second sentence at all :-( | ||
| [2009/06/12 06:16:51] <FiXion> DavidS: I am | ||
| [2009/06/12 06:17:22] <FiXion> DavidS: but even when it has pushed the files to /var/lib/puppet/lib/provider/sysctl - it still complains :( | ||
| [2009/06/12 06:17:24] <DavidS> FiXion: can you please pastie the whole output of a failing puppetd with --test? | ||
| [2009/06/12 06:17:26] <FiXion> so something else is wrong | ||
| [2009/06/12 06:18:33] @ f3ew joined channel #puppet | ||
| [2009/06/12 06:18:39] <FiXion> DavidS: http://pastebin.com/m44ee9f55 | ||
| [2009/06/12 06:19:31] <FiXion> DavidS: and my puppetconf http://pastie.org/509498 | ||
| [2009/06/12 06:20:12] <FiXion> the sysctl provider etc. are from http://spook.wpi.edu/sysctl - v0.2 | ||
| [2009/06/12 06:20:15] <abien> Greetings. I have recently started to familiarize myself with puppet. I am at the point where actions from different modules seem to clash with each other. Id like one modules to finish running completely before another modules kicks in. (how) can this be done? | ||
| [2009/06/12 06:20:18] <DavidS> that error is coming from your puppetmaster: he's complaining that he cannot compile your manifest | ||
| [2009/06/12 06:20:42] <FiXion> DavidS: but shouldn't it get the plugin as well ? | ||
| [2009/06/12 06:21:01] <FiXion> DavidS: I've put it in modules/pluginsync/provider/.. | ||
| [2009/06/12 06:21:06] <FiXion> and type/.. | ||
| [2009/06/12 06:21:34] <DavidS> FiXion: i don'T think that puppetmaster is loading ruby code from the modulepath | ||
| [2009/06/12 06:21:56] <DavidS> abien: add appropriate require statements | ||
| [2009/06/12 06:22:11] <FiXion> DavidS: do I need to include the pluginsync module in my manifests.pp ? | ||
| [2009/06/12 06:22:22] <FiXion> manifests/templates.pp | ||
| [2009/06/12 06:22:30] <FiXion> was what I meant :) | ||
| [2009/06/12 06:23:14] <DavidS> FiXion: there is no "pluginsync module" | ||
| [2009/06/12 06:23:46] <FiXion> DavidS: I just created a module named that :) | ||
| [2009/06/12 06:24:11] <FiXion> I've tried moving the plugins/provider and plugins/type to the sysctl module | ||
| [2009/06/12 06:24:14] <FiXion> same error | ||
| [2009/06/12 06:24:30] <FiXion> I use my pluginsync module to distribute my own facts - works like a charm | ||
| [2009/06/12 06:24:37] @ Quit: justindossey: Read error: 110 (Connection timed out) | ||
| [2009/06/12 06:27:03] @ Quit: Innocent1: Client Quit | ||
| [2009/06/12 06:27:15] @ Innocenti joined channel #puppet | ||
| [2009/06/12 06:28:23] @ Quit: glaw: Remote closed the connection | ||
| [2009/06/12 06:28:38] <abien> DavidS: Can the succesful run of a class be a requirement? The class is dynamic, it does different things on different systems so i cant just require a static file or something. | ||
| [2009/06/12 06:29:28] <sheldonh> i think you can say that some resources create something, and then subscribe to that | ||
| [2009/06/12 06:29:35] <sheldonh> i know this is the case with exec | ||
| [2009/06/12 06:29:55] <sheldonh> well, i know you can say that exec creates something. the suscription end of it i haven't done, but it seems feasible | ||
| [2009/06/12 06:31:36] <jamesturnbull> sheldonh: interestingly 0.25.0 will add a 'require' function that allows you to "include" a class but have it run before the class that includes it | ||
| [2009/06/12 06:32:17] <sheldonh> stunning | ||
| [2009/06/12 06:33:52] <FiXion> DavidS: I ran -t with --debug : http://pastie.org/509510 | ||
| [2009/06/12 06:34:03] <FiXion> shouldn't it mention anything about loading the sysctl type ? | ||
| [2009/06/12 06:35:29] <DavidS> abien: require => Class['classname'] | ||
| [2009/06/12 06:35:43] @ Quit: maxagaz: "Leaving" | ||
| [2009/06/12 06:35:47] <DavidS> FiXion: the sysctl type has to placed into your ruby lib dir on the puppetmaster | ||
| [2009/06/12 06:36:04] <FiXion> found it | ||
| [2009/06/12 06:36:05] <DavidS> lunch& | ||
| [2009/06/12 06:36:12] <FiXion> it has to be in a puppet subdir it seems | ||
| [2009/06/12 06:37:08] <FiXion> voila - success :) | ||
| [2009/06/12 06:37:24] <FiXion> DavidS: it doesn't seem to require it on the puppetmaster | ||
| [2009/06/12 06:38:11] <jamesturnbull> FiXion: yeah - /etc/puppet/modules/custom/plugins/puppet/type | ||
| [2009/06/12 06:38:26] <jamesturnbull> FiXion: or /etc/puppet/modules/custom/plugins/puppet/provider | ||
| [2009/06/12 06:38:38] <jamesturnbull> FiXion: wiki:PluginsInModules | ||
| [2009/06/12 06:38:40] <gepetto> jamesturnbull: FiXion: wiki:PluginsInModules is http://reductivelabs.com/trac/puppet/wiki/PluginsInModules | ||
| [2009/06/12 06:48:03] <FiXion> jamesturnbull: yes - saw it in PluginsInModules :) | ||
| [2009/06/12 06:49:57] @ Quit: loquito_: Read error: 113 (No route to host) | ||
| [2009/06/12 06:50:23] @ loquito_ joined channel #puppet | ||
| [2009/06/12 06:51:57] @ Quit: Hikah: Remote closed the connection | ||
| [2009/06/12 06:55:48] @ Quit: loquito_: "Ex-Chat" | ||
| [2009/06/12 06:56:37] @ madrescher joined channel #puppet | ||
| [2009/06/12 07:00:47] @ Zirafarafa joined channel #puppet | ||
| [2009/06/12 07:01:14] @ penthief joined channel #puppet | ||
| [2009/06/12 07:03:28] <penthief> Is there a way of setting default values on a class level? class a { File { user => 'aUser' }} class b { File { user => 'bUser' }} | ||
| [2009/06/12 07:05:56] <jamesturnbull> penthief: yes - defaults only aply to the scope they are in | ||
| [2009/06/12 07:06:40] <jamesturnbull> penthief: so setting one in site.pp sets it in the main scope - setting into it a class override the main scope for that classes' scope | ||
| [2009/06/12 07:08:05] <DavidS> jamesturnbull: thanks for voicing in on Arnau's problem... | ||
| [2009/06/12 07:08:12] @ Quit: madrescher: "Leaving." | ||
| [2009/06/12 07:08:24] @ Hikah joined channel #puppet | ||
| [2009/06/12 07:08:55] <DavidS> FiXion: does the puppetmaster now load the plugin directly from the modulepath? | ||
| [2009/06/12 07:09:24] <jamesturnbull> DavidS: yeah - I am always interested in people doing testing | ||
| [2009/06/12 07:10:06] <penthief> jamesturnbull: Thanks. | ||
| [2009/06/12 07:10:19] @ Quit: penthief: "Leaving" | ||
| [2009/06/12 07:11:25] @ Quit: sheldonh: Read error: 60 (Operation timed out) | ||
| [2009/06/12 07:14:51] @ Quit: Hikah: Remote closed the connection | ||
| [2009/06/12 07:19:22] @ pleemans joined channel #puppet | ||
| [2009/06/12 07:23:10] @ Hikah joined channel #puppet | ||
| [2009/06/12 07:24:32] @ sheldonh joined channel #puppet | ||
| [2009/06/12 07:25:17] <benoit1> If in the yaml for a node, I include a class that doesn't exists, I just have an information message that tell me that the class doesn't exists. Puppet doesn't fails | ||
| [2009/06/12 07:26:48] <jamesturnbull> benoit1: would you like it to fail? | ||
| [2009/06/12 07:27:18] <benoit1> yes | ||
| [2009/06/12 07:27:34] <benoit1> as it fails if I include a class that doesn't exists in the site.pp | ||
| [2009/06/12 07:28:35] <jamesturnbull> benoit1: okay that's a bug then - please log a ticket with your example and logs | ||
| [2009/06/12 07:33:03] <Zirafarafa> I have a performance issue - I am running puppetmaster as a passenger app, but the puppetmaster processes on my server generally stay in state 'D". | ||
| [2009/06/12 07:33:13] <Zirafarafa> My problem is that fileserver describes are taking a long time | ||
| [2009/06/12 07:33:50] <jamesturnbull> Zirafarafa: file serving is probably Puppet's slowest proces - especially with large sized and volumes of files | ||
| [2009/06/12 07:34:15] <Zirafarafa> jamesturnbull: what are the recommended ways of speeding it up? | ||
| [2009/06/12 07:34:25] <jamesturnbull> Zirafarafa: what version of Puppet are you running? | ||
| [2009/06/12 07:34:44] <Zirafarafa> I am serving files out of a ramdrive on the server at the moment, running version 0.24.7 | ||
| [2009/06/12 07:35:28] <jamesturnbull> Zirafarafa: well there is a bit of performance increase in .8 - there will be a lot more in 0.25.0 - you can also spilt off your fileserver - it's not overl elegant - wiki:PuppetScalability | ||
| [2009/06/12 07:35:30] <gepetto> jamesturnbull: Zirafarafa: wiki:PuppetScalability is http://reductivelabs.com/trac/puppet/wiki/PuppetScalability | ||
| [2009/06/12 07:36:44] <Zirafarafa> Won't running as a passenger app be able to start up multiple processes to handle fileserving? | ||
| [2009/06/12 07:37:09] @ Quit: HarryCalahan: "-" | ||
| [2009/06/12 07:37:30] <jamesturnbull> Zirafarafa: it's not the issue - the issue is the XMLRPC connectivity - it makes for very slow file transfers | ||
| [2009/06/12 07:38:35] <jamesturnbull> Zirafarafa: 0.25.0 replaces XMLRPC with REST with significant performance increases as a result | ||
| [2009/06/12 07:39:08] <Zirafarafa> jamesturnbull: Does it pull down the full file each time it runs, or only a checksum. I see the slowdown on fileserver.describe | ||
| [2009/06/12 07:40:50] <jamesturnbull> Zirafarafa: only pulls down if changes | ||
| [2009/06/12 07:43:54] <jamesturnbull> Zirafarafa: how many files are we talking about? | ||
| [2009/06/12 07:44:59] <Zirafarafa> jamesturnbull: At a guess, about 150 clients, with about 200-300 files each | ||
| [2009/06/12 07:46:56] <Zirafarafa> actually, 300 clients now that I have checked... | ||
| [2009/06/12 07:47:11] <Zirafarafa> with a 30 min interval between runs | ||
| [2009/06/12 07:49:31] <nico> jamesturnbull: can 0.24.X clients talk to 0.25 puppetmasters ? | ||
| [2009/06/12 07:49:44] <DavidS> nico: should work, but without the REST-goodness | ||
| [2009/06/12 07:49:52] <DavidS> haven'T tried it yet, though | ||
| [2009/06/12 07:49:56] <nico> hmm | ||
| [2009/06/12 07:50:46] <jamesturnbull> nico: yes works ... but no performance gains | ||
| [2009/06/12 07:51:28] <jamesturnbull> Zirafarafa: hmmm what sort of performance are we talking ... how long are the describes taking? | ||
| [2009/06/12 07:52:01] <nico> jamesturnbull: I don't minde performance, it's all about transition for the moment | ||
| [2009/06/12 07:52:06] <Zirafarafa> well, puppetmaster runs take sometimes up to 5 mins | ||
| [2009/06/12 07:52:12] <Zirafarafa> I mean, puppetd runs | ||
| [2009/06/12 07:52:36] <Zirafarafa> which is a problem when trying to interactively run it | ||
| [2009/06/12 07:55:07] @ Quit: Innocenti: "leaving" | ||
| [2009/06/12 07:55:58] @ Innocenti joined channel #puppet | ||
| [2009/06/12 07:56:06] @ Quit: Innocenti: Client Quit | ||
| [2009/06/12 07:56:38] <DavidS> Zirafarafa: http://xkcd.com/303/ or use a separate puppetmasterd instance for test runs | ||
| [2009/06/12 07:56:57] <DavidS> and finally, upgrade to 0.25 beta | ||
| [2009/06/12 07:56:59] @ Innocenti joined channel #puppet | ||
| [2009/06/12 07:58:17] <rabbit7> how can i append to an array ? is that even possible ? | ||
| [2009/06/12 07:58:20] @ HarryCalahan joined channel #puppet | ||
| [2009/06/12 07:58:43] <DavidS> rabbit7: no, you can only use +> when inheriting to append to an inherited resource's array param | ||
| [2009/06/12 07:59:11] <rabbit7> can i test if a variable is a string or an array ? | ||
| [2009/06/12 07:59:29] <DavidS> rabbit7: not within the manifest | ||
| [2009/06/12 07:59:39] <DavidS> but you can easily make a function | ||
| [2009/06/12 08:00:00] <jamesturnbull> Zirafarafa: hmmm can I recommend trying the puppet-test tool (in the ext directory of the source package) and checking the results | ||
| [2009/06/12 08:00:04] <DavidS> I'd add it to the common repo even O:-) | ||
| [2009/06/12 08:00:34] <Tonnerre> Is there something like if (Class["some::stuff"]) ? | ||
| [2009/06/12 08:00:36] <DavidS> rabbit7: but some would argue that not knowing whether a var contains a string or array is a design error anyways | ||
| [2009/06/12 08:00:51] <DavidS> Tonnerre: defined() see wiki:FunctionReference | ||
| [2009/06/12 08:00:54] <gepetto> DavidS: Tonnerre: wiki:FunctionReference is http://reductivelabs.com/trac/puppet/wiki/FunctionReference | ||
| [2009/06/12 08:01:00] <Tonnerre> DavidS, hm ok | ||
| [2009/06/12 08:01:06] <rabbit7> DavidS: some would not really know how ruby works then... | ||
| [2009/06/12 08:01:08] <DavidS> but the function is parse-order dependent | ||
| [2009/06/12 08:01:40] <DavidS> rabbit7: puppet manifests are not ruby. for a (very) good reason | ||
| [2009/06/12 08:02:23] @ docelic_ joined channel #puppet | ||
| [2009/06/12 08:02:39] <DavidS> if you look at the functions in http://github.com/DavidS/puppet-common/tree/production, all of them accept strings and arrays equally, if sensible | ||
| [2009/06/12 08:02:52] <rabbit7> yeah, never mind thanks for your help anyways | ||
| [2009/06/12 08:06:12] <jamesturnbull> DavidS: hmmm I guess if we're going to make your modules PCM then we'll need to work out what to do with the functions | ||
| [2009/06/12 08:06:17] <rabbit7> I dont know how you handle your templates, but maybe it makes sense to put more logic into the templates than into the puppet classes | ||
| [2009/06/12 08:07:11] @ fzzzt joined channel #puppet | ||
| [2009/06/12 08:07:51] <Zirafarafa> jamesturnbull: I am running the file retrieval tests for a while - will see if the times fluctuate.. | ||
| [2009/06/12 08:09:05] <fzzzt> How do I specify multiple files for a file block? is it file { [ "file1", "file2" ] } ? | ||
| [2009/06/12 08:09:09] <DavidS> jamesturnbull: yeah, some should probably go to core (gsub, split) but others i'm not so sure | ||
| [2009/06/12 08:09:27] <jamesturnbull> DavidS: split will be in 0.25.0 | ||
| [2009/06/12 08:09:51] <DavidS> great :) | ||
| [2009/06/12 08:09:52] <jamesturnbull> DavidS: mod'ed from yours I think ... you might want to check that | ||
| [2009/06/12 08:10:03] <DavidS> http://github.com/DavidS/puppet-common/tree/de7690c4e76ddd7c1f01d81fe92c75771da47c51/plugins/puppet/parser/functions is the current list | ||
| [2009/06/12 08:10:11] <DavidS> basename and dirname might be nice in core too | ||
| [2009/06/12 08:10:20] <jamesturnbull> DavidS: lak will kill me if we put in gsub :) | ||
| [2009/06/12 08:10:22] <DavidS> jamesturnbull: where should i check? | ||
| [2009/06/12 08:10:28] <jamesturnbull> DavidS: and we'd need tests | ||
| [2009/06/12 08:10:31] <jamesturnbull> DavidS: let me find it | ||
| [2009/06/12 08:10:34] <DavidS> regsubst is cruel | ||
| [2009/06/12 08:10:37] <Zirafarafa> jamesturnbull: ./puppet-test --describe sbc/sbc.repo -r 10: min 0.96, max 6.94, avg 3 | ||
| [2009/06/12 08:10:51] <fzzzt> nm got it | ||
| [2009/06/12 08:11:22] <Zirafarafa> jamesturnbull:: same for retrieve, but at times, it drops to 0.1 secs and stays there | ||
| [2009/06/12 08:11:38] <jamesturnbull> DavidS: http://github.com/reductivelabs/puppet/blob/a585bddadf49b1c1d41052f6fdd62db832bca49c/lib/puppet/parser/functions/split.rb | ||
| [2009/06/12 08:11:47] <DavidS> prefix_with() is a strange beast, probably can be done with regsubst too ... | ||
| [2009/06/12 08:12:29] <DavidS> that version doesn't work with an array as first arg | ||
| [2009/06/12 08:13:01] @ Quit: docelic_: "http://www.spinlocksolutions.com/" | ||
| [2009/06/12 08:13:19] <DavidS> although i'm not sure that split would _really_ need that ... | ||
| [2009/06/12 08:15:44] <DavidS> jamesturnbull: I don't insist on gsub, if we can mutate regsubst into something that doesn't make my eyes bleed | ||
| [2009/06/12 08:16:18] <jamesturnbull> DavidS: actually I am trying to find Thomas Bellman's code - which doesn't seem to have been pushed | ||
| [2009/06/12 08:18:06] @ Quit: docelic: Read error: 110 (Connection timed out) | ||
| [2009/06/12 08:18:21] <DavidS> jamesturnbull: the regsubst code is right there in your repo, next to the split functin | ||
| [2009/06/12 08:18:25] <DavidS> #1830 | ||
| [2009/06/12 08:18:27] <gepetto> DavidS: #1830 is http://projects.reductivelabs.com/issues/show/1830 "Puppet - Feature #1830: regsubst() function - ReductiveLabs.com" | ||
| [2009/06/12 08:18:30] <DavidS> and there | ||
| [2009/06/12 08:27:30] <abien> Where can i read up on how puppet defines what to do when? on my current config it seems to jump back and forth between classes. Id like to understand why its leaving class A, do some work from class B, then continue to work in class A | ||
| [2009/06/12 08:27:50] <fzzzt> hmm it seems there are issues with filenames that have question marks in them | ||
| [2009/06/12 08:29:49] <fzzzt> This is from a file {} with recursive set: Jun 12 08:21:01 repo1 puppetd[13995]: (//Node[repo1]/ndr/File[/usr/local/tomcat-repo/hdl:22002F20090512133655693T?format=search&xsl=nsdl:122]) Failed to generate additional resources during transaction: None of the provided sources exist | ||
| [2009/06/12 08:30:52] <fzzzt> fortunately i think that's an unimportant file, will have to check with the devs | ||
| [2009/06/12 08:32:13] <FiXion> DavidS: I don't know if the puppetmaster loads it at all. Why should it? the sysctl type is used on the client | ||
| [2009/06/12 08:32:26] @ Quit: kolla: Remote closed the connection | ||
| [2009/06/12 08:33:05] <Tonnerre> Hm | ||
| [2009/06/12 08:33:13] <Tonnerre> subclass http::apache::cvsweb inherits http::apache | ||
| [2009/06/12 08:33:14] <Tonnerre> { | ||
| [2009/06/12 08:33:19] <Tonnerre> Why is that a syntax error? | ||
| [2009/06/12 08:33:32] <Tonnerre> Jun 12 15:31:26 srsyg23 puppetd[5706]: Could not retrieve catalog: Could not parse for environment production: Syntax error at 'inherits' at /etc/puppet/manifests/services/devserver/cvsd.pp:41 | ||
| [2009/06/12 08:33:41] <Volcane> s/subclass/class | ||
| [2009/06/12 08:34:02] <Tonnerre> Hm ok, the glossary writes 'subclass' | ||
| [2009/06/12 08:34:28] <joe-mac> hey Volcane, can you do auto sign on a per-environment basis? | ||
| [2009/06/12 08:35:03] <Volcane> its a subclass, and the glossary might define what a subclass is, but the language syntax doesnt have that concept, using inherits makes it a subclass. wiki:LanguageTutorial | ||
| [2009/06/12 08:35:13] <gepetto> Volcane: wiki:LanguageTutorial is http://reductivelabs.com/trac/puppet/wiki/LanguageTutorial | ||
| [2009/06/12 08:35:13] <Volcane> joe-mac: not sure, never tried :) | ||
| [2009/06/12 08:35:35] <Tonnerre> Volcane, yes, I understand that but the example in http://reductivelabs.com/trac/puppet/wiki/GlossaryOfTerms writes "subclass" | ||
| [2009/06/12 08:35:39] <DavidS> FiXion: it is used to validate the syntax on the puppetmaster. else you couldn't generate a configuration | ||
| [2009/06/12 08:35:42] <Tonnerre> I'd say it's an error in the example | ||
| [2009/06/12 08:35:48] <joe-mac> hrm, wondering if that's possible. it would probably help out this guy here working on something like a homebrew cloud sort of | ||
| [2009/06/12 08:36:09] <DavidS> abien: classes have no influence on application order. | ||
| [2009/06/12 08:36:24] <DavidS> abien: resources are only ordered by require/before/notify/subscribe | ||
| [2009/06/12 08:36:25] <Volcane> Tonnerre: ah so it does, doc error then :) | ||
| [2009/06/12 08:36:49] @ Bass10 joined channel #puppet | ||
| [2009/06/12 08:40:19] <fzzzt> Is there a way to have a class require another class but not within a resource type? | ||
| [2009/06/12 08:41:07] <fzzzt> hmm i suppose that would be a bit ambiguous, requiring a whole class, in case one part of that class didnt work right | ||
| [2009/06/12 08:41:08] <fzzzt> hmm | ||
| [2009/06/12 08:41:39] <DavidS> fzzzt: there is qork on a require() function that does an include() AND has an ordering semantci | ||
| [2009/06/12 08:42:59] <jamesturnbull> DavidS: this is the updated split function - http://github.com/reductivelabs/puppet/blob/5fbf63ce789b015da9abb95d7e9fbbf4a44ba7d1/lib/puppet/parser/functions/split.rb | ||
| [2009/06/12 08:43:33] <jamesturnbull> DavidS: yeah - let's add the rest of the functions too I think | ||
| [2009/06/12 08:43:42] <jamesturnbull> DavidS: but will need tests | ||
| [2009/06/12 08:45:30] @ Quit: Zirafarafa: Read error: 110 (Connection timed out) | ||
| [2009/06/12 08:45:35] <jamesturnbull> Tonnerre: Volcane docs fixed | ||
| [2009/06/12 08:45:43] <Tonnerre> Neat, thanks :) | ||
| [2009/06/12 08:47:00] <jamesturnbull> DavidS: you might want to submit a patch to cater for arrays on top of the new code? | ||
| [2009/06/12 08:48:51] <gepetto> ::trac:: Glossary OfTerms edited by jamtur01 @ http://reductivelabs.com/trac/puppet/wiki/GlossaryOfTerms (by james@lovedthanlost.net) | ||
| [2009/06/12 08:50:25] @ Kindy is now known as Kindred | ||
| [2009/06/12 08:51:02] <DavidS> jamesturnbull: I'll start my puppet-work-phace when lak comes online. I'll prepare something while trying to get some decisions from him :) | ||
| [2009/06/12 08:51:08] <DavidS> phace=phase | ||
| [2009/06/12 08:53:20] @ matty joined channel #puppet | ||
| [2009/06/12 08:55:49] <jamesturnbull> DavidS: I had forgotten about the regexp function - so if I managed o persuade lak of that then I am sure with tests he won't object to the other functions | ||
| [2009/06/12 08:56:04] <jamesturnbull> DavidS: :P | ||
| [2009/06/12 08:58:18] <DavidS> I'd really appreciate it, if we could replace/improve regsubst | ||
| [2009/06/12 08:58:28] <jamesturnbull> DavidS: sure | ||
| [2009/06/12 08:58:45] @ rgsteele||work joined channel #puppet | ||
| [2009/06/12 08:58:47] <jamesturnbull> DavidS: what do you think about the idea of a node group syntax? | ||
| [2009/06/12 08:59:42] <DavidS> i hear of it the first time now. where can i read about it? | ||
| [2009/06/12 09:00:29] <jamesturnbull> DavidS: it's been tossed around a few times ... not really documented | ||
| [2009/06/12 09:01:55] <DavidS> so, something like group { $var='...' include something node "host1" { $var2 ='...' incude something else }}? | ||
| [2009/06/12 09:02:24] <jamesturnbull> DavidS: hmm more like #2269 | ||
| [2009/06/12 09:02:26] <gepetto> jamesturnbull: DavidS: #2269 is http://projects.reductivelabs.com/issues/show/2269 "Puppet - Feature #2269: Node list feature - ReductiveLabs.com" | ||
| [2009/06/12 09:03:57] <jamesturnbull> hmmm perhaps not a good idea | ||
| [2009/06/12 09:05:48] <DavidS> jamesturnbull: I'm totally with luke here, if you really want this and not use ldap, fetch tags from the storedconfigs db or use the datasource of your external nodes tool | ||
| [2009/06/12 09:05:55] <DavidS> s/tags/hosts/ | ||
| [2009/06/12 09:07:42] @ Zirafarafa joined channel #puppet | ||
| [2009/06/12 09:08:20] @ Quit: matty: Nick collision from services. | ||
| [2009/06/12 09:13:43] <DavidS> it might be nice to say something like puppetrun --inherits-from webserver and it runs all nodes inheriting from the webserver node | ||
| [2009/06/12 09:14:25] <DavidS> ^ jamesturnbull? | ||
| [2009/06/12 09:14:49] <jamesturnbull> DavidS: yeah | ||
| [2009/06/12 09:15:19] @ lak joined channel #puppet | ||
| [2009/06/12 09:15:50] @ kngus joined channel #puppet | ||
| [2009/06/12 09:16:26] @ jsm_ joined channel #puppet | ||
| [2009/06/12 09:20:29] <abien> Anyone here have an example snippet for yumrepo? | ||
| [2009/06/12 09:22:31] @ Quit: mattock: "Leaving." | ||
| [2009/06/12 09:24:06] @ claymation joined channel #puppet | ||
| [2009/06/12 09:28:30] <fzzzt> Are there any tweaks to transfer large files fia fileserver? I have a 26 MB file and it keeps timing out/execution expired :/ | ||
| [2009/06/12 09:28:52] <flashn> uh | ||
| [2009/06/12 09:29:08] <flashn> are you using webrick? | ||
| [2009/06/12 09:29:12] <fzzzt> puppet keeps on going, just that one file | ||
| [2009/06/12 09:29:17] <fzzzt> whatever comes with puppet | ||
| [2009/06/12 09:29:21] <flashn> yeah | ||
| [2009/06/12 09:31:17] @ slap_sti1k joined channel #puppet | ||
| [2009/06/12 09:31:21] <fzzzt> is it a big task to change to something else? | ||
| [2009/06/12 09:33:29] @ Quit: jsm: No route to host | ||
| [2009/06/12 09:33:31] @ glaw joined channel #puppet | ||
| [2009/06/12 09:35:19] @ Quit: claymation: Read error: 60 (Operation timed out) | ||
| [2009/06/12 09:35:55] @ Quit: HarryCalahan: verne.freenode.net irc.freenode.net | ||
| [2009/06/12 09:36:02] @ Quit: felipe`: verne.freenode.net irc.freenode.net | ||
| [2009/06/12 09:36:05] @ Quit: londo_: verne.freenode.net irc.freenode.net | ||
| [2009/06/12 09:36:07] @ Quit: henk: verne.freenode.net irc.freenode.net | ||
| [2009/06/12 09:36:10] @ Quit: Baum: verne.freenode.net irc.freenode.net | ||
| [2009/06/12 09:36:11] @ Quit: FUF: verne.freenode.net irc.freenode.net | ||
| [2009/06/12 09:36:13] @ Quit: mcbride: verne.freenode.net irc.freenode.net | ||
| [2009/06/12 09:36:15] @ Quit: Volcane: verne.freenode.net irc.freenode.net | ||
| [2009/06/12 09:36:17] @ Quit: kambiz_away: verne.freenode.net irc.freenode.net | ||
| [2009/06/12 09:36:19] @ Quit: Risar: verne.freenode.net irc.freenode.net | ||
| [2009/06/12 09:36:21] @ Quit: ch: verne.freenode.net irc.freenode.net | ||
| [2009/06/12 09:36:23] @ Quit: StyleWarz: verne.freenode.net irc.freenode.net | ||
| [2009/06/12 09:36:25] @ Quit: Dominic: verne.freenode.net irc.freenode.net | ||
| [2009/06/12 09:36:27] @ Quit: _NiC: verne.freenode.net irc.freenode.net | ||
| [2009/06/12 09:36:27] @ notbrien joined channel #puppet | ||
| [2009/06/12 09:36:34] <DavidS> fzzzt: 0.25 will be able to that | ||
| [2009/06/12 09:36:41] <DavidS> ... to do that | ||
| [2009/06/12 09:36:55] <fzzzt> will 0.25 be released some time next week? :P | ||
| [2009/06/12 09:36:59] @ londo_ joined channel #puppet | ||
| [2009/06/12 09:37:40] <fzzzt> i'm looking into passenger and mongrel... i might be able to use one of those in the meantime | ||
| [2009/06/12 09:37:43] <DavidS> fzzzt: there is already a beta around :-) | ||
| [2009/06/12 09:38:07] @ FUF joined channel #puppet | ||
| [2009/06/12 09:38:15] <fzzzt> i don't care about the memory problems with large files, but if there's some sort of hard limit in webrick that's another story | ||
| [2009/06/12 09:38:20] <DavidS> for 26MB file, you will not be happy, regardless how you call 0.24.x | ||
| [2009/06/12 09:38:23] <fzzzt> is the beta more or less stable? | ||
| [2009/06/12 09:38:28] @ Dominic joined channel #puppet | ||
| [2009/06/12 09:38:40] @ mcbride joined channel #puppet | ||
| [2009/06/12 09:38:42] <fzzzt> i do simple stuff, packages and files...i could try it | ||
| [2009/06/12 09:39:37] @ rgsteele||work_ joined channel #puppet | ||
| [2009/06/12 09:41:44] @ henk joined channel #puppet | ||
| [2009/06/12 09:42:08] @ Risar joined channel #puppet | ||
| [2009/06/12 09:42:17] @ kambiz_away joined channel #puppet | ||
| [2009/06/12 09:42:43] @ Quit: jsm_: | ||
| [2009/06/12 09:42:44] @ kambiz_away is now known as kambiz | ||
| [2009/06/12 09:42:46] @ kambiz is now known as kambiz_away | ||
| [2009/06/12 09:42:52] <fzzzt> looks like i'll have to build from source | ||
| [2009/06/12 09:43:20] <jamesturnbull> fzzzt: beta is largely stable - what platform do you need packages for? | ||
| [2009/06/12 09:43:25] <fzzzt> rhel5 | ||
| [2009/06/12 09:43:49] <jamesturnbull> fzzzt: http://tmz.fedorapeople.org/repo/puppet/epel/ | ||
| [2009/06/12 09:44:03] <fzzzt> sweet | ||
| [2009/06/12 09:44:06] <fzzzt> thanks | ||
| [2009/06/12 09:44:11] <jamesturnbull> fzzzt: thank tmz | ||
| [2009/06/12 09:47:42] @ casey joined channel #puppet | ||
| [2009/06/12 09:47:51] @ briandquinn joined channel #puppet | ||
| [2009/06/12 09:47:53] <joe-mac> hmmm so you know how if someone is going to launch a nuclear missile, two dudes have to turn the key, is there any accepted way to do this for like, pushes that someone knows of? | ||
| [2009/06/12 09:48:27] <casey> I suppose you could use some sort of pub key signing mechanism | ||
| [2009/06/12 09:48:30] @ schwifty joined channel #puppet | ||
| [2009/06/12 09:48:51] <fzzzt> give half the key file to each person :P | ||
| [2009/06/12 09:48:54] <joe-mac> casey: i was thinking more like i go to push but my team gets an e-mail and at least one other person mst somehow give the OK... other way around too | ||
| [2009/06/12 09:48:56] <joe-mac> lol... | ||
| [2009/06/12 09:48:56] <casey> We do it thorough version control | ||
| [2009/06/12 09:49:17] <joe-mac> casey: how? like the post commit? | ||
| [2009/06/12 09:50:01] <casey> we 'promote' changes up through a tree and the last two steps have 1 comitter | ||
| [2009/06/12 09:50:26] @ _NiC joined channel #puppet | ||
| [2009/06/12 09:50:30] <casey> it's a little cumbersome | ||
| [2009/06/12 09:50:41] <fzzzt> is there a way to use beta rpms in epel with yum or do i just need to manually install them? | ||
| [2009/06/12 09:52:25] @ HarryCalahan joined channel #puppet | ||
| [2009/06/12 09:55:04] <joe-mac> casey: i worked at a large software dev place and they did that but i had no idea how the internals worked... i just had a vague idea of like that's how it happens | ||
| [2009/06/12 09:55:07] @ Quit: rgsteele||work_: Remote closed the connection | ||
| [2009/06/12 09:55:11] <fzzzt> nm | ||
| [2009/06/12 09:55:43] @ plathrop-away is now known as plathrop | ||
| [2009/06/12 09:56:41] @ rasputnik joined channel #puppet | ||
| [2009/06/12 09:58:34] @ bendsu joined channel #puppet | ||
| [2009/06/12 09:59:20] <joe-mac> anybody know if it's possible to autosign in a per environment basis | ||
| [2009/06/12 09:59:21] <joe-mac> ? | ||
| [2009/06/12 10:01:02] <jamesturnbull> joe-mac: I don't think so | ||
| [2009/06/12 10:01:06] @ bobbyz joined channel #puppet | ||
| [2009/06/12 10:04:29] * joe-mac files a feature request | ||
| [2009/06/12 10:06:00] <fzzzt> Hmmm, well 0.25 is installed. What was that CLI switch for a "lint"? | ||
| [2009/06/12 10:06:22] <joe-mac> --parseonly fzzzt | ||
| [2009/06/12 10:06:27] <fzzzt> thanks | ||
| [2009/06/12 10:06:28] @ nasrat joined channel #puppet | ||
| [2009/06/12 10:06:31] <joe-mac> np | ||
| [2009/06/12 10:07:00] @ Quit: poison: Remote closed the connection | ||
| [2009/06/12 10:07:24] @ poison joined channel #puppet | ||
| [2009/06/12 10:07:34] @ Quit: ckrough: Nick collision from services. | ||
| [2009/06/12 10:07:43] @ ckrough_ joined channel #puppet | ||
| [2009/06/12 10:10:40] <joe-mac> ugh, i have this elusive memory leak in apache that sometimes takes weeks to materialize | ||
| [2009/06/12 10:11:07] <joe-mac> i'm thinking it's this awful php app, but i have no way to prove it... anybody got a good idea? i had ans trace attached to one of the worker threads but it died before getting any useful info | ||
| [2009/06/12 10:11:20] @ delewis joined channel #puppet | ||
| [2009/06/12 10:14:20] <casey> My first idea would be dtrace but you're prolly not running OSX or Solaris | ||
| [2009/06/12 10:14:32] <fzzzt> (or fbsd!) | ||
| [2009/06/12 10:14:57] <rasputnik> I've got an RPM customized it with a config file. How do you tell Puppet to always refresh that file after that RPM is installed? subscribe or refresh or .... ? | ||
| [2009/06/12 10:15:47] <benoit1> http://projects.reductivelabs.com/issues/2339: Why does luke says that "it's reasonable for external nodes not to require that" a class exists ??? | ||
| [2009/06/12 10:16:05] <benoit1> In which case you don't want it fails ? | ||
| [2009/06/12 10:16:25] @ Quit: Innocenti: "leaving" | ||
| [2009/06/12 10:16:25] <lak> benoit1: because an external nodes tool might use a class for something other than attaching code to it | ||
| [2009/06/12 10:16:41] <lak> e.g., it might consider location to be a class, but you might not have location classes in puppet | ||
| [2009/06/12 10:16:43] <delewis> anyone using puppet on AIX? I'm looking for some possible workarounds to get cron management working. | ||
| [2009/06/12 10:16:57] <lak> delewis: i know some people are, but i can't really point you to whom | ||
| [2009/06/12 10:17:17] <fzzzt> Is there a place I can read up on 0.25 changes? e.g. recurse/recurselimit | ||
| [2009/06/12 10:18:00] <fzzzt> i'm just going through tickets atm | ||
| [2009/06/12 10:18:25] <lak> fzzzt: i think jamesturnbull has done a decent write-up of what's in it, but otherwise, the timeline for 0.25 is the only real place | ||
| [2009/06/12 10:18:33] <fzzzt> ok | ||
| [2009/06/12 10:18:44] <jamesturnbull> fzzzt: see my release email for beta1 | ||
| [2009/06/12 10:19:01] <benoit1> lak: I don't understand you. Can you explain me what is a location in your example ? | ||
| [2009/06/12 10:19:12] <jamesturnbull> fzzzt: plus http://projects.reductivelabs.com/projects/puppet/changelog#0.25.0 | ||
| [2009/06/12 10:19:21] <fzzzt> ah-ha | ||
| [2009/06/12 10:21:07] <lak> benoit1: the city, or data center, or whatever | ||
| [2009/06/12 10:21:18] <DavidS> benoit1: the word "class" can mean "group of items having something in common" and "list of resources defined by class{} statement" | ||
| [2009/06/12 10:21:24] <lak> benoit1: external node tools only have variables and classes to manage data | ||
| [2009/06/12 10:21:31] <lak> DavidS: exactly, thanks :) | ||
| [2009/06/12 10:22:08] <DavidS> an external nodes tool might use its list of classes in the former sense and not expect every class to actually be implemented in the manifest | ||
| [2009/06/12 10:22:26] <DavidS> e.g. if you also have storeconfigs enabled, you can look up hosts by class | ||
| [2009/06/12 10:23:28] <DavidS> lak: I'm not convinced though that that's a valid argument... but then I'm not using an ENC, so don't listen to me :) | ||
| [2009/06/12 10:24:09] @ Quit: tecto: | ||
| [2009/06/12 10:24:18] <fzzzt> ok, here we go! | ||
| [2009/06/12 10:25:44] <DavidS> lak: ping me on skype when you have time to talk. I need some more quality time for coding => no irc. | ||
| [2009/06/12 10:26:48] <benoit1> lak, DavidS: I still don't understand. classes is used by puppet. So if you wan't to have more information in your external node, you should use another keyword, no ? | ||
| [2009/06/12 10:28:21] <rasputnik> e.g. ntpd package, ntp.conf flie. How do you tell Puppet it has to apply the file after the RPM (and after it changes)? | ||
| [2009/06/12 10:28:24] <fzzzt> nice, looks like it transferred the large file :)( | ||
| [2009/06/12 10:28:35] <jamesturnbull> fzzzt: glad to hear it :) | ||
| [2009/06/12 10:28:35] @ Telmo_Home joined channel #puppet | ||
| [2009/06/12 10:28:46] @ Quit: glaw: Remote closed the connection | ||
| [2009/06/12 10:28:47] <jamesturnbull> rasputnik: require metaparam | ||
| [2009/06/12 10:29:43] <rasputnik> jamesturnbull, does that also neeh a subscribe/notify clause somewhere (to handle e.g. the RPM updating)? | ||
| [2009/06/12 10:30:52] @ Volcane joined channel #puppet | ||
| [2009/06/12 10:31:50] <lak> benoit1: not really - they're the same kind of information in the external node tool, they're just used differently by puppet | ||
| [2009/06/12 10:32:00] <lak> the point is that they're two different tools with potentially different semantic models | ||
| [2009/06/12 10:32:20] <jamesturnbull> rasputnik: well depends | ||
| [2009/06/12 10:32:41] <benoit1> mmm... maybe I just don't understand what are the external node tools ? | ||
| [2009/06/12 10:33:06] @ Quit: sheldonh: "Ex-Chat" | ||
| [2009/06/12 10:33:07] <Volcane> benoit1: instead of writing many node{} files, you can replace them with a script that maybe queries a database or something | ||
| [2009/06/12 10:33:08] @ sheldonh joined channel #puppet | ||
| [2009/06/12 10:33:57] <Volcane> benoit1: that script would be called an external node tool | ||
| [2009/06/12 10:34:18] <nico> and it's quite mandatory when you have more than 2 nodes | ||
| [2009/06/12 10:34:31] <nico> expect if you're masochist | ||
| [2009/06/12 10:35:09] <duritong> oh so I am one :P | ||
| [2009/06/12 10:35:43] @ DavidS left channel #puppet () | ||
| [2009/06/12 10:36:29] <benoit1> So what are the two different tools ? | ||
| [2009/06/12 10:36:59] <nico> duritong: how many hosts ? you manage through a flat file ? | ||
| [2009/06/12 10:36:59] <jamesturnbull> rasputnik: if all you care about is ntp.conf requiring the ntpd package then all you need is the require - if you want to have changes occur - ie. if ntpd changes then you might use a subscribe or notify | ||
| [2009/06/12 10:37:56] <duritong> in 2 environements (different puppetmasters, different code base) ~15 and ~30 | ||
| [2009/06/12 10:38:10] <duritong> I know that one time I'll switch over to an external node tool | ||
| [2009/06/12 10:38:56] <duritong> however there are too many other things I need to adjust currently. But yeah I think if I'm over 50 in one env, then the switch will be necessary | ||
| [2009/06/12 10:38:57] * Volcane has 40 and 30 and 50 node files in various places | ||
| [2009/06/12 10:39:04] <Volcane> dont have a high churn of machines | ||
| [2009/06/12 10:39:05] <rasputnik> jamesturnbull, ok, thanks. I'll go for both (belt and braces, as they say). | ||
| [2009/06/12 10:39:08] <Volcane> so not that bothered | ||
| [2009/06/12 10:39:15] @ Quit: lak: | ||
| [2009/06/12 10:39:18] @ andrewcshafer joined channel #puppet | ||
| [2009/06/12 10:41:11] <nico> 90 machines here, some are not puppet-ized yet | ||
| [2009/06/12 10:42:02] <Volcane> mostly nodes are just like 'include toles::web_node' or whatever | ||
| [2009/06/12 10:42:19] <Volcane> s/toles/roles | ||
| [2009/06/12 10:42:43] <nico> ho | ||
| [2009/06/12 10:42:52] <nico> I have vars definition here | ||
| [2009/06/12 10:43:20] <nico> I should find a better way to do it indeed | ||
| [2009/06/12 10:43:27] <Volcane> i (currently) have facts on nodes, bit of a pain, will get rid of that when i one day bother finishing my classifier | ||
| [2009/06/12 10:43:40] <Volcane> and for everything else i use my extlookup() | ||
| [2009/06/12 10:43:58] @ poison_ joined channel #puppet | ||
| [2009/06/12 10:44:09] <nico> extlookup ? | ||
| [2009/06/12 10:44:23] <Volcane> http://nephilim.ml.org/~rip/puppet/extlookup.rb | ||
| [2009/06/12 10:44:52] <nico> ho ho ho | ||
| [2009/06/12 10:44:53] <Volcane> takes variables out of your manifests and into data files (csv files in that case) | ||
| [2009/06/12 10:44:58] <nico> looks nice | ||
| [2009/06/12 10:45:01] * nico wget | ||
| [2009/06/12 10:45:02] <Volcane> and totally replaces case statements | ||
| [2009/06/12 10:45:04] @ plathrop is now known as plathrop-away | ||
| [2009/06/12 10:45:35] <nico> hum | ||
| [2009/06/12 10:45:55] <nico> it's a f***** good idea | ||
| [2009/06/12 10:46:08] <Volcane> :) | ||
| [2009/06/12 10:46:40] <nico> I was wondering how to get rid of some var defs (mostly credentials like LDAP for templates) in my manifests | ||
| [2009/06/12 10:46:41] @ D-CoDe joined channel #puppet | ||
| [2009/06/12 10:46:46] <Volcane> if client.com needs logwatch on his machines, i just put logwatch_pkg,present in his domain_client.com.csv file | ||
| [2009/06/12 10:46:53] <Volcane> and in my common i have logwatch_pkg,absent | ||
| [2009/06/12 10:47:13] <Volcane> package{} resources does ensure => extlookup($name, "present") | ||
| [2009/06/12 10:47:18] @ Quit: sheldonh: "Ex-Chat" | ||
| [2009/06/12 10:47:31] <Volcane> very granular control, no selectors, case statemtns if statements etc | ||
| [2009/06/12 10:47:52] <nico> system wide settings made easy | ||
| [2009/06/12 10:51:32] @ matty91 joined channel #puppet | ||
| [2009/06/12 10:52:23] @ claymation joined channel #puppet | ||
| [2009/06/12 10:52:26] <matty91> Anyone happen to know if there are plans to add a directory resource type? | ||
| [2009/06/12 10:52:54] <jamesturnbull> matty91: use the file type | ||
| [2009/06/12 10:53:15] <claymation> jamesturnbull: matty and I were just having a philosophical discussion about that :) | ||
| [2009/06/12 10:53:18] <matty91> jamesturnbull: I am, but it would be more descriptive to have a directory resource type | ||
| [2009/06/12 10:53:35] <claymation> a directory resource would be more intuitive, but maybe there's a reason not to have both? | ||
| [2009/06/12 10:54:02] <Volcane> define directory(......) { file{$name: ......} } | ||
| [2009/06/12 10:54:07] <Volcane> directory resource type done. | ||
| [2009/06/12 10:54:15] <jamesturnbull> if one does both why complicate it with two? | ||
| [2009/06/12 10:54:31] <jamesturnbull> plus as always Volcane has jumped in with an appropriately pithy response :) | ||
| [2009/06/12 10:54:38] <matty91> heh | ||
| [2009/06/12 10:55:08] <claymation> well I think it's just taking the declarative model to its logical conclusion | ||
| [2009/06/12 10:55:41] <claymation> if we would like to have a resolver resource instead of a file resource for /etc/resolv.conf, that to me seems in the same vein as having a native directory resource | ||
| [2009/06/12 10:56:03] @ Quit: saurabhverma: No route to host | ||
| [2009/06/12 10:56:10] @ Quit: briandquinn: | ||
| [2009/06/12 10:58:14] @ Quit: verwilst: "Ex-Chat" | ||
| [2009/06/12 10:58:24] <rasputnik> claymation, that anh ip-fricking-tables. I must have tried half a dozen implementations this week, and a general purpose 'bulid up a file by fragments' class would do the trick perfectly. | ||
| [2009/06/12 10:58:53] <rasputnik> same for resolv.conf, and 3 dozen other files on your average system. | ||
| [2009/06/12 10:59:05] <Volcane> rasputnik: http://nephilim.ml.org/~rip/puppet/concatfile/ | ||
| [2009/06/12 10:59:29] @ Quit: poison: Read error: 113 (No route to host) | ||
| [2009/06/12 10:59:31] <rasputnik> Volcane, oh don't worry, I'm definitely using that now after the week I've had :) | ||
| [2009/06/12 10:59:42] <Volcane> ah right :) | ||
| [2009/06/12 11:00:02] <Volcane> more proof that people should just do what i say from the beginning :P | ||
| [2009/06/12 11:00:08] <rasputnik> but it seems like such a general problem I'm surprised there isn't something in the base. | ||
| [2009/06/12 11:00:26] @ Quit: pleemans: Read error: 110 (Connection timed out) | ||
| [2009/06/12 11:00:26] <rasputnik> ah, but now you get to say 'i told you so'. | ||
| [2009/06/12 11:01:00] <rasputnik> at first glance, I thought that's what Augeas dd. | ||
| [2009/06/12 11:01:52] <Volcane> easy to mistake augeas for something useful :P | ||
| [2009/06/12 11:03:13] <joe-mac> rasputnik: i have this general firewall model with two networks, trusted and nodenets. trusted is like internal stuff, nodenets is the nets that gets erviced by a particular service such as approx or puppet. then i have variables like "restricted_tcp_ports" open_tcp_ports open_tcp_to_nodenets_ports... stuff like that. it seems to work fine but i have a pretty flat topology | ||
| [2009/06/12 11:04:13] <joe-mac> just uises those variables to build an erb template into a rules file... there are a couple one off things like build servers, but since they are always the same hostname, just in different domains, i just have a block at the top if hostname == builder , then it sets up the prerouting chain | ||
| [2009/06/12 11:04:21] <joe-mac> for routing on an itnernal build network | ||
| [2009/06/12 11:05:00] <rasputnik> all the stanford-based stuff seems to want to manipulate chains in memory, which seems unnecessary if there's a static file to be reloaded in /etc already, you know? | ||
| [2009/06/12 11:06:06] <jamesturnbull> Volcane: I like augeas - it's just a bit flakey - lots of fixes in 0.25.0 | ||
| [2009/06/12 11:06:19] @ lludwig joined channel #puppet | ||
| [2009/06/12 11:06:31] @ glaw joined channel #puppet | ||
| [2009/06/12 11:06:40] <jamesturnbull> Volcane: but I won't disagree that it's sometimes seriously counter-intuitive sometimes :) | ||
| [2009/06/12 11:06:49] <Volcane> jamesturnbull: conceptually i dont like it | ||
| [2009/06/12 11:06:56] <joe-mac> rasputnik: i'm not so fond of the manipulate in memory way | ||
| [2009/06/12 11:07:04] <joe-mac> if someone adds a rule that you didn't define, how do you know? | ||
| [2009/06/12 11:07:06] <Volcane> jamesturnbull: undeterministic config management, ok sometimes, mostly its evil | ||
| [2009/06/12 11:07:10] <rasputnik> I tried templates but had some scoping issues. tbh I think it's cleaner for classes to write their own firewall snippets. our squid nodes neeh DSR stuff for transparent proxping etc. | ||
| [2009/06/12 11:07:12] <joe-mac> using a file is more secure IMO | ||
| [2009/06/12 11:07:42] @ lludwig left channel #puppet () | ||
| [2009/06/12 11:07:57] <joe-mac> i don't run into scoping issues cause the port variables are in the node defs, before the basenode_tmpl include which includes iptables | ||
| [2009/06/12 11:07:58] <rasputnik> joe-mac, yup, I need a fail safe design or my colleagues will get a bit stabby. | ||
| [2009/06/12 11:08:12] <joe-mac> get a shield | ||
| [2009/06/12 11:08:19] <joe-mac> prevents stabs 89% of the time | ||
| [2009/06/12 11:08:19] <rasputnik> for my face? | ||
| [2009/06/12 11:09:39] <rasputnik> joe-mac, is your code anywhere online? | ||
| [2009/06/12 11:10:13] <joe-mac> rasputnik: no, i can paste it up for you if you want | ||
| [2009/06/12 11:10:19] <joe-mac> i use ubuntu though fyi | ||
| [2009/06/12 11:10:26] <joe-mac> so, the technique isn't as valid for rh-based systems | ||
| [2009/06/12 11:10:49] <rasputnik> joe-mac, that's ok, I've been using Ubuntu since Greasy Badger was out. | ||
| [2009/06/12 11:10:57] <joe-mac> yea i'm on hardy hardon | ||
| [2009/06/12 11:11:05] <rasputnik> :) | ||
| [2009/06/12 11:11:08] * joe-mac stabs codenames | ||
| [2009/06/12 11:11:14] <joe-mac> h/o let me pastie the stuff | ||
| [2009/06/12 11:11:18] <rasputnik> cheers | ||
| [2009/06/12 11:11:51] <rasputnik> Volcane, this concat_snippet hoohoo of yours; can it handle different classes writing different snippets of the same file? | ||
| [2009/06/12 11:11:57] @ pleemans joined channel #puppet | ||
| [2009/06/12 11:12:18] * rasputnik is making a brew | ||
| [2009/06/12 11:12:23] <Volcane> rasputnik: yes | ||
| [2009/06/12 11:12:42] <Volcane> rasputnik: also soemtimes i do things like motd::register{"whatever module": } | ||
| [2009/06/12 11:12:46] <Volcane> and i do that in say my apache module | ||
| [2009/06/12 11:12:53] <Volcane> so when i log into a box i know apache is on it | ||
| [2009/06/12 11:13:13] <Volcane> where motd::register is a little define that drops files into my motd in the right way | ||
| [2009/06/12 11:13:46] <jamesturnbull> Volcane: we don't talk about motd - it upsets madduck | ||
| [2009/06/12 11:14:00] <Volcane> builds up motd's like this: http://pastie.org/509759 | ||
| [2009/06/12 11:14:11] @ flakrat joined channel #puppet | ||
| [2009/06/12 11:14:44] <Volcane> (10 points to whoever can tell me what the 'fate amenable to change' reference is without googling) | ||
| [2009/06/12 11:14:46] @ KarlHungus joined channel #puppet | ||
| [2009/06/12 11:14:47] <madduck> jamesturnbull: no, the puppet inconsistencies that make me jump through hoops on this simple proof-of-concept example upset me, not motd. ;) | ||
| [2009/06/12 11:15:03] @ Quit: HarryCalahan: "weekend. now." | ||
| [2009/06/12 11:15:50] @ Quit: fujin: "Leaving..." | ||
| [2009/06/12 11:18:08] <Volcane> wik fubar again | ||
| [2009/06/12 11:18:13] <Volcane> wiki too | ||
| [2009/06/12 11:19:25] <joe-mac> rasputnik: http://www.pastie.org/509767 | ||
| [2009/06/12 11:19:43] @ Quit: Zirafarafa: "Leaving" | ||
| [2009/06/12 11:19:46] @ lludwig joined channel #puppet | ||
| [2009/06/12 11:19:53] @ lludwig left channel #puppet () | ||
| [2009/06/12 11:20:02] <fzzzt> If I don't include a 'mode' option for a file {}, will it use the current mode? | ||
| [2009/06/12 11:20:11] <jamesturnbull> Volcane: working for me - any particular page? | ||
| [2009/06/12 11:20:14] <fzzzt> the mode within the source, I mean | ||
| [2009/06/12 11:20:16] <joe-mac> fzzzt: whatever the file is | ||
| [2009/06/12 11:20:19] <joe-mac> on the fileserver | ||
| [2009/06/12 11:20:22] <Volcane> language tut | ||
| [2009/06/12 11:20:23] <fzzzt> ok | ||
| [2009/06/12 11:20:25] <fzzzt> whew | ||
| [2009/06/12 11:20:28] <jamesturnbull> madduck: heh | ||
| [2009/06/12 11:20:35] <Volcane> works now, i think theres some busted workers :) | ||
| [2009/06/12 11:20:37] <joe-mac> fzzzt: i've gotten in trouble relying on that however | ||
| [2009/06/12 11:20:42] <fzzzt> hrm | ||
| [2009/06/12 11:20:49] <jamesturnbull> Volcane: I'll have a look | ||
| [2009/06/12 11:20:55] <joe-mac> i like to explicitly define perms now, since this one time sudoers got borked and i got locked out of a couple machines | ||
| [2009/06/12 11:21:05] @ Quit: tuf: "Look whos tuf now.." | ||
| [2009/06/12 11:21:48] @ tecto joined channel #puppet | ||
| [2009/06/12 11:22:13] @ fujin joined channel #puppet | ||
| [2009/06/12 11:22:33] @ Quit: tecto: Read error: 54 (Connection reset by peer) | ||
| [2009/06/12 11:22:43] <jamesturnbull> madduck: we going to see you in NZ for LCA 2010? | ||
| [2009/06/12 11:22:54] @ tecto joined channel #puppet | ||
| [2009/06/12 11:22:55] <madduck> of course | ||
| [2009/06/12 11:23:07] <madduck> remember i have a wellington girlfriend. ;) | ||
| [2009/06/12 11:23:23] <jamesturnbull> madduck: wasn't going to ask in case she'd come to her senses... :P | ||
| [2009/06/12 11:23:44] <madduck> dude! | ||
| [2009/06/12 11:23:48] <fzzzt> so if i have a dir that's copied recursively, and a bin dir in that, should i split those up or is there a way to say "make bin/* 750"? looks like i can't do "ignore => /usr/local/app/bin" | ||
| [2009/06/12 11:23:52] <jamesturnbull> lol | ||
| [2009/06/12 11:24:56] <fzzzt> so with 0.25 my run went from multiple hours (i left the office) down to 380 seconds heh | ||
| [2009/06/12 11:25:24] @ Quit: fujin: Client Quit | ||
| [2009/06/12 11:27:27] <Volcane> fzzzt: lol | ||
| [2009/06/12 11:28:16] @ alfism joined channel #puppet | ||
| [2009/06/12 11:29:38] <jamesturnbull> fzzzt: woot! that's something I like to hear | ||
| [2009/06/12 11:29:51] <fzzzt> :) | ||
| [2009/06/12 11:34:42] @ dromero joined channel #puppet | ||
| [2009/06/12 11:35:13] <dromero> hi there. Is there someone available for some pupprt questions? | ||
| [2009/06/12 11:35:22] <dromero> puppet* | ||
| [2009/06/12 11:35:26] <madduck> always better to just ask | ||
| [2009/06/12 11:35:31] <dromero> check | ||
| [2009/06/12 11:36:33] <dromero> well, it's more like im looking for some advise. What i'm trying to achieve is receiving verbose log information from an puppetclient, on the puppetmaster.. | ||
| [2009/06/12 11:36:58] <dromero> i know the client is capable of logging verbose on the client itself or with the help of syslog.. | ||
| [2009/06/12 11:37:19] <dromero> but does puppet have some kind of feature that it uses the RPC for verbose log information.. | ||
| [2009/06/12 11:37:27] <chadh> dromero: you don't want to just set up a syslog server on your puppetmaster? | ||
| [2009/06/12 11:38:11] <dromero> well.. i want to.. but i'm forced to obay the company policy.. if you know what i mean.. | ||
| [2009/06/12 11:39:17] <dromero> so syslog is out of the question in my/our case :( | ||
| [2009/06/12 11:39:24] <chadh> aha. I am pretty sure you the puppetmaster just logs catalog compilation info. | ||
| [2009/06/12 11:39:31] <Volcane> gotta be verbose? not just the normal log level to the master? | ||
| [2009/06/12 11:39:45] <Volcane> normal is doable using reporting | ||
| [2009/06/12 11:39:48] <Volcane> verbose not | ||
| [2009/06/12 11:40:19] <chadh> Volcane: is the regular log stuff stored in the reports? | ||
| [2009/06/12 11:40:28] <Volcane> yes | ||
| [2009/06/12 11:40:57] @ Quit: madduck: "leaving" | ||
| [2009/06/12 11:40:57] <dromero> let me put it this way.. we want to collect trigger events on the puppetmaster, of all clients.. like.. Did someone changed the owner? -> event.. | ||
| [2009/06/12 11:40:58] <Volcane> the 'store' report handler writes yaml with them in | ||
| [2009/06/12 11:41:07] <Volcane> dromero: check out reports | ||
| [2009/06/12 11:41:24] <chadh> good. I was just talking with some colleagues about that. We don't currently monitor whether the clients are successfully applying the catalogs | ||
| [2009/06/12 11:41:41] <dromero> chadh: exactly, and that is what we want to do :) | ||
| [2009/06/12 11:41:42] @ madduck joined channel #puppet | ||
| [2009/06/12 11:41:56] <dromero> Volcane: on the puppetmaster you mean? is it enabled by default? | ||
| [2009/06/12 11:42:31] <Volcane> wiki:ReportsAndReporting | ||
| [2009/06/12 11:42:33] <gepetto> Volcane: wiki: wiki:ReportsAndReporting is http://reductivelabs.com/trac/puppet/wiki/ReportsAndReporting | ||
| [2009/06/12 11:42:57] <lutter1> Volcane: out of curiosity, why do you think augeas is not deterministic ? | ||
| [2009/06/12 11:43:33] <Volcane> lutter1: cos in typical use its the equivelant of the various line defines that just edit a part of the file | ||
| [2009/06/12 11:43:36] <dromero> Volcane: ah thanks.. i guess i need some coffee :) | ||
| [2009/06/12 11:44:11] <rasputnik> Volcane, thanks for the pasties; will try this out over the weekend. | ||
| [2009/06/12 11:44:41] <Volcane> lutter1: ie. you dont know the state of the entire file, only those bits that you manage using it. | ||
| [2009/06/12 11:44:54] <lutter1> Volcane: depends on the file, and what you are trying to change | ||
| [2009/06/12 11:45:44] <lutter1> Volcane: true .. if you want to control exactly what's in the file, augeas might not be the right tool | ||
| [2009/06/12 11:46:27] <Volcane> lutter1: in many cases giving the ability for example one module editing a file in one way and another in another way, or allowing someone to login and add unknown amount of stuff to a file that you think your managing is very undesirable | ||
| [2009/06/12 11:47:14] <Volcane> lutter1: i recognise there are cases where its *very* desirable, but mostly for the kind of config management i see most people do here, requiring clusters of machines to be kept in known state etc, its a problem if in a large team someone maybe use it the wrong way | ||
| [2009/06/12 11:47:20] <lutter1> Volcane: I agree with the 'don't allow random manual edits' | ||
| [2009/06/12 11:47:35] <joe-mac> anybody know whty puppetd would do this? http://www.pastie.org/509805 | ||
| [2009/06/12 11:47:43] <joe-mac> looks like it's in an infinite loop | ||
| [2009/06/12 11:47:46] <joe-mac> one that chugs cpu... | ||
| [2009/06/12 11:47:54] <lutter1> Volcane: but there's also the case of "use the config that ships with a package, but tweak it" | ||
| [2009/06/12 11:48:15] <joe-mac> and slowly gaining more ram, without ever losingi t | ||
| [2009/06/12 11:48:17] <lutter1> Volcane: like "use the default sshd_config but allow root logins with public key" | ||
| [2009/06/12 11:48:26] <rasputnik> joe-mac, thanks for that, looks like the same trick I was trying : http://tinyurl.com/my-iptables-template-shambles | ||
| [2009/06/12 11:48:30] <Volcane> lutter1: yeah, i imagine where u would admin desktops for example - and say all you want is to be sure they all use a smarthost leaving the users to modify the rest, brilliant there obviously | ||
| [2009/06/12 11:49:06] <joe-mac> rasputnik: np, it's a lot weasier with the external lookup utility | ||
| [2009/06/12 11:49:10] <Volcane> lutter1: but mostly, what you're saying is not use the default config file (cos then you might as well copy the thing out?) what you're saying is you want root logins, and you also want someone to be able to change whatever else they feel is a good idea | ||
| [2009/06/12 11:49:10] <joe-mac> easier even | ||
| [2009/06/12 11:49:30] <lutter1> Volcane: at the end of the day, augeas doesn't do config mgmt, all it does is make it easier to read/modify file contents in a very finegrained way w/o worrying about hte specific syntax | ||
| [2009/06/12 11:49:31] <joe-mac> also, anybody know why i am getting this: Jun 12 11:46:02 puppet puppetmasterd[9895]: Fileserver module 'files' not mounted, i don't have a files section in my config, cause it's modular | ||
| [2009/06/12 11:49:46] @ Quit: tim|macbook: | ||
| [2009/06/12 11:50:49] <Volcane> lutter1: yup, in isolation its awesome, allows a level of scripting that you couldnt previous even have imagined, i am totally on board with it | ||
| [2009/06/12 11:51:07] <Volcane> lutter1: however, used with puppet for most use cases, its not all that desirable | ||
| [2009/06/12 11:51:30] <Volcane> lutter1: so most people would want the option to opt out of it being on their machines - hence the fact that quite a few people dont use EPEL packages | ||
| [2009/06/12 11:51:57] <Volcane> lutter1: or worse, most people dont realize the situation it creates and just let it be | ||
| [2009/06/12 11:53:20] * Volcane need coffee, back in a fe | ||
| [2009/06/12 11:53:21] <Volcane> w | ||
| [2009/06/12 11:54:53] <lutter1> Volcane: you realize that you're argument is just as true for some of the builtin types like hosts, authorized_keys, yumrepo etc. ? | ||
| [2009/06/12 11:55:04] @ lak joined channel #puppet | ||
| [2009/06/12 11:55:46] <lutter1> Volcane: that's what the augeas type gives you: a way to make up your own type that is similar to those builtin types w/o needing to write ruby code | ||
| [2009/06/12 11:56:46] @ bajan joined channel #puppet | ||
| [2009/06/12 11:57:23] @ Baum joined channel #puppet | ||
| [2009/06/12 11:58:11] @ Quit: Welsh_Dwarf: Remote closed the connection | ||
| [2009/06/12 12:02:02] @ ch joined channel #puppet | ||
| [2009/06/12 12:02:03] @ StyleWarz joined channel #puppet | ||
| [2009/06/12 12:04:29] <Volcane> lutter1: yeah i do realise | ||
| [2009/06/12 12:04:30] <fzzzt> thanks guys, and tmz for the 0.25 packages, take care | ||
| [2009/06/12 12:04:34] @ fzzzt left channel #puppet () | ||
| [2009/06/12 12:05:06] @ Quit: rasputnik: Read error: 60 (Operation timed out) | ||
| [2009/06/12 12:05:09] <dromero> Volcane: thanks for the help.. | ||
| [2009/06/12 12:05:11] @ Quit: dromero: "leaving" | ||
| [2009/06/12 12:07:09] <MrHeavy> Volcane: This argument has been beaten to death but the fact remains that not every environment is going to be run through a Change Advisory Board, and you have circumstances, especially in academia, where people are going to try to admin their own boxes and scream when they can't | ||
| [2009/06/12 12:07:37] <Volcane> MrHeavy: i know, see above where i described desktops as an example where i would use it. | ||
| [2009/06/12 12:08:03] <MrHeavy> p.s. academia sucks :( | ||
| [2009/06/12 12:14:06] @ Quit: kngus: "Leaving." | ||
| [2009/06/12 12:15:46] <Volcane> these days its quite common to have sysadmins provide a blackbox to dev/app teams who manage the application on them - lets say a webapp ontop of a configured box | ||
| [2009/06/12 12:16:02] <Volcane> in that scenario its pretty bad if you did line level management | ||
| [2009/06/12 12:16:03] <MrHeavy> How awful :( | ||
| [2009/06/12 12:16:23] <MrHeavy> I'd never let my developers reconfigure a box in production | ||
| [2009/06/12 12:17:15] <Volcane> MrHeavy: nods, quite common in small agile shops though | ||
| [2009/06/12 12:17:29] <Volcane> MrHeavy: devs have the ablity to lets say install a rpm with yum and restart tomcat | ||
| [2009/06/12 12:18:38] <Volcane> MrHeavy: or maybe the lead dev have access to some extra utils, but right there you're pretty screwed if u dont take the hardline and say this is httpd.conf, this is all the files ever allowed in conf.d of apache and these are those files. cos they might just not know any better - or forget to tell $newteammember - not to muck about, in those cases you have to know your blackbox where their app runs on is sane | ||
| [2009/06/12 12:19:19] <MrHeavy> Yeah, I've been relaxing control on my boxes but only because I have better reporting tools now | ||
| [2009/06/12 12:19:27] <MrHeavy> If someone changes something in a config file Git lets me know about it | ||
| [2009/06/12 12:20:29] <Volcane> my one client after 4 years of working in this blackbox+app seperation method have found it really awesome, they've had like unpresidented uptime and availability yet they feel totally enabled to do their jobs and deploy their code | ||
| [2009/06/12 12:20:38] <Volcane> they dont even know the root password on any of their 50 odd machines | ||
| [2009/06/12 12:23:50] @ poison joined channel #puppet | ||
| [2009/06/12 12:23:52] @ Quit: poison_: Read error: 104 (Connection reset by peer) | ||
| [2009/06/12 12:23:57] @ Quit: nasrat: | ||
| [2009/06/12 12:33:50] @ Quit: bajan: "Leaving." | ||
| [2009/06/12 12:34:02] @ bevans5446 joined channel #puppet | ||
| [2009/06/12 12:39:33] @ rasputnik joined channel #puppet | ||
| [2009/06/12 12:39:53] @ mfoster joined channel #puppet | ||
| [2009/06/12 12:40:44] @ plathrop-away is now known as plathrop | ||
| [2009/06/12 12:45:36] @ Quit: poison: Remote closed the connection | ||
| [2009/06/12 12:48:09] @ Quit: D-CoDe: "Leaving." | ||
| [2009/06/12 12:49:51] @ Quit: andrewcshafer: | ||
| [2009/06/12 12:54:01] @ Quit: rasputnik: "This computer has gone to sleep" | ||
| [2009/06/12 12:55:01] @ ezmob joined channel #puppet | ||
| [2009/06/12 12:57:34] @ justindossey joined channel #puppet | ||
| [2009/06/12 13:01:03] @ andrewcshafer joined channel #puppet | ||
| [2009/06/12 13:01:36] @ Quit: glaw: "crysql" | ||
| [2009/06/12 13:05:58] @ Quit: mikepea: Read error: 110 (Connection timed out) | ||
| [2009/06/12 13:14:17] @ kolla joined channel #puppet | ||
| [2009/06/12 13:19:30] @ nakano is now known as nakano_ | ||
| [2009/06/12 13:20:30] @ Quit: Hikah: Read error: 113 (No route to host) | ||
| [2009/06/12 13:25:55] @ mikepea joined channel #puppet | ||
| [2009/06/12 13:31:35] @ Quit: rgsteele||work: Read error: 113 (No route to host) | ||
| [2009/06/12 13:33:36] <hacim> jamesturnbull: whats with the 'assigned to deleted' updates? | ||
| [2009/06/12 13:36:12] <drmikecrowe> hey folks, anybody have a recipe to download a .deb and install it? (thinking about webmin specifically) | ||
| [2009/06/12 13:36:48] @ Quit: notbrien: | ||
| [2009/06/12 13:38:59] <flakrat> jamesturnbull, why did request 2224 get assigned to 'deleted'? does that mean my request is in the tank? | ||
| [2009/06/12 13:43:15] @ Quit: alex_: Remote closed the connection | ||
| [2009/06/12 13:45:06] @ kcm left channel #puppet () | ||
| [2009/06/12 13:46:52] <joe-mac> flakrat: some of my feature requests got deleted too, i think it was some kind of auto-tidying of tickets that are stale | ||
| [2009/06/12 13:47:13] <joe-mac> i should have put the work in and submitted a patch, so, my fault anyways | ||
| [2009/06/12 13:47:41] <flakrat> interesting, I may have to brush up on my ruby and submit a patch for my request :-) | ||
| [2009/06/12 13:48:18] <joe-mac> i suck at ruby, but i can hobble along | ||
| [2009/06/12 13:48:29] <flakrat> yeah, same here | ||
| [2009/06/12 13:54:44] @ webx joined channel #puppet | ||
| [2009/06/12 13:55:27] <Volcane> discussed on the list, they're removing the 'assigned to community' thing | ||
| [2009/06/12 13:55:42] <Volcane> instead just leaving them unassigned now | ||
| [2009/06/12 13:55:59] <flakrat> Volcane, that makes sense | ||
| [2009/06/12 13:56:09] @ nasrat joined channel #puppet | ||
| [2009/06/12 13:56:24] <webx> if I have a puppet server with the name "server1.example.com" but I want to have the server certificate be "puppet.example.com" (and just setup the cname in dns) -- how would I do this ? | ||
| [2009/06/12 13:56:51] <Volcane> there are certname options for the config file on the master | ||
| [2009/06/12 13:56:59] <Volcane> and if you do nothing the server wil be 'puppet' in certname | ||
| [2009/06/12 13:57:32] <webx> ok, thanks | ||
| [2009/06/12 14:00:22] @ Quit: mikepea: | ||
| [2009/06/12 14:01:00] <nasrat> wiki:ConfigurationReference | ||
| [2009/06/12 14:01:13] <gepetto> nasrat: wiki: wiki:ConfigurationReference is http://reductivelabs.com/trac/puppet/wiki/ConfigurationReference | ||
| [2009/06/12 14:02:15] @ mvn071 joined channel #puppet | ||
| [2009/06/12 14:05:30] @ Quit: abien: | ||
| [2009/06/12 14:07:03] @ Quit: nasrat: | ||
| [2009/06/12 14:13:27] @ D-CoDe joined channel #puppet | ||
| [2009/06/12 14:17:41] @ felipe` joined channel #puppet | ||
| [2009/06/12 14:18:03] @ Quit: teratoma: "leaving" | ||
| [2009/06/12 14:33:39] @ Quit: D-CoDe: "Leaving." | ||
| [2009/06/12 14:42:17] @ Quit: mvn071: "Leaving" | ||
| [2009/06/12 14:46:56] @ kngus joined channel #puppet | ||
| [2009/06/12 14:48:03] @ nakano_ is now known as nakano | ||
| [2009/06/12 14:49:41] @ notbrien joined channel #puppet | ||
| [2009/06/12 14:54:48] @ notbrien_ joined channel #puppet | ||
| [2009/06/12 15:07:33] @ Quit: notbrien: Read error: 110 (Connection timed out) | ||
| [2009/06/12 15:08:04] @ notbrien joined channel #puppet | ||
| [2009/06/12 15:09:50] @ Quit: claymation: | ||
| [2009/06/12 15:10:54] @ claymation joined channel #puppet | ||
| [2009/06/12 15:19:13] @ claymation_ joined channel #puppet | ||
| [2009/06/12 15:19:38] @ Quit: claymation: Read error: 104 (Connection reset by peer) | ||
| [2009/06/12 15:24:04] @ Quit: jcesario: Remote closed the connection | ||
| [2009/06/12 15:24:39] @ Quit: lak: | ||
| [2009/06/12 15:24:42] @ Quit: notbrien_: Read error: 110 (Connection timed out) | ||
| [2009/06/12 15:25:14] @ WALoeIII joined channel #puppet | ||
| [2009/06/12 15:27:10] @ jcesario joined channel #puppet | ||
| [2009/06/12 15:32:34] @ Quit: casey: | ||
| [2009/06/12 15:40:42] @ kolla_ joined channel #puppet | ||
| [2009/06/12 15:40:45] @ poison joined channel #puppet | ||
| [2009/06/12 15:44:57] @ notbrien_ joined channel #puppet | ||
| [2009/06/12 15:47:23] @ Quit: notbrien: Read error: 60 (Operation timed out) | ||
| [2009/06/12 15:47:23] @ WALoeIII_ joined channel #puppet | ||
| [2009/06/12 15:48:33] @ Quit: WALoeIII: Read error: 60 (Operation timed out) | ||
| [2009/06/12 15:52:10] @ Quit: kolla: Read error: 113 (No route to host) | ||
| [2009/06/12 15:59:42] @ myself_ joined channel #puppet | ||
| [2009/06/12 15:59:52] @ myself_ left channel #puppet ("Leaving") | ||
| [2009/06/12 16:09:10] @ Quit: jhulten: Remote closed the connection | ||
| [2009/06/12 16:11:09] @ Welsh_Dwarf joined channel #puppet | ||
| [2009/06/12 16:11:16] @ Quit: WALoeIII_: Remote closed the connection | ||
| [2009/06/12 16:11:21] @ WALoeIII joined channel #puppet | ||
| [2009/06/12 16:12:47] @ lak joined channel #puppet | ||
| [2009/06/12 16:13:27] @ Quit: notbrien_: | ||
| [2009/06/12 16:22:49] @ notbrien joined channel #puppet | ||
| [2009/06/12 16:24:01] @ bjoern_ joined channel #puppet | ||
| [2009/06/12 16:39:32] @ Quit: poison: "Leaving..." | ||
| [2009/06/12 16:40:58] @ bjoern_ left channel #puppet ("Ex-Chat") | ||
| [2009/06/12 16:48:05] @ Quit: pleemans: Read error: 110 (Connection timed out) | ||
| [2009/06/12 16:50:47] @ Quit: johnf1911: Read error: 110 (Connection timed out) | ||
| [2009/06/12 16:55:16] @ Quit: Demosthenes: "leaving" | ||
| [2009/06/12 16:55:39] @ Quit: thegcat: | ||
| [2009/06/12 17:02:47] @ poison joined channel #puppet | ||
| [2009/06/12 17:02:48] @ nasrat joined channel #puppet | ||
| [2009/06/12 17:02:52] @ Quit: nasrat: Remote closed the connection | ||
| [2009/06/12 17:21:38] @ Quit: malraid: Remote closed the connection | ||
| [2009/06/12 17:28:24] @ keithlard joined channel #puppet | ||
| [2009/06/12 17:40:14] @ Quit: ezmob: "Leaving..." | ||
| [2009/06/12 17:41:07] @ Quit: flakrat: "Leaving" | ||
| [2009/06/12 17:41:26] @ malraid joined channel #puppet | ||
| [2009/06/12 17:42:52] <malraid> what's the best way to keep a directory in synch between all servers? i basically want to push some scripts to /usr/local/bin | ||
| [2009/06/12 17:43:23] <malraid> is it better to distribute them through puppet? or have puppet update the directory through subversion or something like that? | ||
| [2009/06/12 17:44:16] <wiqd> i'm no expert, but i would imagine the built in fileserver system is what you are after | ||
| [2009/06/12 17:45:32] <webx> http://pastie.org/510262 | ||
| [2009/06/12 17:45:55] <webx> I just created a new puppetmaster server (24.8) and that's my 24.8 client trying to connect | ||
| [2009/06/12 17:46:17] <webx> any idea what is going on there ? | ||
| [2009/06/12 17:46:19] <malraid> yes, i'm debating between using the puppet file server, and having puppet run svn update on the server | ||
| [2009/06/12 17:46:56] <wiqd> malraid: well your files should already be under version control before they hit the puppetmaster directory | ||
| [2009/06/12 17:47:05] <wiqd> malraid: so the latter option seems pointless | ||
| [2009/06/12 17:47:31] <malraid> well, that's a good point | ||
| [2009/06/12 17:47:42] @ notbrien_ joined channel #puppet | ||
| [2009/06/12 17:48:27] <wiqd> malraid: although, i really am no expert, so please don't take my suggestion as a good answer :P | ||
| [2009/06/12 17:48:47] <flashn> should he consider it a bad answer? | ||
| [2009/06/12 17:49:05] <wiqd> absolutely | ||
| [2009/06/12 17:49:19] <wiqd> but, the way i see it, it's the only answer he has right now | ||
| [2009/06/12 17:49:25] <wiqd> ;) | ||
| [2009/06/12 17:49:29] <malraid> it does make sense, that way if i have to roll back, i can just roll back changes in a centralized location | ||
| [2009/06/12 17:50:08] <lak> malraid: for larger sets of files, i recommend just using your version control | ||
| [2009/06/12 17:50:19] <flashn> yeah | ||
| [2009/06/12 17:50:32] <lak> webx: are you using mongrel without a proxy in front? | ||
| [2009/06/12 17:50:39] <lak> or are you trying to use voice commands over http? | ||
| [2009/06/12 17:50:42] <lak> :) i've never seen that | ||
| [2009/06/12 17:52:04] <webx> haha | ||
| [2009/06/12 17:52:08] <webx> mongrel without proxy | ||
| [2009/06/12 17:52:15] <webx> is that a nono? | ||
| [2009/06/12 17:52:34] @ fux joined channel #puppet | ||
| [2009/06/12 17:52:35] <webx> here's the puppetd output as well | ||
| [2009/06/12 17:52:37] <webx> http://pastie.org/510262 | ||
| [2009/06/12 17:52:40] @ Quit: bendsu: "Leaving." | ||
| [2009/06/12 17:52:40] <webx> updated paste | ||
| [2009/06/12 17:53:09] <malraid> lak: i'm just pushing some basic shell scripts (backup, maintenance,etc) , so it's like 20 - 30 files, less than 5MB, i'll try with puppet file server for now | ||
| [2009/06/12 17:53:56] <webx> is it because I haven't created a cert for "puppet.sv2.zynga.com" and it's not finding it? | ||
| [2009/06/12 17:54:16] <webx> just realized that I didn't have the right cert | ||
| [2009/06/12 17:56:34] @ Quit: ed209: Remote closed the connection | ||
| [2009/06/12 17:58:59] @ notbrien__ joined channel #puppet | ||
| [2009/06/12 17:59:17] @ plathrop is now known as plathrop-away | ||
| [2009/06/12 17:59:48] @ ed209 joined channel #puppet | ||
| [2009/06/12 18:02:04] @ Quit: delewis: "Leaving" | ||
| [2009/06/12 18:02:35] @ Quit: kngus: "Leaving." | ||
| [2009/06/12 18:04:04] @ Quit: notbrien: Read error: 110 (Connection timed out) | ||
| [2009/06/12 18:04:47] <webx> my configuration works fine when I don't use mongrel... | ||
| [2009/06/12 18:04:52] <webx> is mongrel only available via proxy ? | ||
| [2009/06/12 18:06:52] <jamesturnbull> hacim: we've removed the "Puppet Community" user - the request is styill actie and exists - joe-mac | ||
| [2009/06/12 18:07:13] <joe-mac> oooo i | ||
| [2009/06/12 18:07:13] <joe-mac> c | ||
| [2009/06/12 18:07:25] <jamesturnbull> joe-mac: but if you want to submit a patch.... :P | ||
| [2009/06/12 18:07:26] <hacim> jamesturnbull: ahhh ok | ||
| [2009/06/12 18:07:39] <joe-mac> yea i should be contributing more | ||
| [2009/06/12 18:07:43] <joe-mac> i aml azy | ||
| [2009/06/12 18:07:45] <lak> webx: yeah, you have to have a proxy in front | ||
| [2009/06/12 18:09:52] <hMz> when using ldap, how does one handle the difference between client and server for software? ie: do you just tag module::client on each node thats not a server? | ||
| [2009/06/12 18:10:10] <drmikecrowe> hey folks, can somebody help me develop a webmin recipe? http://ruby.pastebin.com/d20783e33 is where I am now | ||
| [2009/06/12 18:11:52] @ johnf1911 joined channel #puppet | ||
| [2009/06/12 18:12:02] <webx> question about ssh keys too.. it seems like the new version (24.8) will re-generate the authorize_keys file even if nothing has changed. is that by design ? | ||
| [2009/06/12 18:12:17] <webx> that was not the case in 24.5 or 24.6, afaik | ||
| [2009/06/12 18:12:20] <joe-mac> webx: i heard about a bug with that, but it doesn't happen to me | ||
| [2009/06/12 18:13:21] <jamesturnbull> webx: sounds like a bug - can you check Redmine - I think Francois fixed that for 0.25.0 | ||
| [2009/06/12 18:15:24] <mmcgrath> I'm trying to use seltype but it seems to be ignored. Anyone have any idea? I've got - http://pastebin.ca/1458313 | ||
| [2009/06/12 18:15:26] <drmikecrowe> question: How can I make a service dependent upon a file created by exec instructions? | ||
| [2009/06/12 18:15:30] @ Quit: notbrien_: Read error: 110 (Connection timed out) | ||
| [2009/06/12 18:15:35] <mmcgrath> after a puppet run I've got - user_u:object_r:var_lib_t | ||
| [2009/06/12 18:16:17] @ thegcat joined channel #puppet | ||
| [2009/06/12 18:16:20] <joe-mac> drmikecrowe: exec has a 'creates' parameter for that IIRC | ||
| [2009/06/12 18:16:24] <joe-mac> wiki:TypeReference | ||
| [2009/06/12 18:17:05] <gepetto> joe-mac: wiki: wiki:TypeReference is http://reductivelabs.com/trac/puppet/wiki/TypeReference | ||
| [2009/06/12 18:17:05] <joe-mac> #file | ||
| [2009/06/12 18:17:07] @ Quit: matty91: | ||
| [2009/06/12 18:17:07] <joe-mac> i guess gepetto isn't working | ||
| [2009/06/12 18:17:08] <drmikecrowe> joe-mac, right, I'm using that. Now, I'm trying to make the webmin service dependent upon that file that's created. However, I'm getting Could not find dependency File[/etc/webmin/version] | ||
| [2009/06/12 18:18:12] <joe-mac> require the exec will do it i think, i've never used this functionality... | ||
| [2009/06/12 18:18:32] <joe-mac> the exec won't run if the file is there | ||
| [2009/06/12 18:18:48] <joe-mac> it's like onlyif => '/usr/bin/test -e filename', i think | ||
| [2009/06/12 18:18:53] <joe-mac> or unless | ||
| [2009/06/12 18:18:57] <joe-mac> my brain is moosh right now | ||
| [2009/06/12 18:21:39] @ Djelibeybi joined channel #puppet | ||
| [2009/06/12 18:24:37] <jamesturnbull> gepetto: help | ||
| [2009/06/12 18:24:37] <gepetto> jamesturnbull: help topics: 10 core modules: auth, basics, config, filters, httputil, irclog, remote, unicode, userdata, wordlist; 8 plugins: debug, hudson, redmineurls, rss, seen, shortenurls, time, tracurls (help <topic> for more info) | ||
| [2009/06/12 18:26:28] <FreakGuard> gepetto: config get core.prefix | ||
| [2009/06/12 18:26:28] <gepetto> FreakGuard, you don't have 'config::show::get' permissions here | ||
| [2009/06/12 18:26:30] @ Kyreeth joined channel #puppet | ||
| [2009/06/12 18:26:31] <FreakGuard> :( | ||
| [2009/06/12 18:26:59] @ Quit: malraid: "ChatZilla 0.9.84 [Firefox 3.0.8/2009032711]" | ||
| [2009/06/12 18:30:17] <jamesturnbull> FreakGuard: what are you after? | ||
| [2009/06/12 18:30:30] <FreakGuard> jamesturnbull: core.address_prefix | ||
| [2009/06/12 18:30:31] @ notbrien__ is now known as notbrien | ||
| [2009/06/12 18:30:39] <jamesturnbull> FreakGuard: gepetto is my puppet .. doing my bidding :) | ||
| [2009/06/12 18:31:00] <FreakGuard> jamesturnbull: use config get core.address_prefix then ;) | ||
| [2009/06/12 18:31:22] <jamesturnbull> FreakGuard: it's ! | ||
| [2009/06/12 18:31:30] <Kyreeth> I've got a bit of a question with respect to ERB templates and facter.. Running facter on the command line gives me a fact 'ipaddress_lo:0', but that's not a valid variable within ruby. Any idea what it's translated to? | ||
| [2009/06/12 18:31:32] <FreakGuard> jamesturnbull: oke | ||
| [2009/06/12 18:31:45] <jamesturnbull> Kyreeth: what Facter version? | ||
| [2009/06/12 18:32:06] <jamesturnbull> Kyreeth: that's a known bug - it's fixed in 1.5.5+ | ||
| [2009/06/12 18:32:32] <drmikecrowe> way cool -- I have a recipe to install webmin from a .deb from sourceforge | ||
| [2009/06/12 18:33:14] <Kyreeth> Ah, I'm on 1.5.2. Hm, I guess I need to figure out how to upgrade. :> | ||
| [2009/06/12 18:33:26] <jamesturnbull> Kyreeth: what platform are yoiu on? | ||
| [2009/06/12 18:33:33] <Kyreeth> RHEL5. | ||
| [2009/06/12 18:33:43] <jamesturnbull> Kyreeth: EPEL has new packages | ||
| [2009/06/12 18:33:46] <FreakGuard> jamesturnbull: oh, and your book is nice... who put it to the puppet-wiki? ;) | ||
| [2009/06/12 18:33:47] <Kyreeth> Ah, awesome. | ||
| [2009/06/12 18:34:34] <Kyreeth> It is a good book, yes. I've got it on my Kindle, half-read. | ||
| [2009/06/12 18:34:42] <jamesturnbull> Kyreeth: I love the EPEL guys (in a platonic open source kind of way) | ||
| [2009/06/12 18:35:01] <Kyreeth> (Events overtook my being able to finish reading it, sadly. :>) | ||
| [2009/06/12 18:35:32] <jamesturnbull> FreakGuard: what do you mean? | ||
| [2009/06/12 18:35:42] <jamesturnbull> Kyreeth: well hope what you read helped | ||
| [2009/06/12 18:35:48] <FreakGuard> jamesturnbull: there are some similarities in the wiki | ||
| [2009/06/12 18:35:54] <Kyreeth> Definitely did. :> | ||
| [2009/06/12 18:36:00] <jamesturnbull> FreakGuard: yeah because I wrote most of that too :P | ||
| [2009/06/12 18:36:35] <Kyreeth> Figuring out ERB templating has been.. interesting. :> | ||
| [2009/06/12 18:36:35] <FreakGuard> jamesturnbull: fine work | ||
| [2009/06/12 18:36:40] <RageLink> yes | ||
| [2009/06/12 18:36:45] <RageLink> i just bought the book myself | ||
| [2009/06/12 18:36:49] <RageLink> :) | ||
| [2009/06/12 18:37:11] <FreakGuard> I don't have a credit card :( | ||
| [2009/06/12 18:37:18] @ Quit: mfournier: Read error: 113 (No route to host) | ||
| [2009/06/12 18:37:55] <jamesturnbull> RageLink: thanks! all goes to my mortgage :) | ||
| [2009/06/12 18:38:03] <RageLink> ;) | ||
| [2009/06/12 18:38:27] <RageLink> im currently working on a module for memcached | ||
| [2009/06/12 18:38:36] <FreakGuard> jamesturnbull: how much the shipping to europe? | ||
| [2009/06/12 18:38:41] <RageLink> so i should go back to that | ||
| [2009/06/12 18:39:21] <jamesturnbull> FreakGuard: I think Amazon.de sell it | ||
| [2009/06/12 18:40:41] <FreakGuard> jamesturnbull: oh, nice | ||
| [2009/06/12 18:40:47] <jamesturnbull> FreakGuard: and they do | ||
| [2009/06/12 18:41:06] <FreakGuard> jamesturnbull: just found it | ||
| [2009/06/12 18:41:17] * jamesturnbull loves looking at German Amazon "Wie lautet Ihre E-Mail-Adresse" :) | ||
| [2009/06/12 18:41:18] @ plathrop-away is now known as plathrop | ||
| [2009/06/12 18:41:22] @ Quit: ed209: Remote closed the connection | ||
| [2009/06/12 18:41:23] @ jmeeuwen joined channel #puppet | ||
| [2009/06/12 18:42:00] @ ed209 joined channel #puppet | ||
| [2009/06/12 18:42:04] @ Quit: schwifty: | ||
| [2009/06/12 18:42:35] @ Quit: bobbyz: Read error: 110 (Connection timed out) | ||
| [2009/06/12 18:49:34] @ Quit: joe-mac: "Leaving." | ||
| [2009/06/12 18:57:32] @ notbrien_ joined channel #puppet | ||
| [2009/06/12 18:57:51] @ nakano is now known as nakano_ | ||
| [2009/06/12 18:59:42] @ Quit: mfoster: "Leaving." | ||
| [2009/06/12 19:00:09] @ Quit: keithlard: | ||
| [2009/06/12 19:03:57] @ notbrien__ joined channel #puppet | ||
| [2009/06/12 19:04:35] @ Quit: notbrien__: Client Quit | ||
| [2009/06/12 19:05:16] <Kyreeth> JT: Looks like the latest version of facter in epel is 1.5.4. :/ | ||
| [2009/06/12 19:08:44] <Djelibeybi> Kyreeth: check EPEL-testing | ||
| [2009/06/12 19:08:53] <Kyreeth> Ah, epel-testing. Hrm. I might just have to grab the RPMs and drop them in my local repo, to hide the fact that they're -testing. :> | ||
| [2009/06/12 19:09:45] <Kyreeth> Any idea if I can just update facter, without updating puppet? | ||
| [2009/06/12 19:10:05] <Djelibeybi> Kyreeth: you can, just be sure to restart Puppet if you do | ||
| [2009/06/12 19:10:12] <Djelibeybi> I've had problems with Puppet hanging if I don't | ||
| [2009/06/12 19:10:31] <Kyreeth> Ouch. OK. | ||
| [2009/06/12 19:14:09] @ Quit: notbrien: Read error: 110 (Connection timed out) | ||
| [2009/06/12 19:17:36] @ Quit: lak: | ||
| [2009/06/12 19:18:47] <Kyreeth> Hrm. OK, so a normal subscribe won't work, because after puppet shuts itself down, there's nothing left to restart it. I guess I'll write a script with a sleep 300 && /etc/init.d/puppet restart. :> | ||
| [2009/06/12 19:20:21] <Kyreeth> .. Or I could just update puppet, too. | ||
| [2009/06/12 19:20:59] @ Quit: notbrien_: Read error: 110 (Connection timed out) | ||
| [2009/06/12 19:24:24] @ RageLink left channel #puppet ("Leaving") | ||
| [2009/06/12 19:24:37] @ RageLink joined channel #puppet | ||
| [2009/06/12 19:29:16] <Djelibeybi> Kyreeth: I have a cronjob that checks to see if Puppet is running | ||
| [2009/06/12 19:29:28] <Djelibeybi> (Pushed by Puppet, and Require'd by the restart) | ||
| [2009/06/12 19:30:19] <Kyreeth> Not a bad idea. | ||
| [2009/06/12 19:38:28] @ Quit: tecto: | ||
| [2009/06/12 19:48:00] <justindossey> hey, do nested classes inherit from their container classes the same way they would if they were declared with "inherits container-class" ? | ||
| [2009/06/12 20:00:24] @ Quit: claymation_: Read error: 110 (Connection timed out) | ||
| [2009/06/12 20:02:15] @ claymation joined channel #puppet | ||
| [2009/06/12 20:03:13] <hMz> how does one utilize ! in an if statement in 0.24.x? | ||
| [2009/06/12 20:04:24] <justindossey> hMz: I don't think you can | ||
| [2009/06/12 20:04:28] @ fujin joined channel #puppet | ||
| [2009/06/12 20:04:31] <justindossey> hMz: no expression evaluation | ||
| [2009/06/12 20:04:59] @ plathrop is now known as plathrop-away | ||
| [2009/06/12 20:05:02] <justindossey> hMz: are you talking about 0.24.6 or before? | ||
| [2009/06/12 20:15:59] @ nasrat joined channel #puppet | ||
| [2009/06/12 20:16:34] <nasrat> is marc fournier about? | ||
| [2009/06/12 20:20:49] <hMz> justindossey: yea 0.24.4 | ||
| [2009/06/12 20:21:53] <justindossey> hMz: prior to 0.24.6 you don't get evaluation of expressions in conditionals, so everything you evaluate has to be a simple boolean | ||
| [2009/06/12 20:22:17] <justindossey> hMz: you can work around the limitation by using unless instead of if when you want ! behavior | ||
| [2009/06/12 20:28:49] @ Quit: alfism: Read error: 104 (Connection reset by peer) | ||
| [2009/06/12 20:29:31] @ alfism joined channel #puppet | ||
| [2009/06/12 20:33:26] @ Quit: claymation: | ||
| [2009/06/12 20:35:46] @ alfism_ joined channel #puppet | ||
| [2009/06/12 20:47:09] @ Quit: justindossey: "Leaving." | ||
| [2009/06/12 20:50:46] @ Quit: alfism: Read error: 110 (Connection timed out) | ||
| [2009/06/12 21:34:15] @ tecto joined channel #puppet | ||
| [2009/06/12 21:58:51] @ mfoster joined channel #puppet | ||
| [2009/06/12 21:59:27] @ Quit: webx: "..(cyp): [BX] The Power Rangers use BitchX. Shouldn't you?" | ||
| [2009/06/12 22:02:28] @ Quit: wilturn: "Leaving" | ||
| [2009/06/12 22:02:35] @ WALoeIII_ joined channel #puppet | ||
| [2009/06/12 22:05:55] @ Quit: nasrat: | ||
| [2009/06/12 22:10:52] @ alex2 joined channel #puppet | ||
| [2009/06/12 22:14:35] @ alfism joined channel #puppet | ||
| [2009/06/12 22:18:19] @ Quit: WALoeIII: No route to host | ||
| [2009/06/12 22:19:16] @ Quit: WALoeIII_: No route to host | ||
| [2009/06/12 22:19:41] @ Quit: mfoster: Read error: 60 (Operation timed out) | ||
| [2009/06/12 22:26:01] @ WALoeIII joined channel #puppet | ||
| [2009/06/12 22:26:04] @ Quit: alfism_: Read error: 113 (No route to host) | ||
| [2009/06/12 22:47:41] @ Quit: alfism: Read error: 104 (Connection reset by peer) | ||
| [2009/06/12 23:02:25] @ sk8rhottie96 joined channel #puppet | ||
| [2009/06/12 23:02:27] @ soccerbabe26 joined channel #puppet | ||
| [2009/06/12 23:02:31] <soccerbabe26> hey | ||
| [2009/06/12 23:02:36] <sk8rhottie96> I'M A PUPPET | ||
| [2009/06/12 23:02:40] <soccerbabe26> yo | ||
| [2009/06/12 23:02:46] <sk8rhottie96> TESTING 1243 | ||
| [2009/06/12 23:02:49] <sk8rhottie96> 12 | ||
| [2009/06/12 23:02:50] <soccerbabe26> ha | ||
| [2009/06/12 23:02:51] <sk8rhottie96> 4 | ||
| [2009/06/12 23:02:52] <sk8rhottie96> 123 | ||
| [2009/06/12 23:03:06] <sk8rhottie96> yayayayayya | ||
| [2009/06/12 23:03:14] <soccerbabe26> hi | ||
| [2009/06/12 23:03:26] <sk8rhottie96> hhhhheeeeeeeey | ||
| [2009/06/12 23:03:29] <soccerbabe26> hi | ||
| [2009/06/12 23:03:59] <soccerbabe26> talk pppl | ||
| [2009/06/12 23:04:02] <soccerbabe26> ppl | ||
| [2009/06/12 23:04:05] <sk8rhottie96> i wanna take a ride on ur disco stick!!!! | ||
| [2009/06/12 23:04:10] <soccerbabe26> uhmm | ||
| [2009/06/12 23:04:12] <soccerbabe26> i wil | ||
| [2009/06/12 23:04:16] <soccerbabe26> i will | ||
| [2009/06/12 23:04:21] <soccerbabe26> dick | ||
| [2009/06/12 23:04:22] <sk8rhottie96> dotn think to much just bust that ..... | ||
| [2009/06/12 23:04:22] <soccerbabe26> dick | ||
| [2009/06/12 23:04:23] <soccerbabe26> dick | ||
| [2009/06/12 23:04:52] <sk8rhottie96> u dicks | ||
| [2009/06/12 23:04:57] <sk8rhottie96> BYE DICKS | ||
| [2009/06/12 23:10:09] @ Quit: sk8rhottie96: "You are fighting for survival in your own sweet and gentle way." | ||
| [2009/06/12 23:12:23] @ Quit: soccerbabe26: "Save energy: be apathetic." | ||
| [2009/06/12 23:17:35] @ Quit: ctso: Read error: 104 (Connection reset by peer) | ||
| [2009/06/12 23:32:23] @ thegcat_ joined channel #puppet | ||
| [2009/06/12 23:48:49] @ Quit: thegcat: Read error: 110 (Connection timed out) |
Generated by irclog2html.py 2.6 by Marius Gedminas - find it at mg.pov.lt!