Monday, 2010-06-07

[2010/06/07 00:01:30] @ Log started by gepetto
[2010/06/07 00:01:30] @ AimanA is now known as HouseAway
[2010/06/07 00:03:06] @ bgupta joined channel #puppet
[2010/06/07 00:07:20] @ gaveen joined channel #puppet
[2010/06/07 00:07:41] @ Quit: rodnet_: Read error: Connection reset by peer
[2010/06/07 00:07:42] @ rodnet joined channel #puppet
[2010/06/07 00:08:05] @ Quit: Michael_Kang: Quit: ChatZilla 0.9.86 [Firefox 3.6.3/20100401064631]
[2010/06/07 00:11:37] @ cmoates joined channel #puppet
[2010/06/07 00:11:59] @ varworld_ joined channel #puppet
[2010/06/07 00:14:20] @ Quit: varworld: Ping timeout: 265 seconds
[2010/06/07 00:14:20] @ varworld_ is now known as varworld
[2010/06/07 00:24:15] @ Quit: emarshall: Quit: emarshall
[2010/06/07 00:38:06] @ Quit: acrollet: Ping timeout: 245 seconds
[2010/06/07 00:38:51] @ bodepd joined channel #puppet
[2010/06/07 00:44:33] @ acrollet joined channel #puppet
[2010/06/07 00:46:34] @ Quit: varworld: Quit: varworld
[2010/06/07 00:52:52] @ nexx joined channel #puppet
[2010/06/07 00:54:00] @ Quit: wilmoore: Read error: Operation timed out
[2010/06/07 00:56:24] @ wilmoore joined channel #puppet
[2010/06/07 01:24:16] @ allsystemsarego joined channel #puppet
[2010/06/07 01:44:39] @ PaulWay[w] joined channel #puppet
[2010/06/07 01:44:47] <PaulWay[w]> Hi all!
[2010/06/07 01:45:01] @ snerd joined channel #puppet
[2010/06/07 01:45:03] <PaulWay[w]> Can I use an unless _and_ an onlyif clause in an exec definition?
[2010/06/07 01:45:38] <bodepd> they are used to qualify rather an exec should run.
[2010/06/07 01:45:52] <PaulWay[w]> Sure.
[2010/06/07 01:45:57] <PaulWay[w]> qualify whether, I assum.e
[2010/06/07 01:46:10] <PaulWay[w]> I'm trying to put a rule in iptables.
[2010/06/07 01:46:23] <PaulWay[w]> And I want to make sure that it's running with another rule already.
[2010/06/07 01:46:42] <bodepd> thats an appropriate use. you may also want to consider using require
[2010/06/07 01:46:52] <PaulWay[w]> So the only time I want the rule added is if the other rule is there and that rule is not there.
[2010/06/07 01:48:12] <bodepd> just make sure that you also dont add the rule if it already exists.
[2010/06/07 01:49:46] <bodepd> uggh, I'm giving bad advice.
[2010/06/07 01:49:55] <bodepd> it doesnt work like that at all
[2010/06/07 01:50:35] <PaulWay[w]> Well, I generally want to avoid that, yes ;-)
[2010/06/07 01:51:51] @ ckauhaus joined channel #puppet
[2010/06/07 01:52:33] <bodepd> PaulWay: sorry, my brain is broken. that will work, but usually its intended to be used to ensure that execs only run when they have to.
[2010/06/07 01:53:04] <PaulWay[w]> Well, I'm doing that too.
[2010/06/07 01:53:59] <bodepd> why isnt puppet managing the first rule?
[2010/06/07 01:57:41] @ gebi joined channel #puppet
[2010/06/07 01:59:19] @ Quit: ckauhaus: Ping timeout: 276 seconds
[2010/06/07 01:59:58] @ Quit: bodepd: Quit: bodepd
[2010/06/07 02:00:56] @ shug joined channel #puppet
[2010/06/07 02:02:44] @ ckauhaus joined channel #puppet
[2010/06/07 02:07:52] @ Quit: kolla: Ping timeout: 272 seconds
[2010/06/07 02:08:46] @ giskard joined channel #puppet
[2010/06/07 02:09:00] @ kolla joined channel #puppet
[2010/06/07 02:10:01] @ Quit: andrew3: Quit: Leaving.
[2010/06/07 02:13:13] @ Quit: gebi: Ping timeout: 252 seconds
[2010/06/07 02:14:14] @ Quit: Maliuta: Remote host closed the connection
[2010/06/07 02:14:26] @ m1nish joined channel #puppet
[2010/06/07 02:14:51] @ Quit: kolla: Read error: Operation timed out
[2010/06/07 02:14:52] @ Maliuta joined channel #puppet
[2010/06/07 02:15:12] @ gebi joined channel #puppet
[2010/06/07 02:26:42] @ \ask joined channel #puppet
[2010/06/07 02:31:14] @ Quit: alban2: Ping timeout: 258 seconds
[2010/06/07 02:32:19] @ bodepd joined channel #puppet
[2010/06/07 02:34:10] @ Quit: bodepd: Client Quit
[2010/06/07 02:35:26] @ Quit: giskard: Remote host closed the connection
[2010/06/07 02:36:42] @ pmorillo joined channel #puppet
[2010/06/07 02:38:00] @ acrollet_ joined channel #puppet
[2010/06/07 02:38:06] @ Quit: wilmoore: Remote host closed the connection
[2010/06/07 02:39:18] @ Quit: acrollet: Read error: Connection reset by peer
[2010/06/07 02:39:29] <PaulWay[w]> What do I have to do to fix a "could not request certificate: execution expired"?
[2010/06/07 02:39:46] <PaulWay[w]> Is it just a firewall problem (i.e. host can't talk to puppetmaster) or is it something else?
[2010/06/07 02:43:30] @ Quit: acrollet_: Quit: acrollet_
[2010/06/07 02:44:36] @ Quit: ckauhaus: Ping timeout: 272 seconds
[2010/06/07 02:45:03] <PaulWay[w]> Looks like a firewall issue.
[2010/06/07 02:46:21] @ Quit: rodnet: Read error: Connection reset by peer
[2010/06/07 02:46:21] @ rodnet_ joined channel #puppet
[2010/06/07 02:54:56] @ sdog joined channel #puppet
[2010/06/07 02:55:45] @ Quit: sdog: Changing host
[2010/06/07 02:55:45] @ sdog joined channel #puppet
[2010/06/07 02:56:10] @ Llama joined channel #puppet
[2010/06/07 02:57:17] <Llama> Hello. How can I get some hardware information from puppet ? I have to apply some code only to my blade-server. A there any solution for DMI interface ?
[2010/06/07 02:57:52] <gebi> facter plugin
[2010/06/07 02:58:36] <ohadlevy> Llama: there is already a dmidecode fact
[2010/06/07 03:00:16] <Llama> ohadlevy, do you mean this http://projects.puppetlabs.com/projects/puppet/wiki/Dmidecode_Patterns ?
[2010/06/07 03:00:33] <ohadlevy> Llama: no, if you install a recent version of facter, they are already included in it
[2010/06/07 03:01:19] <Llama> ohadlevy, is 1.5.1 recent ?
[2010/06/07 03:01:35] <ohadlevy> Llama: probably not enough :)
[2010/06/07 03:02:50] @ Quit: rodnet_: Quit: rodnet_
[2010/06/07 03:03:09] @ Quit: gebi: Ping timeout: 240 seconds
[2010/06/07 03:03:29] <nico> ohadlevy: I don't see dmidecode facts with 1.5.7
[2010/06/07 03:03:39] <ohadlevy> nico: do you run it as root?
[2010/06/07 03:04:17] @ giskard joined channel #puppet
[2010/06/07 03:04:53] <Llama> Is 1.5.7 enough ?
[2010/06/07 03:05:10] <nico> ohadlevy: humm same results (no big difference)
[2010/06/07 03:05:22] <nico> but I don't know what to expect :)
[2010/06/07 03:05:47] <ohadlevy> nico, I am quite sure dmidecode works - do you have the dmidecode binary?
[2010/06/07 03:05:49] <ohadlevy> Llama: yep
[2010/06/07 03:06:01] <nico> ohadlevy: yes of course :D
[2010/06/07 03:06:18] <ohadlevy> nico: it works here (e.g. type, productname etc)
[2010/06/07 03:06:48] <Llama> ohadlevy, could you please give me an example of usage ?
[2010/06/07 03:07:01] <ohadlevy> Llama: sudo facter |grep type
[2010/06/07 03:07:15] <nico> ohadlevy: ho
[2010/06/07 03:07:27] <nico> ohadlevy: I was looking for "more" informations
[2010/06/07 03:07:45] <nico> like memory banks and this kind of things :)
[2010/06/07 03:08:12] <ohadlevy> nico: when I wrote the fact, it had support to defining what you are searching, later on it was trimmed down, but thats easily changeable
[2010/06/07 03:08:36] <nico> ohadlevy: okay. How do you decide the "type" ?
[2010/06/07 03:09:47] <Llama> whoops, dmi doe not works inside Xen domU :D
[2010/06/07 03:10:08] <ohadlevy> nico: look at the manufacturer.rb
[2010/06/07 03:10:42] <nico> ohadlevy: in your github facter ?
[2010/06/07 03:10:51] <ohadlevy> no, in your facter directory ;)
[2010/06/07 03:13:17] <nico> ok got it
[2010/06/07 03:13:55] @ Quit: pinoyskull: Quit: Leaving
[2010/06/07 03:17:14] @ ckauhaus joined channel #puppet
[2010/06/07 03:28:04] @ jense joined channel #puppet
[2010/06/07 03:28:27] @ wilmoore joined channel #puppet
[2010/06/07 03:30:02] @ PaulWay[w] left channel #puppet ("I must go, there are too many tangrams on this channel.")
[2010/06/07 03:35:07] @ benoit_ joined channel #puppet
[2010/06/07 03:37:10] @ Quit: ckauhaus: Ping timeout: 272 seconds
[2010/06/07 03:38:35] @ Quit: msf: Ping timeout: 240 seconds
[2010/06/07 03:39:39] @ Quit: benoit_: Ping timeout: 240 seconds
[2010/06/07 03:44:31] @ verwilst joined channel #puppet
[2010/06/07 03:54:43] @ Quit: pixie79: Read error: Connection reset by peer
[2010/06/07 03:57:19] @ ckauhaus joined channel #puppet
[2010/06/07 04:01:46] @ TREllis joined channel #puppet
[2010/06/07 04:06:30] @ thegcat joined channel #puppet
[2010/06/07 04:07:00] @ MattyM joined channel #puppet
[2010/06/07 04:20:07] @ fluxdude joined channel #puppet
[2010/06/07 04:21:42] <fluxdude> I have a recurse on a directory, which puts all the necessary files in the directory in the right place, the problem is that this triggers a double restart of a service that is subscribed to the directory resource
[2010/06/07 04:21:56] @ alban2 joined channel #puppet
[2010/06/07 04:22:26] <masterzen> fluxdude: double restart?
[2010/06/07 04:22:32] <Volcane> yeah, someone needs to file a bug if not there already
[2010/06/07 04:22:36] <Volcane> masterzen: the thing i spoke about the other day
[2010/06/07 04:22:37] <fluxdude> the reason is that when the files are updated, the service restarts as desired, but on the next run it logs the checksum of the directory as different (since it just updated the directory contents on the last run!) and then again triggers a restart even when nothing else has changed
[2010/06/07 04:22:42] <masterzen> Volcane: oh I see
[2010/06/07 04:22:58] <fluxdude> is there a way around this short of not recursing and listing every single file individually?
[2010/06/07 04:23:17] <Volcane> you could try fiddling the checksum options, but i am not sure what the side effects will be on the files in teh dir
[2010/06/07 04:23:27] <fluxdude> it's so silly to trigger a restart on directory checksum changes because all the config files are the same
[2010/06/07 04:23:36] <fluxdude> wish there was an option for controlling this
[2010/06/07 04:23:48] <Volcane> fluxdude: file a bug
[2010/06/07 04:24:15] <fluxdude> has no one come across this before?
[2010/06/07 04:24:16] @ Quit: TREllis: Quit: leaving
[2010/06/07 04:24:34] @ TREllis joined channel #puppet
[2010/06/07 04:24:37] <Volcane> i have
[2010/06/07 04:25:00] <ohadlevy> new foreman is out :)
[2010/06/07 04:25:04] <Volcane> i was able to structure my code in a way that avoided it, but still have 1 or 2 instances of it
[2010/06/07 04:25:11] <Volcane> ohadlevy: but is there new screenshots yet? :P
[2010/06/07 04:25:23] @ Quit: freshtonic: Quit: freshtonic
[2010/06/07 04:25:36] <ohadlevy> volcane: no just this - http://imgur.com/jSGbB.png
[2010/06/07 04:26:03] <Volcane> kewl, will play
[2010/06/07 04:26:16] <Volcane> hopefully, unlike some other web ui, it renders fine in firefox :P
[2010/06/07 04:26:32] <ohadlevy> Volcane: it should, and this time you also get rpm :)
[2010/06/07 04:26:54] <ohadlevy> deb will follow soon
[2010/06/07 04:27:06] <Volcane> oh? where, noton the download page
[2010/06/07 04:27:45] <Volcane> ah there's a repo
[2010/06/07 04:27:51] <Volcane> my poor shitty VM :P
[2010/06/07 04:28:16] <Volcane> but the repo 404s
[2010/06/07 04:29:23] @ spawnyd joined channel #puppet
[2010/06/07 04:29:29] <Volcane> ah, only if trying to list the contents
[2010/06/07 04:30:56] <ohadlevy> Volcane: yeah, thats because i dont have directory index ;)
[2010/06/07 04:31:45] <Volcane> can make you a 2nd vhost if you dont want to route all these requests through redmine
[2010/06/07 04:31:48] <ohadlevy> Volcane: srpm is there too
[2010/06/07 04:32:02] <ohadlevy> Volcane: might be an issue now that everyone have the repo
[2010/06/07 04:32:03] <ohadlevy> :(
[2010/06/07 04:32:09] <Volcane> yeah
[2010/06/07 04:32:31] <ohadlevy> Volcane: I'll have to redo it once I'll add more repos (e.g. for F13, RHEL6)
[2010/06/07 04:32:56] <ohadlevy> Volcane: and if the volume is too high, I'll probably remove it from that vhost
[2010/06/07 04:32:57] <Volcane> k, gimme a shout then I'll add you a vhost
[2010/06/07 04:33:09] <Volcane> nah its fine so far
[2010/06/07 04:33:11] <ohadlevy> Volcane: let me know how you find the new version :)
[2010/06/07 04:34:00] <ohadlevy> last version has 112 tickets.... booo
[2010/06/07 04:37:13] @ mattock joined channel #puppet
[2010/06/07 04:41:30] <Volcane> where's the thing again to import reports from disk?
[2010/06/07 04:41:49] <ohadlevy> Volcane: ./script/console?
[2010/06/07 04:41:56] <ohadlevy> ./script/console production
[2010/06/07 04:42:09] <ohadlevy> Report.import
[2010/06/07 04:42:12] <Volcane> yeh i mean the wiki page that says how :)
[2010/06/07 04:42:29] <ohadlevy> Volcane: i didnt add support for importing old reports :) new ones are far more interesting ;)
[2010/06/07 04:42:36] <ohadlevy> but its a oneliner
[2010/06/07 04:43:14] <Volcane> well for evaluating its easy to just copy my recent reports onto a dev node and import them
[2010/06/07 04:43:27] <ohadlevy> Volcane: one sec, I'll create a gist
[2010/06/07 04:43:27] <Volcane> else just evaluating means i need to make it speak to production
[2010/06/07 04:43:34] <Volcane> not exactly feasable :)
[2010/06/07 04:44:06] <Volcane> something like the rake puppet:import:hosts_and_facts would be great
[2010/06/07 04:46:13] @ mikepea joined channel #puppet
[2010/06/07 04:46:37] @ bronto joined channel #puppet
[2010/06/07 04:47:40] <ohadlevy> Volcane: not tested - http://gist.github.com/428394
[2010/06/07 04:47:50] <ohadlevy> Volcane: I'll add a rack task, too late for this release :)
[2010/06/07 04:48:08] <Volcane> :) i am sure i remember there was a easy way in the past
[2010/06/07 04:48:16] <Volcane> maybe i remember wrong
[2010/06/07 04:52:17] <ohadlevy> Volcane: try the puppetdoc integration
[2010/06/07 04:53:48] <Volcane> no joy from this reports integrator, Report.import returns false
[2010/06/07 04:54:09] @ nimrod10 joined channel #puppet
[2010/06/07 04:58:09] @ Quit: wilmoore: Remote host closed the connection
[2010/06/07 04:58:42] @ wilmoore joined channel #puppet
[2010/06/07 04:59:20] @ sideshow joined channel #puppet
[2010/06/07 04:59:45] <sideshow> hi, can i see on my puppetmaster all information provided by my facter's client ?
[2010/06/07 04:59:49] @ sdog left channel #puppet ()
[2010/06/07 05:01:59] <Volcane> ah
[2010/06/07 05:02:07] <Volcane> i need to install rrd stuff on the foreman machine
[2010/06/07 05:02:08] <Volcane> Failed to process report for ast3.uk.genzee.net due to:undefined method `name' for "RRDtool":String
[2010/06/07 05:02:38] @ Dieter joined channel #puppet
[2010/06/07 05:03:08] <Dieter> is it possible to integrate puppet's facts into a centralized inventory tool ? ( ocsinventory ... )
[2010/06/07 05:03:13] <Dieter> and if so, what do you recommend ?
[2010/06/07 05:03:19] @ Quit: wilmoore: Ping timeout: 265 seconds
[2010/06/07 05:05:20] <ohadlevy> Dieter: checkout Foreman
[2010/06/07 05:05:52] <Dieter> ohadlevy: i've seen it, but can't get it to work properly. I work in a big company and they prefer more established tools ...
[2010/06/07 05:06:40] <ohadlevy> Dieter: there is a new version, what were you issues with it?
[2010/06/07 05:07:23] <spawnyd> sideshow: /var/puppet/yaml/facts
[2010/06/07 05:07:54] <sideshow> spawnyd:thank you
[2010/06/07 05:08:38] <Dieter> ohadlevy: I don't remember, it has been a while, let me recheck
[2010/06/07 05:08:48] <Dieter> but other than theforeman ?
[2010/06/07 05:08:59] <ohadlevy> Dieter: not afaik
[2010/06/07 05:09:16] <Dieter> ok, thanks.
[2010/06/07 05:10:34] <ohadlevy> Volcane: sorry, i was partly away, is it one report or all?
[2010/06/07 05:10:40] <Volcane> meh, installing RRD stuff didnt help
[2010/06/07 05:10:53] <Volcane> lots, seems like all
[2010/06/07 05:10:59] <ohadlevy> Volcane: where do you get this error?
[2010/06/07 05:11:07] <Volcane> log/production.log
[2010/06/07 05:11:19] <Volcane> when doing Report.import
[2010/06/07 05:11:34] <ohadlevy> Volcane: maybe my hack is wrong :)
[2010/06/07 05:11:39] <Volcane> it seems fine
[2010/06/07 05:11:44] <Volcane> the import method should do it
[2010/06/07 05:12:09] @ Quit: giskard: Remote host closed the connection
[2010/06/07 05:12:33] <ohadlevy> Volcane: are these really old reports ( there were some changes to the report structure back in 0.24.x days)
[2010/06/07 05:12:41] <Volcane> they're new
[2010/06/07 05:12:59] <Volcane> they have rrd.rrdname not rrd.name
[2010/06/07 05:12:59] @ giskard joined channel #puppet
[2010/06/07 05:14:36] <ohadlevy> Volcane: there should be no connection to the rrd gem
[2010/06/07 05:15:55] @ thdem joined channel #puppet
[2010/06/07 05:18:06] <Volcane> looks like its the zaml stuff throwing the exception
[2010/06/07 05:18:57] <ohadlevy> does require 'zaml' help?
[2010/06/07 05:19:18] <Volcane> http://pastie.org/994696
[2010/06/07 05:20:00] <Volcane> (i added some details to the exception Report.import logs)
[2010/06/07 05:21:57] <ohadlevy> Volcane: hmm.. we can try the http post approach too
[2010/06/07 05:22:16] <Volcane> r = YAML.load(File.read("p/reports/ast3...../201006051724.yaml")).to_yaml
[2010/06/07 05:22:19] <Volcane> NoMethodError: undefined method `name' for "RRDtool":String
[2010/06/07 05:22:35] * Volcane smells a puppet bug
[2010/06/07 05:22:53] <blkperl> quick step on it
[2010/06/07 05:25:05] @ mauve joined channel #puppet
[2010/06/07 05:25:21] <Volcane> that same one line works fine in 0.25.4
[2010/06/07 05:26:25] <Volcane> though why foreman seems to trigger a deserializing and serializing again i dont know
[2010/06/07 05:26:37] <ohadlevy> Volcane: I guess this doenst happen when you use the native report
[2010/06/07 05:26:59] <ohadlevy> Volcane: it serialize again to save part of the report as text in the db
[2010/06/07 05:27:50] <mauve> Hi, I can't seem to access all variables in scope from within templates. Templates should be able to see all variables that are in scope, right?
[2010/06/07 05:29:16] <Volcane> ohadlevy: #v
[2010/06/07 05:29:21] <Volcane> #3949
[2010/06/07 05:29:21] <gepetto> Volcane: #3949 is http://projects.puppetlabs.com/issues/show/3949 "Puppet - Bug #3949: Zaml undefined method `name' for "RRDtool":String - PuppetLabs.com"
[2010/06/07 05:33:16] <ohadlevy> Volcane: I'm wondering if this happens when you use the native report... I'll play around too
[2010/06/07 05:33:36] <ohadlevy> Volcane: in anycase, just by importing the facts and puppet classes you should be able to see a lot of data on your hosts already
[2010/06/07 05:33:50] <ohadlevy> including the new search functionality :)
[2010/06/07 05:34:18] @ Quit: gaveen: Ping timeout: 265 seconds
[2010/06/07 05:45:01] @ PsychoSid joined channel #puppet
[2010/06/07 05:48:13] @ tim__ joined channel #puppet
[2010/06/07 05:49:26] <tim__> hi, I've got a question about the include syntax
[2010/06/07 05:49:34] <tim__> when I use include "check_customisations.pp" I get:
[2010/06/07 05:49:41] <tim__> Could not find class check_customisations.pp at /etc/puppet/modules/nagios/manifests/init.pp:1 on node puppet.hq.eso.org
[2010/06/07 05:50:04] <tim__> check_customisations.pp is in the same directory (the manifests directory of my module)
[2010/06/07 05:50:27] <Dominic> you want to "import" the .pp, then "include" the class inside it
[2010/06/07 05:51:34] <tim__> thanks, that did it. however there's no class inside that file - just declarations of series of variables
[2010/06/07 05:51:49] <tim__> I assume those variables will still be imported into the namespace?
[2010/06/07 05:52:23] <Dominic> I think so, not certain
[2010/06/07 05:59:09] @ gebi joined channel #puppet
[2010/06/07 05:59:24] @ Quit: sideshow: Quit: Page closed
[2010/06/07 06:00:47] <Dieter> undefined method `hostgroup_id'
[2010/06/07 06:00:53] <Dieter> i get this in foreman, anyone ?
[2010/06/07 06:01:19] <Dieter> or how i can find out what's wrong ?
[2010/06/07 06:18:09] <Volcane> ohadlevy: would be nice to be able to import classes.txt :P
[2010/06/07 06:18:56] @ malikai joined channel #puppet
[2010/06/07 06:23:43] @ pinoyskull joined channel #puppet
[2010/06/07 06:24:34] @ Quit: m1nish: Quit: Leaving
[2010/06/07 06:25:26] @ Quit: pinoyskull: Client Quit
[2010/06/07 06:30:04] @ Quit: ckauhaus: Ping timeout: 272 seconds
[2010/06/07 06:30:07] @ benoit_ joined channel #puppet
[2010/06/07 06:30:19] @ Quit: bgupta: Quit: bgupta
[2010/06/07 06:33:52] @ yatesy left channel #puppet ()
[2010/06/07 06:34:09] @ Quit: beata-:
[2010/06/07 06:36:27] @ Quit: tim__: Remote host closed the connection
[2010/06/07 06:37:32] @ Quit: snerd: Remote host closed the connection
[2010/06/07 06:38:47] @ gazzerh joined channel #puppet
[2010/06/07 06:41:54] @ ckauhaus joined channel #puppet
[2010/06/07 06:42:07] @ suchu joined channel #puppet
[2010/06/07 06:44:59] @ Ramonster joined channel #puppet
[2010/06/07 06:48:20] @ Quit: Ramonster: Client Quit
[2010/06/07 06:48:43] @ Ramonster joined channel #puppet
[2010/06/07 06:52:08] @ m1nish joined channel #puppet
[2010/06/07 06:52:29] @ pinoyskull joined channel #puppet
[2010/06/07 06:57:51] @ emarshall joined channel #puppet
[2010/06/07 07:01:11] @ gaveen joined channel #puppet
[2010/06/07 07:12:22] @ vachon joined channel #puppet
[2010/06/07 07:22:26] <malikai> this is probably a silly question, but is it possible to tell a notify script to do a reload or restart specifically?
[2010/06/07 07:22:44] <Volcane> nope
[2010/06/07 07:22:46] @ bgupta joined channel #puppet
[2010/06/07 07:23:00] <malikai> so notify only does restart?
[2010/06/07 07:23:09] <Volcane> yes
[2010/06/07 07:23:25] <Volcane> you can tell the service restore that restart is reload
[2010/06/07 07:23:28] <Volcane> but then its *always* reload
[2010/06/07 07:23:43] <Volcane> we discussed this at puppetcamp, ppl seemed to accept that its a feature worth having
[2010/06/07 07:23:44] <malikai> i see.. hrm
[2010/06/07 07:24:00] <malikai> i agree it's worth having
[2010/06/07 07:24:11] @ Quit: emarshall: Quit: emarshall
[2010/06/07 07:24:24] <malikai> i can live without it but would live a better life with it :)
[2010/06/07 07:25:50] <malikai> it would be nice to do something like notify => Service["blah", reload] for example
[2010/06/07 07:26:20] <malikai> but that may be impractical.. i don't know for sure
[2010/06/07 07:27:01] <Volcane> yeah, I'll open a feature request for it since i brought it up at puppetcamp
[2010/06/07 07:27:07] <mikepea> malikai: the workaround is to set up an exec that does the reload, and notify that instead.
[2010/06/07 07:27:17] @ vachon left channel #puppet ()
[2010/06/07 07:27:24] @ vachon joined channel #puppet
[2010/06/07 07:27:33] <malikai> mike, like a second service name and have it specifically do a reload?
[2010/06/07 07:27:45] <vachon> hey everyone, anyone know what VM's I should have preloaded for a puppet training?
[2010/06/07 07:28:33] @ Quit: gaveen: Ping timeout: 276 seconds
[2010/06/07 07:29:37] @ DavidS joined channel #puppet
[2010/06/07 07:30:05] <mikepea> malikai: kind of, though not using a service resource - do something like http://pastie.org/994806
[2010/06/07 07:30:27] <mikepea> then you'd to notify => Exec["postgresql.reload"]
[2010/06/07 07:30:39] <mikepea> s/to/do/
[2010/06/07 07:31:22] <malikai> oh interesting.. i didn't know that was how exec worked
[2010/06/07 07:31:33] <malikai> that opens up some doors
[2010/06/07 07:31:41] <malikai> thanks mike :)
[2010/06/07 07:31:54] <mikepea> refreshonly is pretty handy - only gets called if puppet notifies it.
[2010/06/07 07:31:58] <mikepea> np :)
[2010/06/07 07:32:13] <malikai> yea that's great
[2010/06/07 07:32:48] <malikai> i've been itching for something like refreshonly/exec for a while
[2010/06/07 07:33:09] <malikai> now i can undo some really dirty stuff :)
[2010/06/07 07:33:10] @ kolla joined channel #puppet
[2010/06/07 07:33:14] @ groove joined channel #puppet
[2010/06/07 07:33:18] @ Quit: pinoyskull: Ping timeout: 258 seconds
[2010/06/07 07:33:29] <vachon> malikai: it was never dirty... it was "scrappy"
[2010/06/07 07:34:02] <malikai> some people here may find it "shanty".. but i'm just learning :)
[2010/06/07 07:34:28] <groove> hi all, i just hacked up a simple manifest to create bonded network interfaces on redhat - http://pastebin.com/Thsjf5ER
[2010/06/07 07:34:45] <groove> it fails because i have used nested definitions, is there a better way (that works) to do this?
[2010/06/07 07:34:50] @ Quit: m1nish: Ping timeout: 258 seconds
[2010/06/07 07:35:12] <groove> i'm not even really sure some of the things i've done with variables would work
[2010/06/07 07:35:19] <Volcane> groove: nested definitions work fine
[2010/06/07 07:35:44] <groove> Volcane: oh, has this changed in recent versions?
[2010/06/07 07:35:53] <Volcane> nope
[2010/06/07 07:36:00] <groove> i just got "err: Could not parse for environment production: Cannot nest definition network::slave inside network::bond" from my test run
[2010/06/07 07:36:10] <Volcane> hmm
[2010/06/07 07:36:32] <Volcane> that is weird, let me check something
[2010/06/07 07:36:44] @ pinoyskull joined channel #puppet
[2010/06/07 07:36:55] @ moop23 joined channel #puppet
[2010/06/07 07:37:08] <malikai> groove, you've got Fedora defined as Febora in your $operatingsystem case statement
[2010/06/07 07:37:11] <groove> i am using 0.25.4 at the moment
[2010/06/07 07:37:19] <vachon> ouch
[2010/06/07 07:37:30] <Volcane> http://www.pastie.org/994814
[2010/06/07 07:37:37] <groove> malikai: thanks, i don't actually use Fedora but i put it in there anyway
[2010/06/07 07:37:58] <malikai> just in case :)
[2010/06/07 07:38:04] <Volcane> it seems fine to me
[2010/06/07 07:39:27] <ohadlevy> Dieter: did you migrate your db?
[2010/06/07 07:40:04] <ohadlevy> Volcane: for that I would need to import it from each host :(
[2010/06/07 07:40:18] @ gaveen joined channel #puppet
[2010/06/07 07:40:25] <mikepea> can you do variable interpolation in define argument definitions now? I didn't think that worked (but i'm basing that on 0.24 behaviour...
[2010/06/07 07:40:34] <mikepea> eg: define network::slave($master = '', $device = "${name}", $hwaddr = "$macaddress_${name}") {
[2010/06/07 07:40:39] <Volcane> ohadlevy: leave that to the user though, just give them a way to say 'here is node classes.txt for foo'
[2010/06/07 07:40:40] <groove> i'm not sure!
[2010/06/07 07:40:52] <Volcane> mikepea: yeha you cant do that
[2010/06/07 07:40:54] <groove> maybe that is causing a red herring error report
[2010/06/07 07:41:11] <Volcane> mikepea: well, you probably can but $name will be the name of the class that the resource is in:)
[2010/06/07 07:41:43] <mikepea> Volcane: heh, ew...
[2010/06/07 07:42:30] @ blahdeblah joined channel #puppet
[2010/06/07 07:42:43] <vachon> Volcane: do you happen to know the answer to my previous question? (what VM's are needed for a puppet training)
[2010/06/07 07:43:14] <Volcane> nope
[2010/06/07 07:45:40] <mikepea> vachon: my collegue gilesw went on the dev training a couple of months ago, I'll ask him when he gets back from lunch in about an hour.
[2010/06/07 07:45:47] @ Quit: Insyte: Ping timeout: 260 seconds
[2010/06/07 07:46:29] <vachon> great, thanks
[2010/06/07 07:46:33] <groove> ok, part of my problem may be with the variables inside variables, is it at all possible to do this? "$macaddress_${name}"
[2010/06/07 07:46:41] <vachon> i wanted to go to that one, just didnt line up
[2010/06/07 07:47:42] <mikepea> groove: we do what you are trying to do by using variable assignment logic inside the define itself. let me dig up an example...
[2010/06/07 07:48:01] <groove> mikepea: thanks, i really don't want to (poorly) reinvent the wheel
[2010/06/07 07:49:05] @ afletcher joined channel #puppet
[2010/06/07 07:50:05] @ Quit: afletcher: Client Quit
[2010/06/07 07:50:06] @ DavidS1 joined channel #puppet
[2010/06/07 07:50:29] @ afletcher joined channel #puppet
[2010/06/07 07:51:22] <mikepea> groove: actually, can you post your network/ifcfg-eth.erb template, and i'll pastie an example network::slave define
[2010/06/07 07:51:51] @ m1nish joined channel #puppet
[2010/06/07 07:52:05] @ Quit: DavidS: Ping timeout: 258 seconds
[2010/06/07 07:52:25] <groove> mikepea: http://pastebin.com/9Wj9e2hX
[2010/06/07 07:56:53] @ ahasenack joined channel #puppet
[2010/06/07 07:58:46] @ Quit: m1nish: Ping timeout: 265 seconds
[2010/06/07 08:02:30] @ PsychoSid1 joined channel #puppet
[2010/06/07 08:03:10] @ Quit: PsychoSid: Ping timeout: 265 seconds
[2010/06/07 08:04:15] @ rocket joined channel #puppet
[2010/06/07 08:05:42] @ Quit: afletcher: Read error: Connection reset by peer
[2010/06/07 08:06:07] @ afletcher joined channel #puppet
[2010/06/07 08:08:08] <groove> mikepea: did you manage to pastie your code?
[2010/06/07 08:08:34] <mikepea> just working out what to do - the hwaddr thing needs a bit of a hack...
[2010/06/07 08:08:41] <groove> yeah
[2010/06/07 08:09:04] @ Quit: rocket: Ping timeout: 252 seconds
[2010/06/07 08:10:35] <raz> mm sunny
[2010/06/07 08:11:02] <mikepea> groove: here you go: http://pastebin.com/dDLdvbYu
[2010/06/07 08:11:07] @ Quit: pmorillo: Ping timeout: 276 seconds
[2010/06/07 08:11:23] <groove> ah, fantastic
[2010/06/07 08:11:55] <mikepea> note that I'm assuming $master is required.
[2010/06/07 08:11:56] * Volcane has a fact that pulls the original HWADDR for each eth out of the redhat interface scripts
[2010/06/07 08:12:01] <Volcane> cos once bonded, those mac addresses change
[2010/06/07 08:12:13] <mikepea> Volcane: good point
[2010/06/07 08:12:36] @ pmorillo joined channel #puppet
[2010/06/07 08:12:47] <mikepea> I guess you could get the info out of udev rules.d too?
[2010/06/07 08:12:47] @ ninjazjb joined channel #puppet
[2010/06/07 08:12:54] <groove> might be best if i just hard code them for the moment then
[2010/06/07 08:13:00] <mikepea> groove: aye
[2010/06/07 08:13:06] <groove> so much for all the heartache
[2010/06/07 08:13:38] <mikepea> s'ok, i learnt how to do variable interp'ing with inline_template :)
[2010/06/07 08:13:59] <groove> might have to do something like that anyway to pass the interface/macaddress pairs through
[2010/06/07 08:14:08] <Volcane> mikepea: there's now a sprintf function
[2010/06/07 08:15:19] <mikepea> Volcane: how would that work in this instance?
[2010/06/07 08:15:22] @ Quit: suchu: Quit: ChatZilla 0.9.86 [Firefox 3.6.3/20100401080539]
[2010/06/07 08:15:41] <Volcane> mikepea: to replace your inline template
[2010/06/07 08:15:44] @ Quit: DavidS1: Ping timeout: 265 seconds
[2010/06/07 08:16:29] <Volcane> hmm, no nevermind me
[2010/06/07 08:18:55] @ [GuS] joined channel #puppet
[2010/06/07 08:19:20] @ m1nish joined channel #puppet
[2010/06/07 08:19:23] <mikepea> Volcane: yeah, trying to work out how you'd do it with sprintf, and coming up blank ;)
[2010/06/07 08:19:34] <Volcane> yeah am doing too much at the same time :)
[2010/06/07 08:19:42] <Volcane> should try first then make suggestions :P
[2010/06/07 08:19:54] <Volcane> and not just brain fart over the keyboard :)
[2010/06/07 08:20:13] <mikepea> still, nice to know that sprintf is available. I really should read up on the changelog from 0.24.x to 0.25.x
[2010/06/07 08:20:41] @ Quit: AdrianBroher: Remote host closed the connection
[2010/06/07 08:21:45] <mikepea> vachon: gilesw is back - said that they didn't use VMs in the end for the dev training, but PL gave out a couple of centos VMs for the basic training.
[2010/06/07 08:21:58] <mikepea> (VMware Workstation VMs btw)
[2010/06/07 08:22:42] <vachon> ok
[2010/06/07 08:22:42] @ rocket joined channel #puppet
[2010/06/07 08:22:48] <vachon> i got fusion
[2010/06/07 08:23:29] @ AdrianBroher joined channel #puppet
[2010/06/07 08:23:56] @ Quit: PsychoSid1: Ping timeout: 245 seconds
[2010/06/07 08:24:13] @ lucid joined channel #puppet
[2010/06/07 08:25:18] <mikepea> should work ok then.
[2010/06/07 08:25:41] <mikepea> hey lucid - why do you run really slow on ESXi? ;)
[2010/06/07 08:25:50] <groove> Volcane: still getting nested definition errors, it seems to be on line 456 of parser/lexer.rb - any idea what is meant to trigger it?
[2010/06/07 08:26:02] @ Quit: pinoyskull: Quit: Leaving
[2010/06/07 08:27:17] <groove> ah, messed up my indentation, was missing a bracket...
[2010/06/07 08:32:20] @ Quit: rocket: Ping timeout: 258 seconds
[2010/06/07 08:32:45] <groove> wonder how reliable it would be using a custom fact to grab the macaddress from /etc/sysconfig/hwconf
[2010/06/07 08:33:20] <ohadlevy> groove: i think you can fetch directly from proc
[2010/06/07 08:33:45] <groove> ohadlevy: and that's going to read the burned-in mac address rather than anything changed by software?
[2010/06/07 08:34:15] @ rocket joined channel #puppet
[2010/06/07 08:34:57] <ohadlevy> groove: i think ifconfig display the right mac address then
[2010/06/07 08:35:06] <ohadlevy> groove: easy to test :)
[2010/06/07 08:35:41] @ Quit: m1nish: Quit: Leaving
[2010/06/07 08:36:03] <groove> looks like even /sys/class/net/ethX/address gets the new mac address
[2010/06/07 08:36:28] <groove> i guess the ultimate way would be to read from the eeprom using ethtool, but geez
[2010/06/07 08:38:31] @ Quit: pmorillo: Quit: pmorillo
[2010/06/07 08:39:51] @ silfreed left channel #puppet ("Leaving")
[2010/06/07 08:41:06] @ Quit: TREllis: Quit: brb
[2010/06/07 08:42:14] @ GioGio joined channel #puppet
[2010/06/07 08:42:19] <GioGio> hi there
[2010/06/07 08:46:37] @ Quit: davea1: Quit: Leaving
[2010/06/07 08:50:09] @ Quit: bgupta: Ping timeout: 248 seconds
[2010/06/07 08:51:29] @ bgupta joined channel #puppet
[2010/06/07 08:51:38] <ohadlevy> foreman deb package is out: thanks joschi!!
[2010/06/07 08:51:48] @ cliff-hm joined channel #puppet
[2010/06/07 08:52:33] <_^Sarge^_> groove: macaddress_eth0 => 00:50:56:9b:62:3f
[2010/06/07 08:52:39] <_^Sarge^_> that doesn't work for you?
[2010/06/07 08:53:02] <groove> _^Sarge^_: and when the bonding driver changes the mac address of the secondary slave interfaces to match the primary?
[2010/06/07 08:53:23] <Volcane> groove: I just use the ifcfg-ethx files :)
[2010/06/07 08:53:26] <groove> you'll note that the macaddress fact just uses the output of ifconfig -a, so it is useless
[2010/06/07 08:53:39] <groove> Volcane: i don't want to leave anything to chance
[2010/06/07 08:53:55] <groove> it surprises me it is so hard to pull the mac address out of hardware
[2010/06/07 08:54:31] <Volcane> groove: i have a if that make sure those facts exist and my fact dont make them if the files dont have them - so if any reason the HWADDR lines arent there you just skip the bond configs
[2010/06/07 08:54:44] <Volcane> groove: anyway, http://github.com/ripienaar/facter-facts/tree/master/redhat-hwaddr/ if you want to look
[2010/06/07 08:57:37] @ TREllis joined channel #puppet
[2010/06/07 09:04:47] @ Quit: moop23: Quit: Leaving.
[2010/06/07 09:04:54] @ moop23 joined channel #puppet
[2010/06/07 09:14:55] <itguru> Good afternoon everyone, I hope eveyone is well :)
[2010/06/07 09:15:52] @ pejay joined channel #puppet
[2010/06/07 09:19:11] @ DavidS joined channel #puppet
[2010/06/07 09:22:22] @ Quit: thdem: Ping timeout: 252 seconds
[2010/06/07 09:24:40] @ DavidS1 joined channel #puppet
[2010/06/07 09:25:43] @ ken_barber joined channel #puppet
[2010/06/07 09:27:19] @ Quit: DavidS: Ping timeout: 264 seconds
[2010/06/07 09:27:46] @ DavidS joined channel #puppet
[2010/06/07 09:30:32] <groove> is there some special syntax i need to use to pass arrays through to definitions without it being mangled?
[2010/06/07 09:30:36] @ Quit: DavidS1: Ping timeout: 245 seconds
[2010/06/07 09:30:55] <groove> my nested definition ends up with a concatenated string instead of the array i originally had
[2010/06/07 09:31:27] @ Quit: afletcher: Read error: Connection reset by peer
[2010/06/07 09:31:59] @ afletcher joined channel #puppet
[2010/06/07 09:32:21] @ DavidS1 joined channel #puppet
[2010/06/07 09:32:35] @ Quit: DavidS: Ping timeout: 240 seconds
[2010/06/07 09:33:36] <groove> never mind, PEBKAC
[2010/06/07 09:34:09] @ Quit: benoit_: Ping timeout: 240 seconds
[2010/06/07 09:34:57] @ Quit: gebi: Ping timeout: 248 seconds
[2010/06/07 09:37:30] <fluxdude> j/ httpd
[2010/06/07 09:37:37] <telmich> can I tell puppet that a user should not be in a group anymore?
[2010/06/07 09:37:54] <vachon> remove the group from the array
[2010/06/07 09:38:03] <vachon> that should do it
[2010/06/07 09:38:26] <telmich> vachon: I don't think that this will remove a user from a group, if she's already in there
[2010/06/07 09:38:42] <vachon> it has for me
[2010/06/07 09:38:55] <vachon> give it a shot with --test
[2010/06/07 09:38:58] <vachon> see if it works
[2010/06/07 09:39:38] @ atos joined channel #puppet
[2010/06/07 09:39:40] @ herdingcat joined channel #puppet
[2010/06/07 09:39:41] <telmich> vachon: *confused* removing a the element from an array does not work with ->; what's the syntax there?
[2010/06/07 09:40:42] <vachon> give me a snippet on pastie
[2010/06/07 09:41:21] @ pheezy joined channel #puppet
[2010/06/07 09:41:52] @ kaptk2 joined channel #puppet
[2010/06/07 09:42:27] @ Quit: ninjazjb: Ping timeout: 240 seconds
[2010/06/07 09:43:10] @ joe-mac joined channel #puppet
[2010/06/07 09:43:40] @ Quit: pheezy: Client Quit
[2010/06/07 09:44:13] <telmich> vachon: https://nopaste.eof.name/123
[2010/06/07 09:44:20] <telmich> (ignore ssl cert bug)
[2010/06/07 09:44:39] @ fox2mike joined channel #puppet
[2010/06/07 09:44:44] <vachon> that failed
[2010/06/07 09:44:54] <vachon> please just make a private pastebin or pastie
[2010/06/07 09:45:17] <joe-mac> i have this new openbsd 4.7 node i can't get the ssl working on, so frustrating. hopefully today i can nail it down
[2010/06/07 09:46:22] <telmich> vachon: remove_these = ['group1', 'group2', 'group3'] user {'foo':
[2010/06/07 09:46:27] <telmich> groups -> $remove_these,
[2010/06/07 09:46:38] <telmich> sorry, mouse button misfunction
[2010/06/07 09:46:41] @ Quit: Legooolas: Ping timeout: 248 seconds
[2010/06/07 09:46:45] @ Legooolas joined channel #puppet
[2010/06/07 09:46:58] <vachon> telmich: what you are doing makes no sense without more context
[2010/06/07 09:47:00] <vachon> i need to see more
[2010/06/07 09:47:24] @ benoit_ joined channel #puppet
[2010/06/07 09:48:43] @ Quit: kolla: Remote host closed the connection
[2010/06/07 09:48:54] <telmich> vachon: if you've a user defined with an array of groups defined, like groups => ['a', 'b' ], how do I remove group a?
[2010/06/07 09:49:14] <vachon> take a out of the list
[2010/06/07 09:51:27] <Dieter> 13:38 ohadlevy : Dieter: did you migrate your db?
[2010/06/07 09:51:30] <telmich> vachon: that does not work, probably guessed the missing information bit: users are coming from ldap and have groups in there already
[2010/06/07 09:51:33] <Dieter> yes ohadlevy
[2010/06/07 09:51:42] <Dieter> it's stored on mysql
[2010/06/07 09:51:55] <telmich> vachon: we're adding local groups (like audio/video) via groups +> ...
[2010/06/07 09:52:00] @ DavidS joined channel #puppet
[2010/06/07 09:52:02] <ohadlevy> Dieter: in the correct RAILS_ENV? can you paste a trace?
[2010/06/07 09:52:11] <Dieter> yes, just a second
[2010/06/07 09:52:43] <vachon> hrm. the +> makes a difference
[2010/06/07 09:52:50] <telmich> and would like to remove the added users, if the user should not be in the local groups anymore; though we've no clue in which groups he's additionally, which we cannot remove anyway
[2010/06/07 09:52:56] <vachon> as its appending
[2010/06/07 09:53:02] <telmich> vachon: exactly
[2010/06/07 09:53:09] <vachon> no idea then
[2010/06/07 09:53:14] <vachon> sorry
[2010/06/07 09:53:40] <Dieter> ohadlevy: http://pastebin.com/CKHs0S8X
[2010/06/07 09:54:19] @ Quit: DavidS1: Ping timeout: 264 seconds
[2010/06/07 09:54:35] <ohadlevy> Dieter: did you run rake db:migrate RAILS_ENV=production?
[2010/06/07 09:54:47] <Dieter> ohadlevy: yes
[2010/06/07 09:54:51] <Dieter> but i'll try again
[2010/06/07 09:55:30] <ohadlevy> Dieter: which os are you using?
[2010/06/07 09:56:05] <Dieter> I did it again and it gave me no output
[2010/06/07 09:56:09] <Dieter> now the error persists
[2010/06/07 09:56:42] <Dieter> Ubuntu 10.04 LTS
[2010/06/07 09:57:17] <Dieter> doesn't 'nomethod' indicate i'm missing some gem/class ?
[2010/06/07 09:57:29] <Dieter> ( my problem here is interpreting ruby .... )
[2010/06/07 09:57:58] <ohadlevy> Dieter: is it installed via the deb package?
[2010/06/07 09:58:18] <Dieter> ohadlevy: no
[2010/06/07 09:58:43] <ohadlevy> Dieter: would you mind trying that?
[2010/06/07 09:58:50] <Dieter> yes :)
[2010/06/07 09:59:03] <ohadlevy> Dieter: http://theforeman.org/attachments/download/109/foreman_0.1.5-1_all.deb
[2010/06/07 09:59:21] <Dieter> thanks
[2010/06/07 09:59:23] <Dieter> sec.
[2010/06/07 10:00:58] @ Quit: ckauhaus: Ping timeout: 276 seconds
[2010/06/07 10:01:53] <Dieter> ok, no error there :)
[2010/06/07 10:01:58] <Dieter> let's try and set it up.
[2010/06/07 10:02:20] <ohadlevy> Dieter: if you have more questions, you are welcome to join #theforeman channel
[2010/06/07 10:02:21] <tim|mac> hm... my puppetdoc only outputs txt to the console, even when I give it --mode rdoc...
[2010/06/07 10:03:00] <Dieter> many thanks ohadlevy
[2010/06/07 10:03:26] @ malikai left channel #puppet ()
[2010/06/07 10:05:21] @ Quit: benoit_: Ping timeout: 248 seconds
[2010/06/07 10:08:39] @ Quit: vachon: Remote host closed the connection
[2010/06/07 10:08:47] @ benoit_ joined channel #puppet
[2010/06/07 10:09:20] @ pheezy joined channel #puppet
[2010/06/07 10:09:43] @ reyjrar joined channel #puppet
[2010/06/07 10:09:45] @ carla is now known as carlasouza
[2010/06/07 10:11:53] @ rmiller4pi8 joined channel #puppet
[2010/06/07 10:12:01] @ vachon joined channel #puppet
[2010/06/07 10:14:12] @ Quit: rmiller4pi8: Client Quit
[2010/06/07 10:18:01] @ DavidS1 joined channel #puppet
[2010/06/07 10:20:31] @ Quit: DavidS: Ping timeout: 252 seconds
[2010/06/07 10:20:31] @ juniper joined channel #puppet
[2010/06/07 10:20:46] @ pmorillo joined channel #puppet
[2010/06/07 10:23:44] @ vachon left channel #puppet ()
[2010/06/07 10:24:24] @ shenson joined channel #puppet
[2010/06/07 10:26:11] @ Quit: atos: Quit: Page closed
[2010/06/07 10:26:12] @ rmiller4pi8 joined channel #puppet
[2010/06/07 10:26:29] @ Chiku|dc joined channel #puppet
[2010/06/07 10:26:47] @ Quit: lbt_: Quit: Konversation terminated!
[2010/06/07 10:28:40] @ DavidS joined channel #puppet
[2010/06/07 10:28:50] @ emarshall joined channel #puppet
[2010/06/07 10:29:09] @ Quit: Chiku: Ping timeout: 240 seconds
[2010/06/07 10:30:34] @ rcrowley joined channel #puppet
[2010/06/07 10:31:23] @ Quit: DavidS1: Ping timeout: 240 seconds
[2010/06/07 10:32:01] @ Quit: alhoang: Ping timeout: 248 seconds
[2010/06/07 10:32:18] @ tonyskapunk joined channel #puppet
[2010/06/07 10:35:02] @ DavidS1 joined channel #puppet
[2010/06/07 10:35:29] <tonyskapunk> is there any tool that shows all the resources used by a node or a class?
[2010/06/07 10:36:01] @ Quit: DavidS: Ping timeout: 245 seconds
[2010/06/07 10:37:05] @ ckauhaus joined channel #puppet
[2010/06/07 10:37:26] <tonyskapunk> we have some classes called profiles, and a lot of people ask what does a profile contains then I need to go to the configs files pull all the resources manually, as they are not interested in puppet code all they want is the resource used
[2010/06/07 10:38:56] @ DavidS joined channel #puppet
[2010/06/07 10:42:09] @ Quit: DavidS1: Ping timeout: 272 seconds
[2010/06/07 10:42:56] @ DavidS1 joined channel #puppet
[2010/06/07 10:45:29] @ Quit: DavidS: Ping timeout: 240 seconds
[2010/06/07 10:45:51] <tim|mac> tonyskapunk: I'm a bit confused by what output you're expecting when you want to know which resources are used but you don't want puppet code?
[2010/06/07 10:51:44] <tonyskapunk> tim|mac: probably the name of the resources would be enough
[2010/06/07 10:52:31] @ Quit: gaveen: Ping timeout: 264 seconds
[2010/06/07 10:52:38] <joe-mac> do you use stored configs?
[2010/06/07 10:52:53] <joe-mac> some clever puppet doc'ing could probably do it too
[2010/06/07 10:53:06] @ Quit: twisla: Read error: Operation timed out
[2010/06/07 10:53:22] @ twisla joined channel #puppet
[2010/06/07 10:53:45] <ohadlevy> mqr: ping
[2010/06/07 10:53:47] <tonyskapunk> e.g. class foo {
[2010/06/07 10:53:47] <tonyskapunk> package { foo: ensure => latest;}
[2010/06/07 10:53:47] <tonyskapunk> file { "/bar": owner => foo;}
[2010/06/07 10:53:47] <tonyskapunk> }
[2010/06/07 10:53:50] <tonyskapunk> guess the output containing package:"foo"; file:"/bar" would be enough
[2010/06/07 10:56:01] @ mpdehaan joined channel #puppet
[2010/06/07 10:56:01] @ Mode +v mpdehaan by ChanServ
[2010/06/07 10:56:01] <tonyskapunk> joe-mac: we have all our configs in files
[2010/06/07 10:59:31] <joe-mac> right but that doesn't mean you're not using stored configs, the name is a little weird but yea, just use puppetdoc with some grepping
[2010/06/07 11:01:59] <tonyskapunk> ok let me take a look to it, thanks for the hint
[2010/06/07 11:03:09] <DavidS1> tonyskapunk: "select restype, title from resources" in your storedconfig db will give you all configured resources in your universe.
[2010/06/07 11:04:03] <tonyskapunk> DavidS1: Thanks, but we don't have our configs in a DB, we have in .pp files.
[2010/06/07 11:04:19] <Volcane> tonyskapunk: stored configs != configs in a db
[2010/06/07 11:04:28] <DavidS1> tonyskapunk: storedconfigs is not used to put the contents of .pp files in a db
[2010/06/07 11:04:37] <Volcane> annoyinly named things in puppet is the norm
[2010/06/07 11:04:43] <Volcane> stored configs, --test etc
[2010/06/07 11:05:27] <DavidS1> Volcane: talk to luke ;-)
[2010/06/07 11:07:20] @ DavidS1 is now known as DavidS
[2010/06/07 11:13:28] @ Quit: hamish: Ping timeout: 260 seconds
[2010/06/07 11:13:46] @ Quit: nevyn: Ping timeout: 276 seconds
[2010/06/07 11:13:49] @ Quit: ckauhaus: Ping timeout: 272 seconds
[2010/06/07 11:14:20] <tonyskapunk> oh I wasn't aware of the stored configs, then no matter if you have external nodes or not you can still use the stored configs
[2010/06/07 11:15:17] @ notbrien joined channel #puppet
[2010/06/07 11:15:30] @ ckauhaus joined channel #puppet
[2010/06/07 11:15:43] @ Quit: notbrien: Remote host closed the connection
[2010/06/07 11:15:44] @ cygnus1 joined channel #puppet
[2010/06/07 11:15:46] @ ixtix joined channel #puppet
[2010/06/07 11:16:27] @ notbrien joined channel #puppet
[2010/06/07 11:16:55] @ Quit: notbrien: Read error: Connection reset by peer
[2010/06/07 11:26:32] @ nevyn joined channel #puppet
[2010/06/07 11:27:12] @ notbrien joined channel #puppet
[2010/06/07 11:27:20] @ lak joined channel #puppet
[2010/06/07 11:33:43] @ Quit: ona_matt: Quit: Lost terminal
[2010/06/07 11:33:54] @ steph021 joined channel #puppet
[2010/06/07 11:36:35] @ groove left channel #puppet ()
[2010/06/07 11:37:42] <mqr> ohadlevy: pong
[2010/06/07 11:38:42] @ tep joined channel #puppet
[2010/06/07 11:38:42] @ Quit: tep: Changing host
[2010/06/07 11:38:42] @ tep joined channel #puppet
[2010/06/07 11:38:42] @ kolla joined channel #puppet
[2010/06/07 11:41:19] @ Quit: verwilst: Quit: Ex-Chat
[2010/06/07 11:42:52] @ Quit: pmorillo: Quit: pmorillo
[2010/06/07 11:43:11] @ Quit: thegcat: Quit: Leaving.
[2010/06/07 11:45:45] <ohadlevy> mqr: did you see #3949
[2010/06/07 11:45:45] <gepetto> ohadlevy: mqr: #3949 is http://projects.puppetlabs.com/issues/show/3949 "Puppet - Bug #3949: Zaml undefined method `name' for "RRDtool":String - PuppetLabs.com"
[2010/06/07 11:48:57] <ashp> grr, lack of defines in nodes for external classifers is the worst decision ever, redesigning this ldap server define to classes is a mess
[2010/06/07 11:49:20] <ohadlevy> ashp: why not follow what DavidS suggested?
[2010/06/07 11:49:40] <ashp> i have like 6 ldap types and they are all the same except for the source => is different on them, it drags in openldap-$name/ currently
[2010/06/07 11:49:52] <ashp> so now I have a bunch of identical classes except for different file{} statements
[2010/06/07 11:50:07] <ashp> there has to be a better way to do this, but I hate just passing in variables to do it
[2010/06/07 11:50:14] <Volcane> $ldaprole = "foo"
[2010/06/07 11:50:23] <Volcane> source => "....${ldaprole}"
[2010/06/07 11:50:34] <Volcane> now you can classify in your external node tool what type of ldap node a machine is
[2010/06/07 11:50:38] <ashp> I'm probably going to end up doing that, but I guess I dislike passing variables in for some reason
[2010/06/07 11:51:03] <ashp> I mean that's effectively all the define does, just pass in a variable, it just seems a more clumsy way of doing it all, passing in parameters
[2010/06/07 11:51:07] @ Quit: DavidS: Quit: Leaving.
[2010/06/07 11:51:10] @ Quit: giskard: Remote host closed the connection
[2010/06/07 11:51:35] @ jsnby joined channel #puppet
[2010/06/07 11:51:43] <mqr> ohadlevy: Just guessing it's related to the fix for #3751, which put quotes around all strings as a stop-gap. Have you looked at the generated yaml
[2010/06/07 11:51:44] <gepetto> mqr: ohadlevy: #3751 is http://projects.puppetlabs.com/issues/show/3751 "Puppet - Bug #3751: 0.25.5rc2 server fails with 0.24-8 client - PuppetLabs.com"
[2010/06/07 11:51:44] <mqr> ?
[2010/06/07 11:52:27] <Volcane> rrd: !ruby/object:RRDtool
[2010/06/07 11:52:27] <Volcane> rrdname: /var/lib/puppet/rrd/nephilim.ml.org/resources.rrd
[2010/06/07 11:52:58] <mqr> ohadlevy: I'm about to head in to the office for the first day in two weeks, and will add it to my many things to look into list.
[2010/06/07 11:53:13] <ohadlevy> mqr: welcome back ;)
[2010/06/07 11:54:27] @ sebas891 joined channel #puppet
[2010/06/07 11:54:35] <mqr> :)
[2010/06/07 11:56:44] @ rhyno joined channel #puppet
[2010/06/07 11:59:13] @ Quit: mqr: Quit: mqr
[2010/06/07 12:02:18] <unixdaemon> If you have puppet running as a daemon when does it reload the facts?
[2010/06/07 12:03:03] @ Quit: lak: Quit: lak
[2010/06/07 12:03:09] <fluxdude> is it better to use tidy {} when you want to get rid of files or file { ensure => absent } ?
[2010/06/07 12:03:13] @ Quit: ckauhaus: Ping timeout: 272 seconds
[2010/06/07 12:03:29] <fluxdude> I have always noticed that tidy logs Tidy target does not exist; ignoring
[2010/06/07 12:03:34] <fluxdude> but then why log this over and over and over
[2010/06/07 12:03:38] <fluxdude> it's crazy
[2010/06/07 12:03:56] <fluxdude> maybe file { ensure => absent } would be quieter and is therefore the better choice?
[2010/06/07 12:04:32] <tonyskapunk> unixdaemon: everytime the daemon gets in sync with the master, defined by the runinterval variable
[2010/06/07 12:04:39] @ ona_matt joined channel #puppet
[2010/06/07 12:05:23] <unixdaemon> Makes sense - thanks.
[2010/06/07 12:13:36] @ Quit: gazzerh: Quit: This computer has gone to sleep
[2010/06/07 12:17:58] * Volcane thinks tidy'ing from a CF system is totally missguided
[2010/06/07 12:19:18] <matti> Volcane, unixdaemon: :)
[2010/06/07 12:25:09] @ moop23 left channel #puppet ()
[2010/06/07 12:25:37] @ Quit: spawnyd: Ping timeout: 276 seconds
[2010/06/07 12:31:43] @ Insyte joined channel #puppet
[2010/06/07 12:36:05] @ omry|work joined channel #puppet
[2010/06/07 12:36:12] @ alfism joined channel #puppet
[2010/06/07 12:38:44] @ Quit: mauve: Quit: Leaving
[2010/06/07 12:39:55] @ Quit: alban2: Ping timeout: 264 seconds
[2010/06/07 12:45:49] @ Quit: TREllis: Quit: leaving
[2010/06/07 12:56:06] @ Quit: herdingcat: Quit: Leaving
[2010/06/07 13:00:12] @ lak joined channel #puppet
[2010/06/07 13:01:07] @ gazzerh joined channel #puppet
[2010/06/07 13:02:28] @ Quit: elementai: Ping timeout: 264 seconds
[2010/06/07 13:03:01] @ elementai joined channel #puppet
[2010/06/07 13:03:07] @ afletcher_ joined channel #puppet
[2010/06/07 13:03:29] @ Quit: afletcher: Ping timeout: 248 seconds
[2010/06/07 13:03:29] @ afletcher_ is now known as afletcher
[2010/06/07 13:06:31] @ alexine_dsouza joined channel #puppet
[2010/06/07 13:10:38] @ Quit: fluxdude: Ping timeout: 258 seconds
[2010/06/07 13:14:21] @ Quit: gazzerh: Quit: Leaving
[2010/06/07 13:15:58] @ mqr joined channel #puppet
[2010/06/07 13:23:47] @ jaredrhine joined channel #puppet
[2010/06/07 13:29:08] @ AngryParsley is now known as ggreer
[2010/06/07 13:29:14] @ ggreer is now known as AngryParsley
[2010/06/07 13:32:29] @ gaveen joined channel #puppet
[2010/06/07 13:33:28] @ Quit: bronto: Quit: Leaving.
[2010/06/07 13:38:34] @ Quit: Ramonster: Quit: So long, thanx for all the fish
[2010/06/07 13:43:10] @ Bass10 joined channel #puppet
[2010/06/07 13:44:26] @ Quit: Bass10: Max SendQ exceeded
[2010/06/07 13:44:36] @ pting joined channel #puppet
[2010/06/07 13:45:02] @ Bass10 joined channel #puppet
[2010/06/07 13:49:39] @ thuglife joined channel #puppet
[2010/06/07 13:49:42] <thuglife> Hello guys
[2010/06/07 13:50:09] <thuglife> Is it possible to overwrite a class in puppet? say i have class foo that i want to override with class foo if a .pp file gets included which contains the one i want to iverride with
[2010/06/07 13:52:17] @ jab_doa joined channel #puppet
[2010/06/07 13:52:45] <jbooth> thuglife: You can subclass and then override things declared in the parent. You can't just overwrite the old class foo with a new definition though
[2010/06/07 13:53:44] @ Quit: lak: Quit: lak
[2010/06/07 13:53:50] @ beata_ joined channel #puppet
[2010/06/07 13:54:16] <beata_> can onlyif support multiple rules ie onlyif => ["test1","test2"]
[2010/06/07 13:54:48] <eric0> thuglife: perhaps a better way to think about is whats different between the normal case and the exception? put the common stuff in the parent then conditionally include subclasses or use case inside the parent to express the differences
[2010/06/07 13:54:58] @ Quit: benoit_: Ping timeout: 276 seconds
[2010/06/07 13:55:11] @ Quit: MattyM: Read error: Connection reset by peer
[2010/06/07 13:59:24] @ lak joined channel #puppet
[2010/06/07 14:00:00] @ Alagar joined channel #puppet
[2010/06/07 14:00:34] @ Quit: Alagar: Client Quit
[2010/06/07 14:05:32] @ Quit: shug: Quit: Leaving
[2010/06/07 14:06:45] <thuglife> eric0: i can't the hold point would be to make it overridable
[2010/06/07 14:07:03] <thuglife> jbooth: if i define class foo twice, both gets to run
[2010/06/07 14:07:34] @ adrian_broher joined channel #puppet
[2010/06/07 14:10:31] @ malikai1 joined channel #puppet
[2010/06/07 14:12:00] @ thegcat joined channel #puppet
[2010/06/07 14:16:34] @ jsnby left channel #puppet ()
[2010/06/07 14:18:44] @ Quit: ken_barber: Remote host closed the connection
[2010/06/07 14:19:01] @ ken_barber joined channel #puppet
[2010/06/07 14:31:28] <jbooth> thuglife: That didn't make any sense to me.
[2010/06/07 14:34:00] <thuglife> there are files that customers cannot modify because they will get overwritten automatically
[2010/06/07 14:34:08] <thuglife> so they wuld add their stuff to class.pp.local
[2010/06/07 14:34:13] <thuglife> that would override class.pp
[2010/06/07 14:36:17] <jbooth> if you're using puppet client-server it doesn't touch any *.pp files on the client.
[2010/06/07 14:36:24] <jbooth> (aka puppetmaster and puppetd)
[2010/06/07 14:36:39] <thuglife> it's not that
[2010/06/07 14:37:39] <jbooth> so you're shipping the puppet *.pp configs to clients, then running puppet locally?
[2010/06/07 14:38:12] <jbooth> Alternately, I'm not sure why you wouldn't just file{ ... replace=>false } for said files you want customers to edit.
[2010/06/07 14:38:18] <jbooth> They aren't going to want to learn puppet
[2010/06/07 14:38:25] <jbooth> If they do learn puppet, not much need for you anymore...
[2010/06/07 14:40:16] <thuglife> no
[2010/06/07 14:40:27] <thuglife> on the puppetmaster we ship packages that include the *.pp files
[2010/06/07 14:40:37] <thuglife> and if they modify it, we will just overwrite it
[2010/06/07 14:40:52] <thuglife> so they would have to use their .local files
[2010/06/07 14:41:42] @ LukeL_ joined channel #puppet
[2010/06/07 14:41:45] @ Quit: ixtix: Remote host closed the connection
[2010/06/07 14:42:25] @ setient joined channel #puppet
[2010/06/07 14:42:51] <jbooth> thuglife: If you use a puppetmaster, no *.pps they write on the client's filesystem will affect what it does.
[2010/06/07 14:43:03] @ Quit: LukeL_: Client Quit
[2010/06/07 14:43:10] <setient> crap.
[2010/06/07 14:43:15] <setient> mmm puppetmaster
[2010/06/07 14:43:42] <thuglife> but we dont
[2010/06/07 14:43:43] <thuglife> :)
[2010/06/07 14:44:39] <jbooth> thuglife: Then don't refer to it as a puppetmaster, because it isn't.
[2010/06/07 14:44:42] @ labrown joined channel #puppet
[2010/06/07 14:46:15] <setient> iphone 4 changing phone sex forever
[2010/06/07 14:46:27] <malikai1> ?
[2010/06/07 14:46:59] <setient> it has video calling
[2010/06/07 14:47:15] <alxm_> heh - so does the htc evo
[2010/06/07 14:47:32] <malikai1> bah.. htc has been making video call phones since 06
[2010/06/07 14:47:35] <setient> yeah but no onecares about the htc evo
[2010/06/07 14:47:41] <setient> or any htc
[2010/06/07 14:47:48] <malikai1> phone secks will not change
[2010/06/07 14:47:49] <alxm_> setient, i do - I just switched away from an iphone.
[2010/06/07 14:47:57] <setient> alxm_: why did you do that!
[2010/06/07 14:48:01] <setient> other than att sucking bawls
[2010/06/07 14:48:27] <alxm_> setient: because I find myself happier with android. they fixed a lot of things this version and the better phone is better
[2010/06/07 14:48:42] <malikai1> droid++
[2010/06/07 14:50:03] <alxm_> free tethering, cheaper monthly rates, way more free apps, not having to sign those stupid dev contracts/distribute thru appstore
[2010/06/07 14:50:05] <malikai1> what did att do to piss everyone off? i heard about the rate change but not what it was exactly..
[2010/06/07 14:50:23] <alxm_> malikai1: they have had lots of issues in NYC and Bay area I have heard
[2010/06/07 14:50:24] <malikai1> crappstore--
[2010/06/07 14:50:29] <alxm_> over saturation of their network
[2010/06/07 14:51:08] <malikai1> yea i heard about that too, but so they fubared.. why the rate change?
[2010/06/07 14:52:05] <malikai1> usually in economics a successful product should lead to a decrease in prices directly or prices via competition
[2010/06/07 14:52:19] <malikai1> how does success == rape?
[2010/06/07 14:52:28] <alxm_> it's a brave new world my friend
[2010/06/07 14:52:46] <malikai1> my textbooks fail me
[2010/06/07 14:53:07] @ alban2 joined channel #puppet
[2010/06/07 14:53:24] <bleything> malikai1: the carriers can do whatever they want, because they have exclusive licenses on handsets people want.
[2010/06/07 14:53:25] <alxm_> malikai1: they think their product is that superior?
[2010/06/07 14:53:42] <alxm_> bleything: yea, wish that would change - we need more small carriers
[2010/06/07 14:53:59] <bleything> there is no motivation to make the service attractive to consumers. they just focus on profit.
[2010/06/07 14:54:05] <malikai1> herein lies the problem..
[2010/06/07 14:54:14] <setient> chicago sucked fyi for iphone
[2010/06/07 14:54:15] <setient> so does boston
[2010/06/07 14:54:19] <bleything> which, you know, is technically the appropriate thing to do. but, in most markets profit is related to customer satisfaction. not in the wireless industry, though.
[2010/06/07 14:54:39] <setient> for iphone that is
[2010/06/07 14:54:42] <malikai1> not in the transport business in england, either..
[2010/06/07 14:54:48] <eric0> OT for #puppet -- please take it elsewhere
[2010/06/07 14:55:12] <alxm_> sorry ;)
[2010/06/07 14:55:13] <malikai1> thought criminals
[2010/06/07 14:55:14] @ Quit: \ask: Remote host closed the connection
[2010/06/07 14:56:48] <setient> sorry
[2010/06/07 14:57:19] <malikai1> i wish puppet ran on mobile phones
[2010/06/07 14:57:23] <malikai1> :)
[2010/06/07 14:58:49] @ Quit: achester: Ping timeout: 240 seconds
[2010/06/07 14:58:59] <jbooth> http://code.google.com/p/android-ruby/
[2010/06/07 14:59:04] <jbooth> So I'd have to go, "it does" ?
[2010/06/07 14:59:47] <jbooth> Alternately via jruby (like on appengine) I suppose...
[2010/06/07 14:59:48] @ Quit: jaredrhine: Ping timeout: 260 seconds
[2010/06/07 15:00:03] <jbooth> Though those might be ruby 1.9, so Puppet wouldn't go anyway
[2010/06/07 15:06:00] @ thuglife left channel #puppet ()
[2010/06/07 15:10:37] @ jaredrhine joined channel #puppet
[2010/06/07 15:21:37] @ gaveen is now known as gaveen__
[2010/06/07 15:24:31] @ \ask joined channel #puppet
[2010/06/07 15:28:04] @ gaveen__ is now known as gaveen
[2010/06/07 15:31:16] @ WALoeIII joined channel #puppet
[2010/06/07 15:35:43] @ gaveen left channel #puppet ("Leaving")
[2010/06/07 15:36:46] @ Quit: nb: Read error: Connection reset by peer
[2010/06/07 15:37:04] @ Quit: mattock: Ping timeout: 258 seconds
[2010/06/07 15:40:43] @ Quit: blkperl: Quit: leaving
[2010/06/07 15:40:50] @ blkperl joined channel #puppet
[2010/06/07 15:42:43] <ashp> grr, i hate if defined, i wish it worked properly.
[2010/06/07 15:44:14] <ashp> there's no good replacement for it, i should whine via support contract :D
[2010/06/07 15:44:59] @ janfrode left channel #puppet ()
[2010/06/07 15:47:48] @ Quit: cliff-hm: Ping timeout: 258 seconds
[2010/06/07 15:49:06] <ashp> it was working fine, then i changed from a define to a class and it stopped working :(
[2010/06/07 15:49:26] @ nb joined channel #puppet
[2010/06/07 15:50:13] @ cliff-hm joined channel #puppet
[2010/06/07 15:53:33] @ aliver joined channel #puppet
[2010/06/07 15:54:11] <aliver> Hey fellas, I've have a class where I enforce that an RPM ensure = "installed"
[2010/06/07 15:54:15] <aliver> It works, but..
[2010/06/07 15:54:27] <aliver> When I run puppetd --test --debug I get some warnings.
[2010/06/07 15:54:43] <aliver> ala
[2010/06/07 15:54:52] <aliver> err: //Node[default]/munin/Package[perl_crypt]/ensure: change from absent to present failed: Execution of '/bin/rpm -i --oldpackage http://build/11.0/suse/x86_64/perl-Crypt-DES-2.05-1.22.x86_64.rpm' returned 1: package perl-Crypt-DES-2.05-1.22.x86_64 is already installed
[2010/06/07 15:55:00] <aliver> Why is that an error?
[2010/06/07 15:55:07] <aliver> I want it installed.
[2010/06/07 15:55:18] <aliver> Can I do something about this besides ignore it?
[2010/06/07 15:56:01] <matti> From the error I can tell as much as "this package is already installed"
[2010/06/07 15:56:20] <matti> aliver: rpm -qa | egrep -i perl; and look for crypt.
[2010/06/07 15:56:53] <aliver> Huh? I'm not doing the RPM command. Puppet is.
[2010/06/07 15:57:11] <aliver> I'm using the RPM type in puppet.
[2010/06/07 15:57:20] <aliver> or "package" type, rather.
[2010/06/07 15:57:34] <matti> I know.
[2010/06/07 15:57:52] <matti> I am asking you to verify whether this package is already installed or not.
[2010/06/07 15:58:05] <kjetilho> probably not many people using the rpm provider
[2010/06/07 15:58:08] <jmslagle> Hrm!
[2010/06/07 15:58:18] <kjetilho> isn't there something for SuSE?
[2010/06/07 15:58:23] <jmslagle> Yeah - I suspect most use the yum provider instead.
[2010/06/07 15:59:12] <matti> Whatever. They all should have librpm and rpm installed anyway.
[2010/06/07 15:59:37] <jbooth> aliver: Do you have selinux enabled?
[2010/06/07 15:59:50] <Volcane> aliver: you have package{"perl_crypt": } but the package is actually perl-Crypt-DES-2 you have the wrong name
[2010/06/07 16:00:01] <aliver> matti, oh sorry, yeah it's there.
[2010/06/07 16:00:23] <jmslagle> Oooh - I wonder if this is the x86_64 vs i386 problem I've seen sometimes.
[2010/06/07 16:00:36] <Volcane> aliver: so when puppet first tries to figure out if you already have it installed it thinks you dont, so tries to install it
[2010/06/07 16:00:36] <aliver> No, I don't use selinux -bleh, puh, ugh.
[2010/06/07 16:00:37] @ Quit: voodoo_: Quit: voodoo
[2010/06/07 16:01:04] <aliver> Well, it does do a fine job of installing it.
[2010/06/07 16:01:10] <jmslagle> Is the version of the package installed x86_64 or i386?
[2010/06/07 16:01:14] <aliver> It just keeps complaining afterwards that it's already installed.
[2010/06/07 16:01:24] <Volcane> aliver: read what i said
[2010/06/07 16:01:29] <aliver> x86_64
[2010/06/07 16:01:35] <aliver> okay sorry, let me re-read.
[2010/06/07 16:01:45] <jmslagle> Ok - what's the full definition say?
[2010/06/07 16:01:47] <aliver> Volcane: gotcha.
[2010/06/07 16:01:57] <aliver> Volcane: I see the error of my ways now.
[2010/06/07 16:02:10] <aliver> Heh, I guess you can't just make up a name ;-)
[2010/06/07 16:02:26] <jmslagle> Oooh
[2010/06/07 16:02:31] <jmslagle> I see Volcane's response now :)
[2010/06/07 16:02:38] <aliver> Thanks for the help guys.
[2010/06/07 16:02:40] @ voodoo_ joined channel #puppet
[2010/06/07 16:02:51] <Volcane> jmslagle: :) i am guessing the perl.... package has a virtual provides that satisfied his name
[2010/06/07 16:03:07] <jmslagle> Yeah
[2010/06/07 16:04:44] @ Quit: bgupta: Quit: bgupta
[2010/06/07 16:05:36] @ bgupta joined channel #puppet
[2010/06/07 16:06:23] <aliver> Yep, fixing the name of the packages makes a whole slew of them stop complaining. I love me some puppet.
[2010/06/07 16:07:43] @ bearnard joined channel #puppet
[2010/06/07 16:13:27] <aliver> I have another dumb question. I'm reading the docs about the "file" type hoping there is some way to say "if this file exists, remove it". Nothing is jumping out at me for this. Any suggestions?
[2010/06/07 16:14:02] @ Quit: [GuS]: Read error: Connection reset by peer
[2010/06/07 16:14:04] <aliver> "absent" = "true" ?
[2010/06/07 16:14:19] @ HouseAway is now known as AimanA
[2010/06/07 16:14:19] <Volcane> ensure => absent
[2010/06/07 16:14:38] <aliver> Gotcha.
[2010/06/07 16:14:41] <aliver> thanks.
[2010/06/07 16:15:12] @ MattyM joined channel #puppet
[2010/06/07 16:15:58] @ Quit: voodoo_: Quit: voodoo
[2010/06/07 16:19:06] @ Quit: hacim: Remote host closed the connection
[2010/06/07 16:19:50] @ Quit: nexx: Quit: quit
[2010/06/07 16:21:10] @ Quit: afletcher: Quit: afletcher
[2010/06/07 16:21:15] <aliver> Can I use "subscribe" to a "file" type outside the current class?
[2010/06/07 16:21:25] <aliver> ie.. a file in another class.
[2010/06/07 16:21:26] @ bearnard___ joined channel #puppet
[2010/06/07 16:21:27] <bhearsum> yes
[2010/06/07 16:21:30] <aliver> sweet.
[2010/06/07 16:21:45] <bhearsum> as long as that File is included for the node in question, of course
[2010/06/07 16:22:10] <aliver> yep, it is.
[2010/06/07 16:24:22] @ Quit: bearnard: Ping timeout: 265 seconds
[2010/06/07 16:24:25] @ bearnard___ is now known as bearnard
[2010/06/07 16:26:19] @ Quit: carlasouza: Quit: going home
[2010/06/07 16:30:14] <aliver> It doesn't look serious, but anyone know why puppetd says this when a service it's checking for _is_ running:
[2010/06/07 16:30:17] <aliver> notice: //Node[default]/autofs/Service[autofs]/ensure: ensure changed 'stopped' to 'running'
[2010/06/07 16:30:54] <odyi> Do you have 'hasstatus => true' enabled if the script does have a status option?
[2010/06/07 16:31:16] <odyi> Sometimes puppet doesn't catch the correct process when doing a pgrep.
[2010/06/07 16:31:27] <aliver> Hmm. No I don't think the script has a status output or that I'm using it in the instatiation.
[2010/06/07 16:31:34] <aliver> Gotcha.
[2010/06/07 16:31:49] <odyi> Then you can adjust the pattern it uses on the pgrep too.
[2010/06/07 16:32:16] <aliver> How does one do that?
[2010/06/07 16:36:29] <Volcane> puppet has excellent docs.
[2010/06/07 16:39:19] <jmslagle> Hehehe
[2010/06/07 16:40:54] <aliver> It does have excellent docs.
[2010/06/07 16:40:59] <aliver> Sorry to be a pest.
[2010/06/07 16:41:27] <aliver> One very minor problem with the docs is that my browser seems to hate the CSS or the javascript and the type reference is barely scrollable due to 99% CPU :-)
[2010/06/07 16:41:29] <jbooth> At writing *.pps, sure. At writing type/providers less so.
[2010/06/07 16:42:06] @ Quit: RageLink: Quit: up up and away
[2010/06/07 16:42:23] <Volcane> jbooth: yeah :)
[2010/06/07 16:42:29] @ RageLink joined channel #puppet
[2010/06/07 16:42:33] <aliver> I'm seeing some pretty bad slowness / delays from clients sometimes. Should I switch to Apache Passenger?
[2010/06/07 16:42:49] <aliver> I'm just using the builtin provider in puppetmasterd.
[2010/06/07 16:42:58] <aliver> with about 400 clients.
[2010/06/07 16:44:29] @ giskard joined channel #puppet
[2010/06/07 16:44:32] @ Quit: cliff-hm: Ping timeout: 258 seconds
[2010/06/07 16:44:37] <jbooth> I'm... kinda surprised you got to 400 on webrick
[2010/06/07 16:45:12] <aliver> It's damn slow.
[2010/06/07 16:45:21] <aliver> It does work sometimes, though.
[2010/06/07 16:45:35] <aliver> So, I guess that's a "Yes. Move to Passenger"
[2010/06/07 16:46:18] <jbooth> Well it certainly won't hurt your performance
[2010/06/07 16:46:47] <aliver> Is that the best high-performance option available right now?
[2010/06/07 16:46:51] <aliver> (Passenger)
[2010/06/07 16:47:07] <eric0> yes
[2010/06/07 16:47:20] <malikai1> can you run paggenger/nginx?
[2010/06/07 16:47:23] <aliver> Cool. I'll go that direction then.
[2010/06/07 16:48:09] <malikai1> passenger/nginx, rather
[2010/06/07 16:48:20] <chrisg> whats the limjits of mongrel?
[2010/06/07 16:48:30] <chrisg> i set up apache+mongrel for my old place of work
[2010/06/07 16:48:34] @ plathrop-away is now known as plathrop
[2010/06/07 16:48:36] <chrisg> wonder how long it'll scale for
[2010/06/07 16:51:23] @ lucid_ joined channel #puppet
[2010/06/07 16:51:51] <agaffney> so, I found a "gotcha" with using custom facts
[2010/06/07 16:52:00] <agaffney> the initial puppetd command got a lot longer :P
[2010/06/07 16:52:13] <agaffney> --pluginsync --factpath /var/lib/puppet/lib/facter
[2010/06/07 16:52:14] <Volcane> hmm?
[2010/06/07 16:52:19] <Volcane> ah
[2010/06/07 16:52:26] <agaffney> I don't edit the puppet.conf
[2010/06/07 16:52:29] <Volcane> apparently 0.25.5 sets sane defaults
[2010/06/07 16:52:37] <Volcane> so factpath might not be needed
[2010/06/07 16:52:45] @ afletcher joined channel #puppet
[2010/06/07 16:52:49] <agaffney> I just do 'puppetd -t --server foo.bar.com --pluginsync --factpath /var/lib/puppet/lib/facter' and let puppet manage puppet.conf
[2010/06/07 16:52:55] <agaffney> it is needed with 0.24.8
[2010/06/07 16:52:59] <Volcane> yeah
[2010/06/07 16:53:06] @ Quit: cygnus1: Quit: Leaving.
[2010/06/07 16:55:00] <eric0> i havent used mongrel myself but one of the advantages of passenger over mongrel as i understand it, is that w/mongrel you have to manage puppetmaster process lifecycle instead of letting them get spawned/reaped automatically
[2010/06/07 16:56:51] <lucid_> hi, i've just loaded puppet 0.25. on a server and client. i am on the step where i need to build a site manifest... does that manifest described in the configure portion of the doc, reside on the clienet or server?
[2010/06/07 16:59:38] <eric0> lucid_: server
[2010/06/07 17:04:37] @ andrew3 joined channel #puppet
[2010/06/07 17:04:52] @ andrew3 left channel #puppet ()
[2010/06/07 17:09:12] @ neek joined channel #puppet
[2010/06/07 17:09:26] <lucid_> trying it on the server first...
[2010/06/07 17:10:19] <neek> so, I'm setting a variable in a class, with content of "TEST=test". I'm trying to get that variable to show verbatim in a template .erb. My current problem is that it's only showing up as "test" and not "TEST=test"
[2010/06/07 17:11:01] @ Quit: rmiller4pi8: Ping timeout: 245 seconds
[2010/06/07 17:14:45] <neek> so like this:
[2010/06/07 17:14:47] <neek> http://pastebin.ca/1878684
[2010/06/07 17:17:01] <jbooth> What happens if you use single quotes rather than double in the class for $env=?
[2010/06/07 17:17:02] <kjetilho> so output is "export test"?
[2010/06/07 17:17:36] <neek> so, as it turns out, the example works. let me add the rest of the complication... :)
[2010/06/07 17:17:53] <kjetilho> jbooth: doesn't matter. only influenced $ expansion
[2010/06/07 17:19:43] * neek rofls
[2010/06/07 17:19:45] <neek> found it.
[2010/06/07 17:20:04] <neek> that -one- box, I just defined it as "test" instead of "TEST=test"
[2010/06/07 17:20:27] * neek . o O ( or the actual variable equivilent ).
[2010/06/07 17:20:31] <neek> and since that's my test box....
[2010/06/07 17:21:52] <Volcane> this is why i dont help people who post non actual code samples demonstrsting a problem :)
[2010/06/07 17:22:22] <neek> Volcane: well, the actual code is about 3,000 extra lines... :)
[2010/06/07 17:23:04] @ voodoo_ joined channel #puppet
[2010/06/07 17:23:53] @ Quit: emarshall: Quit: emarshall
[2010/06/07 17:24:02] @ p3rror joined channel #puppet
[2010/06/07 17:24:05] <neek> but it oftem helps to document so you can explain it to someone else...often you'll see the problem you created.
[2010/06/07 17:26:49] @ Quit: aliver: Quit: thanks for the help
[2010/06/07 17:27:11] <lucid_> i am looking for guideance: when running puppetmasterd --mkuser .. i get unable to resolve host.
[2010/06/07 17:27:45] <Volcane> why arent you installing from a package?
[2010/06/07 17:30:34] <lucid_> ugg... did i miss a step.. i did install from a package. now i am following the instruction to configure...
[2010/06/07 17:31:23] <Volcane> nah just generally you dont need that if you insall from package
[2010/06/07 17:33:37] @ Quit: giskard: Remote host closed the connection
[2010/06/07 17:34:36] @ Quit: voodoo_: Ping timeout: 240 seconds
[2010/06/07 17:34:51] <lucid_> i added the servername to the line i enterened in the hosts file .. mkusers seems to have worked
[2010/06/07 17:35:20] <lucid_> 127.0.0.1 localhost.localdomain localhost puppet myservername
[2010/06/07 17:36:01] <blood> lucid_: you should really create modules
[2010/06/07 17:36:11] <blood> more efficient then dumping everything into a manifest
[2010/06/07 17:36:36] <blood> i'm currently working on building mine
[2010/06/07 17:36:55] <blood> the module can include manifest/files/pkgs etc
[2010/06/07 17:37:06] <blood> http://docs.reductivelabs.com/guides/modules.html
[2010/06/07 17:37:08] <blood> http://docs.reductivelabs.com/guides/modules.html
[2010/06/07 17:37:21] <jbooth> blood: I think he's still trying to make client and server talk
[2010/06/07 17:37:40] <blood> up above he mentioned manifest=)
[2010/06/07 17:37:48] <blood> but yea i see that now
[2010/06/07 17:40:55] @ Quit: adrian_broher: Quit: Verlassend
[2010/06/07 17:42:42] @ Quit: mpdehaan: Remote host closed the connection
[2010/06/07 17:43:59] @ Quit: lucid_: Ping timeout: 252 seconds
[2010/06/07 17:44:38] @ Quit: labrown: Quit: Leaving
[2010/06/07 17:45:09] @ Quit: WALoeIII: Quit: WALoeIII
[2010/06/07 17:51:54] @ lucid_ joined channel #puppet
[2010/06/07 17:52:59] @ sebas891 left channel #puppet ()
[2010/06/07 17:53:19] @ Quit: beata_: Quit: leaving
[2010/06/07 17:54:52] @ Quit: shenson: Quit: /me taps out
[2010/06/07 18:01:24] @ Quit: notbrien: Quit: notbrien
[2010/06/07 18:01:55] @ swa_work joined channel #puppet
[2010/06/07 18:01:56] @ Quit: allsystemsarego: Quit: Leaving
[2010/06/07 18:04:12] @ ken_barber left channel #puppet ()
[2010/06/07 18:04:50] @ Quit: blahdeblah: Ping timeout: 248 seconds
[2010/06/07 18:04:57] @ msf joined channel #puppet
[2010/06/07 18:09:37] @ Quit: reyjrar: Quit: Leaving.
[2010/06/07 18:14:03] @ Quit: lucid_: Ping timeout: 252 seconds
[2010/06/07 18:14:38] @ Quit: lucid: Ping timeout: 258 seconds
[2010/06/07 18:16:51] @ voodoo_ joined channel #puppet
[2010/06/07 18:19:02] @ rodnet joined channel #puppet
[2010/06/07 18:19:51] @ Quit: thegcat: Quit: Leaving.
[2010/06/07 18:22:06] @ emarshall joined channel #puppet
[2010/06/07 18:31:29] @ joe-mac left channel #puppet ()
[2010/06/07 18:33:42] @ OpenMedia joined channel #puppet
[2010/06/07 18:33:54] @ Quit: MattyM: Ping timeout: 265 seconds
[2010/06/07 18:34:18] @ Quit: rodnet: Read error: Connection reset by peer
[2010/06/07 18:34:19] @ rodnet_ joined channel #puppet
[2010/06/07 18:40:37] @ Quit: ahasenack: Quit: Leaving
[2010/06/07 18:41:58] @ Edgan_ joined channel #puppet
[2010/06/07 18:42:17] @ Quit: Edgan: Ping timeout: 245 seconds
[2010/06/07 18:43:27] @ plathrop is now known as plathrop-away
[2010/06/07 18:49:22] @ Quit: rodnet_: Read error: Connection reset by peer
[2010/06/07 18:49:24] @ rodnet joined channel #puppet
[2010/06/07 18:50:11] @ Quit: Edgan_: Ping timeout: 245 seconds
[2010/06/07 18:50:56] @ Edgan joined channel #puppet
[2010/06/07 18:56:47] @ Quit: steph021: Remote host closed the connection
[2010/06/07 18:58:25] @ blahdeblah joined channel #puppet
[2010/06/07 19:12:30] @ lucid joined channel #puppet
[2010/06/07 19:15:23] <lucid> moved my puppet install/config effort to home... with the 2 shiny new ubuntu desktop installs ..
[2010/06/07 19:15:52] <lucid> i am looking at the entries in the hosts file for the server....
[2010/06/07 19:16:18] <lucid> restated on the server
[2010/06/07 19:17:27] @ bodepd joined channel #puppet
[2010/06/07 19:18:13] @ Quit: bodepd: Remote host closed the connection
[2010/06/07 19:18:42] @ bodepd joined channel #puppet
[2010/06/07 19:19:24] @ Quit: bodepd: Remote host closed the connection
[2010/06/07 19:20:05] @ bodepd joined channel #puppet
[2010/06/07 19:20:23] <lucid> i put the servers name in the following in hopes that i could test the client on the server first.. ie
[2010/06/07 19:20:38] <lucid> 127.0.0.1 localhost.localdomain localhost puppet myservername
[2010/06/07 19:20:54] <lucid> will that work?
[2010/06/07 19:22:30] @ Quit: kaptk2: Quit: Leaving.
[2010/06/07 19:26:26] @ Quit: p3rror: Ping timeout: 248 seconds
[2010/06/07 19:30:36] @ Quit: lucid: Quit: ChatZilla 0.9.86 [Firefox 3.6.3/20100423140709]
[2010/06/07 19:37:47] @ artista_frustrad joined channel #puppet
[2010/06/07 19:38:34] @ lucid joined channel #puppet
[2010/06/07 19:40:25] @ p3rror joined channel #puppet
[2010/06/07 19:41:22] @ gaveen joined channel #puppet
[2010/06/07 19:46:46] @ PaulWay[w] joined channel #puppet
[2010/06/07 19:49:47] @ Quit: artista_frustrad: Ping timeout: 265 seconds
[2010/06/07 19:52:39] <lucid> still trying to configure the first time puppet client server sync.... do i need to put a server refernce in the puppet.conf onthe client side?
[2010/06/07 19:54:34] <pheezy> how does one use fully qualified variables in a template?
[2010/06/07 19:55:12] <ashp> Hmm, I wonder how hard it is to work out syntax highlighting for .pp files in notepad++
[2010/06/07 19:56:05] <ashp> I guess I should just use gvim on windows. :D
[2010/06/07 19:56:47] <RS-232> pheezy: do you mean you want to test if they are set, before using them?
[2010/06/07 19:57:23] <pheezy> No I mean I want to interpolate them into a file
[2010/06/07 19:57:48] <bodepd> ppheezy: I think you need to set a valid in the local scope and use the shortname.
[2010/06/07 19:57:58] <bodepd> s/valid/value/
[2010/06/07 19:58:25] <pheezy> the local scope of the template?
[2010/06/07 19:58:45] <bodepd> pheezy: local scope where the template function is called.
[2010/06/07 19:58:57] <pheezy> oh gotcha
[2010/06/07 19:59:08] <pheezy> also, hello!
[2010/06/07 19:59:23] <bodepd> hi!
[2010/06/07 19:59:26] <RS-232> pheezy: something like <%= scope.lookupvar('apache::user') %> ?
[2010/06/07 19:59:33] <RS-232> that is from http://docs.puppetlabs.com/guides/templating.html
[2010/06/07 19:59:54] <henderb> facter seems to have a variable fqdn
[2010/06/07 20:00:03] @ Quit: alfism: Quit: alfism
[2010/06/07 20:00:07] <bodepd> that looks even better;)
[2010/06/07 20:00:10] <pheezy> ahh seems both ways might work
[2010/06/07 20:00:38] <pheezy> thanks!
[2010/06/07 20:02:03] @ malikai1 left channel #puppet ()
[2010/06/07 20:02:41] @ artista_frustrad joined channel #puppet
[2010/06/07 20:03:31] @ Quit: tonyskapunk: Quit: ERC Version 5.3 (IRC client for Emacs)
[2010/06/07 20:07:01] @ Quit: jab_doa: Quit: Verlassend
[2010/06/07 20:07:08] @ Quit: swa_work: Quit: Leaving
[2010/06/07 20:09:00] @ Quit: p3rror: Ping timeout: 272 seconds
[2010/06/07 20:11:05] @ gm1959 joined channel #puppet
[2010/06/07 20:11:26] @ p3rror joined channel #puppet
[2010/06/07 20:12:17] <gm1959> hey - I have the mysqld process set to subscribe to /etc/my.cnf, but the service seems to restart on every single puppet run, *and* it takes for-freaking-ever to restart/refresh the mysql process, like 2 mins.
[2010/06/07 20:12:50] <gm1959> mysql restart on its own takes ten seconds
[2010/06/07 20:13:44] @ swa_work joined channel #puppet
[2010/06/07 20:14:36] <RS-232> can you pastebin your recipe?
[2010/06/07 20:14:36] @ Quit: rodnet: Read error: Connection reset by peer
[2010/06/07 20:14:43] @ rodnet joined channel #puppet
[2010/06/07 20:14:54] <gm1959> it's huge, it's a whole module
[2010/06/07 20:15:17] <gm1959> but sure
[2010/06/07 20:15:54] @ Quit: lak: Quit: lak
[2010/06/07 20:16:38] <gm1959> http://pastie.org/995800
[2010/06/07 20:18:01] <bodepd> gm1959: can I see the output from the refresh?
[2010/06/07 20:18:28] <gm1959> everything?
[2010/06/07 20:18:50] <bodepd> yeah, just verbose level is fine. pastie it.
[2010/06/07 20:18:56] <bodepd> only for one run please :)
[2010/06/07 20:19:49] <gm1959> k, I'll run one with no updates, one minute
[2010/06/07 20:20:00] <gm1959> actually more like three. :-(
[2010/06/07 20:20:44] @ Quit: jermy: Ping timeout: 264 seconds
[2010/06/07 20:22:09] <gm1959> http://pastie.org/995802
[2010/06/07 20:22:20] @ jermy joined channel #puppet
[2010/06/07 20:23:20] <bodepd> gm1959: I dont see anything strange here. /etc/my.cnf changes, so the service restarts
[2010/06/07 20:23:35] <gm1959> there are no changes to my.cnf
[2010/06/07 20:24:37] <gm1959> does Time.now in a template force a new template down?
[2010/06/07 20:24:58] <gm1959> if so, that would explain it
[2010/06/07 20:25:00] <bodepd> maybe, the file is changing. can I see the template?
[2010/06/07 20:25:12] <gm1959> hang on
[2010/06/07 20:25:25] <bodepd> is you run with --show_diff, then it will print a diff when files chagne
[2010/06/07 20:25:41] <lucid> ugg.. is there a different set of install/config instructions than http://docs.puppetlabs.com/guides/installation.html
[2010/06/07 20:26:03] <lucid> i want not getting the server and client working on the instructions...
[2010/06/07 20:26:05] <lucid> ; )
[2010/06/07 20:26:18] <lucid> i want to blame not getting ...
[2010/06/07 20:26:42] <bodepd> lucid: whats your question? I usually install from source.
[2010/06/07 20:27:17] <bodepd> gm1959: http://pastie.org/995803 shows that the file is changing.
[2010/06/07 20:27:29] <gm1959> wow - Time.now does something odd
[2010/06/07 20:27:34] <bodepd> you could check the diffs in the filebucket if you want to see what changed
[2010/06/07 20:27:52] <bodepd> if Time.now is in the template, I would expect it to always change.
[2010/06/07 20:27:56] <gm1959> its forcing a refresh of the file for each run
[2010/06/07 20:28:19] <gm1959> I wanted a record of the last time the file was generated.
[2010/06/07 20:28:26] <lucid> bodepd: what can i do to determine the results of the client command sudo puppetd --server mdlogix-laptop --waitforcert 60 --test -d
[2010/06/07 20:28:29] <lucid> ?
[2010/06/07 20:29:20] <bodepd> lucid: not sure I understand. run it, and see what happens :)
[2010/06/07 20:29:45] <bodepd> gm1959: pastie the tempalte
[2010/06/07 20:30:38] <gm1959> also - from the run, did it look to you like it was installing packages? they're already installed
[2010/06/07 20:31:58] <lucid> ...
[2010/06/07 20:32:03] <lucid> debug: Using cached certificate for ca, good until Sat May 30 16:24:17 UTC 2015
[2010/06/07 20:32:05] <lucid> err: Could not request certificate: undefined method `closed?' for nil:NilClass
[2010/06/07 20:33:26] <bodepd> gm1959: doesnt look like it. I would run in verbose. its easier to see what happens
[2010/06/07 20:33:47] <bodepd> lucid: cert issues have crappy messages.
[2010/06/07 20:34:36] @ Quit: emarshall: Quit: emarshall
[2010/06/07 20:34:47] <bodepd> lucid: try running with --certname blah
[2010/06/07 20:36:20] <gm1959> yeah, taking the Time.now out of the equation reveals that it's reinstalling mysql every time it runs
[2010/06/07 20:37:20] @ Quit: PaulWay[w]: Remote host closed the connection
[2010/06/07 20:37:26] <lucid> bodepd: literally blah... embarrassed to have to ask
[2010/06/07 20:37:41] <bodepd> lucid: I just want to try with another certname
[2010/06/07 20:37:54] <bodepd> coudl be anything. (not your hostname)
[2010/06/07 20:39:07] <bodepd> gm1959: I dont understand how that means its re-installing mysql everytime.
[2010/06/07 20:39:16] <lucid> Could not prepare for execution: Could not create PID file: /var/run/puppet/puppetd.pid
[2010/06/07 20:39:38] <bodepd> what user are you running as?
[2010/06/07 20:39:49] <bodepd> does the PID file already exist? (aka: is puppetd running)
[2010/06/07 20:39:51] <gm1959> bodepd - I'm looking at the verbose - it keeps reinstalling mysql, that is what's taking so long
[2010/06/07 20:40:33] <lucid> i am sudo the commands on the client side...
[2010/06/07 20:40:34] <gm1959> I'll pastie in a min
[2010/06/07 20:41:41] <lucid> sudo /etc/init.d/puppet status * puppetd is running
[2010/06/07 20:42:03] <bodepd> first stop it
[2010/06/07 20:42:32] @ cliff-hm joined channel #puppet
[2010/06/07 20:43:00] <gm1959> bodepd - http://pastie.org/995810
[2010/06/07 20:43:22] <bodepd> can you run without --debug. its so noisy.
[2010/06/07 20:43:29] <lucid> stop ok
[2010/06/07 20:44:27] <gm1959> bodepd - you dont see any thing useful at all without --debug, you dont see it reinstalling
[2010/06/07 20:46:05] <bodepd> if puppet causes something to install, it would be logged at a higher level than debug.
[2010/06/07 20:46:38] <bodepd> I dont see any lines that indicate anything is installing. which line number are you referring to?
[2010/06/07 20:47:19] @ knight_ joined channel #puppet
[2010/06/07 20:47:22] <gm1959> look at 132 to141
[2010/06/07 20:47:45] @ acrollet joined channel #puppet
[2010/06/07 20:47:53] <bodepd> rpm -q means is the package installed.
[2010/06/07 20:47:59] <agaffney> gm1959: that's puppet checking to see if a package is installed
[2010/06/07 20:48:14] <agaffney> any change made to the system will be logged at the 'info' level
[2010/06/07 20:48:27] <gm1959> agaffney - that's right where it stops for over a minutwe
[2010/06/07 20:48:30] <gm1959> minute
[2010/06/07 20:49:04] <agaffney> debug: Finishing transaction 23495505294940 with 0 changes
[2010/06/07 20:49:08] <agaffney> it didn't do anything
[2010/06/07 20:50:14] <gm1959> then I dont understand what's going on. every other run on every other machine 0 except the db machines - runs in 2 to 5 sconds
[2010/06/07 20:50:30] <gm1959> ignore that 0, sorry
[2010/06/07 20:50:59] @ Quit: pheezy: Remote host closed the connection
[2010/06/07 20:51:05] <agaffney> and if you run those commands by hand, how long do they take?
[2010/06/07 20:52:01] <gm1959> cant run them by hand because of the variable substitution
[2010/06/07 20:52:49] <gm1959> running without the -qf and vars takes no time
[2010/06/07 20:53:30] @ Quit: mqr: Quit: mqr
[2010/06/07 20:53:33] @ freshtonic joined channel #puppet
[2010/06/07 20:53:36] @ bodepd left channel #puppet ()
[2010/06/07 20:53:58] <agaffney> gm1959: that's not variable substitution
[2010/06/07 20:54:07] <agaffney> those are rpm output format specifiers
[2010/06/07 20:54:13] @ mqr joined channel #puppet
[2010/06/07 20:54:32] <agaffney> although, you probably need to put everything after -qf in quotes
[2010/06/07 20:54:40] @ Quit: jaredrhine: Quit: Leaving.
[2010/06/07 20:54:44] <agaffney> /bin/rpm -q mysql-server-5.1.47 --nosignature --nodigest --qf %{NAME} %|EPOCH?{%{EPOCH}}:{0}| %{VERSION} %{RELEASE} %{ARCH}
[2010/06/07 20:54:48] <agaffney> err
[2010/06/07 20:54:55] <agaffney> /bin/rpm -q mysql-server-5.1.47 --nosignature --nodigest --qf '%{NAME} %|EPOCH?{%{EPOCH}}:{0}| %{VERSION} %{RELEASE} %{ARCH}'
[2010/06/07 20:55:44] @ Quit: freshtonic: Client Quit
[2010/06/07 20:55:45] @ bodepd joined channel #puppet
[2010/06/07 20:55:46] @ bodepd left channel #puppet ()
[2010/06/07 20:55:59] <gm1959> runs instantly
[2010/06/07 20:56:13] <gm1959> mysql 0 5.1.47 1.el5.remi x86_64
[2010/06/07 20:56:24] @ pheezy joined channel #puppet
[2010/06/07 20:56:29] <agaffney> and what about '/sbin/service mysqld status' and '/sbin/chkconfig mysqld'
[2010/06/07 20:57:21] @ freshtonic joined channel #puppet
[2010/06/07 20:57:28] <gm1959> status returns the pid
[2010/06/07 20:57:31] <agaffney> and the same commands for the other 2 services/packages?
[2010/06/07 20:57:36] @ sebas891 joined channel #puppet
[2010/06/07 20:57:43] <gm1959> chkconfig returns nothing
[2010/06/07 20:59:09] * agaffney shrugs
[2010/06/07 20:59:11] <gm1959> server and bench both return from rpm immediately
[2010/06/07 20:59:16] @ Quit: mqr: Quit: mqr
[2010/06/07 20:59:21] @ herdingcat joined channel #puppet
[2010/06/07 21:00:58] <gm1959> is there any way I can look deeper to see where the 100 secs are going?
[2010/06/07 21:01:43] @ Quit: knight_: Ping timeout: 276 seconds
[2010/06/07 21:05:18] @ Kiloman joined channel #puppet
[2010/06/07 21:14:33] <blood> so to create a new environment, it seems that i just create [environment] in my puppet.conf correct?
[2010/06/07 21:14:36] <blood> and set the modulepath
[2010/06/07 21:14:40] @ Quit: acrollet: Quit: acrollet
[2010/06/07 21:15:00] <blood> so if i wanted dev/production/test i would use [dev], [prod], [test]
[2010/06/07 21:15:07] <blood> does this sound right?
[2010/06/07 21:15:30] @ Quit: p3rror: Ping timeout: 272 seconds
[2010/06/07 21:18:40] @ Quit: rellis: Read error: Connection reset by peer
[2010/06/07 21:19:36] @ Quit: gm1959:
[2010/06/07 21:23:16] @ rellis joined channel #puppet
[2010/06/07 21:23:55] @ Quit: bearnard: Quit: bearnard
[2010/06/07 21:25:42] <blood> hrmm
[2010/06/07 21:26:08] <blood> environments seems neat
[2010/06/07 21:29:50] @ Quit: lucid: Ping timeout: 265 seconds
[2010/06/07 21:31:57] @ Quit: pheezy: Remote host closed the connection
[2010/06/07 21:33:22] @ pheezy joined channel #puppet
[2010/06/07 21:39:06] @ lak joined channel #puppet
[2010/06/07 21:40:25] @ PhabX joined channel #puppet
[2010/06/07 21:40:36] @ Quit: pheezy: Remote host closed the connection
[2010/06/07 21:40:42] <PhabX> can someone help with this error? err: Could not prefetch user provider 'ldap': Could not connect to LDAP: No such object
[2010/06/07 21:41:02] <blood> is that when generating the cert?
[2010/06/07 21:41:16] <PhabX> blood: talking to me?
[2010/06/07 21:41:16] <blood> i remember seeing that error and realizing that it was normal since i always got it
[2010/06/07 21:41:28] <blood> yes
[2010/06/07 21:41:37] <blood> what command gives you that error
[2010/06/07 21:41:51] <PhabX> blood: no, its when trying to run the code that creates a user and group. the cert was created a while back
[2010/06/07 21:41:57] <blood> ah
[2010/06/07 21:42:02] <PhabX> puppetd -tv --server fqdn gives me that error
[2010/06/07 21:42:28] <PhabX> blood: i have some new code, that is attempting to create an ldap user and group
[2010/06/07 21:42:54] <PhabX> i'm using this as my starting point but i'm not making much progress http://www.mail-archive.com/puppet-users@googlegroups.com/msg02693.html
[2010/06/07 21:43:32] <blood> ok
[2010/06/07 21:43:34] <blood> ldapuser is wrong
[2010/06/07 21:43:39] <blood> where is admin located?
[2010/06/07 21:43:51] @ Quit: lak: Ping timeout: 265 seconds
[2010/06/07 21:43:58] <blood> in Users?
[2010/06/07 21:44:15] <PhabX> what do you mean where is admin located?
[2010/06/07 21:44:26] <blood> > ldapuser=cn=admin,dc=myorg,dc=org
[2010/06/07 21:44:37] <blood> that's not valid
[2010/06/07 21:44:43] <PhabX> ahh i have that in puppet.conf under main and under puppet sections
[2010/06/07 21:44:46] <blood> something like this would be valid
[2010/06/07 21:44:56] @ Quit: bogusano: Ping timeout: 276 seconds
[2010/06/07 21:45:03] <blood> CN=admin,CN=Users,DC=domain,DC=local
[2010/06/07 21:45:20] <blood> you need to specify where the admin account is located
[2010/06/07 21:45:34] <PhabX> blood: ahh i definately don't have a CN for the Users let me look into that
[2010/06/07 21:45:38] <PhabX> I'm using Fedora DS
[2010/06/07 21:45:48] <blood> ok well find out where admin is
[2010/06/07 21:45:53] <blood> i use AD
[2010/06/07 21:46:18] @ brettgoulder joined channel #puppet
[2010/06/07 21:46:21] <PhabX> that may be part of the problem? i don't think there is an admin account per say but I do have the stock admin account which is called Directory Manager
[2010/06/07 21:46:40] <blood> well is ldapuser the account it uses to connect to LDAP?
[2010/06/07 21:46:42] @ bogusano joined channel #puppet
[2010/06/07 21:46:51] <blood> if so that would explain why it's not working
[2010/06/07 21:47:03] <blood> the basedn is fine
[2010/06/07 21:47:07] <blood> it will search the root
[2010/06/07 21:47:10] <PhabX> ldapuser=cn=Directory Manager,dc=gnmedia,dc=org
[2010/06/07 21:47:19] <blood> where is Directory Managed located?
[2010/06/07 21:47:22] <blood> is there a group?
[2010/06/07 21:47:24] <blood> container
[2010/06/07 21:47:32] <PhabX> looking at ldapsearch
[2010/06/07 21:47:43] <blood> just grab the LDAP string from your directory
[2010/06/07 21:47:46] <blood> then use that
[2010/06/07 21:48:41] <PhabX> i thought that's what I was using
[2010/06/07 21:48:42] <PhabX> grep dc= /etc/ldap.conf | grep -v '^#' base dc=gnmedia,dc=net
[2010/06/07 21:48:53] <PhabX> I'll see if I can manually create an admin user =\
[2010/06/07 21:49:06] <blood> ok well fix ldapuser then retest=)
[2010/06/07 21:49:17] <blood> need a valid user to be able to query LDAP
[2010/06/07 21:49:40] <PhabX> i didn't see the connection hitting ldap to begin with
[2010/06/07 21:49:45] <PhabX> so i though something else was wrong
[2010/06/07 21:49:49] <PhabX> the error is not very informative
[2010/06/07 21:49:57] <blood> yea i agree
[2010/06/07 21:50:04] <blood> i haven't setup puppet to use ldap
[2010/06/07 21:50:09] <blood> so i can't help you there
[2010/06/07 21:50:13] <blood> i just know LDAP syntax
[2010/06/07 21:50:13] <blood> =)
[2010/06/07 21:50:36] @ _jsman joined channel #puppet
[2010/06/07 21:51:48] @ rellis__ joined channel #puppet
[2010/06/07 21:52:19] @ _TheAvatar joined channel #puppet
[2010/06/07 21:52:32] @ pheezy joined channel #puppet
[2010/06/07 21:53:14] @ hggh_ joined channel #puppet
[2010/06/07 21:53:26] @ matti__ joined channel #puppet
[2010/06/07 21:53:29] @ Omahn joined channel #puppet
[2010/06/07 21:53:51] @ jetole_ joined channel #puppet
[2010/06/07 21:53:57] <blood> foreman/puppet dashboard are considered external node configuration tools right?
[2010/06/07 21:53:59] @ zeroXten_ joined channel #puppet
[2010/06/07 21:54:04] <blood> since you are able to alter node configs
[2010/06/07 21:54:09] <PhabX> blood: thanks for the help that did it :)
[2010/06/07 21:54:10] @ astinus_ joined channel #puppet
[2010/06/07 21:54:12] @ telmich_ joined channel #puppet
[2010/06/07 21:54:15] @ tarjei_ joined channel #puppet
[2010/06/07 21:54:16] <blood> PhabX: no problem=)
[2010/06/07 21:54:20] @ Quit: jsman: Ping timeout: 240 seconds
[2010/06/07 21:54:20] @ Quit: TheAvatar: Ping timeout: 240 seconds
[2010/06/07 21:54:20] @ Quit: matti: Ping timeout: 240 seconds
[2010/06/07 21:54:20] @ Quit: Omahn_: Ping timeout: 240 seconds
[2010/06/07 21:54:20] @ Quit: hggh: Ping timeout: 240 seconds
[2010/06/07 21:54:20] @ Quit: rellis: Ping timeout: 240 seconds
[2010/06/07 21:54:20] @ Quit: LapTop006: Ping timeout: 240 seconds
[2010/06/07 21:54:21] @ Quit: ohadlevy: Ping timeout: 240 seconds
[2010/06/07 21:54:21] @ Quit: zeroXten: Ping timeout: 240 seconds
[2010/06/07 21:54:21] @ Quit: jetole: Ping timeout: 240 seconds
[2010/06/07 21:54:21] @ Quit: coronel2: Ping timeout: 240 seconds
[2010/06/07 21:54:21] @ Quit: fux: Ping timeout: 240 seconds
[2010/06/07 21:54:21] @ Quit: voodoo_: Ping timeout: 240 seconds
[2010/06/07 21:54:21] @ Quit: Whoop: Ping timeout: 240 seconds
[2010/06/07 21:54:22] @ Quit: telmich: Ping timeout: 240 seconds
[2010/06/07 21:54:22] @ Quit: _nono_: Ping timeout: 240 seconds
[2010/06/07 21:54:22] @ Quit: tarjei: Ping timeout: 240 seconds
[2010/06/07 21:54:22] @ Quit: raz: Ping timeout: 240 seconds
[2010/06/07 21:54:22] @ Quit: Sil4nc4: Ping timeout: 240 seconds
[2010/06/07 21:54:22] @ Quit: hy: Ping timeout: 240 seconds
[2010/06/07 21:54:22] @ Quit: astinus: Ping timeout: 240 seconds
[2010/06/07 21:54:22] @ LapTop006 joined channel #puppet
[2010/06/07 21:54:23] @ fux joined channel #puppet
[2010/06/07 21:54:23] @ _nono_ joined channel #puppet
[2010/06/07 21:54:23] @ Sil4nc4 joined channel #puppet
[2010/06/07 21:54:23] @ Whoop_ joined channel #puppet
[2010/06/07 21:54:23] <blood> you lucky i'm a windows admin=)
[2010/06/07 21:54:26] @ _jsman is now known as jsman
[2010/06/07 21:54:27] @ matti__ is now known as matti
[2010/06/07 21:54:27] @ Quit: jsman: Changing host
[2010/06/07 21:54:27] @ jsman joined channel #puppet
[2010/06/07 21:54:33] @ hy joined channel #puppet
[2010/06/07 21:54:33] <PhabX> blood: indeed I am
[2010/06/07 21:54:44] <blood> are you using modules/environments?
[2010/06/07 21:55:01] @ raz joined channel #puppet
[2010/06/07 21:55:16] <blood> or just a simple manifest
[2010/06/07 21:55:36] <PhabX> blood: we have environments in our dev/test environment
[2010/06/07 21:55:41] <PhabX> but just simple setup for production
[2010/06/07 21:55:45] <blood> ah gotcha
[2010/06/07 21:55:46] @ ohadlevy joined channel #puppet
[2010/06/07 21:55:53] <blood> hi ohadlevy
[2010/06/07 21:56:09] <blood> using foreman or puppet dashboard?
[2010/06/07 21:56:12] @ ohadlevy is now known as Guest74437
[2010/06/07 21:56:36] @ voodoo_ joined channel #puppet
[2010/06/07 21:56:50] @ Quit: \ask: Ping timeout: 252 seconds
[2010/06/07 21:57:08] @ Guest74437 left channel #puppet ()
[2010/06/07 21:58:42] @ Quit: PhabX: Quit: Page closed
[2010/06/07 22:03:00] @ Quit: sebas891: Quit: Leaving.
[2010/06/07 22:07:32] @ Quit: gaveen: Ping timeout: 265 seconds
[2010/06/07 22:08:45] @ lak joined channel #puppet
[2010/06/07 22:09:27] @ andrew joined channel #puppet
[2010/06/07 22:09:55] @ andrew is now known as Guest27927
[2010/06/07 22:15:24] @ Quit: alexine_dsouza: Read error: Connection reset by peer
[2010/06/07 22:18:37] @ Quit: lak: Quit: lak
[2010/06/07 22:19:40] @ gaveen joined channel #puppet
[2010/06/07 22:25:26] @ Quit: rocket: Ping timeout: 252 seconds
[2010/06/07 22:32:23] @ Quit: herdingcat: Ping timeout: 276 seconds
[2010/06/07 22:32:49] @ ohadlevy_ joined channel #puppet
[2010/06/07 22:34:29] @ jaredrhine joined channel #puppet
[2010/06/07 22:43:02] @ emarshall joined channel #puppet
[2010/06/07 22:46:44] @ rmiller4pi8 joined channel #puppet
[2010/06/07 22:48:25] @ Quit: rodnet: Read error: Connection reset by peer
[2010/06/07 22:48:30] @ rodnet joined channel #puppet
[2010/06/07 22:54:24] @ ohadlevy_ is now known as ohadlevy
[2010/06/07 23:01:52] @ PaulWay[w] joined channel #puppet
[2010/06/07 23:02:06] @ Quit: pheezy: Remote host closed the connection
[2010/06/07 23:06:42] @ pheezy joined channel #puppet
[2010/06/07 23:08:51] @ mqr joined channel #puppet
[2010/06/07 23:12:14] @ Quit: blahdeblah: Remote host closed the connection
[2010/06/07 23:13:32] @ Quit: cliff-hm: Ping timeout: 245 seconds
[2010/06/07 23:15:40] @ Quit: pheezy: Remote host closed the connection
[2010/06/07 23:15:42] @ wilmoore joined channel #puppet
[2010/06/07 23:19:37] @ Quit: afletcher: Quit: afletcher
[2010/06/07 23:21:23] @ shenson joined channel #puppet
[2010/06/07 23:28:22] @ ahuman joined channel #puppet
[2010/06/07 23:28:49] @ blahdeblah joined channel #puppet
[2010/06/07 23:44:27] @ Quit: emarshall: Quit: emarshall
[2010/06/07 23:47:58] @ Quit: pting: Quit: Ex-Chat
[2010/06/07 23:51:48] @ Quit: Bass10: Ping timeout: 240 seconds
[2010/06/07 23:52:20] @ Quit: jense: Ping timeout: 276 seconds
[2010/06/07 23:52:29] @ jense joined channel #puppet
[2010/06/07 23:57:31] @ MarkN joined channel #puppet

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