Tuesday, 2011-11-29

[2011/11/29 00:01:25] @ Log started by gepetto
[2011/11/29 00:01:25] @ Quit: skm: Quit: Computer has gone to sleep.
[2011/11/29 00:04:36] @ Quit: Hypnoz: Ping timeout: 260 seconds
[2011/11/29 00:05:59] @ Quit: nitram_macair_: Quit: nitram_macair_
[2011/11/29 00:06:42] @ hooper joined channel #puppet
[2011/11/29 00:11:32] @ raphdg joined channel #puppet
[2011/11/29 00:12:17] <justdave> hmm, so along those lines... is there a way to do something like "if the file contains this specific string, then replace it entirely with this version from puppet, else leave it alone" ?
[2011/11/29 00:13:45] @ Quit: aherzog: Quit: aherzog
[2011/11/29 00:13:47] @ Quit: sumsuch: Quit: sumsuch
[2011/11/29 00:14:15] @ larstobi joined channel #puppet
[2011/11/29 00:14:28] <justdave> what I basicall want is replace => no, except that the file is going to exist initially, so I need to look at what's in it instead
[2011/11/29 00:14:46] <shawns> justdave: sure, you can do that in an exec using a 'onlyif'
[2011/11/29 00:15:40] <justdave> oh, and the exec can nuke the file if it contains that string
[2011/11/29 00:15:48] <justdave> and then the replace => no would do its thing
[2011/11/29 00:16:44] @ Quit: pieter_: Remote host closed the connection
[2011/11/29 00:17:12] @ nitram_macair_ joined channel #puppet
[2011/11/29 00:17:18] @ pieter_ joined channel #puppet
[2011/11/29 00:18:01] @ Ramonster joined channel #puppet
[2011/11/29 00:19:32] @ Quit: holsta: Remote host closed the connection
[2011/11/29 00:19:47] @ jsurfer joined channel #puppet
[2011/11/29 00:23:37] @ erthad joined channel #puppet
[2011/11/29 00:24:06] @ Quit: erthad: Changing host
[2011/11/29 00:24:06] @ erthad joined channel #puppet
[2011/11/29 00:27:11] @ Quit: hooper: Ping timeout: 244 seconds
[2011/11/29 00:31:44] @ jonhattan joined channel #puppet
[2011/11/29 00:31:48] @ inecas joined channel #puppet
[2011/11/29 00:31:54] @ dwalu joined channel #puppet
[2011/11/29 00:35:37] @ aib_007 joined channel #puppet
[2011/11/29 00:39:12] @ Quit: shawns: Ping timeout: 248 seconds
[2011/11/29 00:39:42] @ Razique joined channel #puppet
[2011/11/29 00:44:57] @ m3ridian joined channel #puppet
[2011/11/29 00:45:11] @ Holocaine joined channel #puppet
[2011/11/29 00:47:49] @ Quit: jodok: Read error: Connection reset by peer
[2011/11/29 00:48:15] @ jodok joined channel #puppet
[2011/11/29 00:48:15] @ Quit: jodok: Changing host
[2011/11/29 00:48:15] @ jodok joined channel #puppet
[2011/11/29 00:51:13] @ zenergi joined channel #puppet
[2011/11/29 00:52:17] @ matchaw_ joined channel #puppet
[2011/11/29 00:52:50] @ dim0 joined channel #puppet
[2011/11/29 00:53:49] @ Hypnoz joined channel #puppet
[2011/11/29 00:54:26] @ Quit: nitram_macair_: Quit: nitram_macair_
[2011/11/29 00:54:39] @ shawns joined channel #puppet
[2011/11/29 00:57:52] @ Nag_ joined channel #puppet
[2011/11/29 00:58:23] <Nag_> Hi guys, I am getting stack level too deep error on client when I ran puppet client
[2011/11/29 00:58:39] @ ironmunk joined channel #puppet
[2011/11/29 00:58:41] <Nag_> please provide me solution if any one knows about this error
[2011/11/29 00:58:57] @ djambar joined channel #puppet
[2011/11/29 00:59:11] @ justinstoller joined channel #puppet
[2011/11/29 00:59:29] @ artkrz joined channel #puppet
[2011/11/29 01:00:08] @ sdog joined channel #puppet
[2011/11/29 01:01:37] @ emergion joined channel #puppet
[2011/11/29 01:01:40] <Nag_> this is my error message err: Could not retrieve catalog from remote server: Error 400 on SERVER: stack level too deep at /etc/puppetlabs/puppet/manifests/classes/baseapps.pp:245 on node xxxxxxxx
[2011/11/29 01:02:03] @ Quit: emergion: Remote host closed the connection
[2011/11/29 01:02:38] @ Quit: davewongillies: Ping timeout: 244 seconds
[2011/11/29 01:03:00] @ davewongillies joined channel #puppet
[2011/11/29 01:03:15] <justinstoller> what's happening around line 245 of your baseapps.pp?
[2011/11/29 01:03:40] @ Quit: bzrk: Quit: Lost terminal
[2011/11/29 01:03:49] @ bzrk joined channel #puppet
[2011/11/29 01:04:03] @ nul0op joined channel #puppet
[2011/11/29 01:04:16] @ Quit: dissipate: Ping timeout: 248 seconds
[2011/11/29 01:05:32] @ _nono_ joined channel #puppet
[2011/11/29 01:06:52] <justinstoller> Nag_: also what setup and versions are you running?
[2011/11/29 01:07:08] <justinstoller> This is a known bug with Rails 3.1 -- https://projects.puppetlabs.com/issues/9290
[2011/11/29 01:07:11] @ Quit: sdog: Changing host
[2011/11/29 01:07:11] @ sdog joined channel #puppet
[2011/11/29 01:07:23] @ ezryx joined channel #puppet
[2011/11/29 01:07:38] <Nag_> emergion: at line 245 there is one include users::gdns
[2011/11/29 01:07:42] <justinstoller> as well as with some kinds of recrursive inclusions
[2011/11/29 01:08:18] <Nag_> I am getting problem with users include only. btw I have upgraded from pe1.0 to 2.0
[2011/11/29 01:08:33] <Nag_> is there any changes in user specifications in pe 2.0?
[2011/11/29 01:08:58] @ hfnix1 joined channel #puppet
[2011/11/29 01:09:26] <Nag_> justinstoller: what do you mean recursive inclusions. how can I check that
[2011/11/29 01:10:00] @ KristianDK joined channel #puppet
[2011/11/29 01:10:31] @ Quit: hfnix: Ping timeout: 260 seconds
[2011/11/29 01:10:34] <justinstoller> Nag_: sry, recursive inherits, probably not your problem, ex. https://projects.puppetlabs.com/issues/4991
[2011/11/29 01:11:24] @ Quit: bmahe: Quit: Leaving
[2011/11/29 01:11:33] <Nag_> only I am getting this error in include users::** only
[2011/11/29 01:11:40] <Nag_> not for any other modules
[2011/11/29 01:12:24] @ zenergi left channel #puppet ()
[2011/11/29 01:12:47] <Nag_> that was working fine in pe1.0 but I am getting stack level too deep error in pe2.0
[2011/11/29 01:13:12] @ Quit: proton: Ping timeout: 252 seconds
[2011/11/29 01:13:28] @ zorg1 joined channel #puppet
[2011/11/29 01:14:10] @ gucki joined channel #puppet
[2011/11/29 01:14:14] <gucki> hey there
[2011/11/29 01:14:17] <justinstoller> I'm afraid I'm not familiar with the changes in syntax from 1.0 to 2.0, just gotten started with puppet a couple of months ago and so everything has been puppet 2.7.x and pe1.2/2.0
[2011/11/29 01:14:54] <gucki> is there a way I can access the variables of a define is created earlier? something like ssh::key["my-key"].type, ssh::key["my-key"].data?
[2011/11/29 01:17:06] @ Quit: zorg1: Remote host closed the connection
[2011/11/29 01:17:16] <kjetilho> gucki: I don't think so. unless you use Ruby hackery
[2011/11/29 01:17:42] @ zorg1 joined channel #puppet
[2011/11/29 01:17:50] @ Quit: zorg1: Read error: Connection reset by peer
[2011/11/29 01:17:55] <gucki> kjetilho: mh, too bad. I think this'd be a great feature :)
[2011/11/29 01:18:09] <kjetilho> let me know if you find a way :)
[2011/11/29 01:18:42] <gucki> kjetilho: I'll do, but I already tried a lot and didn't succeed. :(
[2011/11/29 01:21:31] @ jgaret joined channel #puppet
[2011/11/29 01:21:35] <gucki> kjetilho: may be you have an idea to solve my problem...I'd like to define the ssh keys of all our members in the site.pp and then just reference them by name in the individual hosts..
[2011/11/29 01:22:08] @ flysnowchiu joined channel #puppet
[2011/11/29 01:24:32] @ Quit: flysnowchiu: Quit: 离开
[2011/11/29 01:26:36] @ Quit: nul0op: Ping timeout: 244 seconds
[2011/11/29 01:27:39] <fragfutter> gucki: here is my pattern http://pastie.org/2937731
[2011/11/29 01:29:02] @ Quit: Conan_: Read error: Connection reset by peer
[2011/11/29 01:30:02] @ wkl joined channel #puppet
[2011/11/29 01:33:45] <smintz> join #joindiaspora
[2011/11/29 01:34:19] * smintz forgot how to use irc
[2011/11/29 01:35:43] <misc> just add / before command
[2011/11/29 01:36:18] @ Quit: dofr: Ping timeout: 252 seconds
[2011/11/29 01:36:48] @ InsolentDreams joined channel #puppet
[2011/11/29 01:36:51] <smintz> yeah, I remember now :)
[2011/11/29 01:37:09] <bd> also, most important, idle.
[2011/11/29 01:37:47] @ smaguire joined channel #puppet
[2011/11/29 01:38:13] @ dofr joined channel #puppet
[2011/11/29 01:38:55] @ favadi joined channel #puppet
[2011/11/29 01:38:58] <favadi> Hi
[2011/11/29 01:39:03] <favadi> I have a question
[2011/11/29 01:40:07] <favadi> What should I do for using template under modules/<modules name>/templates folder?
[2011/11/29 01:40:18] <gucki> fragfutter: thanks, looks good :)
[2011/11/29 01:40:32] <favadi> I can use template in $templatedir folder but not this above folder
[2011/11/29 01:40:53] <gucki> fragfutter: I know solved it on my side using a hash. the define just adds the key to the hash, where the activate pulls it again from :)
[2011/11/29 01:41:00] <favadi> It said: "Could not find template..."
[2011/11/29 01:41:14] <fragfutter> favadi: template(<modules name>/<template name>)
[2011/11/29 01:41:33] @ nul0op joined channel #puppet
[2011/11/29 01:42:40] @ Quit: Deesl: Ping timeout: 248 seconds
[2011/11/29 01:42:42] <favadi> fragfutter: I've placed template file in to this but puppet say could not find ...
[2011/11/29 01:44:30] <fragfutter> favadi: <puppet>/modules/foo/templates/mytemplate.erb can be referenced inside of <puppet>modules/manifests/init.pp as template("foo/mytemplate.erb")
[2011/11/29 01:44:53] <fragfutter> missing a foo...
[2011/11/29 01:45:02] <fragfutter> favadi: <puppet>/modules/foo/templates/mytemplate.erb can be referenced inside of <puppet>/modules/foo/manifests/init.pp as template("foo/mytemplate.erb")
[2011/11/29 01:47:30] @ Quit: nokia3510: Ping timeout: 252 seconds
[2011/11/29 01:48:35] <bd> I'd like to manage ssh host keys with puppet, if the host's key is not on the puppet machine I'd like to collect it and if it is but is different, I'd like to overwrite it with the one from the puppet machine
[2011/11/29 01:48:56] @ Quit: hfnix1: Quit: Leaving.
[2011/11/29 01:49:23] @ Kazuhiro joined channel #puppet
[2011/11/29 01:49:44] <favadi> fragfutter: How strange, puppet say "could not find ..." in both case, <module name>/template.erb or just template.erb
[2011/11/29 01:50:17] <favadi> I read some example and see that people use only template.erb
[2011/11/29 01:50:26] @ dissipate joined channel #puppet
[2011/11/29 01:50:37] @ Quit: dissipate: Changing host
[2011/11/29 01:50:37] @ dissipate joined channel #puppet
[2011/11/29 01:52:14] @ Quit: Kazuhiro: Client Quit
[2011/11/29 01:53:42] <favadi> fragfutter: Ok, I'm stupid :D
[2011/11/29 01:53:51] <favadi> fragfutter: It's only a typo
[2011/11/29 01:56:57] @ mogitaff joined channel #puppet
[2011/11/29 01:59:16] @ nokia3510 joined channel #puppet
[2011/11/29 02:04:10] @ Quit: jsurfer: Quit: jsurfer
[2011/11/29 02:12:39] @ Quit: choonming: Remote host closed the connection
[2011/11/29 02:15:01] @ Quit: fimblo: Quit: leaving
[2011/11/29 02:16:48] @ Quit: frostynova: Remote host closed the connection
[2011/11/29 02:21:39] @ fimblo joined channel #puppet
[2011/11/29 02:21:57] @ PedroGomes joined channel #puppet
[2011/11/29 02:24:31] @ Quit: fimblo: Client Quit
[2011/11/29 02:24:43] @ fimblo joined channel #puppet
[2011/11/29 02:25:02] <PedroGomes> Hi, I made the setup for puppet and foreman, but now my puppet installation is acting weird. Every time a execute a comand I get the errors http://pastebin.com/bHKydWFd
[2011/11/29 02:25:47] <PedroGomes> libs on "/etc/puppet/modules/puppet/lib/puppet/", is this correct?
[2011/11/29 02:26:15] @ mukulm joined channel #puppet
[2011/11/29 02:26:39] @ Quit: InsolentDreams: Quit: InsolentDreams
[2011/11/29 02:26:43] @ Quit: fimblo: Client Quit
[2011/11/29 02:26:53] @ fimblo joined channel #puppet
[2011/11/29 02:28:35] <mukulm> Hi, I am not able to execute the code correctly as shown in http://pastebin.com/UTr582yB ?
[2011/11/29 02:28:46] <mukulm> Can any one assit ?
[2011/11/29 02:30:35] <bd> I need a vim autocorrection I always type pupept
[2011/11/29 02:32:00] <_rc_> mukulm: good god stop.
[2011/11/29 02:32:16] <_rc_> what are you trying to achiveve?
[2011/11/29 02:33:40] @ ckauhaus joined channel #puppet
[2011/11/29 02:36:31] @ Quit: dissipate: Remote host closed the connection
[2011/11/29 02:38:23] @ Quit: nul0op: Quit: Leaving
[2011/11/29 02:38:26] <mukulm> I am writing a code as per requirement & its woking but onlyif condition is not working ?
[2011/11/29 02:39:49] @ Quit: Xeross: Ping timeout: 240 seconds
[2011/11/29 02:43:13] <kjetilho> mukulm: simplify your test
[2011/11/29 02:46:42] <fragfutter> /usr/bin/test -e /usr/bin/passwd.orig
[2011/11/29 02:46:56] <kjetilho> exactly
[2011/11/29 02:47:04] <kjetilho> onlyif -> unless
[2011/11/29 02:47:24] @ ben_duyujie joined channel #puppet
[2011/11/29 02:47:49] @ Quit: justinstoller: Quit: justinstoller
[2011/11/29 02:48:42] @ daysmen joined channel #puppet
[2011/11/29 02:48:50] @ Quit: AshishH: Ping timeout: 244 seconds
[2011/11/29 02:49:38] <daysmen> leave
[2011/11/29 02:49:45] @ daysmen left channel #puppet ()
[2011/11/29 02:50:03] @ Quit: Enf: Remote host closed the connection
[2011/11/29 02:51:31] @ Quit: ben_duyujie: Client Quit
[2011/11/29 02:51:35] @ Xeross joined channel #puppet
[2011/11/29 02:54:33] @ brtl joined channel #puppet
[2011/11/29 02:54:46] @ Quit: bolt12: Quit: Leaving
[2011/11/29 02:55:11] @ hicham joined channel #puppet
[2011/11/29 02:55:22] <hicham> any howto for puppet-dashboard on gentoo ?
[2011/11/29 02:55:26] @ tholl583xx joined channel #puppet
[2011/11/29 03:00:07] <tholl583xx> im seeing a whole bunch of modules relating to iptables, I am assuming that iptables has to cross cut into modules like tomcat or sendmail to be any use.
[2011/11/29 03:00:26] @ Quit: favadi: Read error: Operation timed out
[2011/11/29 03:02:00] <tholl583xx> has any project come up with a sort of virtualized conf.d resource for firewalls, where the various servers can drop in a host/port opening request?
[2011/11/29 03:02:06] @ Quit: dofr: Ping timeout: 252 seconds
[2011/11/29 03:02:41] @ Quit: KristianDK: Quit: KristianDK
[2011/11/29 03:03:50] @ dofr joined channel #puppet
[2011/11/29 03:05:29] @ Quit: duerF: Remote host closed the connection
[2011/11/29 03:06:09] @ johnston_ joined channel #puppet
[2011/11/29 03:08:30] @ Quit: pmorillon: Read error: Connection reset by peer
[2011/11/29 03:08:54] @ pmorillon joined channel #puppet
[2011/11/29 03:12:50] <misc> tholl583xx: shorewall would be the nearer i can think of
[2011/11/29 03:12:59] @ Quit: gucki: Remote host closed the connection
[2011/11/29 03:13:37] <tholl583xx> misc: is shorewall a puppet module, or is that another iptables like firewall?
[2011/11/29 03:14:10] <fragfutter> tholl583xx: google is your friend
[2011/11/29 03:15:22] <misc> tholl583xx: shorewall is a perl script that run iptables
[2011/11/29 03:15:46] <tholl583xx> fragfutter: google is much too friendly.
[2011/11/29 03:16:34] <tholl583xx> i see the example42 module as having something similar to that.
[2011/11/29 03:16:42] <bd> tholl583xx: IIRC the wikipedia puppet config has iptables foo
[2011/11/29 03:17:16] <tholl583xx> is example 42 the coolest kids on the block for a recent modules? or is there any more to look at?
[2011/11/29 03:19:08] <tholl583xx> bd: do you mean the puppet wiki firewall config example? or actually on the wikipedia ?
[2011/11/29 03:19:35] @ Quit: MattyM: Remote host closed the connection
[2011/11/29 03:19:46] <_rc_> do you mean wikia?
[2011/11/29 03:20:15] <bd> tholl583xx: wikimedia published their puppet config, and i remember seeing some iptables stuff
[2011/11/29 03:21:01] <misc> https://blog.wikimedia.org/2011/09/19/ever-wondered-how-the-wikimedia-servers-are-configured/
[2011/11/29 03:21:41] <tholl583xx> cool, will check that out. thnx
[2011/11/29 03:22:01] <sdog> misc: whateve ryou do .. don't use their code as an example ..
[2011/11/29 03:22:07] @ Quit: xyn_: Ping timeout: 260 seconds
[2011/11/29 03:22:43] @ ecolitan joined channel #puppet
[2011/11/29 03:23:08] @ xyn_ joined channel #puppet
[2011/11/29 03:23:21] <_rc_> they don't seem to use modules at all. ick.
[2011/11/29 03:23:25] <dcarley> tholl583xx: https://github.com/puppetlabs/puppetlabs-firewall
[2011/11/29 03:23:37] <misc> sdog: I don't
[2011/11/29 03:23:52] <dcarley> tholl583xx: that provides a firewall{} resource that can be used across other modules.
[2011/11/29 03:29:14] <tholl583xx> dcarley: cheers.
[2011/11/29 03:29:22] @ ben_duyujie joined channel #puppet
[2011/11/29 03:31:27] @ Quit: mukulm: Ping timeout: 265 seconds
[2011/11/29 03:36:08] @ Quit: ecolitan: Read error: Connection reset by peer
[2011/11/29 03:40:12] @ Quit: pmorillon: Quit: pmorillon
[2011/11/29 03:40:58] @ ecolitan joined channel #puppet
[2011/11/29 03:41:05] @ Quit: ecolitan: Remote host closed the connection
[2011/11/29 03:45:30] @ KristianDK joined channel #puppet
[2011/11/29 03:47:13] @ Quit: Ramonster: Quit: So Long and thanks for all the fish
[2011/11/29 03:53:10] @ AshishH joined channel #puppet
[2011/11/29 03:55:39] @ Quit: omry: Ping timeout: 252 seconds
[2011/11/29 03:57:36] <PedroGomes> HI, I have puppet 2.7.1 but it complains about a function missing in the util.rb. I see the function on the github but not on the util.rb on my machine. ???
[2011/11/29 03:59:17] @ hco-bitlbee-mba joined channel #puppet
[2011/11/29 04:00:49] @ omry joined channel #puppet
[2011/11/29 04:01:11] @ pmorillon joined channel #puppet
[2011/11/29 04:02:21] <tholl583xx> PedroGomes: what functuion?
[2011/11/29 04:02:39] <PedroGomes> absolute_path
[2011/11/29 04:03:59] @ ActionJack_ joined channel #puppet
[2011/11/29 04:12:24] @ Quit: lkoranda: Remote host closed the connection
[2011/11/29 04:16:14] @ lkoranda joined channel #puppet
[2011/11/29 04:17:14] @ natewalck joined channel #puppet
[2011/11/29 04:18:32] @ alanna joined channel #puppet
[2011/11/29 04:22:29] <Nag_> any one know abount user specification changes from pe1.0 to pe2.0
[2011/11/29 04:23:02] <Nag_> I am getting stack level too deep for user include
[2011/11/29 04:28:46] @ Quit: KaZeR_W: Remote host closed the connection
[2011/11/29 04:31:36] <erthad> gee, dashboard 1.2.3 is slooow :-\
[2011/11/29 04:31:53] @ Quit: marrusl: Quit: Ex-Chat
[2011/11/29 04:32:09] @ proton joined channel #puppet
[2011/11/29 04:33:44] @ Quit: jonhattan: Quit: llevaré una chaquete de guns'n'roses
[2011/11/29 04:34:14] @ Quit: KristianDK: Quit: KristianDK
[2011/11/29 04:34:37] <R1ck> Puppet Labs, a data center automation company, has raised $8.5 million in Series C financing from new investors Cisco, Google Ventures, and VMware. Existing investors Kleiner Perkins Caufield & Byers, True Ventures, and Radar Partners also participated in the round. This brings Puppet Labs’ total funding to $16 million.
[2011/11/29 04:34:43] <R1ck> nice
[2011/11/29 04:35:10] <NuclearLucifer> R1ck, Could you provide some URL?
[2011/11/29 04:35:41] <fragfutter> techcrunch
[2011/11/29 04:35:50] <fragfutter> http://techcrunch.com/2011/11/29/cisco-google-ventures-vmware-put-8-5m-in-data-center-automation-startup-puppet-labs/
[2011/11/29 04:36:02] <NuclearLucifer> thanks! :)
[2011/11/29 04:36:09] <R1ck> yw ;)
[2011/11/29 04:38:12] <ptman> I'm having trouble with this: https://gist.github.com/1404669
[2011/11/29 04:39:13] <fragfutter> ptman: line 13, you want to have a require only on the package and a notify to the exec
[2011/11/29 04:39:32] @ Quit: ken_barber1: Quit: Leaving.
[2011/11/29 04:39:48] <ptman> fragfutter, that's a good idea
[2011/11/29 04:40:01] <ptman> but anyway it seems like since passwd is already installed it will never trigger those
[2011/11/29 04:42:59] <fragfutter> ptman: the moment the package["passwd"] changes or the content of File["..."] changes your exec will be run.
[2011/11/29 04:43:30] <ptman> fragfutter, do you understand what I'm trying to do?
[2011/11/29 04:44:08] <fragfutter> no ;)
[2011/11/29 04:44:10] <ptman> I'm trying to replace /usr/bin/passwd with my own script, while diverting the actual binary so that updates through package management don't overwrite our script and so that the original binary is still available
[2011/11/29 04:44:31] <_rc_> you didn't say what propblem you were having, just that you're having one
[2011/11/29 04:44:41] <ptman> _rc_, quite correct
[2011/11/29 04:44:57] <_rc_> so what problem are you having?
[2011/11/29 04:46:24] <ptman> I added some info as a comment
[2011/11/29 04:46:49] <ptman> since the package is already present, it doesn't notify dpkg-divert, so the binary is just overwritten by the script without being diverted
[2011/11/29 04:46:59] <_rc_> so don't model it that way
[2011/11/29 04:47:07] <ptman> so how should I model it?
[2011/11/29 04:47:41] @ Quit: gaveen: Remote host closed the connection
[2011/11/29 04:48:27] <ptman> Any suggestions welcome
[2011/11/29 04:48:30] <_rc_> do this: exec { "divert": creates => "/usr/bin/passwd.diverted", require => Package["passwd"], command => "..." } and file { "/usr/bin/passwd": require => Exec["divert"] }
[2011/11/29 04:48:34] <bd> ptman: build your own package and roll that out?
[2011/11/29 04:48:39] <bd> ptman: using divert in there
[2011/11/29 04:48:40] <_rc_> you don't need to subscribe/notify
[2011/11/29 04:48:50] <_rc_> just say how it'll be
[2011/11/29 04:48:52] <ptman> _rc_, creates is a really good idea
[2011/11/29 04:48:54] <ptman> thanks
[2011/11/29 04:48:58] <ptman> totally forgot about that one
[2011/11/29 04:49:07] <_rc_> you can leave it as the unless
[2011/11/29 04:49:19] <_rc_> the important thing is to not have to be refreshonly
[2011/11/29 04:49:27] <ptman> yeah, that's my main problem
[2011/11/29 04:49:33] <_rc_> the exec ensures the diversion happens.
[2011/11/29 04:50:01] <_rc_> so you need to always do it, and then have unless/creates shortcircuit
[2011/11/29 04:50:19] @ ghaskins joined channel #puppet
[2011/11/29 04:50:35] <bd> ptman: create the diversion using your self build package using your local packagemanager
[2011/11/29 04:50:37] <_rc_> then you have a simple chain
[2011/11/29 04:50:56] @ Quit: Razique: Ping timeout: 248 seconds
[2011/11/29 04:51:13] <ptman> bd, that would've been my next option, but I really like to solve this in puppet
[2011/11/29 04:51:37] <kjetilho> ptman: use a hammer instead
[2011/11/29 04:51:46] <bd> ptman: hm, why? I'd rather have an extra package. diversion is a package manager feature
[2011/11/29 04:51:47] <ptman> what' that?
[2011/11/29 04:51:56] <_rc_> ptman: this will do it. https://gist.github.com/1404706
[2011/11/29 04:52:00] <kjetilho> ptman: seems like you could use a hammer for EVERY problem
[2011/11/29 04:52:11] @ Moe__ joined channel #puppet
[2011/11/29 04:52:15] <ptman> kjetilho, ...
[2011/11/29 04:52:46] <_rc_> bd: diversion is something admins do to ask the package manager to do somthing, you don't need to put it in a package
[2011/11/29 04:53:34] <bd> _rc_: why go up the tool chain when the package manager can handle it already
[2011/11/29 04:53:44] <bd> _rc_: see nvidias meta library diversion foo
[2011/11/29 04:53:52] <_rc_> bd: making a package *is* going up the chain.
[2011/11/29 04:54:05] <ptman> I agree with _rc_
[2011/11/29 04:54:16] <ptman> _rc_, thanks, creates did the trick
[2011/11/29 04:54:41] <bd> well it's your choice :)
[2011/11/29 04:54:48] <_rc_> ptman: it's less the creates that's important, more the making it a concrete thing than something you might notify
[2011/11/29 04:55:25] <ptman> _rc_, yes, but I couldn't really figure out how to do that nicely without creates
[2011/11/29 04:55:29] <_rc_> creates is just a shorthand for the unless condition
[2011/11/29 04:55:57] <ptman> but much nicer to stat(2) than exec
[2011/11/29 04:56:15] <ptman> I just didn't want to deploy something that felt wrong
[2011/11/29 04:56:27] @ Quit: AshishH: Ping timeout: 244 seconds
[2011/11/29 04:57:45] @ Ramonster joined channel #puppet
[2011/11/29 04:59:01] @ Quit: Xeross: Ping timeout: 240 seconds
[2011/11/29 05:00:15] @ Quit: jedi4ever: Quit: jedi4ever
[2011/11/29 05:00:40] <vStone> Hi, I'm having issues with reporting. On some hosts it just hangs and fails
[2011/11/29 05:03:20] @ Quit: EvOooOx: Remote host closed the connection
[2011/11/29 05:03:21] @ Quit: Ev0xx: Remote host closed the connection
[2011/11/29 05:03:27] @ tomle joined channel #puppet
[2011/11/29 05:06:05] @ Quit: wkl: Quit: wkl
[2011/11/29 05:06:31] @ Roxja joined channel #puppet
[2011/11/29 05:11:43] @ Quit: ben_duyujie: Remote host closed the connection
[2011/11/29 05:12:06] <bd> whoever invented pluginsync, thanks.
[2011/11/29 05:13:05] @ Xeross joined channel #puppet
[2011/11/29 05:13:42] @ frostynova joined channel #puppet
[2011/11/29 05:16:31] @ KaZeR_W joined channel #puppet
[2011/11/29 05:16:53] @ jedi4ever joined channel #puppet
[2011/11/29 05:17:42] @ Quit: Holocaine:
[2011/11/29 05:18:27] @ Quit: jedi4ever: Client Quit
[2011/11/29 05:18:38] <R1ck> how do I contribute to the puppet-dashboard project?
[2011/11/29 05:20:51] @ Quit: hco-bitlbee-mba: Quit: hco-bitlbee-mba
[2011/11/29 05:21:52] @ hco-bitlbee-mba joined channel #puppet
[2011/11/29 05:21:56] <R1ck> nvm
[2011/11/29 05:22:05] @ duerF joined channel #puppet
[2011/11/29 05:22:30] @ Quit: Wolfspyre: Ping timeout: 260 seconds
[2011/11/29 05:23:50] @ Quit: Nag_: Quit: Page closed
[2011/11/29 05:24:28] @ Wolfspyre joined channel #puppet
[2011/11/29 05:26:25] @ cek joined channel #puppet
[2011/11/29 05:27:06] <cek> Hi. I'd like to compose a config file from lines that other modules "define". How do I do that properly? I've been using concat, but would like to do that with pure puppet rules.
[2011/11/29 05:27:35] @ Razique joined channel #puppet
[2011/11/29 05:27:41] @ Quit: hco-bitlbee-mba: Quit: hco-bitlbee-mba
[2011/11/29 05:27:49] @ Quit: blentz: Quit: Ex-Chat
[2011/11/29 05:28:09] @ Quit: inecas: Quit: Leaving
[2011/11/29 05:29:31] <bd> cek: maybe with exported resources
[2011/11/29 05:29:48] <cek> you mean virtual resources?
[2011/11/29 05:30:12] @ ldlework joined channel #puppet
[2011/11/29 05:31:16] <cek> i need sort of concat paradigm, the final config file gets composed from defines called from other modules
[2011/11/29 05:31:28] <cek> sort order doesn't matter, btw
[2011/11/29 05:32:25] <cek> essetially, i'd like to have a += operation, which isn't possible as i know
[2011/11/29 05:32:31] @ Quit: ldlework: Read error: Connection reset by peer
[2011/11/29 05:32:47] @ jedi4ever joined channel #puppet
[2011/11/29 05:32:51] @ vinci joined channel #puppet
[2011/11/29 05:32:56] @ Quit: jedi4ever: Client Quit
[2011/11/29 05:33:01] @ inecas joined channel #puppet
[2011/11/29 05:33:17] <Evolution> is there a method for doing revision control /release managment for facts within puppetmaster?
[2011/11/29 05:33:36] <Evolution> for example a fact set for testing.. then promote that set to production?
[2011/11/29 05:33:47] @ ldlework joined channel #puppet
[2011/11/29 05:35:25] @ sduchesneau joined channel #puppet
[2011/11/29 05:35:45] @ Quit: sascha_: Quit: sascha_
[2011/11/29 05:42:41] @ Quit: alanna: Remote host closed the connection
[2011/11/29 05:42:56] @ Quit: xyn_: Ping timeout: 255 seconds
[2011/11/29 05:43:15] @ alanna joined channel #puppet
[2011/11/29 05:44:16] @ Quit: ldlework: Ping timeout: 248 seconds
[2011/11/29 05:46:39] @ skippy joined channel #puppet
[2011/11/29 05:46:40] @ ldlework joined channel #puppet
[2011/11/29 05:46:53] <eshamow> Evolution: you should be distributing facts within a module, so you should be following the same procedure as with all other puppet code
[2011/11/29 05:46:59] @ xyn_ joined channel #puppet
[2011/11/29 05:47:42] @ Quit: alanna: Ping timeout: 260 seconds
[2011/11/29 05:47:45] <Evolution> eshamow: I've not been messing with puppet long. is there documentation on this you could point me to?
[2011/11/29 05:47:58] <eshamow> cek: you could write a function, which seems the best way. it is *possible* you could do this with a defined type depending on how you worked it
[2011/11/29 05:48:02] <eshamow> Evolution: sure let me dig up a link
[2011/11/29 05:48:07] <Evolution> thanks
[2011/11/29 05:48:26] @ Quit: dim0: Quit: Leaving
[2011/11/29 05:48:42] <cek> eshamow, function of what? that doesn't help me
[2011/11/29 05:48:48] @ ken_barber joined channel #puppet
[2011/11/29 05:48:51] <eshamow> Evolution: http://puppetlabs.com/blog/git-workflow-and-puppet-environments/
[2011/11/29 05:49:02] <Evolution> eshamow: thank you
[2011/11/29 05:49:23] <eshamow> Evolution: np - if it's too high-level or needs more explanation mention here and we can help more
[2011/11/29 05:50:08] <eshamow> cek: So, not sure what level of expertise you have - so do you know the difference between functions and resources? Not asking to snark, just trying to gauge response
[2011/11/29 05:51:14] <cek> function won't work there because i need runtime dep tracking
[2011/11/29 05:51:38] <eshamow> cek: ok so you need to assemble the stuff on the client side
[2011/11/29 05:51:46] <eshamow> based on stuff on the client side that you can't parse on the server
[2011/11/29 05:51:56] <cek> i don't want to assemble it on file system
[2011/11/29 05:52:18] <cek> i need concat, but without file system mess
[2011/11/29 05:52:43] <eshamow> ok. have you looked at exported resources?
[2011/11/29 05:52:48] <Evolution> eshamow: at this point high level (and/or instruction in crayon) is pretty much what I require. I'm coming from a cfengine world and am starting from scratch.
[2011/11/29 05:52:58] <eshamow> Evolution: lol no worries
[2011/11/29 05:53:21] <eshamow> Evolution: msg'ing you offline
[2011/11/29 05:53:24] <cek> Evolution, go with chef
[2011/11/29 05:55:05] <eshamow> cek: you looking for help or to troll?
[2011/11/29 05:55:55] @ KristianDK joined channel #puppet
[2011/11/29 05:57:44] @ Quit: MattTheRat: Changing host
[2011/11/29 05:57:44] @ MattTheRat joined channel #puppet
[2011/11/29 05:58:44] <eshamow> Evolution: sent you a PM, did you get?
[2011/11/29 05:58:49] <eshamow> ahh there you are :)
[2011/11/29 06:00:59] @ blentz joined channel #puppet
[2011/11/29 06:01:51] @ silversurfer joined channel #puppet
[2011/11/29 06:02:59] @ wkl joined channel #puppet
[2011/11/29 06:05:34] @ cliff-hm joined channel #puppet
[2011/11/29 06:05:38] @ choonming joined channel #puppet
[2011/11/29 06:05:41] @ Quit: inecas: Ping timeout: 260 seconds
[2011/11/29 06:06:05] @ zwi joined channel #puppet
[2011/11/29 06:06:20] @ mcarpent joined channel #puppet
[2011/11/29 06:06:24] @ ccaum joined channel #puppet
[2011/11/29 06:06:34] @ brandon_dacrib joined channel #puppet
[2011/11/29 06:06:46] @ ben_duyujie joined channel #puppet
[2011/11/29 06:11:19] @ Quit: bobra: Ping timeout: 245 seconds
[2011/11/29 06:13:35] @ Quit: pmorillon: Quit: pmorillon
[2011/11/29 06:13:55] @ rsnhyperion joined channel #puppet
[2011/11/29 06:14:30] <cek> eshamow, i don't understad it. i need a test case
[2011/11/29 06:14:46] <cek> you can't have same file inside virtualized defines
[2011/11/29 06:14:50] <cek> it just won't work
[2011/11/29 06:15:02] <cek> again, contact - type of thing, where a config is composed of "parts"
[2011/11/29 06:15:34] @ dclp_ joined channel #puppet
[2011/11/29 06:15:40] <cek> *concat
[2011/11/29 06:17:35] @ dclp__ joined channel #puppet
[2011/11/29 06:17:43] @ Quit: dclp_: Read error: Connection reset by peer
[2011/11/29 06:17:59] @ brandon_dacrib_ joined channel #puppet
[2011/11/29 06:18:06] @ Quit: dclp: Ping timeout: 252 seconds
[2011/11/29 06:18:06] @ dclp__ is now known as dclp
[2011/11/29 06:18:16] @ Quit: dofr: Ping timeout: 252 seconds
[2011/11/29 06:18:35] <NuclearLucifer> cek, you can try with ruby dsl.
[2011/11/29 06:18:43] <zykes-> Volcane: if my activemq starts with a stock activemq.xml but not the one from puppetlabs hint?
[2011/11/29 06:18:44] <NuclearLucifer> cek, http://projects.puppetlabs.com/projects/1/wiki/Ruby_Dsl
[2011/11/29 06:18:50] @ magicaltrout is now known as magical_^|
[2011/11/29 06:18:59] @ magical_^| is now known as |^_magical_^|
[2011/11/29 06:20:01] @ Quit: jimi_c: Remote host closed the connection
[2011/11/29 06:20:12] @ dofr joined channel #puppet
[2011/11/29 06:20:31] @ Quit: ldlework: Read error: Connection timed out
[2011/11/29 06:20:35] @ Quit: brandon_dacrib: Ping timeout: 244 seconds
[2011/11/29 06:20:35] @ brandon_dacrib_ is now known as brandon_dacrib
[2011/11/29 06:20:57] <tomle> Hi, seems my puppetmaster don't want to put X509v3 Subject Alternative Name: entries in its cert. How can I tell it to add 'puppet' into that field ?
[2011/11/29 06:21:17] <bd> tomaw: AFAIK puppet is already in there
[2011/11/29 06:22:14] @ Quit: omry: Ping timeout: 260 seconds
[2011/11/29 06:22:34] <Volcane> zykes-: it has a log
[2011/11/29 06:22:42] <zykes-> Volcane: but for my eyes there'
[2011/11/29 06:22:48] <zykes-> there's nothing logical on why it's stopping
[2011/11/29 06:23:13] <bd> zykes-: permission problems?
[2011/11/29 06:23:23] <Volcane> zykes-: config file from the docs site or github?
[2011/11/29 06:23:32] <zykes-> github
[2011/11/29 06:23:37] @ yure joined channel #puppet
[2011/11/29 06:23:58] @ marrusl joined channel #puppet
[2011/11/29 06:24:08] <zykes-> bd: don't think so
[2011/11/29 06:24:11] <_rc_> tomle: sepecify http://docs.puppetlabs.com/references/2.7.6/configuration.html#dnsaltnames in the puppetmaster's config before you build the first certificate
[2011/11/29 06:24:25] @ pmorillon joined channel #puppet
[2011/11/29 06:24:32] <zykes-> cause if i copy over the stock .xml from ubuntu it starts just fine
[2011/11/29 06:24:47] <zykes-> credentials.properties
[2011/11/29 06:24:51] <zykes-> is that something one has to configure ?
[2011/11/29 06:25:05] @ hooper joined channel #puppet
[2011/11/29 06:25:32] <Volcane> someone else reported similar with ubuntus packages, not sure what the story is
[2011/11/29 06:26:20] @ Quit: ken_barber: Quit: Leaving.
[2011/11/29 06:29:25] <bd> zykes-: well just distribute the stock.xml through puppet
[2011/11/29 06:29:38] <bd> zykes-: if that works, your config file is borken, if not something wrt puppet messes it up
[2011/11/29 06:29:39] <zykes-> eh, bd what you mean ?
[2011/11/29 06:30:18] <zykes-> bd: i am setting up activemq for mcollective on the same host that has puppetmaster
[2011/11/29 06:30:22] @ Quit: hooper: *.net *.split
[2011/11/29 06:30:22] @ Quit: dofr: *.net *.split
[2011/11/29 06:30:23] @ Quit: frostynova: *.net *.split
[2011/11/29 06:30:23] @ Quit: ezryx: *.net *.split
[2011/11/29 06:30:24] @ Quit: larstobi: *.net *.split
[2011/11/29 06:30:24] @ Quit: verwilst: *.net *.split
[2011/11/29 06:30:25] @ Quit: ali3n0: *.net *.split
[2011/11/29 06:30:25] @ Quit: bkdem__: *.net *.split
[2011/11/29 06:30:26] @ Quit: riha: *.net *.split
[2011/11/29 06:30:26] @ Quit: riftman: *.net *.split
[2011/11/29 06:30:27] @ Quit: nated: *.net *.split
[2011/11/29 06:30:27] @ Quit: ^conner: *.net *.split
[2011/11/29 06:30:28] @ Quit: n8: *.net *.split
[2011/11/29 06:30:28] @ Quit: plathrop: *.net *.split
[2011/11/29 06:30:29] @ Quit: bosszaru: *.net *.split
[2011/11/29 06:30:29] @ Quit: zeroXten: *.net *.split
[2011/11/29 06:30:30] @ Quit: larsar: *.net *.split
[2011/11/29 06:30:30] @ Quit: milad: *.net *.split
[2011/11/29 06:30:32] @ Quit: eerie: *.net *.split
[2011/11/29 06:30:32] @ Quit: FaUl: *.net *.split
[2011/11/29 06:30:33] @ Quit: tim|mac: *.net *.split
[2011/11/29 06:30:33] @ Quit: nimrod10: *.net *.split
[2011/11/29 06:30:34] @ Quit: kermit: Quit: Leaving.
[2011/11/29 06:30:34] <zykes-> the activemq instance is starting then dying for an unknown reason
[2011/11/29 06:30:35] <Volcane> zykes-: pls pastie the stock xml
[2011/11/29 06:30:44] @ kermit joined channel #puppet
[2011/11/29 06:30:47] <Volcane> zykes-: and the log from this failing to start
[2011/11/29 06:31:08] <zykes-> http://paste.ubuntu.com/753714/
[2011/11/29 06:31:21] <cek> Only subclasses can override parameters at
[2011/11/29 06:31:23] <cek> crap
[2011/11/29 06:33:01] <cek> https://gist.github.com/5da2a814046c4c2a8855 isn't possible
[2011/11/29 06:33:07] <zykes-> http://paste.ubuntu.com/753718/ Volcane
[2011/11/29 06:33:25] <cek> NuclearLucifer, i need solution, not talks about puppet dsl.
[2011/11/29 06:34:34] <cek> concat does job perfectly, but i dion't want to bring filesystem into play. it's just too expensive to have 20-lined config spread across 20 files and then contact'ed
[2011/11/29 06:34:40] <cek> concat'ed
[2011/11/29 06:34:41] @ Quit: jim`: Read error: Connection timed out
[2011/11/29 06:35:26] @ Quit: Zoiah: Ping timeout: 260 seconds
[2011/11/29 06:35:29] @ jim` joined channel #puppet
[2011/11/29 06:35:42] <NuclearLucifer> cek, So why not to write some custom functions for that? Which would store those lines in memory?
[2011/11/29 06:35:53] @ Quit: n0ts: Quit: Tiarra 0.1+svn-38663M: SIGTERM received; exit
[2011/11/29 06:36:05] @ Zoiah joined channel #puppet
[2011/11/29 06:36:16] <Volcane> zykes-: if you replace everything from <broker ... to broker> with what is in the github one but leave the rest as is it does the same?
[2011/11/29 06:36:18] @ hooper joined channel #puppet
[2011/11/29 06:36:18] @ dofr joined channel #puppet
[2011/11/29 06:36:18] @ frostynova joined channel #puppet
[2011/11/29 06:36:18] @ ezryx joined channel #puppet
[2011/11/29 06:36:18] @ larstobi joined channel #puppet
[2011/11/29 06:36:18] @ verwilst joined channel #puppet
[2011/11/29 06:36:18] @ ali3n0 joined channel #puppet
[2011/11/29 06:36:18] @ bkdem__ joined channel #puppet
[2011/11/29 06:36:18] @ riha joined channel #puppet
[2011/11/29 06:36:18] @ riftman joined channel #puppet
[2011/11/29 06:36:18] @ nated joined channel #puppet
[2011/11/29 06:36:18] @ ^conner joined channel #puppet
[2011/11/29 06:36:18] @ n8 joined channel #puppet
[2011/11/29 06:36:18] @ plathrop joined channel #puppet
[2011/11/29 06:36:19] @ bosszaru joined channel #puppet
[2011/11/29 06:36:19] @ zeroXten joined channel #puppet
[2011/11/29 06:36:19] @ larsar joined channel #puppet
[2011/11/29 06:36:19] @ milad joined channel #puppet
[2011/11/29 06:36:19] @ eerie joined channel #puppet
[2011/11/29 06:36:19] @ FaUl joined channel #puppet
[2011/11/29 06:36:19] @ tim|mac joined channel #puppet
[2011/11/29 06:36:19] @ nimrod10 joined channel #puppet
[2011/11/29 06:36:48] <kjetilho> cek: you can use <| |> to collect lines. don't need any special functions
[2011/11/29 06:37:33] <cek> NuclearLucifer, what memory? what are you talking about? I need to define {} config lines from other modules.
[2011/11/29 06:37:56] @ ldlework joined channel #puppet
[2011/11/29 06:37:59] <cek> that is, need full depresolution or how you call it at runtime
[2011/11/29 06:38:06] <kjetilho> cek: http://pastie.org/2938867
[2011/11/29 06:38:40] <cek> kjetilho, damn yeah, that would do it
[2011/11/29 06:39:43] <cek> kjetilho, why isn't that in puppet docs? that's the most common usage you need
[2011/11/29 06:40:02] <cek> whole unix is made of config files with KV pairs
[2011/11/29 06:40:12] <tomle> _rc_: thanks
[2011/11/29 06:40:32] @ Quit: tilgovi: Ping timeout: 255 seconds
[2011/11/29 06:40:45] <kjetilho> I guess it isn't the Puppet way? it is considered better to make a custom type for it, inheriting ParsedFile
[2011/11/29 06:41:03] @ n0ts joined channel #puppet
[2011/11/29 06:41:21] <_rc_> cek: if all of unix was the same way, we'd be home stroking our cats by now
[2011/11/29 06:41:32] @ Quit: jaydg: Quit: Verlassend
[2011/11/29 06:41:46] <cek> kjetilho, i don't know what puppet way is. The problem is that I haven't seen any real world complex deployments examples posted on the web.
[2011/11/29 06:41:58] <kjetilho> and some people would prefer Augeas. (I'm skeptical of Augeas lenses myself, they seem too brittle.)
[2011/11/29 06:42:03] <cek> complex, when you have 100 modules , for ex.
[2011/11/29 06:42:04] <kjetilho> cek: Wikimedia has posted theirs
[2011/11/29 06:42:10] @ Quit: n0ts: Client Quit
[2011/11/29 06:42:13] <kjetilho> I haven't looked at it, though
[2011/11/29 06:42:34] <cek> i don't think they do something totally complicated than features supported in those 0.24 releases
[2011/11/29 06:42:41] @ n0ts joined channel #puppet
[2011/11/29 06:42:42] @ |^_magical_^| is now known as magicaltrout
[2011/11/29 06:42:52] @ alfism joined channel #puppet
[2011/11/29 06:43:16] <cek> I have seen example42's puppet modules, but yet again, they aren't that complex.
[2011/11/29 06:43:32] @ Quit: n0ts: Client Quit
[2011/11/29 06:43:38] @ omry joined channel #puppet
[2011/11/29 06:43:46] @ Quit: alanevans: Remote host closed the connection
[2011/11/29 06:43:48] <cek> and example42 haven't updated their configs to puppet 2.7 non-dynamic style
[2011/11/29 06:43:50] <fragfutter> _rc_: you call "it" a cat?
[2011/11/29 06:43:55] @ Quit: ccaum: Quit: ccaum
[2011/11/29 06:44:03] <raphink> kjetilho: brittle?
[2011/11/29 06:44:13] @ Chris64 joined channel #puppet
[2011/11/29 06:44:39] @ n0ts joined channel #puppet
[2011/11/29 06:44:40] <kjetilho> raphink: hey Raphael :) it's very easy to get the regexps wrong
[2011/11/29 06:44:45] <cek> kjetilho, augeas module is not ready. period. Why? It's easy, they don't provide error reporting on failure.
[2011/11/29 06:45:00] <cek> no error reporting => means nobody's using it in enterprise
[2011/11/29 06:45:10] <cek> no enterprise => no complexity
[2011/11/29 06:45:13] <raphink> kjetilho: that's why we have tons of unit tests on our lenses :-)
[2011/11/29 06:45:23] <kjetilho> raphink: simply put, there is no (general) way to translate BNF into regexps
[2011/11/29 06:45:25] <raphink> cek: augeas has quite a lot of error reporting :-)
[2011/11/29 06:45:33] @ Quit: n0ts: Client Quit
[2011/11/29 06:45:49] <cek> raphink, after i sweared on them, maybe yes now
[2011/11/29 06:45:49] @ n0ts joined channel #puppet
[2011/11/29 06:45:57] <raphink> cek: sorry?
[2011/11/29 06:46:05] <cek> it used to return -1 on error and that's all
[2011/11/29 06:46:07] @ kangman joined channel #puppet
[2011/11/29 06:46:16] <raphink> cek: all errors are reported in /augeas//error nodes
[2011/11/29 06:46:21] <raphink> it's documented duly
[2011/11/29 06:46:32] <cek> how do you get those errors from running puppet?
[2011/11/29 06:46:32] <zykes-> didn't help Volcane
[2011/11/29 06:46:35] <cek> puppet --debug
[2011/11/29 06:46:52] <cek> try it yourself when an augeas type fails and see its of no use
[2011/11/29 06:46:53] @ Quit: n0ts: Client Quit
[2011/11/29 06:47:00] <raphink> cek: what you're saying is that the puppet module doesn't report errors the way you expect it
[2011/11/29 06:47:12] <zykes-> Volcane: http://paste.ubuntu.com/753722/ log output after i did that
[2011/11/29 06:47:20] <raphink> Augeas is not made for puppet (although most users are puppet users)
[2011/11/29 06:47:26] <raphink> cek: I don't use puppet
[2011/11/29 06:47:28] <raphink> (yet)
[2011/11/29 06:47:42] <Dominic> cek: I provided a patch to puppet in #5606 a few months ago, still waiting for somebody to merge it :(
[2011/11/29 06:47:42] <gepetto> cek: #5606 is http://projects.puppetlabs.com/issues/show/5606 "Puppet - Feature #5606: augeas needs more detailed error printing. It has a status of In Topic Branch Pending Review and is assigned to Dominic Cleal"
[2011/11/29 06:47:43] <cek> so why the heck are you having this convesation?
[2011/11/29 06:47:46] @ Quit: eerie: Quit: Changing server
[2011/11/29 06:47:51] @ n0ts joined channel #puppet
[2011/11/29 06:47:52] <Dominic> along with a bunch of other patches
[2011/11/29 06:48:04] <raphink> cek: and why not?
[2011/11/29 06:48:06] <cek> yea, guess who reported that
[2011/11/29 06:48:12] <Volcane> zykes-: thats weird, something must be weird with the ubuntu package - dont have any ubuntu to reproduce on though
[2011/11/29 06:48:47] @ Quit: larstobi: Quit: Leaving.
[2011/11/29 06:48:51] <raphink> kjetilho: augeas is based off bidirectional languages, which add conditions which I don't think BNF notation enforce
[2011/11/29 06:49:04] <cek> kjetilho, alright, virtual resources for non-fs concat. Thanks so much, you saved me.
[2011/11/29 06:49:31] <raphink> cek: is your name Graham by any chance ? ;-)
[2011/11/29 06:49:51] <cek> what? nope
[2011/11/29 06:49:55] <raphink> ok
[2011/11/29 06:50:35] <Dominic> does puppet forge take different registration details to the redmine instance?
[2011/11/29 06:50:37] <cek> here's what we do with augeas: https://gist.github.com/241904bf4081a933f31f . that's /etc/security/access.conf
[2011/11/29 06:51:01] @ Quit: n0ts: Client Quit
[2011/11/29 06:51:14] @ n0ts joined channel #puppet
[2011/11/29 06:51:20] <cek> you must not know how many f words were spelled out during that module development
[2011/11/29 06:51:32] <Volcane> zykes-: anyway, to get going you should be able to just add the stomp connector line where the current openwire one is
[2011/11/29 06:51:54] <raphink> cek: do you know #augeas?
[2011/11/29 06:52:04] @ fids joined channel #puppet
[2011/11/29 06:52:25] @ Quit: n0ts: Client Quit
[2011/11/29 06:52:45] @ n0ts joined channel #puppet
[2011/11/29 06:52:47] <raphink> cek: can you tell me what were the difficult parts. I'd really like to provide better user documentation for Augeas, but I'd like user feedback to get a good idea of what's required.
[2011/11/29 06:52:54] @ rcrowley joined channel #puppet
[2011/11/29 06:52:58] <zykes-> lynxman: ?
[2011/11/29 06:54:09] <lynxman> zykes-: yes?
[2011/11/29 06:54:24] @ Quit: Vasik|work: Quit: Leaving
[2011/11/29 06:54:28] <cek> raphink, i know #augeas. The difficult part is the xpath language itself. There's nothing to document in Augeas type itself, it's clear that everyting is passed to the library.
[2011/11/29 06:55:17] <raphink> cek: so what's difficult is to build the xpath expressions?
[2011/11/29 06:55:26] <cek> that gist i provided, user can have his own configuration in there AND there is puppet-imposed configuration.
[2011/11/29 06:55:47] <raphink> is it because the language is complex, or because the scheme generated by the lens is hard to understand?
[2011/11/29 06:55:54] @ inecas joined channel #puppet
[2011/11/29 06:55:54] <cek> the difficulty in xpath is that you don't know the current pointer
[2011/11/29 06:56:20] <raphink> the current pointer?
[2011/11/29 06:56:21] <cek> you don't know where you are and dont know what comes next with your next rule
[2011/11/29 06:56:23] <cek> yeah
[2011/11/29 06:56:24] @ Quit: pmorillon: Quit: pmorillon
[2011/11/29 06:56:28] @ ActionJacq joined channel #puppet
[2011/11/29 06:56:36] @ Quit: siert: Read error: Operation timed out
[2011/11/29 06:56:37] @ Quit: bodgit: Read error: Operation timed out
[2011/11/29 06:56:38] <raphink> cek: can you give an example?
[2011/11/29 06:56:39] @ Quit: ssm: Read error: Operation timed out
[2011/11/29 06:57:35] @ ssm joined channel #puppet
[2011/11/29 06:58:00] @ Quit: lbt: Excess Flood
[2011/11/29 06:58:14] <cek> raphink, https://gist.github.com/41d7faeb2fc7cdc7d928 - part of our augeas module, it already damages your brain even without looking at details of what's going on
[2011/11/29 06:58:20] @ siert joined channel #puppet
[2011/11/29 06:58:24] @ lbt joined channel #puppet
[2011/11/29 06:58:24] @ Quit: lbt: Changing host
[2011/11/29 06:58:24] @ lbt joined channel #puppet
[2011/11/29 06:58:25] @ Quit: iFire: Quit: No Ping reply in 180 seconds.
[2011/11/29 06:58:35] @ Quit: smintz: Read error: Connection reset by peer
[2011/11/29 06:58:39] @ iFire joined channel #puppet
[2011/11/29 06:58:46] @ Quit: eryc: Quit: aloha
[2011/11/29 06:58:47] @ ryancoleman joined channel #puppet
[2011/11/29 06:58:53] @ eryc joined channel #puppet
[2011/11/29 06:58:59] @ smintz joined channel #puppet
[2011/11/29 06:59:17] @ Quit: Charlyftw: Quit: leaving
[2011/11/29 06:59:28] @ Quit: ActionJack_: Ping timeout: 248 seconds
[2011/11/29 06:59:54] @ Quit: anrxc: Ping timeout: 252 seconds
[2011/11/29 07:00:03] <raphink> cek: you have a complex code here indeed
[2011/11/29 07:00:10] @ bodgit joined channel #puppet
[2011/11/29 07:00:21] @ pmorillon joined channel #puppet
[2011/11/29 07:00:27] <cek> I tried to make /etc/hosts file work with augeas, but failed miserably. It's just too hard. Again, we wanted to have host-specific nameservers AND puppet-controlled nameservers.
[2011/11/29 07:00:29] <zykes-> lynxman: is the ubuntu pkg funky or something with the config from puppet ?
[2011/11/29 07:00:33] @ Quit: tris: Excess Flood
[2011/11/29 07:00:43] @ Quit: natewalck: Quit: Outta here
[2011/11/29 07:00:45] @ Quit: n0ts: Quit: Tiarra 0.1+svn-38663M: SIGTERM received; exit
[2011/11/29 07:00:50] <cek> brr, /etc/resolv.conf in this case
[2011/11/29 07:00:57] <cek> hosts is another sad story :)
[2011/11/29 07:00:58] @ anrxc joined channel #puppet
[2011/11/29 07:01:04] @ Quit: ActionJacq: Ping timeout: 248 seconds
[2011/11/29 07:01:08] @ tris joined channel #puppet
[2011/11/29 07:01:09] <raphink> cek: what is it that's lacking/hard/unclear?
[2011/11/29 07:01:13] @ n0ts joined channel #puppet
[2011/11/29 07:01:21] <kjetilho> cek: why don't you use the Host type?
[2011/11/29 07:01:52] <skippy> is there a preferred way to handle package dependencies with declarations like `{ package "foo": ensure => absent }` if foo depends on bar?
[2011/11/29 07:02:39] <Dominic> raphink: IMHO, one of the problems is the difficulty of ordering nodes inside the tree. 'ins' is about the only way you have of doing it, seems to be part of the complexity in cek's case too.
[2011/11/29 07:03:05] @ alanna joined channel #puppet
[2011/11/29 07:03:08] @ javian joined channel #puppet
[2011/11/29 07:03:23] <raphink> Dominic: yes, this is a hard thing, and yet any tool that provides this kind of editing functionality will have to be that way
[2011/11/29 07:03:31] <cek> raphink, https://gist.github.com/b85d7f8eda6761b06785 , now try to modify code with xpath inside # pupet mods lines
[2011/11/29 07:03:33] @ Quit: m3ridian: Ping timeout: 244 seconds
[2011/11/29 07:03:36] <raphink> whether it's vim with a human typing or editlines ala cfengine
[2011/11/29 07:03:44] <lynxman> zykes-: unless you're a bit more specific... :)
[2011/11/29 07:03:49] <Dominic> raphink: indeed, I'll continue my thoughts on #augeas
[2011/11/29 07:04:03] <raphink> Dominic: hehe
[2011/11/29 07:04:23] <raphink> skippy: don't you want to let the package manager deal with that?
[2011/11/29 07:04:59] <skippy> raphink: I guess I'm asking: if I say "ensure=>absent" for a package, will Puppet also remove the dependencies?
[2011/11/29 07:05:10] <misc> likely not
[2011/11/29 07:05:17] <raphink> I'd say that depends on your package manager
[2011/11/29 07:06:00] <skippy> so foo depends on bar. `yum remove foo` prompts for confirmation that i want to remove bar, too.
[2011/11/29 07:06:01] <kjetilho> skippy: if you are daring, you could call "apt-get -y autoremove" ...
[2011/11/29 07:06:19] <skippy> invoking an exec{} seems sub-optimal, kjetilho
[2011/11/29 07:06:25] <kjetilho> skippy: oh! the other way around
[2011/11/29 07:06:33] @ Quit: dclp: Quit: dclp
[2011/11/29 07:06:38] <kjetilho> I thought you wanted to avoid orphaned packages (libs and such)
[2011/11/29 07:06:45] <kjetilho> you need force => true
[2011/11/29 07:06:58] <kjetilho> it's a bit scary
[2011/11/29 07:07:13] <kjetilho> and may not work with all package providers
[2011/11/29 07:07:14] <skippy> I *do* in fact want to remove foo and bar. but since Puppet is non-deterministic in execution, I can't simply pass ["foo", "bar"] to the package.
[2011/11/29 07:07:52] @ dclp joined channel #puppet
[2011/11/29 07:07:55] <misc> you can just order by yourself
[2011/11/29 07:07:57] <skippy> can i subscribe the foo package to the bar package, so as to enforce an order of operation?
[2011/11/29 07:08:16] <raphink> cek: you can indeed use these comments as markups to set other nodes
[2011/11/29 07:08:25] @ Quit: inecas: Quit: Leaving
[2011/11/29 07:08:26] <kjetilho> or use the shorthand: Package[a] -> Package[B]
[2011/11/29 07:08:34] <zykes-> lynxman: i've tried using https://raw.github.com/puppetlabs/marionette-collective/master/ext/activemq/examples/single-broker/activemq.xml with 2 installations now (both on ubuntu 11.10) and they give the same symptomes
[2011/11/29 07:08:56] <skippy> kjetilho: i haven't used shorthand yet. where, specifically, would I place that line?
[2011/11/29 07:09:02] <kjetilho> anywhere
[2011/11/29 07:09:26] <kjetilho> (it requires Puppet 2.6 on master)
[2011/11/29 07:10:44] <skippy> so it doesn't go inside a specific package {} declaration? it goes outside of any specific provider in a class?
[2011/11/29 07:10:57] <kjetilho> yes
[2011/11/29 07:11:09] <skippy> groovy. thanks!
[2011/11/29 07:11:16] @ Quit: dclp: Remote host closed the connection
[2011/11/29 07:11:44] @ dclp joined channel #puppet
[2011/11/29 07:12:20] @ Quit: helindbe: Read error: Connection reset by peer
[2011/11/29 07:13:04] <lynxman> zykes-: we do provide our config for activemq in the mcollective-middleware package
[2011/11/29 07:13:09] @ hco-bitlbee-mba joined channel #puppet
[2011/11/29 07:13:17] <lynxman> zykes-: also you could move this to #mcollective ;)
[2011/11/29 07:13:25] @ helindbe joined channel #puppet
[2011/11/29 07:15:06] <chjohnst> zykes-: what is the issue ?
[2011/11/29 07:16:14] @ Ryan_Lane joined channel #puppet
[2011/11/29 07:19:05] @ marcoecc joined channel #puppet
[2011/11/29 07:19:19] @ Quit: omry: Ping timeout: 244 seconds
[2011/11/29 07:20:52] @ tnguyen joined channel #puppet
[2011/11/29 07:20:52] @ tnguyen is now known as ntdt
[2011/11/29 07:21:13] @ omry joined channel #puppet
[2011/11/29 07:24:33] @ Quit: nuknad: Quit: nuknad
[2011/11/29 07:25:11] @ dan__t joined channel #puppet
[2011/11/29 07:25:49] @ asteve joined channel #puppet
[2011/11/29 07:26:05] <asteve> when you guys terminate instances do you clear/revoke the cert on the puppet master?
[2011/11/29 07:26:18] <fragfutter> asteve: yes
[2011/11/29 07:26:40] <asteve> have you developed a script to that terminates an instance, revokes the cert and cleans up any nagios?
[2011/11/29 07:26:55] @ Quit: fids: Quit: Page closed
[2011/11/29 07:27:17] <fragfutter> asteve: my fluctuation is not that high. if a system is going out of service i clean up manualy
[2011/11/29 07:29:31] @ Quit: newtMcKerr: Quit: Leaving.
[2011/11/29 07:33:04] <cek> Syntax error at ','; expected '}' for Collector::Part { path => $path } . what could be wrong?
[2011/11/29 07:35:50] @ Quit: Ryan_Lane: Quit: Leaving.
[2011/11/29 07:36:19] @ Quit: Wolfspyre: Quit: Leaving.
[2011/11/29 07:36:44] @ Wolfspyre joined channel #puppet
[2011/11/29 07:38:15] <lisa> it expected a } ?
[2011/11/29 07:38:27] @ Quit: frostynova: Remote host closed the connection
[2011/11/29 07:39:51] @ dclp_ joined channel #puppet
[2011/11/29 07:41:31] @ andreaturli joined channel #puppet
[2011/11/29 07:41:51] <cek> lisa, sorry, was looking at wrong file :)
[2011/11/29 07:42:10] @ Quit: brtl: Ping timeout: 245 seconds
[2011/11/29 07:44:05] @ Quit: dclp: Ping timeout: 258 seconds
[2011/11/29 07:44:05] @ dclp_ is now known as dclp
[2011/11/29 07:44:10] @ sebnash joined channel #puppet
[2011/11/29 07:44:17] @ Quit: sdog: Ping timeout: 244 seconds
[2011/11/29 07:44:35] @ dim0 joined channel #puppet
[2011/11/29 07:44:45] @ Quit: artkrz: Quit: Linkinus - http://linkinus.com
[2011/11/29 07:45:15] @ Quit: dclp: Quit: dclp
[2011/11/29 07:45:36] @ sumsuch joined channel #puppet
[2011/11/29 07:46:08] @ brtl joined channel #puppet
[2011/11/29 07:46:25] @ Quit: pmorillon: Quit: pmorillon
[2011/11/29 07:46:30] @ geekbri joined channel #puppet
[2011/11/29 07:46:44] @ bolt12 joined channel #puppet
[2011/11/29 07:46:57] @ Quit: brtl: Client Quit
[2011/11/29 07:47:13] @ pmorillon joined channel #puppet
[2011/11/29 07:47:14] <bolt12> hey Everyone, I am trying to get 2 puppet servers setup to use the same cert, is that possible by having both servers use same cert.
[2011/11/29 07:47:39] @ Ryan_Lane joined channel #puppet
[2011/11/29 07:48:29] @ ghg joined channel #puppet
[2011/11/29 07:50:08] @ thisthat joined channel #puppet
[2011/11/29 07:50:18] @ Quit: bkdem__: Ping timeout: 252 seconds
[2011/11/29 07:51:24] @ Asako joined channel #puppet
[2011/11/29 07:51:29] @ Quit: duritong: Quit: leaving
[2011/11/29 07:51:40] @ duritong joined channel #puppet
[2011/11/29 07:51:49] @ Quit: duritong: Client Quit
[2011/11/29 07:53:31] @ duritong joined channel #puppet
[2011/11/29 07:54:53] <Asako> hey, does anybody know why dashboard keeps giving 406 errors in the log file?
[2011/11/29 07:54:56] @ riha left channel #puppet ()
[2011/11/29 07:55:09] <Asako> Completed in 1ms (View: 0, DB: 0) | 406 Not Acceptable [http://localhost/reports/upload]
[2011/11/29 07:55:19] <Asako> that's all I see
[2011/11/29 07:55:28] @ Quit: aib_007: Quit: aib_007
[2011/11/29 07:56:48] <cek> kjetilho, https://gist.github.com/9a2385c50a638a8197eb - i don't get why i'm getting "theincludingclass" in template. It works if I supply content param to collector::fragment
[2011/11/29 07:57:09] <Asako> and of course googling the error message is useless
[2011/11/29 07:57:47] <cek> Asako, make sure you follow installation instructions.
[2011/11/29 07:57:51] <Asako> I did
[2011/11/29 07:57:53] <kjetilho> uhm, class? that means you can only use it once
[2011/11/29 07:57:58] <kjetilho> for one path, I mean
[2011/11/29 07:58:15] <cek> kjetilho, oh, i'll make it a define, doesn't matter.
[2011/11/29 07:58:37] <cek> why is it putting "theincludingclass" into $list?
[2011/11/29 07:58:46] <Asako> cek, it works fine running thin. Switched to apache with mod_passenger and it breaks.
[2011/11/29 07:59:21] @ Quit: smintz: Ping timeout: 244 seconds
[2011/11/29 08:00:34] @ Quit: dim0: Ping timeout: 252 seconds
[2011/11/29 08:01:04] <Asako> so I'm kind of stuck
[2011/11/29 08:01:26] @ Quit: lkoranda: Quit: Ex-Chat
[2011/11/29 08:02:03] <cek> $ puppet apply -e 'define see($var = $name){ notify {$var:} } class includeme { see {'what': }} node default { include includeme}' => notice: includeme
[2011/11/29 08:02:22] <cek> BUG!
[2011/11/29 08:03:33] @ Quit: alfism: Read error: Connection reset by peer
[2011/11/29 08:03:41] <cek> 264 - incudeme, 268 - what
[2011/11/29 08:03:51] @ alfism joined channel #puppet
[2011/11/29 08:05:22] <Asako> argh
[2011/11/29 08:05:41] <fim> is there any way to add a define to a require list?
[2011/11/29 08:06:22] <Volcane> same as any resource
[2011/11/29 08:07:03] <Asako> could this be a permissions issue?
[2011/11/29 08:07:10] <Asako> what directory do reports get uploaded to?
[2011/11/29 08:07:46] <_rc_> depends on what reports handlers you have active
[2011/11/29 08:08:00] <fim> Volcane: let's say that I have class::define. I can't figure how to write the require clause
[2011/11/29 08:08:22] @ gniks joined channel #puppet
[2011/11/29 08:08:26] @ Quit: zwi: Quit: Leaving.
[2011/11/29 08:08:27] <Asako> _rc_, it's just puppet_dashboard
[2011/11/29 08:08:28] <Volcane> Class::Define["foo"]
[2011/11/29 08:08:47] <Asako> reports = tagmail,store,puppet_dashboard
[2011/11/29 08:08:58] <Asako> store works fine, I see the yaml files
[2011/11/29 08:09:00] @ ken_barber joined channel #puppet
[2011/11/29 08:09:12] <Asako> it's dashboard that's throwing errors
[2011/11/29 08:09:21] <fim> Volcane: ah, so capitalization is required in both class/define. Let me try this
[2011/11/29 08:09:49] @ Quit: verwilst: Quit: Ex-Chat
[2011/11/29 08:10:28] @ Quit: dofr: Ping timeout: 252 seconds
[2011/11/29 08:10:55] <fim> it worked. cool. thanks Volcane
[2011/11/29 08:11:33] <skippy> can I glob a set of files in a class to push to the client, without having to declare each one manually?
[2011/11/29 08:12:11] @ dofr joined channel #puppet
[2011/11/29 08:12:32] <NuclearLucifer> skippy, you can push entire directory.
[2011/11/29 08:13:26] <skippy> NuclearLucifer: I have a bunch of small scripts in /home/perf/scripts/*. I want to push all of these to clients.
[2011/11/29 08:14:16] <NuclearLucifer> skippy, So you can push it using `file' resource.
[2011/11/29 08:15:31] @ sascha_ joined channel #puppet
[2011/11/29 08:16:15] <Asako> so nobody can help?
[2011/11/29 08:16:41] <skippy> It looks like I'll want something like `file { "/home/perf/scripts": ensure => directory, source => "puppet:///modules/perf/perf"` ?
[2011/11/29 08:16:58] @ Quit: alanna: Remote host closed the connection
[2011/11/29 08:17:08] <NuclearLucifer> skippy, http://pastebin.com/jgBe1T84
[2011/11/29 08:17:22] @ alanna joined channel #puppet
[2011/11/29 08:17:44] <NuclearLucifer> skippy, you need something similar.
[2011/11/29 08:18:11] <skippy> NuclearLucifer: excellent. thanks!!
[2011/11/29 08:19:33] <NuclearLucifer> skippy, you may want to use `purge => true'.
[2011/11/29 08:20:28] <skippy> I think for this application, it doesn't much matter. Thanks.
[2011/11/29 08:21:34] @ Quit: alanna: Ping timeout: 244 seconds
[2011/11/29 08:22:06] @ newtMcKerr joined channel #puppet
[2011/11/29 08:23:07] @ l0n joined channel #puppet
[2011/11/29 08:24:35] @ Quit: ben_duyujie: Ping timeout: 244 seconds
[2011/11/29 08:24:41] @ m3ridian joined channel #puppet
[2011/11/29 08:25:54] @ Ryan_Lane1 joined channel #puppet
[2011/11/29 08:26:13] @ Quit: javian: Ping timeout: 244 seconds
[2011/11/29 08:27:00] @ Quit: Ryan_Lane: Ping timeout: 244 seconds
[2011/11/29 08:28:36] @ labrown joined channel #puppet
[2011/11/29 08:30:32] @ kaptk2 joined channel #puppet
[2011/11/29 08:30:37] @ Quit: Ryan_Lane1: Ping timeout: 244 seconds
[2011/11/29 08:30:44] @ Quit: dwalu: Quit: dwalu
[2011/11/29 08:31:38] @ miche joined channel #puppet
[2011/11/29 08:32:12] @ jsurfer joined channel #puppet
[2011/11/29 08:33:03] @ spiette joined channel #puppet
[2011/11/29 08:33:38] @ kenperkins joined channel #puppet
[2011/11/29 08:33:42] @ Quit: sean: Remote host closed the connection
[2011/11/29 08:33:50] @ neonflux joined channel #puppet
[2011/11/29 08:34:04] @ brtl joined channel #puppet
[2011/11/29 08:34:26] @ Quit: the_ramink: Ping timeout: 260 seconds
[2011/11/29 08:34:26] @ Quit: brtl: Read error: Connection reset by peer
[2011/11/29 08:36:51] @ brtl joined channel #puppet
[2011/11/29 08:37:06] @ Quit: ckauhaus: Quit: Leaving.
[2011/11/29 08:37:18] @ Quit: sumsuch: Quit: sumsuch
[2011/11/29 08:37:19] @ Quit: brtl: Read error: Connection reset by peer
[2011/11/29 08:40:30] <^conner> ken_barber, ping?
[2011/11/29 08:41:20] @ Quit: Espen-_o: Ping timeout: 248 seconds
[2011/11/29 08:41:26] @ Quit: patcon: Excess Flood
[2011/11/29 08:41:28] @ Quit: arnihermann: Ping timeout: 244 seconds
[2011/11/29 08:41:35] @ Quit: cparedes: Ping timeout: 258 seconds
[2011/11/29 08:41:36] @ Quit: garethr: Ping timeout: 255 seconds
[2011/11/29 08:41:39] @ Quit: lusis: Ping timeout: 252 seconds
[2011/11/29 08:41:39] @ Quit: avandendorpe: Ping timeout: 252 seconds
[2011/11/29 08:41:52] @ Quit: Tribaal: Ping timeout: 248 seconds
[2011/11/29 08:42:01] @ Quit: devicenull: Ping timeout: 260 seconds
[2011/11/29 08:42:14] @ Quit: rsnhyperion: Ping timeout: 244 seconds
[2011/11/29 08:42:35] @ Quit: WALoeIII: Max SendQ exceeded
[2011/11/29 08:42:37] @ Quit: kesor: Ping timeout: 240 seconds
[2011/11/29 08:42:52] @ WALoeIII joined channel #puppet
[2011/11/29 08:43:36] @ Quit: leepa: Max SendQ exceeded
[2011/11/29 08:43:53] @ leepa joined channel #puppet
[2011/11/29 08:44:18] @ Quit: Moe__: Remote host closed the connection
[2011/11/29 08:44:39] <ken_barber> ^conner: pong :-)
[2011/11/29 08:45:18] @ Quit: riftman: Ping timeout: 252 seconds
[2011/11/29 08:45:22] @ BManojlovic joined channel #puppet
[2011/11/29 08:45:56] @ riftman joined channel #puppet
[2011/11/29 08:45:59] <Asako> I found the problem, btw
[2011/11/29 08:46:04] @ kesor joined channel #puppet
[2011/11/29 08:46:06] @ Quit: mogitaff: Quit: Leaving
[2011/11/29 08:46:22] <Asako> puppet-dashboard/spool wasn't writeable by apache
[2011/11/29 08:46:29] @ rsnhyperion joined channel #puppet
[2011/11/29 08:47:16] @ rocketeer joined channel #puppet
[2011/11/29 08:48:01] @ Quit: pieter_: Quit: Ex-Chat
[2011/11/29 08:49:17] @ the_ramink joined channel #puppet
[2011/11/29 08:49:25] @ patcon joined channel #puppet
[2011/11/29 08:49:56] @ dfamorato joined channel #puppet
[2011/11/29 08:50:02] @ zwi joined channel #puppet
[2011/11/29 08:50:07] @ jkoppe joined channel #puppet
[2011/11/29 08:50:30] @ negronjl_ joined channel #puppet
[2011/11/29 08:50:39] <matchaw_> Can someone explain what the "->" operator does, i.e ( Class ['::passenger'] -> Apache::Vhost[$dashboard_site]) ?
[2011/11/29 08:51:09] <magicaltrout> tells it to run the class first
[2011/11/29 08:51:17] <magicaltrout> then the apache::vhost
[2011/11/29 08:51:23] <_rc_> it adds an ordering relationship
[2011/11/29 08:51:43] <magicaltrout> can you do $var = $var / 2 in a class?
[2011/11/29 08:51:45] <_rc_> http://docs.puppetlabs.com/guides/language_guide.html#chaining-resources
[2011/11/29 08:51:47] <matchaw_> ah, I thought something to do with relashonship's, thanks!
[2011/11/29 08:51:57] @ Quit: kangman: Remote host closed the connection
[2011/11/29 08:52:02] <_rc_> you can't reassign a variable, no
[2011/11/29 08:52:18] <magicaltrout> okay can you do $var2 = $var / 2 ? ;)
[2011/11/29 08:52:24] <_rc_> yes
[2011/11/29 08:52:32] <magicaltrout> coolio
[2011/11/29 08:53:09] @ Quit: raphdg: Remote host closed the connection
[2011/11/29 08:53:44] @ Quit: trickyf: Quit: Leaving.
[2011/11/29 08:54:52] @ Quit: ryancoleman: Quit: Leaving.
[2011/11/29 08:55:16] @ ehebert joined channel #puppet
[2011/11/29 08:55:56] @ Quit: kermit: Ping timeout: 244 seconds
[2011/11/29 08:56:12] @ avandendorpe joined channel #puppet
[2011/11/29 08:56:33] @ Quit: pmorillon: Quit: pmorillon
[2011/11/29 08:56:43] @ brtl joined channel #puppet
[2011/11/29 08:58:51] @ Quit: wkl: Quit: wkl
[2011/11/29 09:04:02] @ kermit joined channel #puppet
[2011/11/29 09:04:24] @ rharrison joined channel #puppet
[2011/11/29 09:04:41] <kenperkins> how do folks manage modules between environments? different puppet servers per env? or using environments within puppet itself?
[2011/11/29 09:05:03] @ Quit: Whoop: Ping timeout: 240 seconds
[2011/11/29 09:06:04] <Volcane> internal is easy but often security policies, sox etc means u need it seperate
[2011/11/29 09:07:22] <kenperkins> sox?
[2011/11/29 09:08:30] <fim> is the defined() func reaaaally slow or is it something else that I'm doing?
[2011/11/29 09:08:37] <Volcane> us gov network/security/etc regulations for listed companies
[2011/11/29 09:08:43] <kenperkins> ah
[2011/11/29 09:08:53] <Volcane> fim: probably something else
[2011/11/29 09:08:58] <kenperkins> need it separate as in different puppet masters per env
[2011/11/29 09:09:02] <sarkis_> exit
[2011/11/29 09:09:06] @ Quit: dan__t: Ping timeout: 244 seconds
[2011/11/29 09:09:12] @ anveo joined channel #puppet
[2011/11/29 09:09:29] @ Quit: sarkis_: Quit: leaving
[2011/11/29 09:09:54] @ Quit: jsurfer: Quit: jsurfer
[2011/11/29 09:10:25] @ cparedes joined channel #puppet
[2011/11/29 09:10:32] <fim> Volcane: I got a puppet run that takes up to 200secs. If I remove the `if defined()` part it takes aound 20s and in the `if defined()` I've only got a file{} definition :/
[2011/11/29 09:10:45] @ dan__t joined channel #puppet
[2011/11/29 09:10:47] @ Quit: sascha_: Quit: sascha_
[2011/11/29 09:10:47] @ garethr joined channel #puppet
[2011/11/29 09:11:12] <_rc_> is the file definition a recursive sync?
[2011/11/29 09:11:24] @ seanh-ansca joined channel #puppet
[2011/11/29 09:11:42] <Volcane> fim: so its the file definition
[2011/11/29 09:11:57] @ lusis joined channel #puppet
[2011/11/29 09:12:27] <fim> it is recursive but there aren't a lot of files under the root
[2011/11/29 09:12:56] <Volcane> do puppetd --test --summarize
[2011/11/29 09:12:59] <Volcane> see whats slow
[2011/11/29 09:13:09] @ alanna joined channel #puppet
[2011/11/29 09:13:59] @ Espen-_o joined channel #puppet
[2011/11/29 09:15:57] @ Tribaal joined channel #puppet
[2011/11/29 09:18:03] @ Quit: walkeran: Remote host closed the connection
[2011/11/29 09:18:19] @ walkeran joined channel #puppet
[2011/11/29 09:18:36] @ ianbrandt joined channel #puppet
[2011/11/29 09:19:02] @ arnihermann joined channel #puppet
[2011/11/29 09:19:23] @ Quit: zwi: Ping timeout: 255 seconds
[2011/11/29 09:20:31] @ Quit: PedroGomes: Remote host closed the connection
[2011/11/29 09:21:21] @ Quit: rcrowley: Quit: Computer has gone to sleep.
[2011/11/29 09:21:37] @ Quit: Ramonster: Quit: Computer has gone to sleep
[2011/11/29 09:21:58] @ Quit: ali3n0: Ping timeout: 252 seconds
[2011/11/29 09:22:48] @ zwi joined channel #puppet
[2011/11/29 09:23:01] @ daysmen joined channel #puppet
[2011/11/29 09:24:18] @ sumsuch joined channel #puppet
[2011/11/29 09:24:23] @ aherzog joined channel #puppet
[2011/11/29 09:25:32] @ Quit: newtMcKerr: Quit: Leaving.
[2011/11/29 09:27:44] @ Quit: mauve_: Ping timeout: 248 seconds
[2011/11/29 09:29:11] @ ryancoleman joined channel #puppet
[2011/11/29 09:30:21] @ Quit: hicham: Remote host closed the connection
[2011/11/29 09:31:08] @ newtMcKerr joined channel #puppet
[2011/11/29 09:32:03] @ Quit: ken_barber: Quit: Leaving.
[2011/11/29 09:32:19] <shortbus-> is there a wayt to make the ssh_authorized_key resource create my ~/ssh/authorized_keys with the right ownership, or do i just need to make a file resource for it and do it that way?
[2011/11/29 09:32:20] @ larstobi joined channel #puppet
[2011/11/29 09:32:26] @ nfagerlund joined channel #puppet
[2011/11/29 09:33:34] @ Quit: rsnhyperion: Remote host closed the connection
[2011/11/29 09:33:40] @ rsnhyperion joined channel #puppet
[2011/11/29 09:34:38] @ iw_work joined channel #puppet
[2011/11/29 09:34:56] @ Quit: andreaturli: Remote host closed the connection
[2011/11/29 09:35:35] @ astrostl2 joined channel #puppet
[2011/11/29 09:35:40] @ sean joined channel #puppet
[2011/11/29 09:35:52] <sietse> account on jabber
[2011/11/29 09:36:11] <sietse> whoops ;)
[2011/11/29 09:39:08] <daysmen> :-)
[2011/11/29 09:39:18] @ bsg_kwolf joined channel #puppet
[2011/11/29 09:39:44] @ Whoop joined channel #puppet
[2011/11/29 09:39:44] @ Quit: Whoop: Changing host
[2011/11/29 09:39:44] @ Whoop joined channel #puppet
[2011/11/29 09:41:07] @ methods joined channel #puppet
[2011/11/29 09:41:29] @ Kazuhiro joined channel #puppet
[2011/11/29 09:42:37] @ Quit: negronjl_: Ping timeout: 240 seconds
[2011/11/29 09:42:38] @ Quit: Kazuhiro: Client Quit
[2011/11/29 09:45:13] @ Quit: astrostl2:
[2011/11/29 09:46:25] <methods> puppet manages configuration of hosts.. but what if i want it to simply generate a configuration and then I take care of the deployments my self ?
[2011/11/29 09:46:58] @ steki-BLAH joined channel #puppet
[2011/11/29 09:46:59] @ Quit: steki-BLAH: Changing host
[2011/11/29 09:46:59] @ steki-BLAH joined channel #puppet
[2011/11/29 09:47:09] @ Quit: m3ridian: Ping timeout: 245 seconds
[2011/11/29 09:47:12] <_rc_> then you're out of luck
[2011/11/29 09:47:17] @ Quit: BManojlovic: Ping timeout: 255 seconds
[2011/11/29 09:47:29] @ steki-BLAH is now known as BManojlovic
[2011/11/29 09:47:40] @ Quit: kermit: Remote host closed the connection
[2011/11/29 09:47:46] <Ahlee_> methods: you mean, generate a puppet manifest, but place it on a server and apply it yourself?
[2011/11/29 09:47:49] @ Quit: marrusl: Read error: Connection reset by peer
[2011/11/29 09:48:05] @ shadoi joined channel #puppet
[2011/11/29 09:48:21] <Ahlee_> as, well, you can just do that. instead of starting the daemon, copy myawesomeconfig.pp to your server, then puppet apply myawesomeconfig.pp for a one time running
[2011/11/29 09:48:23] @ KaiserBeto joined channel #puppet
[2011/11/29 09:48:25] <methods> i want it to generate the template that's it
[2011/11/29 09:49:20] @ KaiserBeto left channel #puppet ()
[2011/11/29 09:49:44] <methods> I'm looking into using beanstalk service from amazon so idealy i just want my instances to come up and download a file from a url .. but puppet currently manages my other infrastructure so it's perfect candidate for generating a config for the environment
[2011/11/29 09:50:01] @ Quit: jhford: Quit: ZNC - http://znc.in
[2011/11/29 09:50:32] <_rc_> template compilation happens only as part of catalog compilation, it's not seperatable
[2011/11/29 09:50:35] @ jhford joined channel #puppet
[2011/11/29 09:50:37] <methods> in beanstalk the idea is an app code gets deployed and managed for you .. there will be no puppet agent there
[2011/11/29 09:50:41] @ scsinutz joined channel #puppet
[2011/11/29 09:50:52] @ scsinutz left channel #puppet ()
[2011/11/29 09:51:15] @ Ahlee_ is now known as Ahlee
[2011/11/29 09:51:35] <neilh> I've got config such that a define is dependent on a virtual resource using ->, but is it possible to specify the dependency using the require meta-attribute of the define? Everything I try seem to generate a syntax error.
[2011/11/29 09:51:56] @ sascha_ joined channel #puppet
[2011/11/29 09:52:07] <Ahlee> I'm not following how having your new EC2 instance fetch a .pp and apply it doesn't meet your goals
[2011/11/29 09:52:28] <Ahlee> unless you want complete hands off, then, well, you don't want puppet at all?
[2011/11/29 09:53:36] @ marrusl joined channel #puppet
[2011/11/29 09:53:42] <neilh> as in http://www.pastie.org/2939750
[2011/11/29 09:53:42] <_rc_> neilh: we don't know everything you've tried, but some::define { "foo": require => Class["blah"] } should work
[2011/11/29 09:54:13] <methods> well i use puppet for the environment that i manually control so it has all the knowledge to generate a config for an external target to know where to find services in my environment
[2011/11/29 09:54:20] <neilh> _rc_: except the thing I'm trying to be dependent on is a virtual define not a class
[2011/11/29 09:54:26] <_rc_> neilh: that's just Iptables::Source["mgt_opts"]
[2011/11/29 09:55:09] <matchaw_> Anyone have advice how to take $name from a define and split it into two variables? i.e regex ?
[2011/11/29 09:55:47] <neilh> _rc_; It would be, but I need Iptables::Source['mgt_ops'] defined once across the environment, yet only used on some of the machines.
[2011/11/29 09:55:48] @ kermit joined channel #puppet
[2011/11/29 09:55:54] <_rc_> matchaw_: there's a regsubst function
[2011/11/29 09:56:15] @ Quit: duerF: Quit: Leaving
[2011/11/29 09:56:17] <matchaw_> _rc_ thanks I'll check docs
[2011/11/29 09:56:58] <neilh> this being firewalling stuff, I don't particularly want net definitions appearing one machines where they're not needed
[2011/11/29 09:57:01] @ maxmartin joined channel #puppet
[2011/11/29 09:57:25] <_rc_> neilh: I don't understand how you got to where you are now
[2011/11/29 09:57:28] <neilh> hence going virtual, but that seems to cause a parse error when I converted it to what I thought would be the correct syntax
[2011/11/29 09:57:58] <neilh> _rc_: k, gimme a few s to create a paste "history"
[2011/11/29 09:58:13] <_rc_> quite why you're using a virtual resource.
[2011/11/29 09:59:42] @ Quit: KristianDK: Quit: KristianDK
[2011/11/29 10:00:41] @ peridot joined channel #puppet
[2011/11/29 10:01:27] <_rc_> I need more context for the example, as nbx5::connection { 'mgt_ops': from => 'MGT_OPS', require => Iptables::Source['mgt_ops'] } is equivalent to your desired state
[2011/11/29 10:03:48] @ Quit: daysmen: Quit: leaving
[2011/11/29 10:04:15] @ sdog joined channel #puppet
[2011/11/29 10:04:16] @ mrwacky42 joined channel #puppet
[2011/11/29 10:04:18] @ jsurfer joined channel #puppet
[2011/11/29 10:04:20] @ Quit: spyvrsspy: Remote host closed the connection
[2011/11/29 10:04:55] @ Quit: dfamorato: Read error: Connection reset by peer
[2011/11/29 10:05:01] @ justin_donaldson joined channel #puppet
[2011/11/29 10:05:07] @ dfamorato joined channel #puppet
[2011/11/29 10:07:17] @ Kazuhiro joined channel #puppet
[2011/11/29 10:08:01] <neilh> _rc_: try http://www.pastie.org/2939810
[2011/11/29 10:08:02] @ Quit: Kazuhiro: Read error: Connection reset by peer
[2011/11/29 10:08:11] @ Kazuhiro joined channel #puppet
[2011/11/29 10:08:23] <skippy> I'm looking at the PuppetLabs lvm module (https://github.com/puppetlabs/puppet-lvm). Am I correct in thinking that if I don't want to use the shorthand volume() notation, I can exclude the define lvm::volume() from the manifests I create to use this?
[2011/11/29 10:08:47] @ Quit: mrwacky42: Ping timeout: 244 seconds
[2011/11/29 10:09:15] <matchaw_> If I was to pass an array to a define, I.e to be able to call it multiple times. How would I ensure the name of the call to the define was unique if the entries in the array are the same?
[2011/11/29 10:09:28] <_rc_> neilh: so make it require => Iptables::Source[$some_variable]
[2011/11/29 10:09:42] <_rc_> and $some_variable with have mgt_ops or other_hosts
[2011/11/29 10:10:44] @ p3rror joined channel #puppet
[2011/11/29 10:11:28] @ mrwacky42 joined channel #puppet
[2011/11/29 10:11:32] <neilh> ah, p'raps the example could have been better - some connections only exist on machine type 1 and not at all on type 2
[2011/11/29 10:11:54] <_rc_> then make that an array that differs between hosts.
[2011/11/29 10:11:54] <neilh> so a dependency using a variable then breaks - doesn't it?
[2011/11/29 10:12:44] <_rc_> no, $things_to_require = [ Iptables::Source["potato"], Iptables::Source["carrot"] ]
[2011/11/29 10:12:59] @ helindbe_ joined channel #puppet
[2011/11/29 10:13:57] @ williemach joined channel #puppet
[2011/11/29 10:14:25] @ Quit: Meier: Quit: Leaving.
[2011/11/29 10:14:32] <neilh> will that realize the Iptables::Source's if they are virtual?
[2011/11/29 10:14:51] <neilh> I think that if they're not virtual, I'll end up with iptables tables existing that shouldn't
[2011/11/29 10:14:57] <_rc_> if it doesn't you can add relise $require to your define
[2011/11/29 10:15:03] @ Quit: Razique: Quit: Razique
[2011/11/29 10:15:14] @ dwalu joined channel #puppet
[2011/11/29 10:15:28] <_rc_> I think making them virtual is odd to begin with
[2011/11/29 10:16:02] <_rc_> I don't follow your logic for making them virtual
[2011/11/29 10:16:55] <neilh> I know what you mean, but I think the alternative is to have each machine type (that needs it) independently define Iptables::Source[mgt_ops] to be the same value (which violates DRY)
[2011/11/29 10:17:06] @ Quit: helindbe: Ping timeout: 260 seconds
[2011/11/29 10:17:06] @ helindbe_ is now known as helindbe
[2011/11/29 10:17:19] @ Quit: iw_work: Remote host closed the connection
[2011/11/29 10:17:25] <_rc_> also I'd think about pushing it down into nbx5::connection, you told it what the from was, so in there it should open up the ports it needs
[2011/11/29 10:18:15] <neilh> hmm. that might actually be the simpler way of doing it anyway
[2011/11/29 10:18:21] <neilh> I'll investigate that
[2011/11/29 10:19:27] @ Quit: sdog: Changing host
[2011/11/29 10:19:27] @ sdog joined channel #puppet
[2011/11/29 10:20:49] @ KristianDK joined channel #puppet
[2011/11/29 10:21:44] @ Quit: hooper: Ping timeout: 252 seconds
[2011/11/29 10:21:44] @ rutger_ joined channel #puppet
[2011/11/29 10:22:35] @ Quit: newtMcKerr: Quit: Leaving.
[2011/11/29 10:23:34] @ newtMcKerr joined channel #puppet
[2011/11/29 10:23:39] @ saysjonathan joined channel #puppet
[2011/11/29 10:23:46] <clustermagnet> guys, im moving modules from the old method of keeping files in manifests/ and including the .pp files… to the autoloader modules/ function
[2011/11/29 10:23:58] <clustermagnet> i seem to understand the blah::yblah concept
[2011/11/29 10:24:34] <clustermagnet> however, i am afraid of making changes because of the define statements
[2011/11/29 10:25:06] @ Kazuhiro left channel #puppet ()
[2011/11/29 10:25:38] <_rc_> http://docs.puppetlabs.com/guides/modules.html#module-autoloading
[2011/11/29 10:25:46] <_rc_> defines follow the very same rules
[2011/11/29 10:25:49] @ ali3n0 joined channel #puppet
[2011/11/29 10:25:57] <clustermagnet> _rc_: thanks… ill read up again… will be careful
[2011/11/29 10:26:08] @ Quit: ^conner: Ping timeout: 252 seconds
[2011/11/29 10:26:19] <_rc_> so if you have superawesomedefine that's modules/superawesomedefine/manifests/init.pp
[2011/11/29 10:26:38] @ Quit: peridot: Quit: Leaving.
[2011/11/29 10:26:52] @ Quit: justdave: Ping timeout: 244 seconds
[2011/11/29 10:27:13] <_rc_> and superawesome::define is modules/superawesome/manifests/define.pp
[2011/11/29 10:27:37] <clustermagnet> _rc_: ill test, thanks man!
[2011/11/29 10:27:53] <clustermagnet> i think autoloader is totally the way to go :)
[2011/11/29 10:27:57] @ mauve_ joined channel #puppet
[2011/11/29 10:29:19] @ PedroGomes joined channel #puppet
[2011/11/29 10:29:40] <PedroGomes> noob question: where is the puppet log?
[2011/11/29 10:29:43] <skippy> does Puppet Dashboard support environments?
[2011/11/29 10:30:02] <_rc_> PedroGomes: by default, it logs via syslog
[2011/11/29 10:30:15] @ ckauhaus joined channel #puppet
[2011/11/29 10:30:31] @ methods left channel #puppet ()
[2011/11/29 10:30:46] <skippy> also, does the Dashboard support a default node, as one can do in a nodes.pp ?
[2011/11/29 10:31:00] <PedroGomes> _rc_: thanks
[2011/11/29 10:31:09] @ Quit: johnston_: Quit: Page closed
[2011/11/29 10:31:33] @ johnston_ joined channel #puppet
[2011/11/29 10:31:34] <_rc_> skippy: I've not played with dashboard in a while, but I think it's agnostic to that; it presents reports and provides an ENC
[2011/11/29 10:33:46] <matchaw_> If I was to pass an array to a define, I.e to be able to call it multiple times. How would I ensure the name of the call to the define was unique if the entries in the array are the same?
[2011/11/29 10:34:22] @ Quit: sebnash: Quit: Linkinus - http://linkinus.com
[2011/11/29 10:34:28] <_rc_> matchaw_: you'd need to have some function uniquify the array, be default it'll just go boom
[2011/11/29 10:34:39] @ Quit: ckauhaus: Ping timeout: 245 seconds
[2011/11/29 10:35:21] <matchaw_> _rc_ : yes, well I am calling the define with an array ie. users = ['tim', 'tim']. Obviously it fails, any ideas?
[2011/11/29 10:35:46] <_rc_> implement a custom function to uniqify it
[2011/11/29 10:36:02] <matchaw_> any examples to work from?
[2011/11/29 10:36:10] <matchaw_> I haven't played much with functions.
[2011/11/29 10:36:27] <_rc_> http://docs.puppetlabs.com/guides/custom_functions.html
[2011/11/29 10:37:00] <matchaw_> Thanks.
[2011/11/29 10:37:50] <_rc_> it looks like the puppetlabs-stdlib has one: https://github.com/puppetlabs/puppetlabs-stdlib/blob/master/lib/puppet/parser/functions/unique.rb
[2011/11/29 10:39:12] @ ken_barber joined channel #puppet
[2011/11/29 10:39:27] @ ^conner joined channel #puppet
[2011/11/29 10:41:18] <cek> how do i make a resource type in define() dependant on define's supplied require parameter?
[2011/11/29 10:42:21] @ Quit: jodok: Quit: jodok
[2011/11/29 10:42:28] <cek> define type(){ innertype{ } } ; type { 'blah': require => Someother[]}. Currently, innertype{} doesn't require Someother[]
[2011/11/29 10:42:31] <_rc_> er, what?
[2011/11/29 10:43:15] <cek> how do i make it require that properly?
[2011/11/29 10:43:28] <matchaw_> _rc_, thanks, but I need to actually use each item in the array, I just need to make them unique when calling the define..
[2011/11/29 10:44:06] @ iw_work joined channel #puppet
[2011/11/29 10:44:13] <Evolution> I thought I saw a puppet module for adding a user as an example....
[2011/11/29 10:44:14] <_rc_> matchaw_: but what's the semantic meaning of that? you can't define something twice
[2011/11/29 10:44:17] <Evolution> I can't find it in the doco now.
[2011/11/29 10:44:26] <Evolution> am I crazy or can someone point me to that doco?
[2011/11/29 10:44:42] <_rc_> Evolution: adding users is a core type. http://docs.puppetlabs.com/references/latest/type.html
[2011/11/29 10:45:24] <mrwacky42> OCCUPY PUPPET!
[2011/11/29 10:45:33] <matchaw_> _rc_ well I have an array of items of the same name and I need to use each item as $name when calling the array..
[2011/11/29 10:45:33] <_rc_> cek: why don't you pass it down?
[2011/11/29 10:46:59] @ shafiqissani joined channel #puppet
[2011/11/29 10:47:07] <dwalu> @mrwacky42 isn't that what Opscode did?
[2011/11/29 10:47:24] <cek> _rc_, how do i pass it down?
[2011/11/29 10:47:45] @ scsinutz joined channel #puppet
[2011/11/29 10:47:49] @ scsinutz left channel #puppet ()
[2011/11/29 10:47:59] @ RoyK joined channel #puppet
[2011/11/29 10:48:10] <_rc_> matchaw_: are you doing something like this? http://pastie.org/2940027
[2011/11/29 10:48:22] <mrwacky42> dwalu: That hadn't occurred to me.
[2011/11/29 10:48:43] <dwalu> @mrwacky42 I bet it ocurred to adam jacobs.
[2011/11/29 10:48:45] <matchaw_> _rc_ indeed
[2011/11/29 10:48:56] <_rc_> matchaw_: you can't. give up.
[2011/11/29 10:49:08] <matchaw_> :) let me see if I can get the code to show you
[2011/11/29 10:49:21] <_rc_> matchaw::define is declaring that something will be in a state
[2011/11/29 10:49:31] <_rc_> you can't define it to be in the same state twice
[2011/11/29 10:49:49] <_rc_> I think that'd be useful, yes
[2011/11/29 10:50:04] <cek> anyone?
[2011/11/29 10:50:27] <_rc_> cek: 2 seconds, writing a test case for you
[2011/11/29 10:51:13] <cek> i can't even spell it properly, i don't know how it's offically called
[2011/11/29 10:51:21] <cek> puppet dependency inside define
[2011/11/29 10:51:32] <cek> google returns garbage
[2011/11/29 10:52:19] <_rc_> cek: this is what you're testing for? http://pastie.org/2940055
[2011/11/29 10:53:03] <cek> yeah
[2011/11/29 10:53:28] <_rc_> and you've looked at the catalog that's compiled to assert that it isn't happening?
[2011/11/29 10:54:00] <cek> well
[2011/11/29 10:54:05] <cek> i'm trying to require => Exec
[2011/11/29 10:54:09] @ Quit: ezryx: Remote host closed the connection
[2011/11/29 10:54:14] <_rc_> this is what I mean by pass it down: innertype{ "potato": require => $require }
[2011/11/29 10:54:20] <cek> and i see that exec refreshing after the requireed resource
[2011/11/29 10:54:24] <matchaw_> _rc_ : something like this :: http://pastie.org/2940067
[2011/11/29 10:54:40] <cek> Parameter require failed: No title provided and :undef is not a valid resource reference
[2011/11/29 10:55:20] <_rc_> cek: tehn share your code, the one I pasted doesn't do that
[2011/11/29 10:56:42] <_rc_> cek: this is what I get. http://pastie.org/2940055
[2011/11/29 10:57:21] <cek> alright, got a bugcase
[2011/11/29 10:57:26] <_rc_> matchaw_: yes. and. Second::Define["bill"] can only exist once
[2011/11/29 10:58:01] <cek> https://gist.github.com/d4a19803bbd6e100af36
[2011/11/29 10:58:15] <matchaw_> _rc_ so how is it possible to loop through an array and call a specific define?
[2011/11/29 10:58:45] <cek> or wait.. hmm.. let me dig deeper
[2011/11/29 10:58:56] <_rc_> cek: you're confusing the matter by making the exec be refreshable I think
[2011/11/29 10:59:23] <cek> damn yeah, we have complex rules there
[2011/11/29 10:59:24] <_rc_> matchaw_: you can only do it if the array is unique.
[2011/11/29 10:59:30] <cek> that's just an example which works :/
[2011/11/29 10:59:50] <_rc_> nice of you to share it so late in the day :P
[2011/11/29 10:59:52] <matchaw_> _rc_ I know, but I cannot thing of a way around this issue.
[2011/11/29 11:00:10] @ ccaum joined channel #puppet
[2011/11/29 11:00:27] <_rc_> matchaw_: what's the semantic meaning of second::define { "bill": } second::define { "bill": } to you?
[2011/11/29 11:00:44] <_rc_> explain that and maybe we can get you there
[2011/11/29 11:01:04] @ Quit: negronjl: Ping timeout: 248 seconds
[2011/11/29 11:01:49] @ lak joined channel #puppet
[2011/11/29 11:01:49] @ Quit: lak: Changing host
[2011/11/29 11:01:49] @ lak joined channel #puppet
[2011/11/29 11:01:52] <matchaw_> I am using the augeas function to manage adding "main", "restricted" etc to files in sources.list.d/ and if two files have the "main" entry it failes
[2011/11/29 11:02:30] <_rc_> the augeus type?
[2011/11/29 11:02:35] <cek> well, the point is that it doesn't work with virtual resources
[2011/11/29 11:02:36] <matchaw_> yes sorry
[2011/11/29 11:02:50] @ dak419 left channel #puppet ()
[2011/11/29 11:02:59] <matchaw_> I guess I could use templates, but this was a nice way to achieve it.
[2011/11/29 11:03:02] @ Quit: mcarpent: Ping timeout: 244 seconds
[2011/11/29 11:03:25] <cek> how do I access the require metaparameter of a define, if it's supplied?
[2011/11/29 11:03:32] <_rc_> cek: you're mistaken
[2011/11/29 11:03:38] @ Quit: cwebber: Read error: Operation timed out
[2011/11/29 11:03:41] <cek> what?
[2011/11/29 11:04:05] <matchaw_> _rc_ the first define sets up the uri pointing to the repo site and the second define is called to add the components, i.e main, restriced, universe etc.
[2011/11/29 11:04:46] <_rc_> cek: just pass the thing down: https://gist.github.com/d1f0845f213b5b6e81a8
[2011/11/29 11:05:07] <cek> again, it says: Parameter require failed: No title provided and :undef is not a valid resource reference
[2011/11/29 11:05:20] <_rc_> what version of puppet?
[2011/11/29 11:05:24] <Dominic> matchaw_: can you pastebin something please? I don't understand your question.
[2011/11/29 11:05:43] <_rc_> matchaw_: I see what you need now
[2011/11/29 11:05:48] <matchaw_> Dominic : http://pastie.org/2940067
[2011/11/29 11:05:57] <_rc_> that's a really bad example
[2011/11/29 11:06:20] @ negronjl joined channel #puppet
[2011/11/29 11:06:22] <_rc_> it hides too much of the details
[2011/11/29 11:06:22] <matchaw_> _rc_ you have any ideas a way around it ?
[2011/11/29 11:06:25] <_rc_> yes
[2011/11/29 11:06:33] <_rc_> again, custom function
[2011/11/29 11:06:34] <cek> 264
[2011/11/29 11:06:35] <matchaw_> oh sorry, I didn't have access to all the code at the time.
[2011/11/29 11:06:57] <_rc_> 2 arguments, first is a prefix, second the list
[2011/11/29 11:08:03] <skippy> what's the proper way to use --tags on a puppet agent invocation? I tried "sudo puppet agent --test --noop -d --tags foo::bar" to test my foo::bar module, but the output repeatedly says "Not tagged with foo::bar"
[2011/11/29 11:08:12] <_rc_> then you call it as $mapped_list = map_list("${file}-", $sections);
[2011/11/29 11:08:52] @ natewalck joined channel #puppet
[2011/11/29 11:09:15] <matchaw_> _rc_, is the any functions simalir to give me a base to work on?
[2011/11/29 11:09:17] <_rc_> augeus { $mapped_list: }
[2011/11/29 11:10:08] <_rc_> cek: you mean 2.6.4?
[2011/11/29 11:10:28] <cek> actually, you know what. that error is bacase of require +>
[2011/11/29 11:10:50] <_rc_> require +> ?
[2011/11/29 11:10:50] <cek> and i can't use simle rquire because that's virtual resource
[2011/11/29 11:11:01] <cek> yeah, i need to +> all requires
[2011/11/29 11:11:09] <_rc_> ...
[2011/11/29 11:11:33] <_rc_> I haven't seen a single plusignment operator in any of the things you pasted as test cases.
[2011/11/29 11:11:39] <cek> https://gist.github.com/30ea2e6524739199ba11
[2011/11/29 11:11:54] <cek> see override of Collector::Composer params ?
[2011/11/29 11:12:00] <cek> i need to +>
[2011/11/29 11:12:05] <_rc_> ...
[2011/11/29 11:12:39] <_rc_> I just scrolled back half an hour to see if I missed anything, you didn't share that code
[2011/11/29 11:12:59] <cek> of course i didn't dear, otherwise we would have another dead person in this channel
[2011/11/29 11:13:02] <blkperl> so i've been getting nss_ldap errors from puppet, anyone have similar experiences>
[2011/11/29 11:13:15] <_rc_> dead person?
[2011/11/29 11:13:31] * _rc_ takes his free help and goes home
[2011/11/29 11:13:41] @ Quit: geekbri: Read error: Connection reset by peer
[2011/11/29 11:13:53] @ geekbri joined channel #puppet
[2011/11/29 11:14:44] @ Quit: sascha_: Quit: sascha_
[2011/11/29 11:14:48] @ thisthat left channel #puppet ()
[2011/11/29 11:15:55] @ Bass10 joined channel #puppet
[2011/11/29 11:16:12] @ Quit: iw_work: Quit: Leaving
[2011/11/29 11:16:32] @ Quit: shafiqissani: Ping timeout: 248 seconds
[2011/11/29 11:16:40] <cek> thanks
[2011/11/29 11:17:11] @ Quit: Bass10: Max SendQ exceeded
[2011/11/29 11:18:20] @ mcarpent joined channel #puppet
[2011/11/29 11:22:29] @ cwebber joined channel #puppet
[2011/11/29 11:24:24] @ justdave joined channel #puppet
[2011/11/29 11:24:28] <cek> nm, works perfectly thus far
[2011/11/29 11:27:12] <ashp> I really, really, fucked things up this time.
[2011/11/29 11:27:13] <ashp> http://pastebin.com/QvKhunvn
[2011/11/29 11:27:19] <ashp> Now I can't even sign fresh certs
[2011/11/29 11:27:49] @ Quit: mcarpent: Ping timeout: 240 seconds
[2011/11/29 11:27:49] @ kmafb joined channel #puppet
[2011/11/29 11:30:09] @ Quit: oatsport1__: Read error: Connection reset by peer
[2011/11/29 11:30:18] @ oatsport1 joined channel #puppet
[2011/11/29 11:32:35] <cek> ashp, that's agent output. did you sign the cert from CA node/
[2011/11/29 11:32:44] @ mcarpent joined channel #puppet
[2011/11/29 11:33:12] <ashp> cek: No, it's not generating the request on the CA node because I fucked something up there somehow..
[2011/11/29 11:33:23] <ashp> not a great day :)
[2011/11/29 11:36:51] @ jodok joined channel #puppet
[2011/11/29 11:36:51] @ Quit: jodok: Changing host
[2011/11/29 11:36:51] @ jodok joined channel #puppet
[2011/11/29 11:37:33] @ michaelpjohnson joined channel #puppet
[2011/11/29 11:38:54] @ indigo__ joined channel #puppet
[2011/11/29 11:40:01] <indigo__> is there some known bug in 2.6.2 where facter will sometimes mix facts, like having $::fqdn resolve to "foo.example.com124.84 MB"?
[2011/11/29 11:40:03] @ motomike joined channel #puppet
[2011/11/29 11:40:04] @ Quit: agagag: Ping timeout: 245 seconds
[2011/11/29 11:40:17] @ agagag joined channel #puppet
[2011/11/29 11:40:22] @ nottings joined channel #puppet
[2011/11/29 11:40:28] <indigo__> like maybe because facts are collected concurrently and writes to stdout aren't properly synched maybe?
[2011/11/29 11:42:00] <kjetilho> unlikely
[2011/11/29 11:42:15] <kjetilho> but could it be that your resolv.conf doesn't end with a newline?
[2011/11/29 11:42:49] <indigo__> shouldn't be, unless puppet changed that also
[2011/11/29 11:44:07] <kjetilho> oh, this was usage from within Puppet?
[2011/11/29 11:44:28] @ joe-mac joined channel #puppet
[2011/11/29 11:44:38] <kjetilho> then I have no reasonable theory at all
[2011/11/29 11:45:18] <indigo__> yeah, i have an NRPE rule generated by puppet, and after some puppet run, it broke because the email address "root@$::fqdn" in the manifest grew a "128 MB" at the end of it.
[2011/11/29 11:45:26] @ Quit: ali3n0: Quit: Leaving.
[2011/11/29 11:45:32] <indigo__> i ran puppet agent -t and it fixed itself.
[2011/11/29 11:46:11] @ Quit: arnihermann: Max SendQ exceeded
[2011/11/29 11:46:23] @ Quit: dwalu: Quit: dwalu
[2011/11/29 11:46:30] @ Quit: newtMcKerr: Quit: Leaving.
[2011/11/29 11:47:01] <kjetilho> must have been a stray neutrino from the Alps
[2011/11/29 11:47:50] <indigo__> somewhat disturbing :(
[2011/11/29 11:48:21] @ dim0 joined channel #puppet
[2011/11/29 11:48:24] @ Quit: garethr: Max SendQ exceeded
[2011/11/29 11:48:32] @ Quit: lusis: Ping timeout: 248 seconds
[2011/11/29 11:48:39] <indigo__> do you think it's worth a bug report? I don't know how I'd ever reproduce it.
[2011/11/29 11:48:40] @ Quit: patcon: Ping timeout: 244 seconds
[2011/11/29 11:49:01] @ Quit: avandendorpe: Ping timeout: 244 seconds
[2011/11/29 11:49:02] @ Quit: zorzar: Ping timeout: 240 seconds
[2011/11/29 11:49:03] @ astrostl2 joined channel #puppet
[2011/11/29 11:49:25] @ Quit: kesor: Ping timeout: 240 seconds
[2011/11/29 11:49:48] @ Quit: Tribaal: Ping timeout: 260 seconds
[2011/11/29 11:50:10] @ Quit: WALoeIII: Max SendQ exceeded
[2011/11/29 11:50:24] <astrostl2> thoughts on using a packages::virtual class to manage virtual packages, to avoid conflicts?
[2011/11/29 11:50:25] <kjetilho> indigo__: 2.6.2 is way old
[2011/11/29 11:50:29] @ Quit: agagag: Ping timeout: 245 seconds
[2011/11/29 11:50:38] <joe-mac> idk if I would call it 'way old'
[2011/11/29 11:50:44] <joe-mac> I was running it about 6 months ago I think
[2011/11/29 11:51:01] @ Quit: leepa: Ping timeout: 240 seconds
[2011/11/29 11:51:10] <kjetilho> yeah, but there is no reason not to upgrade to latest minor version
[2011/11/29 11:51:24] @ csanchez joined channel #puppet
[2011/11/29 11:51:24] @ Holocaine joined channel #puppet
[2011/11/29 11:51:26] <kjetilho> ie. 2.6.6
[2011/11/29 11:51:57] @ Quit: miche: Quit: Computer has gone to sleep.
[2011/11/29 11:52:37] @ Quit: dim0: Ping timeout: 240 seconds
[2011/11/29 11:52:48] <indigo__> my reason for not upgrading is that it's not in debian stable
[2011/11/29 11:52:51] @ miche joined channel #puppet
[2011/11/29 11:52:57] <indigo__> or laziness
[2011/11/29 11:53:05] <indigo__> but lary wall says it's a virtue!
[2011/11/29 11:54:58] @ Ramonster joined channel #puppet
[2011/11/29 11:55:49] @ dwalu joined channel #puppet
[2011/11/29 11:56:05] @ rubbs joined channel #puppet
[2011/11/29 11:56:08] <rubbs> hi
[2011/11/29 11:56:26] <rsnhyperion> Hey rubbs.
[2011/11/29 11:56:59] <nate_h> ca cawww
[2011/11/29 11:59:20] <joe-mac> indigo__: time for you to learn how to use reprepro I think
[2011/11/29 11:59:27] <joe-mac> the shittiest tool known to man
[2011/11/29 12:00:12] <haus> freight > reprepro
[2011/11/29 12:00:25] @ Quit: ccaum: Quit: ccaum
[2011/11/29 12:01:24] <joe-mac> yea looks nice, my packaging infrastructure already uses reprepro though, not going to change unless I finish every other task I want to complete in life
[2011/11/29 12:01:41] @ Quit: kmafb: Quit: Page closed
[2011/11/29 12:01:59] @ Quit: natewalck: Quit: Outta here
[2011/11/29 12:02:32] @ zorzar joined channel #puppet
[2011/11/29 12:03:12] @ fredden joined channel #puppet
[2011/11/29 12:03:54] @ kesor joined channel #puppet
[2011/11/29 12:04:04] @ agagag joined channel #puppet
[2011/11/29 12:04:17] @ WALoeIII joined channel #puppet
[2011/11/29 12:04:50] @ bmahe joined channel #puppet
[2011/11/29 12:04:58] <haus> for sure
[2011/11/29 12:05:05] @ verwilst joined channel #puppet
[2011/11/29 12:05:57] @ krish joined channel #puppet
[2011/11/29 12:06:01] <krish> hi
[2011/11/29 12:06:13] @ Quit: mcarpent: Ping timeout: 240 seconds
[2011/11/29 12:06:17] <_UsUrPeR_> hey all. I am trying to think my way through a problem, and could use some assistence
[2011/11/29 12:06:20] <krish> how'd i require 2 execs
[2011/11/29 12:06:42] <_UsUrPeR_> I am attempting to use puppet to manage a ltsp image (accessed via chroot) on a puppet agent
[2011/11/29 12:06:47] <joe-mac> require => [ Exec["one"], Exec["two"] ],
[2011/11/29 12:07:09] <_UsUrPeR_> so I am incapable of running puppet agent directly in the chroot (installation of puppet + running environment would cause huge problems for a booting thin client)
[2011/11/29 12:07:19] <_UsUrPeR_> the best way I can figure out how to do this is with chroot commands
[2011/11/29 12:07:21] <joe-mac> there is also another syntax, like Exec["one", "two"] or something but the way I write my code I use the first one, with each requierment on its own line
[2011/11/29 12:07:31] <_UsUrPeR_> which works great!
[2011/11/29 12:08:06] <krish> joe-mac: thks :)
[2011/11/29 12:08:07] <_UsUrPeR_> I am trying to come up with a script that will only be run "when required" and return an affirmative message to puppet pertaining to it's success or failure
[2011/11/29 12:08:20] @ PedroGomes_ joined channel #puppet
[2011/11/29 12:08:24] <_UsUrPeR_> does puppet have any exit handlers or error support for bash?
[2011/11/29 12:08:48] <joe-mac> yea the exec resource fails if the command fails
[2011/11/29 12:08:52] @ Quit: Holocaine:
[2011/11/29 12:08:55] @ Samane joined channel #puppet
[2011/11/29 12:08:58] <Samane> Hello,
[2011/11/29 12:08:58] <Samane> I've found an really interesting game named e-Sim. There you can be a soldier, politic, journalist, or businesman. Furthermore, you can play for your own country!!
[2011/11/29 12:08:58] <Samane> There is my reflink (sorry about that, but if you use my reflink you'll get additional 2 gold):
[2011/11/29 12:08:58] <Samane> http://e-sim.org/lan.25797/
[2011/11/29 12:08:58] <Samane> I want to hear what do you think about this game!
[2011/11/29 12:08:58] <Samane> P.S. It's free
[2011/11/29 12:09:07] @ Quit: Samane: Killed (idoru (Spam is off topic on freenode.))
[2011/11/29 12:09:29] @ leepa joined channel #puppet
[2011/11/29 12:09:38] <_UsUrPeR_> joe-mac: further clarification: say the script would not necessarily fail to run, but the function it was attempting to perform failed, is puppet capable of catching an error?
[2011/11/29 12:09:41] @ ergonlogic joined channel #puppet
[2011/11/29 12:09:41] @ patcon joined channel #puppet
[2011/11/29 12:09:51] @ Quit: PedroGomes_: Client Quit
[2011/11/29 12:10:56] @ Quit: PedroGomes: Ping timeout: 248 seconds
[2011/11/29 12:12:04] <joe-mac> sounds like you need to make your script return non-zero if it's failing
[2011/11/29 12:12:15] <joe-mac> there is no specific insight other than 'it failed'
[2011/11/29 12:12:30] @ lusis joined channel #puppet
[2011/11/29 12:13:50] <_UsUrPeR_> joe-mac: that's fine :) just so long as I understand what I need to exit to.
[2011/11/29 12:14:26] @ Quit: geekbri: Ping timeout: 255 seconds
[2011/11/29 12:14:33] @ Quit: miche: Quit: Computer has gone to sleep.
[2011/11/29 12:15:07] <_UsUrPeR_> ok, I see it now
[2011/11/29 12:15:23] <_UsUrPeR_> "scripts must not have an exit code of '0' for puppet to consider them successful"
[2011/11/29 12:15:29] <_UsUrPeR_> joe-mac, thanks dude
[2011/11/29 12:15:53] @ miche joined channel #puppet
[2011/11/29 12:17:20] @ Quit: ganderson: Ping timeout: 260 seconds
[2011/11/29 12:17:25] @ Quit: alanna: Remote host closed the connection
[2011/11/29 12:17:34] <joe-mac> that should say 'must have'
[2011/11/29 12:17:39] @ Quit: brtl: Quit: Leaving.
[2011/11/29 12:17:41] <joe-mac> 0 == success
[2011/11/29 12:18:46] @ alanna joined channel #puppet
[2011/11/29 12:18:58] <_UsUrPeR_> whoops! Misread
[2011/11/29 12:19:04] <_UsUrPeR_> you are correct. it's "must have"
[2011/11/29 12:19:19] <Evolution> if I define a 'source' for a file, that's where puppet grabs the file if it doesn't exist, right?
[2011/11/29 12:19:39] <joe-mac> that's where puppet grabs the file, regardless of existance or not, to compare against what does exist
[2011/11/29 12:20:34] @ Quit: alanna: Read error: Connection reset by peer
[2011/11/29 12:20:43] @ alanna joined channel #puppet
[2011/11/29 12:20:56] <Evolution> ah, okay. if the url is specified as puppet://my.server.com/files/ what would be the expected path on the puppetmaster file system structure?
[2011/11/29 12:21:08] <Evolution> for rhel/centos style defaults
[2011/11/29 12:21:28] <Evolution> I'm having trouble locating the appropriate bits for this in the doco
[2011/11/29 12:21:59] @ Quit: shortbus-: Read error: Connection reset by peer
[2011/11/29 12:22:16] @ shortbus- joined channel #puppet
[2011/11/29 12:22:18] <joe-mac> depends on your mounts, you should be using modules
[2011/11/29 12:22:50] <joe-mac> I can't really remember too well pre-modular structure, but I think you need a mount in fileserver.conf, and a stanza in auth.conf, and you'll need the files directory off of /etc/puppet
[2011/11/29 12:23:23] <Evolution> yeah. I'd like to move to using modules... but there's limited doco for getting started.
[2011/11/29 12:23:44] <Evolution> ah, I do have a fileserver.conf, /var/lib/puppet/files
[2011/11/29 12:23:46] <Evolution> awesome.
[2011/11/29 12:24:47] @ ckauhaus joined channel #puppet
[2011/11/29 12:26:28] @ ccaum joined channel #puppet
[2011/11/29 12:28:15] @ Quit: Kiall: Ping timeout: 252 seconds
[2011/11/29 12:29:00] @ thisKat joined channel #puppet
[2011/11/29 12:29:08] @ dylants joined channel #puppet
[2011/11/29 12:30:49] @ Quit: cek: Ping timeout: 258 seconds
[2011/11/29 12:31:10] @ Djelibeybi joined channel #puppet
[2011/11/29 12:31:49] @ bluethundr joined channel #puppet
[2011/11/29 12:32:17] <bluethundr> how can I use facter to determine which username someone is logged in with?
[2011/11/29 12:33:27] @ Kiall joined channel #puppet
[2011/11/29 12:33:30] <nahamu> facter id
[2011/11/29 12:33:39] <nahamu> bluethundr: is that what you wanted?
[2011/11/29 12:34:02] <bluethundr> nahamu: yes thank you
[2011/11/29 12:36:21] @ Quit: Djelibeybi: Read error: No route to host
[2011/11/29 12:38:23] @ Djelibeybi joined channel #puppet
[2011/11/29 12:39:29] @ m3ridian joined channel #puppet
[2011/11/29 12:44:17] @ sihil joined channel #puppet
[2011/11/29 12:45:58] @ cek joined channel #puppet
[2011/11/29 12:46:14] @ Quit: shawns: Ping timeout: 241 seconds
[2011/11/29 12:46:26] @ Quit: cek: Client Quit
[2011/11/29 12:46:43] @ Quit: sihil: Client Quit
[2011/11/29 12:47:37] @ Quit: bmahe: Quit: Leaving
[2011/11/29 12:50:43] @ bmahe joined channel #puppet
[2011/11/29 12:50:43] @ Quit: bmahe: Changing host
[2011/11/29 12:50:43] @ bmahe joined channel #puppet
[2011/11/29 12:52:41] @ bookpage joined channel #puppet
[2011/11/29 12:55:38] @ KristianDK_ joined channel #puppet
[2011/11/29 12:55:38] @ Quit: KristianDK_: Client Quit
[2011/11/29 12:56:47] @ Quit: bluethundr: Remote host closed the connection
[2011/11/29 12:57:39] @ Quit: m3ridian: Ping timeout: 258 seconds
[2011/11/29 12:58:04] @ shawns joined channel #puppet
[2011/11/29 12:59:03] @ Quit: KristianDK: Ping timeout: 252 seconds
[2011/11/29 12:59:33] @ ganderson joined channel #puppet
[2011/11/29 13:00:31] @ m3ridian joined channel #puppet
[2011/11/29 13:01:12] @ metcalfc joined channel #puppet
[2011/11/29 13:02:32] @ Quit: alanna: Remote host closed the connection
[2011/11/29 13:02:34] @ Quit: miche: Quit: Computer has gone to sleep.
[2011/11/29 13:03:06] @ alanna joined channel #puppet
[2011/11/29 13:03:22] @ Quit: thisKat: Quit: Computer has gone to sleep.
[2011/11/29 13:03:51] @ Quit: aherzog: Quit: aherzog
[2011/11/29 13:04:02] @ Quit: alfism: Quit: alfism
[2011/11/29 13:04:09] @ raphdg joined channel #puppet
[2011/11/29 13:04:21] @ Quit: alanna: Read error: Connection reset by peer
[2011/11/29 13:04:25] @ alanna_ joined channel #puppet
[2011/11/29 13:06:50] @ newtMcKerr joined channel #puppet
[2011/11/29 13:07:04] <indigo__> is there a way to pass a parameter to a template, other than by assigning a variable? For example, if I wanted to use the same template twice in the same namespace.
[2011/11/29 13:07:30] @ miche joined channel #puppet
[2011/11/29 13:10:19] @ erthad left channel #puppet ()
[2011/11/29 13:12:38] @ KristianDK joined channel #puppet
[2011/11/29 13:13:54] @ djm68 joined channel #puppet
[2011/11/29 13:14:26] <Evolution> is there a simplistic tutorial for setting up a puppetmaster instance with modules?
[2011/11/29 13:14:33] @ Quit: newtMcKerr: Quit: Leaving.
[2011/11/29 13:16:19] @ Quit: motomike: Remote host closed the connection
[2011/11/29 13:17:08] @ jab_doa joined channel #puppet
[2011/11/29 13:17:08] @ Quit: jab_doa: Changing host
[2011/11/29 13:17:09] @ jab_doa joined channel #puppet
[2011/11/29 13:17:42] @ motomike joined channel #puppet
[2011/11/29 13:18:21] <kjetilho> indigo__: template accepts several paths
[2011/11/29 13:18:39] <kjetilho> but it is quite hackish to exploit it for this purpose
[2011/11/29 13:19:00] <kjetilho> e.g. a file which contains <% actualvar = var_a -%>
[2011/11/29 13:19:07] <indigo__> that is hackish.
[2011/11/29 13:19:12] <indigo__> maybe i won't do that.
[2011/11/29 13:19:12] <kjetilho> and one which contains <% actualvar = var_b -%>
[2011/11/29 13:19:15] <kjetilho> hehe
[2011/11/29 13:19:29] <indigo__> maybe i'll have one script which examines $0 to change its behavior.
[2011/11/29 13:19:34] <indigo__> and, symlinks.
[2011/11/29 13:19:47] <kjetilho> :-(
[2011/11/29 13:19:51] <kjetilho> I like those things!
[2011/11/29 13:20:04] <indigo__> then why are you frowning?
[2011/11/29 13:20:15] <kjetilho> because I have a working irony detector
[2011/11/29 13:20:16] @ Quit: ryancoleman: Ping timeout: 258 seconds
[2011/11/29 13:20:16] <kjetilho> I think
[2011/11/29 13:20:24] @ Quit: ckauhaus: Quit: Leaving.
[2011/11/29 13:20:24] @ brtl joined channel #puppet
[2011/11/29 13:20:28] <indigo__> irony doesn't work on irc
[2011/11/29 13:20:52] <indigo__> it's a really dumb script. Are you familar with run-parts?
[2011/11/29 13:20:55] <kjetilho> sure. ask the British
[2011/11/29 13:21:09] <indigo__> run-parts isn't british. It's a debian utility.
[2011/11/29 13:21:11] <kjetilho> run-parts is a really dumb script
[2011/11/29 13:21:18] @ PedroGomes joined channel #puppet
[2011/11/29 13:21:18] <indigo__> it's an ELF executable on my system
[2011/11/29 13:21:24] <kjetilho> even worse
[2011/11/29 13:21:28] <indigo__> anyhow, i need that functionality on OS X.
[2011/11/29 13:21:30] @ Quit: m3ridian: Ping timeout: 244 seconds
[2011/11/29 13:21:56] @ Quit: jaytaph: Ping timeout: 255 seconds
[2011/11/29 13:22:23] <kjetilho> the main thing it does is really to ignore a list of known extensions
[2011/11/29 13:22:39] <kjetilho> but I prefer to use an explicit extension for what *should* run
[2011/11/29 13:22:56] <indigo__> in this case, the explicit extension is no extension
[2011/11/29 13:23:00] <indigo__> because extensions are for windows
[2011/11/29 13:23:11] <kjetilho> so no periods are allowed in the filename?
[2011/11/29 13:23:24] <indigo__> anyhow, i need two executables, one that does what run-parts does, but in different directories.
[2011/11/29 13:23:56] <indigo__> i mean, two that does what run-parts does, but in different directories
[2011/11/29 13:24:20] <kjetilho> the directory should be $1, like in run-parts ?
[2011/11/29 13:24:37] <indigo__> no, i'd rather not have these scripts take any parameters that can be wrong
[2011/11/29 13:24:59] @ tilgovi joined channel #puppet
[2011/11/29 13:24:59] @ Quit: tilgovi: Changing host
[2011/11/29 13:24:59] @ tilgovi joined channel #puppet
[2011/11/29 13:25:16] @ Quit: larstobi: Read error: Connection reset by peer
[2011/11/29 13:25:17] @ larstobi1 joined channel #puppet
[2011/11/29 13:25:19] <indigo__> so, there are two scripts, one for each directory. If I had only debian, they'd be trivial scripts that just run "run-parts /directory1" and the other is "run-parts /directory2"
[2011/11/29 13:25:22] <gniks> just use one script and cd to the directory you're wanting it to work from and have pwd from within the script set it
[2011/11/29 13:25:29] <gniks> so just one script
[2011/11/29 13:25:37] <gniks> in a bin directory somewhere :p
[2011/11/29 13:25:51] <indigo__> then i need two scripts to change the cwd
[2011/11/29 13:25:54] <kjetilho> indigo__: generally, I like to wrap stuff like that in a define, though
[2011/11/29 13:25:56] <indigo__> so now i have three scripts.
[2011/11/29 13:26:12] <gniks> depends on how you're calling it
[2011/11/29 13:26:19] @ Quit: nitram_macair: Quit: nitram_macair
[2011/11/29 13:26:23] <gniks> you could just sanitize the user input like a good coder
[2011/11/29 13:26:25] <indigo__> i can't control the cwd from the thing that calls it.
[2011/11/29 13:26:39] <indigo__> all i can do is run a program, with no arguments.
[2011/11/29 13:26:50] <indigo__> or maybe i could pass arguments but i don't trust people to get it right.
[2011/11/29 13:27:13] <gniks> sanitize ftw
[2011/11/29 13:27:14] <kjetilho> define run_parts_script($dir) { file { $name: content => template('foo.erb') } }
[2011/11/29 13:27:35] <indigo__> ah, i see
[2011/11/29 13:27:37] <indigo__> maybe that's not so bad.
[2011/11/29 13:27:50] @ nitram_macair joined channel #puppet
[2011/11/29 13:28:37] @ Quit: DJClean: Ping timeout: 240 seconds
[2011/11/29 13:28:59] @ tholl583xx is now known as tolland
[2011/11/29 13:30:00] @ DJClean joined channel #puppet
[2011/11/29 13:31:19] @ Quit: negronjl: Ping timeout: 244 seconds
[2011/11/29 13:31:39] @ Quit: michaelpjohnson: Quit: Leaving
[2011/11/29 13:32:00] @ Quit: brtl: Ping timeout: 248 seconds
[2011/11/29 13:34:20] @ Quit: krish: Ping timeout: 260 seconds
[2011/11/29 13:36:24] @ jsurfer_ joined channel #puppet
[2011/11/29 13:37:51] @ jsurfer__ joined channel #puppet
[2011/11/29 13:38:00] @ Quit: jsurfer_: Read error: Connection reset by peer
[2011/11/29 13:38:56] @ Quit: jsurfer: Ping timeout: 260 seconds
[2011/11/29 13:38:56] @ jsurfer__ is now known as jsurfer
[2011/11/29 13:38:58] @ negronjl joined channel #puppet
[2011/11/29 13:39:43] @ Holocaine joined channel #puppet
[2011/11/29 13:40:44] @ brtl joined channel #puppet
[2011/11/29 13:41:23] @ Quit: larstobi1: Quit: Leaving.
[2011/11/29 13:41:53] <motomike> so puppet + ruby-1.8.7 patchlevel 0 … seems to have some issues, eh?
[2011/11/29 13:42:18] @ NightMonkey joined channel #puppet
[2011/11/29 13:42:33] <skippy> using a recursive directory declaration to push lots of scripts to a client _also_ pushes all the .svn files for those scripts if I check the director into our SVN repo. :(
[2011/11/29 13:43:06] <Volcane> skippy: easily fixed by reading the docs :)
[2011/11/29 13:43:22] @ nitram_macair_ joined channel #puppet
[2011/11/29 13:43:26] <NightMonkey> Hiya, good puppeteers. If not explicitly declared via "inherits", is a "node all" inherited by all other nodes?
[2011/11/29 13:43:58] <skippy> Volcane: easily fixed when you intimately understand the docs. I do not yet intimately understand them.
[2011/11/29 13:44:01] <NightMonkey> (Puppet 2.6.12 on both client and server)
[2011/11/29 13:44:18] @ Quit: nitram_macair_: Read error: Connection reset by peer
[2011/11/29 13:44:27] @ nitram_macair_ joined channel #puppet
[2011/11/29 13:44:46] <Volcane> skippy: there's an exclude option to file
[2011/11/29 13:44:57] <motomike> does anybody know what particular patchlevel of ruby-1.8.7 fixes the "wrong number of arguments (2 for 1)" issue in puppet-2.6.7?
[2011/11/29 13:45:08] <Volcane> skippy: its in the type reference doc
[2011/11/29 13:45:16] <skippy> Volcane: looking.
[2011/11/29 13:45:36] <skippy> Volcane: ignore, not exclude
[2011/11/29 13:45:53] @ SQLDarkly joined channel #puppet
[2011/11/29 13:45:55] <Volcane> kewl
[2011/11/29 13:45:57] @ Quit: nitram_macair: Ping timeout: 258 seconds
[2011/11/29 13:45:57] @ nitram_macair_ is now known as nitram_macair
[2011/11/29 13:46:07] <NightMonkey> Or do I have to explicitly "exclude" a node "all" somehow?
[2011/11/29 13:46:18] @ Quit: wooster: Ping timeout: 244 seconds
[2011/11/29 13:46:25] <skippy> thanks, Volcane. that's what i needed.
[2011/11/29 13:47:07] <SQLDarkly> Im testing puppet with AIX on 5.3 and 6.1, but they both have the same issue. Im running ruby 1.8.7 puppet 2.7.6. Most things work as expected save a few things like diff, and lsuser on the aix provider.
[2011/11/29 13:47:19] <SQLDarkly> error is : wrong number of arguments (2 for 1) after the cmd has been executed.
[2011/11/29 13:47:24] <SQLDarkly> run the cmd on the CLI. works as expected.
[2011/11/29 13:47:40] <SQLDarkly> ive backtraced to util.rb argument validation. Im not certain the issue lies there.
[2011/11/29 13:48:47] <SQLDarkly> Any idea what can cause the wrong number of arguments?
[2011/11/29 13:49:29] <Volcane> is that the full error? anything more if you add --trace ?
[2011/11/29 13:50:00] @ Quit: brtl: Ping timeout: 252 seconds
[2011/11/29 13:50:12] <SQLDarkly> Unfrotunately not. Ive also added -d to the puppet script, and have started to add backtrace to lines that I personally believe to be invovled.
[2011/11/29 13:50:52] @ brtl joined channel #puppet
[2011/11/29 13:51:11] <SQLDarkly> This issue was solved for me in RHEL 5.6 by changing the stderr and stdout null files in util.rb to call "/dev/null" directly. The error was suppressed naturally, and went forward.
[2011/11/29 13:51:18] <SQLDarkly> You do the same to the newest 2.7.6.
[2011/11/29 13:51:21] <SQLDarkly> it exits out right
[2011/11/29 13:51:37] <asteve> 2.6.4 - what is the puppet.conf syntax for defining the master server and runinvertal?
[2011/11/29 13:51:41] <SQLDarkly> RHEL was running 2.6.7
[2011/11/29 13:52:15] @ hooper joined channel #puppet
[2011/11/29 13:52:43] <Volcane> SQLDarkly: probably need to file a bug :(
[2011/11/29 13:53:39] <SQLDarkly> It happens my friend :) Thought id ask before filing as not to look like a moron ha.
[2011/11/29 13:54:17] <SQLDarkly> Going to see if I can keep hackin away at it in the mean time, and save the devs some time.
[2011/11/29 13:54:22] <SQLDarkly> Thanks anyhow.
[2011/11/29 13:55:10] <Volcane> any idea what line in util.rb?
[2011/11/29 13:55:24] @ wooster joined channel #puppet
[2011/11/29 13:57:12] @ skm joined channel #puppet
[2011/11/29 13:58:08] <SQLDarkly> Volcane: Line 380 is whats called. Also some sample output: http://pastebin.com/xUfYbQag
[2011/11/29 13:58:32] <SQLDarkly> Argument number is correct, so I think somewhere in the validation in util.rb is the issue.
[2011/11/29 14:00:11] @ Quit: brtl: Ping timeout: 255 seconds
[2011/11/29 14:00:26] <Volcane> SQLDarkly: nasty
[2011/11/29 14:01:01] <SQLDarkly> lol isnt it :) Its been my friend for a couple weeks, but ive been too stubborn to ask for help thus far.
[2011/11/29 14:01:18] @ Quit: PedroGomes: Quit: PedroGomes
[2011/11/29 14:01:49] @ skippy left channel #puppet ()
[2011/11/29 14:02:37] @ Quit: jbel: Ping timeout: 240 seconds
[2011/11/29 14:02:53] @ jbel joined channel #puppet
[2011/11/29 14:04:02] @ Quit: brandon_dacrib: Remote host closed the connection
[2011/11/29 14:04:13] @ ryancoleman joined channel #puppet
[2011/11/29 14:04:51] <Volcane> ok
[2011/11/29 14:04:56] <Volcane> so line 366
[2011/11/29 14:05:17] @ Quit: indigo__: Quit: leaving
[2011/11/29 14:05:31] @ ezmobius joined channel #puppet
[2011/11/29 14:05:49] <Volcane> nah that should be fine even
[2011/11/29 14:06:17] @ Shanlar_ joined channel #puppet
[2011/11/29 14:06:27] <SQLDarkly> failonfail is ONLY checking the exit status of the given cmd
[2011/11/29 14:06:36] <Volcane> but the error probably comes from line 323
[2011/11/29 14:06:53] <SQLDarkly> the exit status its reporting is 1, but when ran ont eh CLI followed by echo $? its 0. hmmmmm
[2011/11/29 14:07:38] @ iw_work joined channel #puppet
[2011/11/29 14:08:06] <Volcane> SQLDarkly: below 'puts detail.to_s'
[2011/11/29 14:08:26] <Volcane> on line 323: p detail.backtrace
[2011/11/29 14:08:32] <Volcane> see if it gives more noise now
[2011/11/29 14:09:27] @ Quit: Shanlar-: Ping timeout: 252 seconds
[2011/11/29 14:09:43] @ brtl joined channel #puppet
[2011/11/29 14:10:08] @ Quit: williemach: Quit: Leaving.
[2011/11/29 14:12:01] <kenperkins> so lets assume for a moment we use puppet to ship everything to production
[2011/11/29 14:12:25] <kenperkins> short of having everyone be experts in puppet, whats the best way to diagnose problems when a puppet run has issues
[2011/11/29 14:12:33] @ newtMcKerr joined channel #puppet
[2011/11/29 14:14:23] <SQLDarkly> kenperkins: Take a look, its in a book. Reading rainbow......... hmmmmm the other SAs here ive just been training in puppet. A good scripter should be able to grasp it pretty quick and a good SA(shouldbe both) should be able to diagnose PKI or have the foresight to come here with research in hand :)
[2011/11/29 14:15:47] @ Quit: lak: Quit: Leaving.
[2011/11/29 14:15:49] @ Quit: Asako: Quit: Client exiting
[2011/11/29 14:15:49] <SQLDarkly> Pro Puppet is a good book for generality, but common issues will be easily solved with logs and/or google. Other issues coming from result of failed runs is usually a module error in which case, roll on back in your version control, and fix the issue in the module.
[2011/11/29 14:16:03] @ Quit: Shanlar_: Ping timeout: 252 seconds
[2011/11/29 14:16:14] @ PedroGomes joined channel #puppet
[2011/11/29 14:16:53] @ mosen joined channel #puppet
[2011/11/29 14:17:09] <SQLDarkly> Volcane: no more added info was spat out at me. Freakin exit code is 0 , but puppet sees it as a 1. Perhaps I need to breathe as I feel an ulcer forming in my gut lol.
[2011/11/29 14:17:17] <ashp> weird question but
[2011/11/29 14:17:23] <ashp> has anyone used mcollective for good patch management
[2011/11/29 14:17:28] <ashp> i especialllly want to hear from volcane
[2011/11/29 14:17:30] @ jaytaph joined channel #puppet
[2011/11/29 14:17:49] @ Quit: ntdt: Ping timeout: 240 seconds
[2011/11/29 14:17:55] <ashp> we're not going to have rhn access or something so we're trying to come up with a way to 1: get reports on what packages are out there 2/ find out what rpms on a system need updating 3/ selectively push updates
[2011/11/29 14:18:01] <ashp> so my first thought was a custom mcollective plugin
[2011/11/29 14:18:14] <Volcane> SQLDarkly: lame, no idea where to look then
[2011/11/29 14:19:02] <SQLDarkly> Volcane: not a problem brother. I appreciate the help anyways. Ill report back here with findings if I get further. I want a little ammunition for puppetlabs before I just file a bug and start wishing in one hand.
[2011/11/29 14:19:03] @ Kazuhiro1 joined channel #puppet
[2011/11/29 14:19:59] @ Quit: newtMcKerr: Quit: Leaving.
[2011/11/29 14:20:50] <matchaw_> Hi, when creating new functions which create files, and your using puppet to manage the directory, i.e purge non managed files how do you make the function create a resource for the file?
[2011/11/29 14:21:27] @ Quit: csanchez: Quit: csanchez
[2011/11/29 14:22:05] @ ezmob joined channel #puppet
[2011/11/29 14:23:48] @ Quit: skm: Quit: Leaving...
[2011/11/29 14:24:32] @ Quit: ezmobius: Ping timeout: 244 seconds
[2011/11/29 14:24:33] @ Quit: gniks: Ping timeout: 244 seconds
[2011/11/29 14:24:48] @ Quit: nitram_macair: Quit: nitram_macair
[2011/11/29 14:25:11] @ ezmob is now known as ezmobius
[2011/11/29 14:26:24] @ Boltsky joined channel #puppet
[2011/11/29 14:27:03] @ scsinutz joined channel #puppet
[2011/11/29 14:27:03] @ Quit: ccaum: Ping timeout: 260 seconds
[2011/11/29 14:27:11] @ scsinutz left channel #puppet ()
[2011/11/29 14:27:17] @ Quit: verwilst: Quit: Ex-Chat
[2011/11/29 14:27:40] @ joshcooper joined channel #puppet
[2011/11/29 14:29:12] @ Kazuhiro1 left channel #puppet ()
[2011/11/29 14:31:37] @ Quit: labrown: Quit: Leaving
[2011/11/29 14:32:23] <nated> can I redeclare and overwrite a resoruce def. in a inheritied class?
[2011/11/29 14:33:11] @ Quit: ldlework: Ping timeout: 260 seconds
[2011/11/29 14:33:18] <nated> like foo::client sets service { foo: ensure => started}, and foo:server wants to set service { foo: ensure => false}
[2011/11/29 14:34:22] @ Quit: Djelibeybi: Quit: Textual IRC Client: http://www.textualapp.com/
[2011/11/29 14:34:32] @ Djelibeybi joined channel #puppet
[2011/11/29 14:35:12] @ mcarpent joined channel #puppet
[2011/11/29 14:35:21] @ tblamer joined channel #puppet
[2011/11/29 14:37:11] @ Quit: ehebert: Remote host closed the connection
[2011/11/29 14:37:16] @ Quit: blentz: Ping timeout: 260 seconds
[2011/11/29 14:39:50] @ Quit: Djelibeybi: Read error: Connection reset by peer
[2011/11/29 14:41:38] @ Razique joined channel #puppet
[2011/11/29 14:42:00] @ Djelibeybi joined channel #puppet
[2011/11/29 14:43:18] @ Quit: iw_work: Remote host closed the connection
[2011/11/29 14:44:23] <Dominic> nated: yes, but the override syntax is a little different. see http://docs.puppetlabs.com/guides/language_guide.html#classes for an example
[2011/11/29 14:45:36] @ Quit: joe-mac: Ping timeout: 248 seconds
[2011/11/29 14:45:43] @ Quit: mcarpent: Read error: Operation timed out
[2011/11/29 14:46:03] @ Quit: Razique: Client Quit
[2011/11/29 14:46:29] @ Quit: Ramonster: Ping timeout: 244 seconds
[2011/11/29 14:46:47] @ Quit: alop: Quit: alop
[2011/11/29 14:47:35] <mrwacky42> ashp: check out fedora pulp or http://katello.org/
[2011/11/29 14:47:40] @ Ramonster joined channel #puppet
[2011/11/29 14:47:45] @ Quit: jsurfer: Quit: jsurfer
[2011/11/29 14:48:09] @ ccaum joined channel #puppet
[2011/11/29 14:48:16] @ Quit: raphdg: Ping timeout: 248 seconds
[2011/11/29 14:48:23] @ emergion joined channel #puppet
[2011/11/29 14:48:26] @ Quit: justin_donaldson: Quit: Leaving.
[2011/11/29 14:50:04] <ashp> mrwacky42: I've heard katello isn't quite ready yet but is close
[2011/11/29 14:50:18] <mrwacky42> heh, probably not ;)
[2011/11/29 14:52:32] @ Quit: p3rror: Ping timeout: 248 seconds
[2011/11/29 14:52:55] @ hobbeswalsh joined channel #puppet
[2011/11/29 14:53:23] @ jsurfer joined channel #puppet
[2011/11/29 14:53:34] @ Quit: rutger_: Remote host closed the connection
[2011/11/29 14:55:36] <nate_h> ugg, i hate function calls without () around them
[2011/11/29 14:56:21] @ Quit: asteve: Quit: asteve
[2011/11/29 14:56:35] @ Quit: jaytaph: Quit: jaytaph
[2011/11/29 14:58:30] <nated> Dominic: thanks, I forgot about that. I ended up just refactoring these classes to be less moronic and hey lookit, reusable code to boot!
[2011/11/29 14:58:48] <matchaw_> How can you create a new provider/type to create a file which doesn't get removed when puppet is managing the directory?
[2011/11/29 14:59:47] @ Quit: motomike: Quit: Leaving.
[2011/11/29 15:01:27] @ gniks joined channel #puppet
[2011/11/29 15:01:29] @ Quit: kermit: Quit: Leaving.
[2011/11/29 15:01:43] @ kermit joined channel #puppet
[2011/11/29 15:02:21] <nate_h> matchaw_, put the files in the puppet managed part?
[2011/11/29 15:02:59] <matchaw_> no, I mean if I create a new type/provider it is creating a file within a directory puppet is managing and puppet then removes it..
[2011/11/29 15:03:31] <nate_h> ya, i'm saying don't do that :P
[2011/11/29 15:03:45] <nate_h> why don't you put that file in the section you are managing the directory from
[2011/11/29 15:03:52] <nate_h> or don't manage that dir with puppet
[2011/11/29 15:04:23] @ skm joined channel #puppet
[2011/11/29 15:04:33] @ p3rror joined channel #puppet
[2011/11/29 15:06:31] @ Quit: sduchesneau: Remote host closed the connection
[2011/11/29 15:06:50] @ Kazuhiro joined channel #puppet
[2011/11/29 15:08:25] <ashp> hahaha damn my boss, he's like "an mcollective plugin? sounds great, by friday?"
[2011/11/29 15:08:34] <ashp> as volcane knows my chances of producing code that does anything by friday are 0% :D
[2011/11/29 15:09:29] @ Quit: saysjonathan: Ping timeout: 255 seconds
[2011/11/29 15:10:13] @ Quit: brtl: Ping timeout: 240 seconds
[2011/11/29 15:12:04] @ steki-BLAH joined channel #puppet
[2011/11/29 15:12:05] @ Quit: steki-BLAH: Changing host
[2011/11/29 15:12:05] @ steki-BLAH joined channel #puppet
[2011/11/29 15:13:16] @ brtl joined channel #puppet
[2011/11/29 15:13:58] @ Quit: BManojlovic: Disconnected by services
[2011/11/29 15:14:03] @ steki-BLAH is now known as BManojlovic
[2011/11/29 15:14:14] @ bluemustard joined channel #puppet
[2011/11/29 15:15:35] @ motomike joined channel #puppet
[2011/11/29 15:16:23] @ Quit: Stenbryggen: Quit: Leaving.
[2011/11/29 15:16:39] @ Quit: dylants: Ping timeout: 240 seconds
[2011/11/29 15:17:53] @ Quit: jab_doa: Quit: Verlassend
[2011/11/29 15:18:02] @ Quit: brtl: Client Quit
[2011/11/29 15:18:41] @ Quit: motomike: Client Quit
[2011/11/29 15:21:07] @ ali3n0 joined channel #puppet
[2011/11/29 15:21:38] @ motomike joined channel #puppet
[2011/11/29 15:23:22] @ blentz joined channel #puppet
[2011/11/29 15:23:31] @ dylants joined channel #puppet
[2011/11/29 15:24:19] @ Quit: Djelibeybi: Read error: Connection reset by peer
[2011/11/29 15:25:04] @ Djelibeybi joined channel #puppet
[2011/11/29 15:25:53] @ Quit: anveo: Quit: Bye bye
[2011/11/29 15:26:33] @ Quit: skm: Quit: Leaving...
[2011/11/29 15:26:55] @ Quit: Chris64: Quit: bye
[2011/11/29 15:27:40] @ skm joined channel #puppet
[2011/11/29 15:31:29] @ Quit: ccaum: Quit: ccaum
[2011/11/29 15:31:42] @ Quit: kenperkins: Quit: Textual IRC Client: http://www.textualapp.com/
[2011/11/29 15:32:53] @ Quit: kaptk2: Quit: Leaving.
[2011/11/29 15:33:23] @ bluethundr_ joined channel #puppet
[2011/11/29 15:33:42] @ Quit: KristianDK: Quit: KristianDK
[2011/11/29 15:34:15] @ Quit: davewongillies: Ping timeout: 244 seconds
[2011/11/29 15:34:54] <bluethundr_> hello #puppet I am trying to use a template file to create an motd file but for some reason the variables are not interpreted.. http://pastie.org/2941439
[2011/11/29 15:35:01] @ Quit: bobbyz: Read error: Operation timed out
[2011/11/29 15:35:10] <bluethundr_> I was hoping someone could offer an opinion as to what is not working here
[2011/11/29 15:36:30] @ Quit: ali3n0: Quit: Leaving.
[2011/11/29 15:36:34] <SQLDarkly> bluethundr_: Use <%= scope.lookupvar('foobar') %>.
[2011/11/29 15:37:01] <bluethundr_> ok thanks I'll try that
[2011/11/29 15:37:21] <bd> bluethundr_: instead of source => use content => template("motd.erb")
[2011/11/29 15:37:50] <bluethundr_> ty
[2011/11/29 15:37:52] @ dylants left channel #puppet ()
[2011/11/29 15:40:10] <bluethundr_> bd: that did it ty very much
[2011/11/29 15:42:27] @ Quit: SQLDarkly: Quit: Page closed
[2011/11/29 15:42:34] @ Quit: mrwacky42: Ping timeout: 244 seconds
[2011/11/29 15:43:08] @ kenperkins joined channel #puppet
[2011/11/29 15:43:45] @ Quit: anrxc: Quit: Someone else stole your IP address, call the Internet detectives!
[2011/11/29 15:45:07] @ anrxc joined channel #puppet
[2011/11/29 15:45:54] @ Quit: kermit: Quit: Leaving.
[2011/11/29 15:46:19] @ kermit joined channel #puppet
[2011/11/29 15:47:51] @ davewongillies joined channel #puppet
[2011/11/29 15:50:21] <bluemustard> I am trying to setup a cloud provisioner node on an EC2 instance that is not my puppet master. I have been following the steps outlined here http://docs.puppetlabs.com/guides/cloud_pack_getting_started.html
[2011/11/29 15:50:21] @ jimi_c joined channel #puppet
[2011/11/29 15:51:00] @ Quit: jodok: Quit: jodok
[2011/11/29 15:51:27] <bluemustard> when I try to bootstrap a node it fails to remotely sign the certificate, here is the error https://gist.github.com/1407203
[2011/11/29 15:52:40] <bluemustard> I think it has to do with the auth.conf on the puppet master, I can find the certs remotely
[2011/11/29 15:53:37] @ bobbyz joined channel #puppet
[2011/11/29 15:54:40] @ Quit: gniks: Quit: Leaving.
[2011/11/29 15:54:48] @ Quit: PedroGomes: Quit: PedroGomes
[2011/11/29 15:55:00] @ Quit: NuclearLucifer: Read error: Operation timed out
[2011/11/29 15:56:20] @ dbgster joined channel #puppet
[2011/11/29 15:56:47] @ Quit: rsnhyperion: Quit: rsnhyperion
[2011/11/29 15:58:15] @ justin_donaldson joined channel #puppet
[2011/11/29 15:59:21] <matchaw_> Any one know how to create a new file resource in a custom type/provider which wont get deleted when the directory is set to purge?
[2011/11/29 16:00:11] @ Quit: spiette: Quit: Leaving
[2011/11/29 16:03:02] @ Quit: seanh-ansca: Ping timeout: 255 seconds
[2011/11/29 16:04:13] @ Quit: viq: Ping timeout: 240 seconds
[2011/11/29 16:05:17] @ Quit: dan__t: Ping timeout: 244 seconds
[2011/11/29 16:05:58] @ Quit: astrostl2:
[2011/11/29 16:10:10] @ Quit: zwi: Quit: Leaving.
[2011/11/29 16:13:20] @ Shanlar joined channel #puppet
[2011/11/29 16:14:28] @ Quit: ghg: Ping timeout: 252 seconds
[2011/11/29 16:15:00] @ nitram_macair joined channel #puppet
[2011/11/29 16:15:24] <Hunner> bluemustard: Did you find a solution? :)
[2011/11/29 16:16:57] <bluemustard> I think I did, just verifying my solution
[2011/11/29 16:17:00] @ Quit: DJClean: Read error: Operation timed out
[2011/11/29 16:18:56] @ nitram_macair_ joined channel #puppet
[2011/11/29 16:19:51] <bluemustard> Hunner: here is my new auth.conf for the puppet master https://gist.github.com/1407307
[2011/11/29 16:20:28] @ Quit: tblamer: Quit: Going offline, see ya! (www.adiirc.com)
[2011/11/29 16:21:23] @ Quit: nitram_macair: Ping timeout: 260 seconds
[2011/11/29 16:21:23] @ nitram_macair_ is now known as nitram_macair
[2011/11/29 16:21:40] <bluemustard> I am working to lock it down as the /certificate_status is setup to allow * right now
[2011/11/29 16:21:49] @ Quit: apollo13: Ping timeout: 240 seconds
[2011/11/29 16:23:52] @ Quit: dbgster: Quit: dbgster
[2011/11/29 16:24:18] @ apollo13 joined channel #puppet
[2011/11/29 16:26:07] @ Quit: cmoates: Ping timeout: 244 seconds
[2011/11/29 16:26:28] @ Quit: sumsuch: Quit: sumsuch
[2011/11/29 16:27:40] @ sumsuch joined channel #puppet
[2011/11/29 16:27:47] @ frostynova joined channel #puppet
[2011/11/29 16:28:35] @ Quit: justin_donaldson: Quit: Leaving.
[2011/11/29 16:30:03] @ aherzog joined channel #puppet
[2011/11/29 16:31:23] @ Quit: jsurfer: Ping timeout: 255 seconds
[2011/11/29 16:34:35] @ Quit: Boltsky: Quit: Textual IRC Client: http://www.textualapp.com/
[2011/11/29 16:35:08] @ schewara joined channel #puppet
[2011/11/29 16:40:56] @ Quit: kermit: Ping timeout: 244 seconds
[2011/11/29 16:41:47] @ Quit: aherzog: Quit: aherzog
[2011/11/29 16:42:47] @ kermit joined channel #puppet
[2011/11/29 16:45:05] @ Quit: nitram_macair: Quit: nitram_macair
[2011/11/29 16:47:42] @ Quit: djm68: Quit: leaving
[2011/11/29 16:47:44] @ joe-mac joined channel #puppet
[2011/11/29 16:48:06] @ Quit: sumsuch: Quit: sumsuch
[2011/11/29 16:52:00] @ Quit: Ramonster: Quit: So Long and thanks for all the fish
[2011/11/29 16:54:11] @ Quit: neonflux: Quit: Leaving.
[2011/11/29 16:55:44] @ gniks joined channel #puppet
[2011/11/29 16:57:07] @ Quit: marrusl: Quit: Ex-Chat
[2011/11/29 16:57:39] @ Quit: rocketeer: Ping timeout: 265 seconds
[2011/11/29 16:58:01] @ jbarnett joined channel #puppet
[2011/11/29 16:58:09] @ Quit: hooper: Ping timeout: 244 seconds
[2011/11/29 16:58:18] @ Quit: jbarnett: Client Quit
[2011/11/29 16:59:10] @ jbarnett joined channel #puppet
[2011/11/29 16:59:28] <jbarnett> Anybody know a method of troubleshooting reporting?
[2011/11/29 16:59:53] <jbarnett> All of my nodes quit reporting on Nov 22nd for no apparent reason.
[2011/11/29 17:00:03] @ seanh-ansca joined channel #puppet
[2011/11/29 17:01:03] <Hunner> jbarnett: `puppet agent --configprint report` says true?
[2011/11/29 17:01:14] @ jsurfer joined channel #puppet
[2011/11/29 17:01:36] <Hunner> and `puppet master --configprint reports` (note the 's') says something at all?
[2011/11/29 17:02:34] <jbarnett> Hunner: on the agents it says true
[2011/11/29 17:02:43] <jbarnett> Hunner: and on the master it says "store"
[2011/11/29 17:02:47] <Hunner> Another point to test would be stopping your puppet master daemon, run `puppet master --no-daemonize --verbose` in the foreground, and run `puppet agent --test` and look for any errors
[2011/11/29 17:02:59] <jbarnett> sweet as
[2011/11/29 17:03:00] <jbarnett> thanks
[2011/11/29 17:03:14] <Hunner> jbarnett: So what kind of reporting are you looking for? It should be storing in `puppet master --configprint reportdir`
[2011/11/29 17:03:20] @ Quit: the_ramink: Ping timeout: 255 seconds
[2011/11/29 17:03:43] <jbarnett> Hunner: /var/lib/puppet/reports
[2011/11/29 17:03:54] <jbarnett> Hunner: The reports aren't showing up in the puppet dashboard
[2011/11/29 17:04:16] <jbarnett> Hunner: I have the right opts in /etc/sysconfig/puppetmaster too
[2011/11/29 17:04:19] <jbarnett> Hunner: PUPPETMASTER_EXTRA_OPTS="--reports puppet_dashboard"
[2011/11/29 17:04:27] <Hunner> jbarnett: You have to have 'reports' in the [master] section set to something like 'report = store,puppet_dashboard' or whatever
[2011/11/29 17:04:48] @ Quit: bobbyz: Ping timeout: 248 seconds
[2011/11/29 17:04:55] <Hunner> Odd. Make sure that puppet_dashboard.rb is in $libdir/puppet/reports
[2011/11/29 17:05:36] <jbarnett> Hunner: I think this happened AFTER I upgraded my puppetmaster from 2.5.x to 2.6.6
[2011/11/29 17:05:38] <jbarnett> i think
[2011/11/29 17:05:48] <jbarnett> i mean
[2011/11/29 17:05:51] <jbarnett> puppet-2.1.2 to puppet-2.6.6
[2011/11/29 17:05:58] @ itguru joined channel #puppet
[2011/11/29 17:05:58] @ Quit: itguru: Changing host
[2011/11/29 17:05:58] @ itguru joined channel #puppet
[2011/11/29 17:06:07] <Hunner> jbarnett: where is puppet_dashboard.rb?
[2011/11/29 17:06:30] <jbarnett> running a find now
[2011/11/29 17:06:31] <jbarnett> hold on
[2011/11/29 17:06:46] <Hunner> check `puppet master --configprint libdir`
[2011/11/29 17:06:47] <jbarnett> Hunner: /usr/share/puppet-dashboard/ext/puppet/puppet_dashboard.rb
[2011/11/29 17:07:01] @ itguru left channel #puppet ()
[2011/11/29 17:07:33] <Hunner> Okay, so place that in $libdir/puppet/reports/puppet_dashboard.rb and try again?
[2011/11/29 17:07:43] <Hunner> (restart puppet master jic)
[2011/11/29 17:08:38] @ Quit: Wolfspyre: Quit: Leaving.
[2011/11/29 17:09:08] @ rsnhyperion joined channel #puppet
[2011/11/29 17:10:05] @ Quit: joshcooper: Quit: joshcooper
[2011/11/29 17:11:35] <jbarnett> I can tell you right now that this is because I upgraded puppet
[2011/11/29 17:11:37] <jbarnett> I'm almost positive
[2011/11/29 17:11:41] <jbarnett> let me look at my yum logs
[2011/11/29 17:12:05] <frostynova> since puppet 2.6, do not need do extra to enable dashboard
[2011/11/29 17:12:10] <jbarnett> nevermind
[2011/11/29 17:12:14] <frostynova> just add "http" to reports
[2011/11/29 17:12:21] <jbarnett> add http where?
[2011/11/29 17:12:29] <frostynova> to puppet.conf in master
[2011/11/29 17:12:39] <frostynova> reports="store,http"
[2011/11/29 17:13:20] @ Quit: miche: Quit: Computer has gone to sleep.
[2011/11/29 17:13:24] @ Quit: alanna_: Remote host closed the connection
[2011/11/29 17:13:26] <frostynova> in the [master] section
[2011/11/29 17:13:35] <jbarnett> frostynova: I added them all... LOL
[2011/11/29 17:13:43] <jbarnett> frostynova: reports = tagmail,store,log,http,puppet_dashboar
[2011/11/29 17:13:50] <jbarnett> frostynova: reports = tagmail,store,log,http,puppet_dashboard
[2011/11/29 17:13:52] <frostynova> er....
[2011/11/29 17:13:53] @ alanna joined channel #puppet
[2011/11/29 17:14:00] <frostynova> do not need puppet_dashboard
[2011/11/29 17:14:03] <jbarnett> ok
[2011/11/29 17:14:08] <frostynova> it use the standard http method
[2011/11/29 17:14:11] @ Quit: p3rror: Read error: Connection reset by peer
[2011/11/29 17:14:27] <jbarnett> frostynova: Do I need to update the clients?
[2011/11/29 17:14:47] <frostynova> i think no, but better do it
[2011/11/29 17:15:34] <jbarnett> frostynova: I only need the following on the clients, right?: https://gist.github.com/630622448324e28f8c99
[2011/11/29 17:15:52] <frostynova> yep
[2011/11/29 17:16:19] <jbarnett> cool beans
[2011/11/29 17:16:36] <frostynova> jbarnett: http://docs.puppetlabs.com/dashboard/manual/1.2/bootstrapping.html#configuring-puppet
[2011/11/29 17:16:38] @ Quit: maxmartin: Read error: Connection reset by peer
[2011/11/29 17:16:42] <frostynova> the doc
[2011/11/29 17:16:54] <jbarnett> frostynova: I've been looking through those docs
[2011/11/29 17:16:56] <seanh-ansca> just started playing with exported resources...
[2011/11/29 17:17:04] <seanh-ansca> have i told any of you that puppet is awesome?
[2011/11/29 17:17:04] <jbarnett> I've tried a ton of stuff and the reports still aren't showing up in the puppet dashboard
[2011/11/29 17:17:06] <jbarnett> it's weird...
[2011/11/29 17:17:07] @ maxmartin joined channel #puppet
[2011/11/29 17:17:39] <frostynova> have a look at the master's log?
[2011/11/29 17:17:56] <nfagerlund> jbarnett: frostynova: In addition to the http report, you gotta make sure you set the reporturl.
[2011/11/29 17:18:08] <frostynova> if something wrong, there will be an error
[2011/11/29 17:18:10] <frostynova> yeah
[2011/11/29 17:18:23] @ Quit: alanna: Ping timeout: 244 seconds
[2011/11/29 17:18:23] @ ben_duyujie joined channel #puppet
[2011/11/29 17:18:29] <jbarnett> nfagerlund and frostynova: I setup the store and http and finally put a url
[2011/11/29 17:18:39] <jbarnett> nfagerlund and frostynova: i'll check the logs now...
[2011/11/29 17:18:44] <jbarnett> nfagerlund and frostynova: standby
[2011/11/29 17:20:08] <frostynova> i have to go to work now, see you later
[2011/11/29 17:20:15] <jbarnett> frostynova: see ya!
[2011/11/29 17:20:18] <jbarnett> frostynova: Thanks for the help
[2011/11/29 17:20:37] @ nitram_macair joined channel #puppet
[2011/11/29 17:20:42] @ Quit: frostynova: Remote host closed the connection
[2011/11/29 17:23:13] @ Quit: schewara: Quit: Leaving
[2011/11/29 17:24:04] @ bobbyz joined channel #puppet
[2011/11/29 17:25:01] @ sumsuch joined channel #puppet
[2011/11/29 17:27:21] @ Wolfspyre joined channel #puppet
[2011/11/29 17:28:44] @ tonyskap` joined channel #puppet
[2011/11/29 17:28:47] @ ccaum joined channel #puppet
[2011/11/29 17:29:11] @ tonyskap` is now known as tonyskapunk_erc
[2011/11/29 17:35:22] @ Quit: dwalu: Quit: dwalu
[2011/11/29 17:36:25] @ ezmobius is now known as ezmobius|zoning
[2011/11/29 17:37:08] @ Enf joined channel #puppet
[2011/11/29 17:37:31] @ Quit: tonyskapunk_erc: Quit: agur!
[2011/11/29 17:37:49] @ tnguyen joined channel #puppet
[2011/11/29 17:39:50] @ tnguyen left channel #puppet ()
[2011/11/29 17:41:09] @ Quit: ccaum: Quit: ccaum
[2011/11/29 17:41:41] @ duerF joined channel #puppet
[2011/11/29 17:44:11] @ zwi joined channel #puppet
[2011/11/29 17:46:45] @ Quit: ben_duyujie: Quit: ben_duyujie
[2011/11/29 17:48:18] @ ben_duyujie joined channel #puppet
[2011/11/29 17:50:10] @ Quit: kenperkins: Ping timeout: 244 seconds
[2011/11/29 17:50:29] @ Quit: clustermagnet: Ping timeout: 245 seconds
[2011/11/29 17:51:36] <Hunner> bluemustard: :P
[2011/11/29 17:52:12] @ Quit: jbarnett:
[2011/11/29 17:52:48] @ Quit: nfagerlund: Remote host closed the connection
[2011/11/29 17:53:56] @ Quit: n0ts: Quit: Tiarra 0.1+svn-38663M: SIGTERM received; exit
[2011/11/29 17:54:08] @ n0ts joined channel #puppet
[2011/11/29 17:54:09] @ lovemj joined channel #puppet
[2011/11/29 17:54:19] @ Kazuhiro left channel #puppet ()
[2011/11/29 17:56:41] @ Quit: tilgovi: Remote host closed the connection
[2011/11/29 17:57:05] @ clustermagnet joined channel #puppet
[2011/11/29 18:04:07] @ arnihermann joined channel #puppet
[2011/11/29 18:08:48] @ Quit: metcalfc: Ping timeout: 248 seconds
[2011/11/29 18:11:26] @ Quit: silversurfer: Remote host closed the connection
[2011/11/29 18:21:08] @ Quit: maxmartin: Quit: Computer has gone to sleep.
[2011/11/29 18:21:31] @ frostynova joined channel #puppet
[2011/11/29 18:23:10] @ shadoi1 joined channel #puppet
[2011/11/29 18:25:59] @ Quit: shadoi: Ping timeout: 244 seconds
[2011/11/29 18:27:32] @ Quit: shadoi1: Ping timeout: 244 seconds
[2011/11/29 18:29:01] @ Quit: BManojlovic: Remote host closed the connection
[2011/11/29 18:33:37] @ Quit: ianbrandt: Quit: ianbrandt
[2011/11/29 18:38:04] @ lak joined channel #puppet
[2011/11/29 18:38:04] @ Quit: lak: Changing host
[2011/11/29 18:38:04] @ lak joined channel #puppet
[2011/11/29 18:40:50] @ rcrowley joined channel #puppet
[2011/11/29 18:41:20] @ Quit: ben_duyujie: Ping timeout: 248 seconds
[2011/11/29 18:44:46] <frostynova> did someone know why puppet will generate 6 schedule resources by default?
[2011/11/29 18:45:19] <frostynova> http://groups.google.com/group/puppet-users/browse_thread/thread/224735df944173c5
[2011/11/29 18:49:00] @ Quit: joe-mac: Remote host closed the connection
[2011/11/29 18:49:53] @ ghg joined channel #puppet
[2011/11/29 18:50:01] @ the_ramink joined channel #puppet
[2011/11/29 18:55:56] @ ben_duyujie joined channel #puppet
[2011/11/29 18:56:18] @ maxmartin joined channel #puppet
[2011/11/29 19:07:57] @ Quit: choonming: Quit: Leaving
[2011/11/29 19:10:04] @ Quit: rclark: Ping timeout: 245 seconds
[2011/11/29 19:11:14] @ rclark joined channel #puppet
[2011/11/29 19:11:35] @ Quit: seanh-ansca: Ping timeout: 255 seconds
[2011/11/29 19:14:35] @ ezmobius|zoning is now known as ezmobius|zoning|
[2011/11/29 19:15:26] @ Quit: edward: Ping timeout: 260 seconds
[2011/11/29 19:15:41] @ edward joined channel #puppet
[2011/11/29 19:15:50] @ sascha_ joined channel #puppet
[2011/11/29 19:17:43] @ mattr joined channel #puppet
[2011/11/29 19:17:44] @ Quit: mattr: Changing host
[2011/11/29 19:17:44] @ mattr joined channel #puppet
[2011/11/29 19:17:59] @ Quit: mattr-: Ping timeout: 245 seconds
[2011/11/29 19:19:02] @ Quit: sascha_: Client Quit
[2011/11/29 19:20:07] @ viq joined channel #puppet
[2011/11/29 19:25:14] @ Quit: ryancoleman: Quit: Leaving.
[2011/11/29 19:26:12] @ samkottler joined channel #puppet
[2011/11/29 19:27:25] @ Quit: SFox: Ping timeout: 240 seconds
[2011/11/29 19:28:55] @ Quit: lak: Quit: Leaving.
[2011/11/29 19:32:00] @ Quit: bluemustard: Quit: bluemustard
[2011/11/29 19:32:55] @ wonglijie joined channel #puppet
[2011/11/29 19:32:58] @ wonglijie left channel #puppet ()
[2011/11/29 19:33:15] @ wonglijie joined channel #puppet
[2011/11/29 19:33:25] @ Quit: zsoftich: Ping timeout: 240 seconds
[2011/11/29 19:34:05] <wonglijie> hi, I'm just getting my feet wet in puppet, but don't seem to be able to find anywhere on the documentation where it describes how puppet gets run.
[2011/11/29 19:34:36] <wonglijie> do the agent machines run daemons, or am I expected to run a cronjob, etc?
[2011/11/29 19:35:08] <the_ramink> wonglijie: generally the clients runs daemons. What distro are you using?
[2011/11/29 19:35:16] <wonglijie> deb/ubuntu
[2011/11/29 19:36:03] <wonglijie> is there any doc on this? I had a look at http://docs.puppetlabs.com/guides/setting_up.html#start-the-central-daemon but that looks like setting it up on the server, not the "clients"
[2011/11/29 19:37:37] @ neonflux joined channel #puppet
[2011/11/29 19:38:16] <wonglijie> the_ramink: ok I found a puppet script in my init folder. I suppose that is supposed to be the corresponding init script?
[2011/11/29 19:39:11] @ seanh-ansca joined channel #puppet
[2011/11/29 19:40:53] <the_ramink> I'd start out by installing puppet and puppetmaster on a single server. First setup the server, puppetmaster, like in the doc you posted. Once you've got that up I'd try to start the client, puppetd, and try to get it to talk to the master.
[2011/11/29 19:41:12] @ SFox joined channel #puppet
[2011/11/29 19:44:48] @ Quit: Enf: Ping timeout: 248 seconds
[2011/11/29 19:46:32] @ z30 joined channel #puppet
[2011/11/29 19:46:41] @ Enf joined channel #puppet
[2011/11/29 19:49:18] @ Quit: hco-bitlbee-mba: Quit: hco-bitlbee-mba
[2011/11/29 19:49:25] @ choonming joined channel #puppet
[2011/11/29 19:49:56] @ Quit: KaZeR_W: Ping timeout: 260 seconds
[2011/11/29 19:53:02] @ Quit: seanh-ansca: Quit: Leaving.
[2011/11/29 19:55:38] <wonglijie> oh ok, so puppetd is actually the client. thanks! that clarifies things!
[2011/11/29 19:56:57] @ zsoftich joined channel #puppet
[2011/11/29 20:01:17] @ dwalu joined channel #puppet
[2011/11/29 20:03:19] @ ken_barber1 joined channel #puppet
[2011/11/29 20:03:44] @ AshishH joined channel #puppet
[2011/11/29 20:04:49] <wooster> Puppet Labs, the company behind the open source Puppet configuration management tool, has announced that it has received $8.5 million in Series C funding from Cisco, Google Ventures and VMware
[2011/11/29 20:06:03] @ Quit: ken_barber: Ping timeout: 244 seconds
[2011/11/29 20:06:34] <fliplap> nice
[2011/11/29 20:06:39] @ Quit: fredden: Quit: Leaving
[2011/11/29 20:06:44] @ Quit: choonming: Ping timeout: 244 seconds
[2011/11/29 20:08:52] <mosen> wow
[2011/11/29 20:09:14] @ Ames joined channel #puppet
[2011/11/29 20:09:17] @ hco-bitlbee-mba joined channel #puppet
[2011/11/29 20:10:28] @ bobra joined channel #puppet
[2011/11/29 20:11:47] @ KaiserBeto joined channel #puppet
[2011/11/29 20:13:25] @ Quit: wonglijie: Quit: wonglijie
[2011/11/29 20:13:39] @ joe-mac joined channel #puppet
[2011/11/29 20:14:06] @ Quit: milad: Remote host closed the connection
[2011/11/29 20:15:42] @ amit joined channel #puppet
[2011/11/29 20:16:50] <amit> Hi all , i want to execute two commands under the single exec resource , is it possible in puppet ?
[2011/11/29 20:17:04] @ Quit: Holocaine: Ping timeout: 244 seconds
[2011/11/29 20:17:53] <amit> my code looks like this "exec { "/bin/echo -e "[agent] \nreport=true" >> /etc/puppet.conf; /bin/touch /opt/done.txt"
[2011/11/29 20:17:55] <amit> onlyif => "/bin/test -e /opt/done.txt -ne 0"
[2011/11/29 20:18:49] @ gaveen joined channel #puppet
[2011/11/29 20:18:49] @ Quit: gaveen: Changing host
[2011/11/29 20:18:49] @ gaveen joined channel #puppet
[2011/11/29 20:19:25] <amit> any idea how can i excute above commands under exec resource , kindly help
[2011/11/29 20:19:43] @ Holocaine joined channel #puppet
[2011/11/29 20:20:05] @ choonming joined channel #puppet
[2011/11/29 20:20:59] @ alanevans joined channel #puppet
[2011/11/29 20:21:08] @ Quit: johnston_: Ping timeout: 265 seconds
[2011/11/29 20:23:07] @ Quit: zwi: Quit: Leaving.
[2011/11/29 20:26:16] @ tangledhelix joined channel #puppet
[2011/11/29 20:27:48] <tangledhelix> so i'm trying to work out why linux passwords get set with useradd -p {pw} but solaris just magically show up. i figured on solaris, ruby-shadow gets used. then i found password=() in provider/user/user_role_add.rb
[2011/11/29 20:28:08] <tangledhelix> ... which reads in /etc/shadow and rewrites it to a temp file then renames it into place??
[2011/11/29 20:28:23] @ Quit: alanevans: Ping timeout: 252 seconds
[2011/11/29 20:28:50] @ Quit: bolt12: Ping timeout: 258 seconds
[2011/11/29 20:28:50] <tangledhelix> ergo also not using ruby-shadow... so wth did i install ruby-shadow for? :)
[2011/11/29 20:33:20] @ alanevans joined channel #puppet
[2011/11/29 20:36:05] @ Quit: bmahe: Quit: Leaving
[2011/11/29 20:38:45] @ Quit: motomike: Quit: Leaving.
[2011/11/29 20:41:49] @ Quit: kermit: Quit: Leaving.
[2011/11/29 20:42:38] @ kermit joined channel #puppet
[2011/11/29 20:44:14] @ vorlon2261 joined channel #puppet
[2011/11/29 20:52:05] @ Quit: Djelibeybi: Quit: Textual IRC Client: http://www.textualapp.com/
[2011/11/29 20:54:47] <Ames> anyone written recipes bases on hostname partial matches?
[2011/11/29 20:55:24] <Ames> i.e. blahdns01 takes on recipe based on "dns" hostname?
[2011/11/29 20:55:52] <vorlon2261> You can do an external node classifier I guess...
[2011/11/29 20:56:20] <vorlon2261> That gets passed the hostname and your external script/program/whatever returns a yaml format describing the host...
[2011/11/29 20:56:22] @ Quit: neonflux: Quit: Leaving.
[2011/11/29 20:56:24] <the_ramink> Ames: you can do regex in your nodes, might get you most of the way there
[2011/11/29 20:56:41] @ Quit: bookpage:
[2011/11/29 20:56:53] @ favadi joined channel #puppet
[2011/11/29 20:57:01] <Ames> the_ramink: regex in my nodes?
[2011/11/29 20:57:19] <Ames> a little more to go on?
[2011/11/29 20:57:31] <nlew> node /dns/ { include something }
[2011/11/29 20:57:49] <Ames> Is there such thing as a hostname matching function within puppet?
[2011/11/29 20:58:52] @ Quit: kermit: Quit: Leaving.
[2011/11/29 20:59:06] <the_ramink> Ames: like this, http://pastie.org/2942401
[2011/11/29 21:00:06] @ kermit joined channel #puppet
[2011/11/29 21:00:47] @ dfamorato_ joined channel #puppet
[2011/11/29 21:01:29] @ Vasik|work joined channel #puppet
[2011/11/29 21:01:30] @ Quit: cliff-hm: Ping timeout: 244 seconds
[2011/11/29 21:01:41] @ Quit: tangledhelix: Quit: Textual IRC Client: http://www.textualapp.com/
[2011/11/29 21:02:41] <Ames> the_ramink: hmmm interesting, never thought to place the functions within node (still looking at it, thanks)
[2011/11/29 21:03:36] @ Quit: gniks: Quit: Leaving.
[2011/11/29 21:05:39] @ ken_barber joined channel #puppet
[2011/11/29 21:07:56] <the_ramink> Ames: only thing to watch out for is to make the regex specific enough or you can run into problems where Puppet takes the first match and goes on it's way which may not be what you want. ie prod servers match the stage server regex.
[2011/11/29 21:08:25] @ bolt12 joined channel #puppet
[2011/11/29 21:09:04] @ Quit: ken_barber1: Ping timeout: 248 seconds
[2011/11/29 21:09:12] @ Quit: l0n:
[2011/11/29 21:11:07] @ alanna joined channel #puppet
[2011/11/29 21:11:30] @ samkottler is now known as samkottler|zzz
[2011/11/29 21:12:20] @ Quit: dfamorato_: Remote host closed the connection
[2011/11/29 21:15:28] @ sascha_ joined channel #puppet
[2011/11/29 21:16:51] @ Quit: the_ramink: Ping timeout: 260 seconds
[2011/11/29 21:30:16] @ Quit: dpittman: Ping timeout: 260 seconds
[2011/11/29 21:30:16] @ Quit: soh: Ping timeout: 244 seconds
[2011/11/29 21:30:24] @ soh joined channel #puppet
[2011/11/29 21:31:49] @ Quit: jamesfryman: Ping timeout: 244 seconds
[2011/11/29 21:32:01] @ Quit: glarizza_: Ping timeout: 260 seconds
[2011/11/29 21:32:05] @ glarizza joined channel #puppet
[2011/11/29 21:32:06] @ Quit: alanna: Remote host closed the connection
[2011/11/29 21:32:11] @ jamesfryman joined channel #puppet
[2011/11/29 21:32:30] @ alanna joined channel #puppet
[2011/11/29 21:32:36] @ Quit: nlew: Ping timeout: 260 seconds
[2011/11/29 21:32:40] @ nlew joined channel #puppet
[2011/11/29 21:33:21] @ dpittman joined channel #puppet
[2011/11/29 21:34:57] @ MUILTFN joined channel #puppet
[2011/11/29 21:35:05] @ Quit: MUILTFN: Read error: Connection reset by peer
[2011/11/29 21:36:56] @ Quit: alanna: Ping timeout: 255 seconds
[2011/11/29 21:39:51] @ nitram_macair_ joined channel #puppet
[2011/11/29 21:47:39] @ alanna joined channel #puppet
[2011/11/29 21:47:56] @ Quit: nitram_macair_: Quit: nitram_macair_
[2011/11/29 21:48:31] @ Quit: amit: Quit: Page closed
[2011/11/29 21:49:09] @ ben_duyujie left channel #puppet ()
[2011/11/29 21:49:47] @ Quit: Holocaine: Ping timeout: 252 seconds
[2011/11/29 21:50:09] @ Quit: dcsobralWork: Ping timeout: 244 seconds
[2011/11/29 21:50:37] @ dcsobralWork joined channel #puppet
[2011/11/29 21:52:24] @ Quit: Sil4nc4: Ping timeout: 258 seconds
[2011/11/29 21:54:59] @ Quit: NightMonkey: Quit: Body blow! Body blow!
[2011/11/29 21:55:43] @ the_ramink joined channel #puppet
[2011/11/29 21:55:58] @ Sil4nc4 joined channel #puppet
[2011/11/29 21:57:40] @ aherzog joined channel #puppet
[2011/11/29 21:59:01] @ Quit: dwalu: Quit: dwalu
[2011/11/29 21:59:53] @ Quit: sumsuch: Quit: sumsuch
[2011/11/29 22:01:11] @ Quit: bobra: Ping timeout: 260 seconds
[2011/11/29 22:01:26] @ Quit: localhost: Remote host closed the connection
[2011/11/29 22:02:50] @ localhost joined channel #puppet
[2011/11/29 22:03:31] @ krish joined channel #puppet
[2011/11/29 22:03:53] @ dwalu joined channel #puppet
[2011/11/29 22:05:39] @ Quit: favadi: Remote host closed the connection
[2011/11/29 22:06:55] @ Quit: skm: Ping timeout: 244 seconds
[2011/11/29 22:07:05] @ Quit: samkottler|zzz: Quit: Leaving.
[2011/11/29 22:07:08] @ pugnacity joined channel #puppet
[2011/11/29 22:09:00] @ jedi4ever joined channel #puppet
[2011/11/29 22:11:19] @ Quit: emergion: Read error: Connection reset by peer
[2011/11/29 22:11:45] @ emergion joined channel #puppet
[2011/11/29 22:12:00] @ Quit: Sil4nc4: Ping timeout: 248 seconds
[2011/11/29 22:12:09] @ Sil4nc4 joined channel #puppet
[2011/11/29 22:12:38] @ jaytaph joined channel #puppet
[2011/11/29 22:13:49] @ Quit: alanevans: Ping timeout: 245 seconds
[2011/11/29 22:14:16] @ bobra joined channel #puppet
[2011/11/29 22:14:16] @ silversurfer joined channel #puppet
[2011/11/29 22:16:13] @ Quit: vorlon2261: Ping timeout: 240 seconds
[2011/11/29 22:16:36] @ Quit: jsurfer: Remote host closed the connection
[2011/11/29 22:16:54] @ jsurfer joined channel #puppet
[2011/11/29 22:18:58] @ wilmoore joined channel #puppet
[2011/11/29 22:19:00] @ Quit: bodepd: Read error: Operation timed out
[2011/11/29 22:19:03] @ Quit: jmccune: Read error: Operation timed out
[2011/11/29 22:19:38] @ Quit: jforman: Read error: Operation timed out
[2011/11/29 22:19:51] @ Quit: dpittman: Ping timeout: 260 seconds
[2011/11/29 22:21:11] @ ckauhaus joined channel #puppet
[2011/11/29 22:21:27] @ Quit: soh: Quit: ZNC - http://znc.sourceforge.net
[2011/11/29 22:21:56] @ Quit: ryan1: Ping timeout: 255 seconds
[2011/11/29 22:22:26] @ Quit: bluethundr_: Quit: bluethundr_
[2011/11/29 22:22:27] @ Quit: nlew: Ping timeout: 244 seconds
[2011/11/29 22:22:29] @ Quit: emergion: Quit: later...
[2011/11/29 22:22:50] @ Quit: glarizza: Ping timeout: 255 seconds
[2011/11/29 22:23:39] @ nitram_macair_ joined channel #puppet
[2011/11/29 22:24:13] @ Quit: dcsobralWork: Ping timeout: 258 seconds
[2011/11/29 22:24:33] @ dcsobralWork joined channel #puppet
[2011/11/29 22:25:01] @ Quit: ghg: Quit: Computer has gone to sleep.
[2011/11/29 22:27:25] @ alanevans joined channel #puppet
[2011/11/29 22:30:39] @ joshcooper joined channel #puppet
[2011/11/29 22:31:04] @ riha joined channel #puppet
[2011/11/29 22:35:44] @ nuknad joined channel #puppet
[2011/11/29 22:41:30] @ Quit: sascha_: Quit: sascha_
[2011/11/29 22:41:57] @ sascha_ joined channel #puppet
[2011/11/29 22:45:36] <joe-mac> why is it that the sshkey type seemingly can't export and collect keys of different type for the same host
[2011/11/29 22:47:42] @ Quit: sascha_: Quit: sascha_
[2011/11/29 22:52:46] @ artkrz joined channel #puppet
[2011/11/29 22:53:09] @ Quit: nitram_macair_: Quit: nitram_macair_
[2011/11/29 22:54:02] @ jsurfer_ joined channel #puppet
[2011/11/29 22:55:10] @ Quit: alanevans: Ping timeout: 244 seconds
[2011/11/29 22:56:34] <joe-mac> wow, who wrote the sshkey provider, has anyone ever even looked at this, what's with all the weird indentation and whatnot
[2011/11/29 22:56:48] @ Quit: ohadlevy: Ping timeout: 248 seconds
[2011/11/29 22:56:48] @ Quit: jsurfer: Ping timeout: 244 seconds
[2011/11/29 22:56:48] @ jsurfer_ is now known as jsurfer
[2011/11/29 22:57:58] @ Quit: mosen: Quit: Leaving
[2011/11/29 22:57:59] @ Quit: ckauhaus: Quit: Leaving.
[2011/11/29 22:58:09] @ ali3n0 joined channel #puppet
[2011/11/29 22:59:46] @ lak joined channel #puppet
[2011/11/29 22:59:47] @ Quit: lak: Changing host
[2011/11/29 22:59:47] @ lak joined channel #puppet
[2011/11/29 23:00:11] @ Quit: dnjaramba: Ping timeout: 255 seconds
[2011/11/29 23:00:37] @ dnjaramba joined channel #puppet
[2011/11/29 23:00:54] @ sumsuch joined channel #puppet
[2011/11/29 23:05:12] @ dim0 joined channel #puppet
[2011/11/29 23:07:09] @ Quit: n0ts: Ping timeout: 245 seconds
[2011/11/29 23:08:06] @ ken_barber1 joined channel #puppet
[2011/11/29 23:08:22] @ alanevans joined channel #puppet
[2011/11/29 23:10:34] @ n0ts joined channel #puppet
[2011/11/29 23:11:32] @ Quit: ken_barber: Ping timeout: 244 seconds
[2011/11/29 23:12:19] @ Meier joined channel #puppet
[2011/11/29 23:14:04] @ ohadlevy joined channel #puppet
[2011/11/29 23:14:33] @ ryan1 joined channel #puppet
[2011/11/29 23:14:43] @ Quit: dwalu: Quit: dwalu
[2011/11/29 23:14:49] @ soh joined channel #puppet
[2011/11/29 23:14:50] @ dpittman joined channel #puppet
[2011/11/29 23:15:21] @ nitram_macair_ joined channel #puppet
[2011/11/29 23:16:15] @ smintz joined channel #puppet
[2011/11/29 23:16:40] @ bodepd joined channel #puppet
[2011/11/29 23:16:47] @ jmccune joined channel #puppet
[2011/11/29 23:16:48] @ glarizza joined channel #puppet
[2011/11/29 23:16:55] @ nlew joined channel #puppet
[2011/11/29 23:17:30] @ Quit: alanna: Remote host closed the connection
[2011/11/29 23:17:54] @ alanna joined channel #puppet
[2011/11/29 23:20:44] @ jforman joined channel #puppet
[2011/11/29 23:22:23] @ Quit: alanna: Ping timeout: 244 seconds
[2011/11/29 23:22:45] @ Quit: ohadlevy: Ping timeout: 252 seconds
[2011/11/29 23:25:03] @ ohadlevy joined channel #puppet
[2011/11/29 23:25:16] @ Quit: hobbeswalsh: Quit: hobbeswalsh
[2011/11/29 23:25:26] @ ckauhaus joined channel #puppet
[2011/11/29 23:25:51] @ Quit: ckauhaus: Client Quit
[2011/11/29 23:26:14] @ ckauhaus joined channel #puppet
[2011/11/29 23:28:14] @ Quit: KaiserBeto: Ping timeout: 244 seconds
[2011/11/29 23:28:31] @ dwalu joined channel #puppet
[2011/11/29 23:29:06] @ Quit: ali3n0: Quit: Leaving.
[2011/11/29 23:29:45] @ Quit: ohadlevy: Ping timeout: 260 seconds
[2011/11/29 23:29:58] @ Quit: dwalu: Client Quit
[2011/11/29 23:30:34] @ ohadlevy joined channel #puppet
[2011/11/29 23:32:01] @ DJClean joined channel #puppet
[2011/11/29 23:39:56] <mfridh> joe-mac: never looked at it closely...
[2011/11/29 23:40:23] @ sumit joined channel #puppet
[2011/11/29 23:43:20] <sumit> hi , how to set local time zone in puppet-dashbaord , as it taking default UTC , but i want to set to IST format
[2011/11/29 23:43:44] <sumit> is there any command to do this ?
[2011/11/29 23:44:04] <sumit> any suggestion how to do this
[2011/11/29 23:51:50] <frostynova> sumit: the environment file
[2011/11/29 23:52:46] <frostynova> config/environment.rb
[2011/11/29 23:52:52] @ ali3n0 joined channel #puppet
[2011/11/29 23:52:59] <frostynova> there is a timezone configuration item
[2011/11/29 23:54:10] <sumit> ok ,
[2011/11/29 23:54:39] @ Quit: cwebber: Ping timeout: 252 seconds
[2011/11/29 23:55:22] @ pieter_ joined channel #puppet
[2011/11/29 23:55:27] @ Quit: ali3n0: Client Quit
[2011/11/29 23:55:52] @ ali3n0 joined channel #puppet
[2011/11/29 23:55:55] @ pmorillon joined channel #puppet
[2011/11/29 23:56:27] @ dclp joined channel #puppet
[2011/11/29 23:57:28] @ verwilst joined channel #puppet
[2011/11/29 23:57:30] @ cwebber joined channel #puppet
[2011/11/29 23:57:32] <sumit> i want to set UTC +05:30 and New-Delhi as time zone , but in environment.rb only UTC is specified , kindly guide me how to set these entries

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