Tuesday, 2011-11-15

[2011/11/15 00:02:32] @ Log started by gepetto
[2011/11/15 00:02:32] @ Quit: langworthy: Quit: langworthy
[2011/11/15 00:02:35] @ Quit: jongrocho: Remote host closed the connection
[2011/11/15 00:04:27] @ Quit: hfnix: Quit: Leaving.
[2011/11/15 00:05:10] @ skm joined channel #puppet
[2011/11/15 00:05:41] @ jongrocho joined channel #puppet
[2011/11/15 00:06:26] @ Quit: skm: Client Quit
[2011/11/15 00:06:39] @ brtl joined channel #puppet
[2011/11/15 00:08:04] @ silversurfer972 joined channel #puppet
[2011/11/15 00:11:42] @ larstobi joined channel #puppet
[2011/11/15 00:12:00] @ Quit: jason^: Ping timeout: 258 seconds
[2011/11/15 00:12:26] @ jason^ joined channel #puppet
[2011/11/15 00:12:46] @ Quit: silversurfer972: Ping timeout: 260 seconds
[2011/11/15 00:14:02] @ raphdg joined channel #puppet
[2011/11/15 00:14:23] @ Quit: sumsuch: Quit: sumsuch
[2011/11/15 00:15:51] @ erthad joined channel #puppet
[2011/11/15 00:17:05] @ Quit: erthad: Changing host
[2011/11/15 00:17:05] @ erthad joined channel #puppet
[2011/11/15 00:17:08] @ Holocaine joined channel #puppet
[2011/11/15 00:17:25] @ zorg1 joined channel #puppet
[2011/11/15 00:18:00] @ octane- joined channel #puppet
[2011/11/15 00:18:22] @ Quit: zorg1: Client Quit
[2011/11/15 00:19:07] @ jodok joined channel #puppet
[2011/11/15 00:19:07] @ Quit: jodok: Changing host
[2011/11/15 00:19:07] @ jodok joined channel #puppet
[2011/11/15 00:21:31] @ Ramonster joined channel #puppet
[2011/11/15 00:22:11] @ lkoranda joined channel #puppet
[2011/11/15 00:22:12] @ Quit: fragfutter: Quit: leaving
[2011/11/15 00:22:39] @ fragfutter joined channel #puppet
[2011/11/15 00:22:48] @ Quit: sascha_: Quit: sascha_
[2011/11/15 00:24:00] <erthad> hi all
[2011/11/15 00:25:22] @ jonhattan joined channel #puppet
[2011/11/15 00:26:53] @ Quit: bartavelle: Quit: Coyote finally caught me
[2011/11/15 00:32:58] @ Stenbryggen joined channel #puppet
[2011/11/15 00:40:59] @ ezryx joined channel #puppet
[2011/11/15 00:46:29] @ Quit: oatsport1: Read error: Connection reset by peer
[2011/11/15 00:48:31] @ MartVisser joined channel #puppet
[2011/11/15 00:49:06] @ Spads joined channel #puppet
[2011/11/15 00:52:03] @ DbT_ joined channel #puppet
[2011/11/15 00:53:18] @ ninjaneer joined channel #puppet
[2011/11/15 00:54:03] @ AshishH joined channel #puppet
[2011/11/15 00:54:29] @ Quit: ninjaneer: Client Quit
[2011/11/15 00:59:28] @ mogitaff joined channel #puppet
[2011/11/15 00:59:31] @ Quit: xover1: Quit: Leaving.
[2011/11/15 00:59:56] @ xover1 joined channel #puppet
[2011/11/15 01:00:07] @ beddari left channel #puppet ()
[2011/11/15 01:01:29] @ toi joined channel #puppet
[2011/11/15 01:07:25] @ Quit: GeoDud: Read error: Connection reset by peer
[2011/11/15 01:07:31] @ GeoDud joined channel #puppet
[2011/11/15 01:07:36] @ Quit: semaphor1: Read error: Connection reset by peer
[2011/11/15 01:07:56] @ Quit: elasticdog: Read error: Operation timed out
[2011/11/15 01:08:27] @ semaphore joined channel #puppet
[2011/11/15 01:08:40] @ elasticdog joined channel #puppet
[2011/11/15 01:09:30] @ silversurfer972 joined channel #puppet
[2011/11/15 01:11:12] @ frostynova is now known as flex___
[2011/11/15 01:17:25] @ ckauhaus joined channel #puppet
[2011/11/15 01:18:19] @ Quit: Ababcus: Ping timeout: 258 seconds
[2011/11/15 01:19:53] @ Quit: aglet: Ping timeout: 260 seconds
[2011/11/15 01:20:20] @ aglet joined channel #puppet
[2011/11/15 01:26:36] @ ezryx_ joined channel #puppet
[2011/11/15 01:26:37] @ Quit: ezryx: Read error: Connection reset by peer
[2011/11/15 01:26:53] @ Razique joined channel #puppet
[2011/11/15 01:32:55] @ verwilst_ joined channel #puppet
[2011/11/15 01:33:17] @ jaydg joined channel #puppet
[2011/11/15 01:34:16] @ Quit: verwilst: Ping timeout: 240 seconds
[2011/11/15 01:35:09] @ mmoya joined channel #puppet
[2011/11/15 01:37:42] @ holojorge joined channel #puppet
[2011/11/15 01:39:49] @ Quit: AshishH: Ping timeout: 240 seconds
[2011/11/15 01:40:49] @ BManojlovic joined channel #puppet
[2011/11/15 01:42:32] <holojorge> hi everybody here!
[2011/11/15 01:43:52] <holojorge> May I ask a question? I'm running puppet-enterprise-1.2.4 with puppet 2.6.9 and I've found all my nodes (debian-testing) are upgrading to 2.7.x and have lost connection with the server. What can I do?
[2011/11/15 01:43:56] @ Quit: ezryx_: Quit: Leaving...
[2011/11/15 01:44:02] @ ezryx joined channel #puppet
[2011/11/15 01:44:35] @ Quit: dwalu: Quit: dwalu
[2011/11/15 01:50:44] @ stevie-bash joined channel #puppet
[2011/11/15 01:54:04] @ Quit: tremble: Quit: Leaving
[2011/11/15 01:58:39] @ tremble joined channel #puppet
[2011/11/15 01:58:40] @ Quit: tremble: Changing host
[2011/11/15 01:58:40] @ tremble joined channel #puppet
[2011/11/15 01:59:12] @ Quit: adimania: Ping timeout: 248 seconds
[2011/11/15 01:59:16] <holojorge> Ok, another question: how can I uninstall puppet-enterprise from my server?
[2011/11/15 02:02:14] @ Quit: choonming: Quit: Leaving
[2011/11/15 02:05:30] <Andorka> dpkg --purge
[2011/11/15 02:08:01] @ kolla joined channel #puppet
[2011/11/15 02:08:28] @ MattyM joined channel #puppet
[2011/11/15 02:09:47] @ Quit: blentz: Read error: Operation timed out
[2011/11/15 02:15:09] @ Quit: Djelibeybi: Quit: Textual IRC Client: http://www.textualapp.com/
[2011/11/15 02:15:47] @ adimania joined channel #puppet
[2011/11/15 02:17:39] @ Vasik|work joined channel #puppet
[2011/11/15 02:18:02] @ danikov joined channel #puppet
[2011/11/15 02:19:32] <DbT_> holojorge: you might want to try to upgrade your puppet master first
[2011/11/15 02:22:21] @ Quit: jodok: Read error: Connection reset by peer
[2011/11/15 02:22:48] @ jodok joined channel #puppet
[2011/11/15 02:23:26] @ Quit: kelseyhightower: Ping timeout: 244 seconds
[2011/11/15 02:30:08] @ gischy joined channel #puppet
[2011/11/15 02:30:19] @ Quit: brd: Read error: Connection reset by peer
[2011/11/15 02:32:56] @ brd joined channel #puppet
[2011/11/15 02:41:12] @ Quit: toi: Quit: Leaving
[2011/11/15 02:43:01] @ dnjaramba joined channel #puppet
[2011/11/15 02:48:13] @ lbt joined channel #puppet
[2011/11/15 02:48:13] @ Quit: lbt: Changing host
[2011/11/15 02:48:13] @ lbt joined channel #puppet
[2011/11/15 02:48:47] @ Quit: Enf: Quit: Leaving
[2011/11/15 02:53:46] @ Quit: amoe: Ping timeout: 258 seconds
[2011/11/15 02:56:18] @ ken_barber joined channel #puppet
[2011/11/15 02:58:52] @ Quit: flex___: Remote host closed the connection
[2011/11/15 03:00:53] @ Quit: ckauhaus: Read error: No route to host
[2011/11/15 03:06:00] @ jwhitlock_zzz is now known as jwhitlock
[2011/11/15 03:10:44] @ jwhitlock is now known as jwhitlock_zzz
[2011/11/15 03:10:45] @ ckauhaus joined channel #puppet
[2011/11/15 03:13:14] @ Quit: pmorillon: Quit: pmorillon
[2011/11/15 03:15:41] @ AshishH joined channel #puppet
[2011/11/15 03:16:52] @ andreaturli joined channel #puppet
[2011/11/15 03:17:04] @ skm joined channel #puppet
[2011/11/15 03:25:56] @ Quit: jmslagle: Read error: Connection reset by peer
[2011/11/15 03:26:04] @ Quit: p3rror: Ping timeout: 244 seconds
[2011/11/15 03:31:01] @ Quit: emag: Ping timeout: 240 seconds
[2011/11/15 03:31:43] @ p3rror joined channel #puppet
[2011/11/15 03:32:18] @ emag joined channel #puppet
[2011/11/15 03:32:26] @ Quit: p3rror: Max SendQ exceeded
[2011/11/15 03:33:08] @ Quit: andreaturli: Read error: Operation timed out
[2011/11/15 03:36:00] @ p3rror joined channel #puppet
[2011/11/15 03:36:51] @ Quit: p3rror: Max SendQ exceeded
[2011/11/15 03:39:09] @ p3rror joined channel #puppet
[2011/11/15 03:46:05] @ Quit: emergion: Quit: later...
[2011/11/15 03:51:43] @ Quit: jodok: Read error: Connection reset by peer
[2011/11/15 03:52:10] @ jodok joined channel #puppet
[2011/11/15 03:56:13] <larstobi> When using parameterised classes, should I be able to use the name of the parameters in a erb template? i.e. class foo($bar) { file { 'baz': content => template("mytemplate.erb"), } } and then in the template use <%= bar %> to get that value?
[2011/11/15 03:57:24] @ Quit: tily: Ping timeout: 260 seconds
[2011/11/15 03:57:28] @ Quit: ken_barber: Ping timeout: 244 seconds
[2011/11/15 03:58:19] @ tily joined channel #puppet
[2011/11/15 04:00:34] <tremble> you'd be better off using scope.lookup(foo::bar)
[2011/11/15 04:01:28] @ pmorillon joined channel #puppet
[2011/11/15 04:01:52] @ Quit: p3rror: Ping timeout: 240 seconds
[2011/11/15 04:02:04] @ ken_barber joined channel #puppet
[2011/11/15 04:04:13] @ sihil joined channel #puppet
[2011/11/15 04:04:19] <larstobi> okay, thanks, I'll look into that
[2011/11/15 04:04:24] @ Quit: gischy: Ping timeout: 260 seconds
[2011/11/15 04:06:26] <Andorka> if i specify variable like this:
[2011/11/15 04:06:27] <Andorka> $nginx_loglevel = 'info'
[2011/11/15 04:06:27] <Andorka> class nginx {
[2011/11/15 04:06:27] <Andorka> file { '/etc/nginx/nginx.conf': content => template('nginx/nginx.conf.erb' }
[2011/11/15 04:06:30] <Andorka>
[2011/11/15 04:06:35] <Andorka> how to use this variable in template?
[2011/11/15 04:07:10] @ toi joined channel #puppet
[2011/11/15 04:08:14] <_rc> <%= nginx_locglevel %>
[2011/11/15 04:08:31] <Andorka> dont work for me :\
[2011/11/15 04:08:46] <ptman> try specifying it inside the class
[2011/11/15 04:09:00] <ptman> or inside another class that then includes that
[2011/11/15 04:09:05] <Andorka> i want specify it from node
[2011/11/15 04:09:14] <ptman> node should be fine
[2011/11/15 04:09:21] <ptman> they're just special cases of classes
[2011/11/15 04:09:30] <Andorka> like node someserver {
[2011/11/15 04:09:30] <Andorka> $nginx_loglevel = 'info'
[2011/11/15 04:09:31] <Andorka> include nginx
[2011/11/15 04:09:38] <ptman> looks good to me
[2011/11/15 04:09:40] @ jetole is now known as joebob
[2011/11/15 04:09:46] <_rc> what puppet version?
[2011/11/15 04:09:49] <Andorka> 1.7
[2011/11/15 04:10:00] <ptman> _1_.7?
[2011/11/15 04:10:06] <kjetilho> 1.7 doesn't exist :)
[2011/11/15 04:10:09] <Andorka> og
[2011/11/15 04:10:11] <Andorka> 2.7, sure
[2011/11/15 04:10:14] <_rc> if you mean 2.7 you're out of luck
[2011/11/15 04:10:37] <_rc> because the variable scoping rules hate you now
[2011/11/15 04:10:45] <Andorka> hm
[2011/11/15 04:10:47] <kjetilho> no, scope.lookup('::nginx_loglevel') will work
[2011/11/15 04:10:53] <nevyn> hrm was anyone here at the melbourne devops meetup?
[2011/11/15 04:10:54] <kjetilho> if it is set at node level
[2011/11/15 04:11:21] <Andorka> kjetilho: default variable set in $nginx_loglevel = 'info'
[2011/11/15 04:11:21] <Andorka> class { ...
[2011/11/15 04:11:28] <Andorka> *default value
[2011/11/15 04:11:39] <Andorka> and i want override default from node level
[2011/11/15 04:11:43] <_rc> are you sure? node level isn't top scope
[2011/11/15 04:11:52] <_rc> it's some strange nether scope you can't address
[2011/11/15 04:12:00] @ Quit: tily: Remote host closed the connection
[2011/11/15 04:12:21] <nevyn> the coworker who went on puppet training last week commited a new module today :)
[2011/11/15 04:12:47] <kjetilho> _rc: I'm not entirely positive, no
[2011/11/15 04:14:24] <Andorka> how can i do what i want?
[2011/11/15 04:14:26] <kjetilho> Andorka: btw, small typo, should be scope.lookupvar
[2011/11/15 04:14:51] <Andorka> i must use scope?
[2011/11/15 04:15:15] <kjetilho> you really want to use parameterised classes
[2011/11/15 04:15:20] <kjetilho> or extlookup/hiera
[2011/11/15 04:15:47] <Andorka> hm
[2011/11/15 04:15:52] <Andorka> okay :(
[2011/11/15 04:16:10] <kjetilho> _rc: sorry, looks like you're right
[2011/11/15 04:16:39] <Andorka> and how to check true/false in template?
[2011/11/15 04:16:44] @ Quit: kubicek: Excess Flood
[2011/11/15 04:16:47] <kjetilho> ::node_var doesn't work in node scope
[2011/11/15 04:16:51] <Andorka> i want variable like "nginx off"
[2011/11/15 04:17:07] <kjetilho> <% if var -%>
[2011/11/15 04:17:32] @ kubicek joined channel #puppet
[2011/11/15 04:17:47] <bd> can I access the current time when a template runs? I'd like to record when the last puppet run was in /etc/motd
[2011/11/15 04:18:08] <Andorka> exec { 'date': } ? :)
[2011/11/15 04:18:13] @ Quit: R1ck: Ping timeout: 240 seconds
[2011/11/15 04:18:51] <Andorka> kjetilho: <% if off then %>
[2011/11/15 04:18:54] <Andorka> right?
[2011/11/15 04:19:10] <Andorka> what is "-" in "-%>" ?
[2011/11/15 04:19:22] <bd> Andorka: and how do I access that from a template?
[2011/11/15 04:19:34] <kjetilho> -%> means "don't include any whitespace after this, including the newline"
[2011/11/15 04:19:43] <Andorka> bd: maybe you need custom function?
[2011/11/15 04:19:44] <kjetilho> it's like dnl if you know m4
[2011/11/15 04:19:48] <Andorka> kjetilho: oh, thank you
[2011/11/15 04:20:20] <kjetilho> you can do <%- too, if you want to add pretty indentation
[2011/11/15 04:20:23] <_rc> bd: you can do any ruby, so <%= Date.now() %>
[2011/11/15 04:20:34] <bd> _rc: thanks
[2011/11/15 04:20:41] @ R1ck joined channel #puppet
[2011/11/15 04:21:16] <_rc> bd: sorry, that should be DateTime.now()
[2011/11/15 04:21:52] <bd> _rc: works like a charm
[2011/11/15 04:23:17] @ natewalck joined channel #puppet
[2011/11/15 04:23:43] <kjetilho> bd: just note that the Ruby code is actually running on the puppet master
[2011/11/15 04:23:45] <Andorka> to include parametrized class i must write some like: class { 'nginx': loglevel => 'debug' } ?
[2011/11/15 04:23:53] <kjetilho> but usually they agree on the time of day :)
[2011/11/15 04:23:56] @ joebob is now known as jetole
[2011/11/15 04:23:59] <kjetilho> (but possibly not timezone)
[2011/11/15 04:24:16] @ cliff-hm joined channel #puppet
[2011/11/15 04:24:17] <Andorka> i think better is include nginx(loglevel => 'debug') or something like this
[2011/11/15 04:24:17] <kjetilho> Andorka: yes, if you want to override defaults
[2011/11/15 04:24:36] <kjetilho> well, it's just syntax
[2011/11/15 04:24:41] <Andorka> yep
[2011/11/15 04:24:53] <kjetilho> include nginx will work if default values are fine
[2011/11/15 04:25:04] <_rc> well as it's a matter of syntax, you'll find one works, and the other doesn't
[2011/11/15 04:25:05] <Andorka> yep, i understand
[2011/11/15 04:25:06] <kjetilho> also, you can do include nginx multiple times
[2011/11/15 04:25:22] <kjetilho> even after class { nginx: }
[2011/11/15 04:25:33] <kjetilho> but you can't do class { nginx: } after include
[2011/11/15 04:25:44] <kjetilho> a bit painful, but there you go
[2011/11/15 04:25:59] @ Quit: skm: Quit: Computer has gone to sleep.
[2011/11/15 04:26:07] @ Quit: marczak: Ping timeout: 256 seconds
[2011/11/15 04:26:21] @ Quit: DbT_: Quit: So long.
[2011/11/15 04:26:53] <Andorka> sometime puppet syntax makes me cry :)
[2011/11/15 04:28:00] <nevyn> is there anything more evil than },
[2011/11/15 04:28:14] <nevyn> man I had to change
[2011/11/15 04:28:37] <nevyn> if $operatingsystem == 'solaris' to if $operatingsystem == 'Solaris' to make something work today.
[2011/11/15 04:28:59] <nevyn> but solaris worked in the $operatingsystem ? structures just fine
[2011/11/15 04:29:13] <Andorka> regexp?
[2011/11/15 04:29:43] <_rc> selectors are case-insenitive, direct equivalanecece isn't
[2011/11/15 04:29:45] @ skm joined channel #puppet
[2011/11/15 04:30:12] <nevyn> _rc: yeah I got that. it just took 5 minutes of my life.
[2011/11/15 04:30:19] <nevyn> and it was with the guy new to puppet
[2011/11/15 04:30:25] <nevyn> so it was annoying
[2011/11/15 04:31:40] <nevyn> and he still hasn't gotten on the page where the jumpstart doesn't do anythign yet.
[2011/11/15 04:35:45] @ Quit: Spads: Ping timeout: 276 seconds
[2011/11/15 04:39:06] <Andorka> someone use emacs for edit puppet modules?
[2011/11/15 04:39:12] <Andorka> *using
[2011/11/15 04:39:17] <Andorka> sorry my english :\
[2011/11/15 04:39:33] * nevyn is a vim type person
[2011/11/15 04:39:54] <nevyn> but there is a .el file that ships in the puppet rpm and deb
[2011/11/15 04:39:55] <nevyn> iirc
[2011/11/15 04:39:57] <Andorka> nevyn: how to indent region in vim?
[2011/11/15 04:40:07] <Andorka> nevyn: yeah, for xemacs :\
[2011/11/15 04:40:58] <Andorka> /usr/share/xemacs/site-lisp/puppet/puppet-mode.el
[2011/11/15 04:41:48] <Andorka> and its indent just firsh char in string
[2011/11/15 04:42:18] <Andorka> i.e. i get
[2011/11/15 04:42:19] <Andorka> group => root,
[2011/11/15 04:42:19] <Andorka> mode => 0644,
[2011/11/15 04:42:25] @ marczak joined channel #puppet
[2011/11/15 04:42:29] <Andorka> and i want to get:
[2011/11/15 04:42:29] <Andorka> group => root,
[2011/11/15 04:42:29] <Andorka> mode => 0644,
[2011/11/15 04:42:29] <Andorka>
[2011/11/15 04:42:37] <Andorka> sorry
[2011/11/15 04:43:20] * nevyn points Andorka at the big wide button at the bottom of the keyboard without any glyph on it...
[2011/11/15 04:43:47] <Andorka> i want autoindent :)
[2011/11/15 04:44:59] <fragfutter> Andorka: there is a puppet vi mode
[2011/11/15 04:45:18] <_rc> that's more than autoindent, it's autolayout
[2011/11/15 04:45:51] <nevyn> it's much more than autoindent
[2011/11/15 04:46:19] <nevyn> autoindent just needs to know a few rules (like if a line opens a { then add an indent level)
[2011/11/15 04:49:00] <_rc> if you're not tied to emacs, this vim mode does magic around =>, but I personally turn it off so I'm not doing egregious whitespace diffs https://github.com/uggedal/puppet-vim/blob/master/ftplugin/puppet.vim
[2011/11/15 04:51:08] @ rsnhyperion joined channel #puppet
[2011/11/15 04:53:26] <nevyn> _rc: vim can do that? explainhow!
[2011/11/15 04:53:33] @ Quit: cliff-hm: Read error: Operation timed out
[2011/11/15 04:53:37] @ bkdem joined channel #puppet
[2011/11/15 04:54:14] <_rc> nevyn: beats me; the source is there for you to puzzle over
[2011/11/15 04:54:42] <nevyn> so the puppet.vim file implements autolayout and lining up => 's?
[2011/11/15 04:54:50] <nevyn> is that what you said?
[2011/11/15 04:55:42] @ tily joined channel #puppet
[2011/11/15 04:55:44] <_rc> yes; look at s:AlignArrows, it's that the (probably) does it, but I don't speak vim macros, I just use it
[2011/11/15 04:58:07] @ Quit: skm: Read error: Connection reset by peer
[2011/11/15 04:58:14] @ Ababcus joined channel #puppet
[2011/11/15 04:58:52] @ Quit: MartVisser: Quit: This computer has gone to sleep
[2011/11/15 05:00:42] @ Quit: beast: Quit: Leaving.
[2011/11/15 05:00:52] @ Quit: jrua: Quit: Reconnecting
[2011/11/15 05:01:15] @ Quit: bobra: Ping timeout: 256 seconds
[2011/11/15 05:02:36] @ orkaa joined channel #puppet
[2011/11/15 05:02:49] @ oatsport1 joined channel #puppet
[2011/11/15 05:03:16] @ MartVisser joined channel #puppet
[2011/11/15 05:04:18] <orkaa> Hi
[2011/11/15 05:04:23] <nevyn> hi
[2011/11/15 05:04:24] <orkaa> I have a problem with debian packages
[2011/11/15 05:04:40] <orkaa> there's a few deb packages I need
[2011/11/15 05:04:44] <nevyn> mmm...
[2011/11/15 05:04:52] <orkaa> and before puppet i did this:
[2011/11/15 05:04:58] <orkaa> dpkg -i package.deb
[2011/11/15 05:05:04] <nevyn> right.
[2011/11/15 05:05:07] <orkaa> which produced some error about missing dependencies
[2011/11/15 05:05:11] <orkaa> and then I ran:
[2011/11/15 05:05:14] <orkaa> apt-get -f install
[2011/11/15 05:05:20] <orkaa> which resolved those
[2011/11/15 05:05:24] <nevyn> eek.
[2011/11/15 05:05:30] <nevyn> that's pretty ugly as a process.
[2011/11/15 05:05:37] <orkaa> yep, it is
[2011/11/15 05:05:49] <fragfutter> orkaa: run your own repository and add it to your apt sources
[2011/11/15 05:05:52] <orkaa> but it's almost a standard procedure with debian
[2011/11/15 05:06:00] <fragfutter> orkaa: it's not.
[2011/11/15 05:06:02] <nevyn> orkaa: not on any debian I run
[2011/11/15 05:06:10] <orkaa> I said _almost_ :P
[2011/11/15 05:06:23] @ jwhitlock_zzz is now known as jwhitlock
[2011/11/15 05:06:34] <orkaa> so.. to the point
[2011/11/15 05:06:44] <orkaa> can puppet handle this with the dpkg provider?
[2011/11/15 05:06:49] <_rc> you see it on some howtos, these aren't people who care about your box though, they usually care about the software they're telling you to install
[2011/11/15 05:07:23] <nevyn> so making a apt repo with the .deb's then use apt-get to install them
[2011/11/15 05:08:09] <orkaa> so there's no other way around? meh.
[2011/11/15 05:08:17] <orkaa> rhel's package manager has a nice feature
[2011/11/15 05:08:29] <nevyn> orkaa: detail all the dependancy's of these .deb's by hand
[2011/11/15 05:08:32] <orkaa> you can install packages from file with yum
[2011/11/15 05:08:41] <orkaa> yum install package.rpm
[2011/11/15 05:08:49] <fragfutter> i've seen a commercial software that installs rpms with a --force flag to ignore dependencies and then tell you it's supposed to work like this...
[2011/11/15 05:08:55] <orkaa> and it resolves the dependencies automatically
[2011/11/15 05:08:55] <_rc> it does, but even then it's better to put the rpm in a repo
[2011/11/15 05:08:59] <orkaa> it's a shame debian can't do that
[2011/11/15 05:09:24] <nevyn> yep it's a missing feature in debian
[2011/11/15 05:09:26] <walkeran> orkaa: I think it's a shame that yum DOES do that *sigh* dang co-workers that keep doing that.. pisses me off :)
[2011/11/15 05:09:32] <nevyn> like package dependancies on a file
[2011/11/15 05:09:51] <nevyn> </sarcasm>
[2011/11/15 05:10:02] <orkaa> nevyn: the interesting thing is, gdebi (gui dpkg) can do that
[2011/11/15 05:11:03] @ jwhitlock is now known as jwhitlock_zzz
[2011/11/15 05:11:24] @ Spads joined channel #puppet
[2011/11/15 05:11:57] @ Quit: MartVisser: Quit: Leaving
[2011/11/15 05:11:58] @ Quit: Spads: Client Quit
[2011/11/15 05:12:09] @ Spads joined channel #puppet
[2011/11/15 05:12:41] <orkaa> walkeran: what's the thing that actually bothers you about that?
[2011/11/15 05:12:49] <orkaa> not always having the files at hand?
[2011/11/15 05:13:30] <walkeran> For the most part. Especially in the case of a disaster when I would need that package on-hand, and I don't want to have to dig around the net looking for it
[2011/11/15 05:13:57] <walkeran> We have an in-house repo that's a snap-of-the-fingers to add packages to, and once that's done, the package is always there! :)
[2011/11/15 05:14:27] <orkaa> ok, fair point :)
[2011/11/15 05:14:44] <walkeran> orkaa: but, mostly it's just because I'm kinda anal/OCD about those kinds of things
[2011/11/15 05:14:55] <_rc> and hopefully snapping your fingers logs who put a file into the repo, so later you can reason who and why
[2011/11/15 05:15:00] <walkeran> I get mad when things aren't done "my way" :D Sometimes that's for the better, and sometimes it's just an annoyance
[2011/11/15 05:15:14] @ gischy joined channel #puppet
[2011/11/15 05:15:48] <orkaa> ok ok
[2011/11/15 05:15:59] <orkaa> I'll make the damn repo
[2011/11/15 05:16:02] <walkeran> _rc: sadly, it's not automagic, and requires adding/changing a line in our wiki. But they are backed up, at least! The logging is a rainy-day project along with about 5-billion other things
[2011/11/15 05:16:31] @ Quit: dfamorato: Ping timeout: 244 seconds
[2011/11/15 05:17:37] <_rc> yeah, we have it on our backlog too; I'm hoping pulp will do it, I just need to carve out a few hours
[2011/11/15 05:18:45] @ sascha_ joined channel #puppet
[2011/11/15 05:19:18] @ andreaturli joined channel #puppet
[2011/11/15 05:19:22] * walkeran jots PULP down on his big ol' list-o-things
[2011/11/15 05:19:44] @ Quit: jongrocho: Remote host closed the connection
[2011/11/15 05:20:34] @ Quit: mogitaff: Remote host closed the connection
[2011/11/15 05:22:44] @ Quit: IndyMichaelB: Quit: IndyMichaelB
[2011/11/15 05:24:05] <larsar> I have a git post-receive hook problem. Tried to setup the Git workflow with environments, as described here: http://puppetlabs.com/blog/git-workflow-and-puppet-environments/
[2011/11/15 05:24:33] <larsar> It works, except for that the post hook does not delete the environment when I remove the branch from the repo.
[2011/11/15 05:25:22] <ohadlevy> _rc: do what?
[2011/11/15 05:26:43] @ kelseyhightower joined channel #puppet
[2011/11/15 05:27:01] @ Quit: kelseyhightower: Client Quit
[2011/11/15 05:27:34] @ kelseyhightower joined channel #puppet
[2011/11/15 05:30:40] @ sduchesneau joined channel #puppet
[2011/11/15 05:31:00] @ sduchesneau_ joined channel #puppet
[2011/11/15 05:34:55] @ ldlework joined channel #puppet
[2011/11/15 05:36:22] @ dfamorato joined channel #puppet
[2011/11/15 05:38:36] @ Quit: themadcanudist1: Quit: Leaving.
[2011/11/15 05:39:08] <xover1> how can i determine from the puppetmaster which servers changes occurred on?
[2011/11/15 05:39:59] <tremble> xover1: I normally grep /var/log/messages on the server.
[2011/11/15 05:40:09] <tremble> s/server/puppetmaster/
[2011/11/15 05:40:38] <tremble> (sorry would normally consider the "servers" to be clients of the puppetmaster)
[2011/11/15 05:40:40] @ Quit: sduchesneau: Ping timeout: 240 seconds
[2011/11/15 05:41:19] @ Quit: sduchesneau_: Ping timeout: 244 seconds
[2011/11/15 05:41:21] @ Quit: adimania: Ping timeout: 252 seconds
[2011/11/15 05:44:18] @ st33v joined channel #puppet
[2011/11/15 05:44:27] @ beddari joined channel #puppet
[2011/11/15 05:44:31] <bd> how do I install a package from backports through puppet? normally I'd run apt-get install -t squeeze-backports
[2011/11/15 05:44:49] <bd> but how do I tell puppet to use -t squeeze-backports for that package
[2011/11/15 05:45:53] @ rutger_ joined channel #puppet
[2011/11/15 05:45:54] <larsar> Solved my problem. There is a bug in the post-receive hook script.
[2011/11/15 05:46:36] @ Quit: rosco_: Read error: Connection reset by peer
[2011/11/15 05:47:10] @ Quit: st33v: Client Quit
[2011/11/15 05:47:11] @ rosco_ joined channel #puppet
[2011/11/15 05:47:54] @ uphillian joined channel #puppet
[2011/11/15 05:48:51] @ Quit: marczak: Quit: Lost terminal
[2011/11/15 05:51:33] @ gaveen joined channel #puppet
[2011/11/15 05:51:33] @ Quit: gaveen: Changing host
[2011/11/15 05:51:33] @ gaveen joined channel #puppet
[2011/11/15 05:53:08] @ davey79 joined channel #puppet
[2011/11/15 05:53:48] @ adimania joined channel #puppet
[2011/11/15 05:54:12] <davey79> gepetto: help
[2011/11/15 05:54:13] <gepetto> davey79: help topics: 10 core modules: auth, basics, config, filters, httputil, irclog, remote, unicode, userdata, wordlist; 13 plugins: botsnack, factoids, github, karma, nickserv, note, pastie, puppetdocsurls, redmineurls, rss, seen, shortenurls, time (help <topic> for more info)
[2011/11/15 05:54:44] <bd> FWIW, there is a bug for my problem: http://projects.puppetlabs.com/issues/2406
[2011/11/15 05:58:14] @ IndyMichaelB joined channel #puppet
[2011/11/15 05:58:16] @ Quit: IndyMichaelB: Client Quit
[2011/11/15 05:58:22] @ blentz joined channel #puppet
[2011/11/15 05:59:13] @ cliff-hm joined channel #puppet
[2011/11/15 06:02:42] @ Quit: jonhattan: Quit: llevaré una chaquete de guns'n'roses
[2011/11/15 06:03:22] @ Quit: mmoya: Ping timeout: 245 seconds
[2011/11/15 06:03:25] <_rc> ohadlevy: I'm afraid I have no context for "< ohadlevy> _rc: do what?"
[2011/11/15 06:03:42] @ mmoya joined channel #puppet
[2011/11/15 06:04:58] <walkeran> _rc, ohadlevy: I think it was in reference to you hoping that PULP will do logging for you when people make changes to your apt/yum repos
[2011/11/15 06:05:12] <walkeran> But, I could be wrong...
[2011/11/15 06:05:56] <_rc> well that's my hope, yes.
[2011/11/15 06:06:07] @ johnston joined channel #puppet
[2011/11/15 06:06:09] @ mogitaff joined channel #puppet
[2011/11/15 06:08:29] @ hazmat left channel #puppet ()
[2011/11/15 06:08:53] @ sduchesneau_ joined channel #puppet
[2011/11/15 06:09:55] @ royh left channel #puppet ()
[2011/11/15 06:10:09] @ Quit: ezryx: Remote host closed the connection
[2011/11/15 06:10:20] @ sduchesneau joined channel #puppet
[2011/11/15 06:11:34] <orkaa> hm, another question
[2011/11/15 06:11:48] <orkaa> what module would you recommend for setting mysql from ground up
[2011/11/15 06:12:09] <orkaa> including creation of the first user (root)
[2011/11/15 06:13:04] @ Quit: silversurfer972: Remote host closed the connection
[2011/11/15 06:13:55] <orkaa> I tried using this one: https://github.com/kbarber/puppet-mysql
[2011/11/15 06:14:08] @ Quit: uphillian: Quit: Leaving.
[2011/11/15 06:14:21] @ choonming joined channel #puppet
[2011/11/15 06:14:25] <orkaa> but I can't seem to acces that 'initial' functionality
[2011/11/15 06:15:25] @ ezryx joined channel #puppet
[2011/11/15 06:17:30] @ uphillian joined channel #puppet
[2011/11/15 06:17:38] @ mattford63 joined channel #puppet
[2011/11/15 06:18:37] <mattford63> Hey all, new to Puppet and exploring on RH6. The command "puppet resource cron" doesn't return information about my current state like it does for other types. Is this a bug or a feature?
[2011/11/15 06:18:56] @ Jysara joined channel #puppet
[2011/11/15 06:20:00] <walkeran> mattford63: Do you have any cronjobs?
[2011/11/15 06:20:17] @ themadcanudist joined channel #puppet
[2011/11/15 06:20:20] <mattford63> walkeran: Yeah, one. And the
[2011/11/15 06:20:22] <walkeran> mattford63: Also, I think the cronjobs would have to be prefixed with the same line that puppet would manage them with, so it can extract a resource name
[2011/11/15 06:20:48] <mattford63> And the jobs in /etc/cron.d
[2011/11/15 06:20:49] <walkeran> ie: a line before the cron line that reads something like "# Puppet Name: <name-of-the-resource>"
[2011/11/15 06:20:59] <mattford63> Ah...
[2011/11/15 06:21:21] <mattford63> So it's not quite as abstracted as the other resource types.
[2011/11/15 06:21:23] <walkeran> mattford63: I'm not sure that it reads the ones in /etc/cron.d ... I could be wrong, but I imagine it's just the ones in /var/spool/cron
[2011/11/15 06:21:42] <mattford63> I'll stick in some comments and see what happens.
[2011/11/15 06:22:38] @ orkaa_ joined channel #puppet
[2011/11/15 06:23:32] <mattford63> walkeran: The additinal meta info made things leap into life. Thanks. Shame it doesn't pull the name form the cron executable. Why do you think it doesn't?
[2011/11/15 06:23:45] <Jysara> hi @ all
[2011/11/15 06:23:49] <mattford63> walkeran: apart from multiple schedule clashes
[2011/11/15 06:23:49] <Jysara> I've got a problem with puppet +nginx + unicorn.
[2011/11/15 06:23:49] <Jysara> If I'm typing: puppetd --test --verbose --debug --detailed-exitcodes --waitforcert 10
[2011/11/15 06:23:51] <Jysara> on the agent, I allways get: err: Could not request certificate: undefined method `name' for #<Hash:0x7fda6521e3e0>
[2011/11/15 06:23:53] <Jysara> any suggestions what could be the curse?
[2011/11/15 06:24:01] <walkeran> mattford63: I'm actually not quite sure on that one. Very good question :)
[2011/11/15 06:24:38] @ csanchez joined channel #puppet
[2011/11/15 06:24:40] @ Quit: orkaa: Ping timeout: 240 seconds
[2011/11/15 06:24:41] @ orkaa_ is now known as orkaa
[2011/11/15 06:26:03] <walkeran> mattford63: The good news is, if you specify a cron resource and it's applied to a machine that has a matching cron entry (but that's not already being managed by puppet), it will simply prepend that comment/name to it
[2011/11/15 06:26:25] <walkeran> mattford63: But it's pretty picky about "matching".. it has to match both the command and the schedule
[2011/11/15 06:26:53] <mattford63> walkeran: good to know
[2011/11/15 06:28:19] @ Quit: unxbm3r1: Ping timeout: 244 seconds
[2011/11/15 06:28:40] @ mcarpent joined channel #puppet
[2011/11/15 06:29:40] @ cek joined channel #puppet
[2011/11/15 06:29:59] <cek> Hi. Anyone familiar with this error: puppet-agent[1130]: (/File[/var/lib/puppet/lib]) Failed to generate additional resources using 'eval_generate': getaddrinfo: Temporary failure in name resolution ?
[2011/11/15 06:30:16] <cek> and of course dns working properly
[2011/11/15 06:31:17] <_rc> what's the server name configured to be?
[2011/11/15 06:31:23] @ Quit: larsar:
[2011/11/15 06:32:06] @ Quit: mattford63: Ping timeout: 276 seconds
[2011/11/15 06:32:40] <cek> screw that, it's probably name resolution that's failing:)
[2011/11/15 06:34:23] @ sdog joined channel #puppet
[2011/11/15 06:34:48] @ Quit: sdog: Changing host
[2011/11/15 06:34:48] @ sdog joined channel #puppet
[2011/11/15 06:35:34] @ Quit: adimania: Ping timeout: 244 seconds
[2011/11/15 06:35:57] @ Quit: choonming: Read error: Connection timed out
[2011/11/15 06:36:15] @ unxbm3r1 joined channel #puppet
[2011/11/15 06:39:15] @ Quit: cek: Quit: жопа диридай диридиридай
[2011/11/15 06:40:23] @ Jysara left channel #puppet ()
[2011/11/15 06:42:52] @ IndyMichaelB joined channel #puppet
[2011/11/15 06:43:15] @ jwhitlock_zzz is now known as jwhitlock
[2011/11/15 06:45:54] @ astrostl joined channel #puppet
[2011/11/15 06:45:56] @ Quit: gischy: Ping timeout: 260 seconds
[2011/11/15 06:46:15] <hajile> dpittman: My bug was closed as "not a bug"
[2011/11/15 06:46:35] <hajile> dpittman: FYI.. I can forward you the e-mail if you'd like to respond with why it's really a bug. :)
[2011/11/15 06:48:05] @ Quit: ezryx: Quit: Leaving...
[2011/11/15 06:48:11] @ ezryx joined channel #puppet
[2011/11/15 06:50:41] @ oatsport1_ joined channel #puppet
[2011/11/15 06:50:58] @ Quit: oatsport1: Read error: Connection reset by peer
[2011/11/15 06:51:39] @ flex___ joined channel #puppet
[2011/11/15 06:51:53] @ Quit: brtl: Read error: Connection reset by peer
[2011/11/15 06:52:00] @ brtl joined channel #puppet
[2011/11/15 06:52:51] @ illsci joined channel #puppet
[2011/11/15 06:52:51] @ MartVisser joined channel #puppet
[2011/11/15 06:53:02] @ Quit: IndyMichaelB: Ping timeout: 252 seconds
[2011/11/15 06:53:42] <illsci> I'm trying to purge this directory with puppet so it only contains the files defined in puppet and I have purge => true and force => true and it's still not rm'ing the files hanging out in that dir...
[2011/11/15 06:53:49] <illsci> Is there another trick I'm missing or something
[2011/11/15 06:54:10] <_rc> recurse?
[2011/11/15 06:54:18] <walkeran> illsci: Is the "source" set to an empty dir on your puppetmaster?
[2011/11/15 06:55:21] <walkeran> illsci: ie: source => 'puppet:///modules/common/empty_dir'
[2011/11/15 06:55:22] <hajile> so, has there really been a shift to where you need to explicitly call out the name of your puppetmaster in puppet.conf?
[2011/11/15 06:55:31] <hajile> that is, if it's not actually called "puppet"?
[2011/11/15 06:55:34] <illsci> no... I don't define a source in the file definition where I set purge
[2011/11/15 06:55:50] <illsci> I put files in that dir in another submodule
[2011/11/15 06:55:55] <walkeran> illsci: There's your problem, then
[2011/11/15 06:56:14] <illsci> seriously... to purge a directory you have to set a source to an empty directory?
[2011/11/15 06:56:23] <_rc> hajile: no, that's not new
[2011/11/15 06:56:26] @ mrwacky42 joined channel #puppet
[2011/11/15 06:57:01] <_rc> illsci: yes; you're using a file syncing resource, not rm -fr
[2011/11/15 06:57:16] <hajile> hmm
[2011/11/15 06:57:45] <illsci> well I don't want it to be completely empty... I want it to only contain the files defined in puppet
[2011/11/15 06:58:06] <illsci> is that what I'll see if I in addition the files defined in puppet that put files in that dir also define the dir to be empty...
[2011/11/15 06:58:14] <hajile> I guess I still don't quite understand why dpittman thought this issue was still a bug.
[2011/11/15 06:58:21] <hajile> I'll bug him when he's online I suppose.
[2011/11/15 06:58:33] <illsci> I'll try it I guess...
[2011/11/15 06:59:10] @ IndyMichaelB joined channel #puppet
[2011/11/15 06:59:17] <illsci> It's just weird to me because the other purging I do is user purging and I didn't have to do that...
[2011/11/15 06:59:27] <walkeran> illsci: Not sure quite what you mean with that last question, but I believe if you do that, you'll see the results you are looking for. Here's a resource I use for just that purpose: http://pastie.org/2867388
[2011/11/15 07:00:02] @ Quit: Vasik|work: Remote host closed the connection
[2011/11/15 07:00:10] <walkeran> illsci: You can disregard the "ignore" line, as my 'empty_dir' really isn't empty, it has a file named '.ignore' in it (for git purposes)
[2011/11/15 07:00:20] @ jsm joined channel #puppet
[2011/11/15 07:00:28] * walkeran goes to a meeting *sigh*
[2011/11/15 07:00:31] @ _rosco_ joined channel #puppet
[2011/11/15 07:00:55] @ Quit: MartVisser: Quit: This computer has gone to sleep
[2011/11/15 07:01:44] @ amoe joined channel #puppet
[2011/11/15 07:02:31] @ Quit: amoe: Client Quit
[2011/11/15 07:03:14] @ Quit: Demosthenes: Quit: leaving
[2011/11/15 07:04:28] @ Quit: rosco_: Ping timeout: 258 seconds
[2011/11/15 07:05:08] <davey79> Does anyone know what causes this error: "err: Could not request certificate: undefined method `name' for #<Hash:0x7f2a1b6b95f8>"? It only occurs using nginx+unicorn as suggested by http://projects.puppetlabs.com/projects/puppet/wiki/Using_Unicorn
[2011/11/15 07:05:31] @ RhysMorgan joined channel #puppet
[2011/11/15 07:05:49] <RhysMorgan> Has anyone installed passenger on SLES 11?
[2011/11/15 07:06:11] <davey79> everything works fine on the same machines using webrick instead of nginx+unicorn
[2011/11/15 07:07:29] @ Quit: jaydg: Quit: Verlassend
[2011/11/15 07:07:35] @ Quit: mrwacky42: Quit: Leaving.
[2011/11/15 07:07:45] <RhysMorgan> When is PE 2.0 being released?
[2011/11/15 07:08:13] <davey79> is anyone using puppet with nginx+unicorn?
[2011/11/15 07:08:39] @ chadskidmore joined channel #puppet
[2011/11/15 07:09:23] @ Quit: chadskidmore: Client Quit
[2011/11/15 07:10:25] @ hal-j2 is now known as hal-j
[2011/11/15 07:11:22] @ Quit: Stenbryggen: Quit: Leaving.
[2011/11/15 07:12:39] @ Quit: SFox: Read error: Operation timed out
[2011/11/15 07:12:40] <illsci> walkeran: thanks! that totally works and having it as a define is perfect
[2011/11/15 07:12:54] @ SFox joined channel #puppet
[2011/11/15 07:15:00] @ labrown joined channel #puppet
[2011/11/15 07:17:51] @ kaptk2 joined channel #puppet
[2011/11/15 07:18:45] @ Chillax joined channel #puppet
[2011/11/15 07:19:10] @ |Frederik joined channel #puppet
[2011/11/15 07:19:29] @ Quit: Chillax_: Ping timeout: 244 seconds
[2011/11/15 07:19:48] <|Frederik> Hi, puppet detects my qemu-kvm virtual machine as a physical machine. Is there already such a bug known?
[2011/11/15 07:20:26] <ohadlevy> |Frederik: it works fine on mine, which version of facter?
[2011/11/15 07:21:45] <|Frederik> ohadlevy: 1.5.7. It works fine on virtual machines where I did not change the default qemu-kvm CPU features (e.g. where /proc/cpuinfo mentions QEMU), but it does not on systems where you add custom cpu flags
[2011/11/15 07:21:59] @ Quit: verwilst_: Quit: Ex-Chat
[2011/11/15 07:22:15] @ verwilst joined channel #puppet
[2011/11/15 07:22:39] <ohadlevy> |Frederik: and it does not mention qemu anymore?
[2011/11/15 07:23:00] <ohadlevy> |Frederik: in anycase, on facter 1.6.x that i got installed, it reports it correctly, and also detects its kvm
[2011/11/15 07:23:17] <|Frederik> ohadlevy: Not in /proc/cpuinfo: http://pastebin.com/QCr53PSF
[2011/11/15 07:23:36] @ brandon_dacrib joined channel #puppet
[2011/11/15 07:23:51] @ Quit: Chillax: Quit: No Ping reply in 180 seconds.
[2011/11/15 07:24:34] <ohadlevy> |Frederik: yep, looking at the code thats exactly what it does, i guess it should be rewritten to use dmidecode
[2011/11/15 07:25:23] @ dwalu joined channel #puppet
[2011/11/15 07:25:44] <|Frederik> ohadlevy: OK. Should I open a bug report?
[2011/11/15 07:25:49] <ohadlevy> i guess
[2011/11/15 07:25:51] <hajile> anyone have cucumber puppet experience?
[2011/11/15 07:25:59] <hajile> cucumber-puppet, that is.
[2011/11/15 07:29:54] @ Quit: dwalu: Client Quit
[2011/11/15 07:30:37] @ Quit: rutger: Ping timeout: 240 seconds
[2011/11/15 07:30:53] @ rutger joined channel #puppet
[2011/11/15 07:31:40] @ lborda joined channel #puppet
[2011/11/15 07:31:56] @ Quit: astrostl:
[2011/11/15 07:33:10] @ mmcji joined channel #puppet
[2011/11/15 07:33:36] @ Quit: mykhyggz: Ping timeout: 258 seconds
[2011/11/15 07:33:59] <hajile> argh, all of a sudden my policy run is saying all steps are undefined
[2011/11/15 07:34:16] <hajile> sigh.. i just want to use 2.7.6.
[2011/11/15 07:34:17] <hajile> :D
[2011/11/15 07:35:29] @ Chillax joined channel #puppet
[2011/11/15 07:35:53] @ Quit: susman: Read error: Operation timed out
[2011/11/15 07:37:24] @ neonflux joined channel #puppet
[2011/11/15 07:37:53] @ savid joined channel #puppet
[2011/11/15 07:37:56] @ elmer__ joined channel #puppet
[2011/11/15 07:38:01] @ hobbeswalsh joined channel #puppet
[2011/11/15 07:38:06] @ adimania joined channel #puppet
[2011/11/15 07:39:32] @ seanh-ansca joined channel #puppet
[2011/11/15 07:41:47] @ davey79 left channel #puppet ()
[2011/11/15 07:44:07] @ Quit: IndyMichaelB: Quit: IndyMichaelB
[2011/11/15 07:45:20] @ Quit: elmer__: Ping timeout: 248 seconds
[2011/11/15 07:45:24] <larstobi> for Service { ensure => running, } does the service provider think it's running only by checking for exit value 0 from the status command? If it says "[service] is stopped" and exit value 0, does it think it's running?
[2011/11/15 07:45:59] @ elmer__ joined channel #puppet
[2011/11/15 07:46:15] <_rc> larstobi: it depends on the version of puppet
[2011/11/15 07:46:18] <supplicant> larstobi: it depends
[2011/11/15 07:46:34] <larstobi> 2.7.6
[2011/11/15 07:46:48] <_rc> in 2.7 is uses that mechanism; in earlier versions you have to say hasstatus => true to force it
[2011/11/15 07:47:20] @ ciupicri joined channel #puppet
[2011/11/15 07:47:36] <_rc> it will think it's running, as that's what 0 means. http://fedoraproject.org/wiki/Packaging:SysVInitScript#Exit_Codes_for_the_Status_Action
[2011/11/15 07:47:37] <ciupicri> how can I split a long string attribute, a command line to be more specific?
[2011/11/15 07:48:00] <larstobi> it's using the init script from the Red Hat supported, rpm-packaged JBoss AS on RHEL6, and it seems to think it's running even though it's stopped.
[2011/11/15 07:48:24] <larstobi> so that's a bug in the init script for JBoss from Red Hat, then?
[2011/11/15 07:48:46] <_rc> well then you have a busted init script. you could set the status property of the service resource to your own script that dtrt, or you could fix the rh init script
[2011/11/15 07:49:08] <larstobi> okay, I guess I'll fix the init script and report it to Red Hat
[2011/11/15 07:49:43] @ susman joined channel #puppet
[2011/11/15 07:50:03] <larstobi> so weird nobody's noticed that before
[2011/11/15 07:51:28] <larstobi> _rc: it works when I change "return 0" (for stopped) to "exit 1". Using "return 1" doesn't do anything.
[2011/11/15 07:51:51] @ Quit: the_ramink: Ping timeout: 260 seconds
[2011/11/15 07:52:33] @ riha left channel #puppet ()
[2011/11/15 07:52:54] <_rc> well I assume, without seeing the code, that that's returning out of a function
[2011/11/15 07:53:11] <_rc> and the caller doesn't propogate that return value up
[2011/11/15 07:55:03] @ soh_ joined channel #puppet
[2011/11/15 07:55:08] @ Quit: elmer__: Ping timeout: 244 seconds
[2011/11/15 07:56:17] @ elmer__ joined channel #puppet
[2011/11/15 07:56:27] <larstobi> _rc: https://gist.github.com/1367416
[2011/11/15 07:57:45] @ Quit: semaphore: Ping timeout: 258 seconds
[2011/11/15 07:58:53] @ Quit: bkdem: Ping timeout: 252 seconds
[2011/11/15 07:59:39] @ ukd1 joined channel #puppet
[2011/11/15 07:59:56] @ marczak joined channel #puppet
[2011/11/15 08:00:52] @ semaphore joined channel #puppet
[2011/11/15 08:02:01] @ Blumfelt joined channel #puppet
[2011/11/15 08:02:28] @ Quit: Blumfelt: Client Quit
[2011/11/15 08:05:11] <_rc> larstobi: hm, odd, the last line, exit $RETVAL, should propgate the return from status
[2011/11/15 08:05:42] <larstobi> yes, I find it odd too
[2011/11/15 08:06:00] @ astrostl joined channel #puppet
[2011/11/15 08:06:01] @ benkevan joined channel #puppet
[2011/11/15 08:06:06] <_rc> oh, no I see, that's only set when in setop() and start()
[2011/11/15 08:06:11] <_rc> bad init script
[2011/11/15 08:06:13] <larstobi> oh, right
[2011/11/15 08:06:15] <_rc> no cookie
[2011/11/15 08:06:26] <larstobi> hehe, okay, thanks
[2011/11/15 08:06:48] @ ghg joined channel #puppet
[2011/11/15 08:07:08] @ Quit: kubicek: Excess Flood
[2011/11/15 08:07:09] <_rc> usually a rh init script has exit $?
[2011/11/15 08:07:20] <_rc> not extit $RETVAL
[2011/11/15 08:07:39] @ Quit: csanchez: Ping timeout: 276 seconds
[2011/11/15 08:07:48] @ kubicek joined channel #puppet
[2011/11/15 08:09:15] @ mykhyggz joined channel #puppet
[2011/11/15 08:10:53] @ spiette joined channel #puppet
[2011/11/15 08:11:38] @ dwalu joined channel #puppet
[2011/11/15 08:12:48] @ Quit: mcarpent: Ping timeout: 252 seconds
[2011/11/15 08:13:23] @ mcarpent joined channel #puppet
[2011/11/15 08:14:29] @ Quit: toi: Read error: Operation timed out
[2011/11/15 08:14:31] @ cruzfox joined channel #puppet
[2011/11/15 08:15:49] @ Quit: sduchesneau: Ping timeout: 240 seconds
[2011/11/15 08:15:55] @ Quit: sduchesneau_: Ping timeout: 244 seconds
[2011/11/15 08:16:05] @ jonhattan joined channel #puppet
[2011/11/15 08:16:13] @ Quit: liff: Ping timeout: 240 seconds
[2011/11/15 08:16:55] @ liff joined channel #puppet
[2011/11/15 08:17:21] @ Quit: Ramonster: Ping timeout: 244 seconds
[2011/11/15 08:19:22] @ Ramonster joined channel #puppet
[2011/11/15 08:22:03] <Volcane> only if they exit right after the statement that sets the value
[2011/11/15 08:22:06] <Volcane> which is very often not the case
[2011/11/15 08:22:17] <Volcane> so they store it then later exit with the stored value
[2011/11/15 08:22:22] @ newtMcKerr joined channel #puppet
[2011/11/15 08:22:25] @ Quit: raphdg: Remote host closed the connection
[2011/11/15 08:22:43] <Volcane> # grep RETVAL /etc/init.d/*|wc -l
[2011/11/15 08:22:44] <Volcane> 330
[2011/11/15 08:22:47] <Volcane> its very common.
[2011/11/15 08:23:33] @ Quit: verwilst: Ping timeout: 256 seconds
[2011/11/15 08:26:20] @ Quit: Ramonster: Quit: So Long and thanks for all the fish
[2011/11/15 08:26:28] @ Quit: dwalu: Quit: dwalu
[2011/11/15 08:26:58] <holojorge> hi everybody
[2011/11/15 08:27:48] @ mrwacky42 joined channel #puppet
[2011/11/15 08:27:52] @ Diranged joined channel #puppet
[2011/11/15 08:28:05] <Diranged> ok.. anyone here run puppet on ubuntu/debian?
[2011/11/15 08:28:31] <Diranged> im starting in a new environment where they're using ubuntu 10.04.. but i definitely dont want to use puppet 0.25, which seems to be the default available package. im not sure about the best way to use a newer version
[2011/11/15 08:28:39] <holojorge> Diranged, I'm trying :-)
[2011/11/15 08:28:44] <holojorge> use a ppa
[2011/11/15 08:29:23] <holojorge> https://launchpad.net/ubuntu/+source/puppet
[2011/11/15 08:29:34] <Diranged> ok.. looking it up. im really a centos/rhel guy, so ubuntu will take a little bit of learning
[2011/11/15 08:29:50] @ Quit: flex___: Remote host closed the connection
[2011/11/15 08:30:12] @ Quit: Chillax: Read error: Operation timed out
[2011/11/15 08:30:13] <Diranged> ami i reading that right.. 2.6.1 is the latest for lucid?
[2011/11/15 08:30:17] @ Bass10 joined channel #puppet
[2011/11/15 08:30:32] <holojorge> don't know
[2011/11/15 08:30:40] @ Quit: gaveen: Remote host closed the connection
[2011/11/15 08:31:26] @ Quit: Bass10: Max SendQ exceeded
[2011/11/15 08:31:32] @ Quit: sdog: Remote host closed the connection
[2011/11/15 08:32:17] @ Quit: samrose: Ping timeout: 240 seconds
[2011/11/15 08:33:04] @ negronjl joined channel #puppet
[2011/11/15 08:33:09] @ the_ramink joined channel #puppet
[2011/11/15 08:33:39] <jbaldridge> the puppetlabs repo has 2.7.1 for lucid
[2011/11/15 08:35:10] @ Quit: larstobi: Quit: Leaving.
[2011/11/15 08:35:41] @ Quit: rutger_: Remote host closed the connection
[2011/11/15 08:36:09] <jbaldridge> err 2.7.6
[2011/11/15 08:36:33] @ zul left channel #puppet ("Ex-Chat")
[2011/11/15 08:37:01] <agagag> i have a class of identical machines which include a bunch of classes, one of them should not have one of those clasees. What would be an elegant way to implement this? My machines get their class from an external database. Any tip would be great.
[2011/11/15 08:37:43] @ csanchez joined channel #puppet
[2011/11/15 08:38:23] <Diranged> oh.. ok, now time to find that
[2011/11/15 08:38:24] <Diranged> :)
[2011/11/15 08:38:30] <_rc> have your database not allocate the class to the exceptional host
[2011/11/15 08:39:32] <agagag> so it will have to be on a separate class almost the same stuff
[2011/11/15 08:40:26] <Diranged> so for 10.04, i only see puppet 2.6.2.. which is massively better than 0.25… but still old
[2011/11/15 08:41:16] @ Quit: soh_: Quit: Computer has gone to sleep.
[2011/11/15 08:42:01] @ Quit: mrwacky42: Quit: Leaving.
[2011/11/15 08:44:11] @ soh_ joined channel #puppet
[2011/11/15 08:44:44] @ Quit: marczak: Ping timeout: 244 seconds
[2011/11/15 08:45:02] @ Quit: mogitaff: Quit: Leaving
[2011/11/15 08:45:50] @ Quit: ezryx: Remote host closed the connection
[2011/11/15 08:46:32] @ Quit: soh_: Client Quit
[2011/11/15 08:46:48] @ Quit: ken_barber: Ping timeout: 244 seconds
[2011/11/15 08:46:59] @ Quit: alanevans: Remote host closed the connection
[2011/11/15 08:47:55] @ Quit: adimania: Ping timeout: 256 seconds
[2011/11/15 08:48:50] @ anveo joined channel #puppet
[2011/11/15 08:49:02] @ MartVisser joined channel #puppet
[2011/11/15 08:49:54] @ cjz joined channel #puppet
[2011/11/15 08:52:02] @ ken_barber joined channel #puppet
[2011/11/15 08:52:22] <anveo> I'm trying to setup an haproxy server via puppet. In the haproxy config file there are a number of sections that look like this: https://gist.github.com/500a0db689534d66dbb1
[2011/11/15 08:52:33] @ Quit: MartVisser: Client Quit
[2011/11/15 08:52:33] @ Quit: Razique: Quit: Razique
[2011/11/15 08:52:41] @ ewoud left channel #puppet ()
[2011/11/15 08:53:01] <anveo> I need to dynamically insert those hosts from data in exported resources. How can I dynamically add those host lines?
[2011/11/15 08:53:26] @ gniks joined channel #puppet
[2011/11/15 08:53:38] <_rc> export file fragments, notify an exec that stitches them together again
[2011/11/15 08:54:58] <anveo> That's pretty ghetto compared to what I was doing in chef. Is there a way to get a hash or array or something of the resources and iterate over those in an erb template?
[2011/11/15 08:55:32] <_rc> you might try these custom functions http://svnweb.mageia.org/adm/puppet/modules/stored_config/lib/puppet/parser/functions/
[2011/11/15 08:55:53] @ Quit: rocket: Ping timeout: 245 seconds
[2011/11/15 08:56:35] @ trickyf left channel #puppet ()
[2011/11/15 08:57:17] @ Wolfspyre1 joined channel #puppet
[2011/11/15 08:58:34] <anveo> thanks, I'll take a look at that. Do you have an example of stitching resources like that? I think I've seen something like that, but I don't get how I would enforce the correct hosts to be under the correct backend
[2011/11/15 08:58:37] @ Quit: Wolfspyre: Ping timeout: 240 seconds
[2011/11/15 08:59:12] @ Reepicheep joined channel #puppet
[2011/11/15 08:59:31] <anveo> (and there needs to be multiple backend sections)
[2011/11/15 09:00:08] @ gischy joined channel #puppet
[2011/11/15 09:01:34] @ Kazuhiro joined channel #puppet
[2011/11/15 09:01:36] @ mrwacky42 joined channel #puppet
[2011/11/15 09:02:25] @ Quit: Wolfspyre1: Quit: Leaving.
[2011/11/15 09:02:29] <_rc> well that'd be in the resource you export, no? define haproxy::member ($host = $fqdn, $port, $group) {} haproxy::member { "${fqdn}_in_pool1": group => "pool1" }
[2011/11/15 09:03:02] <_rc> then you cann get_param_values and do some datastructure work in your ruby template
[2011/11/15 09:03:08] @ Wolfspyre joined channel #puppet
[2011/11/15 09:04:24] <anveo> thanks, I think that puts me on the right path
[2011/11/15 09:05:46] @ Quit: pmorillon: Quit: pmorillon
[2011/11/15 09:05:58] @ Quit: RhysMorgan: Quit: RhysMorgan
[2011/11/15 09:06:19] @ langworthy joined channel #puppet
[2011/11/15 09:07:47] @ soh_ joined channel #puppet
[2011/11/15 09:09:37] @ Quit: ukd1: Quit: Lost terminal
[2011/11/15 09:10:34] @ Chillax joined channel #puppet
[2011/11/15 09:11:46] @ Quit: mcarpent: Ping timeout: 260 seconds
[2011/11/15 09:11:46] @ Quit: the_ramink: Read error: Connection reset by peer
[2011/11/15 09:11:48] @ the_ramink_ joined channel #puppet
[2011/11/15 09:12:57] @ lak joined channel #puppet
[2011/11/15 09:12:58] @ Quit: lak: Changing host
[2011/11/15 09:12:58] @ lak joined channel #puppet
[2011/11/15 09:16:06] @ Quit: rcrowley: Quit: Computer has gone to sleep.
[2011/11/15 09:16:40] @ ianbrandt joined channel #puppet
[2011/11/15 09:17:53] @ car|0s joined channel #puppet
[2011/11/15 09:19:05] @ MartVisser joined channel #puppet
[2011/11/15 09:19:42] @ Quit: danikov: Quit: danikov
[2011/11/15 09:21:54] @ larstobi joined channel #puppet
[2011/11/15 09:22:24] @ adimania joined channel #puppet
[2011/11/15 09:22:33] @ Quit: Kazuhiro: Quit: Leaving.
[2011/11/15 09:23:22] @ Quit: derjohn_mob: Ping timeout: 245 seconds
[2011/11/15 09:24:21] @ alanevans joined channel #puppet
[2011/11/15 09:25:36] @ marczak joined channel #puppet
[2011/11/15 09:25:59] @ ezryx joined channel #puppet
[2011/11/15 09:26:09] @ rocket joined channel #puppet
[2011/11/15 09:27:01] @ SQLDarkly joined channel #puppet
[2011/11/15 09:27:51] <SQLDarkly> Is there a prefered upgrade path from 2.6.7? Or am I able to install the latest tarball?
[2011/11/15 09:28:21] @ motomike joined channel #puppet
[2011/11/15 09:30:41] @ sduchesneau joined channel #puppet
[2011/11/15 09:30:44] @ Quit: holojorge: Ping timeout: 265 seconds
[2011/11/15 09:31:04] @ sduchesneau_ joined channel #puppet
[2011/11/15 09:31:19] @ Quit: MartVisser: Quit: This computer has gone to sleep
[2011/11/15 09:32:14] @ Quit: langworthy: Quit: langworthy
[2011/11/15 09:33:54] @ astrostl_ joined channel #puppet
[2011/11/15 09:34:30] @ ba6 joined channel #puppet
[2011/11/15 09:36:16] @ Quit: negronjl: Ping timeout: 240 seconds
[2011/11/15 09:36:22] @ localhost joined channel #puppet
[2011/11/15 09:36:26] @ geekbri joined channel #puppet
[2011/11/15 09:36:39] @ Quit: astrostl: Ping timeout: 256 seconds
[2011/11/15 09:36:39] @ astrostl_ is now known as astrostl
[2011/11/15 09:37:01] @ Quit: car|0s: Remote host closed the connection
[2011/11/15 09:37:52] @ Quit: gischy: Ping timeout: 240 seconds
[2011/11/15 09:42:30] <jamesturnbull> SQLDarkly: platform?
[2011/11/15 09:44:14] @ alfism joined channel #puppet
[2011/11/15 09:44:56] <SQLDarkly> RHEL and AIX. Ive built packages from source.
[2011/11/15 09:45:07] <SQLDarkly> I have a 2.6.7 master with matching clients.
[2011/11/15 09:45:09] @ Chris64 joined channel #puppet
[2011/11/15 09:45:46] @ ryan1 joined channel #puppet
[2011/11/15 09:45:54] @ Stenbryggen joined channel #puppet
[2011/11/15 09:46:10] @ Quit: kolla: Remote host closed the connection
[2011/11/15 09:46:42] @ Quit: astrostl:
[2011/11/15 09:46:52] @ Quit: Chillax: Read error: Operation timed out
[2011/11/15 09:47:04] <jamesturnbull> SQLDarkly: 2.6.7 I'd upgrade to 2.7.6 - if you've rolled your own packages then use the 2.7.6 tarball
[2011/11/15 09:47:37] @ aditya_ joined channel #puppet
[2011/11/15 09:47:48] @ scsinutz joined channel #puppet
[2011/11/15 09:47:56] @ scsinutz left channel #puppet ()
[2011/11/15 09:48:04] @ Quit: aditya_: Client Quit
[2011/11/15 09:48:51] @ astrostl joined channel #puppet
[2011/11/15 09:49:14] <SQLDarkly> as I understand it from the upgrade docs I can leave /var/lib/puppet and /etc/puppet in place correct? SSL should also remain untouched?
[2011/11/15 09:49:21] @ peridot joined channel #puppet
[2011/11/15 09:49:25] @ Quit: BManojlovic: Remote host closed the connection
[2011/11/15 09:50:02] @ comptona joined channel #puppet
[2011/11/15 09:51:19] @ Quit: jodok: Quit: jodok
[2011/11/15 09:52:49] @ spencert joined channel #puppet
[2011/11/15 09:53:40] @ Quit: spencert: Remote host closed the connection
[2011/11/15 09:54:03] @ spencert joined channel #puppet
[2011/11/15 09:54:22] <ryan1> exit
[2011/11/15 09:54:47] @ ryancoleman joined channel #puppet
[2011/11/15 09:55:21] <spencert> I have a challenge I need help with.
[2011/11/15 09:55:30] @ Quit: mmcji: Quit: Leaving
[2011/11/15 09:55:40] @ shadoi joined channel #puppet
[2011/11/15 09:55:44] @ danikov joined channel #puppet
[2011/11/15 09:55:56] <spencert> I need to install a package and if that package fails to install I need to put a file down instead.
[2011/11/15 09:56:09] <spencert> is there a way to wrap this into an if statement?
[2011/11/15 09:56:53] <SQLDarkly> just check the exit code of the installation method, and act on that exit code.
[2011/11/15 09:57:07] <spencert> if I use the package type does that work?
[2011/11/15 09:57:14] @ jiboumans_ joined channel #puppet
[2011/11/15 09:57:19] <spencert> for example:
[2011/11/15 09:57:50] @ jiboumans_ left channel #puppet ()
[2011/11/15 09:58:02] @ miche joined channel #puppet
[2011/11/15 09:58:25] <spencert> if ! package { "somepackage": ensure => latest }; then file { "/somefile": source => puppet:///modules/somefile }; fi
[2011/11/15 09:58:29] @ KaiserBeto1 joined channel #puppet
[2011/11/15 09:58:41] @ KaiserBeto1 left channel #puppet ()
[2011/11/15 09:59:39] @ toi joined channel #puppet
[2011/11/15 10:00:03] <spencert> well that if syntax is bash, but you get the idea
[2011/11/15 10:00:32] <SQLDarkly> how I personally would handle that is to make a quick fact that checks for that info like rpm -qa or a file test what have you. then in the module act on the facts value
[2011/11/15 10:01:06] <spencert> that would work.
[2011/11/15 10:01:20] <SQLDarkly> i have to use custom facts pretty heavily in AIX, and the method works well for me. I do not claim its the best :)
[2011/11/15 10:01:34] @ IndyMichaelB joined channel #puppet
[2011/11/15 10:01:35] @ Quit: nanliu: Ping timeout: 256 seconds
[2011/11/15 10:01:41] @ gischy joined channel #puppet
[2011/11/15 10:01:50] <spencert> I have a lot of custom facts also, however for this I was hoping to use if then logic
[2011/11/15 10:02:13] @ mitchellh joined channel #puppet
[2011/11/15 10:02:14] <IndyMichaelB> Anyone ever see this during template variable substitution? It's appearing in the file in place of the variable … Puppet::Parser::TemplateWrapper01
[2011/11/15 10:02:20] <spencert> I wonder if its syntactically correct?
[2011/11/15 10:02:33] @ nanliu joined channel #puppet
[2011/11/15 10:02:34] <SQLDarkly> you can use straight ifs in manifests.
[2011/11/15 10:02:51] <SQLDarkly> check out the conditionals guide
[2011/11/15 10:03:07] <peridot> I'd like to run two environments, one of which has non-invasive changes, and the other of which needs manual intervention (will run in noop). I've got it all setup and working, but the management of the noop notifications is a bit challenging. It spams email (from tagmail) when there's one thing that needs changing. I come in the next day to find way too many emails which are all the same. Does anyone have suggestions on how to manage the noop environment?
[2011/11/15 10:03:11] @ Quit: gischy: Client Quit
[2011/11/15 10:03:13] @ Quit: AshishH: Remote host closed the connection
[2011/11/15 10:03:15] <SQLDarkly> http://docs.puppetlabs.com/guides/language_guide.html#conditionals
[2011/11/15 10:04:00] @ Quit: marczak: Ping timeout: 276 seconds
[2011/11/15 10:05:25] <spencert> all those examples of if statements use facts to make decisions
[2011/11/15 10:05:46] <spencert> not return codes from native types, e.g. package or file
[2011/11/15 10:06:36] @ simon-_ joined channel #puppet
[2011/11/15 10:08:13] @ Quit: Spads: Ping timeout: 240 seconds
[2011/11/15 10:09:01] @ Kazuhiro joined channel #puppet
[2011/11/15 10:09:09] @ dwalu joined channel #puppet
[2011/11/15 10:09:41] @ Quit: ken_barber: Quit: Leaving.
[2011/11/15 10:10:41] @ Quit: sihil: Ping timeout: 260 seconds
[2011/11/15 10:10:41] @ Quit: Kazuhiro: Read error: Connection reset by peer
[2011/11/15 10:11:07] <spencert> can't get the syntax to pass, moving over to custom fact :-(
[2011/11/15 10:11:09] @ Kazuhiro joined channel #puppet
[2011/11/15 10:11:13] @ Quit: simon-_: Ping timeout: 256 seconds
[2011/11/15 10:11:27] <Volcane> spencert: types dont return things - you cant do what u want
[2011/11/15 10:11:55] <spencert> yea, no problem I will do a fact then eval on that
[2011/11/15 10:12:09] <spencert> problem is still solvable, just not the way I thought at first
[2011/11/15 10:13:46] @ Quit: MattyM: Remote host closed the connection
[2011/11/15 10:17:16] @ erthad left channel #puppet ()
[2011/11/15 10:17:44] @ williemach joined channel #puppet
[2011/11/15 10:18:32] @ Quit: Boltsky: Quit: Computer has gone to sleep.
[2011/11/15 10:19:25] @ Quit: dballing: Ping timeout: 240 seconds
[2011/11/15 10:20:18] @ dballing joined channel #puppet
[2011/11/15 10:20:27] @ Quit: danikov: Ping timeout: 245 seconds
[2011/11/15 10:20:31] @ Chillax joined channel #puppet
[2011/11/15 10:21:01] @ Quit: riftman: Quit: leaving
[2011/11/15 10:21:01] @ jkoppe left channel #puppet ()
[2011/11/15 10:21:10] @ riftman joined channel #puppet
[2011/11/15 10:22:09] @ mcarpent joined channel #puppet
[2011/11/15 10:22:58] @ Quit: elmer__: Read error: Connection reset by peer
[2011/11/15 10:22:59] @ _plg joined channel #puppet
[2011/11/15 10:23:27] @ iw_work joined channel #puppet
[2011/11/15 10:23:58] <_plg> hi, does anyone can give me the default content of the pxe default file in foreman?
[2011/11/15 10:24:11] <_plg> *foreman dashboard
[2011/11/15 10:24:15] @ Quit: ciupicri: Quit: Leaving
[2011/11/15 10:25:05] @ Quit: sduchesneau_: Ping timeout: 244 seconds
[2011/11/15 10:25:10] @ Quit: nfagerlund: Remote host closed the connection
[2011/11/15 10:25:25] @ Quit: sduchesneau: Ping timeout: 240 seconds
[2011/11/15 10:25:26] @ djm68 joined channel #puppet
[2011/11/15 10:25:57] @ andersbr joined channel #puppet
[2011/11/15 10:26:20] @ Quit: mcarpent: Client Quit
[2011/11/15 10:27:35] @ sdog joined channel #puppet
[2011/11/15 10:28:13] @ samkottler joined channel #puppet
[2011/11/15 10:31:12] <gepetto> ::redmine:: Wiki edit: Release_Notes (#145) @ http://projects.puppetlabs.com/projects/puppet/wiki/Release_Notes?version=145 (by Michael Stahnke)
[2011/11/15 10:31:54] @ peridot left channel #puppet ()
[2011/11/15 10:32:36] @ Quit: alfism: Read error: Connection reset by peer
[2011/11/15 10:32:56] @ alfism joined channel #puppet
[2011/11/15 10:33:15] <illsci> Class['apt::install'] -> Class['apt::repos'] -> Class['apt::update'] with this shouldn't puppet always run the apt::update class?
[2011/11/15 10:33:24] <illsci> no matter what..?
[2011/11/15 10:33:51] @ Quit: ezryx: Remote host closed the connection
[2011/11/15 10:33:53] <illsci> the class does have refreshonly => true;
[2011/11/15 10:33:54] @ mcarpent joined channel #puppet
[2011/11/15 10:33:54] <orkaa> I think that the order should be reverse?
[2011/11/15 10:34:06] <agaffney> illsci: refreshonly means that it only gets run when notified
[2011/11/15 10:34:17] <illsci> ok cool
[2011/11/15 10:34:22] <illsci> that's why its behaving that way
[2011/11/15 10:34:35] <illsci> hmm
[2011/11/15 10:34:55] <illsci> im trying to think about how I can watch whether a new "latest" package shows up and then notify the update class
[2011/11/15 10:35:28] @ peridot_ joined channel #puppet
[2011/11/15 10:35:32] @ Quit: peridot_: Client Quit
[2011/11/15 10:35:35] @ danikov joined channel #puppet
[2011/11/15 10:36:04] @ Quit: riftman: Quit: leaving
[2011/11/15 10:38:50] @ Quit: localhost: Remote host closed the connection
[2011/11/15 10:39:22] @ BManojlovic joined channel #puppet
[2011/11/15 10:39:22] @ Quit: BManojlovic: Changing host
[2011/11/15 10:39:22] @ BManojlovic joined channel #puppet
[2011/11/15 10:41:50] @ bmahe joined channel #puppet
[2011/11/15 10:41:51] @ Quit: bmahe: Changing host
[2011/11/15 10:41:51] @ bmahe joined channel #puppet
[2011/11/15 10:42:41] @ langworthy joined channel #puppet
[2011/11/15 10:42:54] @ nfagerlund joined channel #puppet
[2011/11/15 10:42:59] @ Quit: langworthy: Client Quit
[2011/11/15 10:43:52] @ Boltsky joined channel #puppet
[2011/11/15 10:44:24] <the_ramink_> illsci: you're missing the notify, note the ~> not ->, Class['apt::install'] -> Class['apt::repos'] ~> Class['apt::update']
[2011/11/15 10:45:17] <the_ramink_> unless you're doing it within the apt::repos class
[2011/11/15 10:46:56] @ Quit: bmahe: Excess Flood
[2011/11/15 10:47:18] <illsci> i am
[2011/11/15 10:47:25] @ Quit: iw_work: Quit: Leaving
[2011/11/15 10:47:35] @ bmahe joined channel #puppet
[2011/11/15 10:47:48] <illsci> I need it to run update everytime the agent runs so other modules that require apt get updated packages and the repos themselves notify the apt::update class...
[2011/11/15 10:48:06] @ riftman joined channel #puppet
[2011/11/15 10:48:46] <jamesturnbull> SQLDarkly: yes
[2011/11/15 10:49:28] <jamesturnbull> IndyMichaelB: puppet version?
[2011/11/15 10:49:38] <the_ramink_> skip the notify and refreshonly if you want it to always run. However I'd just let the nightly cron that apt usually installs handle the updates unless you need updates to happen that quickly.
[2011/11/15 10:50:24] <jamesturnbull> IndyMichaelB: also what's your variable and template look like? I've not seen that I suspect it's a typo perhaps?
[2011/11/15 10:50:38] <orkaa> also, as seen here: http://puppetlabs.com/blog/modeling-class-composition-with-parameterized-classes/
[2011/11/15 10:50:49] <orkaa> the 'base' packet is on the left
[2011/11/15 10:50:57] <orkaa> Class['java'] -> Class['tomcat']
[2011/11/15 10:51:03] <orkaa> tomcat depends on java
[2011/11/15 10:51:39] <orkaa> so illsci has dependencies in the wrong order?
[2011/11/15 10:51:49] <orkaa> or maybe I don't understand something?
[2011/11/15 10:52:21] @ soh_ is now known as soh
[2011/11/15 10:52:26] @ Quit: soh: Quit: Textual IRC Client: http://www.textualapp.com/
[2011/11/15 10:52:29] <the_ramink_> orkaa: you're misunderstanding. install, config, update in that order, same as the example you used.
[2011/11/15 10:52:52] <orkaa> hm?
[2011/11/15 10:52:56] @ Quit: Chillax: Changing host
[2011/11/15 10:52:56] @ Chillax joined channel #puppet
[2011/11/15 10:53:04] <orkaa> but you can't install if your sources are out of date?
[2011/11/15 10:53:12] @ Quit: samkottler: Quit: Leaving.
[2011/11/15 10:53:28] @ soh joined channel #puppet
[2011/11/15 10:53:35] <the_ramink_> apt::install installs apt or makes sure it the right version most likely.
[2011/11/15 10:53:45] @ Quit: soh: Client Quit
[2011/11/15 10:55:17] @ eshamow joined channel #puppet
[2011/11/15 10:55:26] <orkaa> ah, I thought he was installing some apt package
[2011/11/15 10:57:35] @ fsargent joined channel #puppet
[2011/11/15 10:57:43] <fsargent> jamesturnbull You're set for +10 nodes
[2011/11/15 10:57:58] <jamesturnbull> fsargent: awesome! thanks
[2011/11/15 10:58:01] <fsargent> np
[2011/11/15 10:58:07] <fsargent> I'm looking over your code now
[2011/11/15 10:59:12] @ Quit: Kazuhiro: Ping timeout: 245 seconds
[2011/11/15 10:59:16] <jamesturnbull> fsargent: yeah I suspect I am doing smething dumb :)
[2011/11/15 10:59:38] @ iw_work joined channel #puppet
[2011/11/15 10:59:51] <fsargent> Nah -- I'll have a response for you in a bit, I've got to run.
[2011/11/15 10:59:57] @ fsargent left channel #puppet ("Textual IRC Client: http://www.textualapp.com/")
[2011/11/15 11:02:08] @ Quit: Chillax: Quit: No Ping reply in 180 seconds.
[2011/11/15 11:02:44] @ dhogland joined channel #puppet
[2011/11/15 11:03:02] @ Chillax joined channel #puppet
[2011/11/15 11:03:14] @ jedi4ever joined channel #puppet
[2011/11/15 11:05:54] @ Quit: lkoranda: Quit: Ex-Chat
[2011/11/15 11:06:13] @ Quit: SQLDarkly: Quit: Page closed
[2011/11/15 11:06:54] @ Kazuhiro joined channel #puppet
[2011/11/15 11:07:04] @ soh joined channel #puppet
[2011/11/15 11:07:15] <Atwa1337> I was curious if someone could point me towards some documentation on how the Puppet Master signs certs from the client nodes.
[2011/11/15 11:09:21] @ jbarnett joined channel #puppet
[2011/11/15 11:09:35] @ sduchesneau_ joined channel #puppet
[2011/11/15 11:09:46] @ sduchesneau joined channel #puppet
[2011/11/15 11:10:03] <Atwa1337> Is there a way to get the Master to auto sign via a post script in a kickstart?
[2011/11/15 11:11:17] <jbarnett> looking for a little help with a module... i want to use an array of files and substitute the filename in the "source" parameter
[2011/11/15 11:11:27] <jbarnett> what i've written so far...
[2011/11/15 11:11:30] <jbarnett> http://pastebin.com/QE68yU1K
[2011/11/15 11:12:12] <jbarnett> I thought it was $title, but that isn't it
[2011/11/15 11:12:38] @ gniks1 joined channel #puppet
[2011/11/15 11:13:19] @ bencc joined channel #puppet
[2011/11/15 11:13:23] @ Quit: orkaa: Quit: orkaa
[2011/11/15 11:13:38] <jbarnett> anybody alive?
[2011/11/15 11:14:09] @ Quit: Chillax: Quit: No Ping reply in 180 seconds.
[2011/11/15 11:14:34] @ Quit: gniks: Ping timeout: 244 seconds
[2011/11/15 11:14:35] @ Quit: bencc: Client Quit
[2011/11/15 11:14:38] <sarkis> hey guys so i am thinking bout using ec2 to spin up / down a puppetmaster when it is needed.. what are the tools i'd need for this? also, it's actually probably best to have 1 main puppetmaster that i never spin down huh?
[2011/11/15 11:15:24] <Dominic> jbarnett: you should use a define for this. Instead of having an array of file resources, have an array of defines. Inside the define, you'll then have a $name variable you can use in the source parameter.
[2011/11/15 11:15:51] <jbarnett> Thanks mate. That makes sense.
[2011/11/15 11:16:04] <jbarnett> I don't know why I didn't think of that =P
[2011/11/15 11:16:10] <jbarnett> I appreciate the input
[2011/11/15 11:17:02] <Dominic> np
[2011/11/15 11:17:47] @ Quit: pugnacity1: Ping timeout: 244 seconds
[2011/11/15 11:18:31] @ Chillax joined channel #puppet
[2011/11/15 11:19:07] @ Quit: cliff-hm: Read error: Operation timed out
[2011/11/15 11:19:15] @ localhost joined channel #puppet
[2011/11/15 11:19:21] <jbarnett> this is a stupid question... but waht server is thiat? haha
[2011/11/15 11:19:35] <jbarnett> i want to configure this via LimeChat
[2011/11/15 11:19:46] @ doprdele joined channel #puppet
[2011/11/15 11:20:33] <jbarnett> ignore that completely stupid question
[2011/11/15 11:20:34] <jbarnett> thanks
[2011/11/15 11:21:02] @ peridot joined channel #puppet
[2011/11/15 11:21:44] <dwalu> What's involved with changing the hostname of your puppetmaster?
[2011/11/15 11:22:38] @ pugnacity joined channel #puppet
[2011/11/15 11:23:13] @ Quit: jonhattan: Quit: llevaré una chaquete de guns'n'roses
[2011/11/15 11:23:45] @ jbar joined channel #puppet
[2011/11/15 11:23:46] <peridot> dwalu: changing it on the clients' configs, changing it on the master's configs, possibly changing source entries, making sure it's in clients' dns...all of this I would do on a test VM server first
[2011/11/15 11:24:11] <the_ramink_> dwalu: not much if you had alt names in the puppetmaster cert. :)
[2011/11/15 11:24:26] <peridot> Oh yeah, and the certs :P
[2011/11/15 11:24:34] <dwalu> it's a new infrastructure, I'm happy to delete the certs and start fresh
[2011/11/15 11:24:37] <dwalu> just trying to figure out how :)
[2011/11/15 11:25:37] @ jsurfer joined channel #puppet
[2011/11/15 11:25:51] <the_ramink_> dwalu: Do you have a new Puppetmaster already?
[2011/11/15 11:26:09] @ Quit: jbar: Client Quit
[2011/11/15 11:26:32] @ jbar joined channel #puppet
[2011/11/15 11:26:33] @ jherm joined channel #puppet
[2011/11/15 11:26:53] @ Quit: jbar: Client Quit
[2011/11/15 11:26:59] <jherm> Has anyone ever seen this before or can tell me how to fix it? 'err: Could not run Puppet configuration client: Parameter require failed: No title provided and "undef" is not a valid resource reference'
[2011/11/15 11:27:13] @ Quit: johnston: Ping timeout: 265 seconds
[2011/11/15 11:27:23] @ jbarnett1 joined channel #puppet
[2011/11/15 11:27:49] @ lkoranda joined channel #puppet
[2011/11/15 11:27:54] <jbarnett> exit
[2011/11/15 11:27:56] <jbarnett> exit;
[2011/11/15 11:27:59] <jbarnett> quit
[2011/11/15 11:28:06] <torrancew> jbarnett: try /quit
[2011/11/15 11:28:07] @ jbarnett left channel #puppet ()
[2011/11/15 11:28:20] @ Quit: jbarnett1: Remote host closed the connection
[2011/11/15 11:28:39] @ jbarnett joined channel #puppet
[2011/11/15 11:29:47] @ Quit: jbarnett: Client Quit
[2011/11/15 11:30:07] @ jbarnett joined channel #puppet
[2011/11/15 11:30:14] <dwalu> I think I got it
[2011/11/15 11:30:40] @ Quit: miche: Quit: Computer has gone to sleep.
[2011/11/15 11:30:44] @ Quit: jbarnett: Client Quit
[2011/11/15 11:31:02] @ jodok joined channel #puppet
[2011/11/15 11:31:02] @ Quit: jodok: Changing host
[2011/11/15 11:31:02] @ jodok joined channel #puppet
[2011/11/15 11:31:03] @ jbarnett joined channel #puppet
[2011/11/15 11:31:34] @ Quit: Chris64: Quit: .
[2011/11/15 11:36:06] @ cliff-hm joined channel #puppet
[2011/11/15 11:36:45] @ bencc joined channel #puppet
[2011/11/15 11:38:16] @ Quit: adimania: Ping timeout: 240 seconds
[2011/11/15 11:38:20] @ tangledhelix joined channel #puppet
[2011/11/15 11:38:49] @ Quit: kermit: Remote host closed the connection
[2011/11/15 11:39:12] @ kermit joined channel #puppet
[2011/11/15 11:39:58] @ skm joined channel #puppet
[2011/11/15 11:41:25] @ antarus joined channel #puppet
[2011/11/15 11:41:38] <antarus> is there a shiny document someone has written on why templates are the worst thing ever?
[2011/11/15 11:42:14] <peridot> why are they the worst thing ever?
[2011/11/15 11:42:31] <BrickBag> templates + concat = win
[2011/11/15 11:42:39] <BrickBag> and augeas as well....
[2011/11/15 11:42:48] <antarus> the website lists a command to syntax check the templates
[2011/11/15 11:42:56] <antarus> and it doesn't even catch trivial syntax errors
[2011/11/15 11:42:57] <antarus> for one ;p
[2011/11/15 11:43:12] @ Quit: Chillax: Quit: No Ping reply in 180 seconds.
[2011/11/15 11:44:08] <BrickBag> ghehe, just test the ERBs using irb
[2011/11/15 11:44:42] <Atwa1337> Has anyone had experience with running puppet via kickstart and signing the cert on the master? I am not so comfortable with using autosign.
[2011/11/15 11:45:13] @ Quit: themadcanudist: Quit: Leaving.
[2011/11/15 11:45:45] @ Quit: skm: Quit: Computer has gone to sleep.
[2011/11/15 11:45:51] @ Quit: doprdele: Ping timeout: 256 seconds
[2011/11/15 11:46:18] @ hooper joined channel #puppet
[2011/11/15 11:47:10] @ ryankee joined channel #puppet
[2011/11/15 11:47:25] <Diranged> is there really no 'aptrepo' resource type?
[2011/11/15 11:47:46] <Atwa1337> We have a couple of Digicerts that we use, is it possible to tell puppet to use those certs? That would make every node use the same cert, is that possible?
[2011/11/15 11:47:48] <jbarnett> I can't recall who helped me, but I had a best practice question... Should I hardcode the required resource into the define (define: http://pastebin.com/cU7FX9gG)
[2011/11/15 11:47:59] @ Quit: ryankee: Client Quit
[2011/11/15 11:48:01] <mrwacky42> Anybody in here use yasnippet with puppet ?
[2011/11/15 11:48:25] <eric0> Atwa1337: yes its possible, you have to tell both client and server to use something other than the certificate subject as node identifier
[2011/11/15 11:48:59] @ Chillax joined channel #puppet
[2011/11/15 11:49:05] <eric0> Atwa1337: see https://gist.github.com/1182243
[2011/11/15 11:49:59] <eric0> jbarnett: no, because after the first one, subsequent invocations of the define will result in duplicate resource definition error
[2011/11/15 11:50:28] <Dominic> jbarnett: what eric0 said... move the directory out into a class, then include it from the define to make sure it's always there
[2011/11/15 11:50:32] <eric0> jbarnett: you can offset the directory in 'if ! defined(File["/etc/pki/rpm-gpg"] { .. resource here .. }
[2011/11/15 11:50:35] @ brandon_dacrib left channel #puppet ()
[2011/11/15 11:50:46] <eric0> jbarnett: you can offset the directory in 'if ! defined(File["/etc/pki/rpm-gpg"]) { .. resource here .. } (typo)
[2011/11/15 11:51:26] @ Quit: sdog: Changing host
[2011/11/15 11:51:26] @ sdog joined channel #puppet
[2011/11/15 11:51:35] @ Quit: newtMcKerr: Quit: Leaving.
[2011/11/15 11:52:21] <Atwa1337> eric0: Thanks. That helps a lot.
[2011/11/15 11:52:48] @ Davea1 joined channel #puppet
[2011/11/15 11:52:49] @ bsg_kwolf left channel #puppet ("Leaving.")
[2011/11/15 11:53:38] @ doprdele joined channel #puppet
[2011/11/15 11:53:54] @ Quit: hooper: Ping timeout: 252 seconds
[2011/11/15 11:55:16] @ Quit: mitchellh: Quit: Computer has gone to sleep
[2011/11/15 11:56:03] <jbarnett> perfecto. you guys are awesome :)
[2011/11/15 11:56:15] <jbarnett> i kind of figured that before your response, but it's great to have confirmation!
[2011/11/15 11:57:07] <Atwa1337> :q
[2011/11/15 11:57:22] @ benjiedmund joined channel #puppet
[2011/11/15 11:57:40] @ Quit: tangledhelix: Quit: Textual IRC Client: http://www.textualapp.com/
[2011/11/15 11:59:31] @ Quit: IndyMichaelB: Ping timeout: 244 seconds
[2011/11/15 12:00:24] @ Quit: mcarpent: Ping timeout: 258 seconds
[2011/11/15 12:01:24] @ IndyMichaelB joined channel #puppet
[2011/11/15 12:01:30] @ Quit: _plg: Quit: _plg
[2011/11/15 12:02:35] @ Quit: Holocaine:
[2011/11/15 12:03:32] @ beast joined channel #puppet
[2011/11/15 12:03:40] @ Quit: benjiedmund: Remote host closed the connection
[2011/11/15 12:04:07] @ benjiedmund joined channel #puppet
[2011/11/15 12:04:17] @ Quit: lak: Quit: Leaving.
[2011/11/15 12:06:17] @ Quit: benjiedmund: Read error: Connection reset by peer
[2011/11/15 12:08:11] <jbarnett> just so you guys can see...
[2011/11/15 12:08:16] @ Quit: doprdele: Ping timeout: 248 seconds
[2011/11/15 12:08:22] <jbarnett> define: http://pastebin.com/w29NZQ0r
[2011/11/15 12:08:28] <jbarnett> use: http://pastebin.com/G1Tr2ixq
[2011/11/15 12:09:29] @ negronjl_mobile joined channel #puppet
[2011/11/15 12:09:47] <jbarnett> thanks again everyone
[2011/11/15 12:11:08] @ fredden joined channel #puppet
[2011/11/15 12:12:26] <Atwa1337> eric0: Is there a CLI tool that I can use in the post run portion of a kickstart that would point the puppet SSL dir into our /etc/pki where our certs live? If not I am sure I can just sed/awk the puppet.conf
[2011/11/15 12:13:47] <dwalu> I guess I don't have this
[2011/11/15 12:14:20] @ Quit: andersbr: Quit: andersbr
[2011/11/15 12:14:53] <dwalu> I've deleted everything under /var/lib/puppet, generated a new cert for my server, changed puppet.conf to point at the new cname, but still when I run puppet agent it complains with Server hostname 'pm.mydomain.com' did not match server certificate; expected oldhostname.mydomain.com'
[2011/11/15 12:14:56] <dwalu> any suggestions?
[2011/11/15 12:15:17] <eric0> Atwa1337: unless the structure matches exactly what puppet expects you should probably make hardlinks in your kickstart %post to the real files
[2011/11/15 12:15:36] @ skm joined channel #puppet
[2011/11/15 12:15:38] <eric0> i.e. ssl/private_keys/<fqdn>.pem , ssl/certs/<fqdn>.pem
[2011/11/15 12:17:06] <Atwa1337> dwalu: did you clean them on your master?
[2011/11/15 12:17:19] @ doprdele joined channel #puppet
[2011/11/15 12:17:58] <Atwa1337> eric0: That makes sense, I may just generate new certs, ours are in the .key .crt format inside the /etc/pki structure.
[2011/11/15 12:19:32] <dwalu> atwa1337: Yeah, right now the only server I'm working on is my master, and it can't apply itself.
[2011/11/15 12:19:50] <dwalu> I wish I could just disable puppet's ca altogether, it causes way too many frustrations
[2011/11/15 12:20:06] @ Quit: Chillax: Quit: No Ping reply in 180 seconds.
[2011/11/15 12:20:32] @ Chillax joined channel #puppet
[2011/11/15 12:20:57] @ orkaa joined channel #puppet
[2011/11/15 12:21:48] @ Quit: cliff-hm: Ping timeout: 276 seconds
[2011/11/15 12:23:05] @ Quit: beast: Quit: Leaving.
[2011/11/15 12:23:06] @ samkottler joined channel #puppet
[2011/11/15 12:23:35] <dwalu> setting certname= in the [master] section fixed it
[2011/11/15 12:24:37] <dwalu> does puppet set fqdn based on reverse dns or something?
[2011/11/15 12:27:42] <Volcane> its mostly `hostname`.`dnsdomainname`
[2011/11/15 12:27:48] <Volcane> else it starts looking in resolve.conf for the domain etc
[2011/11/15 12:27:55] <Volcane> resolv.conf
[2011/11/15 12:28:51] @ tilgovi joined channel #puppet
[2011/11/15 12:29:57] <jbarnett> Is there a way to create a class/file resource that pushes all files under a specific dir in the module's file folder?
[2011/11/15 12:30:06] <jbarnett> so...
[2011/11/15 12:30:25] <jbarnett> i.e. /companyname/files/*
[2011/11/15 12:30:33] <jbarnett> grr...
[2011/11/15 12:31:46] <peridot> recurse => true
[2011/11/15 12:34:08] <jbarnett> Would something like this work? http://pastebin.com/YuN8HtnT
[2011/11/15 12:34:09] @ cliff-hm joined channel #puppet
[2011/11/15 12:34:12] <jbarnett> just to give an example...
[2011/11/15 12:34:35] @ newtMcKerr joined channel #puppet
[2011/11/15 12:34:59] <jbarnett> http://pastebin.com/X5KNzvxc
[2011/11/15 12:35:00] <walkeran> jbarnett: Leave off the *
[2011/11/15 12:35:00] <jbarnett> or that
[2011/11/15 12:35:02] <jbarnett> err
[2011/11/15 12:35:04] <jbarnett> ok
[2011/11/15 12:35:37] <jbarnett> walkeran: source => 'puppet:///modules/postfix/'
[2011/11/15 12:35:44] <jbarnett> walkeran : just like that?
[2011/11/15 12:35:56] <walkeran> jbarnett: Yeah, assuming that path is correct
[2011/11/15 12:35:57] <jbarnett> walkeran: or would i drop the * at both places
[2011/11/15 12:36:08] <walkeran> jbarnett: Oh, yeah both places
[2011/11/15 12:36:12] <walkeran> I didn't see you had it in the name, too
[2011/11/15 12:36:48] <jbarnett> walkeran: so just like this http://pastebin.com/KXeXDw07
[2011/11/15 12:37:32] @ Quit: IndyMichaelB: Quit: IndyMichaelB
[2011/11/15 12:37:36] <walkeran> jbarnett: Assuming you want to fill your agent's /usr/sbin/ with files from modules/postfix/files/, yes that would work
[2011/11/15 12:37:43] <jbarnett> exactly
[2011/11/15 12:37:45] <jbarnett> thanks
[2011/11/15 12:37:49] <walkeran> no problem
[2011/11/15 12:38:08] @ Quit: brtl: Quit: Leaving.
[2011/11/15 12:38:29] @ Quit: jamison: Quit: ZNC - http://znc.sourceforge.net
[2011/11/15 12:39:01] <jbarnett> walkeran: "purge => true" option would make it so that anything that isn't in the source dir would be deleted on the client, correct?
[2011/11/15 12:39:09] @ jamesfryman joined channel #puppet
[2011/11/15 12:39:16] @ themadcanudist joined channel #puppet
[2011/11/15 12:39:32] <walkeran> jbarnett: yes
[2011/11/15 12:39:43] <jbarnett> walkeran: you da man! thanks
[2011/11/15 12:39:48] <walkeran> no prob :)
[2011/11/15 12:39:58] @ IndyMichaelB joined channel #puppet
[2011/11/15 12:43:39] @ Quit: Kazuhiro: Quit: Leaving.
[2011/11/15 12:43:49] @ Quit: motomike: Remote host closed the connection
[2011/11/15 12:44:52] @ maes_` joined channel #puppet
[2011/11/15 12:45:02] @ Quit: Chillax: Quit: No Ping reply in 180 seconds.
[2011/11/15 12:45:09] @ motomike joined channel #puppet
[2011/11/15 12:46:01] @ Quit: ckauhaus: Quit: Leaving.
[2011/11/15 12:46:18] @ Chillax joined channel #puppet
[2011/11/15 12:46:25] @ oppie joined channel #puppet
[2011/11/15 12:47:12] @ Quit: maes_: Ping timeout: 248 seconds
[2011/11/15 12:47:31] @ Quit: oppie: Client Quit
[2011/11/15 12:48:45] <peridot> jbarnett: note that mode => 755 will affect sub-files as well. I typically leave off the mode (or set it to undef if previously defined) and it will take the mode of the source files.
[2011/11/15 12:49:58] @ jongrocho joined channel #puppet
[2011/11/15 12:50:25] @ henderb joined channel #puppet
[2011/11/15 12:52:34] @ jeremy_ joined channel #puppet
[2011/11/15 12:52:35] @ Quit: jeremy_: Changing host
[2011/11/15 12:52:35] @ jeremy_ joined channel #puppet
[2011/11/15 12:52:48] @ Quit: kjalil: Read error: Operation timed out
[2011/11/15 12:52:55] @ kjalil joined channel #puppet
[2011/11/15 12:53:00] @ Quit: jeremy: Read error: Connection reset by peer
[2011/11/15 12:53:00] @ jeremy_ is now known as jeremy
[2011/11/15 12:53:50] @ rmckee joined channel #puppet
[2011/11/15 12:55:51] @ Quit: Chillax: Quit: No Ping reply in 180 seconds.
[2011/11/15 12:56:29] @ Quit: natewalck: Quit: Outta here
[2011/11/15 12:57:08] @ Chillax joined channel #puppet
[2011/11/15 12:57:41] @ Quit: skm: Quit: Computer has gone to sleep.
[2011/11/15 12:58:33] @ Quit: marksteele: Remote host closed the connection
[2011/11/15 12:58:48] @ Quit: themadcanudist: Ping timeout: 252 seconds
[2011/11/15 12:58:48] @ paxos joined channel #puppet
[2011/11/15 12:59:14] @ Quit: doprdele: Ping timeout: 252 seconds
[2011/11/15 12:59:47] @ Quit: diq: Quit: Leaving
[2011/11/15 13:01:54] @ Quit: blentz: Read error: Connection reset by peer
[2011/11/15 13:01:57] @ diq joined channel #puppet
[2011/11/15 13:03:16] @ blentz joined channel #puppet
[2011/11/15 13:04:51] @ sihil joined channel #puppet
[2011/11/15 13:04:55] @ Razique joined channel #puppet
[2011/11/15 13:05:15] @ Quit: pugnacity: Ping timeout: 244 seconds
[2011/11/15 13:05:31] @ doprdele joined channel #puppet
[2011/11/15 13:06:50] @ pugnacity joined channel #puppet
[2011/11/15 13:06:54] @ Quit: dhogland: Remote host closed the connection
[2011/11/15 13:07:59] @ mitchellh joined channel #puppet
[2011/11/15 13:08:57] @ skm joined channel #puppet
[2011/11/15 13:08:58] @ themadcanudist joined channel #puppet
[2011/11/15 13:11:55] @ choonming joined channel #puppet
[2011/11/15 13:13:00] @ Quit: pugnacity: Ping timeout: 244 seconds
[2011/11/15 13:13:45] @ jkoppe joined channel #puppet
[2011/11/15 13:16:24] @ Quit: savid: Ping timeout: 252 seconds
[2011/11/15 13:16:57] @ DSpair joined channel #puppet
[2011/11/15 13:17:04] @ Quit: sihil: Quit: Leaving...
[2011/11/15 13:19:51] <Diranged> ok i got a weird one
[2011/11/15 13:19:57] <Diranged> i cant get apache installed on debian via puppet
[2011/11/15 13:20:02] <Diranged> http://pastie.org/2869076
[2011/11/15 13:20:16] <Diranged> pretty strange error.. its like its trying to check the status of apahe before it even checks if its installed or not
[2011/11/15 13:20:44] @ Quit: Chillax: Quit: No Ping reply in 180 seconds.
[2011/11/15 13:21:02] @ Chillax joined channel #puppet
[2011/11/15 13:21:08] @ Quit: skm: Quit: Computer has gone to sleep.
[2011/11/15 13:22:33] <walkeran> Diranged: Do those errors come before it installing the package?
[2011/11/15 13:22:59] @ Spads joined channel #puppet
[2011/11/15 13:23:06] <Diranged> yeah it never even tries to run
[2011/11/15 13:23:25] <Diranged> ok thats not quite true..
[2011/11/15 13:23:29] @ pugnacity joined channel #puppet
[2011/11/15 13:23:31] <Diranged> but it happens before almost everything
[2011/11/15 13:25:14] <walkeran> Hrmm. the requires /look/ like they should be ok.
[2011/11/15 13:25:57] <walkeran> Everything seems to be set up a little odd to me, though. Normally, the way you have it partially set up, you'd see require => Class[apache::packages] in the service, instead of hitting the packages specifically, and then abstract that stuff out of your apache class and into an apache::packages class
[2011/11/15 13:26:17] <walkeran> Although, it looks like you were planning on doing that with apache::install, but I don't see that anywhere
[2011/11/15 13:26:17] <the_ramink_> Diranged: which version of Puppet? If you've upgraded to 2.6 recently, trying setting hasstatus => false,
[2011/11/15 13:26:38] <Diranged> hmm it is 2.6.2..
[2011/11/15 13:27:03] @ verwilst joined channel #puppet
[2011/11/15 13:28:25] <walkeran> I don't know. Sounds like it's a ordering/relationship issue to me. Especially if it's not installing apache before it tries to start it
[2011/11/15 13:31:56] @ Quit: alfism: Quit: alfism
[2011/11/15 13:32:00] @ fcami joined channel #puppet
[2011/11/15 13:33:57] @ savid joined channel #puppet
[2011/11/15 13:35:00] @ mcarpent joined channel #puppet
[2011/11/15 13:37:13] @ Quit: spencert: Remote host closed the connection
[2011/11/15 13:37:35] @ spencert joined channel #puppet
[2011/11/15 13:37:59] @ Holocaine joined channel #puppet
[2011/11/15 13:38:50] @ Quit: choonming: Read error: Connection timed out
[2011/11/15 13:40:01] @ Quit: sdog: Quit: Leaving.
[2011/11/15 13:44:17] @ Kazuhiro joined channel #puppet
[2011/11/15 13:47:15] @ Quit: negronjl_mobile: Remote host closed the connection
[2011/11/15 13:47:28] @ negronjl_mobile joined channel #puppet
[2011/11/15 13:48:09] @ Kazuhiro1 joined channel #puppet
[2011/11/15 13:49:05] @ Quit: Kazuhiro: Ping timeout: 260 seconds
[2011/11/15 13:50:48] @ Quit: orkaa: Quit: orkaa
[2011/11/15 13:54:45] @ Raboo_ joined channel #puppet
[2011/11/15 13:56:00] @ Quit: n0ts: Ping timeout: 248 seconds
[2011/11/15 13:56:02] @ Kazuhiro1 left channel #puppet ()
[2011/11/15 13:56:45] @ Quit: Raboo: Ping timeout: 256 seconds
[2011/11/15 13:57:14] @ benjiedmund joined channel #puppet
[2011/11/15 13:57:30] @ ghanima joined channel #puppet
[2011/11/15 13:58:11] @ Quit: IndyMichaelB: Ping timeout: 260 seconds
[2011/11/15 13:58:17] @ Quit: selenamarie: Quit: leaving
[2011/11/15 13:58:39] @ Quit: doprdele: Ping timeout: 252 seconds
[2011/11/15 13:59:19] <jbarnett> peridot: Thanks for that little helpful comment
[2011/11/15 14:00:30] @ n0ts joined channel #puppet
[2011/11/15 14:00:54] @ ^conner joined channel #puppet
[2011/11/15 14:01:42] <^conner> I apparently generated my master's CAs before I'd setup the DNS CNAME of puppet
[2011/11/15 14:02:04] <^conner> now I want to move the puppet master over to a new vm... how do I fix up the CAs?
[2011/11/15 14:02:11] @ Quit: jkoppe: Quit: Leaving.
[2011/11/15 14:02:32] @ jwhitlock is now known as jwhitlock_zzz
[2011/11/15 14:03:24] @ TheDarren joined channel #puppet
[2011/11/15 14:03:25] <^conner> basically, how do I rename my puppet master without having to delete all of the certs on each client and readding by hand?
[2011/11/15 14:06:26] @ Quit: rsnhyperion: Quit: rsnhyperion
[2011/11/15 14:06:54] @ jwhitlock_zzz is now known as jwhitlock
[2011/11/15 14:08:09] @ orkaa joined channel #puppet
[2011/11/15 14:09:20] @ Quit: orkaa: Client Quit
[2011/11/15 14:09:49] @ orkaa joined channel #puppet
[2011/11/15 14:10:21] @ Quit: Whoop: Ping timeout: 276 seconds
[2011/11/15 14:12:08] <TheDarren> I just wrote a custom facter plugin (named "sufact") and deployed it. I now get lots of these messages: "warning: Loaded puppet/type/sufact but no class was created". Anyone know what the cause of that warning is?
[2011/11/15 14:12:48] @ dreamhost is now known as hostdream
[2011/11/15 14:13:42] @ kangman joined channel #puppet
[2011/11/15 14:13:53] @ bluetex joined channel #puppet
[2011/11/15 14:15:10] <torrancew> TheDarren: can you paste the plugin?
[2011/11/15 14:16:14] <TheDarren> http://pastie.org/2869325 -- I just followed the directions here: http://projects.puppetlabs.com/projects/1/wiki/Adding_Facts
[2011/11/15 14:16:26] @ Quit: riftman: Quit: leaving
[2011/11/15 14:16:39] @ riftman joined channel #puppet
[2011/11/15 14:17:42] @ Quit: toi: Ping timeout: 256 seconds
[2011/11/15 14:17:44] @ flex___ joined channel #puppet
[2011/11/15 14:17:46] @ Quit: benjiedmund: Remote host closed the connection
[2011/11/15 14:18:35] @ benjiedmund joined channel #puppet
[2011/11/15 14:18:41] <TheDarren> running facter with that plugin works just fine. It is just puppet that complains.
[2011/11/15 14:20:30] <TheDarren> I have an associated definition by the same name - could that be causing the class warning?
[2011/11/15 14:20:33] @ Quit: sascha_: Quit: sascha_
[2011/11/15 14:21:03] @ nul0op joined channel #puppet
[2011/11/15 14:21:11] @ xeor joined channel #puppet
[2011/11/15 14:21:34] <torrancew> TheDarren: likely
[2011/11/15 14:21:38] @ dgillies joined channel #puppet
[2011/11/15 14:21:48] <^conner> is there no way of changing the puppetmaster name without redoing all the certs on the clients manually?
[2011/11/15 14:23:09] @ sascha_ joined channel #puppet
[2011/11/15 14:23:12] @ Quit: benjiedmund: Ping timeout: 248 seconds
[2011/11/15 14:23:22] @ Quit: Raboo_: Ping timeout: 245 seconds
[2011/11/15 14:23:43] @ Quit: matti: Read error: Connection reset by peer
[2011/11/15 14:23:50] @ Quit: verwilst: Quit: Ex-Chat
[2011/11/15 14:24:07] <TheDarren> Yeah, that was it. Wish that error was a little clearer... ;-) THanks.
[2011/11/15 14:24:49] @ Quit: mcarpent: Quit: Thanks for the fish.
[2011/11/15 14:25:07] @ Raboo joined channel #puppet
[2011/11/15 14:25:31] <agaffney> TheDarren: puppet's errors leave a bit to be desired
[2011/11/15 14:25:33] @ Quit: bluetex: Quit: Page closed
[2011/11/15 14:25:55] @ IndyMichaelB joined channel #puppet
[2011/11/15 14:26:10] @ benjiedmund joined channel #puppet
[2011/11/15 14:27:38] @ furbage joined channel #puppet
[2011/11/15 14:28:11] @ Quit: TheDarren: Quit: Page closed
[2011/11/15 14:28:12] @ doprdele joined channel #puppet
[2011/11/15 14:31:42] @ Quit: cliff-hm: Ping timeout: 245 seconds
[2011/11/15 14:33:28] @ BRMatt joined channel #puppet
[2011/11/15 14:34:47] @ sduchesneau__ joined channel #puppet
[2011/11/15 14:35:20] @ Quit: benjiedmund: Remote host closed the connection
[2011/11/15 14:35:50] @ benjiedmund joined channel #puppet
[2011/11/15 14:36:48] <peridot> I'm trying to write a custom report. Can anyone tell me how to find the current environment? Using Puppet[:environment] always gives me production.
[2011/11/15 14:37:00] @ Quit: matchaw: Remote host closed the connection
[2011/11/15 14:37:17] @ Quit: Davea1: Quit: Leaving
[2011/11/15 14:37:21] <cjz> do any of you use fog for managing dns with puppet?
[2011/11/15 14:37:32] @ Quit: blentz: Ping timeout: 256 seconds
[2011/11/15 14:37:43] <cjz> any updates on 2.7.x?
[2011/11/15 14:40:58] <kjetilho> cjz: do you have a link to that fog thing?
[2011/11/15 14:41:04] @ Quit: benjiedmund: Ping timeout: 240 seconds
[2011/11/15 14:41:54] <cjz> https://github.com/masterzen/puppet-dns
[2011/11/15 14:42:20] <cjz> the issue is that fog seems to only support external dns providers
[2011/11/15 14:42:29] <cjz> im wondering how to use if we host our own dns
[2011/11/15 14:43:49] @ Quit: labrown: Quit: Leaving
[2011/11/15 14:44:04] @ Quit: sduchesneau_: Remote host closed the connection
[2011/11/15 14:44:04] @ Quit: sduchesneau: Remote host closed the connection
[2011/11/15 14:44:04] @ Quit: sduchesneau__: Remote host closed the connection
[2011/11/15 14:44:13] <kjetilho> cjz: uh! it doesn't support nsupdate?
[2011/11/15 14:44:27] <kjetilho> looks like a lot of complexity I don't need :)
[2011/11/15 14:45:04] @ Quit: doprdele: Ping timeout: 248 seconds
[2011/11/15 14:45:40] @ Whoop joined channel #puppet
[2011/11/15 14:45:41] @ Quit: Whoop: Changing host
[2011/11/15 14:45:41] @ Whoop joined channel #puppet
[2011/11/15 14:45:56] @ ronan_ joined channel #puppet
[2011/11/15 14:46:16] @ emergion joined channel #puppet
[2011/11/15 14:46:51] @ Quit: lborda: Quit: Ex-Chat
[2011/11/15 14:48:35] @ Quit: ronan_1: Ping timeout: 244 seconds
[2011/11/15 14:49:02] <peridot> I'm trying to write a custom report. Can anyone tell me how to find the current environment? Using Puppet[:environment] always gives me production.
[2011/11/15 14:49:46] @ joshcooper joined channel #puppet
[2011/11/15 14:49:50] <jbarnett> peridot: can't you just look at the configs? or what do you mean?
[2011/11/15 14:50:45] <peridot> I'm making a slightly different version of tagmail. I need to include the environment on the emails (and other stuff).
[2011/11/15 14:50:56] <jbarnett> oh, gotcha.
[2011/11/15 14:51:15] @ jkoppe1 joined channel #puppet
[2011/11/15 14:51:21] <jbarnett> peridot: I would just write a bash script that greps /etc/puppet/puppet.conf
[2011/11/15 14:51:38] <jbarnett> peridot: I don't know exactly what you're trying to do, so it's hard to make a suggestion
[2011/11/15 14:52:33] <peridot> Assume I'm editing puppet/reports/tagmail.rb and I want to refer to the current environment. How do I refer to that environment?
[2011/11/15 14:52:39] <peridot> Put it in a variable or something.
[2011/11/15 14:52:57] <peridot> Puppet[:environment] always gives me production, whether I'm running dev environment or not.
[2011/11/15 14:52:57] <kjetilho> peridot: that was the hack I was about to suggest :)
[2011/11/15 14:53:14] <kjetilho> $myenv = $::environment in site.pp
[2011/11/15 14:54:34] @ Quit: samkottler: Quit: Leaving.
[2011/11/15 14:54:56] @ mccun934 is now known as pie_chart
[2011/11/15 14:55:08] @ pie_chart is now known as mccun934
[2011/11/15 14:55:14] @ Quit: Razique: Quit: Razique
[2011/11/15 14:55:45] <peridot> kjetilho,jbarnett: How would grepping the conf files for environment give me the *current* environment?
[2011/11/15 14:56:56] @ Quit: dgillies: Remote host closed the connection
[2011/11/15 14:57:40] <kjetilho> I didn't suggest that!
[2011/11/15 14:58:30] <peridot> I'm great at bash, I'm just struggling with Ruby, or I might've dug it up already. :P
[2011/11/15 14:58:45] <jbarnett> peridot: my bad! ha
[2011/11/15 14:58:49] @ Quit: mitchellh: Quit: Computer has gone to sleep
[2011/11/15 14:58:53] <jbarnett> peridot: i'll tell you uno momento
[2011/11/15 14:58:59] <peridot> gracias
[2011/11/15 14:59:19] @ Quit: benkevan: Ping timeout: 244 seconds
[2011/11/15 15:00:54] @ matchaw joined channel #puppet
[2011/11/15 15:01:15] @ antarus left channel #puppet ()
[2011/11/15 15:03:01] <kjetilho> peridot: I'm sorry, I forgot what was included in the report
[2011/11/15 15:03:26] <kjetilho> peridot: you need to read yaml/node/nodename.yaml
[2011/11/15 15:04:22] <kjetilho> it's not completely foolproof, but the node *should* have locking which makes it unlikely that you have two runs with different environments going that close in time
[2011/11/15 15:05:42] <peridot> Thanks kjetilho. I generally have them 10 minutes apart. One environment has non-invasive changes, and the other is run in noop mode for manual intervention. Would yaml/node/nodename.yaml be written before tagmail report is run?
[2011/11/15 15:06:34] <kjetilho> yes, it is done after the manifest has been compiled
[2011/11/15 15:06:47] <kjetilho> while the report is called after it has been applied
[2011/11/15 15:07:34] @ KaiserBeto1 joined channel #puppet
[2011/11/15 15:07:57] <kjetilho> I wouldn't really worry about the race condition
[2011/11/15 15:08:05] @ Quit: geekbri: Remote host closed the connection
[2011/11/15 15:08:34] <kjetilho> (between apply done and report-script running, a new manifest can be compiled)
[2011/11/15 15:08:44] <peridot> ok
[2011/11/15 15:09:21] @ oozbooz joined channel #puppet
[2011/11/15 15:10:11] @ KaiserBeto2 joined channel #puppet
[2011/11/15 15:10:40] @ dgillies joined channel #puppet
[2011/11/15 15:11:49] @ Quit: KaiserBeto1: Ping timeout: 240 seconds
[2011/11/15 15:12:49] @ Quit: negronjl_mobile: Remote host closed the connection
[2011/11/15 15:12:52] @ oozbooz left channel #puppet ()
[2011/11/15 15:13:03] @ negronjl_mobile joined channel #puppet
[2011/11/15 15:16:23] @ aussiegeek joined channel #puppet
[2011/11/15 15:18:32] @ Quit: sascha_: Quit: sascha_
[2011/11/15 15:19:55] @ skm joined channel #puppet
[2011/11/15 15:20:03] <aussiegeek> hey guys i'm trying to notify a service that puppet says isn't defined. whats the easiest way to see what services puppet things i have configured?
[2011/11/15 15:22:45] @ Quit: themadcanudist: Read error: Connection reset by peer
[2011/11/15 15:22:54] @ themadcanudist joined channel #puppet
[2011/11/15 15:23:02] <the_ramink_> aussiegeek: the two likely problems are you're trying to notify a service before Puppet has installed it or you're trying to start Apache when it's apache2 or some such.
[2011/11/15 15:23:20] <the_ramink_> pastie.org up the code is probably the easiest way for us to see what's going on
[2011/11/15 15:23:35] @ Quit: orkaa: Quit: orkaa
[2011/11/15 15:23:43] @ benkevan joined channel #puppet
[2011/11/15 15:25:20] @ lak joined channel #puppet
[2011/11/15 15:25:33] @ Quit: lak: Changing host
[2011/11/15 15:25:33] @ lak joined channel #puppet
[2011/11/15 15:26:44] @ Quit: cruzfox: Quit: cruzfox
[2011/11/15 15:26:51] <aussiegeek> yeah apache is the culprit
[2011/11/15 15:26:55] <aussiegeek> http://pastie.org/2869635
[2011/11/15 15:27:25] @ cruzfox joined channel #puppet
[2011/11/15 15:28:45] @ Quit: motomike: Quit: Leaving.
[2011/11/15 15:29:05] @ blentz joined channel #puppet
[2011/11/15 15:29:23] @ Quit: kaptk2: Quit: Leaving.
[2011/11/15 15:30:29] <comptona> aussiegeek: you don't have an httpd service defined here anywhere; is there more code than this?
[2011/11/15 15:30:49] @ Quit: blentz: Remote host closed the connection
[2011/11/15 15:31:02] @ motomike joined channel #puppet
[2011/11/15 15:31:57] <aussiegeek> sorry the apache stuff is coming from https://github.com/puppet-modules/puppet-apache
[2011/11/15 15:33:06] @ Kazuhiro joined channel #puppet
[2011/11/15 15:33:10] @ blentz joined channel #puppet
[2011/11/15 15:33:16] <the_ramink_> aussiegeek: https://github.com/puppet-modules/puppet-apache/blob/master/manifests/debian.pp
[2011/11/15 15:33:21] <the_ramink_> service name is apache2
[2011/11/15 15:33:34] <the_ramink_> er actualy apache
[2011/11/15 15:34:46] <aussiegeek> the_ramink_ ahh thats where i missed it, thanks!
[2011/11/15 15:35:05] @ Quit: negronjl_mobile: Quit: AndroIRC - Android IRC Client ( http://www.androirc.com )
[2011/11/15 15:37:32] @ Quit: Kazuhiro: Ping timeout: 245 seconds
[2011/11/15 15:37:41] @ Quit: kangman: Remote host closed the connection
[2011/11/15 15:39:01] @ Quit: susman: Ping timeout: 240 seconds
[2011/11/15 15:39:41] @ Quit: londo: Ping timeout: 260 seconds
[2011/11/15 15:40:01] @ sascha_ joined channel #puppet
[2011/11/15 15:41:44] @ bobbyz joined channel #puppet
[2011/11/15 15:42:59] @ benjiedmund joined channel #puppet
[2011/11/15 15:43:13] @ Kazuhiro joined channel #puppet
[2011/11/15 15:43:16] @ Quit: ldlework: Ping timeout: 256 seconds
[2011/11/15 15:43:22] @ Kazuhiro left channel #puppet ()
[2011/11/15 15:43:52] @ Quit: illsci: Ping timeout: 240 seconds
[2011/11/15 15:43:59] @ Quit: Reepicheep: Quit: Ex-Chat
[2011/11/15 15:49:01] @ mitchellh joined channel #puppet
[2011/11/15 15:49:08] @ Quit: spencert: Remote host closed the connection
[2011/11/15 15:49:55] @ spencert joined channel #puppet
[2011/11/15 15:50:37] @ mattswe joined channel #puppet
[2011/11/15 15:50:39] @ lak1 joined channel #puppet
[2011/11/15 15:50:52] @ Quit: lak: Ping timeout: 245 seconds
[2011/11/15 15:50:58] @ doprdele joined channel #puppet
[2011/11/15 15:52:39] @ Quit: mitchellh: Client Quit
[2011/11/15 15:54:41] @ Quit: bobbyz: Ping timeout: 240 seconds
[2011/11/15 15:55:16] @ bobbyz joined channel #puppet
[2011/11/15 15:55:45] @ cjz left channel #puppet ()
[2011/11/15 15:59:06] @ Quit: neonflux: Quit: Leaving.
[2011/11/15 15:59:45] @ Quit: mmoya: Ping timeout: 260 seconds
[2011/11/15 16:00:15] @ RhysMorgan joined channel #puppet
[2011/11/15 16:01:04] @ cliff-hm joined channel #puppet
[2011/11/15 16:02:09] @ Quit: doprdele: Ping timeout: 276 seconds
[2011/11/15 16:05:00] @ Quit: ghg: Quit: Computer has gone to sleep.
[2011/11/15 16:05:41] @ furbage_ joined channel #puppet
[2011/11/15 16:06:29] @ Quit: tily: Read error: Connection reset by peer
[2011/11/15 16:07:00] @ Quit: jsurfer: Quit: jsurfer
[2011/11/15 16:07:47] @ tily joined channel #puppet
[2011/11/15 16:08:48] @ Quit: furbage: Ping timeout: 248 seconds
[2011/11/15 16:08:48] @ furbage_ is now known as furbage
[2011/11/15 16:09:51] @ peridot_ joined channel #puppet
[2011/11/15 16:09:51] @ Quit: jodok: Quit: jodok
[2011/11/15 16:10:37] @ Quit: peridot: Ping timeout: 244 seconds
[2011/11/15 16:10:54] @ Quit: lkoranda: Quit: Ex-Chat
[2011/11/15 16:11:45] @ Quit: spencert: Quit: Leaving.
[2011/11/15 16:13:19] @ Quit: motomike: Quit: Leaving.
[2011/11/15 16:13:20] @ Quit: jmeeuwen: Quit: Disconnecting from stoned server.
[2011/11/15 16:14:01] @ jmeeuwen joined channel #puppet
[2011/11/15 16:14:33] @ bencc left channel #puppet ()
[2011/11/15 16:15:32] @ motomike joined channel #puppet
[2011/11/15 16:16:53] @ Quit: DJClean: Read error: Operation timed out
[2011/11/15 16:18:06] @ Quit: motomike: Client Quit
[2011/11/15 16:19:50] @ Quit: mattswe: Quit: leaving
[2011/11/15 16:21:12] @ Quit: n8: Quit: n8
[2011/11/15 16:21:31] @ mattswe joined channel #puppet
[2011/11/15 16:23:14] @ Spads_ joined channel #puppet
[2011/11/15 16:26:09] @ Quit: Spads: Ping timeout: 252 seconds
[2011/11/15 16:27:03] @ Quit: benkevan: Quit: leaving
[2011/11/15 16:32:28] @ Quit: dwalu: Quit: dwalu
[2011/11/15 16:43:41] @ Quit: spiette: Ping timeout: 258 seconds
[2011/11/15 16:45:19] @ jsurfer joined channel #puppet
[2011/11/15 16:45:53] @ Quit: Diranged: Quit: Leaving.
[2011/11/15 16:46:46] @ Quit: the_ramink_: Ping timeout: 260 seconds
[2011/11/15 16:49:18] @ Quit: aussiegeek: Read error: Connection reset by peer
[2011/11/15 16:50:31] @ motomike joined channel #puppet
[2011/11/15 16:52:59] @ Quit: kermit: Ping timeout: 244 seconds
[2011/11/15 16:54:16] @ Quit: cruzfox: Quit: cruzfox
[2011/11/15 16:54:19] @ ghaskins_ joined channel #puppet
[2011/11/15 16:55:15] @ Quit: marrusl: Quit: Ex-Chat
[2011/11/15 16:56:37] @ Quit: ghaskins: Ping timeout: 240 seconds
[2011/11/15 16:57:15] @ peridot__ joined channel #puppet
[2011/11/15 16:57:16] @ Quit: tilgovi: Read error: Connection reset by peer
[2011/11/15 17:00:22] @ Quit: peridot_: Ping timeout: 255 seconds
[2011/11/15 17:03:34] @ Quit: iw_work: Read error: Connection reset by peer
[2011/11/15 17:05:42] @ eikenberry joined channel #puppet
[2011/11/15 17:07:32] @ Quit: rharrison: Quit: Leaving
[2011/11/15 17:10:02] @ mitchellh joined channel #puppet
[2011/11/15 17:11:35] @ Quit: furbage: Quit: furbage
[2011/11/15 17:14:39] @ furbage joined channel #puppet
[2011/11/15 17:15:01] @ Quit: liff: Ping timeout: 240 seconds
[2011/11/15 17:15:08] <nevyn> hrm
[2011/11/15 17:15:47] <eikenberry> Using a file resource is there a way get a diff of the changes to that file when updating? That is, get the changes within puppet to use as an exec conditional.
[2011/11/15 17:16:05] @ liff joined channel #puppet
[2011/11/15 17:16:14] <nevyn> changes to that file when updateing
[2011/11/15 17:16:33] <nevyn> when puppet changes the file it logs the diff.
[2011/11/15 17:16:47] @ furbage_ joined channel #puppet
[2011/11/15 17:16:53] <nevyn> but I don't think that's what you mean
[2011/11/15 17:17:27] @ Quit: BManojlovic: Remote host closed the connection
[2011/11/15 17:17:27] @ illsci joined channel #puppet
[2011/11/15 17:17:35] <jbarnett> most likely you'll need to use define
[2011/11/15 17:17:38] <eikenberry> No. I need to restart a process when a certain value is changed in that file. But not otherwise. I was thinking I could use the filebucket to get a diff.
[2011/11/15 17:17:53] @ zwi joined channel #puppet
[2011/11/15 17:18:57] @ Quit: furbage: Ping timeout: 252 seconds
[2011/11/15 17:18:57] @ furbage_ is now known as furbage
[2011/11/15 17:19:00] <jbarnett> eikenberry: maybe record the value in the thing you're monitoring in another flatfile
[2011/11/15 17:19:13] <jbarnett> eikenberry: then create a cronjob to compare the two
[2011/11/15 17:19:18] <nevyn> so the only way I can see this is if you pushed the file back to the puppetmaster as a fact and worked it out there
[2011/11/15 17:19:40] @ doprdele joined channel #puppet
[2011/11/15 17:19:50] <jbarnett> eikenberry: if they are the same, then exec
[2011/11/15 17:19:58] <jbarnett> eikenberry: or if they're different, then exec.
[2011/11/15 17:20:16] <peridot__> OK, who can tell the ruby nooby what this means? taglists.each do |emails, pos, neg|
[2011/11/15 17:20:29] <peridot__> I've only had experience with foo.each do |something|
[2011/11/15 17:20:35] @ Quit: mitchellh: Quit: Computer has gone to sleep
[2011/11/15 17:20:37] <eikenberry> I was mainly just curious if there was some fairly simple way of doing it I was missing.
[2011/11/15 17:20:39] @ Quit: williemach: Quit: Leaving.
[2011/11/15 17:20:44] <jbarnett> eikenberry: I don't think so...
[2011/11/15 17:20:45] <nevyn> make the value you care about a fact.. then have a dependat exec whicih compares the value after the file resource is evaluated to the fact and restarts the process?
[2011/11/15 17:20:47] @ tilgovi joined channel #puppet
[2011/11/15 17:20:48] @ Quit: tilgovi: Changing host
[2011/11/15 17:20:48] @ tilgovi joined channel #puppet
[2011/11/15 17:20:50] <eikenberry> jbarnett. thanks for the idea. maybe I'll try something like that.
[2011/11/15 17:21:00] @ Quit: hobbeswalsh: Quit: hobbeswalsh
[2011/11/15 17:21:10] @ Quit: alanevans: Remote host closed the connection
[2011/11/15 17:21:12] <jbarnett> eikenberry: nevyn has a good idea though about creating a fact based on the value
[2011/11/15 17:21:13] <eikenberry> Or I might look to converting to augeas... though that would be more work than I hoped.
[2011/11/15 17:21:26] <jbarnett> eikenberry: long story short, there isn't an "easy" way to do it.
[2011/11/15 17:21:34] <eikenberry> cool. thanks.
[2011/11/15 17:22:35] <nevyn> hrm
[2011/11/15 17:22:54] <nevyn> if you were willing to take the hit of restarting the process whenever the file is modified you could just use a notify
[2011/11/15 17:22:54] <jbarnett> goodnight all.
[2011/11/15 17:23:00] <eikenberry> I'll have to think about that fact method. Interesting idea.
[2011/11/15 17:23:10] <nevyn> which really is simple
[2011/11/15 17:23:15] <eikenberry> nevyn. Can't restart each time.
[2011/11/15 17:23:17] @ Quit: jbarnett:
[2011/11/15 17:23:25] <eikenberry> The process is postgres. Restarting means downtime.
[2011/11/15 17:23:43] <nevyn> eikenberry: not every puppet run just whenever the file is modified
[2011/11/15 17:24:02] <eikenberry> The issue is we are changing the location of the socket. Postgres requires a full stop/start to change that.
[2011/11/15 17:24:09] <nevyn> ok.
[2011/11/15 17:24:18] <nevyn> but anything else can be done with a reload?
[2011/11/15 17:24:19] <eikenberry> nevyn. Still to often.
[2011/11/15 17:24:22] <eikenberry> yes
[2011/11/15 17:24:22] <nevyn> right.
[2011/11/15 17:24:41] <eikenberry> most everything can be handled via reload. just this requires a stop/start.
[2011/11/15 17:26:14] @ kermit joined channel #puppet
[2011/11/15 17:26:17] @ ghg joined channel #puppet
[2011/11/15 17:26:46] <eikenberry> Hmm. I just had an idea. I could ignore the config and base my restart on whether the socket exists in the right place.
[2011/11/15 17:26:56] @ Quit: peridot__: Quit: bye!
[2011/11/15 17:27:36] @ Quit: flex___: Remote host closed the connection
[2011/11/15 17:27:37] @ Quit: un1x01d: Remote host closed the connection
[2011/11/15 17:29:53] @ rsnhyperion joined channel #puppet
[2011/11/15 17:30:02] @ Quit: doprdele: Ping timeout: 245 seconds
[2011/11/15 17:30:40] @ Quit: zwi: Ping timeout: 240 seconds
[2011/11/15 17:30:53] @ Quit: savid: Quit: Leaving
[2011/11/15 17:32:08] @ Quit: kelseyhightower: Ping timeout: 260 seconds
[2011/11/15 17:32:46] @ Quit: mrwacky42: Ping timeout: 244 seconds
[2011/11/15 17:33:10] @ doprdele joined channel #puppet
[2011/11/15 17:36:24] @ elmer__ joined channel #puppet
[2011/11/15 17:40:40] @ Quit: joshcooper: Quit: joshcooper
[2011/11/15 17:41:22] @ Quit: ryancoleman: Quit: Leaving.
[2011/11/15 17:42:57] @ Quit: elmer__: Read error: Connection reset by peer
[2011/11/15 17:44:53] @ Quit: shadoi: Quit: Leaving.
[2011/11/15 17:44:57] @ dbgster joined channel #puppet
[2011/11/15 17:45:12] @ Quit: ronan_: Read error: Connection reset by peer
[2011/11/15 17:45:27] @ jwhitlock is now known as jwhitlock_zzz
[2011/11/15 17:45:31] @ ronan_ joined channel #puppet
[2011/11/15 17:47:22] @ Quit: eikenberry: Quit: End of line.
[2011/11/15 17:47:28] @ Quit: furbage: Quit: furbage
[2011/11/15 17:48:04] @ alanevans joined channel #puppet
[2011/11/15 17:52:13] @ jherm left channel #puppet ()
[2011/11/15 17:52:48] @ Quit: ghaskins_: Quit: Leaving
[2011/11/15 17:52:50] @ Quit: ianbrandt: Quit: ianbrandt
[2011/11/15 17:53:52] @ Quit: lbt: Ping timeout: 240 seconds
[2011/11/15 17:56:52] @ Chillax_ joined channel #puppet
[2011/11/15 17:57:56] @ Quit: Chillax: Ping timeout: 260 seconds
[2011/11/15 17:58:25] @ zwi joined channel #puppet
[2011/11/15 17:59:08] @ Enf joined channel #puppet
[2011/11/15 17:59:41] @ Quit: nul0op: Ping timeout: 260 seconds
[2011/11/15 18:00:42] @ Quit: newtMcKerr: Quit: Leaving.
[2011/11/15 18:01:44] @ ghaskins joined channel #puppet
[2011/11/15 18:03:08] @ choonming joined channel #puppet
[2011/11/15 18:05:13] @ Quit: Boltsky: Quit: Computer has gone to sleep.
[2011/11/15 18:06:13] @ kolla joined channel #puppet
[2011/11/15 18:13:41] @ flex___ joined channel #puppet
[2011/11/15 18:19:03] @ Quit: jongrocho: Remote host closed the connection
[2011/11/15 18:22:12] @ Quit: comptona: Ping timeout: 258 seconds
[2011/11/15 18:23:21] @ Quit: doprdele: Ping timeout: 258 seconds
[2011/11/15 18:24:19] @ ccaum joined channel #puppet
[2011/11/15 18:25:46] @ doprdele joined channel #puppet
[2011/11/15 18:25:58] @ Quit: seanh-ansca: Quit: Leaving.
[2011/11/15 18:25:59] @ Boltsky joined channel #puppet
[2011/11/15 18:27:10] @ Quit: rsnhyperion: Quit: rsnhyperion
[2011/11/15 18:33:46] @ ryancoleman joined channel #puppet
[2011/11/15 18:34:42] @ Quit: lak1: Quit: Leaving.
[2011/11/15 18:35:32] @ newtMcKerr joined channel #puppet
[2011/11/15 18:35:33] @ Quit: newtMcKerr: Changing host
[2011/11/15 18:35:34] @ newtMcKerr joined channel #puppet
[2011/11/15 18:37:46] @ neonflux joined channel #puppet
[2011/11/15 18:45:03] @ illsci left channel #puppet ()
[2011/11/15 18:46:52] @ samkottler joined channel #puppet
[2011/11/15 18:49:14] @ lbt joined channel #puppet
[2011/11/15 18:49:15] @ Quit: lbt: Changing host
[2011/11/15 18:49:15] @ lbt joined channel #puppet
[2011/11/15 18:50:58] @ orkaa joined channel #puppet
[2011/11/15 18:51:37] @ mosen joined channel #puppet
[2011/11/15 18:51:39] @ un1x01d joined channel #puppet
[2011/11/15 18:53:07] @ st33v joined channel #puppet
[2011/11/15 18:53:45] @ KaiserBeto2 left channel #puppet ()
[2011/11/15 18:54:13] @ Quit: djm68: Quit: leaving
[2011/11/15 18:57:00] @ sumsuch joined channel #puppet
[2011/11/15 18:57:39] @ Quit: sarkis_: Ping timeout: 276 seconds
[2011/11/15 19:03:29] @ Quit: lindenle__: Ping timeout: 240 seconds
[2011/11/15 19:04:07] @ lindenle__ joined channel #puppet
[2011/11/15 19:04:13] @ Quit: benjiedmund: Remote host closed the connection
[2011/11/15 19:05:01] @ benjiedmund joined channel #puppet
[2011/11/15 19:05:04] @ Quit: tizzo-afk: Ping timeout: 240 seconds
[2011/11/15 19:07:18] @ Quit: benjiedmund: Read error: Connection reset by peer
[2011/11/15 19:07:48] @ benjiedmund joined channel #puppet
[2011/11/15 19:08:04] @ tizzo-afk joined channel #puppet
[2011/11/15 19:09:05] @ Quit: bmahe: Quit: Leaving
[2011/11/15 19:11:04] @ Quit: motomike: Ping timeout: 240 seconds
[2011/11/15 19:11:09] @ benkevan joined channel #puppet
[2011/11/15 19:11:14] @ motomike joined channel #puppet
[2011/11/15 19:11:42] @ Quit: edward_: Ping timeout: 245 seconds
[2011/11/15 19:11:55] @ susman joined channel #puppet
[2011/11/15 19:11:55] @ AvaCam joined channel #puppet
[2011/11/15 19:11:58] @ Quit: benjiedmund: Ping timeout: 244 seconds
[2011/11/15 19:12:43] @ edward_ joined channel #puppet
[2011/11/15 19:12:57] <AvaCam> So has 2.x been released yet?
[2011/11/15 19:16:32] @ johnston_ joined channel #puppet
[2011/11/15 19:17:26] <nevyn> 2.7 is current
[2011/11/15 19:23:28] @ Quit: sumsuch: Quit: sumsuch
[2011/11/15 19:25:04] @ jongrocho joined channel #puppet
[2011/11/15 19:28:56] @ the_ramink_ joined channel #puppet
[2011/11/15 19:29:06] @ the_ramink_ is now known as the_ramink
[2011/11/15 19:30:54] @ samkottler1 joined channel #puppet
[2011/11/15 19:30:55] @ Quit: samkottler: Read error: Connection reset by peer
[2011/11/15 19:32:06] @ Quit: motomike: Quit: Leaving.
[2011/11/15 19:33:01] @ Quit: blentz: Quit: Ex-Chat
[2011/11/15 19:33:15] @ blentz joined channel #puppet
[2011/11/15 19:35:16] @ samc joined channel #puppet
[2011/11/15 19:37:16] @ scsibug joined channel #puppet
[2011/11/15 19:38:40] @ Quit: Chillax_: Ping timeout: 240 seconds
[2011/11/15 19:40:52] @ Quit: orkaa: Quit: orkaa
[2011/11/15 19:42:13] @ Chillax joined channel #puppet
[2011/11/15 19:42:13] @ mitchellh joined channel #puppet
[2011/11/15 19:45:16] @ jwhitlock_zzz is now known as jwhitlock
[2011/11/15 19:49:10] @ Quit: localhost: Remote host closed the connection
[2011/11/15 19:49:53] @ jwhitlock is now known as jwhitlock_zzz
[2011/11/15 19:50:44] @ bobra joined channel #puppet
[2011/11/15 19:53:21] @ miche joined channel #puppet
[2011/11/15 19:56:55] @ Quit: benkevan: Ping timeout: 244 seconds
[2011/11/15 19:58:53] @ Quit: ccaum: Quit: ccaum
[2011/11/15 20:06:36] @ benkevan joined channel #puppet
[2011/11/15 20:06:40] @ Quit: cliff-hm: Ping timeout: 248 seconds
[2011/11/15 20:07:50] @ Quit: dbgster: Quit: dbgster
[2011/11/15 20:09:28] @ benkevan_ joined channel #puppet
[2011/11/15 20:11:14] @ Quit: dnjaramba: Remote host closed the connection
[2011/11/15 20:11:25] @ dnjaramba joined channel #puppet
[2011/11/15 20:11:27] @ Kazuhiro joined channel #puppet
[2011/11/15 20:13:27] @ adimania joined channel #puppet
[2011/11/15 20:13:49] @ erodriguez joined channel #puppet
[2011/11/15 20:19:42] @ Quit: mitchellh: Quit: Computer has gone to sleep
[2011/11/15 20:20:41] @ Quit: zwi: Ping timeout: 244 seconds
[2011/11/15 20:23:35] @ kelseyhightower joined channel #puppet
[2011/11/15 20:24:46] @ zwi joined channel #puppet
[2011/11/15 20:26:26] @ djm68 joined channel #puppet
[2011/11/15 20:26:43] @ zwi1 joined channel #puppet
[2011/11/15 20:28:57] @ Quit: zwi: Ping timeout: 244 seconds
[2011/11/15 20:30:31] @ Quit: jongrocho: Remote host closed the connection
[2011/11/15 20:34:22] @ negronjl joined channel #puppet
[2011/11/15 20:36:38] @ Quit: fredden: Quit: Leaving
[2011/11/15 20:45:36] @ Quit: ghanima: Ping timeout: 248 seconds
[2011/11/15 20:46:20] @ Quit: benkevan: Quit: leaving
[2011/11/15 20:47:03] <jpalmer> question for the pros. lets say I have an application stack that I'm just starting to puppetize. we have several versions. Each requires a different set of cron jobs for various users..
[2011/11/15 20:47:43] <jpalmer> since I'm just starting to puppet-ize the whoel shebag, I want to make a single "cron" class, with various subclasses for the different versions.
[2011/11/15 20:48:24] @ KaiserBeto1 joined channel #puppet
[2011/11/15 20:49:32] @ Quit: nfagerlund: Remote host closed the connection
[2011/11/15 20:49:48] <jpalmer> the problem is, on version 1.3, I have 3 or 4 cronjobs, that are not present in 1.4. 1.5, has a couple others still. so, keeping "upgrades" in mind.. how should I handle that? do I just have a app13.pp with a cron:app13 class, ad make the first part of it a bunch of ensure => absent cron entries for any cron task that has been obsoleted (in any previous version in case I skip an app version in the upgrade process)
[2011/11/15 20:50:13] @ Quit: benkevan_: Ping timeout: 240 seconds
[2011/11/15 20:50:14] @ Quit: Kazuhiro: Read error: Connection reset by peer
[2011/11/15 20:50:33] @ Quit: rmckee: Quit: Leaving
[2011/11/15 20:50:35] <the_ramink> jpalmer: I did some extlookup for various machines/environment that pulled a value and then keyed off it.
[2011/11/15 20:50:37] <jpalmer> or, is there a better (more sane) way to handle that scenario?
[2011/11/15 20:51:27] <the_ramink> However it may be simpler to link /var/spool/cron/$user to the src code and let it call the shots.
[2011/11/15 20:51:53] <jpalmer> the_ramink: I have an ENC that can set the application version value. the question is: how do I handle cronjobs that become obsoleted after an upgrade (with special consideration to the fact that I may upgrade skipping several previous versions at a time)
[2011/11/15 20:52:00] @ Diranged joined channel #puppet
[2011/11/15 20:53:16] @ Quit: neonflux: Quit: Leaving.
[2011/11/15 20:53:24] <jpalmer> well, for *now* since I'm just starting.. yes, I could manage /var/spool/cron/$foo as a single file.. but eventually as I get the entire app stack into puppet.. I want each module to be self contained (including, adding any relevant cron jobs FOR that module) which means.. down the road I *really* want each module manipulating it's own portion of the cron job.
[2011/11/15 20:53:41] @ Quit: samkottler1: Quit: Leaving.
[2011/11/15 20:54:47] <jpalmer> IE, I'd want the puppet module, to handle the cron entry for puppet agent as root. In addition to a backup module that manages an entry for the backup script running as root. (again, down the road)
[2011/11/15 20:56:14] @ jongrocho joined channel #puppet
[2011/11/15 20:57:29] <the_ramink> jpalmer: fair enough. We've done a bit of everything and ended up in async job queue land. Simpler for things to get released in step with the application, move jobs, spread jobs around, etc. I'd say static tasks like backups and puppet runs can be done easily in cron. Moving application tasks to a queue/worker system may be simpler.
[2011/11/15 20:58:35] @ Quit: choonming: Quit: Leaving
[2011/11/15 20:59:35] @ Kazuhiro joined channel #puppet
[2011/11/15 20:59:38] <jpalmer> the_ramink: well, to make it slightly more interesting.. the reason a "file" type entry to handle crons won't work for us.. sometimes we have multiple appstacks on a single machine. each having it's own cron tasks. so it'd quickly get out of hand to have the /var/spool/cron/$foo template file being full of a bunch of if has_variable?("blah") logic in it.
[2011/11/15 21:00:08] <jpalmer> I guess for now, the file option does make the most sense. and I can revisit later *as* I get more of the app puppetized.
[2011/11/15 21:00:22] <the_ramink> Or in the past i've created master_script.$lang that was called every minute and referenced the source tree to run jobs as appropiate. local cron lite so to speak
[2011/11/15 21:00:31] @ benkevan joined channel #puppet
[2011/11/15 21:00:33] @ Quit: benkevan: Changing host
[2011/11/15 21:00:33] @ benkevan joined channel #puppet
[2011/11/15 21:02:25] <jpalmer> thanks the_ramink. I'll probably persue the "file" type management for the time being.
[2011/11/15 21:03:12] <bgupta> Anyone know what versions of ruby puppet dashboard works with?
[2011/11/15 21:03:19] @ Kazuhiro left channel #puppet ()
[2011/11/15 21:03:20] <the_ramink> yeah, sorry, everything I can think of is kinda hacky. Was hoping someone else might chime in with a super slick system I can amaze future coworkers with.
[2011/11/15 21:04:01] <the_ramink> bgupta: dashboard 1.2.x works with ruby 1.8.7, dashboard 1.1.x works with 1.8.5 or 1.8.7.
[2011/11/15 21:05:02] <bgupta> thanks the_ramink There was a question on the foreman side about dropping 1.8.5 support... I don't think it
[2011/11/15 21:05:03] * bgupta 's
[2011/11/15 21:05:12] <bgupta> a big deal.
[2011/11/15 21:05:46] <bgupta> If puppet dropped 1.8.5 support it would be more problematic, as it is these are just single servers in the environment
[2011/11/15 21:08:07] <the_ramink> that was Mike Stahnke's position too based on his comments on the mailing list about dashobard.
[2011/11/15 21:15:46] @ sumsuch joined channel #puppet
[2011/11/15 21:17:05] @ Quit: zleslie: Ping timeout: 240 seconds
[2011/11/15 21:20:03] @ Quit: jongrocho: Remote host closed the connection
[2011/11/15 21:23:58] @ Quit: gniks1: Quit: Leaving.
[2011/11/15 21:25:12] @ jongrocho joined channel #puppet
[2011/11/15 21:27:08] @ jongroch_ joined channel #puppet
[2011/11/15 21:27:08] @ Quit: jongrocho: Read error: Connection reset by peer
[2011/11/15 21:27:08] @ Quit: jongroch_: Remote host closed the connection
[2011/11/15 21:27:17] @ choonming joined channel #puppet
[2011/11/15 21:27:23] @ jongrocho joined channel #puppet
[2011/11/15 21:27:24] @ Quit: jongrocho: Remote host closed the connection
[2011/11/15 21:27:39] @ jongrocho joined channel #puppet
[2011/11/15 21:27:57] @ Quit: jongrocho: Remote host closed the connection
[2011/11/15 21:30:01] @ jongrocho joined channel #puppet
[2011/11/15 21:32:33] @ Quit: Diranged: Quit: Leaving.
[2011/11/15 21:33:56] @ Quit: jsm: Quit: jsm
[2011/11/15 21:35:38] @ mitchellh joined channel #puppet
[2011/11/15 21:36:48] @ Quit: jongrocho: Remote host closed the connection
[2011/11/15 21:37:33] @ zleslie joined channel #puppet
[2011/11/15 21:40:13] @ Quit: benkevan: Ping timeout: 240 seconds
[2011/11/15 21:42:19] @ benkevan joined channel #puppet
[2011/11/15 21:44:28] <nevyn> jpalmer: are you talking about using a file resource or using the cron type?
[2011/11/15 21:44:48] @ zwi joined channel #puppet
[2011/11/15 21:45:45] @ jwhitlock_zzz is now known as jwhitlock
[2011/11/15 21:45:56] @ Quit: zwi1: Ping timeout: 244 seconds
[2011/11/15 21:46:22] <jpalmer> nevyn: originally, using the cron type. but I think for now, I'm just going to manage it as a file resource until I get a better plan together.
[2011/11/15 21:46:56] <jpalmer> (unless you have an idea!)
[2011/11/15 21:47:01] <nevyn> hrm use a local code generator to build the puppet code.
[2011/11/15 21:47:27] <jpalmer> I'm not sure what you mean. happen to have an example you can point me to?
[2011/11/15 21:47:38] <jpalmer> (or docs to such a beast)
[2011/11/15 21:48:16] @ Quit: emergion: Quit: later...
[2011/11/15 21:48:47] <nevyn> hrm
[2011/11/15 21:48:50] <nevyn> ooh better idea.
[2011/11/15 21:49:04] @ limed_ joined channel #puppet
[2011/11/15 21:49:04] @ Quit: limed_: Client Quit
[2011/11/15 21:49:07] @ sarkis_ joined channel #puppet
[2011/11/15 21:49:15] <nevyn> make the cron resources virtual and then realise the appropriate ones per app version
[2011/11/15 21:49:48] <nevyn> and make the resources purge.
[2011/11/15 21:49:59] <jpalmer> well.. that would work for part of the issue.. but that doesn't look like it'd "ensure => absent" the old (no longer used) crontabs
[2011/11/15 21:50:04] @ Quit: Holocaine: Ping timeout: 244 seconds
[2011/11/15 21:50:04] <jpalmer> ahh. purge.
[2011/11/15 21:50:16] @ Quit: benkevan: Read error: Operation timed out
[2011/11/15 21:50:24] @ Quit: skm: Quit: Computer has gone to sleep.
[2011/11/15 21:50:27] @ jwhitlock is now known as jwhitlock_zzz
[2011/11/15 21:50:52] <jpalmer> I didn't realize the cron type had a purge option. do you have to specify purge only once per cron 'user' or on each cron entry?
[2011/11/15 21:51:14] <jpalmer> nevermind. now that I know, I'll hit the docs. thanks!
[2011/11/15 21:52:16] @ Quit: doprdele: Ping timeout: 248 seconds
[2011/11/15 21:52:24] @ Quit: RhysMorgan: Quit: RhysMorgan
[2011/11/15 21:52:35] @ Quit: zwi: Quit: Leaving.
[2011/11/15 21:53:03] @ benkevan joined channel #puppet
[2011/11/15 21:53:46] <jpalmer> hmm, not seeing a purge option for the cron type in the docs
[2011/11/15 21:57:02] @ jongrocho joined channel #puppet
[2011/11/15 21:59:56] @ bmahe joined channel #puppet
[2011/11/15 22:04:03] @ Beast joined channel #puppet
[2011/11/15 22:05:06] @ doprdele joined channel #puppet
[2011/11/15 22:06:12] @ Quit: st33v: Quit: st33v
[2011/11/15 22:06:34] @ mrwacky42 joined channel #puppet
[2011/11/15 22:06:39] @ fenris02 joined channel #puppet
[2011/11/15 22:06:40] @ Quit: fenrus02: Ping timeout: 248 seconds
[2011/11/15 22:12:48] @ Quit: negronjl: Ping timeout: 244 seconds
[2011/11/15 22:13:26] @ Shanlar- joined channel #puppet
[2011/11/15 22:15:39] @ Quit: csanchez: Quit: csanchez
[2011/11/15 22:16:24] @ aditya_ joined channel #puppet
[2011/11/15 22:16:25] @ Quit: Shanlar_: Ping timeout: 258 seconds
[2011/11/15 22:16:31] @ Quit: aditya_: Read error: Connection reset by peer
[2011/11/15 22:18:09] @ Quit: miche: Quit: Computer has gone to sleep.
[2011/11/15 22:20:10] @ Quit: benkevan: Quit: leaving
[2011/11/15 22:20:54] @ Quit: djm68: Quit: leaving
[2011/11/15 22:23:01] @ Quit: colon_D: Ping timeout: 255 seconds
[2011/11/15 22:24:16] @ Quit: sarkis_: Ping timeout: 248 seconds
[2011/11/15 22:24:16] @ Quit: sumsuch: Quit: sumsuch
[2011/11/15 22:28:37] @ Meier joined channel #puppet
[2011/11/15 22:33:00] @ skm joined channel #puppet
[2011/11/15 22:34:45] @ Quit: doprdele: Ping timeout: 276 seconds
[2011/11/15 22:35:41] @ Quit: bmahe: Read error: Connection reset by peer
[2011/11/15 22:36:42] @ negronjl joined channel #puppet
[2011/11/15 22:37:21] @ jaydg joined channel #puppet
[2011/11/15 22:39:10] @ Quit: scsibug: Quit: leaving
[2011/11/15 22:40:30] @ Quit: AvaCam: Ping timeout: 265 seconds
[2011/11/15 22:41:16] @ sumsuch joined channel #puppet
[2011/11/15 22:42:42] @ sdog joined channel #puppet
[2011/11/15 22:43:52] @ Quit: bobbyz: Ping timeout: 240 seconds
[2011/11/15 22:45:14] @ Djelibeybi joined channel #puppet
[2011/11/15 22:47:34] @ mmoya joined channel #puppet
[2011/11/15 22:51:31] @ Quit: dnjaramba: Read error: Connection reset by peer
[2011/11/15 22:51:36] @ dnjaramba joined channel #puppet
[2011/11/15 22:55:20] @ Quit: dgillies: Remote host closed the connection
[2011/11/15 22:56:39] @ Quit: jongrocho: Remote host closed the connection
[2011/11/15 22:56:53] @ Quit: mosen: Quit: Leaving
[2011/11/15 22:59:19] @ AvaCam joined channel #puppet
[2011/11/15 22:59:31] @ tilgovi_ joined channel #puppet
[2011/11/15 22:59:32] @ Quit: tilgovi_: Changing host
[2011/11/15 22:59:32] @ tilgovi_ joined channel #puppet
[2011/11/15 23:00:38] @ emergion joined channel #puppet
[2011/11/15 23:01:24] @ Quit: tilgovi: Ping timeout: 276 seconds
[2011/11/15 23:01:36] @ Quit: skm: Quit: Computer has gone to sleep.
[2011/11/15 23:02:36] <flex___> hi, all, who knows why some os my template hit the Dynamic lookup warning , but others not?
[2011/11/15 23:02:48] <flex___> s/os/of/g
[2011/11/15 23:06:22] <flex___> oh, i got it, if the template if in a define, it will hit the warning
[2011/11/15 23:06:41] @ bobbyz joined channel #puppet
[2011/11/15 23:08:02] @ sarkis_ joined channel #puppet
[2011/11/15 23:09:22] @ Quit: Djelibeybi: Quit: Textual IRC Client: http://www.textualapp.com/
[2011/11/15 23:09:57] @ jsm joined channel #puppet
[2011/11/15 23:17:25] @ Quit: negronjl: Ping timeout: 240 seconds
[2011/11/15 23:18:11] @ Quit: johnston_: Ping timeout: 265 seconds
[2011/11/15 23:18:12] @ negronjl joined channel #puppet
[2011/11/15 23:19:01] @ Quit: dnjaramba: Read error: Connection reset by peer
[2011/11/15 23:21:03] @ Quit: mitchellh: Quit: Computer has gone to sleep
[2011/11/15 23:21:51] @ bkdem joined channel #puppet
[2011/11/15 23:22:23] @ Quit: jsm: Quit: jsm
[2011/11/15 23:24:45] @ lovemj joined channel #puppet
[2011/11/15 23:26:59] @ brtl joined channel #puppet
[2011/11/15 23:27:49] @ jsm joined channel #puppet
[2011/11/15 23:32:20] @ DJClean joined channel #puppet
[2011/11/15 23:34:38] @ erthad joined channel #puppet
[2011/11/15 23:36:21] @ Quit: erthad: Changing host
[2011/11/15 23:36:21] @ erthad joined channel #puppet
[2011/11/15 23:38:44] @ lkoranda joined channel #puppet
[2011/11/15 23:38:47] @ mitchellh joined channel #puppet
[2011/11/15 23:40:23] @ MattyM joined channel #puppet
[2011/11/15 23:40:32] @ larsar joined channel #puppet
[2011/11/15 23:41:04] @ Quit: mrwacky42: Quit: Leaving.
[2011/11/15 23:41:18] <ralfgro> we are currently running puppet-dasboard 1.1.0-1
[2011/11/15 23:41:30] <ralfgro> on debian squeeze
[2011/11/15 23:43:08] @ Quit: sdog: Changing host
[2011/11/15 23:43:08] @ sdog joined channel #puppet
[2011/11/15 23:44:29] @ Quit: mitchellh: Quit: Computer has gone to sleep
[2011/11/15 23:45:00] <ralfgro> now there is version 1.2.x out and would like to update
[2011/11/15 23:45:12] @ pmorillon joined channel #puppet
[2011/11/15 23:45:43] @ dwalu joined channel #puppet
[2011/11/15 23:45:48] <ralfgro> I think I've seen something in the realease notes that this version only works with clients > 2.6.x and we still have some older 0.2x clients
[2011/11/15 23:46:06] <ralfgro> from debian oldstable
[2011/11/15 23:46:09] @ jwhitlock_zzz is now known as jwhitlock
[2011/11/15 23:46:46] @ nitram_macair_ joined channel #puppet
[2011/11/15 23:47:02] <ralfgro> do I get into trouble with these older clients and dashboard 1.2.x or will only some nice features not work
[2011/11/15 23:47:58] <nitram_macair_> do i need any thing in my init.pp if my module just has a custom plugin and nothing else?
[2011/11/15 23:50:53] @ Razique joined channel #puppet
[2011/11/15 23:50:55] @ jwhitlock is now known as jwhitlock_zzz
[2011/11/15 23:52:18] @ ckauhaus joined channel #puppet
[2011/11/15 23:53:40] @ Quit: Spads_: Read error: Operation timed out
[2011/11/15 23:56:22] <ralfgro> dashboard 1.2.0 release notes: "Puppet agents should be at 2.6.4 or higher "
[2011/11/15 23:56:46] @ Quit: alanevans: Read error: Operation timed out

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