Wednesday, 2011-12-14

[2011/12/14 00:05:34] @ Log started by gepetto
[2011/12/14 00:05:34] @ raphdg joined channel #puppet
[2011/12/14 00:06:45] @ bgupta joined channel #puppet
[2011/12/14 00:07:32] @ Quit: amoe: Ping timeout: 252 seconds
[2011/12/14 00:08:13] @ mrwacky42 joined channel #puppet
[2011/12/14 00:08:39] @ Quit: bgupta: Client Quit
[2011/12/14 00:08:46] @ bgupta joined channel #puppet
[2011/12/14 00:09:19] @ amoe joined channel #puppet
[2011/12/14 00:10:56] @ larstobi joined channel #puppet
[2011/12/14 00:11:16] @ Quit: mrwacky42: Client Quit
[2011/12/14 00:13:20] @ Quit: comptona: Quit: Leaving.
[2011/12/14 00:15:13] @ ohadlevy_ joined channel #puppet
[2011/12/14 00:15:13] @ ohadlevy_ is now known as ohadl
[2011/12/14 00:17:33] @ Quit: ohadl: Client Quit
[2011/12/14 00:17:55] @ pradeep joined channel #puppet
[2011/12/14 00:19:37] @ ohadlevy_ joined channel #puppet
[2011/12/14 00:19:54] @ ohadlevy_ is now known as ohadl
[2011/12/14 00:20:28] @ Ramonster joined channel #puppet
[2011/12/14 00:23:17] <pradeep> Hi , in my init.pp file , i want to run a if statement along with unless , like exec {"/bin/sh /var/log/puppet/scripts/passwd_diff.sh": require => [ File['/var/log/puppet/scripts/passwd_diff.sh'], File['/var/log/puppet/log'] ], unless => if [ -f /var/log/puppet/scripts/passwd_diff.sh ] ; then echo; echo "file exists"; echo; fi,
[2011/12/14 00:24:15] <pradeep> but i am getting an syntax error "Could not retrieve catalog from remote server: Error 400 on SERVER: Syntax error at 'if'; expected '}' at /etc/puppet/modules/ubuntu_test/manifests/init.pp"
[2011/12/14 00:24:48] <fragfutter> pradeep: you are missing quotes around your unless command.
[2011/12/14 00:25:02] <R1ck> pradeep: look at the creates parameter
[2011/12/14 00:25:13] <R1ck> pradeep: http://docs.puppetlabs.com/references/latest/type.html#exec
[2011/12/14 00:25:23] <R1ck> "A file that this command creates. If this parameter is provided, then the command will only be run if the specified file does not exist. "
[2011/12/14 00:25:27] @ Quit: nul0op: Ping timeout: 240 seconds
[2011/12/14 00:25:56] <R1ck> oh never mind
[2011/12/14 00:26:06] @ hco-bitlbee-mba joined channel #puppet
[2011/12/14 00:27:12] @ ckauhaus1 joined channel #puppet
[2011/12/14 00:27:28] @ Quit: ckauhaus1: Client Quit
[2011/12/14 00:27:37] @ ckauhaus1 joined channel #puppet
[2011/12/14 00:27:42] <pradeep> k
[2011/12/14 00:28:25] @ Quit: ohadl: Quit: ZNC - http://znc.in
[2011/12/14 00:29:24] @ Stenbryggen joined channel #puppet
[2011/12/14 00:29:30] @ Quit: ckauhaus: Ping timeout: 252 seconds
[2011/12/14 00:33:23] @ Quit: Marius: Ping timeout: 252 seconds
[2011/12/14 00:33:27] @ ben_duyujie left channel #puppet ()
[2011/12/14 00:34:05] @ xizhendu joined channel #puppet
[2011/12/14 00:36:53] @ raphink joined channel #puppet
[2011/12/14 00:37:04] @ trickyf joined channel #puppet
[2011/12/14 00:39:16] @ Quit: raphink: Remote host closed the connection
[2011/12/14 00:39:24] @ Quit: willemb_: Remote host closed the connection
[2011/12/14 00:40:27] @ cirbri joined channel #puppet
[2011/12/14 00:40:32] @ nan0r joined channel #puppet
[2011/12/14 00:42:31] @ raphink joined channel #puppet
[2011/12/14 00:42:32] @ Quit: swygue: Read error: Connection reset by peer
[2011/12/14 00:43:10] @ Quit: jedi4ever: Quit: jedi4ever
[2011/12/14 00:43:57] @ swygue joined channel #puppet
[2011/12/14 00:44:42] @ limed joined channel #puppet
[2011/12/14 00:45:25] @ Quit: limed: Changing host
[2011/12/14 00:45:25] @ limed joined channel #puppet
[2011/12/14 00:47:40] @ Quit: nevyn: Ping timeout: 244 seconds
[2011/12/14 00:49:24] @ nevyn joined channel #puppet
[2011/12/14 00:50:29] @ Quit: sdog: Ping timeout: 245 seconds
[2011/12/14 00:50:49] @ verwilst joined channel #puppet
[2011/12/14 00:51:06] @ Quit: caofg: Quit: 离开
[2011/12/14 00:54:54] @ Quit: hel: Quit: Page closed
[2011/12/14 00:59:02] @ csanchez joined channel #puppet
[2011/12/14 01:01:02] @ Quit: ckauhaus1: Ping timeout: 252 seconds
[2011/12/14 01:05:27] @ arBmind joined channel #puppet
[2011/12/14 01:07:21] @ inecas joined channel #puppet
[2011/12/14 01:08:05] @ hco joined channel #puppet
[2011/12/14 01:08:06] @ Quit: hco-bitlbee-mba: Read error: Connection reset by peer
[2011/12/14 01:10:07] @ Quit: inecas: Client Quit
[2011/12/14 01:14:08] @ Quit: benkevan: Quit: Lost terminal
[2011/12/14 01:14:36] @ ckauhaus joined channel #puppet
[2011/12/14 01:15:26] @ jbraeuer joined channel #puppet
[2011/12/14 01:15:32] @ rdark joined channel #puppet
[2011/12/14 01:15:33] @ Quit: _flex: Remote host closed the connection
[2011/12/14 01:17:03] @ ohadlevy_ joined channel #puppet
[2011/12/14 01:17:21] @ ohadlevy_ is now known as ohadl
[2011/12/14 01:18:03] @ ali3n0 joined channel #puppet
[2011/12/14 01:19:55] @ Quit: tilgovi: Ping timeout: 276 seconds
[2011/12/14 01:20:21] @ Quit: jroid: Read error: Connection reset by peer
[2011/12/14 01:24:18] @ tilgovi joined channel #puppet
[2011/12/14 01:24:19] @ Quit: tilgovi: Changing host
[2011/12/14 01:24:19] @ tilgovi joined channel #puppet
[2011/12/14 01:25:14] <omry_> I`m re-creating my puppetmaster server on a different machine, and I`m having some certificate related issues
[2011/12/14 01:25:32] <omry_> at the moment I am just trying to make the new server connect to itself (puppet -> puppetmaster on new server)
[2011/12/14 01:25:54] @ Quit: ohadl: Quit: ZNC - http://znc.in
[2011/12/14 01:25:58] <omry_> currently I am running puppetmasterd, and the client fails with errors like Failed to generate additional resources using 'eval_generate: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed
[2011/12/14 01:27:25] <erthad> omry_: have you copied ssl dir from the old puppetmaster?
[2011/12/14 01:27:41] <omry_> erthad, yes
[2011/12/14 01:27:47] <omry_> althouh I did try to delete certain files
[2011/12/14 01:27:49] <fragfutter> certificate name missmatch
[2011/12/14 01:28:07] <omry_> could be, initially the server name was different
[2011/12/14 01:28:24] <omry_> although its now the same, and I thought I`ll let it rebuild new certs
[2011/12/14 01:28:37] <omry_> it should be possible to just copy the ssl dir if the server name is the same?
[2011/12/14 01:28:57] <henk> Well, examine your certs and see why it fails to verify?
[2011/12/14 01:29:16] <omry_> my built in ssl routines are not so good
[2011/12/14 01:29:42] @ fronlius joined channel #puppet
[2011/12/14 01:29:48] <henk> Lame excuse?
[2011/12/14 01:30:07] <henk> Or is that actually meant seriously?
[2011/12/14 01:30:08] <omry_> lame advice? :)
[2011/12/14 01:30:09] @ Kazuhiro joined channel #puppet
[2011/12/14 01:30:43] <henk> Yeah, I guess it was pretty obvious… sorry
[2011/12/14 01:31:09] <omry_> :)
[2011/12/14 01:31:24] <omry_> I`ll try to re-synchronize the ssl dir
[2011/12/14 01:31:25] <erthad> omry_: you have to keep the ssl dir and have hostnames, dns names and times be the same on the new puppetmaster for ssl handshake to work
[2011/12/14 01:31:47] <omry_> erthad, but not the same ip address, I hope
[2011/12/14 01:31:59] <erthad> lol, not of course =)
[2011/12/14 01:31:59] <omry_> hmm, dns names...
[2011/12/14 01:32:03] <omry_> that could be tricky
[2011/12/14 01:32:33] <omry_> changing the hosts file would not do?
[2011/12/14 01:32:44] <omry_> because I obvioulsy dont want to touch the dns before the server is ready
[2011/12/14 01:33:04] <btaitelb> Is there a way to set environment variables (PATH in my case) for the Package resource so that the provider will use them? I'm looking through the source code for provider and the gem provider, and I don't see anything obvious.
[2011/12/14 01:34:29] <henk> btaitelb: Doesn’t seem so, why do you need that?
[2011/12/14 01:35:00] <henk> omry_: What did the client connect to when it worked? What is it supposed to connect to now?
[2011/12/14 01:35:40] <omry_> henk, it connected to 'puppet', which in this case (per /etc/hosts) is localhost
[2011/12/14 01:35:45] <omry_> ah
[2011/12/14 01:35:50] <omry_> before it was a different server
[2011/12/14 01:35:53] <omry_> which I am trying to copy
[2011/12/14 01:35:55] <btaitelb> henk: I'm installing the gem capybara-webkit, which needs to know about /usr/lib/qt4/bin/. I could symlink the necessary executables to /usr/local/bin for now, but I feel it would be cleaner to have a path in the environment for the gem install command.
[2011/12/14 01:36:04] <omry_> okay, I thikn I`v got it
[2011/12/14 01:36:07] @ Kazuhiro left channel #puppet ()
[2011/12/14 01:36:11] <omry_> client runs without errors
[2011/12/14 01:36:18] @ Kazuhiro joined channel #puppet
[2011/12/14 01:36:25] @ Kazuhiro left channel #puppet ()
[2011/12/14 01:36:49] <henk> omry_: What was the problem?
[2011/12/14 01:37:16] <omry_> henk, I copied the ssl dir again (this time after the server had the same hostname as the original)
[2011/12/14 01:37:22] <erthad> omry_: tweaking /etc/hosts might do the trick
[2011/12/14 01:38:26] <omry_> ti did
[2011/12/14 01:38:28] <omry_> it
[2011/12/14 01:38:40] <omry_> I somehow managed to get an inconsistent ssl dir
[2011/12/14 01:42:55] @ sdog joined channel #puppet
[2011/12/14 01:42:59] @ Quit: arBmind: Quit: HydraIRC -> http://www.hydrairc.com <- The professional IRC Client :D
[2011/12/14 01:45:48] @ Quit: tilgovi: Remote host closed the connection
[2011/12/14 01:45:58] @ savid joined channel #puppet
[2011/12/14 01:46:30] @ mneedham joined channel #puppet
[2011/12/14 01:48:20] @ mogitaff joined channel #puppet
[2011/12/14 01:48:36] @ Quit: fronlius: Read error: Connection reset by peer
[2011/12/14 01:48:46] @ fronlius joined channel #puppet
[2011/12/14 01:50:05] <joe-mac> very nice, got my puppet setup upgraded to facter 1.6.4 and puppet 2.7.9... win
[2011/12/14 01:51:41] @ Kazuhiro joined channel #puppet
[2011/12/14 01:56:47] @ Quit: sdog: Changing host
[2011/12/14 01:56:47] @ sdog joined channel #puppet
[2011/12/14 01:59:53] @ ohadlevy_ joined channel #puppet
[2011/12/14 02:00:08] @ Quit: olevy: Quit: Leaving
[2011/12/14 02:01:32] @ danikov joined channel #puppet
[2011/12/14 02:02:32] @ Kazuhiro1 joined channel #puppet
[2011/12/14 02:02:52] @ jbraeuer_ joined channel #puppet
[2011/12/14 02:02:54] @ Quit: jbraeuer: Remote host closed the connection
[2011/12/14 02:02:54] @ jbraeuer_ is now known as jbraeuer
[2011/12/14 02:04:39] @ savid left channel #puppet ("Leaving")
[2011/12/14 02:04:40] @ Quit: wmoxam: Ping timeout: 244 seconds
[2011/12/14 02:06:56] @ sppadic joined channel #puppet
[2011/12/14 02:07:02] <sppadic> morning all
[2011/12/14 02:07:55] <sppadic> am a newbie to passenger and trying to get puppet working with passenger- i am getting 405 Put not allowed error for /production/certificate_request/node. when doing a puppetd --test --noop on the client box
[2011/12/14 02:12:49] @ Kazuhiro1 left channel #puppet ()
[2011/12/14 02:13:51] <sppadic> i have checked the /etc/puppet/auth.conf and have got standard access setup there
[2011/12/14 02:14:03] @ Quit: fronlius: Read error: Connection reset by peer
[2011/12/14 02:14:25] @ fronlius joined channel #puppet
[2011/12/14 02:14:59] @ Quit: fronlius: Read error: Connection reset by peer
[2011/12/14 02:15:03] @ fronlius_ joined channel #puppet
[2011/12/14 02:15:23] @ Quit: duritong: Remote host closed the connection
[2011/12/14 02:17:41] @ wmoxam joined channel #puppet
[2011/12/14 02:17:42] @ Quit: wmoxam: Changing host
[2011/12/14 02:17:42] @ wmoxam joined channel #puppet
[2011/12/14 02:20:50] @ Quit: daysmen: Quit: leaving
[2011/12/14 02:21:03] @ daysmen joined channel #puppet
[2011/12/14 02:21:21] @ Quit: nevyn: Ping timeout: 255 seconds
[2011/12/14 02:22:23] @ PedroGomes joined channel #puppet
[2011/12/14 02:22:23] <PedroGomes> c3
[2011/12/14 02:22:28] @ aglenday joined channel #puppet
[2011/12/14 02:23:03] <PedroGomes> Ups, my bad
[2011/12/14 02:23:20] @ nevyn joined channel #puppet
[2011/12/14 02:24:38] @ Quit: fpletz: Ping timeout: 252 seconds
[2011/12/14 02:24:50] @ ohadlevy_ is now known as ohadlevy
[2011/12/14 02:26:01] <PedroGomes> Hi, I have a puppet module where I execute 3 sed commands, but my last one seems to have no effect
[2011/12/14 02:26:03] <PedroGomes> command => 'sed -i "X /Y /" /etc/file | sed -i "s/#Z/W/" /etc/file | sed -i "s/P/Q/" /etc/file
[2011/12/14 02:26:25] @ fpletz joined channel #puppet
[2011/12/14 02:26:42] <PedroGomes> something like this, I missed the ' in the end
[2011/12/14 02:27:06] <PedroGomes> any ideas?
[2011/12/14 02:28:34] <PedroGomes> oh, if I put a " | ls " in the end, then the las sed command works…
[2011/12/14 02:29:18] <fragfutter> PedroGomes: your command makes no sense. you run sed inplace and pipe the output into the next command.
[2011/12/14 02:29:47] @ Quit: nevyn: Ping timeout: 240 seconds
[2011/12/14 02:31:30] <PedroGomes> fragfutter: bash semi-noob here, aren't they valid standalone sed commands ? How do I pipe them
[2011/12/14 02:31:49] @ nevyn joined channel #puppet
[2011/12/14 02:32:02] <fragfutter> PedroGomes: seriously i won't explain bash in a puppet channel.
[2011/12/14 02:32:14] @ duritong joined channel #puppet
[2011/12/14 02:32:15] @ Quit: duritong: Client Quit
[2011/12/14 02:33:29] @ duritong joined channel #puppet
[2011/12/14 02:33:30] @ Quit: duritong: Client Quit
[2011/12/14 02:33:56] <PedroGomes> fragfutter: thanks anyway, I just had 3 functional sed commands so I pipped them, din't remember the output… I will look into that than.
[2011/12/14 02:34:34] @ Quit: fpletz: Remote host closed the connection
[2011/12/14 02:34:38] @ fpletz joined channel #puppet
[2011/12/14 02:35:24] <_rc_> if you just want to run things in sequence, either use && (previous must succeed) or ; (don't care)
[2011/12/14 02:35:43] @ duritong joined channel #puppet
[2011/12/14 02:36:11] <_rc_> but also, stop writing shell scripts in puppet manifests; someone's going to get hurt
[2011/12/14 02:37:52] <pradeep> in puppet dahbaord , i my want to keep the reports only of last 10 days , is it possible ?
[2011/12/14 02:38:02] @ JayTaph joined channel #puppet
[2011/12/14 02:38:13] <PedroGomes> _rc_: thanks for the tip
[2011/12/14 02:38:59] <pradeep> is there any way , to restrict the reports to last 10 days only ?
[2011/12/14 02:40:20] @ savid joined channel #puppet
[2011/12/14 02:40:35] <_rc_> sounds like two different things; do you want to retain for 10 days, or display for 10 days?
[2011/12/14 02:41:01] <savid> Is there a way to collect virtual resources and have parameters passed to those resources as they're being collected?
[2011/12/14 02:42:08] <_rc_> pradeep: http://docs.puppetlabs.com/dashboard/manual/1.2/maintaining.html#cleaning-old-reports
[2011/12/14 02:42:53] @ cam left channel #puppet ()
[2011/12/14 02:43:27] <pradeep> i want to retain only 10 days and also display 10 days reports
[2011/12/14 02:43:49] @ Quit: nevyn: Read error: Operation timed out
[2011/12/14 02:44:40] <_rc_> savid: yeah, there's a funny syntax around it. Foo <| title == "foo" |> { extrafoo => "foofoo" }
[2011/12/14 02:45:22] <crayfishx> You know when you've done puppet for too long when that no longer looks "funny" :-)
[2011/12/14 02:46:23] @ nevyn joined channel #puppet
[2011/12/14 02:46:32] <_rc_> I've been using it for 4 years, I don't like that construct as it's really stops people understanding what you're doing
[2011/12/14 02:47:03] <savid> _rc_, ah, cool. thanks
[2011/12/14 02:50:12] <PedroGomes> _rc_: I'm curious about the shell scripts in puppet manifests; if it is a one time command, what is the "correct" way to execute it.
[2011/12/14 02:51:51] @ Quit: choonming: Quit: Leaving
[2011/12/14 02:52:37] @ Quit: JayTaph: Quit: JayTaph
[2011/12/14 02:53:41] <_rc_> PedroGomes: what do you mean by a one-time command?
[2011/12/14 02:54:55] @ Quit: viq: Ping timeout: 240 seconds
[2011/12/14 02:55:53] @ danblack joined channel #puppet
[2011/12/14 02:56:01] @ viq joined channel #puppet
[2011/12/14 02:56:14] @ Quit: csanchez: Quit: csanchez
[2011/12/14 02:56:43] <nkts> is there a way to force clients to update recipes from master server?
[2011/12/14 02:57:04] <PedroGomes> _rc_: maybe a little strange in the puppet context, but when I have configuration modules that are intended to run only once to configure something tor install something. If I have a small command, what do I do
[2011/12/14 02:57:10] @ _flex joined channel #puppet
[2011/12/14 02:57:40] @ Quit: nevyn: Ping timeout: 268 seconds
[2011/12/14 02:58:10] <_rc_> PedroGomes: it depends again on what you mean by a small command, but I'd assume it's something you use your orchestration tool for
[2011/12/14 02:58:21] @ PedroGomes__ joined channel #puppet
[2011/12/14 02:58:56] @ nevyn joined channel #puppet
[2011/12/14 03:01:40] @ Quit: PedroGomes: Ping timeout: 252 seconds
[2011/12/14 03:01:40] @ PedroGomes__ is now known as PedroGomes
[2011/12/14 03:01:48] @ csanchez joined channel #puppet
[2011/12/14 03:01:54] <tim|mac> are there any plans to clean stored resources consistently? now if you remove a resource while it's still in the database, it will stay in there forever...
[2011/12/14 03:01:55] <dcarley> PedroGomes: don't do it. shell scripts and one offs == bad.
[2011/12/14 03:02:33] @ Quit: savid: Quit: Leaving
[2011/12/14 03:02:34] <PedroGomes> my net fell, my bad. don't know if I lost some of _rc_ response
[2011/12/14 03:03:09] <PedroGomes> but the question is, what should I do then? create a shell script to execute 2 commands?
[2011/12/14 03:04:16] <pradeep> i want to delete all reports which are older than 10 days using this command "rake RAILS_ENV=production reports:prune upto=10 unit=days" , is it the right command ?
[2011/12/14 03:05:10] <_rc_> the question is what the heck are you trying to do? if you're pulling one-off updates to hosts then puppet isn't your tool and you need to add something else to your toolkit
[2011/12/14 03:09:21] <PedroGomes> _rc_: right, makes sense. But using foreman for system deployment it's easy to fell in the temptation of using puppet modules for configuration/installation purposes
[2011/12/14 03:10:12] <_rc_> it's fine to use puppet for deployment and configuration
[2011/12/14 03:10:27] <_rc_> ad-hoc shell scripts, not so much
[2011/12/14 03:14:12] <dcarley> PedroGomes: why not describe the specific problem you're trying to solve?
[2011/12/14 03:14:21] <PedroGomes> _rc_: ok, my module was for ssh configuration, then I need to create files and folder with specific users and permissions, and I was using sed commands to alter the sshd_config, but under puppet I should use template files I guess.
[2011/12/14 03:14:47] <dcarley> yes :)
[2011/12/14 03:14:59] <_rc_> absolutely
[2011/12/14 03:15:40] <dcarley> define the entire state of the file. rather than tweak certain parts non-deterministically.
[2011/12/14 03:15:43] @ londo_ joined channel #puppet
[2011/12/14 03:15:58] <_rc_> in-place edits are the worst configuration management pattern you can go to; it's much more configuration influence than management
[2011/12/14 03:17:02] @ Quit: pradeep: Quit: Page closed
[2011/12/14 03:19:17] @ Holocaine joined channel #puppet
[2011/12/14 03:22:15] @ Quit: jmccune: Ping timeout: 252 seconds
[2011/12/14 03:22:53] @ jmccune joined channel #puppet
[2011/12/14 03:22:54] @ Quit: jmccune: Changing host
[2011/12/14 03:22:54] @ jmccune joined channel #puppet
[2011/12/14 03:24:48] @ Quit: zul: Ping timeout: 252 seconds
[2011/12/14 03:24:48] @ Quit: Phibs: Ping timeout: 252 seconds
[2011/12/14 03:25:22] @ Phibs joined channel #puppet
[2011/12/14 03:25:48] <crayfishx> _rc_ / dcarley: and if you *must* do that, at least use augeas or something rather than arbitary sed scripts :)
[2011/12/14 03:25:53] @ sduchesneau joined channel #puppet
[2011/12/14 03:26:35] @ Chiku joined channel #puppet
[2011/12/14 03:26:40] @ Quit: Chiku: Read error: Connection reset by peer
[2011/12/14 03:27:18] @ Chiku joined channel #puppet
[2011/12/14 03:27:19] @ Quit: Chiku: Changing host
[2011/12/14 03:27:19] @ Chiku joined channel #puppet
[2011/12/14 03:27:27] @ Quit: danblack: Quit: solitude begins
[2011/12/14 03:29:07] @ Quit: BrickBag: Ping timeout: 240 seconds
[2011/12/14 03:29:12] @ BrickBag joined channel #puppet
[2011/12/14 03:30:48] @ Quit: sduchesneau: Ping timeout: 240 seconds
[2011/12/14 03:33:58] @ zul joined channel #puppet
[2011/12/14 03:35:02] @ st33v joined channel #puppet
[2011/12/14 03:38:42] @ Quit: PedroGomes: Ping timeout: 252 seconds
[2011/12/14 03:45:00] @ |Majestic| joined channel #puppet
[2011/12/14 03:45:18] @ Quit: nevyn: Ping timeout: 252 seconds
[2011/12/14 03:47:08] @ nevyn joined channel #puppet
[2011/12/14 03:47:59] @ Quit: basic`: Ping timeout: 244 seconds
[2011/12/14 03:49:40] @ Quit: Enf: Quit: Leaving
[2011/12/14 03:49:52] @ Quit: fpletz: Remote host closed the connection
[2011/12/14 03:49:57] @ fpletz joined channel #puppet
[2011/12/14 03:51:19] @ Quit: bobra: Ping timeout: 268 seconds
[2011/12/14 03:53:26] <erthad> hiall
[2011/12/14 03:53:53] <erthad> how do you guys deal with puppet running apt-get install hangs on ubuntu ec2 instances?
[2011/12/14 03:54:46] <erthad> I know it is dpkg's problem but rejecting installing packages through puppet because of that does not appeal to me very much :-\
[2011/12/14 03:56:10] @ Quit: Holocaine:
[2011/12/14 03:57:57] @ Quit: smintz: Remote host closed the connection
[2011/12/14 04:01:49] @ natewalck joined channel #puppet
[2011/12/14 04:04:11] @ Quit: nan0r: Quit: Leaving.
[2011/12/14 04:07:07] @ Quit: st33v: Quit: st33v
[2011/12/14 04:13:10] <robinbowes> Repeat after me: Always use absolute paths when specifying puppet class names
[2011/12/14 04:13:19] @ Quit: kubicek: Excess Flood
[2011/12/14 04:13:23] <robinbowes> Always use absolute paths when specifying puppet class names
[2011/12/14 04:13:24] @ kubicek joined channel #puppet
[2011/12/14 04:13:24] @ Quit: kubicek: Excess Flood
[2011/12/14 04:13:25] <robinbowes> Always use absolute paths when specifying puppet class names
[2011/12/14 04:13:27] <robinbowes> Always use absolute paths when specifying puppet class names
[2011/12/14 04:14:29] @ Quit: nevyn: Ping timeout: 252 seconds
[2011/12/14 04:15:01] @ kubicek joined channel #puppet
[2011/12/14 04:16:03] @ nevyn joined channel #puppet
[2011/12/14 04:16:58] @ johnston joined channel #puppet
[2011/12/14 04:20:49] @ mpdude joined channel #puppet
[2011/12/14 04:21:48] <mpdude> hi all
[2011/12/14 04:22:18] <mpdude> i have a class A that requires a class B to be completely applied before anything in A starts
[2011/12/14 04:22:35] <mpdude> now in class B, I include C
[2011/12/14 04:22:43] @ smintz joined channel #puppet
[2011/12/14 04:22:52] <mpdude> what do i have to express in B to get it right?
[2011/12/14 04:23:04] <mpdude> just class B { include C } ?
[2011/12/14 04:23:32] <henk> mpdude: Get what right?
[2011/12/14 04:23:55] <mpdude> if I have class A {} -> class B {}
[2011/12/14 04:24:02] <mpdude> and class B { include C }
[2011/12/14 04:24:21] <mpdude> oh, moment
[2011/12/14 04:24:25] <mpdude> i messed up the notation
[2011/12/14 04:24:35] <henk> IRC can take complete sentences in one line. Please make use of that feature. Only getting a few words at a time is pretty annoying…
[2011/12/14 04:24:38] @ Quit: nevyn: Ping timeout: 240 seconds
[2011/12/14 04:24:39] <robinbowes> This is why pastie is good
[2011/12/14 04:24:46] <mpdude> sorry
[2011/12/14 04:24:48] <mpdude> brb
[2011/12/14 04:24:53] <mpdude> (#fail again)
[2011/12/14 04:25:25] @ Quit: sppadic: Quit: Leaving
[2011/12/14 04:25:25] <robinbowes> eg. I have these classes: http://paste.the.actual.code.here
[2011/12/14 04:26:35] @ nevyn joined channel #puppet
[2011/12/14 04:27:09] <mpdude> http://pastie.org/3015389
[2011/12/14 04:27:28] <mpdude> which dependencies do i have to add to make sure stuff happens as i commented in the paste?
[2011/12/14 04:27:30] @ Quit: Maliuta: Read error: Connection reset by peer
[2011/12/14 04:27:53] <_rc_> if you need all of B before A, use require not include
[2011/12/14 04:28:07] <robinbowes> You need to look at ... ^^ whs
[2011/12/14 04:28:21] <_rc_> http://docs.puppetlabs.com/references/stable/function.html#require
[2011/12/14 04:30:07] <mpdude> that is, if I require C in B and require B in A, anyone using Class['A'] -> stuff can be sure that in "stuff" A, B and C have been applied?
[2011/12/14 04:30:40] <_rc_> train them not to care.
[2011/12/14 04:31:11] <mpdude> yes, that's what i want to. They just know when writing "stuff" they need the A feature
[2011/12/14 04:31:26] <mpdude> (say, A delivers a command they need)
[2011/12/14 04:32:42] <_rc_> what happens when you try it?
[2011/12/14 04:32:51] @ car|0s joined channel #puppet
[2011/12/14 04:33:35] <mpdude> right now with include + require metaparameter, i get dependency cycles or not depending on puppet version (?)
[2011/12/14 04:33:52] @ Quit: fcami: Ping timeout: 268 seconds
[2011/12/14 04:33:52] <mpdude> two different masters, different agent versions
[2011/12/14 04:34:04] <mpdude> i'll try with require and brb
[2011/12/14 04:34:39] <_rc_> you're still going to have to worry about dependency cycles
[2011/12/14 04:34:41] @ Maliuta joined channel #puppet
[2011/12/14 04:35:50] @ KristianDK joined channel #puppet
[2011/12/14 04:42:52] @ Quit: jodok: Ping timeout: 240 seconds
[2011/12/14 04:43:04] @ fcami joined channel #puppet
[2011/12/14 04:45:53] @ Quit: fpletz: Remote host closed the connection
[2011/12/14 04:45:58] @ fpletz joined channel #puppet
[2011/12/14 04:48:03] @ ken_barber joined channel #puppet
[2011/12/14 04:49:49] @ nan0r joined channel #puppet
[2011/12/14 04:53:02] @ Quit: AshishH: Remote host closed the connection
[2011/12/14 04:53:39] @ Quit: MattyM: Remote host closed the connection
[2011/12/14 04:56:10] @ inecas joined channel #puppet
[2011/12/14 04:57:58] @ JayTaph joined channel #puppet
[2011/12/14 04:58:16] @ Quit: nevyn: Ping timeout: 240 seconds
[2011/12/14 05:00:29] @ nevyn joined channel #puppet
[2011/12/14 05:06:12] @ ben_duyujie joined channel #puppet
[2011/12/14 05:06:17] @ Quit: fpletz: Remote host closed the connection
[2011/12/14 05:06:22] @ fpletz joined channel #puppet
[2011/12/14 05:08:01] @ Quit: skullone: Remote host closed the connection
[2011/12/14 05:12:16] @ zorg1 joined channel #puppet
[2011/12/14 05:15:30] @ cliff-hm joined channel #puppet
[2011/12/14 05:15:48] @ Quit: henk: Ping timeout: 268 seconds
[2011/12/14 05:16:05] @ Majestic joined channel #puppet
[2011/12/14 05:18:04] @ tmclaugh joined channel #puppet
[2011/12/14 05:18:48] @ Quit: Ratler: Ping timeout: 252 seconds
[2011/12/14 05:19:15] @ Quit: Vasik|work: Quit: Leaving
[2011/12/14 05:19:25] @ Quit: |Majestic|: Ping timeout: 252 seconds
[2011/12/14 05:23:32] @ choonming joined channel #puppet
[2011/12/14 05:23:42] @ countskm_ joined channel #puppet
[2011/12/14 05:28:04] @ Quit: IndyMichaelB: Quit: IndyMichaelB
[2011/12/14 05:34:17] @ blentz joined channel #puppet
[2011/12/14 05:36:48] @ Fecn joined channel #puppet
[2011/12/14 05:37:18] @ mcarpent joined channel #puppet
[2011/12/14 05:37:37] @ marczak joined channel #puppet
[2011/12/14 05:37:53] <Fecn> Hi puppet folks. I'm setting up puppet for the fourth time today... every time I set up a puppetmaster, it seems to be different.... Today I've hit a problem with passenger... it is telling me "no such file to load -- puppet/application/puppetmasterd" - Anyone know what I've done wrong this time?
[2011/12/14 05:41:34] @ Quit: kubicek: Excess Flood
[2011/12/14 05:41:39] @ kubicek joined channel #puppet
[2011/12/14 05:41:39] @ Quit: kubicek: Excess Flood
[2011/12/14 05:43:08] @ kubicek joined channel #puppet
[2011/12/14 05:44:40] @ Quit: kubicek: Excess Flood
[2011/12/14 05:44:45] @ kubicek joined channel #puppet
[2011/12/14 05:44:45] @ Quit: kubicek: Excess Flood
[2011/12/14 05:44:46] @ Quit: KristianDK: Quit: KristianDK
[2011/12/14 05:45:28] @ Quit: mneedham: Remote host closed the connection
[2011/12/14 05:45:40] @ mneedham joined channel #puppet
[2011/12/14 05:46:08] @ kubicek joined channel #puppet
[2011/12/14 05:46:40] <countskm_> don't be different ;-) sorry just had to
[2011/12/14 05:46:46] @ Quit: skm: Remote host closed the connection
[2011/12/14 05:47:20] @ skm joined channel #puppet
[2011/12/14 05:50:20] @ Quit: cliff-hm: Ping timeout: 252 seconds
[2011/12/14 05:50:46] <ohadlevy> masterzen: ping
[2011/12/14 05:50:50] @ easel joined channel #puppet
[2011/12/14 05:50:53] <ohadlevy> masterzen: which hotel did we stay last time for fosdem?
[2011/12/14 05:50:58] <ohadlevy> masterzen: in case you remember :)
[2011/12/14 05:51:10] <masterzen> ohadlevy: the same I'm staying at this year :)
[2011/12/14 05:51:21] <ohadlevy> masterzen: I knew I could count on you :)
[2011/12/14 05:51:22] <masterzen> ohadlevy: it was the Novotel
[2011/12/14 05:52:11] <masterzen> ohadlevy: I'm lookint its name, I believe it"s the tour noire
[2011/12/14 05:53:11] <masterzen> ohadlevy: yep it's the: Novotel Brussels Centre Tour Noire
[2011/12/14 05:53:37] <ohadlevy> masterzen: thanks :)
[2011/12/14 05:53:56] <masterzen> ohadlevy: and it's more expensive this year than it was last year (about extra 10€/night)
[2011/12/14 05:54:20] <masterzen> ohadlevy: you're gonna book at the same place?
[2011/12/14 05:54:41] <ohadlevy> masterzen: if all goes according to plans :)
[2011/12/14 05:54:54] <masterzen> ohadlevy: that's great!
[2011/12/14 05:55:04] @ IndyMichaelB joined channel #puppet
[2011/12/14 05:57:26] @ CoaxVex joined channel #puppet
[2011/12/14 05:59:00] @ jodok joined channel #puppet
[2011/12/14 05:59:01] @ Quit: jodok: Changing host
[2011/12/14 05:59:01] @ jodok joined channel #puppet
[2011/12/14 06:00:33] <CoaxVex> I'm having some weird problems with puppetmaster not being able to read certain files
[2011/12/14 06:00:49] <CoaxVex> "Failed to retrieve current state of resource: Could not retrieve file metadata for puppet"
[2011/12/14 06:00:57] <CoaxVex> the weird thing is that it only happens every so often
[2011/12/14 06:01:07] @ astrostl joined channel #puppet
[2011/12/14 06:01:07] <CoaxVex> http://pastebin.com/gKpadyY1
[2011/12/14 06:01:17] @ Quit: mcarpent: Ping timeout: 244 seconds
[2011/12/14 06:01:22] <CoaxVex> that's the output of running puppetd --test manually a couple of times
[2011/12/14 06:01:31] <CoaxVex> has anyone ever seen this before?
[2011/12/14 06:01:51] <zaarg> sounds webrick performance related
[2011/12/14 06:01:51] <CoaxVex> it's puppet 0.25.5 on Centos 5
[2011/12/14 06:02:03] @ Quit: nevyn: Ping timeout: 268 seconds
[2011/12/14 06:02:08] <zaarg> i think it's about this point people tell you to try puppet behind mongrel or passenger
[2011/12/14 06:02:21] <CoaxVex> is that the builtin http server?
[2011/12/14 06:02:27] <zaarg> yup
[2011/12/14 06:02:43] @ uphillian joined channel #puppet
[2011/12/14 06:02:59] <Evolution> might also consider updating puppet. 0.25.5 has... personality issues.
[2011/12/14 06:03:08] <zaarg> yeah that too
[2011/12/14 06:03:14] <CoaxVex> yeah, but I'm using "official" rpm's
[2011/12/14 06:03:20] <CoaxVex> I think it comes from epel
[2011/12/14 06:03:32] @ Quit: jodok: Ping timeout: 252 seconds
[2011/12/14 06:03:32] <Evolution> epel should be at 2.6 I believe.
[2011/12/14 06:03:41] <CoaxVex> for centos 5?
[2011/12/14 06:03:41] <Evolution> I know they are for el6... not sure about 5.
[2011/12/14 06:03:46] @ nevyn joined channel #puppet
[2011/12/14 06:03:58] @ Quit: lkoranda: Quit: Ex-Chat
[2011/12/14 06:03:58] <CoaxVex> anyway, the load on the puppetmaster seems quite low
[2011/12/14 06:04:13] <CoaxVex> is it a disk I/O bottleneck then?
[2011/12/14 06:04:20] <Evolution> yep. they are for 5 as well.
[2011/12/14 06:04:24] <Evolution> http://download.fedora.redhat.com/pub/epel/5/x86_64/repoview/puppet.html
[2011/12/14 06:04:47] <CoaxVex> ah, I installed before 2011-10-23
[2011/12/14 06:04:50] @ cewe-galau joined channel #puppet
[2011/12/14 06:05:00] <CoaxVex> anyway, just noticed the box is swapping
[2011/12/14 06:05:13] <CoaxVex> so that might make disk I/O slow
[2011/12/14 06:05:18] <CoaxVex> I'll see if I can give it more memory
[2011/12/14 06:05:57] <CoaxVex> maybe that'll be enough :-)
[2011/12/14 06:06:55] @ KristianDK joined channel #puppet
[2011/12/14 06:11:16] <zaarg> i thought webricks limitations were more to do with the way it does threading...
[2011/12/14 06:12:41] @ Quit: DJClean: Read error: Operation timed out
[2011/12/14 06:13:18] @ mcarpent joined channel #puppet
[2011/12/14 06:13:30] @ labrown joined channel #puppet
[2011/12/14 06:14:14] @ Quit: nevyn: Ping timeout: 245 seconds
[2011/12/14 06:14:26] <CoaxVex> so it'll need more cpu's then you think?
[2011/12/14 06:14:40] <CoaxVex> anyway, I've cleared the swap and it's not helping
[2011/12/14 06:14:53] <CoaxVex> and there's no io problem either
[2011/12/14 06:14:54] @ Quit: skm: Max SendQ exceeded
[2011/12/14 06:15:05] <CoaxVex> well, nothing that iostat can detect anyway
[2011/12/14 06:15:10] @ DJClean joined channel #puppet
[2011/12/14 06:15:29] @ skm joined channel #puppet
[2011/12/14 06:15:41] @ Demosthenes joined channel #puppet
[2011/12/14 06:16:18] @ nevyn joined channel #puppet
[2011/12/14 06:17:31] @ Quit: marczak: Ping timeout: 252 seconds
[2011/12/14 06:18:01] <Volcane> run with --summary or maybe its --summarize - anyway that tells you what part is slow
[2011/12/14 06:18:07] <Volcane> on the puppet client side
[2011/12/14 06:18:58] <tim|mac> are there any plans to clean stored resources consistently? now if you remove a resource while it's still in the database, it will stay in there forever...
[2011/12/14 06:19:34] @ mapu joined channel #puppet
[2011/12/14 06:19:43] <Volcane> tim|mac: hmm, just removing the resource from the .pp file leaves it in the db? that sounds like a bug
[2011/12/14 06:20:06] @ JayTaph left channel #puppet ()
[2011/12/14 06:20:07] <Volcane> tim|mac: a node that stops checking in stays but resources that are no longer managed shouldnt remain in the db after those nodes ran
[2011/12/14 06:20:42] <tim|mac> currently you need to explicitely ensure => absent them
[2011/12/14 06:21:00] <Volcane> hmm, well maybe exported resources suck more than even i could imagine :P
[2011/12/14 06:21:12] <Volcane> cos just removing a resource should remove it from the db
[2011/12/14 06:21:22] <Volcane> what it wont do is go and purge them from nodes that collected those resources
[2011/12/14 06:21:31] <Volcane> in line with the normal puppet behavior for any resource that becomes unmanaged
[2011/12/14 06:21:32] * tim|mac was hoping someone would change the code so it would remove the entire node and all its resources and add them anew in one transaction or something
[2011/12/14 06:21:42] <Volcane> unless you have specific purge behaviors with the resources resource
[2011/12/14 06:22:42] <tim|mac> talking about exported resources, indeed
[2011/12/14 06:23:16] <tim|mac> if a host no longer exports it, it remains in the database
[2011/12/14 06:23:28] <Volcane> thats really terrible behavior then
[2011/12/14 06:23:29] @ Quit: nevyn: Ping timeout: 276 seconds
[2011/12/14 06:23:36] <Volcane> I'd imagine its a bug
[2011/12/14 06:23:37] <tim|mac> that's what we thought :)
[2011/12/14 06:24:22] @ Quit: larstobi: Quit: Leaving.
[2011/12/14 06:24:30] <CoaxVex> Volcane: http://pastebin.com/4htkgdvf Nothing really showing a problem
[2011/12/14 06:24:52] @ nevyn joined channel #puppet
[2011/12/14 06:24:54] @ Quit: cewe-galau:
[2011/12/14 06:25:12] <Volcane> CoaxVex: right sorry my bad - thought you were having performance issues, didnt look at the earlier pastie
[2011/12/14 06:25:25] <Volcane> CoaxVex: install passenger :)
[2011/12/14 06:25:57] @ brandon_dacrib joined channel #puppet
[2011/12/14 06:26:52] @ Quit: zul: Read error: Connection reset by peer
[2011/12/14 06:27:47] <CoaxVex> Volcane: I don't really understand the problem that passenger would solve
[2011/12/14 06:27:55] @ IndyMichaelB_ joined channel #puppet
[2011/12/14 06:28:11] <CoaxVex> it's just to replace the http serving, right?
[2011/12/14 06:28:19] <Volcane> CoaxVex: how many nodes do you have at the moment?
[2011/12/14 06:28:50] <CoaxVex> 118
[2011/12/14 06:28:55] <Volcane> the built in webserver is a development webserver, designed for the kind of workloads of just a few machines. and it has other issues too with concurrency etc
[2011/12/14 06:29:08] @ Quit: IndyMichaelB: Read error: Operation timed out
[2011/12/14 06:29:08] @ IndyMichaelB_ is now known as IndyMichaelB
[2011/12/14 06:29:29] <Volcane> passenger is a scalable webserver designed to handle thousands of machines
[2011/12/14 06:30:43] <CoaxVex> well, I'd like to avoid having to overhaul the config if possible
[2011/12/14 06:30:52] <CoaxVex> do you think it would help to give the puppetmaster more resources?
[2011/12/14 06:31:04] @ zul joined channel #puppet
[2011/12/14 06:31:04] <CoaxVex> it's a virtual one, so I could give it more cores or memory
[2011/12/14 06:33:19] @ dnjaramba joined channel #puppet
[2011/12/14 06:33:42] <zaarg> webrick uses ruby threading that doesn't scale across processors iirc :)
[2011/12/14 06:34:40] <CoaxVex> pff, that sucks :/
[2011/12/14 06:34:43] <zaarg> it don't work that way
[2011/12/14 06:34:56] <zaarg> you're going to have to solve the problem rather than avoid it ;)
[2011/12/14 06:35:15] <CoaxVex> well, the platform went live yesterday
[2011/12/14 06:35:17] <tim|mac> when using --summarize, does Config Retrieval include the request for sourced files from the puppetmaster? i seem to remember that sourced files are retrieved by the client when needed, not during the catalog transfer
[2011/12/14 06:35:42] <zaarg> the change will be mostly transparent to your clients if you plan it right i would think
[2011/12/14 06:35:50] @ Quit: nevyn: Ping timeout: 252 seconds
[2011/12/14 06:36:32] <CoaxVex> yeah, but that'll take more time than throwing resources at it :-)
[2011/12/14 06:36:45] @ d3c joined channel #puppet
[2011/12/14 06:36:52] <d3c> will recurse => true make puppet work like mkdir -p ?
[2011/12/14 06:37:00] @ daks joined channel #puppet
[2011/12/14 06:37:04] <tim|mac> d3c: no
[2011/12/14 06:37:06] <_rc_> d3c: no
[2011/12/14 06:37:31] <d3c> any way to do this?
[2011/12/14 06:37:46] <tim|mac> d3c: exec
[2011/12/14 06:38:12] <fragfutter> #86
[2011/12/14 06:38:13] <gepetto> fragfutter: #86 is http://projects.puppetlabs.com/issues/show/86 "Puppet - Feature #86: Directory creation fails if parent directory does not exist. It has a status of Rejected and is assigned to -"
[2011/12/14 06:38:33] <daks> hello
[2011/12/14 06:38:39] @ Quit: ckauhaus: Quit: Leaving.
[2011/12/14 06:38:52] <daks> on debian i'm wonder how to manage virtual packages
[2011/12/14 06:39:09] <raphink> d3c: you cannot assume the rights for recursive directories
[2011/12/14 06:39:28] <daks> i can make a package { "sometingvirtual": ensure => installed } and it works great installing the real packages
[2011/12/14 06:39:54] <daks> but puppet client fills my logs with "ensure changed 'purged' to 'present'"
[2011/12/14 06:40:05] <d3c> raphink: why not?
[2011/12/14 06:40:11] <daks> i think everytime it runs it tryes to reinstall
[2011/12/14 06:40:35] <daks> any idea on how to manage this, if posible
[2011/12/14 06:40:39] <daks> ?
[2011/12/14 06:40:40] <_rc_> daks: virtual packages the debian thing? as opposed to virtual package resources?
[2011/12/14 06:41:08] <daks> _rc_: yes the debian thing, dont know about the other
[2011/12/14 06:41:08] @ Quit: IndyMichaelB: Read error: Connection reset by peer
[2011/12/14 06:41:24] @ IndyMichaelB joined channel #puppet
[2011/12/14 06:41:56] @ IndyMichaelB_ joined channel #puppet
[2011/12/14 06:41:57] @ Quit: IndyMichaelB: Read error: Connection reset by peer
[2011/12/14 06:41:57] @ IndyMichaelB_ is now known as IndyMichaelB
[2011/12/14 06:42:19] <_rc_> daks: there's no way to get round that then, beyond not using a virtual package and instead using a concrete one
[2011/12/14 06:42:28] <zaarg> that sounds like a problem with the apt provider on squeeze
[2011/12/14 06:42:39] <daks> ok,
[2011/12/14 06:42:45] @ nevyn joined channel #puppet
[2011/12/14 06:43:03] <daks> zaarg: hum, do you mean the problem do not exist on squeeze+1 ?
[2011/12/14 06:43:31] <daks> i'm running on squeeze put with puppet 2.6 from backports
[2011/12/14 06:43:32] <zaarg> i mean i've seen similar things. i'd look at the provider and see what it's doing.
[2011/12/14 06:43:48] <daks> i thought i could fill a bug
[2011/12/14 06:44:24] @ gniks joined channel #puppet
[2011/12/14 06:44:58] <Fecn> What is the approved version of passenger to use with puppet-2.6.12 ? I'm getting a '405 Method Not Allowed' with passenger-3.0.11
[2011/12/14 06:45:39] @ Quit: mcarpent: Quit: Thanks for the fish.
[2011/12/14 06:46:24] @ Quit: agagag: Ping timeout: 255 seconds
[2011/12/14 06:47:35] <zaarg> daks: after trying a few things it seems like a virtual package isn't marked as installed by dpkg
[2011/12/14 06:47:42] <zaarg> which would be consistent with what you're seeing
[2011/12/14 06:47:56] <zaarg> so short of fixing debian, you're going to have better luck using a concrete package
[2011/12/14 06:48:09] <zaarg> which problems makes more sense anyway
[2011/12/14 06:48:12] <daks> ...
[2011/12/14 06:48:22] <zaarg> s/problems/probably/
[2011/12/14 06:48:24] <daks> so it's a problem of apt not a puppet problem
[2011/12/14 06:48:33] <_rc_> yes
[2011/12/14 06:48:41] <daks> f***
[2011/12/14 06:48:56] <daks> ok thanks guys
[2011/12/14 06:49:16] @ Quit: nevyn: Ping timeout: 240 seconds
[2011/12/14 06:49:20] <raphink> d3c: say, it's an implementation choice
[2011/12/14 06:49:21] <_rc_> you say apt-get install somepackage and it install someotherpackage, dpkg queries about somepackage then say 'no, don't have that'
[2011/12/14 06:49:23] <raphink> (imo)
[2011/12/14 06:50:00] @ Quit: IndyMichaelB: Remote host closed the connection
[2011/12/14 06:50:14] @ IndyMichaelB joined channel #puppet
[2011/12/14 06:51:46] @ nevyn joined channel #puppet
[2011/12/14 06:53:18] @ Quit: skm: Quit: Computer has gone to sleep.
[2011/12/14 06:53:39] @ Quit: Evolution: Quit: I hate comcast
[2011/12/14 06:54:16] @ Quit: kermit: Quit: Leaving.
[2011/12/14 06:54:43] @ kermit joined channel #puppet
[2011/12/14 06:55:12] @ lborda joined channel #puppet
[2011/12/14 06:55:30] @ Evolution joined channel #puppet
[2011/12/14 06:56:40] @ duerF joined channel #puppet
[2011/12/14 06:57:18] @ Quit: nevyn: Ping timeout: 276 seconds
[2011/12/14 06:57:41] @ kolla joined channel #puppet
[2011/12/14 06:57:59] @ Quit: ken_barber: Quit: Leaving.
[2011/12/14 06:58:07] @ Quit: mapu: Quit: mapu
[2011/12/14 06:58:10] @ nevyn joined channel #puppet
[2011/12/14 07:01:20] @ freezey joined channel #puppet
[2011/12/14 07:01:45] <d3c> raphink: yeah
[2011/12/14 07:02:01] @ Quit: KristianDK: Quit: KristianDK
[2011/12/14 07:02:26] @ Quit: Stenbryggen: Quit: Leaving.
[2011/12/14 07:02:26] <d3c> hm, if I specify a variable in site.pp, how may I reference this? just doing $foo will make puppet complain about dynamic lookups
[2011/12/14 07:02:31] @ Quit: DJClean: Read error: Operation timed out
[2011/12/14 07:02:35] @ KristianDK joined channel #puppet
[2011/12/14 07:02:48] <d3c> (reference it somewhere else, sorry. e.g. in a class)
[2011/12/14 07:03:05] @ ldlework joined channel #puppet
[2011/12/14 07:03:24] <_rc_> depends on the scope $::foo as long as it's not in a node blode
[2011/12/14 07:03:27] <_rc_> *block
[2011/12/14 07:04:39] @ Quit: zorg1: Ping timeout: 255 seconds
[2011/12/14 07:04:43] @ mcarpent joined channel #puppet
[2011/12/14 07:04:57] <d3c> _rc_: it is. I define $foo in node default. I actually did $::foo until now but just realized it doesn't work in this case.
[2011/12/14 07:06:05] <_rc_> if it's in node scope you can't get at it, because node scope is a strange shadowy hinterscope
[2011/12/14 07:06:34] <d3c> _rc_: ok, will just move it outside the node scope then. thanks for clarifying it.
[2011/12/14 07:07:25] @ Quit: KristianDK: Ping timeout: 268 seconds
[2011/12/14 07:08:20] @ Quit: jaydg: Remote host closed the connection
[2011/12/14 07:08:26] <d3c> _rc_: actually... if I only have a node default, couldn't I just move everything in site.pp to the top scope and have an empty node default { } ?
[2011/12/14 07:08:57] @ Quit: ben_duyujie: Remote host closed the connection
[2011/12/14 07:09:19] <_rc_> you don't even need the node default {} in that case I suspect
[2011/12/14 07:09:45] @ Quit: ghg: Quit: Computer has gone to sleep.
[2011/12/14 07:10:06] <d3c> _rc_: probably not. will test it.
[2011/12/14 07:11:07] @ marrusl joined channel #puppet
[2011/12/14 07:11:34] @ jp_mens joined channel #puppet
[2011/12/14 07:11:35] @ Quit: nevyn: Ping timeout: 276 seconds
[2011/12/14 07:11:56] @ cliff-hm joined channel #puppet
[2011/12/14 07:11:56] @ Fecn left channel #puppet ()
[2011/12/14 07:12:30] @ Quit: jim`: Ping timeout: 255 seconds
[2011/12/14 07:12:47] @ nevyn joined channel #puppet
[2011/12/14 07:12:53] @ jim` joined channel #puppet
[2011/12/14 07:13:11] @ DJClean joined channel #puppet
[2011/12/14 07:14:17] @ henk joined channel #puppet
[2011/12/14 07:14:33] @ Quit: marrusl: Client Quit
[2011/12/14 07:14:37] @ henk is now known as Guest41423
[2011/12/14 07:15:54] <d3c> _rc_: just tried it. no need for node default. great, thanks
[2011/12/14 07:16:20] @ Quit: jp_mens: Client Quit
[2011/12/14 07:16:44] @ zorg1 joined channel #puppet
[2011/12/14 07:17:15] @ sduchesneau joined channel #puppet
[2011/12/14 07:17:50] @ Quit: mpdude: Read error: Connection reset by peer
[2011/12/14 07:18:49] @ Ratler joined channel #puppet
[2011/12/14 07:19:11] @ KristianDK joined channel #puppet
[2011/12/14 07:19:18] @ mpdude joined channel #puppet
[2011/12/14 07:20:22] @ Quit: Wolfspyre: Quit: Leaving.
[2011/12/14 07:21:18] @ eshamow joined channel #puppet
[2011/12/14 07:23:08] @ fixxxermet left channel #puppet ()
[2011/12/14 07:23:34] @ Quit: kenperkins: Quit: Computer has gone to sleep.
[2011/12/14 07:24:04] @ Quit: sduchesneau: Quit: Leaving
[2011/12/14 07:24:29] @ kelseyhightower joined channel #puppet
[2011/12/14 07:26:56] @ ckauhaus joined channel #puppet
[2011/12/14 07:27:39] @ Quit: _flex: Remote host closed the connection
[2011/12/14 07:28:17] @ Quit: ckauhaus: Client Quit
[2011/12/14 07:28:36] @ ckauhaus joined channel #puppet
[2011/12/14 07:28:42] @ fixxxermet joined channel #puppet
[2011/12/14 07:28:57] <fixxxermet> Does puppet have a module for adding to /etc/crontab, as opposed to a user's crontab?
[2011/12/14 07:29:47] <agaffney> not directly
[2011/12/14 07:29:59] <agaffney> but you can likely manage files in /etc/crontab.d
[2011/12/14 07:30:03] <agaffney> or some equivelant directory
[2011/12/14 07:31:32] @ cwarden joined channel #puppet
[2011/12/14 07:34:16] @ seanh-ansca joined channel #puppet
[2011/12/14 07:34:26] @ zwi joined channel #puppet
[2011/12/14 07:36:51] @ |Majestic| joined channel #puppet
[2011/12/14 07:37:09] @ Quit: kelseyhightower: Ping timeout: 245 seconds
[2011/12/14 07:37:18] @ ckauhaus1 joined channel #puppet
[2011/12/14 07:37:55] @ neonflux joined channel #puppet
[2011/12/14 07:38:30] @ Quit: ckauhaus: Ping timeout: 248 seconds
[2011/12/14 07:39:14] @ Quit: Majestic: Ping timeout: 245 seconds
[2011/12/14 07:39:23] @ Stenbryggen joined channel #puppet
[2011/12/14 07:39:38] @ Quit: KristianDK: Ping timeout: 240 seconds
[2011/12/14 07:40:05] @ larstobi joined channel #puppet
[2011/12/14 07:41:40] @ Quit: kolla: Remote host closed the connection
[2011/12/14 07:42:26] @ marczak joined channel #puppet
[2011/12/14 07:43:19] @ ghg joined channel #puppet
[2011/12/14 07:44:17] @ Quit: ghg: Client Quit
[2011/12/14 07:45:24] @ Fthis joined channel #puppet
[2011/12/14 07:46:17] @ Quit: hco: Quit: hco
[2011/12/14 07:46:44] @ hco-bitlbee-mba joined channel #puppet
[2011/12/14 07:47:20] @ Quit: nevyn: Ping timeout: 276 seconds
[2011/12/14 07:48:23] @ Quit: nottings: Quit: Leaving
[2011/12/14 07:48:43] @ nevyn joined channel #puppet
[2011/12/14 07:51:13] @ jonhattan_ joined channel #puppet
[2011/12/14 07:52:15] @ Quit: hco-bitlbee-mba: Quit: hco-bitlbee-mba
[2011/12/14 07:52:34] @ dan__t joined channel #puppet
[2011/12/14 07:53:12] @ lak1 joined channel #puppet
[2011/12/14 07:53:26] @ Quit: freezey: Quit: freezey
[2011/12/14 07:53:55] @ Guest41423 is now known as henk
[2011/12/14 07:53:56] @ spiette joined channel #puppet
[2011/12/14 07:53:58] @ nottings_ joined channel #puppet
[2011/12/14 07:53:58] @ nottings joined channel #puppet
[2011/12/14 07:55:46] @ Quit: mpdude: Ping timeout: 252 seconds
[2011/12/14 07:55:46] @ Quit: nevyn: Ping timeout: 276 seconds
[2011/12/14 07:56:14] @ MattyM joined channel #puppet
[2011/12/14 07:57:01] @ Wolfspyre joined channel #puppet
[2011/12/14 07:57:12] @ nevyn joined channel #puppet
[2011/12/14 07:58:21] @ freezey joined channel #puppet
[2011/12/14 07:58:32] @ ghg joined channel #puppet
[2011/12/14 07:58:34] @ Quit: sdog: Remote host closed the connection
[2011/12/14 08:02:51] @ mpdude joined channel #puppet
[2011/12/14 08:03:20] <freezey> fixxxermet: easiest way is to have puppet manage the files for cron.hourly etc
[2011/12/14 08:04:27] @ Quit: ckauhaus1: Ping timeout: 252 seconds
[2011/12/14 08:05:40] @ Quit: nevyn: Ping timeout: 240 seconds
[2011/12/14 08:05:46] <Callek> agaffney: correction: /etc/cron.d/
[2011/12/14 08:06:33] <Callek> fixxxermet: you can directly replace the crontab file if you want but not recommended, so I would either use the crontab{} resource, or add files to /etc/cron.d/* (I personally use the latter)
[2011/12/14 08:07:07] <Callek> (just incase it matters I use the latter on RHEL 5/6 systems, namely fedora and centOS)
[2011/12/14 08:07:44] @ nevyn joined channel #puppet
[2011/12/14 08:07:48] @ jodok joined channel #puppet
[2011/12/14 08:09:38] @ riha left channel #puppet ()
[2011/12/14 08:10:20] @ rcrowley joined channel #puppet
[2011/12/14 08:15:12] @ Quit: verwilst: Quit: Ex-Chat
[2011/12/14 08:15:27] @ Quit: nevyn: Ping timeout: 252 seconds
[2011/12/14 08:16:12] @ ZummiG777 joined channel #puppet
[2011/12/14 08:17:18] @ nevyn joined channel #puppet
[2011/12/14 08:19:09] @ Quit: nevyn: Read error: Connection reset by peer
[2011/12/14 08:19:14] @ Quit: mpdude: Ping timeout: 244 seconds
[2011/12/14 08:19:56] <ZummiG777> Question: I'm trying to use a File[""] configuration in a subclass to modify the content => template() value in the superclass. I would like to append the subclass' content template to be the initial template content. Is it possible to do this without having to put the superclass's template value in the subclass'? Can I magically append the new content requirement in the subclass?
[2011/12/14 08:20:18] <Volcane> cant append content
[2011/12/14 08:20:33] <ZummiG777> Thanks Volcane!
[2011/12/14 08:20:59] @ mpdude joined channel #puppet
[2011/12/14 08:22:19] @ jim80net joined channel #puppet
[2011/12/14 08:25:05] @ nevyn joined channel #puppet
[2011/12/14 08:25:37] @ kelseyhightower joined channel #puppet
[2011/12/14 08:25:41] <agaffney> Callek: yes, that one :)
[2011/12/14 08:26:46] @ newtMcKerr joined channel #puppet
[2011/12/14 08:26:47] @ Quit: newtMcKerr: Changing host
[2011/12/14 08:26:47] @ newtMcKerr joined channel #puppet
[2011/12/14 08:27:19] @ jonhattan_ is now known as jonhattan
[2011/12/14 08:27:26] @ st33v joined channel #puppet
[2011/12/14 08:28:24] @ Quit: mogitaff: Quit: Leaving
[2011/12/14 08:28:32] @ Quit: the_ramink: Ping timeout: 244 seconds
[2011/12/14 08:29:53] @ agagag joined channel #puppet
[2011/12/14 08:30:03] @ Quit: EL84: Quit: Leaving.
[2011/12/14 08:30:14] @ Quit: nevyn: Ping timeout: 276 seconds
[2011/12/14 08:30:39] @ Quit: mpdude: Remote host closed the connection
[2011/12/14 08:30:56] @ nevyn joined channel #puppet
[2011/12/14 08:31:06] @ langworthy joined channel #puppet
[2011/12/14 08:31:49] <christophermlee> .
[2011/12/14 08:32:26] @ Quit: d3c: Ping timeout: 252 seconds
[2011/12/14 08:32:27] @ kenperkins joined channel #puppet
[2011/12/14 08:33:22] @ alfism joined channel #puppet
[2011/12/14 08:34:20] @ Quit: fronlius_: Read error: Operation timed out
[2011/12/14 08:34:41] @ Quit: lak1: Quit: Leaving.
[2011/12/14 08:35:26] @ tyska joined channel #puppet
[2011/12/14 08:35:33] <tyska> hi guys
[2011/12/14 08:35:46] <tyska> i need help to install puppet
[2011/12/14 08:36:18] <tyska> im trying it reading different docs and tutorials, but no one helps me to put it to work
[2011/12/14 08:36:24] <tyska> can someone please help me?
[2011/12/14 08:36:38] @ Quit: swygue: Ping timeout: 240 seconds
[2011/12/14 08:37:35] @ l0n joined channel #puppet
[2011/12/14 08:38:00] <henk> tyska: ask
[2011/12/14 08:38:07] @ Quit: freezey: Ping timeout: 240 seconds
[2011/12/14 08:38:09] <tyska> henk: im using ubuntu
[2011/12/14 08:38:32] <tyska> henk: and i just want install the master/client version of puppet with 4 servers
[2011/12/14 08:38:48] <tyska> what is the best doc for me?
[2011/12/14 08:39:07] <henk> man apt?
[2011/12/14 08:39:27] <henk> I don’t know. You don’t say where you are stuck or what your problem is with what you want…
[2011/12/14 08:39:51] <tyska> apt install the version 0.2 of puppet
[2011/12/14 08:40:03] <tyska> then i tried to download the version 2.7.4
[2011/12/14 08:40:09] <tyska> from puppetlabs
[2011/12/14 08:40:18] <tyska> but the command puppet agent --test returns a error
[2011/12/14 08:40:30] @ Quit: zorg1: Quit: Leaving
[2011/12/14 08:40:31] <tyska> then i removed the installation
[2011/12/14 08:40:33] <eshamow> tyska: if you are only running 4 servers, just grab Puppet Enterprise. it runs up to 10 for free
[2011/12/14 08:40:38] <eshamow> and it is way easier to use/manage
[2011/12/14 08:40:43] <henk> When using a distribution with package management, you should never try to circumvent it!
[2011/12/14 08:41:17] @ Quit: nevyn: Ping timeout: 276 seconds
[2011/12/14 08:41:21] <Dr_Memory> is it not possible to subscrive/notify to/from an exported resource?
[2011/12/14 08:41:27] <henk> tyska: But yeah, go on…
[2011/12/14 08:41:28] <tyska> henk: but from what repository i get the latest version of puppet?
[2011/12/14 08:41:40] @ bsg_kwolf1 left channel #puppet ("Leaving.")
[2011/12/14 08:41:45] <tyska> eshamow: now i have just 4 servers, but in the near future i will have more than 10
[2011/12/14 08:41:58] <henk> tyska: Why do you need the latest? What’s wrong with the version your distribution provides you with?
[2011/12/14 08:42:13] <tyska> the version is 0.2
[2011/12/14 08:42:18] <tyska> the latest is 2.7
[2011/12/14 08:42:24] <tyska> i think that is too old
[2011/12/14 08:42:26] <eshamow> tyska: do you mean 0.24?
[2011/12/14 08:42:30] <eshamow> or 0.25?
[2011/12/14 08:42:30] @ nevyn joined channel #puppet
[2011/12/14 08:42:31] <tyska> yeah, 0.24
[2011/12/14 08:42:35] <tyska> maybe 0.25
[2011/12/14 08:42:39] <eshamow> ah. yeah that's pretty old. what distribution?
[2011/12/14 08:42:43] <unixdaemon> eshamow: he's using debian oldstable ;)
[2011/12/14 08:42:47] <unixdaemon> 0.2 wow
[2011/12/14 08:42:49] <tyska> 0.25.4
[2011/12/14 08:43:02] <Dr_Memory> heh, I just finally upgraded from 0.24 to 2.7. I feel your pain.
[2011/12/14 08:43:12] <eshamow> unixdaemon: ahh.
[2011/12/14 08:43:12] <Dr_Memory> tyska: puppetlabs has an apt server. what ubuntu dist are you using?
[2011/12/14 08:43:17] <eshamow> tyska: http://apt.puppetlabs.com/
[2011/12/14 08:43:20] <tyska> 10.04
[2011/12/14 08:43:30] <Dr_Memory> hah, yeah: apt.puppetlabs.com
[2011/12/14 08:43:55] <Dr_Memory> they have lucid debs prebuilt, and they're basically plug-and-play
[2011/12/14 08:44:29] <henk> tyska: 0.24, 0.25, 2.6.0 is how to count in this case.
[2011/12/14 08:45:08] @ freezey joined channel #puppet
[2011/12/14 08:45:21] @ paxos joined channel #puppet
[2011/12/14 08:45:25] @ Quit: paxos: Read error: Connection reset by peer
[2011/12/14 08:45:42] <henk> So it’s not that old. But I agree, 2.6 at least would be preferable…
[2011/12/14 08:46:20] @ phishy joined channel #puppet
[2011/12/14 08:46:37] <phishy> I'm going to go ahead and assume exec cannot have a require attribute
[2011/12/14 08:47:09] <ryancoleman> phishy: exec can accept the require metaparameter.
[2011/12/14 08:47:18] @ Stenbryggen1 joined channel #puppet
[2011/12/14 08:47:42] <tyska> i put the following line in the sources.list: deb http://apt.puppetlabs.com/ stable non-free
[2011/12/14 08:47:43] <phishy> ryancoleman: thanks, then i guess i'm doing something else wrong
[2011/12/14 08:47:43] <tyska> is that right?
[2011/12/14 08:47:51] @ Quit: Stenbryggen: Read error: Connection reset by peer
[2011/12/14 08:48:43] <ryancoleman> phishy: this guide will provider some background on using require and the other ordering metaparameters. hopefully it helps. http://docs.puppetlabs.com/learning/ordering.html
[2011/12/14 08:49:12] <phishy> ryancoleman: thanks, i was just on this page, guess i missed something
[2011/12/14 08:49:22] <phishy> ryancoleman: i'm using exec to require a Package
[2011/12/14 08:49:31] @ pcarlisle joined channel #puppet
[2011/12/14 08:49:43] @ Quit: omry_: Ping timeout: 244 seconds
[2011/12/14 08:50:24] @ Quit: nevyn: Ping timeout: 276 seconds
[2011/12/14 08:51:01] @ Quit: clustermagnet: Ping timeout: 268 seconds
[2011/12/14 08:51:17] @ Quit: johnston: Quit: Page closed
[2011/12/14 08:51:33] @ basic` joined channel #puppet
[2011/12/14 08:52:01] @ nevyn joined channel #puppet
[2011/12/14 08:53:15] <henk> tyska: Define “right”. It is correct syntax if that’s what you mean…
[2011/12/14 08:53:47] <tyska> deb http://apt.puppetlabs.com/ubuntu lucid main
[2011/12/14 08:54:39] @ Quit: jmccune: Quit: switching to znc
[2011/12/14 08:54:46] @ Quit: dissipate_: Ping timeout: 252 seconds
[2011/12/14 08:54:54] <henk> tyska: Yes, that makes more sense and is also correct syntax :)
[2011/12/14 08:55:18] @ mrwacky42 joined channel #puppet
[2011/12/14 08:55:19] @ jmccune joined channel #puppet
[2011/12/14 08:55:20] @ jmccune is now known as Guest43615
[2011/12/14 08:55:23] @ Quit: langworthy: Quit: langworthy
[2011/12/14 08:56:07] <tyska> =)
[2011/12/14 08:56:09] <tyska> tks
[2011/12/14 08:56:10] <tyska> ok guys
[2011/12/14 08:56:23] <tyska> i installed the server
[2011/12/14 08:56:35] <ryancoleman> phishy: keep in mind that even if you have an exec require another resource, it may still execute on every puppet run. it's special in that way. there are several parameters that help control when an exec is run. http://docs.puppetlabs.com/references/2.7.6/type.html#exec subscribe and refreshonly *may* be what you're looking for.
[2011/12/14 08:56:45] <tyska> now, whats the best guide to configure it?
[2011/12/14 08:57:17] @ Quit: basic`: Changing host
[2011/12/14 08:57:17] @ basic` joined channel #puppet
[2011/12/14 08:57:42] @ Quit: smintz: Ping timeout: 252 seconds
[2011/12/14 08:57:47] <phishy> ryancoleman: right now, it's upset because the path is unqualified, but it's running before anything else, and it's not supposed to
[2011/12/14 08:58:02] <Dr_Memory> tyska: http://docs.puppetlabs.com/learning/
[2011/12/14 08:58:28] <Dr_Memory> also not a bad idea to snag a copy of the 'pro puppet' book
[2011/12/14 08:58:39] <ryancoleman> phishy: execs will need the full path, or you can specify a path in the path parameter. hopefully someone else can help if you're still having problems. i have to run for a few.
[2011/12/14 08:58:43] @ mapu joined channel #puppet
[2011/12/14 08:58:51] <phishy> ryancoleman: thanks for your gelp
[2011/12/14 08:58:54] <phishy> help*
[2011/12/14 08:59:16] <tyska> Dr_Memory: thanks!
[2011/12/14 08:59:56] @ Quit: csanchez: Quit: csanchez
[2011/12/14 09:01:03] @ Quit: mrwacky42: Quit: Leaving.
[2011/12/14 09:01:15] @ ba6 joined channel #puppet
[2011/12/14 09:01:23] <Dr_Memory> tyska: also http://docs.puppetlabs.com/ in general
[2011/12/14 09:01:26] @ Quit: nevyn: Ping timeout: 276 seconds
[2011/12/14 09:02:28] @ ken_barber joined channel #puppet
[2011/12/14 09:02:31] @ nevyn joined channel #puppet
[2011/12/14 09:03:49] @ Quit: Mishell: Ping timeout: 245 seconds
[2011/12/14 09:04:01] @ Quit: freezey: Quit: freezey
[2011/12/14 09:04:06] <tyska> there is something like a how-to?
[2011/12/14 09:04:10] @ arBmind joined channel #puppet
[2011/12/14 09:04:29] @ Quit: ali3n0: Quit: Leaving.
[2011/12/14 09:07:25] @ freezey joined channel #puppet
[2011/12/14 09:08:24] @ Quit: st33v: Quit: st33v
[2011/12/14 09:09:05] @ Quit: Guest43615: Quit: ZNC - http://znc.in
[2011/12/14 09:10:40] <Callek> yes Pro Puppet is a WONDERFUL book
[2011/12/14 09:11:01] * Callek actually hopes for a Sequel or at least a new edition within the next year(s) :-)
[2011/12/14 09:11:08] <Callek> especially now that we are adding windows support
[2011/12/14 09:11:24] @ iw_work joined channel #puppet
[2011/12/14 09:11:47] <tyska> where i can get a copy of Pro Puppet book?
[2011/12/14 09:12:25] <tyska> i just need to install a few packages in 4 servers to test puppet, but im getting a huge pain
[2011/12/14 09:12:44] @ Quit: cirbri: Quit: leaving
[2011/12/14 09:12:44] @ omry_ joined channel #puppet
[2011/12/14 09:13:13] <dgibbons> tyska: http://www.amazon.com/Pro-Puppet-James-Turnbull/dp/1430230576/ref=sr_1_1?ie=UTF8&qid=1323882771&sr=8-1
[2011/12/14 09:13:24] <henk> It’s called “challenge” and that’s more or less what the life of a sysadmin is made of…
[2011/12/14 09:13:30] <_rc_> you can buy the epub right now. http://www.apress.com/9781430230571
[2011/12/14 09:13:34] @ althara joined channel #puppet
[2011/12/14 09:13:59] <tyska> henk: hehe i agree
[2011/12/14 09:14:26] @ Quit: pmorillon: Quit: pmorillon
[2011/12/14 09:14:39] @ Quit: ZummiG777: Quit: Leaving
[2011/12/14 09:14:42] <tyska> henk: the problem is that im suffering more than triunfating =/ but just by now
[2011/12/14 09:14:46] @ Quit: jim`: Read error: Operation timed out
[2011/12/14 09:15:02] @ Quit: wmoxam: Disconnected by services
[2011/12/14 09:15:25] @ Quit: Ramonster: Quit: So Long and thanks for all the fish
[2011/12/14 09:15:25] @ wmoxam_ joined channel #puppet
[2011/12/14 09:15:30] <tyska> im work at a public university, buy things is a nightmare then buy this book is not a option to me
[2011/12/14 09:15:33] @ Quit: kermit: Ping timeout: 244 seconds
[2011/12/14 09:16:09] @ jmccune_ joined channel #puppet
[2011/12/14 09:16:24] <henk> tyska: When have you started using it and when did the suffering begin?
[2011/12/14 09:16:32] @ Quit: danikov: Quit: danikov
[2011/12/14 09:16:43] @ Mishell joined channel #puppet
[2011/12/14 09:16:49] @ jmccune_ is now known as mccune
[2011/12/14 09:16:50] <_rc_> then you'll just have to work through all the free documentation at docs.puppetlabs.com and read it
[2011/12/14 09:17:03] <tyska> henk: im trying to set up a cloud here
[2011/12/14 09:17:25] @ the_ramink joined channel #puppet
[2011/12/14 09:17:28] <tyska> henk: im suffering because the whole, not because puppet
[2011/12/14 09:17:52] <tyska> im starting to 'trying' test puppet
[2011/12/14 09:17:55] <henk> oh, right, a cloud… I’m outta here…
[2011/12/14 09:18:04] @ Quit: omry_: Max SendQ exceeded
[2011/12/14 09:18:05] @ mccune is now known as jmccune
[2011/12/14 09:18:49] @ omry_ joined channel #puppet
[2011/12/14 09:19:31] @ hco-bitlbee-mba joined channel #puppet
[2011/12/14 09:20:00] @ Quit: jmccune: Client Quit
[2011/12/14 09:20:07] @ jantman joined channel #puppet
[2011/12/14 09:20:21] @ Quit: mneedham: Quit: mneedham
[2011/12/14 09:20:31] <jantman> anyone here run puppet master through Passenger?
[2011/12/14 09:20:54] <_rc_> that qestion reeks of trap, but yes.
[2011/12/14 09:21:12] <Dr_Memory> is there any documentation or even general hints on performance-tuning puppetmasters? I have a passenger-based PM (2.7.6) supporting about 30 clients, and the system load strikes me as unreasonably high.
[2011/12/14 09:21:30] <Dr_Memory> jantman: I just converted to passenger last night. my ~14 hours of expertise are at your disposal. :)
[2011/12/14 09:21:41] <jantman> any idea how to debug it?
[2011/12/14 09:21:42] @ jmccune joined channel #puppet
[2011/12/14 09:21:53] <jantman> specifically catalog/manifest problems, sorry
[2011/12/14 09:21:55] <_rc_> don't enbug it in the first place?
[2011/12/14 09:22:00] <jantman> :)
[2011/12/14 09:22:12] <kjetilho> hmm. anyone using the puppetlabs mysql-module here?
[2011/12/14 09:22:23] <kjetilho> I'd like to specify a GRANT on username@%
[2011/12/14 09:22:30] @ mpdude joined channel #puppet
[2011/12/14 09:22:32] <Dr_Memory> jantman: I recommend pasting your errors into a pastie/pastebin page so people here can look at it
[2011/12/14 09:22:34] <kjetilho> but it requires an alphanumeric hostname...
[2011/12/14 09:22:34] <jantman> I'm getting a 400 back, catalog compile failed - can't realize a virtual resource
[2011/12/14 09:22:36] @ wilmoore joined channel #puppet
[2011/12/14 09:23:14] <dgibbons> jantman: anything in the apache logs?
[2011/12/14 09:23:19] <jantman> Dr_Memory: that's the problem...
[2011/12/14 09:23:21] <jantman> err: Could not retrieve catalog from remote server: Error 400 on SERVER: Failed to realize virtual resources Pkgrepo[epel], Pkgrepo[epel-testing] on node foo.example.com
[2011/12/14 09:23:32] <jantman> but since it's in passenger, I can't just restart puppetmaster with --debug
[2011/12/14 09:23:46] <Dr_Memory> jantman: huh. did you set this up yourself, or use the puppetlabs rpms/debs?
[2011/12/14 09:23:53] @ Quit: maxmartin: Quit: Computer has gone to sleep.
[2011/12/14 09:24:15] <jantman> Dr_Memory: puppet/passenger is installed with EPEL and the Passenger repo
[2011/12/14 09:24:31] <jantman> essentially I'm asking how to get --debug or --verbose when running puppetmaster through Passenger as opposed to standalone
[2011/12/14 09:24:49] <Dr_Memory> jantman: before I go there, are the following two lines in your puppet.conf under [master]? http://pastie.org/3013332
[2011/12/14 09:24:59] @ Quit: nate_h: Read error: Connection reset by peer
[2011/12/14 09:25:16] @ nate_h joined channel #puppet
[2011/12/14 09:25:23] <jantman> Dr_Memory: my puppetmaster works fine. I'm trying to debug a problem with a specific module.
[2011/12/14 09:25:31] <Dr_Memory> ah, okay
[2011/12/14 09:25:38] <Dr_Memory> take a look at /usr/share/puppet/rack/puppetmasterd/config.ru
[2011/12/14 09:25:46] <jantman> but I can't figure out where to set --debug or --verbose
[2011/12/14 09:25:51] <_rc_> it's not a passenger-related issue
[2011/12/14 09:25:55] <jantman> correct
[2011/12/14 09:25:57] <tyska> ok
[2011/12/14 09:26:01] <Dr_Memory> you should be able to set debugging on there
[2011/12/14 09:26:02] <tyska> it seems it is working now
[2011/12/14 09:26:06] <Dr_Memory> (restart apache afterward obviously)
[2011/12/14 09:26:30] <jantman> do you happen to know the variable name, or statement, or whatever? I can't find it documented anywhere (certainly not on the PuppetLabs Passenger wiki page)
[2011/12/14 09:26:41] <Dr_Memory> (n.b. I'm on an ubuntu system; RH ones may put that file elsewhere; rpm -ql puppetmaster-passenger to know for sure)
[2011/12/14 09:27:05] @ Quit: Hamzah: Quit: Bye Bye!
[2011/12/14 09:27:06] <jantman> /etc/puppet/rack/config.ru but same difference
[2011/12/14 09:27:12] <jantman> ahhhhh
[2011/12/14 09:27:15] <jantman> look at that...
[2011/12/14 09:27:22] @ Quit: pcarlisle: Quit: Computer has gone to sleep.
[2011/12/14 09:27:24] <Dr_Memory> yeah, just uncoment the debug lines: http://pastebin.com/HKgBWZ75
[2011/12/14 09:27:33] <Dr_Memory> line. singular.
[2011/12/14 09:27:34] @ Quit: lborda: Quit: Ex-Chat
[2011/12/14 09:27:37] @ benkevan joined channel #puppet
[2011/12/14 09:28:05] <jantman> beautiful! thanks!
[2011/12/14 09:29:33] @ jantman left channel #puppet ()
[2011/12/14 09:29:59] @ sdog joined channel #puppet
[2011/12/14 09:30:15] @ Quit: sdog: Changing host
[2011/12/14 09:30:15] @ sdog joined channel #puppet
[2011/12/14 09:30:22] @ jim` joined channel #puppet
[2011/12/14 09:30:46] <hajile> hola
[2011/12/14 09:31:18] @ Quit: jmccune: Quit: ZNC - http://znc.in
[2011/12/14 09:31:50] @ williemach joined channel #puppet
[2011/12/14 09:31:55] @ jmccune joined channel #puppet
[2011/12/14 09:32:33] @ pll joined channel #puppet
[2011/12/14 09:33:22] <tyska> guys, i create the following manifest in my server: http://pastebin.com/aUrGxENW
[2011/12/14 09:33:23] @ Quit: newtMcKerr: Quit: Leaving.
[2011/12/14 09:33:34] <pll> Is it best to create a separate module for defines you want to use throughout your modules ?
[2011/12/14 09:33:41] @ bsg_kwolf joined channel #puppet
[2011/12/14 09:33:47] <tyska> and in that machine, nc1-t300.cloud.c3.furg.br i ran puppet agent --test
[2011/12/14 09:33:49] <pll> And, does each module need to include that ?
[2011/12/14 09:34:02] <_rc_> pll: yes, and no
[2011/12/14 09:34:03] <tyska> but the package ethtool is not installed
[2011/12/14 09:34:16] @ Hamzah joined channel #puppet
[2011/12/14 09:34:27] <tyska> someone could help me?
[2011/12/14 09:34:32] <hajile> is there a way to iterate over a variable inside a manifest?
[2011/12/14 09:34:36] @ jeffmccune joined channel #puppet
[2011/12/14 09:34:41] <pll> _rc_: So, put the common defines into their own module, but I don't need to include it each time ?
[2011/12/14 09:34:45] @ jeffmccune left channel #puppet ()
[2011/12/14 09:34:54] <pll> Do I just include it at the top level in nodes.pp ?
[2011/12/14 09:35:08] <_rc_> pll: if that suits your house style
[2011/12/14 09:35:19] <pll> _rc_: I'm defining the house style :)
[2011/12/14 09:35:31] <_rc_> and no, you don't have to include it if you name it correctly so the autoloader finds it
[2011/12/14 09:35:42] @ Quit: nevyn: Ping timeout: 244 seconds
[2011/12/14 09:35:50] <tyska> someone can help me?
[2011/12/14 09:35:51] <pll> What's "correctly" ?
[2011/12/14 09:35:53] <_rc_> http://docs.puppetlabs.com/guides/modules.html#module-autoloading
[2011/12/14 09:36:04] @ Quit: MattyM: Read error: Operation timed out
[2011/12/14 09:36:07] @ newtMcKerr joined channel #puppet
[2011/12/14 09:36:19] <_rc_> tyska: what was the output of the puppet agent --test ?
[2011/12/14 09:36:26] @ tblamer joined channel #puppet
[2011/12/14 09:36:27] <pll> _rc_: thanks!
[2011/12/14 09:37:01] <tyska> _rc_: the output was http://pastebin.com/50Mf076s
[2011/12/14 09:37:25] @ nevyn joined channel #puppet
[2011/12/14 09:37:57] <_rc_> tyska: look at /var/lib/puppet/classes.txt - does it include the class you assigned to the node?
[2011/12/14 09:38:01] <matchaw_> When referencing a variable $::variable is it supposed to check the local scope first and then fail back to global scope?
[2011/12/14 09:38:29] @ skm joined channel #puppet
[2011/12/14 09:38:48] <tyska> _rc_: this files does not exists
[2011/12/14 09:38:55] <_rc_> no, $::foo is explicitly the foo from root scope
[2011/12/14 09:39:46] <_rc_> tyska: do you have anything similar in /var/lib/puppet?
[2011/12/14 09:39:59] <matchaw_> _rc_ :: http://docs.puppetlabs.com/learning/variables.html
[2011/12/14 09:40:14] <matchaw_> 7th bullet point.
[2011/12/14 09:40:41] <matchaw_> does that not mean I can use $::var and it will look locally first?
[2011/12/14 09:40:41] <tyska> classes.txt does not exists
[2011/12/14 09:40:45] <tyska> file*
[2011/12/14 09:41:24] <tyska> _rc_: no
[2011/12/14 09:41:42] @ Quit: nevyn: Ping timeout: 248 seconds
[2011/12/14 09:42:06] <Callek> matchaw_: of course I found that (with templates) |include config| where config is a class (module) that defines variables doing (inside the template) |$config::foo| fails [is undefined] while |$::config::foo| is perfectly happy
[2011/12/14 09:42:16] <_rc_> matchaw_: "Top scope variables are the same, but their scope is nameless. (For example: $::top_scope_variable.)"
[2011/12/14 09:42:29] @ Quit: btaitelb: Quit: btaitelb
[2011/12/14 09:42:31] <Callek> err _rc_ ^
[2011/12/14 09:42:53] <_rc_> tyska: what do you have then?
[2011/12/14 09:42:54] @ nfagerlund joined channel #puppet
[2011/12/14 09:43:08] <tyska> clientbucket client_data client_yaml facts lib ssl state
[2011/12/14 09:43:14] <pll> How do you know the name of the module you're in? Or were called by ?
[2011/12/14 09:43:25] <matchaw_> ok thanks, seems I'll have to rewrite some stuff ;) I'm trying to work around param classes for dashboard/foreman support.
[2011/12/14 09:43:53] <pll> i.e. if I have a module that calls a define in a different module, is there a way for the define to figure out what the name of the calling module was ?
[2011/12/14 09:44:23] <_rc_> tyska: state/classes.txt ?
[2011/12/14 09:44:34] @ ascarter joined channel #puppet
[2011/12/14 09:44:48] <tyska> there is the file
[2011/12/14 09:44:50] <tyska> but only settings
[2011/12/14 09:44:54] <tyska> is the content of file
[2011/12/14 09:45:01] <_rc_> then the class didn't get assigned to your node
[2011/12/14 09:45:13] <tyska> ok, but why?
[2011/12/14 09:45:15] <_rc_> so you missed some part of making your manifests visisble
[2011/12/14 09:45:33] <tyska> where i found that?
[2011/12/14 09:45:34] <_rc_> go back to your tutorial; step through it
[2011/12/14 09:46:22] @ Quit: alanevans: Remote host closed the connection
[2011/12/14 09:46:41] @ Quit: Yann2: Remote host closed the connection
[2011/12/14 09:47:43] @ nevyn joined channel #puppet
[2011/12/14 09:48:21] @ Quit: hco-bitlbee-mba: Quit: hco-bitlbee-mba
[2011/12/14 09:48:32] @ Quit: daysmen: Quit: Lost terminal
[2011/12/14 09:48:44] <tyska> _rc_: that is the problem, i dont have a tutorial =(
[2011/12/14 09:49:27] @ Quit: DigitalFlux: Ping timeout: 240 seconds
[2011/12/14 09:50:43] <_rc_> tyska: yes you do. http://docs.puppetlabs.com/ http://docs.puppetlabs.com/guides/introduction.html
[2011/12/14 09:51:25] @ Quit: Demosthenes: Quit: leaving
[2011/12/14 09:51:44] @ mrwacky42 joined channel #puppet
[2011/12/14 09:51:45] @ Quit: nan0r: Quit: Leaving.
[2011/12/14 09:52:45] @ Quit: jabowers: Quit: Leaving
[2011/12/14 09:53:42] @ DigitalFlux joined channel #puppet
[2011/12/14 09:53:43] @ Quit: DigitalFlux: Changing host
[2011/12/14 09:53:43] @ DigitalFlux joined channel #puppet
[2011/12/14 09:54:05] @ Quit: nevyn: Ping timeout: 276 seconds
[2011/12/14 09:54:45] @ nevyn joined channel #puppet
[2011/12/14 09:55:43] @ ghanima joined channel #puppet
[2011/12/14 09:55:51] @ hackeye joined channel #puppet
[2011/12/14 09:55:56] @ maxmartin joined channel #puppet
[2011/12/14 09:57:09] @ trickyf left channel #puppet ()
[2011/12/14 09:57:25] @ Quit: inecas: Quit: Leaving
[2011/12/14 09:57:43] @ kermit joined channel #puppet
[2011/12/14 09:58:50] @ hco-bitlbee-mba joined channel #puppet
[2011/12/14 09:59:23] @ Quit: maxmartin: Client Quit
[2011/12/14 09:59:38] @ rinzen joined channel #puppet
[2011/12/14 10:00:04] <pll> Is there a way to get at the name of the calling module within a define?
[2011/12/14 10:01:10] <_rc_> don't think so. http://docs.puppetlabs.com/learning/definedtypes.html
[2011/12/14 10:01:46] @ Quit: jbraeuer: Quit: jbraeuer
[2011/12/14 10:01:52] @ Quit: Mishell: Ping timeout: 252 seconds
[2011/12/14 10:01:54] @ Quit: nevyn: Ping timeout: 276 seconds
[2011/12/14 10:02:00] @ comptona joined channel #puppet
[2011/12/14 10:02:14] @ dwalu joined channel #puppet
[2011/12/14 10:02:27] <hackeye> i'm trying to use the 'creates' parameter with an exec resource (http://docs.puppetlabs.com/references/2.7.6/type.html#exec).. but it doesn't create the file.. here's the relevant code snippet: http://www.privatepaste.com/3167c74cbf
[2011/12/14 10:02:52] @ Quit: bosszaru: Remote host closed the connection
[2011/12/14 10:03:14] <dwalu> What's a good fact to determine if a host is on ec2 or not? right now I'm searching $kernelrelease for =~ /ec2/ but was thinking maybe $virtual might make more sense
[2011/12/14 10:03:17] @ nevyn joined channel #puppet
[2011/12/14 10:03:40] <_rc_> hackeye: creates doesn't tell the exec to create a file; it tells it that the file is the result of the command, and if it's present, don't run the command
[2011/12/14 10:04:02] <hackeye> aah.. ok.. thanks for the clarification
[2011/12/14 10:04:06] @ jodok_ joined channel #puppet
[2011/12/14 10:04:06] @ Quit: jodok_: Changing host
[2011/12/14 10:04:06] @ jodok_ joined channel #puppet
[2011/12/14 10:04:08] <_rc_> http://docs.puppetlabs.com/references/latest/type.html#exec
[2011/12/14 10:04:29] <hackeye> yes, that's what i read, but i guess i didn't understand it clearly
[2011/12/14 10:04:55] @ comptona1 joined channel #puppet
[2011/12/14 10:05:35] @ Quit: kelseyhightower: Quit: leaving
[2011/12/14 10:05:36] <hackeye> dwalu, $virtual fact will probably work in _any_ virtualized environment, not just ec2
[2011/12/14 10:05:48] @ kelseyhightower joined channel #puppet
[2011/12/14 10:06:10] <dwalu> @hackeye yeah that's what I was thinking, meaning it's too generic of a term to say differentiate between virtualbox, ec2, and my softlayer cloud stuff
[2011/12/14 10:06:12] <hackeye> i don't have access to an ec2 instance so i can't be sure what's the kernel version
[2011/12/14 10:06:16] @ Quit: comptona: Ping timeout: 252 seconds
[2011/12/14 10:06:37] @ sppadic joined channel #puppet
[2011/12/14 10:06:42] <sppadic> evening all
[2011/12/14 10:07:13] <sppadic> wondering if anyone here has had any odd errors with getting puppetmaster 2.7.5 working via mod_passenger in RHEL 6?
[2011/12/14 10:07:59] @ Quit: jodok: Ping timeout: 245 seconds
[2011/12/14 10:07:59] @ jodok_ is now known as jodok
[2011/12/14 10:08:13] <sppadic> running passenger 3.0.11
[2011/12/14 10:08:16] @ bosszaru joined channel #puppet
[2011/12/14 10:09:02] @ Quit: nevyn: Ping timeout: 276 seconds
[2011/12/14 10:09:13] @ maxmartin joined channel #puppet
[2011/12/14 10:09:22] @ nevyn joined channel #puppet
[2011/12/14 10:09:25] <dwalu> to get version of puppet you run puppet -V. to get version of facter you run facter -v. That's sort of inconsistent.
[2011/12/14 10:10:10] @ pcarlisle joined channel #puppet
[2011/12/14 10:11:24] @ comptona1 is now known as comptona
[2011/12/14 10:11:30] <mrwacky42> or facter —version and puppet —version
[2011/12/14 10:13:16] @ Quit: omry_: Ping timeout: 240 seconds
[2011/12/14 10:13:54] @ Quit: tyska: Ping timeout: 258 seconds
[2011/12/14 10:14:34] <neek> going back in time a bit to 0.24 - is there a command line flag for puppetd to -disable- pluginsync, even if it's on in puppet.conf?
[2011/12/14 10:16:18] @ omry_ joined channel #puppet
[2011/12/14 10:16:36] @ Quit: benkevan: Quit: leaving
[2011/12/14 10:19:04] @ Quit: Kazuhiro: Quit: Leaving.
[2011/12/14 10:19:17] @ motomike joined channel #puppet
[2011/12/14 10:19:50] @ Mishell joined channel #puppet
[2011/12/14 10:19:51] <pll> _rc_: We can indeed find the calling module's name!
[2011/12/14 10:19:56] <pll> http://docs.puppetlabs.com/guides/faq.html
[2011/12/14 10:20:02] <pll> $caller_module_name — Provided by the parser; contains the name of the module that contains the current resource’s declaration. Added in Puppet 2.6.0.
[2011/12/14 10:20:06] <pll> sweet!
[2011/12/14 10:21:11] <dwalu> How do I tell what version a bug fix was released into? I'm specifically trying to figure out if #11133 is fixed in a version newer than 2.7.5
[2011/12/14 10:21:12] <gepetto> dwalu: #11133 is http://projects.puppetlabs.com/issues/show/11133 "Puppet - Bug #11133: Regex captures don't work in node definitions. It has a status of Duplicate and is assigned to Neil Hemingway"
[2011/12/14 10:21:48] <dwalu> which is apparently a duplicate of #2628
[2011/12/14 10:21:49] <gepetto> dwalu: #2628 is http://projects.puppetlabs.com/issues/show/2628 "Puppet - Feature #2628: It would be useful if node name regexps set $1. It has a status of Accepted and is assigned to Brice Figureau"
[2011/12/14 10:22:07] <dwalu> this would help me reduce my nodes.pp by like 300 lines
[2011/12/14 10:22:22] @ alanevans joined channel #puppet
[2011/12/14 10:22:25] @ Quit: tmclaugh: Quit: tmclaugh
[2011/12/14 10:22:53] @ rutger_ joined channel #puppet
[2011/12/14 10:23:20] @ Quit: nevyn: Ping timeout: 276 seconds
[2011/12/14 10:23:26] @ dballing joined channel #puppet
[2011/12/14 10:24:11] <robinbowes> Damn, something appears to be busted with my signing mechanism
[2011/12/14 10:24:18] <DrPppr242> Can anyone tell me if I use define in a class if templates specified inside that definition have variables passed in the call in their scope?
[2011/12/14 10:24:58] @ nevyn joined channel #puppet
[2011/12/14 10:25:16] @ Quit: arBmind: Ping timeout: 240 seconds
[2011/12/14 10:25:52] @ st33v joined channel #puppet
[2011/12/14 10:26:33] <pll> Okay, I have a module which defines a class, which is empty.
[2011/12/14 10:26:47] @ d0rm0us3 joined channel #puppet
[2011/12/14 10:26:54] <rinzen> Question- Would it be possible/feasible to improve the ssl errors puppet gives? In addition to saying "hostname was not match with the server certificate", could it ALSO say: "this is what I was expecting: foo, this is what i got: bar" type fo a thing. I think it would really help demystify and help new users troubleshoot. thoughts?
[2011/12/14 10:26:55] <pll> Within that module, I have a file, utils.pp which contains my defined types.
[2011/12/14 10:27:25] <pll> Do the defined types need to use the name of the file ? Or of the module/class defined in the init.pp ?
[2011/12/14 10:27:37] <rocket> does anyone know if its possible to join more than one mcollective together? eg I have a minilab mcollective on my laptop but when I get back to my main workspace I would like to be able to access all of my machines in the collective there as well
[2011/12/14 10:27:55] @ d0rm0us3 left channel #puppet ("Leaving")
[2011/12/14 10:27:57] <pll> i.e. modules/common/manifests/init.pp contains "class common {}"
[2011/12/14 10:28:23] <pll> modules/common/manifests/utils.pp contains "define common::foo {...}"
[2011/12/14 10:28:26] <pll> does that work ?
[2011/12/14 10:28:27] @ dissipate joined channel #puppet
[2011/12/14 10:28:52] <dissipate> if i have a config file directive that i want to load as a fact in Facter, what is the best way of doing this?
[2011/12/14 10:28:57] <pll> Or do I need to rename the defined type to 'common::utils::foo {} ' ?
[2011/12/14 10:29:11] <pll> dissipate: I think you just use it.
[2011/12/14 10:29:21] <dissipate> pll, what do you mean?
[2011/12/14 10:29:49] @ Quit: maxmartin: Quit: Computer has gone to sleep.
[2011/12/14 10:29:50] <pll> Oh, sorry, you want something within the config file to become a fact on the client ?
[2011/12/14 10:29:54] @ d3c joined channel #puppet
[2011/12/14 10:30:05] <dissipate> pll, yep
[2011/12/14 10:30:27] <pll> I would write a fact that parses that config file and returns that directive.
[2011/12/14 10:30:44] @ Quit: localhost: Remote host closed the connection
[2011/12/14 10:31:02] @ maxmartin joined channel #puppet
[2011/12/14 10:31:18] <mzi> I don't know if 2.7 has a built in now, otherwise look at facter-dot-d
[2011/12/14 10:31:19] <eric0> pll: define common::utils::foo needs to live in modules/common/manifests/utils/foo.pp
[2011/12/14 10:31:22] @ wilco joined channel #puppet
[2011/12/14 10:31:53] <mzi> dissipate: https://github.com/ripienaar/facter-facts/tree/master/facts-dot-d
[2011/12/14 10:31:56] @ localhost joined channel #puppet
[2011/12/14 10:31:59] @ Quit: motomike: Quit: Leaving.
[2011/12/14 10:32:04] <pll> eric0: okay. So if I just want common::foo can that live in common/manifests/utils.pp ?
[2011/12/14 10:32:06] @ motomike joined channel #puppet
[2011/12/14 10:32:08] @ Quit: brandon_dacrib: Remote host closed the connection
[2011/12/14 10:32:16] @ Quit: nevyn: Ping timeout: 240 seconds
[2011/12/14 10:32:23] <eric0> pll: nfagerlund actually straight-up fixed the docs on this: http://docs.puppetlabs.com/guides/modules.html#module-autoloading
[2011/12/14 10:32:50] @ Quit: nfagerlund: Remote host closed the connection
[2011/12/14 10:32:50] <pll> Oh, dammit, I just looked at that and missed it.
[2011/12/14 10:33:07] @ Quit: mapu: Quit: mapu
[2011/12/14 10:33:39] <Dr_Memory> hey eric0
[2011/12/14 10:33:49] @ btaitelb joined channel #puppet
[2011/12/14 10:33:57] <Dr_Memory> any sage words of advice about performance-tuning puppetmasters?
[2011/12/14 10:34:29] @ nevyn joined channel #puppet
[2011/12/14 10:34:29] <Dr_Memory> I've converted over to passenger (yay), but I'm still seeing what strike me as unfeasibly high system loads on an m1.large PM with ~35 clients.
[2011/12/14 10:34:32] <rocket> does anyone know the eta on a fix for https://dxul.puppetlabs.com/issues/8040
[2011/12/14 10:37:45] <DrPppr242> Dr_Memory: I can't speak for your set up, but I saw much better performance using Unicorn than I did with passenger
[2011/12/14 10:38:36] @ Quit: nevyn: Read error: Connection reset by peer
[2011/12/14 10:38:41] @ Quit: rinzen: Quit: Page closed
[2011/12/14 10:39:49] @ ckauhaus joined channel #puppet
[2011/12/14 10:40:40] @ Quit: pcarlisle: Quit: Computer has gone to sleep.
[2011/12/14 10:42:50] @ the_ramink_ joined channel #puppet
[2011/12/14 10:42:58] @ nevyn joined channel #puppet
[2011/12/14 10:43:01] @ coasterz joined channel #puppet
[2011/12/14 10:44:18] <the_ramink_> Dr_Memory: I'm running 40 against an m1.large with local mysql installation for stored resources and dahsboard as well. Work fine unless I restart all puppet agents at once
[2011/12/14 10:44:18] @ nfagerlund joined channel #puppet
[2011/12/14 10:44:21] @ job joined channel #puppet
[2011/12/14 10:44:37] <job> i'm trying to convert my setup from using real users to 'virtual' users
[2011/12/14 10:44:44] <job> but i have trouble realising them
[2011/12/14 10:44:56] <job> i have a define add_user { bla bla }
[2011/12/14 10:44:57] <Dr_Memory> the_ramink_: interesting. what would you say your average system load is?
[2011/12/14 10:45:07] <job> and a user is created 'foo' with gid 'foo'
[2011/12/14 10:45:10] @ Quit: leifmadsen: Read error: Connection reset by peer
[2011/12/14 10:45:14] <job> but foo is also in group 'bar'
[2011/12/14 10:45:27] @ Quit: hco-bitlbee-mba: Quit: hco-bitlbee-mba
[2011/12/14 10:45:31] <job> bu User <| group == bar |> doesnt work, or at least doesnt trigger the realisation
[2011/12/14 10:45:32] <Dr_Memory> I seem to average about 4-5 agents active at once, which seems to me (perhaps naively) like it shouldn't be any sort of serious load
[2011/12/14 10:46:06] @ Quit: the_ramink: Ping timeout: 248 seconds
[2011/12/14 10:46:19] <job> is there a simple way to view the properties of virtual resources and see what puppet would accept?
[2011/12/14 10:46:27] <job> or is this desired behaviour?
[2011/12/14 10:46:33] @ marrusl joined channel #puppet
[2011/12/14 10:47:07] @ Quit: jodok: Quit: jodok
[2011/12/14 10:47:13] @ Quit: astrostl:
[2011/12/14 10:48:07] @ Quit: nevyn: Ping timeout: 252 seconds
[2011/12/14 10:48:11] <Chiku> Ìû
[2011/12/14 10:48:48] @ Quit: sppadic: Quit: Leaving
[2011/12/14 10:49:02] <nate_h> job should probably pastebin your define, your realization statement, and your use of the define
[2011/12/14 10:49:05] @ nevyn joined channel #puppet
[2011/12/14 10:49:26] <job> yeah i guess
[2011/12/14 10:49:47] <the_ramink_> Dr_Memory: load is 0.4 or so and sar says I haven't used more than 40% of the CPU in the last day. http://pastie.org/3017006
[2011/12/14 10:49:49] @ leifmadsen joined channel #puppet
[2011/12/14 10:49:50] <nate_h> just so we can see if there is an obvious problem
[2011/12/14 10:50:14] <job> this is how I realise: https://github.com/SnijdersIT/ring-puppet/commit/b0ad1590c862da9fd510833d9052ab306dcdff84
[2011/12/14 10:50:35] <Dr_Memory> the_ramink_: fascinating, thank you
[2011/12/14 10:50:36] <job> here my virtual users: https://github.com/SnijdersIT/ring-puppet/blob/ba31f4c30c12d174ac292aa02cb5297c114e3d41/manifests/ring-users.pp
[2011/12/14 10:51:36] <the_ramink_> Dr_Memory: fwiw I'm using passenger 3.0.9 which is a bit nicer than 2.x
[2011/12/14 10:51:51] <job> here my define for creating users https://github.com/SnijdersIT/ring-puppet/blob/cd73413244c08b1b13c8c59528698a0da10e0e81/manifests/classes/user.pp
[2011/12/14 10:53:14] <dissipate> mzi, thanks for that link. looks like exactly what i need.
[2011/12/14 10:53:43] <job> nate_h, does this help?
[2011/12/14 10:54:10] <nate_h> job yes
[2011/12/14 10:54:35] <nate_h> it seems like the problem is you've virtualized the define
[2011/12/14 10:54:43] <nate_h> not the actual users the define creates
[2011/12/14 10:55:17] <job> well the same happens here http://www.craigdunn.org/2011/03/puppet-working-with-define-based-virtuals/
[2011/12/14 10:55:19] @ clustermagnet joined channel #puppet
[2011/12/14 10:55:21] <job> define localuser
[2011/12/14 10:55:37] <job> and then @users::virtual::localuser { "bobsmith":
[2011/12/14 10:55:43] <clustermagnet> hey guys, puppet/array/looping question ala hierra :)
[2011/12/14 10:55:52] <clustermagnet> $websites = hiera("websites") returns back a string
[2011/12/14 10:55:55] <nate_h> clustermagnet, go for it
[2011/12/14 10:56:03] <clustermagnet> nate_h: whats up nate_h :)
[2011/12/14 10:56:11] <clustermagnet> im ready for whiplashing :)
[2011/12/14 10:56:11] <nate_h> clustermagnet, i just was saying ask the question :P
[2011/12/14 10:56:18] <clustermagnet> hehe, here it goes
[2011/12/14 10:56:26] <clustermagnet> will pastie it
[2011/12/14 10:56:29] <nate_h> job
[2011/12/14 10:56:38] <nate_h> so you see how they realized in that article?
[2011/12/14 10:56:44] @ Quit: Mishell: Ping timeout: 245 seconds
[2011/12/14 10:56:49] <nate_h> they called the define name explicitely
[2011/12/14 10:56:50] <job> well maybe i am overlooking a small detail
[2011/12/14 10:57:00] <job> the end of the article refers to this: User <| group == users |>
[2011/12/14 10:57:10] <nate_h> ya i just saw that, i'm confused too now, one sec
[2011/12/14 10:57:24] <job> i also tried realising a specific user and not using the group property
[2011/12/14 10:57:36] <clustermagnet> nate_h: http://pastie.org/3017042
[2011/12/14 10:57:39] <job> User <| title == intouch |> .. but that yielded no result
[2011/12/14 10:57:41] <nate_h> i honestly don't see how that would work
[2011/12/14 10:57:53] <clustermagnet> hiera query is returning a string of shtuff, not an array :)
[2011/12/14 10:58:00] <clustermagnet> thats problem 1 i think… problem 2
[2011/12/14 10:58:05] @ langworthy joined channel #puppet
[2011/12/14 10:58:14] <job> nate_h, i see this example on multiple websites
[2011/12/14 10:58:15] <clustermagnet> i need to write a loop, to go through each website, and grab its svn repo, which is also stored in hiera
[2011/12/14 10:58:15] <Volcane> clustermagnet: you are saying "....${website}"
[2011/12/14 10:58:15] <nate_h> but maybe items inside of a virtual define are automatically virtualized
[2011/12/14 10:58:24] <Volcane> clustermagnet: which is saying - please take this data and show it as a string
[2011/12/14 10:58:40] <clustermagnet> Volcane: awesome
[2011/12/14 10:58:57] <clustermagnet> Volcane: so whats the syntax of saying 'give me what it is' :)
[2011/12/14 10:59:08] <Volcane> $websites has an array in it
[2011/12/14 10:59:12] <clustermagnet> are you allowed to do things liks $websites[1] ?
[2011/12/14 10:59:15] <Volcane> you're just not displaying it correctly
[2011/12/14 10:59:21] <clustermagnet> k, high five ! thanks!
[2011/12/14 10:59:24] <Volcane> notify{$websites: }
[2011/12/14 10:59:27] <job> nate_h, this is puppet 2.7.6 btw
[2011/12/14 10:59:29] <nate_h> Volcane, but shouldn't he still get a result back from ${websites} ?
[2011/12/14 10:59:35] <nate_h> like a string representing the array
[2011/12/14 10:59:43] @ Quit: hackeye: Quit: Leaving
[2011/12/14 10:59:44] <Volcane> nate_h: "${website}" is like websites.to_s in ruby
[2011/12/14 10:59:53] <nate_h> ya, but he's getting nothing
[2011/12/14 10:59:58] <Volcane> nate_h: so ["foo", "bar"].to_s is "foobar"
[2011/12/14 11:00:11] <nate_h> in his pastie its just blank output
[2011/12/14 11:00:13] <Volcane> nate_h: see the pastie.
[2011/12/14 11:00:18] <Volcane> puppet-agent[18583]: YAML websites is : domain1.blah.comdomain2.blah.com
[2011/12/14 11:00:25] <nate_h> oooh
[2011/12/14 11:00:26] <nate_h> i see
[2011/12/14 11:00:29] <nate_h> i thought that was part of the ENV portion
[2011/12/14 11:00:32] <nate_h> gotcha
[2011/12/14 11:00:41] <nate_h> yep, totally makes sense now
[2011/12/14 11:00:41] <lindenle> hi guys is there a way to see what environment my agent is trying to use?
[2011/12/14 11:00:49] <nate_h> lindenle, $environment
[2011/12/14 11:00:56] <job> Volcane, do you know how virtual defines are supposed to work and be realized?
[2011/12/14 11:00:58] <clustermagnet> i think im getting same prob, pastie on its way
[2011/12/14 11:01:08] <Volcane> job: just like normal virtual resources
[2011/12/14 11:01:14] @ erthad left channel #puppet ()
[2011/12/14 11:01:35] <lindenle> <nate_h> on th cl?
[2011/12/14 11:01:38] <nate_h> clustermagnet, a good way to also test this kind of stuff is to query it on the command line too so you can see what the raw output is
[2011/12/14 11:01:49] <nate_h> lindenle, oh, check /etc/puppet/pupppet.conf
[2011/12/14 11:01:52] <job> is a virtual user has gid 'foo' and also is in group 'bar', can you realise User <| group = bar |> ?
[2011/12/14 11:02:00] <nate_h> bbl, meeting.
[2011/12/14 11:02:08] <job> nate_h, thanks for your time anyway :)
[2011/12/14 11:02:11] @ Quit: gniks: Quit: Leaving.
[2011/12/14 11:02:16] <lindenle> <nate_h> right but there is no environment set there and it is not defaulting to production....
[2011/12/14 11:02:41] <clustermagnet> http://pastie.org/3017064
[2011/12/14 11:04:06] @ Ahlee left channel #puppet ()
[2011/12/14 11:04:56] @ Quit: nevyn: Ping timeout: 252 seconds
[2011/12/14 11:04:56] <eric0> lindenle: look at the http logs on the server, the first path element for the requests from that client's IP address is the environment its using
[2011/12/14 11:05:19] <clustermagnet> looking through my notes on how to interface with hiera via cli ;0
[2011/12/14 11:05:23] <lindenle> <eric0>L: I see that but it is not asking for the one I asked for using --environment...and I cannot figure out why
[2011/12/14 11:05:45] <clustermagnet> ah, found it hiera -c /etc/puppet/hiera.yaml webname env=live
[2011/12/14 11:05:48] <clustermagnet> testing
[2011/12/14 11:06:18] @ Quit: maxmartin: Quit: Computer has gone to sleep.
[2011/12/14 11:06:46] <clustermagnet> so, if i run a hiera cli test:
[2011/12/14 11:06:46] <clustermagnet> http://pastie.org/3017064
[2011/12/14 11:06:48] @ nevyn joined channel #puppet
[2011/12/14 11:06:52] <clustermagnet> i get back an array....
[2011/12/14 11:07:06] <Volcane> clustermagnet: like i said - you are using your array in a string, so it squashes it.
[2011/12/14 11:07:14] <clustermagnet> Volcane: thanks dood!
[2011/12/14 11:07:26] <clustermagnet> so… for loops, should i avoid them?
[2011/12/14 11:07:30] <clustermagnet> what would you recommend?
[2011/12/14 11:08:26] @ gutseb joined channel #puppet
[2011/12/14 11:08:31] <clustermagnet> i see this ....http://groups.google.com/group/puppet-users/browse_thread/thread/37c14950687695c8
[2011/12/14 11:08:47] @ robsweet joined channel #puppet
[2011/12/14 11:08:53] <robsweet> Hi, everyone.
[2011/12/14 11:09:36] <job> this describes my problem http://groups.google.com/group/puppet-users/browse_thread/thread/f66044cbfbb82140
[2011/12/14 11:09:48] <job> too bad the TO ends with a message: "I figured out what went wrong. This had to do something with wrapping
[2011/12/14 11:09:51] <job> my define and virtual resources in class {} "
[2011/12/14 11:09:54] <job> now i don't know what his solution was :)
[2011/12/14 11:10:03] <robsweet> From within a Puppet function, how can I dig in the stored configs to get a list of all nodes? I've tried Puppet::Node.find, Puppet::Node::ActiveRecord.find, Puppet::Rails::InventoryNode.find
[2011/12/14 11:13:52] @ halc joined channel #puppet
[2011/12/14 11:14:16] @ Quit: nevyn: Ping timeout: 240 seconds
[2011/12/14 11:15:21] @ brandon_dacrib joined channel #puppet
[2011/12/14 11:16:27] @ nevyn joined channel #puppet
[2011/12/14 11:16:35] <mzi> job: you do use storeconfigs?
[2011/12/14 11:16:42] <lindenle> Does the master cache info about nodes? I did a clean on the node name and now it is trying to grab the environment I specified on cl.
[2011/12/14 11:16:51] <clustermagnet> guys, for loops , how do you does them :)
[2011/12/14 11:17:27] @ Quit: omry_: Ping timeout: 240 seconds
[2011/12/14 11:20:01] <job> mzi, yes
[2011/12/14 11:21:53] <robsweet> For those playing at home, the answer is Puppet::Rails::Host.find
[2011/12/14 11:22:23] <rodjek> clustermagnet: use an array as the namevar of a type
[2011/12/14 11:22:41] <rodjek> it'll apply that type once for each value in the array
[2011/12/14 11:22:49] <robsweet> Next question: How can I return a collection (an array of strings) from a Puppet function? I'm getting this when I return a raw Ruby array: Puppet::Parser::AST::Resource failed with error ArgumentError: Invalid resource type notice
[2011/12/14 11:24:11] <rodjek> robsweet: you just return an array...
[2011/12/14 11:24:17] <rodjek> what does your function look like?
[2011/12/14 11:25:08] <robsweet> http://pastie.org/3017175
[2011/12/14 11:25:36] @ KaiserBeto1 joined channel #puppet
[2011/12/14 11:25:47] @ Quit: walkeran: Remote host closed the connection
[2011/12/14 11:26:27] <rodjek> robsweet: have you checked to make sure the rvalue isn't []?
[2011/12/14 11:26:42] <robsweet> I can't pass back an empty array?
[2011/12/14 11:27:04] @ shadoi joined channel #puppet
[2011/12/14 11:27:11] @ KaiserBeto1 left channel #puppet ()
[2011/12/14 11:27:43] <rodjek> well, it depends on what you're using it for
[2011/12/14 11:27:54] <clustermagnet> rodjek: do you have an example by any chance?
[2011/12/14 11:28:02] <clustermagnet> rodjek: is this it? http://groups.google.com/group/puppet-users/browse_thread/thread/37c14950687695c8
[2011/12/14 11:28:28] <mzi> job: what happens if you realize(Add_user['intouch'])?
[2011/12/14 11:28:42] @ walkeran joined channel #puppet
[2011/12/14 11:28:44] <rodjek> clustermagnet: yep, exactly that
[2011/12/14 11:28:53] <job> i tried User <| title == intouch |>
[2011/12/14 11:29:00] <job> that also didnt do anything
[2011/12/14 11:29:13] @ omry_ joined channel #puppet
[2011/12/14 11:29:24] <robsweet> rodjek: Here's the usage: $foo = inline_template("<%= scope.function_node_names_matching('/.*foo-bar.*/').inspect %>")
[2011/12/14 11:29:30] <mzi> I saw that, but realize the define you've just made, just for debugging.
[2011/12/14 11:29:44] <robsweet> or at least an example usage
[2011/12/14 11:30:30] <mzi> I don't really know, but for me it looks like you should use user::add_user, but the parser don't complain about virtual resources before they're realized.
[2011/12/14 11:30:36] <pll> How do refer to a variable set in nodes.pp in it's fully qualified form?
[2011/12/14 11:30:40] <pll> Is it $main::foo ?
[2011/12/14 11:30:56] @ sduchesneau joined channel #puppet
[2011/12/14 11:31:04] <nate_h> job ya i'd try that first method listed in the blog
[2011/12/14 11:31:16] <nate_h> job, where it explicitely called the define names
[2011/12/14 11:31:20] <nate_h> as a sanity check
[2011/12/14 11:31:30] @ jodok joined channel #puppet
[2011/12/14 11:31:31] @ Quit: jodok: Changing host
[2011/12/14 11:31:31] @ jodok joined channel #puppet
[2011/12/14 11:31:48] <clustermagnet> http://pastie.org/3017204
[2011/12/14 11:31:55] <clustermagnet> rodjek: uhm, some syntax problem i think
[2011/12/14 11:32:03] <robsweet> rodjek: thoughts?
[2011/12/14 11:32:05] <lindenle> Is there a way to completely disable caching, this appears to be old data about the node on my master that is causing it to grab the wrong environment
[2011/12/14 11:32:09] <nate_h> clustermagnet, add the :
[2011/12/14 11:32:11] <nate_h> in the define cal
[2011/12/14 11:32:12] <nate_h> call
[2011/12/14 11:32:16] <clustermagnet> :)
[2011/12/14 11:32:16] <clustermagnet> one sec
[2011/12/14 11:32:34] <job> nate_h, yes i guess its best to start from scratch
[2011/12/14 11:32:40] @ diq left channel #puppet ("Leaving")
[2011/12/14 11:32:53] <job> nate_h, that will take a while because i'll have to do that in my staging environment (which i yet have to build :-))
[2011/12/14 11:33:25] <nate_h> job, i just mean call it like realize ( User::adduser["foo"], )
[2011/12/14 11:33:31] <nate_h> to make sure it realizes that way first
[2011/12/14 11:33:47] <mzi> job: just try in a self contained class that you run puppet apply on
[2011/12/14 11:33:54] <clustermagnet> nate_h: thanks man!
[2011/12/14 11:33:54] <job> where does the User:: part come from in my situation?
[2011/12/14 11:34:18] <mzi> job: the class that you defined add_user in
[2011/12/14 11:34:23] <nate_h> exactly
[2011/12/14 11:34:38] <nate_h> clustermagnet, another thing I do with hiera data for example host entries.. I store the host entries in a hash and then call create_resources on them
[2011/12/14 11:34:51] @ Quit: jodok: Remote host closed the connection
[2011/12/14 11:35:06] @ jodok joined channel #puppet
[2011/12/14 11:35:29] @ Quit: kelseyhightower: Ping timeout: 245 seconds
[2011/12/14 11:35:38] <job> realise(ring_users::add_user["intouch"]) in my case
[2011/12/14 11:35:59] @ Quit: d3c: Quit: Lost terminal
[2011/12/14 11:36:05] <mzi> no, you've defined add_user in user.pp, no?
[2011/12/14 11:36:36] <job> define add_user is not in a class
[2011/12/14 11:36:42] <nate_h> clustermagnet, http://www.pastie.org/3017229
[2011/12/14 11:36:46] @ Quit: nevyn: Ping timeout: 276 seconds
[2011/12/14 11:36:50] <mzi> job: not at all?
[2011/12/14 11:37:04] <job> no
[2011/12/14 11:37:19] <job> is this a 'scoping' issue?
[2011/12/14 11:37:24] <mzi> "@add_user from classes/user.pp"
[2011/12/14 11:37:58] <job> this is the define: https://github.com/SnijdersIT/ring-puppet/blob/ba31f4c30c12d174ac292aa02cb5297c114e3d41/manifests/classes/user.pp
[2011/12/14 11:38:00] <lindenle> anyone? ^ Rerlly stumped here....
[2011/12/14 11:38:13] @ nevyn joined channel #puppet
[2011/12/14 11:38:15] <job> which i guess is imported thrugh 'import "classes/*.pp"'
[2011/12/14 11:38:38] <robsweet> lindenle: Are you not specifying environment= in the puppet.conf on the node?
[2011/12/14 11:39:06] <lindenle> <robsweet> no, tried on command line and it always gets the last one I tried before I did puppet node clean on the server
[2011/12/14 11:39:28] <lindenle> robsweet: seems to be caching something up somewhere and I cannot figure it out
[2011/12/14 11:39:28] <robsweet> lindenle: What version of puppet on the node and master?
[2011/12/14 11:39:36] <lindenle> robsweet: 2.7.3 both
[2011/12/14 11:40:17] @ Quit: omry_: Read error: Operation timed out
[2011/12/14 11:40:19] <robsweet> Hmm...I've been successful with both the puppet.conf and 'puppet agent -t --environment=foo'. Pastie your puppet.conf from your master?
[2011/12/14 11:40:33] <robsweet> lindenle: Filter passwords and such, obviously. :)
[2011/12/14 11:40:40] <mzi> I would try to make two classes in one file, one with the define and one that uses the define, and just apply that on your local machine and see how it work. or with just one defne and a class that uses it.
[2011/12/14 11:41:27] <lindenle> robsweet: yep .... http://pastie.org/3017244
[2011/12/14 11:41:37] <mzi> job: that's a quick way to just see that your assumptions are correct.
[2011/12/14 11:41:58] @ omry_ joined channel #puppet
[2011/12/14 11:43:23] @ Quit: uphillian: Read error: Operation timed out
[2011/12/14 11:44:11] @ Quit: st33v: Quit: st33v
[2011/12/14 11:44:39] <robsweet> lindenle: Interesting. You're doing it differently than I am. http://pastie.org/3017256
[2011/12/14 11:45:07] @ uphillian joined channel #puppet
[2011/12/14 11:45:18] <robsweet> lindenle: Seems like with your config, you'd always get qa_stable
[2011/12/14 11:45:21] <pll> How do I refer to a variable set in nodes.pp in it's fully qualified form? Is it $main::foo ?
[2011/12/14 11:45:21] <lindenle> <robsweet>: yeah we have lots of environments based on git branches
[2011/12/14 11:45:32] @ Quit: nevyn: Ping timeout: 268 seconds
[2011/12/14 11:45:44] <robsweet> because you're setting environment= in the master section
[2011/12/14 11:45:47] <lindenle> <robsweet>: well I think i have verified that I do get that after i did puppet node clean mynode
[2011/12/14 11:46:15] <lindenle> <robsweet>: but if i specified production on client I was still getting qa_styable
[2011/12/14 11:46:37] @ Quit: gutseb: Quit: gutseb
[2011/12/14 11:46:46] @ nevyn joined channel #puppet
[2011/12/14 11:47:53] <gepetto> ::redmine:: Wiki edit: Internal_Development_Process (#62) @ http://projects.puppetlabs.com/projects/puppet/wiki/Internal_Development_Process?version=62 (by Jason McKerr)
[2011/12/14 11:54:44] <gepetto> ::redmine:: Wiki edit: Internal_Development_Process (#63) @ http://projects.puppetlabs.com/projects/puppet/wiki/Internal_Development_Process?version=63 (by Jason McKerr)
[2011/12/14 11:55:56] <robsweet> right, but I think the environment=qa_stable in your master section will force everything using that master to qa_stable, no?
[2011/12/14 11:56:36] <job> err: Could not retrieve catalog from remote server: Error 400 on SERVER: Puppet::Parser::AST::Resource failed with error ArgumentError: Invalid resource type add_user at /etc/puppet/environments/production/manifests/ring-users.pp:26 on node staging01.ring.nlnog.net
[2011/12/14 11:57:24] <mzi> job: yep, scoping.
[2011/12/14 11:57:44] <mzi> add a class user {} around your defines in user.pp
[2011/12/14 11:58:04] <mzi> and use user::add_user in ring_users
[2011/12/14 11:58:19] <job> i wrapped in class test
[2011/12/14 11:58:19] <job> https://github.com/SnijdersIT/ring-puppet/blob/master/manifests/classes/user.pp
[2011/12/14 11:58:32] <job> and here in include test https://github.com/SnijdersIT/ring-puppet/blob/master/manifests/ring-users.pp
[2011/12/14 11:58:34] @ Quit: aglenday: Remote host closed the connection
[2011/12/14 11:58:38] @ joshcooper joined channel #puppet
[2011/12/14 11:59:16] <job> then i include a class under a node which contains 'realize(test::add_user["intouch"],)'
[2011/12/14 11:59:39] @ Quit: ohadlevy: Ping timeout: 245 seconds
[2011/12/14 11:59:46] @ paxos joined channel #puppet
[2011/12/14 12:00:43] @ Quit: omry_: Ping timeout: 252 seconds
[2011/12/14 12:00:50] @ lak joined channel #puppet
[2011/12/14 12:00:51] @ Quit: lak: Changing host
[2011/12/14 12:00:51] @ lak joined channel #puppet
[2011/12/14 12:00:54] @ Quit: mcarpent: Ping timeout: 248 seconds
[2011/12/14 12:01:01] @ ohadlevy joined channel #puppet
[2011/12/14 12:01:04] @ kelseyhightower joined channel #puppet
[2011/12/14 12:01:06] <mzi> job: but the resource is Ring_users::add_user['intouch']
[2011/12/14 12:01:12] <mzi> isn't it?
[2011/12/14 12:01:16] <job> let me try
[2011/12/14 12:01:59] <job> err: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not parse for environment production: Syntax error at '::add_user'; expected ')' at /etc/puppet/environments/production/manifests/nodes.pp:111 on node staging01.ring.nlnog.net
[2011/12/14 12:02:19] <mzi> job: and I'm not sure you can just include it, but maybe. I'm at my laptop in a hotelroom and have not much of an environment to play around with
[2011/12/14 12:02:29] <job> i understand
[2011/12/14 12:03:09] <job> yes, this enviroment is to complicated for me to just sit down and take it slow
[2011/12/14 12:03:27] <job> ok, i will move this todo to after staging env is setup
[2011/12/14 12:03:40] @ omry_ joined channel #puppet
[2011/12/14 12:04:27] <mzi> if you're able to, ditch the include and user directs reference -> test::add_user
[2011/12/14 12:04:36] @ jakem_ joined channel #puppet
[2011/12/14 12:04:54] @ Quit: brandon_dacrib: Quit: brandon_dacrib
[2011/12/14 12:05:18] <mzi> and then you should have ended up with a virtual resource of a @user that you should be able to realize. even with collections (I think)
[2011/12/14 12:05:53] <job> i reverted again to stable :)
[2011/12/14 12:06:22] <job> i love having manifests in repo
[2011/12/14 12:06:41] <mzi> another time then. I really recommend to do a small test case with just one user on your local machine later, just so ju can tell that you're on the right track.
[2011/12/14 12:06:54] <job> yes agree, will take that approach
[2011/12/14 12:08:36] <mzi> just copy user.pp and append another class (ring_users) at the bottom, voila, you've got a model of your production.
[2011/12/14 12:08:49] <job> another question, when do you inherit and when do you include
[2011/12/14 12:09:05] <job> this group of users needs to exist on all nodes except the master
[2011/12/14 12:09:15] <job> but on each node 1 of the users is an admin and needs to be in the admin group
[2011/12/14 12:10:08] <job> and under each node i want to define the user that should be the admin by doing something like $owner = "intouch"
[2011/12/14 12:10:30] @ Quit: jodok: Read error: Connection reset by peer
[2011/12/14 12:10:38] @ jodok joined channel #puppet
[2011/12/14 12:10:39] @ Quit: jodok: Changing host
[2011/12/14 12:10:39] @ jodok joined channel #puppet
[2011/12/14 12:10:42] <job> i made a thingy that appends the string admin to the $groups array, but with inherit that failed because you cannot redefine stuff
[2011/12/14 12:11:10] <job> would this be a good case of having virtual users, append to the groups array of said user 'admin' and then realise?
[2011/12/14 12:11:48] <pll> For some reason puppet isn't able to evaluate the variable I set in node.pp
[2011/12/14 12:11:56] <pll> Anyone ever see that ?
[2011/12/14 12:12:26] @ Quit: ken_barber: Quit: Leaving.
[2011/12/14 12:13:49] <mzi> inherritance is for a broader definitions of things. you inherit a "server" class, but include an "apache" class.
[2011/12/14 12:14:13] @ jodok_ joined channel #puppet
[2011/12/14 12:14:21] <mzi> I haven't tried appending to arrays for users.. another way is to define an admin user with the same username and realize that user only on some nodes.
[2011/12/14 12:14:43] <job> the the 2 virtual resources would be merged and then realised?
[2011/12/14 12:15:51] <mzi> not merged.. you define your @add_user[foo] and another @add_user[foo_admin]
[2011/12/14 12:16:10] @ Quit: nottings_: Remote host closed the connection
[2011/12/14 12:16:11] @ Quit: nottings: Remote host closed the connection
[2011/12/14 12:16:26] <mzi> they have the same username, but the foo_admin guy is a member of the admin group.
[2011/12/14 12:16:37] <mzi> so you realize foo_admin on the admin nodes and foo on the rest.
[2011/12/14 12:16:44] <job> and since the title is unique you trick puppet
[2011/12/14 12:16:50] @ Quit: jodok: Ping timeout: 252 seconds
[2011/12/14 12:16:50] @ jodok_ is now known as jodok
[2011/12/14 12:17:37] <mzi> but if it works with just appendning to the group-array, it might be neater.
[2011/12/14 12:18:10] @ bmahe joined channel #puppet
[2011/12/14 12:18:11] @ Quit: bmahe: Changing host
[2011/12/14 12:18:11] @ bmahe joined channel #puppet
[2011/12/14 12:18:24] @ mcarpent joined channel #puppet
[2011/12/14 12:18:50] @ Quit: ^conner: Ping timeout: 268 seconds
[2011/12/14 12:18:54] @ Quit: jodok: Remote host closed the connection
[2011/12/14 12:18:55] <mzi> you could also use $caller_module_name in a selection in the define, if you use different modules on the admin nodes.
[2011/12/14 12:19:09] @ jodok joined channel #puppet
[2011/12/14 12:19:14] @ Quit: omry_: Ping timeout: 245 seconds
[2011/12/14 12:20:15] @ omry_ joined channel #puppet
[2011/12/14 12:20:25] @ dylants joined channel #puppet
[2011/12/14 12:21:33] @ mneedham joined channel #puppet
[2011/12/14 12:21:47] @ Quit: kelseyhightower: Ping timeout: 252 seconds
[2011/12/14 12:23:29] @ Rickson- joined channel #puppet
[2011/12/14 12:25:29] @ verwilst joined channel #puppet
[2011/12/14 12:25:58] @ Quit: nevyn: Ping timeout: 248 seconds
[2011/12/14 12:26:46] <job> this describes my problem :) http://www.mail-archive.com/puppet-users@googlegroups.com/msg15641.html
[2011/12/14 12:27:47] @ nevyn joined channel #puppet
[2011/12/14 12:29:49] @ ^conner joined channel #puppet
[2011/12/14 12:30:32] <unixdaemon> masterzen: if you don't mind me asking but which version of puppet do you deploy? 2.6 or 2.7?
[2011/12/14 12:31:10] <job> this is similar problem http://www.mailinglistarchive.com/html/puppet-users@googlegroups.com/2011-03/msg00073.html
[2011/12/14 12:32:18] @ Quit: car|0s: Remote host closed the connection
[2011/12/14 12:33:04] @ nottings joined channel #puppet
[2011/12/14 12:33:09] @ nottings_ joined channel #puppet
[2011/12/14 12:33:15] <job> and another http://groups.google.com/group/puppet-users/browse_thread/thread/46ba2f43858735ba
[2011/12/14 12:34:03] @ kelseyhightower joined channel #puppet
[2011/12/14 12:34:44] @ jodok_ joined channel #puppet
[2011/12/14 12:34:44] @ Quit: jodok_: Changing host
[2011/12/14 12:34:45] @ jodok_ joined channel #puppet
[2011/12/14 12:36:00] @ ohadlevy_ joined channel #puppet
[2011/12/14 12:36:07] @ Quit: ohadlevy: Ping timeout: 240 seconds
[2011/12/14 12:36:23] @ ohadlevy_ is now known as ohadlevy
[2011/12/14 12:36:53] @ ohadlevy is now known as Guest98075
[2011/12/14 12:37:08] @ Quit: jodok: Ping timeout: 240 seconds
[2011/12/14 12:37:09] @ jodok_ is now known as jodok
[2011/12/14 12:37:20] @ Quit: larstobi: Quit: Leaving.
[2011/12/14 12:39:54] @ brandon_dacrib joined channel #puppet
[2011/12/14 12:43:14] @ jodok_ joined channel #puppet
[2011/12/14 12:43:58] @ Quit: natewalck: Quit: Outta here
[2011/12/14 12:44:27] @ Quit: omry_: Read error: Operation timed out
[2011/12/14 12:44:47] @ Quit: jodok: Ping timeout: 240 seconds
[2011/12/14 12:45:10] @ omry_ joined channel #puppet
[2011/12/14 12:45:20] @ natewalck joined channel #puppet
[2011/12/14 12:45:42] @ jodok joined channel #puppet
[2011/12/14 12:45:49] @ Quit: jodok: Remote host closed the connection
[2011/12/14 12:46:02] @ jodok joined channel #puppet
[2011/12/14 12:47:42] @ maxmartin joined channel #puppet
[2011/12/14 12:47:46] @ Quit: jodok_: Ping timeout: 255 seconds
[2011/12/14 12:50:23] @ Quit: jodok: Read error: Connection reset by peer
[2011/12/14 12:50:34] @ jodok joined channel #puppet
[2011/12/14 12:50:35] @ Quit: jodok: Changing host
[2011/12/14 12:50:35] @ jodok joined channel #puppet
[2011/12/14 12:51:29] @ benjiedmund joined channel #puppet
[2011/12/14 12:51:32] @ madhatter_ joined channel #puppet
[2011/12/14 12:51:46] @ Quit: teratoma: Quit: leaving
[2011/12/14 12:52:10] @ Quit: mcarpent: Ping timeout: 276 seconds
[2011/12/14 12:53:55] @ heph joined channel #puppet
[2011/12/14 12:54:37] <heph> hey guys, i'm having a problem with SSL certificates on ruby 1.9.2, puppet 2.7.9, and rhel6. it seems to generate the keys, but not the CSRs
[2011/12/14 12:55:01] <heph> has anyone seen this problem before? is there some wonkiness with the openssl implementation in this environment?
[2011/12/14 12:55:37] <heph> --debug isn't giving me any more information, is there any other way to get insight into what it's actually trying to do?
[2011/12/14 12:57:22] @ nul0op joined channel #puppet
[2011/12/14 12:59:01] @ Quit: Guest98075: Quit: ZNC - http://znc.in
[2011/12/14 12:59:18] @ ohadlevy_ joined channel #puppet
[2011/12/14 12:59:40] @ Quit: kelseyhightower: Ping timeout: 240 seconds
[2011/12/14 13:01:16] @ Quit: ^conner: Ping timeout: 240 seconds
[2011/12/14 13:01:53] @ kelseyhightower joined channel #puppet
[2011/12/14 13:04:03] @ dylants left channel #puppet ()
[2011/12/14 13:05:02] @ Quit: larsar_: Read error: Connection reset by peer
[2011/12/14 13:05:09] @ Quit: uphillian: Ping timeout: 240 seconds
[2011/12/14 13:05:25] @ Chiku|dc joined channel #puppet
[2011/12/14 13:05:36] @ larsar joined channel #puppet
[2011/12/14 13:06:12] @ Quit: nevyn: Ping timeout: 255 seconds
[2011/12/14 13:07:49] @ nevyn joined channel #puppet
[2011/12/14 13:08:03] @ uphillian joined channel #puppet
[2011/12/14 13:08:11] @ Quit: Chiku: Ping timeout: 252 seconds
[2011/12/14 13:08:40] @ Quit: natewalck: Quit: Outta here
[2011/12/14 13:09:00] <Rickson-> i found this http://groups.google.com/group/puppet-users/msg/52c821ba177626cb its quite the similar thing i want to accomplish, but since im quite new to puppet, i dont really get the users to be installed on the the nodes, where should i decleare what nodes the user should be installed to?
[2011/12/14 13:09:36] @ Quit: newtMcKerr: Quit: Leaving.
[2011/12/14 13:10:51] @ Quit: ascarter: Quit: Computer has gone to sleep.
[2011/12/14 13:11:33] @ seekwill joined channel #puppet
[2011/12/14 13:11:43] @ ascarter joined channel #puppet
[2011/12/14 13:11:47] <lindenle> Hi guys, we seem to have on agent who never sends its facts to the master.
[2011/12/14 13:12:24] @ ken_barber joined channel #puppet
[2011/12/14 13:12:47] @ msaum joined channel #puppet
[2011/12/14 13:13:02] @ ^conner joined channel #puppet
[2011/12/14 13:14:21] @ Quit: j^2: Quit: leaving
[2011/12/14 13:14:36] @ j^2 joined channel #puppet
[2011/12/14 13:16:55] <joe-mac> lindenle: what makes you say that
[2011/12/14 13:17:49] <lindenle> joe-mac: /var/lib/puppet/yaml/node/node.yaml is basically empty and there is a 400 on the pu to catalog. The error on agent is that hostname is not defined and a template cannot be parsed.
[2011/12/14 13:18:03] @ danbeck joined channel #puppet
[2011/12/14 13:18:46] @ Quit: danbeck: Client Quit
[2011/12/14 13:19:06] @ Djelibeybi joined channel #puppet
[2011/12/14 13:19:14] <joe-mac> sounds like maybe auth.conf weirdness?
[2011/12/14 13:19:20] <lindenle> joe-mac: http://pastie.org/3017684
[2011/12/14 13:19:27] <lindenle> that is all that is in the node.yaml file
[2011/12/14 13:21:37] @ miche_ joined channel #puppet
[2011/12/14 13:21:43] <joe-mac> what version of puppet is this?
[2011/12/14 13:21:48] <joe-mac> I remember an empty catalog bug in early 2.6
[2011/12/14 13:21:52] <lindenle> joe-mac: 2.7.3
[2011/12/14 13:22:00] <lindenle> joe-mac: and other hosts are working fine
[2011/12/14 13:22:04] @ Quit: ckauhaus: Quit: Leaving.
[2011/12/14 13:22:23] <kenperkins> ack, something is basically hosing Apache, how do I track down what's going on
[2011/12/14 13:22:27] <lindenle> and I am super stumped....
[2011/12/14 13:22:36] <kenperkins> basically every call starts throwing 500 errors
[2011/12/14 13:22:44] <kenperkins> (to the puppet master)
[2011/12/14 13:23:09] @ Quit: kubicek: Excess Flood
[2011/12/14 13:23:48] @ Majestic joined channel #puppet
[2011/12/14 13:24:42] @ kubicek joined channel #puppet
[2011/12/14 13:24:57] @ ^Majestic^ joined channel #puppet
[2011/12/14 13:25:54] @ Quit: |Majestic|: Ping timeout: 245 seconds
[2011/12/14 13:27:09] @ jimmn joined channel #puppet
[2011/12/14 13:27:16] @ molven joined channel #puppet
[2011/12/14 13:27:36] @ Quit: cliff-hm: Ping timeout: 240 seconds
[2011/12/14 13:28:28] @ Quit: Majestic: Ping timeout: 252 seconds
[2011/12/14 13:29:37] <agaffney> is there a way to "disable" augeas without removing it completely from the clients? the EPEL package depends on it, so I can't just remove it
[2011/12/14 13:29:40] <agaffney> but I don't want it to be usable
[2011/12/14 13:30:27] @ Quit: nevyn: Ping timeout: 240 seconds
[2011/12/14 13:32:35] @ nevyn joined channel #puppet
[2011/12/14 13:32:55] @ Holocaine joined channel #puppet
[2011/12/14 13:33:15] @ Quit: motomike: Remote host closed the connection
[2011/12/14 13:34:04] @ Quit: ghg: Ping timeout: 240 seconds
[2011/12/14 13:34:36] @ motomike joined channel #puppet
[2011/12/14 13:35:13] @ ghg joined channel #puppet
[2011/12/14 13:36:03] @ teratoma joined channel #puppet
[2011/12/14 13:36:07] <walkeran> agaffney: Some hackish things come to mind, but they all revolve around making your own augeas rpm... that's probably not quite the answer you were looking for, but there might be some other decent way to do that that I don't know of
[2011/12/14 13:36:25] <agaffney> walkeran: yeah, looking to avoid that
[2011/12/14 13:36:38] <agaffney> another hacky thought was using puppet to remove the .rb file for the provider :P
[2011/12/14 13:36:39] @ Quit: zenimal: Quit: leaving
[2011/12/14 13:36:59] @ ohadlevy_ is now known as ohadlevy
[2011/12/14 13:37:22] <walkeran> Hah :) I like that one... I didn't even think of that
[2011/12/14 13:37:39] <tmz> agaffney: It's easy to rebuild the EPEL packages without that dep.
[2011/12/14 13:37:51] <kenperkins> does puppet 2.7.3 work with passenger 3.0.7 ?
[2011/12/14 13:37:59] @ Quit: msaum: Read error: Connection reset by peer
[2011/12/14 13:38:14] @ Quit: nevyn: Ping timeout: 252 seconds
[2011/12/14 13:38:48] <agaffney> tmz: yeah, but I already rebuild enough packages as it is...I really don't want to have to rebuild EPEL packages, too :P
[2011/12/14 13:38:56] <tmz> agaffney: The spec files first two lines provide the basic steps for that and selinux (--without augeas and/or --without selinux). Best done in mock. :)
[2011/12/14 13:39:10] @ nevyn joined channel #puppet
[2011/12/14 13:39:15] <tmz> Gotcha. Then yeah, on to the hacks.
[2011/12/14 13:39:15] <agaffney> I'm very familiar with RPM specs
[2011/12/14 13:39:18] <agaffney> I'm just lazy
[2011/12/14 13:39:25] <agaffney> like every good sysadmin ;)
[2011/12/14 13:40:24] <tmz> Can't fault anyone for that.
[2011/12/14 13:40:49] <tmz> I guess I could, but that would take too much effort.
[2011/12/14 13:40:53] <seekwill> agaffney: It's not lazy, it's "efficient"
[2011/12/14 13:41:27] <kenperkins> basically I've got something going on where every run or 3 something causes the puppet master to basically wedge passenger
[2011/12/14 13:41:34] <kenperkins> and then it's not usable until I restart apache
[2011/12/14 13:41:40] <kenperkins> tbh I don't know how to proceed :P
[2011/12/14 13:43:01] <rodjek> agaffney: why remove augeas?
[2011/12/14 13:43:54] @ sfromm joined channel #puppet
[2011/12/14 13:44:17] @ Quit: nevyn: Ping timeout: 252 seconds
[2011/12/14 13:45:40] <sfromm> recently upgraded to 2.6.12 and ran into problem on some nodes (not all) where the client gets stuck when run as a daemon after requesting the plugins. it never requests the catalog.
[2011/12/14 13:46:12] @ zenimal joined channel #puppet
[2011/12/14 13:46:14] <sfromm> if i run puppet agent --test or --onetime, puppet runs successfully
[2011/12/14 13:47:09] @ nevyn joined channel #puppet
[2011/12/14 13:47:49] <sfromm> any ideas why some clients would get stuck and not request the catalog?
[2011/12/14 13:49:12] <eric0> sfromm: buggy plugin? does --pluginsync=false change anything? what does strace show on the client when its hung?
[2011/12/14 13:49:29] @ |Majestic| joined channel #puppet
[2011/12/14 13:50:05] @ Quit: ascarter: Quit: Computer has gone to sleep.
[2011/12/14 13:50:23] @ Quit: paxos: Quit: Leaving.
[2011/12/14 13:50:57] @ ken_barber1 joined channel #puppet
[2011/12/14 13:51:09] <sfromm> eric0: strace shows the puppet process requesting the time .. clock_gettime() followed by select(). a busy wait. checking now about pluginsync
[2011/12/14 13:51:49] <the_ramink_> kenperkins: I haven't had any issues with Puppet 2.7.x and Passenger 3.0.x
[2011/12/14 13:52:01] <mrwacky42> Volcane: you are a ninja
[2011/12/14 13:52:03] @ Quit: mrwacky42: Read error: Operation timed out
[2011/12/14 13:52:11] <sfromm> eric0: using pluginsync=false makes no difference.
[2011/12/14 13:53:09] <the_ramink_> kenperkins: how are you doing on RAM though? You're going to come in around 120MB per Rack process.
[2011/12/14 13:53:17] @ Quit: ^Majestic^: Ping timeout: 248 seconds
[2011/12/14 13:53:18] @ Quit: nevyn: Ping timeout: 276 seconds
[2011/12/14 13:53:31] @ Quit: ken_barber: Ping timeout: 244 seconds
[2011/12/14 13:53:32] <sfromm> i guess question is why does puppet agent --test work, but not puppet agent --daemonize when they both have the same config and state.
[2011/12/14 13:53:38] <kenperkins> it should be a 1gb ram box, let me look
[2011/12/14 13:53:40] @ IndyMichaelB_ joined channel #puppet
[2011/12/14 13:53:42] @ Quit: IndyMichaelB_: Client Quit
[2011/12/14 13:54:03] @ nevyn joined channel #puppet
[2011/12/14 13:54:24] @ Quit: freezey: Quit: freezey
[2011/12/14 13:54:51] @ Quit: IndyMichaelB: Read error: Operation timed out
[2011/12/14 13:55:23] <lindenle> joe-mac: any more thoughts?
[2011/12/14 13:55:52] <joe-mac> lindenle: run in debug mode oin both sides, take a traffic dump, etc
[2011/12/14 13:56:03] <kenperkins> yea, ram is fine, a few hundred megs free
[2011/12/14 13:56:27] <lindenle> <joe-mac>: does master have debug?
[2011/12/14 13:56:35] @ lborda joined channel #puppet
[2011/12/14 13:56:38] <lindenle> nm
[2011/12/14 13:56:51] <joe-mac> indeed it does
[2011/12/14 13:56:59] @ ascarter joined channel #puppet
[2011/12/14 13:57:30] <lindenle> Inserting default '/status'(auth) ACL because none were found in '/etc/puppet/auth.conf'?
[2011/12/14 13:57:40] <jorhett> sfromm: test uses one open filehandle, daemon uses two and thus changes the way ruby accesses files. See bug #10418 for details and some kernel versions that might be affecting
[2011/12/14 13:57:40] <gepetto> jorhett: sfromm: #10418 is http://projects.puppetlabs.com/issues/show/10418 "Puppet - Bug #10418: Puppet agent hangs when listen is true and reading from /proc filesystem on redhat. It has a status of Investigating and is assigned to -"
[2011/12/14 13:59:56] <sfromm> gepetto: that's it. setting listen=false and it now works.
[2011/12/14 14:00:20] <sfromm> gepetto and jorhett: thank you :)
[2011/12/14 14:00:26] @ Quit: nevyn: Ping timeout: 276 seconds
[2011/12/14 14:00:30] <agaffney> rodjek: because it's difficult/complex to use properly, and it takes way more effort than "simpler" solutions
[2011/12/14 14:00:52] @ mrwacky42 joined channel #puppet
[2011/12/14 14:01:14] <rodjek> agaffney: i happen to disagree, but in any case, why not just not use it in your manifests?
[2011/12/14 14:01:24] @ nevyn joined channel #puppet
[2011/12/14 14:01:25] <rodjek> why do you need to make it completely unavailable?
[2011/12/14 14:02:01] <agaffney> rodjek: because I'm not the only one with access to my puppet git repo
[2011/12/14 14:02:15] <agaffney> and my engineers will use whatever is shiny instead of what makes sense
[2011/12/14 14:02:18] <jorhett> sfromm: gepetto is an auto-bot. Anyway, downgrade kernel to 274.3.1 and you'll be able to use listen again
[2011/12/14 14:02:37] <jorhett> and it can be hit without listen, depending on other things in your manifest. I would downgrade.
[2011/12/14 14:02:43] <sfromm> jorhett: i thought that name was a bit suspicious :)
[2011/12/14 14:08:05] @ csanchez joined channel #puppet
[2011/12/14 14:08:14] @ Quit: nevyn: Ping timeout: 276 seconds
[2011/12/14 14:08:36] @ Quit: brandon_dacrib: Quit: brandon_dacrib
[2011/12/14 14:09:28] <lindenle> How do you force these to be updated /var/lib/puppet/yaml/node/* ?
[2011/12/14 14:09:54] @ nevyn joined channel #puppet
[2011/12/14 14:11:35] @ Quit: Elwell: Ping timeout: 240 seconds
[2011/12/14 14:15:18] @ heph left channel #puppet ()
[2011/12/14 14:15:47] <WALoeIII> can I provide an array in my external node classifier script
[2011/12/14 14:15:53] <WALoeIII> just ensure that it is valid YAML?
[2011/12/14 14:17:01] @ Elwell joined channel #puppet
[2011/12/14 14:17:09] <lindenle> moving to 2.7.6 fixed it
[2011/12/14 14:17:20] @ Quit: nevyn: Ping timeout: 276 seconds
[2011/12/14 14:18:41] @ jab_doa joined channel #puppet
[2011/12/14 14:19:21] @ nevyn joined channel #puppet
[2011/12/14 14:20:05] <eric0> jorhett: wow, 10418 is f'd up
[2011/12/14 14:20:19] @ Quit: uphillian: Quit: Leaving.
[2011/12/14 14:20:23] @ Quit: bradoaks: Read error: Connection reset by peer
[2011/12/14 14:26:01] @ the_ramink__ joined channel #puppet
[2011/12/14 14:26:01] @ Quit: the_ramink_: Read error: Connection reset by peer
[2011/12/14 14:28:04] @ Quit: schvin: Ping timeout: 252 seconds
[2011/12/14 14:33:24] @ Quit: lak: Quit: Leaving.
[2011/12/14 14:33:56] @ Quit: btaitelb: Quit: btaitelb
[2011/12/14 14:34:41] @ Quit: ascarter: Quit: Textual IRC Client: http://www.textualapp.com/
[2011/12/14 14:34:44] @ Mishell joined channel #puppet
[2011/12/14 14:35:02] @ Quit: cmoates: Ping timeout: 252 seconds
[2011/12/14 14:35:08] @ ascarter joined channel #puppet
[2011/12/14 14:35:26] @ gadavis joined channel #puppet
[2011/12/14 14:35:32] @ Quit: nevyn: Ping timeout: 276 seconds
[2011/12/14 14:37:00] @ nevyn joined channel #puppet
[2011/12/14 14:38:35] @ Quit: Mishell: Client Quit
[2011/12/14 14:38:59] @ gadavis left channel #puppet ()
[2011/12/14 14:39:02] @ geekbri joined channel #puppet
[2011/12/14 14:39:03] @ gadavis joined channel #puppet
[2011/12/14 14:39:11] @ bradoaks joined channel #puppet
[2011/12/14 14:39:17] @ Quit: madhatter_: Quit: Thanks for the fish.
[2011/12/14 14:39:36] @ Quit: marczak: Ping timeout: 240 seconds
[2011/12/14 14:42:41] @ Quit: nevyn: Ping timeout: 276 seconds
[2011/12/14 14:45:27] @ Quit: rutger_: Remote host closed the connection
[2011/12/14 14:45:39] @ cwo joined channel #puppet
[2011/12/14 14:47:10] <justintime> ccaum: ping
[2011/12/14 14:47:20] <ccaum> justintime: yo
[2011/12/14 14:47:54] @ nevyn_ joined channel #puppet
[2011/12/14 14:48:06] <kenperkins> wow what a horrid bug
[2011/12/14 14:48:43] <justintime> ccaum: did you have any thoughts re: https://github.com/puppetlabs/puppetlabs-mysql/pull/27
[2011/12/14 14:48:52] <kenperkins> to give info: I had a misconfigured module that impacted my puppet master and set the apt sources to the wrong os version which tickled ruby and passenger to be different
[2011/12/14 14:48:53] @ Quit: cwo: Client Quit
[2011/12/14 14:49:01] @ newtMcKerr joined channel #puppet
[2011/12/14 14:49:02] <kenperkins> which caused all kinds of wierd puppet errors that weren't obvious
[2011/12/14 14:49:23] @ Quit: nevyn_: Read error: Connection reset by peer
[2011/12/14 14:49:33] @ st33v joined channel #puppet
[2011/12/14 14:50:30] @ Quit: labrown: Quit: Leaving
[2011/12/14 14:50:38] @ brtl joined channel #puppet
[2011/12/14 14:50:44] <ccaum> Oh right. I'm not sure. So the problem now is that the module is managing /etc/mysql/my.cnf but on CentOS 6 it should be managing /etc/my.cnf?
[2011/12/14 14:50:50] <dwalu> can you sign a certificate with the rest api?
[2011/12/14 14:51:04] <ccaum> justintime: ^^
[2011/12/14 14:51:44] <ccaum> justintime: It looks like the module is managing both files actually. What does CentOS expect?
[2011/12/14 14:53:07] @ Quit: j^2: Remote host closed the connection
[2011/12/14 14:53:24] <justintime> ccaum: I did some more debugging.
[2011/12/14 14:53:32] @ Quit: verwilst: Quit: Ex-Chat
[2011/12/14 14:53:41] <justintime> the mysql binary on CentOS looks for the presence of these files in this order:
[2011/12/14 14:54:10] @ Quit: lborda: Read error: Operation timed out
[2011/12/14 14:54:28] <justintime> /etc/mysql/my.cnf, /etc/my.cnf, ~/.my.cnf
[2011/12/14 14:54:32] @ nevyn joined channel #puppet
[2011/12/14 14:54:47] <justintime> However, the mysql-libs rpm ships a default /etc/my.cnf
[2011/12/14 14:54:54] <justintime> and never creates /etc/mysql
[2011/12/14 14:55:17] @ j^2 joined channel #puppet
[2011/12/14 14:55:20] <justintime> So, as it stands, applying the commit does indeed make things "work",
[2011/12/14 14:55:39] <justintime> but you're essentially replacing RHEL's default my.cnf with Ubuntu's.
[2011/12/14 14:56:18] <justintime> Also, I don't see where the module is managing both
[2011/12/14 14:57:16] @ Quit: kangman: Remote host closed the connection
[2011/12/14 14:58:41] <ccaum> justintime: Ah, I misread the code
[2011/12/14 14:58:59] <ccaum> justintime: OK. That all makes sense. The Ubuntu format of my.cnf will work with CentOS?
[2011/12/14 14:59:10] <ccaum> justintime: I mean, it's all mysql right?
[2011/12/14 14:59:26] <justintime> Seems to, but I can't say that I've really tested it.
[2011/12/14 14:59:32] @ mosen joined channel #puppet
[2011/12/14 14:59:40] <justintime> I posted the diff on pastebin, did you see that
[2011/12/14 15:00:11] <ccaum> justintime Yeah, I saw it. All in all it's a very small change. I'll merge it. If we have bugs on CentOS then that's going to be another pull request anyway
[2011/12/14 15:00:19] <ccaum> justintime: Thanks for taking the time to do this
[2011/12/14 15:01:06] <justintime> Not a problem, glad to help. Thanks for the module
[2011/12/14 15:02:06] <ccaum> justintime: That one's Dan Bode's, but I'll pass it along :)
[2011/12/14 15:02:09] @ Quit: nevyn: Ping timeout: 245 seconds
[2011/12/14 15:02:13] @ Quit: kelseyhightower: Ping timeout: 252 seconds
[2011/12/14 15:02:18] @ Quit: cwarden: Ping timeout: 255 seconds
[2011/12/14 15:03:02] @ danblack joined channel #puppet
[2011/12/14 15:03:56] @ Quit: st33v: Quit: st33v
[2011/12/14 15:04:06] @ nevyn joined channel #puppet
[2011/12/14 15:06:27] @ Quit: csanchez: Quit: csanchez
[2011/12/14 15:07:20] @ Quit: hkraal: Ping timeout: 252 seconds
[2011/12/14 15:07:45] <mzi> a bit late, but the selinux policy (at least for fedora, that is version 27?) both /etc/my.cnf and /etc/mysql/my.cnf is valid.
[2011/12/14 15:07:53] @ cmoates joined channel #puppet
[2011/12/14 15:07:55] @ schvin joined channel #puppet
[2011/12/14 15:07:57] @ Quit: kermit: Quit: Leaving.
[2011/12/14 15:08:10] @ kermit joined channel #puppet
[2011/12/14 15:09:34] @ pcarlisle joined channel #puppet
[2011/12/14 15:10:36] @ Quit: Fthis: Ping timeout: 258 seconds
[2011/12/14 15:16:04] @ Quit: geekbri: Remote host closed the connection
[2011/12/14 15:18:42] @ st33v joined channel #puppet
[2011/12/14 15:19:09] @ Quit: Rickson-: Ping timeout: 248 seconds
[2011/12/14 15:19:13] @ hkraal joined channel #puppet
[2011/12/14 15:20:14] <clustermagnet> guys, having a brain fart, hope someone can help :(
[2011/12/14 15:20:15] <clustermagnet> http://pastie.org/3018196
[2011/12/14 15:20:42] <clustermagnet> trying to use the variable given back from hiera in an if statement
[2011/12/14 15:20:44] <clustermagnet> and its pooping out
[2011/12/14 15:21:15] <clustermagnet> not seeing the "running wtf.blah.com" in syslog ....
[2011/12/14 15:21:42] <clustermagnet> in yaml, variable looks like : http://pastie.org/3018196
[2011/12/14 15:21:52] <clustermagnet> woope… svnpresent : - 'yes'
[2011/12/14 15:21:52] @ Quit: nevyn: Ping timeout: 244 seconds
[2011/12/14 15:22:37] @ gniks joined channel #puppet
[2011/12/14 15:22:51] <Volcane> - 'yes'
[2011/12/14 15:22:55] <Volcane> is an array with yes in it
[2011/12/14 15:22:58] <Volcane> as the cli shows you.
[2011/12/14 15:23:04] <clustermagnet> Volcane: yep,
[2011/12/14 15:23:15] <Volcane> so then it is not == "yes"
[2011/12/14 15:23:29] <clustermagnet> i wouldnt mind using true/false :)
[2011/12/14 15:23:32] @ Quit: jab_doa: Quit: Verlassend
[2011/12/14 15:23:45] @ nevyn joined channel #puppet
[2011/12/14 15:23:50] <Volcane> its also not true or false
[2011/12/14 15:23:52] <Volcane> its an array
[2011/12/14 15:24:07] <clustermagnet> k, so i either change my yaml
[2011/12/14 15:24:10] @ Quit: sduchesneau: Ping timeout: 252 seconds
[2011/12/14 15:24:15] <clustermagnet> or do svnrepo[0] :)
[2011/12/14 15:25:08] <mzi> or you could check if it's ["yes"]
[2011/12/14 15:25:34] <clustermagnet> in yaml…. what should you set a parameter to be if you want to return back 'yes' :)
[2011/12/14 15:25:55] <clustermagnet> because if i use yes/no, it spits back [nil]
[2011/12/14 15:26:53] <dwalu> hrm
[2011/12/14 15:27:07] <Volcane> each hiera file is a big hash
[2011/12/14 15:27:07] <Volcane> so
[2011/12/14 15:27:10] <Volcane> ruby -r yaml -e 'puts YAML.dump({"foo" => 1})'
[2011/12/14 15:27:21] <dwalu> if I start puppet agent from the command line, and /etc/puppet/puppet.conf contains listen=true in the agent section, puppet agent doesn't seem to actually listen
[2011/12/14 15:27:23] <Volcane> that shows you how a yaml file look of a hash with just 1 key with a simple value
[2011/12/14 15:27:29] <dwalu> is there a hidden --listen flag for puppet agent?
[2011/12/14 15:28:23] @ Quit: jodok: Quit: jodok
[2011/12/14 15:29:50] @ Quit: miche_: Quit: Computer has gone to sleep.
[2011/12/14 15:30:08] <nlew> dwalu: what's the test you're doing that shows it's not listening?
[2011/12/14 15:30:24] @ Quit: spiette: Ping timeout: 252 seconds
[2011/12/14 15:30:44] <dwalu> nlew: telnetting to the port on the localhost, or running netstat -a |grep 8139 (or 40, I forgot which port is for the client so I tested both)
[2011/12/14 15:30:48] @ Quit: alfism: Quit: alfism
[2011/12/14 15:31:46] @ Quit: ghg: Quit: Computer has gone to sleep.
[2011/12/14 15:31:46] <nlew> dwalu: No useful output from the agent? Does it have an auth.conf?
[2011/12/14 15:31:54] <dwalu> nlew: it does
[2011/12/14 15:32:00] <dwalu> let me check syslog
[2011/12/14 15:32:05] @ miche_ joined channel #puppet
[2011/12/14 15:32:28] @ Quit: st33v: Quit: st33v
[2011/12/14 15:33:20] @ Quit: jim80net: Quit: Leaving.
[2011/12/14 15:34:29] <clustermagnet> Volcane: mzi :(
[2011/12/14 15:34:32] <clustermagnet> i am still lost :(
[2011/12/14 15:34:46] <clustermagnet> http://yaml.org/spec/current.html
[2011/12/14 15:35:03] <clustermagnet> i see people saying things like - blah value
[2011/12/14 15:35:22] <clustermagnet> oh, maybe -
[2011/12/14 15:35:26] @ tsykoduk joined channel #puppet
[2011/12/14 15:36:09] <dwalu> oh
[2011/12/14 15:36:18] <dwalu> the server can't go into listen mode until it's certificate is signed, can it?
[2011/12/14 15:37:03] @ Quit: Djelibeybi: Quit: Textual IRC Client: http://www.textualapp.com/
[2011/12/14 15:37:20] <nlew> I'm not sure, but that would seem reasonable
[2011/12/14 15:37:22] @ Quit: nevyn: Ping timeout: 244 seconds
[2011/12/14 15:38:04] <dwalu> the joys of bootstrapping in amazon
[2011/12/14 15:38:15] @ Quit: mneedham: Quit: mneedham
[2011/12/14 15:39:16] @ Quit: jimmn: Quit: Ex-Chat
[2011/12/14 15:39:20] @ nevyn joined channel #puppet
[2011/12/14 15:40:52] @ Quit: miche_: Quit: Computer has gone to sleep.
[2011/12/14 15:41:55] @ Quit: zwi: Quit: Leaving.
[2011/12/14 15:42:03] @ Quit: brtl: Quit: Leaving.
[2011/12/14 15:43:49] <clustermagnet> guys, one more shot :( http://pastie.org/3018270
[2011/12/14 15:43:56] <clustermagnet> i am completely lost with yal
[2011/12/14 15:43:58] <clustermagnet> yaml
[2011/12/14 15:44:14] @ st33v joined channel #puppet
[2011/12/14 15:44:14] @ cosman2001 joined channel #puppet
[2011/12/14 15:44:21] <clustermagnet> in yaml, shouldnt you put returning variables as
[2011/12/14 15:44:26] <clustermagnet> var : - 'blah' ?
[2011/12/14 15:45:25] <cosman2001> is there a known issue with puppet and chaning the time during a puppet run?
[2011/12/14 15:45:33] <Volcane> clustermagnet: "yes"
[2011/12/14 15:45:42] <clustermagnet> Volcane: double quote it?
[2011/12/14 15:45:49] <Volcane> yaml treats yes are boolean true
[2011/12/14 15:45:50] <clustermagnet> in yaml
[2011/12/14 15:45:54] <clustermagnet> ok
[2011/12/14 15:45:58] <clustermagnet> i kinda felt that
[2011/12/14 15:46:06] @ Quit: gabrtv: Quit: gabrtv
[2011/12/14 15:46:06] <clustermagnet> but then in puppet… how do you check that in an if statement
[2011/12/14 15:46:07] <clustermagnet> ?
[2011/12/14 15:46:10] <Volcane> do: ruby -r yaml -e 'p YAML.load_file("foo.yaml")'
[2011/12/14 15:46:16] <Volcane> to just dump a yaml file to output as data
[2011/12/14 15:46:52] <clustermagnet> Volcane: now hiera is returning ["yes"]
[2011/12/14 15:46:56] @ hamish joined channel #puppet
[2011/12/14 15:47:00] @ st33v left channel #puppet ()
[2011/12/14 15:47:31] <Volcane> and if you verify with the command i gave?
[2011/12/14 15:48:41] <clustermagnet> "svnpresent"=>["yes"],
[2011/12/14 15:49:40] <Volcane> so thats not the yaml you showed in your most recent pastie.
[2011/12/14 15:50:13] <clustermagnet> that i got from hiera -c hiera.yaml env=dev
[2011/12/14 15:50:41] <Volcane> why do you ask for help if you have no intention to do what people ask you?
[2011/12/14 15:51:05] <Volcane> do you think thats a good long term approach for making sure people help you 'morrow?
[2011/12/14 15:51:17] <clustermagnet> Volcane: its an awful approach, my appologies
[2011/12/14 15:51:25] <clustermagnet> i did not intend to throw off the thread
[2011/12/14 15:52:40] @ cwarden joined channel #puppet
[2011/12/14 15:56:31] @ Quit: duerF: Ping timeout: 268 seconds
[2011/12/14 15:56:43] <clustermagnet> Volcane: http://pastie.org/3018320
[2011/12/14 15:56:51] <clustermagnet> im testing variables coming back from yaml as you told me
[2011/12/14 15:57:20] @ milk joined channel #puppet
[2011/12/14 15:58:08] @ Quit: nevyn: Ping timeout: 240 seconds
[2011/12/14 15:58:30] <mzi> clustermagnet: why the hyphen?
[2011/12/14 15:59:29] <mzi> svnpresent: "yes"
[2011/12/14 15:59:46] <clustermagnet> mzi: in yaml, omit the hyphen?
[2011/12/14 16:00:01] <mzi> yep.
[2011/12/14 16:00:07] @ nevyn joined channel #puppet
[2011/12/14 16:00:10] @ st33v joined channel #puppet
[2011/12/14 16:00:10] @ Quit: st33v: Client Quit
[2011/12/14 16:00:34] @ iamzaki joined channel #puppet
[2011/12/14 16:00:39] <clustermagnet> mzi: thank you!
[2011/12/14 16:00:42] <clustermagnet> got it to work
[2011/12/14 16:00:56] <clustermagnet> so, the hyphens in yaml
[2011/12/14 16:01:02] <clustermagnet> why do they have them in the yaml docs :(
[2011/12/14 16:01:10] <Volcane> a hyphen makes an array
[2011/12/14 16:01:17] <Volcane> just like you saw
[2011/12/14 16:01:31] <clustermagnet> Volcane: !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! I understand it now!
[2011/12/14 16:01:38] <clustermagnet> thats how im definining arrays of sites!
[2011/12/14 16:01:40] <clustermagnet> thank you!
[2011/12/14 16:01:55] @ Quit: phishy: Disconnected by services
[2011/12/14 16:02:10] <clustermagnet> also, are tabs ok in .yaml files?
[2011/12/14 16:02:17] <eric0> 'retract the foreskin of ignorance and apply the wire brush of enlightenment'
[2011/12/14 16:02:43] <Volcane> clustermagnet: why dont you try and confirm it with the methods i just showed you?
[2011/12/14 16:02:50] @ cliff-hm joined channel #puppet
[2011/12/14 16:02:51] <mrwacky42> clustermagnet: ysh
[2011/12/14 16:02:53] <mosen> eric0, now thats a grisly metaphor
[2011/12/14 16:02:55] <clustermagnet> eric0: nice… shall use this at a christmas party :)
[2011/12/14 16:03:06] <clustermagnet> Volcane: it totally works, just checked
[2011/12/14 16:03:12] <eric0> don't thank me, thank alt.sysadmin.recovery
[2011/12/14 16:04:07] @ Quit: svanderbijl: Ping timeout: 240 seconds
[2011/12/14 16:06:10] @ Quit: neonflux: Quit: Leaving.
[2011/12/14 16:08:15] @ the_ramink___ joined channel #puppet
[2011/12/14 16:08:33] @ kelseyhightower joined channel #puppet
[2011/12/14 16:08:56] @ Quit: the_ramink__: Ping timeout: 240 seconds
[2011/12/14 16:10:46] @ benkevan joined channel #puppet
[2011/12/14 16:14:00] @ st33v joined channel #puppet
[2011/12/14 16:15:01] @ Quit: newtMcKerr: Quit: Leaving.
[2011/12/14 16:15:43] @ papertigers joined channel #puppet
[2011/12/14 16:16:36] @ newtMcKerr joined channel #puppet
[2011/12/14 16:16:53] <papertigers> I have a question, for anyone using local auth how do you handle inital passwords for users. For example I am adding a user and their key in puppet to the system. Expiring the password does me no good because the user needs to type their "current password" which is not set
[2011/12/14 16:17:05] <papertigers> ssh key*
[2011/12/14 16:17:25] @ Quit: DJClean: Read error: Operation timed out
[2011/12/14 16:18:14] @ Quit: nevyn: Read error: Operation timed out
[2011/12/14 16:18:39] <danblack> papertigers: do user's actually need a password?
[2011/12/14 16:19:34] @ Quit: benkevan: Quit: leaving
[2011/12/14 16:19:58] <papertigers> danblack: for sudo, unless I add them to a group that doesnt need a password for sudo
[2011/12/14 16:20:19] <danblack> thats what i did
[2011/12/14 16:20:38] @ Quit: dan__t: Ping timeout: 248 seconds
[2011/12/14 16:20:45] @ nevyn joined channel #puppet
[2011/12/14 16:21:53] <mzi> how do you set up the users normally? do the same with puppet.
[2011/12/14 16:22:46] <mzi> if you let them come by your desk, that the way to get the hash, or pregenerate them and hand them a note.
[2011/12/14 16:24:31] @ Quit: benjiedmund: Remote host closed the connection
[2011/12/14 16:24:34] <mzi> or better still, set up a centralized password system, as LDAP or kerberos and let helpdesk deal with passwords...
[2011/12/14 16:26:50] @ Quit: st33v: Quit: st33v
[2011/12/14 16:27:08] <papertigers> mzi: yeah i dont need central auth for this
[2011/12/14 16:27:17] <papertigers> thanks guys, was just wondering what the standard for this was
[2011/12/14 16:28:22] @ svanderbijl joined channel #puppet
[2011/12/14 16:30:24] @ Quit: nevyn: Read error: Connection reset by peer
[2011/12/14 16:33:25] @ dnjaramba_ joined channel #puppet
[2011/12/14 16:33:47] @ Quit: dnjaramba: Read error: Connection reset by peer
[2011/12/14 16:35:32] @ Quit: alanevans: Remote host closed the connection
[2011/12/14 16:36:24] @ nevyn joined channel #puppet
[2011/12/14 16:38:32] @ wilmoore_ joined channel #puppet
[2011/12/14 16:40:50] @ Quit: wilmoore: Ping timeout: 252 seconds
[2011/12/14 16:45:19] @ maplebed joined channel #puppet
[2011/12/14 16:47:07] <maplebed> hi all. If I have a hash defined in my puppet config and I want to use the contents in a template, is the right syntax <%= scope.lookupvar('my::nested::class::hash_name')['key'] %>
[2011/12/14 16:47:43] @ jakem_ left channel #puppet ("Leaving")
[2011/12/14 16:50:45] @ tilgovi joined channel #puppet
[2011/12/14 16:52:23] @ Quit: althara: Ping timeout: 252 seconds
[2011/12/14 16:54:37] @ happymcplaksin joined channel #puppet
[2011/12/14 16:55:15] @ Quit: nevyn: Ping timeout: 255 seconds
[2011/12/14 16:55:49] @ Quit: newtMcKerr: Quit: Leaving.
[2011/12/14 16:55:54] <nate_h> maplebed, hmm i have mine in scope normally
[2011/12/14 16:56:02] @ Quit: joshcooper: Quit: joshcooper
[2011/12/14 16:56:09] @ Quit: justdave: Ping timeout: 255 seconds
[2011/12/14 16:56:12] @ newtMcKerr joined channel #puppet
[2011/12/14 16:56:15] <nate_h> maplebed, you may need to move the right ) outside the key'] but give it a shot
[2011/12/14 16:56:17] @ Quit: newtMcKerr: Client Quit
[2011/12/14 16:56:48] <maplebed> oh, like scope.lookupvar('my::nested::class::hash_name'['key'])?
[2011/12/14 16:57:05] @ nevyn joined channel #puppet
[2011/12/14 16:57:39] <maplebed> I haven't used a hash in a template before at all, so scope issues aside, I'm hoping the key reference is more or less right...
[2011/12/14 16:57:44] * maplebed is kind of a puppet n00b.
[2011/12/14 16:57:47] @ Quit: zul: Ping timeout: 240 seconds
[2011/12/14 17:00:09] @ Quit: pcarlisle: Quit: Computer has gone to sleep.
[2011/12/14 17:00:30] <happymcplaksin> Anybody around who is running Puppet on Windows? We just started exploring Puppet on Windows and are having a problem similar to #10586
[2011/12/14 17:00:31] <gepetto> happymcplaksin: #10586 is http://projects.puppetlabs.com/issues/show/10586 "Puppet - Bug #10586: Windows file provider produces error if source attribute used. It has a status of Duplicate and is assigned to Josh Cooper"
[2011/12/14 17:04:08] @ Quit: sfromm: Quit: Time to move on.
[2011/12/14 17:04:25] @ Quit: |Majestic|: Read error: Connection reset by peer
[2011/12/14 17:04:47] @ Quit: w0f: Quit: Reconnecting
[2011/12/14 17:05:00] @ w0f joined channel #puppet
[2011/12/14 17:05:25] @ |Majestic| joined channel #puppet
[2011/12/14 17:06:04] <mzi> maplebed: I would think that the correct syntax is scope.lookupvar("foo::bar['baz']")
[2011/12/14 17:06:32] @ Quit: wilmoore_: Read error: Operation timed out
[2011/12/14 17:06:43] <maplebed> ok, I'll switch to that.
[2011/12/14 17:07:03] <maplebed> (I'm still filling stuff in; haven't gotten to run a syntax check yet)
[2011/12/14 17:07:04] @ Majestic joined channel #puppet
[2011/12/14 17:09:03] <mzi> maplebed: it would be awkward the other way - and hard to read.
[2011/12/14 17:09:51] @ Quit: the_ramink___: Ping timeout: 244 seconds
[2011/12/14 17:10:04] @ Quit: |Majestic|: Ping timeout: 248 seconds
[2011/12/14 17:11:30] @ Quit: tblamer: Quit: Going offline, see ya! (www.adiirc.com)
[2011/12/14 17:11:35] @ danikov joined channel #puppet
[2011/12/14 17:12:48] @ Quit: justintime: Ping timeout: 255 seconds
[2011/12/14 17:12:49] @ Quit: maxmartin: Read error: Connection reset by peer
[2011/12/14 17:13:13] @ maxmartin joined channel #puppet
[2011/12/14 17:13:28] @ Quit: seanh-ansca: Ping timeout: 244 seconds
[2011/12/14 17:13:48] @ Quit: Stenbryggen1: Quit: Leaving.
[2011/12/14 17:13:50] @ Quit: nevyn: Ping timeout: 252 seconds
[2011/12/14 17:14:36] @ justintime joined channel #puppet
[2011/12/14 17:15:02] @ Quit: Majestic: Ping timeout: 248 seconds
[2011/12/14 17:15:42] @ Dr_Memory left channel #puppet ()
[2011/12/14 17:15:45] @ nevyn joined channel #puppet
[2011/12/14 17:16:25] @ Quit: shadoi: Quit: Leaving.
[2011/12/14 17:16:27] @ Quit: Wolfspyre: Quit: Leaving.
[2011/12/14 17:19:45] @ miche joined channel #puppet
[2011/12/14 17:21:47] @ Quit: nevyn: Ping timeout: 240 seconds
[2011/12/14 17:23:01] @ nevyn joined channel #puppet
[2011/12/14 17:23:34] @ brandon_dacrib joined channel #puppet
[2011/12/14 17:23:50] @ Quit: brandon_dacrib: Client Quit
[2011/12/14 17:24:15] @ Quit: nevyn: Read error: Connection reset by peer
[2011/12/14 17:28:47] @ Quit: maxmartin: Quit: Computer has gone to sleep.
[2011/12/14 17:29:01] @ newtMcKerr joined channel #puppet
[2011/12/14 17:29:20] @ nevyn joined channel #puppet
[2011/12/14 17:31:27] <ryancoleman> adrient: thanks for the vms! will we be able to snapshot them? I expect Carl and I to install PE over and over again.
[2011/12/14 17:32:40] @ DVS01 joined channel #puppet
[2011/12/14 17:32:46] <DVS01> hi
[2011/12/14 17:36:18] @ Quit: williemach: Quit: Leaving.
[2011/12/14 17:37:59] @ Quit: nevyn: Ping timeout: 245 seconds
[2011/12/14 17:39:35] @ Quit: dwalu: Quit: dwalu
[2011/12/14 17:39:52] @ nevyn joined channel #puppet
[2011/12/14 17:44:29] @ Quit: iw_work: Quit: Leaving
[2011/12/14 17:52:11] @ dbgster joined channel #puppet
[2011/12/14 17:53:08] @ Quit: gadavis: Quit: Leaving.
[2011/12/14 17:54:11] @ skoom joined channel #puppet
[2011/12/14 17:55:44] @ Quit: skm: Ping timeout: 276 seconds
[2011/12/14 17:55:46] @ Quit: mosen: Quit: Leaving
[2011/12/14 17:55:47] @ skoom is now known as skm
[2011/12/14 17:58:34] @ msaum1 joined channel #puppet
[2011/12/14 18:00:20] @ cfant joined channel #puppet
[2011/12/14 18:00:53] @ Enf joined channel #puppet
[2011/12/14 18:01:03] <gepetto> ::redmine:: Wiki edit: Anchor_Pattern (#1) @ http://projects.puppetlabs.com/projects/puppet/wiki/Anchor_Pattern?version=1 (by Jeff McCune)
[2011/12/14 18:01:39] @ Quit: kelseyhightower: Ping timeout: 240 seconds
[2011/12/14 18:02:19] @ Quit: mrwacky42: Ping timeout: 255 seconds
[2011/12/14 18:02:41] @ nitram_macair joined channel #puppet
[2011/12/14 18:02:51] @ kelseyhightower joined channel #puppet
[2011/12/14 18:02:52] @ Quit: fir31ight: Ping timeout: 276 seconds
[2011/12/14 18:03:13] @ fir31ight joined channel #puppet
[2011/12/14 18:06:47] <gepetto> ::redmine:: Wiki edit: Anchor_Pattern (#2) @ http://projects.puppetlabs.com/projects/puppet/wiki/Anchor_Pattern?version=2 (by Jeff McCune)
[2011/12/14 18:06:47] <gepetto> ::redmine:: Wiki edit: Anchor_Pattern (#3) @ http://projects.puppetlabs.com/projects/puppet/wiki/Anchor_Pattern?version=3 (by Jeff McCune)
[2011/12/14 18:06:54] @ Quit: tilgovi: Remote host closed the connection
[2011/12/14 18:10:03] <gepetto> ::redmine:: Wiki edit: Anchor_Pattern (#4) @ http://projects.puppetlabs.com/projects/puppet/wiki/Anchor_Pattern?version=4 (by Jeff McCune)
[2011/12/14 18:10:03] <gepetto> ::redmine:: Wiki edit: Anchor_Pattern (#5) @ http://projects.puppetlabs.com/projects/puppet/wiki/Anchor_Pattern?version=5 (by Jeff McCune)
[2011/12/14 18:11:42] @ e1mer joined channel #puppet
[2011/12/14 18:11:47] @ Quit: e1mer: Changing host
[2011/12/14 18:11:47] @ e1mer joined channel #puppet
[2011/12/14 18:12:30] <cfant> Quick question if anyone can help me out. I've created a class with several subclasses, like foo::params, foo::config, foo::init. I want the presence of the config files to notify a service defined in foo::service. How would that be written?
[2011/12/14 18:12:33] @ Quit: langworthy: Quit: langworthy
[2011/12/14 18:12:33] @ ben_duyujie joined channel #puppet
[2011/12/14 18:15:36] @ justdave joined channel #puppet
[2011/12/14 18:18:21] @ Quit: comptona: Ping timeout: 268 seconds
[2011/12/14 18:18:35] @ zul joined channel #puppet
[2011/12/14 18:19:02] @ Quit: nevyn: Ping timeout: 248 seconds
[2011/12/14 18:20:54] @ nevyn joined channel #puppet
[2011/12/14 18:22:13] @ Quit: lovemj: Ping timeout: 253 seconds
[2011/12/14 18:22:14] @ Quit: rcrowley: Quit: Computer has gone to sleep.
[2011/12/14 18:24:55] @ neonflux joined channel #puppet
[2011/12/14 18:26:20] @ Quit: miche: Quit: Computer has gone to sleep.
[2011/12/14 18:27:21] <jamesturnbull> cfant: notify => Class["foo:config"]
[2011/12/14 18:29:06] @ _flex joined channel #puppet
[2011/12/14 18:31:24] @ Quit: skm: Quit: Leaving...
[2011/12/14 18:31:40] @ wilmoore joined channel #puppet
[2011/12/14 18:35:02] @ Quit: nitram_macair: Quit: nitram_macair
[2011/12/14 18:36:17] @ mosen joined channel #puppet
[2011/12/14 18:39:49] @ Quit: nevyn: Ping timeout: 252 seconds
[2011/12/14 18:41:34] @ nevyn joined channel #puppet
[2011/12/14 18:42:22] @ nitram_macair joined channel #puppet
[2011/12/14 18:44:06] @ Quit: choonming: Quit: Leaving
[2011/12/14 18:44:07] @ Quit: nitram_macair: Client Quit
[2011/12/14 18:49:11] @ tilgovi joined channel #puppet
[2011/12/14 18:49:12] @ Quit: tilgovi: Changing host
[2011/12/14 18:49:12] @ tilgovi joined channel #puppet
[2011/12/14 18:51:32] @ Quit: ghanima: Quit: Leaving.
[2011/12/14 18:55:52] <cfant> jamesturnbull: thanks
[2011/12/14 18:57:11] @ pipegeek joined channel #puppet
[2011/12/14 18:58:20] @ Quit: nfagerlund: Remote host closed the connection
[2011/12/14 18:58:20] <pipegeek> is there any way for a puppet manifest to figure out the location of the module path on the master it's being served from?
[2011/12/14 18:58:30] <pipegeek> I don't see a $module_path or $modulepath in the global scope
[2011/12/14 19:00:33] @ skm joined channel #puppet
[2011/12/14 19:01:10] @ Quit: skm: Max SendQ exceeded
[2011/12/14 19:01:11] @ Quit: kenperkins: Quit: Computer has gone to sleep.
[2011/12/14 19:02:05] @ KaiserBeto1 joined channel #puppet
[2011/12/14 19:02:06] @ KaiserBeto1 left channel #puppet ()
[2011/12/14 19:05:01] @ Wolfspyre joined channel #puppet
[2011/12/14 19:06:22] @ Quit: nevyn: Ping timeout: 252 seconds
[2011/12/14 19:06:35] @ maplebed left channel #puppet ()
[2011/12/14 19:08:17] @ alanevans joined channel #puppet
[2011/12/14 19:08:22] @ nevyn joined channel #puppet
[2011/12/14 19:08:42] @ Quit: msaum1: Quit: Leaving.
[2011/12/14 19:10:09] @ bobbuck joined channel #puppet
[2011/12/14 19:10:32] @ skm joined channel #puppet
[2011/12/14 19:12:15] @ choonming joined channel #puppet
[2011/12/14 19:12:51] <pipegeek> more generally, is there *any* way to set extlookup_datadir relative to modulepath?
[2011/12/14 19:15:45] @ the_ramink joined channel #puppet
[2011/12/14 19:16:02] @ Quit: bobbuck: Remote host closed the connection
[2011/12/14 19:17:09] @ Quit: justdave: Read error: No route to host
[2011/12/14 19:17:14] @ justdave_ joined channel #puppet
[2011/12/14 19:19:05] @ Quit: iamzaki: Remote host closed the connection
[2011/12/14 19:23:17] @ Quit: nevyn: Ping timeout: 252 seconds
[2011/12/14 19:24:59] @ nevyn joined channel #puppet
[2011/12/14 19:28:54] @ Quit: Azrial: Quit: Leaving
[2011/12/14 19:31:03] @ miche joined channel #puppet
[2011/12/14 19:31:07] @ langworthy joined channel #puppet
[2011/12/14 19:33:31] <whack> pipegeek: modulepath supports
[2011/12/14 19:33:40] <whack> erm, modulepath supports multiple paths, though, so that might be funky
[2011/12/14 19:36:42] <pipegeek> hmm
[2011/12/14 19:36:46] <pipegeek> is that also true of confdir, whack?
[2011/12/14 19:37:26] @ Quit: dbgster: Ping timeout: 248 seconds
[2011/12/14 19:37:26] <pipegeek> just wrote get_conf() to return values from Puppet.settings.... but this all seems ... wrong
[2011/12/14 19:37:59] <pipegeek> it's a shame that extlookup is configured from the manifest instead of from puppet.conf
[2011/12/14 19:39:05] @ Djelibeybi joined channel #puppet
[2011/12/14 19:39:16] <whack> there's probably a fact you can access that has that data
[2011/12/14 19:39:19] <whack> checking
[2011/12/14 19:39:52] <whack> hmm I guess not
[2011/12/14 19:41:51] <pipegeek> $extlookup_datadir isn't a very nodey thing. it seems weird that it's set there
[2011/12/14 19:41:54] <pipegeek> thanks, whack.
[2011/12/14 19:43:19] @ Quit: nevyn: Read error: Connection reset by peer
[2011/12/14 19:43:27] <whack> pipegeek: well, extlookup wasn't originally in puppet core, and the benefit of setting things in manifest is that you can have locally scoped $extlookup_datadir for modules/classes/etc
[2011/12/14 19:43:40] <pipegeek> fair enough
[2011/12/14 19:44:04] <pipegeek> I think actually what would be nice would be if $extlookup_datadir, if unqualified, was assumed to be relative to the module path etc
[2011/12/14 19:44:33] <pipegeek> like arguments to template(), and the source argument to the file resource
[2011/12/14 19:44:35] <whack> yeah that'd be awesome, and might be doable. File at ticket and see?
[2011/12/14 19:44:42] <pipegeek> most definitely
[2011/12/14 19:48:45] @ nevyn joined channel #puppet
[2011/12/14 19:54:42] @ benkevan joined channel #puppet
[2011/12/14 19:54:47] @ nitram_macair joined channel #puppet
[2011/12/14 19:55:40] @ zacs joined channel #puppet
[2011/12/14 19:56:27] <zacs> can someone explain to me what's going on here? i think this is a bug
[2011/12/14 19:56:55] <zacs> err: Could not parse for environment production: Syntax error at '{'; expected '}' at /Users/zsprackett/Source/puppet/modules/ssh/manifests/init.pp:8
[2011/12/14 19:56:58] <zacs> err: Try 'puppet help parser validate' for usage
[2011/12/14 19:57:25] <zacs> but if you do the same thing with --ignoreimport
[2011/12/14 19:57:27] <eshamow> zacs: that's not a bug, there's an error in your init.pp file
[2011/12/14 19:57:28] <zacs> it returns true
[2011/12/14 19:57:41] <zacs> eshamow: no, the ignoreimport always returns true part
[2011/12/14 19:57:46] <eshamow> so, it sounds to me like you're importing a file that may contain a syntax error
[2011/12/14 19:57:50] <eshamow> leading to a problem later on
[2011/12/14 19:57:53] <zacs> no
[2011/12/14 19:57:59] <eshamow> can you pastie that init.pp file?
[2011/12/14 19:58:06] <zacs> that file doesn't even have an import, it has an intentional error
[2011/12/14 19:58:11] <zacs> to show the problem
[2011/12/14 19:58:17] <zacs> the problem is with the puppet face
[2011/12/14 19:58:17] @ demigod987 joined channel #puppet
[2011/12/14 19:58:48] @ villovil joined channel #puppet
[2011/12/14 19:58:59] <eshamow> zacs: no way to tell unless you're willing to share the file...
[2011/12/14 19:59:03] <zacs> err: Try 'puppet help parser validate' for usage
[2011/12/14 19:59:03] <zacs> {{
[2011/12/14 19:59:11] <zacs> sec lemme pastie
[2011/12/14 19:59:28] <zacs> https://gist.github.com/1479777
[2011/12/14 19:59:35] @ Quit: nevyn: Read error: Connection reset by peer
[2011/12/14 19:59:36] <zacs> check that action out
[2011/12/14 19:59:39] <zacs> it's pretty hot
[2011/12/14 20:00:24] @ zwi joined channel #puppet
[2011/12/14 20:00:40] <zacs> that's a bug, amirite?
[2011/12/14 20:00:44] <eshamow> zacs: it's kind of hard to imagine what the parser is doing with nothing there to look at. do you see this behavior when you've got a real, fleshed-out module and you run with --ignoreimport?
[2011/12/14 20:00:53] <zacs> yes
[2011/12/14 20:00:56] <zacs> it's identical
[2011/12/14 20:01:03] <zacs> that's just the smallest case i can show you
[2011/12/14 20:01:43] <zacs> i originally ran into it with a real module, and tracked it back to the fact that the module is irrelevant
[2011/12/14 20:02:09] <eshamow> ah
[2011/12/14 20:02:14] <eshamow> #9670
[2011/12/14 20:02:14] <gepetto> eshamow: #9670 is http://projects.puppetlabs.com/issues/show/9670 "Puppet - Bug #9670: puppet parser validate --ignoreimport ignores a bit too much. It has a status of Accepted and is assigned to -"
[2011/12/14 20:02:44] @ Quit: miche: Quit: Computer has gone to sleep.
[2011/12/14 20:03:23] @ nevyn joined channel #puppet
[2011/12/14 20:04:07] <zacs> def perform_initial_import
[2011/12/14 20:04:07] <zacs> return empty_parse_result if Puppet.settings[:ignoreimport]
[2011/12/14 20:04:11] <zacs> yep, that'd do it
[2011/12/14 20:04:18] <nated_> git pre-commit hooks across the land are crying out... fix me!
[2011/12/14 20:04:22] @ Quit: nitram_macair: Quit: nitram_macair
[2011/12/14 20:04:34] @ kenperkins joined channel #puppet
[2011/12/14 20:04:36] <nated_> (notably, mine)
[2011/12/14 20:05:06] <eshamow> that's a quick patch if you wanna be a puppet contributor :)
[2011/12/14 20:05:11] <zacs> vim syntax checkers too
[2011/12/14 20:05:39] <zacs> i'm not sure it's as quick as it looks
[2011/12/14 20:05:59] <nated_> eshamow: my legal is looking over the CLA
[2011/12/14 20:06:03] <zacs> because the ignoreimport does indeed need to ignoreimports, just not everything
[2011/12/14 20:06:03] <nated_> ;-)
[2011/12/14 20:06:06] <eshamow> nated_: cool
[2011/12/14 20:06:17] @ demigod987 left channel #puppet ()
[2011/12/14 20:06:21] <nated_> I have other stuff to comiit back that's in queue
[2011/12/14 20:07:09] <eshamow> nated_: cool - thanks.
[2011/12/14 20:07:20] <nated_> but also
[2011/12/14 20:07:26] <zacs> his legal is my legal :)
[2011/12/14 20:07:35] <zacs> can someone else get that committed? :)
[2011/12/14 20:08:00] <nated_> IMHO, the CLA hurdle is kind lame
[2011/12/14 20:08:23] <eshamow> nated_: it's needed for the licensing model we have to follow in order to stay viable. no different from other Apache licensed projects
[2011/12/14 20:08:30] <eshamow> but i understand it can be difficult with legal
[2011/12/14 20:08:57] <eshamow> zacs: my recommendation would be to send a plea out to the puppet-users list for some love on that bug
[2011/12/14 20:09:19] <eshamow> because the impact may be far reaching i'm not comfortable pushing a one-line patch, and i don't have time to regression test the rest of it right now
[2011/12/14 20:10:02] @ Quit: lithium]: Ping timeout: 252 seconds
[2011/12/14 20:10:41] @ Quit: cliff-hm: Ping timeout: 244 seconds
[2011/12/14 20:11:35] @ Quit: nevyn: Ping timeout: 276 seconds
[2011/12/14 20:12:04] @ Quit: cfant: Ping timeout: 252 seconds
[2011/12/14 20:12:59] @ nevyn joined channel #puppet
[2011/12/14 20:14:57] @ Quit: kenperkins: Quit: Computer has gone to sleep.
[2011/12/14 20:15:09] @ lithium] joined channel #puppet
[2011/12/14 20:19:44] @ Quit: nevyn: Ping timeout: 252 seconds
[2011/12/14 20:20:07] @ Quit: langworthy: Quit: langworthy
[2011/12/14 20:20:19] @ Quit: benkevan: Quit: leaving
[2011/12/14 20:21:21] @ langworthy joined channel #puppet
[2011/12/14 20:21:29] @ nevyn joined channel #puppet
[2011/12/14 20:24:30] @ gabrtv joined channel #puppet
[2011/12/14 20:26:42] @ Quit: kelseyhightower: Ping timeout: 252 seconds
[2011/12/14 20:30:06] @ nitram_macair joined channel #puppet
[2011/12/14 20:34:55] @ dbgster joined channel #puppet
[2011/12/14 20:36:05] @ AshishH joined channel #puppet
[2011/12/14 20:40:53] @ Kazuhiro joined channel #puppet
[2011/12/14 20:40:59] @ kenperkins joined channel #puppet
[2011/12/14 20:43:25] @ Quit: dbgster: Quit: dbgster
[2011/12/14 20:44:46] @ msaum joined channel #puppet
[2011/12/14 20:45:15] @ Quit: nevyn: Ping timeout: 252 seconds
[2011/12/14 20:47:15] @ nevyn joined channel #puppet
[2011/12/14 20:50:17] @ Quit: gabrtv: Quit: gabrtv
[2011/12/14 20:51:51] @ bobra joined channel #puppet
[2011/12/14 20:52:37] @ rideh joined channel #puppet
[2011/12/14 20:53:47] @ gabrtv joined channel #puppet
[2011/12/14 20:54:05] @ Quit: gabrtv: Client Quit
[2011/12/14 20:56:01] @ IndyMichaelB joined channel #puppet
[2011/12/14 21:00:13] @ jabowers joined channel #puppet
[2011/12/14 21:01:49] @ dissipate_ joined channel #puppet
[2011/12/14 21:04:56] @ Quit: motomike: Quit: Leaving.
[2011/12/14 21:05:53] <blkperl> https://github.com/pdxcat/pdxcat-amanda
[2011/12/14 21:06:16] <blkperl> users of amanda ^ we have released a puppet module :)
[2011/12/14 21:06:43] @ Quit: nitram_macair: Quit: nitram_macair
[2011/12/14 21:07:23] <danblack> blkperl: cool - want to add it to http://forge.puppetlabs.com :)
[2011/12/14 21:08:06] <blkperl> marut: they want it on the forge ^
[2011/12/14 21:08:22] <blkperl> the users have spoken :P
[2011/12/14 21:08:55] @ KaiserBeto2 joined channel #puppet
[2011/12/14 21:13:13] @ Quit: kenperkins: Quit: Computer has gone to sleep.
[2011/12/14 21:13:29] @ Quit: KaiserBeto2: Ping timeout: 268 seconds
[2011/12/14 21:14:34] @ Quit: wilmoore: Read error: Operation timed out
[2011/12/14 21:18:33] @ kelseyhightower joined channel #puppet
[2011/12/14 21:20:43] @ Quit: newtMcKerr: Quit: Leaving.
[2011/12/14 21:22:27] @ Quit: e1mer: Ping timeout: 240 seconds
[2011/12/14 21:29:39] @ Quit: l0n:
[2011/12/14 21:32:27] @ sss joined channel #puppet
[2011/12/14 21:32:33] <sss> hi
[2011/12/14 21:33:21] <sss> can the dashboard of puppet be customuzed with language other than ruby?
[2011/12/14 21:33:38] <sss> can one use bash scripthing?
[2011/12/14 21:35:31] @ e1mer joined channel #puppet
[2011/12/14 21:35:43] @ amit joined channel #puppet
[2011/12/14 21:37:18] <blkperl> danblack: https://forge.puppetlabs.com/users/pdxcat/modules/amanda/releases/0.0.1
[2011/12/14 21:37:34] <blkperl> sss: i don't think you can use bash with dasboard...
[2011/12/14 21:38:12] <amit> Hi , my puppet server is running out of disk sapce , i wan to delete all puppet dashboard reports which are older than 10 days ,
[2011/12/14 21:39:38] @ Quit: gniks: Quit: Leaving.
[2011/12/14 21:39:42] @ Quit: tilgovi: Ping timeout: 252 seconds
[2011/12/14 21:39:43] @ Quit: msaum: Quit: Leaving.
[2011/12/14 21:40:17] <danblack> blkperl: "puppet-module search amanda" happyness. thanks on behalf of all users. Now I just need to publish the usefull ones of mine :-)
[2011/12/14 21:40:35] <blkperl> danblack: thank marut i only added freebsd support, he did the rest
[2011/12/14 21:40:52] <danblack> thanks marut :-)
[2011/12/14 21:40:59] <marut> amit: a cron works for that kind of thing. e.g. something like `find /var/lib/puppet/reports -name '*.yaml' -mtime +10 -exec rm {} \;` run once a day (substituting /var/lib/puppet/reports with wherever your reports are being stored, assuming dashboard isn't 100% sql these days)
[2011/12/14 21:41:29] <marut> danblack: there's a bit of hackishness in that module still. but we think it will work for us. :)
[2011/12/14 21:41:40] <blkperl> amit: theres a rack script for the sql part
[2011/12/14 21:42:06] <amit> ok
[2011/12/14 21:43:28] <amit> thx marut , i will try this
[2011/12/14 21:43:50] <blkperl> s/rack/rake
[2011/12/14 21:45:39] @ Quit: nevyn: Ping timeout: 240 seconds
[2011/12/14 21:47:30] <amit> hi blkperl , can u share the rake command for the sql part
[2011/12/14 21:47:39] @ nevyn joined channel #puppet
[2011/12/14 21:47:59] * Callek sees http://projects.puppetlabs.com/projects/puppet/wiki/Anchor_Pattern?version=5 and tries to cross ref with http://docs.puppetlabs.com/references/stable/type.html and no luck
[2011/12/14 21:48:21] <Callek> is anchor {} documented somewhere better, including what puppet version it was introduced in, etc.
[2011/12/14 21:48:33] <Callek> as well as "why is it better than stage"
[2011/12/14 21:52:04] <sss> hi
[2011/12/14 21:52:34] <sss> can i abele to export reports in XLS,CSV and PDF formats
[2011/12/14 21:52:35] <sss> ?
[2011/12/14 21:52:56] <sss> from puppet dashboard ?
[2011/12/14 21:54:22] @ Quit: nevyn: Ping timeout: 252 seconds
[2011/12/14 21:54:58] <blkperl> amit: puppet-dashboard/lib/tasks/prune_reports.rake
[2011/12/14 21:55:18] <amit> ok
[2011/12/14 21:55:38] <blkperl> amit: theres an example in the file: rake reports:prune upto=1 unit=mon
[2011/12/14 21:55:58] <amit> ok
[2011/12/14 21:56:08] @ nevyn joined channel #puppet
[2011/12/14 22:01:09] <amit> Hi blkperl , i have tried this root@puppet opt]# rake reports:prune upto=1 unit=mon
[2011/12/14 22:01:30] <blkperl> and?
[2011/12/14 22:01:33] <amit> but geeting an error rake aborted! No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, Rakefile.rb)
[2011/12/14 22:01:48] <blkperl> are you in the dasboard directory>
[2011/12/14 22:01:56] <blkperl> looks like your just in /opt
[2011/12/14 22:02:14] <blkperl> you have to be in the root of the dashboard dir
[2011/12/14 22:02:29] <blkperl> where ever you have it installed
[2011/12/14 22:02:30] @ Quit: nevyn: Ping timeout: 248 seconds
[2011/12/14 22:02:41] <amit> ok
[2011/12/14 22:03:11] @ nevyn joined channel #puppet
[2011/12/14 22:03:22] @ ckauhaus joined channel #puppet
[2011/12/14 22:05:58] @ larstobi joined channel #puppet
[2011/12/14 22:06:26] @ Quit: luckman212: Read error: Connection reset by peer
[2011/12/14 22:07:37] <amit> blkperl [root@puppet puppet-dashboard]# rake reports:prune upto=10 unit=day , i got this
[2011/12/14 22:07:51] <amit> DEPRECATION WARNING: Rake tasks in vendor/plugins/delayed_job/tasks are deprecated. Use lib/tasks instead. (called from /opt/puppet-dashboard/vendor/rails/railties/lib/tasks/rails.rb:10) rake aborted! development database is not configured Tasks: TOP => reports:prune => environment (See full trace by running task with --trace)
[2011/12/14 22:08:04] @ Quit: rideh: Quit: rideh
[2011/12/14 22:08:31] @ jedi4ever joined channel #puppet
[2011/12/14 22:09:02] <blkperl> amit: you need to give the production environment as a parameter
[2011/12/14 22:09:14] <amit> ok
[2011/12/14 22:09:30] <blkperl> i cant remember the proper syntax though
[2011/12/14 22:09:48] <amit> ok
[2011/12/14 22:09:51] @ Stenbryggen joined channel #puppet
[2011/12/14 22:10:13] @ Quit: nevyn: Ping timeout: 268 seconds
[2011/12/14 22:10:14] <blkperl> amit: RAILS_ENV=production
[2011/12/14 22:10:34] @ Quit: Stenbryggen: Client Quit
[2011/12/14 22:10:45] <amit> ok i will try this parameter
[2011/12/14 22:10:52] @ Quit: Holocaine: Ping timeout: 240 seconds
[2011/12/14 22:11:01] <blkperl> so rake RAILS_ENV=production reports:prune upto=10 unit=day
[2011/12/14 22:11:03] <blkperl> should work
[2011/12/14 22:11:41] @ nevyn joined channel #puppet
[2011/12/14 22:12:08] <amit> Wow . it works , thx blkperl
[2011/12/14 22:12:20] <blkperl> np
[2011/12/14 22:12:23] @ ocherno joined channel #puppet
[2011/12/14 22:12:25] @ Quit: Djelibeybi: Quit: Textual IRC Client: http://www.textualapp.com/
[2011/12/14 22:18:04] @ luckman212 joined channel #puppet
[2011/12/14 22:20:16] @ nitram_macair joined channel #puppet
[2011/12/14 22:21:25] @ Quit: neonflux: Quit: Leaving.
[2011/12/14 22:21:39] @ erthad joined channel #puppet
[2011/12/14 22:22:36] @ maxmartin joined channel #puppet
[2011/12/14 22:25:01] @ Quit: nitram_macair: Ping timeout: 268 seconds
[2011/12/14 22:25:28] @ Quit: ldlework: Ping timeout: 240 seconds
[2011/12/14 22:25:37] @ Quit: nevyn: Read error: Operation timed out
[2011/12/14 22:28:22] @ nevyn joined channel #puppet
[2011/12/14 22:32:55] @ tilgovi joined channel #puppet
[2011/12/14 22:32:56] @ Quit: tilgovi: Changing host
[2011/12/14 22:32:56] @ tilgovi joined channel #puppet
[2011/12/14 22:35:04] @ Quit: nevyn: Ping timeout: 252 seconds
[2011/12/14 22:35:43] @ riha joined channel #puppet
[2011/12/14 22:36:48] @ Quit: milk: Remote host closed the connection
[2011/12/14 22:36:52] @ nevyn joined channel #puppet
[2011/12/14 22:39:08] @ Quit: mosen: Quit: Leaving
[2011/12/14 22:44:43] @ kenperkins joined channel #puppet
[2011/12/14 22:49:02] @ Quit: ascarter: Quit: Textual IRC Client: http://www.textualapp.com/
[2011/12/14 22:49:41] @ jodok joined channel #puppet
[2011/12/14 22:50:18] @ Quit: nevyn: Ping timeout: 268 seconds
[2011/12/14 22:50:56] @ nitram_macair joined channel #puppet
[2011/12/14 22:51:08] <dissipate_> does anyone know what folder I would put this facts-dot-d file? https://github.com/ripienaar/facter-facts/tree/master/facts-dot-d
[2011/12/14 22:51:25] @ Quit: erthad: Changing host
[2011/12/14 22:51:25] @ erthad joined channel #puppet
[2011/12/14 22:51:32] @ erthad left channel #puppet ()
[2011/12/14 22:51:32] @ nevyn joined channel #puppet
[2011/12/14 22:51:37] @ erthad joined channel #puppet
[2011/12/14 22:52:09] @ Quit: pipegeek: Ping timeout: 268 seconds
[2011/12/14 22:52:38] <dissipate_> i'm assuming it is: {modulepath}/{module}/lib/facter/facter_dot_d.rb
[2011/12/14 22:54:04] @ Quit: Xeross: Ping timeout: 252 seconds
[2011/12/14 22:54:37] @ dwalu joined channel #puppet
[2011/12/14 22:55:06] @ Quit: nitram_macair: Ping timeout: 248 seconds
[2011/12/14 22:56:27] @ artkrz joined channel #puppet
[2011/12/14 22:57:03] @ Quit: danikov: Ping timeout: 255 seconds
[2011/12/14 22:58:25] @ Xeross joined channel #puppet
[2011/12/14 23:00:09] @ Quit: nevyn: Ping timeout: 240 seconds
[2011/12/14 23:01:00] @ Quit: ckauhaus: Quit: Leaving.
[2011/12/14 23:01:23] @ nitram_macair joined channel #puppet
[2011/12/14 23:02:06] @ nevyn joined channel #puppet
[2011/12/14 23:02:06] @ KaiserBeto1 joined channel #puppet
[2011/12/14 23:04:04] <haus> yes
[2011/12/14 23:04:15] @ Vasik|work joined channel #puppet
[2011/12/14 23:05:44] @ pipegeek joined channel #puppet
[2011/12/14 23:08:37] @ Quit: sdog: Remote host closed the connection
[2011/12/14 23:13:59] @ smintz joined channel #puppet
[2011/12/14 23:15:09] @ Quit: amit: Quit: Page closed
[2011/12/14 23:17:40] @ Quit: agagag: Ping timeout: 240 seconds
[2011/12/14 23:17:54] @ agagag joined channel #puppet
[2011/12/14 23:23:44] @ Quit: nitram_macair: Quit: nitram_macair
[2011/12/14 23:24:40] @ ckauhaus joined channel #puppet
[2011/12/14 23:27:14] @ Quit: danblack: Ping timeout: 276 seconds
[2011/12/14 23:30:56] @ ali3n0 joined channel #puppet
[2011/12/14 23:31:39] @ Quit: langworthy: Quit: langworthy
[2011/12/14 23:31:40] @ DJClean joined channel #puppet
[2011/12/14 23:32:04] @ Quit: tilgovi: Ping timeout: 240 seconds
[2011/12/14 23:32:34] @ EL84 joined channel #puppet
[2011/12/14 23:34:19] @ wilmoore joined channel #puppet
[2011/12/14 23:34:38] @ Quit: larstobi: Quit: Leaving.
[2011/12/14 23:35:58] @ Quit: sss: Quit: Page closed
[2011/12/14 23:37:38] @ Quit: zwi: Quit: Leaving.
[2011/12/14 23:39:08] @ Quit: kelseyhightower: Ping timeout: 240 seconds
[2011/12/14 23:40:12] @ Quit: pipegeek: Remote host closed the connection
[2011/12/14 23:43:24] @ Quit: dnjaramba_: Ping timeout: 245 seconds
[2011/12/14 23:44:45] @ swygue joined channel #puppet
[2011/12/14 23:48:17] @ dnjaramba joined channel #puppet
[2011/12/14 23:48:24] @ espent joined channel #puppet
[2011/12/14 23:51:08] @ Quit: swygue: Ping timeout: 240 seconds
[2011/12/14 23:52:07] @ pmorillon joined channel #puppet
[2011/12/14 23:52:14] <dissipate_> does anyone know how to test if a facter ruby script is working?
[2011/12/14 23:53:33] <NuclearLucifer> It's well documented on puppetlabs website.
[2011/12/14 23:54:02] <NuclearLucifer> Look here: http://projects.puppetlabs.com/projects/1/wiki/Adding_Facts
[2011/12/14 23:54:11] @ Quit: nevyn: Read error: Connection reset by peer
[2011/12/14 23:54:25] <kjetilho> set FACTERLIB to your current directory
[2011/12/14 23:54:30] <kjetilho> and run facter
[2011/12/14 23:54:31] @ csanchez joined channel #puppet
[2011/12/14 23:54:42] <kjetilho> modulo spelling of environment variable...

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