| [2012/01/02 00:02:51] @ Log started by gepetto | ||
| [2012/01/02 00:02:51] @ Quit: iamchrisf_: Quit: iamchrisf_ | ||
| [2012/01/02 00:03:47] @ grosendorf joined channel #puppet | ||
| [2012/01/02 00:14:45] @ Quit: ben_duyujie: Ping timeout: 248 seconds | ||
| [2012/01/02 00:17:16] @ Quit: grosendorf: Ping timeout: 276 seconds | ||
| [2012/01/02 00:24:59] @ dissipate joined channel #puppet | ||
| [2012/01/02 00:25:00] @ Quit: dissipate: Changing host | ||
| [2012/01/02 00:25:00] @ dissipate joined channel #puppet | ||
| [2012/01/02 00:26:15] @ tmclaugh joined channel #puppet | ||
| [2012/01/02 00:26:48] <CrazyGir> ryancoleman: but would puppet error out with a user wanting to go into a group that doesn't exist on some given system | ||
| [2012/01/02 00:28:05] <ryancoleman> CrazyGir: Yes, the group would need to be managed as well. If you want that process to be more dynamic than explicitly declaring them, you may want to have a look at: http://docs.puppetlabs.com/guides/virtual_resources.html | ||
| [2012/01/02 00:30:11] @ nitram_macair_ joined channel #puppet | ||
| [2012/01/02 00:33:36] @ Quit: nitram_macair_: Client Quit | ||
| [2012/01/02 00:36:22] @ Quit: dissipate: Remote host closed the connection | ||
| [2012/01/02 00:44:26] @ Quit: cwarden: Ping timeout: 252 seconds | ||
| [2012/01/02 00:47:01] @ Quit: tmclaugh: Quit: tmclaugh | ||
| [2012/01/02 00:47:12] @ Quit: skm: Ping timeout: 276 seconds | ||
| [2012/01/02 00:53:50] @ dissipate joined channel #puppet | ||
| [2012/01/02 00:53:51] @ Quit: dissipate: Changing host | ||
| [2012/01/02 00:53:51] @ dissipate joined channel #puppet | ||
| [2012/01/02 01:15:07] @ Quit: rcrowley: Quit: Computer has gone to sleep. | ||
| [2012/01/02 01:30:39] @ Quit: xjiujiu: Read error: Connection reset by peer | ||
| [2012/01/02 01:30:54] @ Quit: mukulm: Ping timeout: 258 seconds | ||
| [2012/01/02 01:32:45] @ skm joined channel #puppet | ||
| [2012/01/02 01:33:13] @ Quit: Tibor: Quit: changing servers | ||
| [2012/01/02 01:33:48] @ riha joined channel #puppet | ||
| [2012/01/02 01:43:40] @ Quit: skm: Read error: Connection reset by peer | ||
| [2012/01/02 01:44:49] @ Meier joined channel #puppet | ||
| [2012/01/02 01:46:56] @ skm joined channel #puppet | ||
| [2012/01/02 01:53:01] @ Quit: skm: Read error: Connection reset by peer | ||
| [2012/01/02 01:57:29] @ Quit: and`: Ping timeout: 252 seconds | ||
| [2012/01/02 01:59:18] @ and` joined channel #puppet | ||
| [2012/01/02 02:04:13] <CrazyGir> ryancoleman: thanks | ||
| [2012/01/02 02:05:50] @ Deesl joined channel #puppet | ||
| [2012/01/02 02:07:35] @ dlb__ joined channel #puppet | ||
| [2012/01/02 02:09:32] @ dlb___ joined channel #puppet | ||
| [2012/01/02 02:13:28] @ Quit: dlb__: Ping timeout: 268 seconds | ||
| [2012/01/02 02:14:31] @ Quit: kenperkins: Quit: Computer has gone to sleep. | ||
| [2012/01/02 02:17:56] @ skm joined channel #puppet | ||
| [2012/01/02 02:18:15] @ smintz joined channel #puppet | ||
| [2012/01/02 02:18:27] @ Quit: Stenbryggen: Quit: Leaving. | ||
| [2012/01/02 02:19:16] @ Stenbryggen joined channel #puppet | ||
| [2012/01/02 02:20:28] @ inecas joined channel #puppet | ||
| [2012/01/02 02:21:48] @ manlymatt83 joined channel #puppet | ||
| [2012/01/02 02:21:56] <manlymatt83> Anyone around? | ||
| [2012/01/02 02:23:04] <rodjek> probably quite a few | ||
| [2012/01/02 02:23:58] <manlymatt83> I'm trying to do a caseful require... IE: | ||
| [2012/01/02 02:24:20] <manlymatt83> require => $sslCertName ? { '*' => File["..."], default => File["..."] } | ||
| [2012/01/02 02:24:45] <manlymatt83> the default works for "anything else", but how do I make the first one work for any value of sslCertName? Essentially, I want to say... if $sslCertName has *any* value, do this require, otherwise do the other one | ||
| [2012/01/02 02:24:56] @ Quit: Stenbryggen: Quit: Leaving. | ||
| [2012/01/02 02:25:04] @ ali3n0 joined channel #puppet | ||
| [2012/01/02 02:26:18] <eric0> make the conditions 'undef => blah, default => blat' | ||
| [2012/01/02 02:26:22] <rodjek> require => $sslCertName ? { undef => File['...'], default => File['...'] } | ||
| [2012/01/02 02:26:22] <manlymatt83> thanks! | ||
| [2012/01/02 02:27:51] @ Quit: larstobi: Quit: Leaving. | ||
| [2012/01/02 02:31:20] @ Quit: dlb___: Remote host closed the connection | ||
| [2012/01/02 02:32:02] @ Quit: e1mer: Ping timeout: 260 seconds | ||
| [2012/01/02 02:32:05] @ DJClean joined channel #puppet | ||
| [2012/01/02 02:32:31] <manlymatt83> Thanks so much! | ||
| [2012/01/02 02:32:33] <manlymatt83> it worked | ||
| [2012/01/02 02:33:06] @ xjiujiu joined channel #puppet | ||
| [2012/01/02 02:34:14] @ octane- joined channel #puppet | ||
| [2012/01/02 02:36:27] @ Quit: ali3n0: Ping timeout: 244 seconds | ||
| [2012/01/02 02:37:10] @ ali3n0 joined channel #puppet | ||
| [2012/01/02 02:41:24] @ Quit: ali3n0: Client Quit | ||
| [2012/01/02 02:43:38] @ Quit: Deesl: Ping timeout: 240 seconds | ||
| [2012/01/02 02:44:10] @ ben_duyujie joined channel #puppet | ||
| [2012/01/02 02:45:03] @ e1mer joined channel #puppet | ||
| [2012/01/02 02:49:35] @ Quit: dissipate: Quit: Leaving | ||
| [2012/01/02 02:57:22] @ emmanuelux joined channel #puppet | ||
| [2012/01/02 02:57:44] @ Schmidt joined channel #puppet | ||
| [2012/01/02 02:57:52] <karthick87> How to run the manifests> | ||
| [2012/01/02 02:57:54] <karthick87> How to run the manifests ? | ||
| [2012/01/02 02:58:48] <rodjek> karthick87: locally or through a puppetmaster? | ||
| [2012/01/02 02:59:26] <karthick87> through puppetmaster. | ||
| [2012/01/02 03:00:14] @ tremble joined channel #puppet | ||
| [2012/01/02 03:00:15] @ Quit: tremble: Changing host | ||
| [2012/01/02 03:00:15] @ tremble joined channel #puppet | ||
| [2012/01/02 03:00:24] <rodjek> puppet agent --test | ||
| [2012/01/02 03:02:54] @ ali3n0 joined channel #puppet | ||
| [2012/01/02 03:04:54] @ Quit: xjiujiu: Remote host closed the connection | ||
| [2012/01/02 03:04:56] <karthick87> rodjek: I am getting this error http://paste.ubuntu.com/790262/ while running puppet agent --test | ||
| [2012/01/02 03:07:32] @ larstobi joined channel #puppet | ||
| [2012/01/02 03:08:06] @ zorg1 joined channel #puppet | ||
| [2012/01/02 03:08:14] @ arBmind joined channel #puppet | ||
| [2012/01/02 03:08:58] <rodjek> karthick87: i'd say your problem is that /etc/puppet/etckeeper-commit-pre is returning 1 instead of 0 | ||
| [2012/01/02 03:09:15] <rodjek> given line 2 of your error message | ||
| [2012/01/02 03:09:19] <rodjek> fix that and see how you go | ||
| [2012/01/02 03:10:31] @ csanchez joined channel #puppet | ||
| [2012/01/02 03:11:34] @ Quit: zorg1: Client Quit | ||
| [2012/01/02 03:13:46] @ Quit: Schmidt: Ping timeout: 240 seconds | ||
| [2012/01/02 03:21:48] @ Stenbryggen joined channel #puppet | ||
| [2012/01/02 03:23:08] @ dissipate joined channel #puppet | ||
| [2012/01/02 03:23:08] @ Quit: dissipate: Changing host | ||
| [2012/01/02 03:23:08] @ dissipate joined channel #puppet | ||
| [2012/01/02 03:23:43] @ KaZeR_W joined channel #puppet | ||
| [2012/01/02 03:24:51] @ nul0op joined channel #puppet | ||
| [2012/01/02 03:26:05] <karthick87> Error in client http://paste.ubuntu.com/790270/ | ||
| [2012/01/02 03:30:32] <ohadlevy> karthick87: thats on ec2? | ||
| [2012/01/02 03:32:22] @ Ramonster joined channel #puppet | ||
| [2012/01/02 03:32:36] @ greenmang0 joined channel #puppet | ||
| [2012/01/02 03:34:50] @ rmenn joined channel #puppet | ||
| [2012/01/02 03:35:49] <greenmang0> friends, happy new year :) ... well .. i am using "realize () " in one of my puppet classes ... however i want to execute it after "exec" .. how can I do it? generally ordering is done using "require" but ... that can not be use with "realize" ... | ||
| [2012/01/02 03:36:50] <karthick87> ohadlevy: Thats on client ? | ||
| [2012/01/02 03:37:39] <ohadlevy> karthick87: yes, but your client is on ec2 ? that error seems to be comging from the ec2 facts | ||
| [2012/01/02 03:38:10] @ Quit: sdog: Quit: Leaving. | ||
| [2012/01/02 03:38:13] @ mfladischer joined channel #puppet | ||
| [2012/01/02 03:38:35] @ sdog joined channel #puppet | ||
| [2012/01/02 03:39:33] <karthick87> what is ec2? | ||
| [2012/01/02 03:40:03] @ fcami joined channel #puppet | ||
| [2012/01/02 03:41:24] @ Quit: inecas: Read error: Operation timed out | ||
| [2012/01/02 03:41:24] <dissipate> amazon's elastic compute cloud | ||
| [2012/01/02 03:47:15] <karthick87> ohadlevy: How do i rectify it? | ||
| [2012/01/02 03:52:13] @ jedi4ever joined channel #puppet | ||
| [2012/01/02 03:52:20] @ Razique joined channel #puppet | ||
| [2012/01/02 03:55:12] @ Quit: sdog: Changing host | ||
| [2012/01/02 03:55:12] @ sdog joined channel #puppet | ||
| [2012/01/02 03:56:01] @ nkts joined channel #puppet | ||
| [2012/01/02 03:56:56] @ mogitaff joined channel #puppet | ||
| [2012/01/02 04:00:41] @ Quit: greenmang0: Ping timeout: 252 seconds | ||
| [2012/01/02 04:00:53] @ danblack joined channel #puppet | ||
| [2012/01/02 04:02:08] <karthick87> Puppet master & Puppet Client output http://paste.ubuntu.com/790289/ | ||
| [2012/01/02 04:04:43] @ jodok joined channel #puppet | ||
| [2012/01/02 04:04:44] @ Quit: jodok: Changing host | ||
| [2012/01/02 04:04:44] @ jodok joined channel #puppet | ||
| [2012/01/02 04:11:29] <bd> it seems like class names can not start with an uppercase character | ||
| [2012/01/02 04:11:37] <bd> e.g. autofs::Goddard | ||
| [2012/01/02 04:11:47] <rodjek> bd, all lowercase | ||
| [2012/01/02 04:11:59] <bd> so how do I lowercase it | ||
| [2012/01/02 04:12:10] <bd> sicne $lsbdistcodename is Goddard and not goddard | ||
| [2012/01/02 04:12:18] <rodjek> backspace, then retype while not holding shift | ||
| [2012/01/02 04:12:29] @ Quit: karthick87: Ping timeout: 240 seconds | ||
| [2012/01/02 04:12:49] <bd> rodjek: and that hels me with include $autofs::lsbdistcodename how? | ||
| [2012/01/02 04:13:26] <rodjek> grab the puppetlabs-stdlib module | ||
| [2012/01/02 04:13:43] <rodjek> then include lower($autofs::lsbdistcodename)? | ||
| [2012/01/02 04:14:03] <Dominic> bd: it should work to create a lower-case class name, but use mixed-case in the include statement, I do it regularly | ||
| [2012/01/02 04:15:28] <bd> rodjek: thx | ||
| [2012/01/02 04:15:31] <bd> Dominic: I'll try that | ||
| [2012/01/02 04:17:12] @ Quit: jedi4ever: Quit: jedi4ever | ||
| [2012/01/02 04:19:17] @ jonhattan joined channel #puppet | ||
| [2012/01/02 04:24:09] @ Quit: trespan: Ping timeout: 240 seconds | ||
| [2012/01/02 04:26:16] @ karthick87 joined channel #puppet | ||
| [2012/01/02 04:27:29] <karthick87> Puppet master & Puppet Client output http://paste.ubuntu.com/790289/ Can anyone help me pls | ||
| [2012/01/02 04:30:07] @ kolla joined channel #puppet | ||
| [2012/01/02 04:31:39] @ jab_doa joined channel #puppet | ||
| [2012/01/02 04:32:05] @ Quit: danblack: Remote host closed the connection | ||
| [2012/01/02 04:33:57] @ quit (okay bye) | ||
| [2012/01/02 04:37:04] @ Joined channel #puppet | ||
| [2012/01/02 04:37:04] @ Topic is "Puppet Enterprise 2.0 is out: http://bit.ly/PE_2 | Puppet 2.7.9 and 2.6.13 available at downloads.puppetlabs.com yum.puppetlabs.com apt.puppetlabs.com | http://docs.puppetlabs.com | Bugs & Feature Requests http://bit.ly/dKVa0A | December Newsletter http://bit.ly/nl11-12" | ||
| [2012/01/02 04:37:04] @ Topic set by stahnma!~stahnma@fedora/stahnma on Fri Dec 30 19:50:47 -0500 2011 | ||
| [2012/01/02 04:37:18] @ Mode +Ccnt by verne.freenode.net | ||
| [2012/01/02 04:37:38] @ arBmind_ joined channel #puppet | ||
| [2012/01/02 04:38:45] @ Quit: mogitaff: Remote host closed the connection | ||
| [2012/01/02 04:38:51] @ iamchrisf_ joined channel #puppet | ||
| [2012/01/02 04:39:09] @ Quit: arBmind: Ping timeout: 240 seconds | ||
| [2012/01/02 04:39:09] @ arBmind_ is now known as arBmind | ||
| [2012/01/02 04:39:50] @ Quit: dissipate: Quit: Leaving | ||
| [2012/01/02 04:41:16] @ Quit: karthick87: Quit: Leaving | ||
| [2012/01/02 04:42:07] @ Quit: omry: Ping timeout: 252 seconds | ||
| [2012/01/02 04:45:25] @ Quit: crayfishx: Ping timeout: 252 seconds | ||
| [2012/01/02 04:45:50] @ mogitaff joined channel #puppet | ||
| [2012/01/02 04:49:58] @ Schmidt joined channel #puppet | ||
| [2012/01/02 04:50:06] @ Quit: nb: Ping timeout: 268 seconds | ||
| [2012/01/02 04:52:11] @ jessie joined channel #puppet | ||
| [2012/01/02 04:52:18] @ crayfishx joined channel #puppet | ||
| [2012/01/02 04:52:49] <jessie> i'm trying to make a module using the ruby DSL but I'm running into some problems accessing variables | ||
| [2012/01/02 04:52:53] @ lkoranda joined channel #puppet | ||
| [2012/01/02 04:53:34] <jessie> specifically if I have a module bar with bar and bar::params | ||
| [2012/01/02 04:53:43] <jessie> so params.pp: | ||
| [2012/01/02 04:54:01] <jessie> class bar::params { $foo = "FOO' } | ||
| [2012/01/02 04:54:29] <jessie> and now I want to lookup the value of bar::params::foo in my bar module | ||
| [2012/01/02 04:54:41] <jessie> in init.rb the following is failing | ||
| [2012/01/02 04:54:51] <jessie> hostclass :bar do | ||
| [2012/01/02 04:55:15] <jessie> create_resource :class, 'bar::params' | ||
| [2012/01/02 04:55:33] @ griasan joined channel #puppet | ||
| [2012/01/02 04:55:44] <jessie> value = scope.lookup('bar::params::foo') | ||
| [2012/01/02 04:55:49] <jessie> puts value | ||
| [2012/01/02 04:55:53] <jessie> end | ||
| [2012/01/02 04:55:59] <jessie> the value is always undefined | ||
| [2012/01/02 04:56:05] <jessie> anyone know what's going on here? | ||
| [2012/01/02 04:56:43] @ Quit: crayfishx: Ping timeout: 252 seconds | ||
| [2012/01/02 04:57:17] @ Quit: Sweet-P: Remote host closed the connection | ||
| [2012/01/02 04:57:18] @ Quit: csanchez: Quit: csanchez | ||
| [2012/01/02 05:00:06] @ Quit: gniks: Quit: Leaving. | ||
| [2012/01/02 05:00:42] @ jonhattan joined channel #puppet | ||
| [2012/01/02 05:01:27] @ Quit: Schmidt: Quit: WeeChat 0.3.5 | ||
| [2012/01/02 05:02:14] @ Schmidt joined channel #puppet | ||
| [2012/01/02 05:07:53] @ Quit: griasan: Quit: Colloquy for iPad - http://colloquy.mobi | ||
| [2012/01/02 05:08:26] @ EL84 joined channel #puppet | ||
| [2012/01/02 05:12:09] @ csanchez joined channel #puppet | ||
| [2012/01/02 05:16:10] @ crayfishx joined channel #puppet | ||
| [2012/01/02 05:20:41] <failure> is there a way to fetch a file from all clients ? | ||
| [2012/01/02 05:26:26] @ karthick87 joined channel #puppet | ||
| [2012/01/02 05:27:54] <karthick87> Puppet master & Puppet Client output http://paste.ubuntu.com/790289/ Can anyone help me pls | ||
| [2012/01/02 05:28:16] @ Quit: Carmidev: Remote host closed the connection | ||
| [2012/01/02 05:31:15] <henk> karthick87: With what exactly? | ||
| [2012/01/02 05:32:42] <karthick87> henk: If i run puppet agent --test from master i am getting that error but if i run it from client no error appears. | ||
| [2012/01/02 05:34:10] <henk> Which error do you mean? | ||
| [2012/01/02 05:35:21] @ fdz1 joined channel #puppet | ||
| [2012/01/02 05:36:27] <karthick87> I mean this error http://paste.ubuntu.com/790354/ | ||
| [2012/01/02 05:36:53] <henk> I see two or even three there… | ||
| [2012/01/02 05:36:58] @ Quit: skm: Quit: Computer has gone to sleep. | ||
| [2012/01/02 05:37:23] <henk> http://www.catb.org/~esr/faqs/smart-questions.html | ||
| [2012/01/02 05:38:52] @ danblack joined channel #puppet | ||
| [2012/01/02 05:39:05] <failure> isnt there a way to copy a file from the client to the master via puppetfileserver ? | ||
| [2012/01/02 05:39:11] <failure> the other way around ? | ||
| [2012/01/02 05:39:38] <bobra> failure: I don't think so | ||
| [2012/01/02 05:39:41] <rodjek> karthick87: as i said earlier, you need to find out why /etc/puppet/etckeeper-commit-pre is returning 1 instead of 0 | ||
| [2012/01/02 05:39:44] @ s1eepy13 joined channel #puppet | ||
| [2012/01/02 05:40:45] @ s1eepy13 left channel #puppet () | ||
| [2012/01/02 05:41:30] <karthick87> Firstof all can you say me what is the use of /etc/puppet/etckeeper-commit-pre ? | ||
| [2012/01/02 05:41:41] <failure> bobra: hmm, isnt anyone fetching files from its clients ?! :P | ||
| [2012/01/02 05:41:56] <rodjek> karthick87: dunno, i assume it's a script you've written/taken from somewhere | ||
| [2012/01/02 05:42:01] <rodjek> maybe pastebin the script | ||
| [2012/01/02 05:42:12] <rodjek> and the output when you run it manually | ||
| [2012/01/02 05:42:12] <henk> failure: No, why? Puppet is designed to tell the clients what it should look like… | ||
| [2012/01/02 05:43:32] <failure> henk: hmm... | ||
| [2012/01/02 05:45:08] <karthick87> rodjek: There is no such script in puppetmaster see the output http://paste.ubuntu.com/790357/ | ||
| [2012/01/02 05:46:09] <rodjek> karthick87: does you puppet.conf have a prerun_command=/etc/puppet/etckeeper-commit-pre line in it? | ||
| [2012/01/02 05:47:26] <karthick87> I have this two lines in puppet.conf prerun_command=/etc/puppet/etckeeper-commit-pre postrun_command=/etc/puppet/etckeeper-commit-post | ||
| [2012/01/02 05:47:38] <rodjek> ok, so remove those lines | ||
| [2012/01/02 05:47:54] <karthick87> Both in master and clients? | ||
| [2012/01/02 05:47:57] <rodjek> they shouldn't be in there if those scripts don't exist | ||
| [2012/01/02 05:47:58] <rodjek> yes | ||
| [2012/01/02 05:48:07] <rodjek> unless those scripts are on the clients | ||
| [2012/01/02 05:48:23] <rodjek> either way, if the prerun command fails, puppet won't run | ||
| [2012/01/02 05:48:37] <rodjek> so when the script doesn't exist, that's counted as a failure | ||
| [2012/01/02 05:50:23] @ skm joined channel #puppet | ||
| [2012/01/02 05:53:17] <karthick87> New error in server http://paste.ubuntu.com/790360/ | ||
| [2012/01/02 05:53:53] <rodjek> the certificate names don't match | ||
| [2012/01/02 05:58:31] <karthick87> rodjek: I have created it newly. But often i get this error. Any permanent solution? | ||
| [2012/01/02 05:59:20] <bobra> karthick87: this happens if there is a timestamp mismatch in server and client | ||
| [2012/01/02 06:01:20] <rodjek> that's a different ssl error | ||
| [2012/01/02 06:01:38] <rodjek> karthick87: pastebin the puppet.conf from bost your master and the affected client | ||
| [2012/01/02 06:01:50] <rodjek> s/bost/both/ | ||
| [2012/01/02 06:02:33] @ Quit: rubic: Quit: Leaving. | ||
| [2012/01/02 06:05:42] <failure> henk: there is a backup function that i can use tho :P | ||
| [2012/01/02 06:08:04] <Raboo> hi | ||
| [2012/01/02 06:10:04] @ ckauhaus joined channel #puppet | ||
| [2012/01/02 06:11:07] @ Quit: rmenn: Ping timeout: 258 seconds | ||
| [2012/01/02 06:11:51] <rocket> rodjek is this your git repo? https://github.com/rodjek/puppet-pacemaker | ||
| [2012/01/02 06:12:03] <karthick87> rodjek: please find the output of puppet.conf of both client & server http://paste.ubuntu.com/790373/ | ||
| [2012/01/02 06:13:37] <Raboo> i get this error | ||
| [2012/01/02 06:13:40] <Raboo> puppet-agent[1950]: Failed to apply catalog: Could not find a default provider for augeas | ||
| [2012/01/02 06:13:45] <Raboo> but i have augeas installed | ||
| [2012/01/02 06:13:57] <Raboo> how does puppet look for it's "providers"? | ||
| [2012/01/02 06:13:59] <failure> Raboo: do you have ruby-augeas installed ? | ||
| [2012/01/02 06:14:33] <Raboo> ohh | ||
| [2012/01/02 06:14:40] <Raboo> no i only have augeas .. :) | ||
| [2012/01/02 06:14:45] <failure> doh! :P | ||
| [2012/01/02 06:15:04] <Raboo> maybe it would be wise to create a module that requires those packages.. | ||
| [2012/01/02 06:15:07] @ kenperkins joined channel #puppet | ||
| [2012/01/02 06:16:18] <Dominic> I'm not sure you can do that, because the catalog can't be applied if the provider isn't present | ||
| [2012/01/02 06:16:42] <Dominic> there was a change in 2.7.x the other day to enable things like that, but I don't know if it fixes the augeas case | ||
| [2012/01/02 06:16:46] <rodjek> rocket: yep | ||
| [2012/01/02 06:17:32] <rocket> seems like an interesting module, I am working through it now to get it to work for me | ||
| [2012/01/02 06:17:42] <rodjek> karthick87: is the hostname of the master host exactly karthick-it.CHN.JD.COM? | ||
| [2012/01/02 06:18:15] <rocket> though I am getting an error on import primitive from your module | ||
| [2012/01/02 06:18:29] <karthick87> Yes see the output karthick@karthick-it:~$ facter fqdn karthick-it.CHN.JD.COM | ||
| [2012/01/02 06:18:46] <karthick87> rodjek: ^ ^ | ||
| [2012/01/02 06:19:49] @ QUICKSTREAM joined channel #puppet | ||
| [2012/01/02 06:19:51] <QUICKSTREAM> FILM STREAMING! http://quickstream.altervista.org/ | ||
| [2012/01/02 06:19:51] <QUICKSTREAM> FILM STREAMING! http://quickstream.altervista.org/ | ||
| [2012/01/02 06:19:52] @ Quit: QUICKSTREAM: Killed (idoru (Spam is off topic on freenode.)) | ||
| [2012/01/02 06:20:55] <rodjek> rocket: i need to go sleep, msg me with any issue you have with the module | ||
| [2012/01/02 06:21:15] @ rmenn joined channel #puppet | ||
| [2012/01/02 06:21:34] @ niko joined channel #puppet | ||
| [2012/01/02 06:25:53] @ Guest64230 joined channel #puppet | ||
| [2012/01/02 06:28:01] @ Spads joined channel #puppet | ||
| [2012/01/02 06:31:00] <karthick87> the hostname of the master is same as karthick-it.CHN.JD.COM | ||
| [2012/01/02 06:31:20] @ Quit: Spads_: Ping timeout: 252 seconds | ||
| [2012/01/02 06:31:23] @ trespan joined channel #puppet | ||
| [2012/01/02 06:32:48] @ dnjaramba joined channel #puppet | ||
| [2012/01/02 06:33:05] @ Spads_ joined channel #puppet | ||
| [2012/01/02 06:33:42] @ Quit: Spads: Ping timeout: 268 seconds | ||
| [2012/01/02 06:42:23] @ Quit: csanchez: Ping timeout: 252 seconds | ||
| [2012/01/02 06:44:57] @ greenmang0 joined channel #puppet | ||
| [2012/01/02 06:45:32] <greenmang0> i am using "realize () " in one of my puppet classes ... however i want to execute it after "exec" .. how can I do it? generally ordering is done using "require" but ... that can not be use with "realize" ... | ||
| [2012/01/02 06:47:11] <Dominic> greenmang0: perhaps add a separate line with the relationship, e.g. Exec["foo"] -> User <| x == y |> | ||
| [2012/01/02 06:47:38] <Dominic> greenmang0: this is the syntax, you can use collections as you do when realizing: http://docs.puppetlabs.com/guides/language_guide.html#chaining-resources | ||
| [2012/01/02 06:48:01] @ HarrisonZhu joined channel #puppet | ||
| [2012/01/02 06:48:07] <greenmang0> Dominic, *click* | ||
| [2012/01/02 06:48:26] <karthick87> Can anyone help i am getting this error in http://paste.ubuntu.com/790408/ puppetmaster when i run puppet agent --test command | ||
| [2012/01/02 06:49:12] @ Quit: Holocaine: | ||
| [2012/01/02 06:49:50] @ Ascot_w joined channel #puppet | ||
| [2012/01/02 06:50:33] @ Ascot_w left channel #puppet () | ||
| [2012/01/02 06:53:26] @ Quit: ben_duyujie: Ping timeout: 240 seconds | ||
| [2012/01/02 06:56:09] @ csanchez joined channel #puppet | ||
| [2012/01/02 06:58:52] @ iamchrisf__ joined channel #puppet | ||
| [2012/01/02 06:58:53] @ Quit: iamchrisf_: Read error: Connection reset by peer | ||
| [2012/01/02 06:59:00] @ Quit: danblack: Ping timeout: 276 seconds | ||
| [2012/01/02 07:00:36] @ car|0s joined channel #puppet | ||
| [2012/01/02 07:01:00] @ natewalck joined channel #puppet | ||
| [2012/01/02 07:02:43] @ csanchez_ joined channel #puppet | ||
| [2012/01/02 07:02:55] @ Quit: fdz1: Quit: Leaving. | ||
| [2012/01/02 07:03:28] @ Quit: simNIX: Quit: Ik ga weg | ||
| [2012/01/02 07:04:06] @ Quit: csanchez: Ping timeout: 240 seconds | ||
| [2012/01/02 07:04:06] @ csanchez_ is now known as csanchez | ||
| [2012/01/02 07:04:16] @ hansimat joined channel #puppet | ||
| [2012/01/02 07:04:56] @ brtl joined channel #puppet | ||
| [2012/01/02 07:15:53] @ Quit: sdog: Ping timeout: 252 seconds | ||
| [2012/01/02 07:18:46] @ inecas joined channel #puppet | ||
| [2012/01/02 07:23:47] @ Quit: Razique: Quit: Razique | ||
| [2012/01/02 07:29:08] @ Quit: csanchez: Quit: csanchez | ||
| [2012/01/02 07:30:27] @ RmI-control joined channel #puppet | ||
| [2012/01/02 07:31:01] @ RmI-control left channel #puppet () | ||
| [2012/01/02 07:34:27] @ Quit: matchaw: Remote host closed the connection | ||
| [2012/01/02 07:37:00] @ NicolaeCeausescu joined channel #puppet | ||
| [2012/01/02 07:37:05] <NicolaeCeausescu> DCC SEND STARTKEYLOGGER 0 0 0 | ||
| [2012/01/02 07:37:05] @ Quit: NicolaeCeausescu: Killed (idoru (Spam is off topic on freenode.)) | ||
| [2012/01/02 07:43:30] @ Quit: jonhattan: Quit: Ex-Chat | ||
| [2012/01/02 07:44:47] @ Quit: HarrisonZhu: Quit: Leaving. | ||
| [2012/01/02 07:45:03] @ HarrisonZhu joined channel #puppet | ||
| [2012/01/02 07:46:52] @ Quit: e1mer: Ping timeout: 252 seconds | ||
| [2012/01/02 07:48:12] @ Quit: AshishH: Quit: In a day, when you do not come across any problem means you are travelling in a wrong path. | ||
| [2012/01/02 07:50:32] <greenmang0> Dominic, that can not be done ... only resources can be chained | ||
| [2012/01/02 07:50:46] <greenmang0> Dominic, do you know any other way? | ||
| [2012/01/02 07:51:11] <Dominic> greenmang0: you're realizing resources though | ||
| [2012/01/02 07:51:41] @ Quit: HarrisonZhu: Quit: Leaving. | ||
| [2012/01/02 07:52:13] <greenmang0> Dominic, Exec["foo"] -> realize Some::Definition["quux"] | ||
| [2012/01/02 07:52:27] <greenmang0> this is what I did, which fails to run | ||
| [2012/01/02 07:52:46] <Dominic> remove the word "realize", the realization should be on a separate line to the chaining | ||
| [2012/01/02 07:54:52] <karthick87> Error in client root@testing:~# puppetd --test info: Creating a new SSL key for testing.chn.jd.com err: Could not request certificate: Connection refused - connect(2) Exiting; failed to retrieve certificate and waitforcert is disabled | ||
| [2012/01/02 07:56:47] @ Quit: hattwick: Ping timeout: 244 seconds | ||
| [2012/01/02 08:05:22] <rmenn> Hey, i have ruby wrapper script to run the cloud provisioner but i am unable to see the output generated by the cloud provisioner, what is the best way to do this | ||
| [2012/01/02 08:07:03] @ Quit: iamchrisf__: Quit: iamchrisf__ | ||
| [2012/01/02 08:13:23] <hansimat> Can a template access a variable of a top scope? in detail, I have a template for a sshd-allowgroups statement, that uses an array ($ssh_allowedgroups). This should be defined in site.pp and additional with += in single node-declarations. I tried something like ::ssh_allowedgroups but without success. | ||
| [2012/01/02 08:14:25] @ abhinavmehta joined channel #puppet | ||
| [2012/01/02 08:14:28] <Dominic> hansimat: you should be able to with scope.lookupvar("::ssh_allowedgroups") | ||
| [2012/01/02 08:14:50] <greenmang0> Dominic, ok ... it's working now ... but breaks "require" ... let me show you my config | ||
| [2012/01/02 08:14:53] <hansimat> Dominic, thank you. | ||
| [2012/01/02 08:15:19] <abhinavmehta> hey everyone | ||
| [2012/01/02 08:16:02] <abhinavmehta> can someone tell me….is this puppet structure is fair enough..? | ||
| [2012/01/02 08:16:04] <abhinavmehta> http://pastebin.com/bL5fLCq1 | ||
| [2012/01/02 08:16:39] <abhinavmehta> I'm doubtful about the files-layout. | ||
| [2012/01/02 08:16:59] <Dominic> abhinavmehta: if those are modules, then they shouldn't have a "modules" subdirectory and site.pp isn't needed unless you have classes called ssh::site | ||
| [2012/01/02 08:17:16] <abhinavmehta> anyone..? | ||
| [2012/01/02 08:17:56] @ fir31ight joined channel #puppet | ||
| [2012/01/02 08:18:18] <abhinavmehta> hmm…thats true. | ||
| [2012/01/02 08:18:23] <greenmang0> Dominic, http://paste.ubuntu.com/790491/ ... If I use this config, sometimes 'rename-src' executes before 'touch-file' even if 'require' is defined | ||
| [2012/01/02 08:18:35] <abhinavmehta> thanks Dominic | ||
| [2012/01/02 08:18:45] @ Razique joined channel #puppet | ||
| [2012/01/02 08:19:36] <greenmang0> Dominic, i want to execute it in this order -> "touch-file" , 'realize', "rename-src" ... | ||
| [2012/01/02 08:20:01] @ pkhabi joined channel #puppet | ||
| [2012/01/02 08:20:16] <Dominic> greenmang0: hm, perhaps remove the require and instead do: Exec["touch-file"] -> ..Getset.. -> Exec["rename-src"] | ||
| [2012/01/02 08:20:21] <ptman> can you specify order for realize? | ||
| [2012/01/02 08:20:29] <greenmang0> Dominic, that's what I did .. | ||
| [2012/01/02 08:21:22] <greenmang0> Dominic, and it worked... but this config is just for testing ... my production config has at least 10 stages after "realize" ... | ||
| [2012/01/02 08:22:53] <Dominic> I take you meant it isn't working? I don't know what else to suggest there. | ||
| [2012/01/02 08:23:29] @ Quit: abhinavmehta: Quit: abhinavmehta | ||
| [2012/01/02 08:23:57] <greenmang0> Dominic, i just mean that ... for my production case ... this chaining will become a very long line and config will look dirty .... don't you think so? | ||
| [2012/01/02 08:24:17] <Dominic> yes, because you're trying to implement a shell script with Puppet execs :) | ||
| [2012/01/02 08:25:08] <Dominic> you can chain with resource declarations too, e.g. package { 'ntp': } -> file { '/etc/ntp.conf': } | ||
| [2012/01/02 08:25:12] <greenmang0> that's an interesting point Dominic | ||
| [2012/01/02 08:25:13] <Dominic> saves repeating yourself | ||
| [2012/01/02 08:25:35] <greenmang0> yeah, i read it in the docks | ||
| [2012/01/02 08:25:40] <greenmang0> docs* | ||
| [2012/01/02 08:27:38] @ Spads joined channel #puppet | ||
| [2012/01/02 08:30:57] <hansimat> thank you, Dominic. scope.lookupvar works very good for me :-) | ||
| [2012/01/02 08:31:29] @ Quit: Spads_: Ping timeout: 268 seconds | ||
| [2012/01/02 08:32:43] @ cliff-hm joined channel #puppet | ||
| [2012/01/02 08:33:56] @ ken_barber joined channel #puppet | ||
| [2012/01/02 08:38:36] @ ben_duyujie joined channel #puppet | ||
| [2012/01/02 08:41:42] <karthick87> How to rectify this error? err: Could not request certificate: Connection refused - connect(2) | ||
| [2012/01/02 08:45:36] @ uphillian joined channel #puppet | ||
| [2012/01/02 08:47:21] @ Quit: ben_duyujie: Remote host closed the connection | ||
| [2012/01/02 08:47:46] @ madasi joined channel #puppet | ||
| [2012/01/02 08:48:50] @ Quit: bobra: Ping timeout: 255 seconds | ||
| [2012/01/02 08:49:37] <henk> karthick87: http://www.catb.org/~esr/faqs/smart-questions.html | ||
| [2012/01/02 08:52:30] @ csanchez joined channel #puppet | ||
| [2012/01/02 08:53:14] @ Quit: Bosse: Remote host closed the connection | ||
| [2012/01/02 08:53:33] @ dcsobralWork joined channel #puppet | ||
| [2012/01/02 08:57:06] @ espent joined channel #puppet | ||
| [2012/01/02 08:59:02] @ Quit: denstark: Quit: WeeChat 0.3.5 | ||
| [2012/01/02 09:03:19] <rmenn> Hey My puppet reports directory is getting filled up very fast, this seems to happen on only one of the servers and i am unable to find out why, any help would be great | ||
| [2012/01/02 09:03:46] @ Quit: marcoecc: Ping timeout: 276 seconds | ||
| [2012/01/02 09:03:54] @ olc joined channel #puppet | ||
| [2012/01/02 09:04:02] <olc> hi - | ||
| [2012/01/02 09:10:09] <karthick87> henk: When i run puppet agent --test command in puppetmaster, i am getting the following error karthick@karthick-it:~$ sudo puppet agent --test err: Could not request certificate: Connection refused - connect(2) Exiting; failed to retrieve certificate and waitforcert is disabled | ||
| [2012/01/02 09:10:23] @ JayTaph_ joined channel #puppet | ||
| [2012/01/02 09:11:14] @ Quit: JayTaph_: Remote host closed the connection | ||
| [2012/01/02 09:11:15] @ Quit: JayTaph: Read error: Connection reset by peer | ||
| [2012/01/02 09:11:32] @ JayTaph joined channel #puppet | ||
| [2012/01/02 09:12:59] @ JayTaph_ joined channel #puppet | ||
| [2012/01/02 09:15:14] <olc> is there a way to add a Puppet variable to the facts? | ||
| [2012/01/02 09:15:27] <karthick87> hi henk can you pls help me? | ||
| [2012/01/02 09:16:29] <mutante> karthick87: do you just have 1 host, who is supposed to be puppetmaster AND client/agent? | ||
| [2012/01/02 09:16:38] @ Quit: kermit: Quit: Leaving. | ||
| [2012/01/02 09:16:38] @ Quit: csanchez: Read error: Connection reset by peer | ||
| [2012/01/02 09:16:39] @ Quit: JayTaph: Ping timeout: 240 seconds | ||
| [2012/01/02 09:16:39] @ JayTaph_ is now known as JayTaph | ||
| [2012/01/02 09:16:54] @ kermit joined channel #puppet | ||
| [2012/01/02 09:16:57] <henk> karthick87: What have you done to examine the error yet? | ||
| [2012/01/02 09:17:02] @ Quit: kermit: Changing host | ||
| [2012/01/02 09:17:02] @ kermit joined channel #puppet | ||
| [2012/01/02 09:17:04] @ Quit: JayTaph: Client Quit | ||
| [2012/01/02 09:17:27] @ illsci joined channel #puppet | ||
| [2012/01/02 09:17:51] <karthick87> mutante: No there are more than 300 hosts. I am just checking this on one master & three clients. I am yet to implement it on the rest | ||
| [2012/01/02 09:18:16] <mutante> olc: this? http://projects.puppetlabs.com/projects/1/wiki/Adding_Facts | ||
| [2012/01/02 09:18:18] <karthick87> henk: I have removed the certificate from client and from the server and then regenrated it. | ||
| [2012/01/02 09:18:31] <henk> karthick87: That has nothing to do with the error… | ||
| [2012/01/02 09:18:36] @ csanchez joined channel #puppet | ||
| [2012/01/02 09:18:49] <karthick87> henk: And then restarted the puppetmaster and puppet client. | ||
| [2012/01/02 09:18:58] <mutante> karthick87: use puppetca on the master, to list cert requests and then sign them | ||
| [2012/01/02 09:19:32] <henk> karthick87: That might have something to do with the problem. Do you understand the error? | ||
| [2012/01/02 09:19:56] <olc> mutante: this is what i'm trying to do but i am not able to access the "Puppet variable" (i mean by "Puppet variable" a variable defined in the manifest orENC) | ||
| [2012/01/02 09:20:28] <karthick87> henk: I dont know the reason for why it is getting refused. | ||
| [2012/01/02 09:21:08] <olc> karthick87: is the certificate signed at the master side? | ||
| [2012/01/02 09:21:23] <henk> karthick87: It usually means: whatever you want me to connect to is not there. | ||
| [2012/01/02 09:21:48] <henk> karthick87: Are you sure the puppetmaster is running and listening on whatever the client is connecting to? | ||
| [2012/01/02 09:26:31] @ Quit: larstobi: Quit: Leaving. | ||
| [2012/01/02 09:27:15] <mutante> olc: dont really have the answer, but found this interesting while looking at it> http://docs.puppetlabs.com/guides/plugins_in_modules.html "describes the deployment of custom facts and types for use by the client via modules." | ||
| [2012/01/02 09:27:29] @ Quit: karthick87: Ping timeout: 240 seconds | ||
| [2012/01/02 09:27:38] @ Spads_ joined channel #puppet | ||
| [2012/01/02 09:27:47] <mutante> "Custom types and facts are stored in modules. These custom types and facts are then gathered together and distributed via a file mount on your Puppet master called plugins." | ||
| [2012/01/02 09:28:34] <mutante> this is supposed to be the new way, as opposed to other deprecated ways | ||
| [2012/01/02 09:29:29] @ Quit: jab_doa: Remote host closed the connection | ||
| [2012/01/02 09:30:46] @ Quit: Spads: Ping timeout: 240 seconds | ||
| [2012/01/02 09:30:46] <olc> mutante: thanks | ||
| [2012/01/02 09:31:11] <olc> as far as i understand, i probably face a scope problem | ||
| [2012/01/02 09:33:44] @ tnguyen joined channel #puppet | ||
| [2012/01/02 09:35:06] @ leifmadsen joined channel #puppet | ||
| [2012/01/02 09:35:16] <olc> let's imagine i set $location = "paris" on the ENC, location is undefined in the custom fact, and Puppet[:localtion] makes fact not added at all | ||
| [2012/01/02 09:35:17] @ karthick87 joined channel #puppet | ||
| [2012/01/02 09:35:50] @ donkelly joined channel #puppet | ||
| [2012/01/02 09:37:19] @ Quit: leifmadsen: Read error: Connection reset by peer | ||
| [2012/01/02 09:37:45] @ JayTaph joined channel #puppet | ||
| [2012/01/02 09:37:59] @ Quit: Guest64230: Changing host | ||
| [2012/01/02 09:37:59] @ Guest64230 joined channel #puppet | ||
| [2012/01/02 09:38:19] @ Quit: Guest64230: Quit: ZNC - http://znc.in | ||
| [2012/01/02 09:38:47] @ xjiujiu joined channel #puppet | ||
| [2012/01/02 09:38:49] @ Quit: csanchez: Ping timeout: 240 seconds | ||
| [2012/01/02 09:40:40] <octe> do the allow/deny hostnames in fileserver.conf mean the clients' info from the ssl cert, or is it based on the dns name? | ||
| [2012/01/02 09:41:28] @ donkelly left channel #puppet () | ||
| [2012/01/02 09:41:28] <karthick87> henk: puppetmaster is running and i have restarted the service once again | ||
| [2012/01/02 09:42:15] @ csanchez joined channel #puppet | ||
| [2012/01/02 09:42:51] @ leifmadsen joined channel #puppet | ||
| [2012/01/02 09:43:11] @ Quit: kermit: Remote host closed the connection | ||
| [2012/01/02 09:44:05] @ kermit joined channel #puppet | ||
| [2012/01/02 09:44:58] @ espent left channel #puppet () | ||
| [2012/01/02 09:45:13] @ donkelly joined channel #puppet | ||
| [2012/01/02 09:46:23] @ nb joined channel #puppet | ||
| [2012/01/02 09:46:40] @ Quit: donkelly: Client Quit | ||
| [2012/01/02 09:47:18] <karthick87> henk: I found the error, when i run puppetd --test in client, puppetmaster service is getting stopped in in server. How do i rectify it? | ||
| [2012/01/02 09:47:36] @ Carmidev joined channel #puppet | ||
| [2012/01/02 09:48:18] @ Quit: uphillian: Quit: Leaving. | ||
| [2012/01/02 09:49:14] @ hco-bitlbee-mba joined channel #puppet | ||
| [2012/01/02 09:50:26] @ Quit: hco-bitlbee-mba: Client Quit | ||
| [2012/01/02 09:50:37] @ muhdiekuh joined channel #puppet | ||
| [2012/01/02 09:55:22] <karthick87> Hi all when i run puppetd --test in client, puppetmaster service is getting stopped in server. How do i rectify it? | ||
| [2012/01/02 09:56:39] <Dominic> karthick87: you must have configured it to do so, running a Puppet client shouldn't affect another service otherwise | ||
| [2012/01/02 09:57:13] <karthick87> Dominic: I have not made any changes so far. All of a sudden its happening | ||
| [2012/01/02 09:59:21] @ Quit: EL84: Quit: Leaving. | ||
| [2012/01/02 09:59:27] @ niko is now known as nik0 | ||
| [2012/01/02 09:59:31] @ nik0 is now known as niko | ||
| [2012/01/02 10:02:08] <karthick87> will reinstalling master fix this problem? | ||
| [2012/01/02 10:02:42] @ Quit: karthick87: Quit: Leaving | ||
| [2012/01/02 10:03:57] @ Quit: neilh: Remote host closed the connection | ||
| [2012/01/02 10:04:03] @ marcus_ferreira_ joined channel #puppet | ||
| [2012/01/02 10:04:47] <marcus_ferreira_> . | ||
| [2012/01/02 10:05:46] @ Quit: Carmidev: Read error: Connection reset by peer | ||
| [2012/01/02 10:07:09] @ Quit: xjiujiu: Ping timeout: 240 seconds | ||
| [2012/01/02 10:08:24] @ Quit: rmenn: Ping timeout: 258 seconds | ||
| [2012/01/02 10:08:46] @ Quit: Stenbryggen: Quit: Leaving. | ||
| [2012/01/02 10:12:54] @ karthick87 joined channel #puppet | ||
| [2012/01/02 10:13:42] <henk> karthick87: Check the (debug) output of the master. | ||
| [2012/01/02 10:14:27] @ Quit: kenperkins: Quit: Computer has gone to sleep. | ||
| [2012/01/02 10:18:18] <karthick87> henk: i dont find any problem with the output http://paste.ubuntu.com/790602/ | ||
| [2012/01/02 10:24:18] <henk> karthick87: _master_ | ||
| [2012/01/02 10:25:50] @ riha left channel #puppet () | ||
| [2012/01/02 10:29:10] @ Quit: Meier: Quit: Leaving. | ||
| [2012/01/02 10:32:06] <karthick87> henk: i ran the command in master only | ||
| [2012/01/02 10:35:04] @ Quit: smintz: Ping timeout: 260 seconds | ||
| [2012/01/02 10:35:31] <karthick87> henk" anything wrong? | ||
| [2012/01/02 10:36:12] <henk> karthick87: master as in the puppetmaster software, not the hardware running it. What you pasted is the agent output, not the masters. | ||
| [2012/01/02 10:37:36] <karthick87> henk: What command do i need to execute in master now? | ||
| [2012/01/02 10:38:44] <henk> karthick87: And what seems wrong to be honest: why someone acting as helpless as you do has been given control of 300 machines. | ||
| [2012/01/02 10:38:52] @ Quit: octane-: Quit: octane- | ||
| [2012/01/02 10:40:50] <henk> I don’t want to hold your hand, neither does anyone in here probably. And you need to start thinking for yourself. Your master dies when you run the agent on the masters machine. Find out why. Check the docs on where to find logs, how to debug things and so on. Then ask a proper question as in http://www.catb.org/~esr/faqs/smart-questions.html and you will very likely get a helpful answer. | ||
| [2012/01/02 10:40:57] <karthick87> We only 4 people are there in the IT dept. Each one is carrying different output. | ||
| [2012/01/02 10:41:19] @ Quit: karthick87: Quit: Leaving | ||
| [2012/01/02 10:42:50] @ Quit: leifmadsen: Quit: This is how I roll; animal print pants outta control! | ||
| [2012/01/02 10:46:15] @ leifmadsen joined channel #puppet | ||
| [2012/01/02 10:56:14] @ tmclaugh joined channel #puppet | ||
| [2012/01/02 10:57:00] @ Quit: Schmidt: Quit: homebound | ||
| [2012/01/02 10:58:39] @ Quit: Elwell: Ping timeout: 255 seconds | ||
| [2012/01/02 10:58:52] @ savid joined channel #puppet | ||
| [2012/01/02 10:59:34] @ Elwell joined channel #puppet | ||
| [2012/01/02 11:02:00] @ Quit: lkoranda: Quit: Ex-Chat | ||
| [2012/01/02 11:05:50] <daff> I have written a parameterized class to manage Postfix (as SMTP client). parameters include $relayhost, $relayport, $mailaccount, etc. I use these parameters in templates (main.cf.erb, sender_relay.erb, etc). upon catalog compilation Puppet complains about the following: | ||
| [2012/01/02 11:05:56] <daff> Dynamic lookup of $relayhost at /etc/puppet/modules/postfix/templates/client/sender_relay.erb:1 is deprecated. Support will be removed in Puppet 2.8. Use a fully-qualified variable name (e.g., $classname::variable) or parameterized classes. | ||
| [2012/01/02 11:06:42] <daff> I know that variable scope and lookups is changing as Puppet is developed, but I am not sure what to do here; | ||
| [2012/01/02 11:07:00] <daff> the message hints that I should use a parameterized class, which I am | ||
| [2012/01/02 11:07:18] @ cwarden joined channel #puppet | ||
| [2012/01/02 11:07:56] <daff> but qualifying the parameters like "$postfix::client::relayhost" doesn't work, Puppet can't find the variable | ||
| [2012/01/02 11:09:10] @ Quit: dnjaramba: Remote host closed the connection | ||
| [2012/01/02 11:09:27] @ dnjaramba joined channel #puppet | ||
| [2012/01/02 11:09:33] <daff> do I really have to use the likes of scope.lookupvar('postfix::client::relayhost') everywhere? | ||
| [2012/01/02 11:09:35] @ zorg1 joined channel #puppet | ||
| [2012/01/02 11:12:51] <kjetilho> daff: yes | ||
| [2012/01/02 11:13:20] <kjetilho> it looks like Luke is no longer a sysadmin, he has become a programmer :-p | ||
| [2012/01/02 11:15:00] @ Quit: dnjaramba: Read error: Connection reset by peer | ||
| [2012/01/02 11:15:57] @ Carmivore joined channel #puppet | ||
| [2012/01/02 11:17:50] @ sdog joined channel #puppet | ||
| [2012/01/02 11:18:45] @ dnjaramba joined channel #puppet | ||
| [2012/01/02 11:19:12] @ Quit: sdog: Changing host | ||
| [2012/01/02 11:19:12] @ sdog joined channel #puppet | ||
| [2012/01/02 11:24:55] <daff> kjetilho: oy :) well, some would consider this a trade-up :) | ||
| [2012/01/02 11:25:42] <kjetilho> yes, but not us ;) | ||
| [2012/01/02 11:25:47] <daff> and how about facts, like $fqdn? I think I have read that I should use $::fqdn, since facts are globally scoped, is that right? | ||
| [2012/01/02 11:26:10] <kjetilho> Luke says @fact is the supported syntax for facts in ERB | ||
| [2012/01/02 11:27:42] <daff> damn, I have never heard that before. is it the docs that are not up to date with the current development, or did I not do my homework here? | ||
| [2012/01/02 11:28:23] <kjetilho> according to Luke, @fact has been supported all along | ||
| [2012/01/02 11:28:39] <kjetilho> but I haven't looked in the docs for it | ||
| [2012/01/02 11:28:56] @ gniks joined channel #puppet | ||
| [2012/01/02 11:31:16] @ rcrowley joined channel #puppet | ||
| [2012/01/02 11:31:35] <daff> well, the @-symbol seems to have many different meanings in Puppet | ||
| [2012/01/02 11:32:58] @ Quit: zwi: Quit: Leaving. | ||
| [2012/01/02 11:33:11] @ zwi joined channel #puppet | ||
| [2012/01/02 11:45:54] @ Quit: mogitaff: Remote host closed the connection | ||
| [2012/01/02 11:46:27] @ jsm joined channel #puppet | ||
| [2012/01/02 11:51:20] @ abhinavmehta joined channel #puppet | ||
| [2012/01/02 11:52:01] @ sidarta joined channel #puppet | ||
| [2012/01/02 11:52:08] @ Quit: sidarta: Client Quit | ||
| [2012/01/02 11:52:27] @ Quit: zwi: Quit: Leaving. | ||
| [2012/01/02 11:52:43] @ zwi joined channel #puppet | ||
| [2012/01/02 11:53:38] <abhinavmehta> I'm curious to understand…why all these good build-tools are built around ruby…say for ex this puppet, capistrano etc.? | ||
| [2012/01/02 11:55:08] @ octane- joined channel #puppet | ||
| [2012/01/02 11:56:26] @ justin_donaldson joined channel #puppet | ||
| [2012/01/02 11:56:56] @ sidarta joined channel #puppet | ||
| [2012/01/02 11:57:01] @ Quit: csanchez: Read error: Connection reset by peer | ||
| [2012/01/02 11:57:05] <sidarta> hello folks | ||
| [2012/01/02 11:57:19] <sidarta> I had I litte issue using a template erb | ||
| [2012/01/02 11:57:22] @ csanchez joined channel #puppet | ||
| [2012/01/02 11:58:25] @ Quit: Ramonster: Quit: So Long and thanks for all the fish | ||
| [2012/01/02 11:58:31] <sidarta> probably I misconception about how use erb template | ||
| [2012/01/02 11:58:59] <sidarta> Can I use `` ( backticks ) inside a erb template? | ||
| [2012/01/02 11:59:06] @ Quit: octane-: Ping timeout: 240 seconds | ||
| [2012/01/02 11:59:42] <sidarta> If I can this should evaluated on each puppet agent, thats right? | ||
| [2012/01/02 12:02:21] @ Quit: tremble: Quit: Leaving | ||
| [2012/01/02 12:03:29] @ Quit: csanchez: Ping timeout: 240 seconds | ||
| [2012/01/02 12:04:10] @ ken_barber1 joined channel #puppet | ||
| [2012/01/02 12:05:18] @ Quit: ken_barber: Ping timeout: 244 seconds | ||
| [2012/01/02 12:05:34] @ Quit: jodok: Quit: jodok | ||
| [2012/01/02 12:07:37] <daff> sidarta: I believe everything not enclosed in <%= ... %> is taken verbatim | ||
| [2012/01/02 12:07:58] <daff> or do you want to use backticks inside <%= ... %>? | ||
| [2012/01/02 12:08:06] @ Quit: Lorax: Ping timeout: 248 seconds | ||
| [2012/01/02 12:08:32] <sidarta> daff: that's it, I wanna use backticks inside <%= ... %> | ||
| [2012/01/02 12:08:46] <sidarta> to get execute a simple shell script | ||
| [2012/01/02 12:08:56] <sidarta> to parse some config files | ||
| [2012/01/02 12:09:05] <daff> well, that won't work | ||
| [2012/01/02 12:09:20] <sidarta> yeap | ||
| [2012/01/02 12:09:22] <daff> templates are interpreted by puppet, not the shell | ||
| [2012/01/02 12:09:33] @ Lorax joined channel #puppet | ||
| [2012/01/02 12:09:53] @ Quit: Carmivore: Remote host closed the connection | ||
| [2012/01/02 12:10:08] <sidarta> Even the shel script inside backticks | ||
| [2012/01/02 12:10:10] <daff> but I am sure there are ways for puppet (or ruby) to spawn a shell and run shell commands | ||
| [2012/01/02 12:10:58] <sidarta> I think that best way to collect this would be create a custom fact | ||
| [2012/01/02 12:11:10] @ Carmivore joined channel #puppet | ||
| [2012/01/02 12:11:10] @ nated joined channel #puppet | ||
| [2012/01/02 12:11:11] @ Quit: nated: Changing host | ||
| [2012/01/02 12:11:11] @ nated joined channel #puppet | ||
| [2012/01/02 12:11:11] <sidarta> Is this right? | ||
| [2012/01/02 12:12:01] @ Quit: ali3n0: Ping timeout: 244 seconds | ||
| [2012/01/02 12:13:43] @ csanchez joined channel #puppet | ||
| [2012/01/02 12:14:45] @ Quit: abhinavmehta: Quit: abhinavmehta | ||
| [2012/01/02 12:18:34] <daff> sidarta: a custom fact is probably always the most elegant and proper solution | ||
| [2012/01/02 12:18:50] <daff> either that or using extlookup or hiera, depending on your needs | ||
| [2012/01/02 12:19:55] <sidarta> daff: thank you very much | ||
| [2012/01/02 12:20:00] <sidarta> i will do that | ||
| [2012/01/02 12:20:05] <daff> in custom facts you can indeed call up a shell to do some simple work | ||
| [2012/01/02 12:20:19] <daff> I have this simple fact to check whether a machine has libvirtd installed: | ||
| [2012/01/02 12:20:19] <daff> Facter.add("has_libvirtd") do | ||
| [2012/01/02 12:20:19] <daff> setcode do | ||
| [2012/01/02 12:20:19] <daff> %x{/usr/bin/which libvirtd >/dev/null && /bin/echo yes || /bin/echo no}.chomp | ||
| [2012/01/02 12:20:23] <daff> end | ||
| [2012/01/02 12:20:25] <daff> end | ||
| [2012/01/02 12:20:39] @ ali3n0 joined channel #puppet | ||
| [2012/01/02 12:21:22] @ Quit: Evolution: Ping timeout: 276 seconds | ||
| [2012/01/02 12:23:26] @ Quit: BrickBag: Remote host closed the connection | ||
| [2012/01/02 12:23:32] @ BrickBag joined channel #puppet | ||
| [2012/01/02 12:23:36] <sidarta> daff: I will do something like that | ||
| [2012/01/02 12:23:43] @ Quit: ali3n0: Client Quit | ||
| [2012/01/02 12:23:51] <sidarta> daff: thank you again | ||
| [2012/01/02 12:24:07] @ Quit: zorg1: Quit: Leaving | ||
| [2012/01/02 12:24:43] <daff> np | ||
| [2012/01/02 12:26:47] @ iamchrisf_ joined channel #puppet | ||
| [2012/01/02 12:27:05] @ larstobi joined channel #puppet | ||
| [2012/01/02 12:28:38] @ Evolution joined channel #puppet | ||
| [2012/01/02 12:29:02] @ dlb__ joined channel #puppet | ||
| [2012/01/02 12:30:09] @ Stenbryggen joined channel #puppet | ||
| [2012/01/02 12:30:29] @ tmclaugh_ joined channel #puppet | ||
| [2012/01/02 12:31:07] @ Quit: Razique: Quit: Razique | ||
| [2012/01/02 12:32:08] <daff> is it useful to create a hierarchy of nodes (node basenode, node virtualnode inherits basenode, node webserver inherits virtualnode), or is there a more elegant way? | ||
| [2012/01/02 12:32:29] @ Quit: tmclaugh: Ping timeout: 255 seconds | ||
| [2012/01/02 12:32:29] @ tmclaugh_ is now known as tmclaugh | ||
| [2012/01/02 12:33:14] <octe> i've specified a status command for a service, "/usr/bin/pgrep -f /var/lib/mailman/bin/qrunner >/dev/null", this exits with status 1 when i run it from a shell | ||
| [2012/01/02 12:33:18] <octe> yet puppet doesnt start that service | ||
| [2012/01/02 12:33:19] <octe> why? | ||
| [2012/01/02 12:34:15] @ kenperkins joined channel #puppet | ||
| [2012/01/02 12:34:27] @ Quit: dnjaramba: Remote host closed the connection | ||
| [2012/01/02 12:34:38] @ dnjaramba joined channel #puppet | ||
| [2012/01/02 12:35:00] <daff> octe: increase debug levels on the agent and master to see more details about the operation | ||
| [2012/01/02 12:35:13] @ Quit: pkhabi: Ping timeout: 258 seconds | ||
| [2012/01/02 12:35:18] <daff> i.e. puppet agent --verbose --no-daemonize --test --noop, for example | ||
| [2012/01/02 12:35:25] <daff> and see what it does or doesn't | ||
| [2012/01/02 12:35:49] <octe> yeah, i tried with --debug --verbose but that didnt give me anything, it just says it runs that command | ||
| [2012/01/02 12:35:59] @ Quit: jessie: Ping timeout: 258 seconds | ||
| [2012/01/02 12:36:01] <octe> ah, i removed the >/dev/null part and now it seems to be working | ||
| [2012/01/02 12:39:03] <daff> hm, why should the redirect to /dev/null be a problem? | ||
| [2012/01/02 12:41:30] @ Quit: dnjaramba: Remote host closed the connection | ||
| [2012/01/02 12:41:32] <kjetilho> daff: my guess: Puppet uses a bash -c "" construct to handle commands with shell metacharacters | ||
| [2012/01/02 12:41:48] <kjetilho> so it is the -f flag to pgrep which causes the problem | ||
| [2012/01/02 12:42:35] <kjetilho> I don't know how qrunner runs, but using "-P 1" or "-u mailman" can help | ||
| [2012/01/02 12:42:46] @ dnjaramba joined channel #puppet | ||
| [2012/01/02 12:42:51] <kjetilho> -P 1 is unlikely, I guess | ||
| [2012/01/02 12:43:28] <kjetilho> octe: ^ | ||
| [2012/01/02 12:45:49] @ Quit: nul0op: Ping timeout: 240 seconds | ||
| [2012/01/02 12:46:03] @ mrwacky42 joined channel #puppet | ||
| [2012/01/02 12:46:59] @ esmerino joined channel #puppet | ||
| [2012/01/02 12:48:09] @ Quit: arBmind: Ping timeout: 240 seconds | ||
| [2012/01/02 12:48:40] @ Quit: muhdiekuh: Quit: muhdiekuh | ||
| [2012/01/02 12:50:16] @ Quit: mrwacky42: Ping timeout: 240 seconds | ||
| [2012/01/02 12:50:31] <daff> kjetilho: indeed, a bash -c "pgrep -f /var/lib/mailman/bin/qrunner > /dev/null" returns 0, even if no qrunner is running | ||
| [2012/01/02 12:51:11] @ mrwacky42 joined channel #puppet | ||
| [2012/01/02 12:52:21] <daff> removing the redirect makes it work as expected | ||
| [2012/01/02 12:54:45] @ Quit: marcus_ferreira_: Quit: Page closed | ||
| [2012/01/02 12:56:20] @ Quit: sidarta: Remote host closed the connection | ||
| [2012/01/02 12:59:42] @ Quit: jsm: Quit: jsm | ||
| [2012/01/02 12:59:54] @ Quit: iamchrisf_: Quit: iamchrisf_ | ||
| [2012/01/02 13:01:42] @ Quit: skm: Ping timeout: 276 seconds | ||
| [2012/01/02 13:04:19] <kjetilho> daff: yes. pgrep won't match itself, but it is not clever enough to not match its parent | ||
| [2012/01/02 13:04:24] @ sidarta joined channel #puppet | ||
| [2012/01/02 13:04:27] <kjetilho> I guess you could argue it is abug | ||
| [2012/01/02 13:04:43] <kjetilho> (at least when -f is specified) | ||
| [2012/01/02 13:05:39] <sidarta> daff: when you delpoy your custom facter you put .rb files into {module_name}/lib/facter ? | ||
| [2012/01/02 13:05:40] @ skm joined channel #puppet | ||
| [2012/01/02 13:07:53] @ ali3n0 joined channel #puppet | ||
| [2012/01/02 13:08:43] @ Quit: Stenbryggen: Quit: Leaving. | ||
| [2012/01/02 13:10:25] <kjetilho> it would be useful for pgrep to support "-g !0" I think. but I notice another kink there: if stdin is a tty, bash will create a new process group for job control ... | ||
| [2012/01/02 13:10:46] <kjetilho> compare bash -c 'pgrep -g 0 -f pgrep' | ||
| [2012/01/02 13:10:48] @ Quit: skm: Ping timeout: 276 seconds | ||
| [2012/01/02 13:10:53] <kjetilho> and bash -c 'pgrep -g 0 -f pgrep < /dev/null' | ||
| [2012/01/02 13:11:08] <kjetilho> but I'm rambling | ||
| [2012/01/02 13:12:30] @ teratoma joined channel #puppet | ||
| [2012/01/02 13:12:56] <daff> sidarta: indeed, ${module_name}/lib/facter is the correct place for custom facts | ||
| [2012/01/02 13:13:23] <daff> don't forget to set "pluginsync = true" in the [main] section of the puppetmaster's configuration file | ||
| [2012/01/02 13:13:33] <sidarta> but in my agents the custom facter could not find | ||
| [2012/01/02 13:14:21] <sidarta> the .rb file puppet agent place in /var/lib/puppet/lib/facter | ||
| [2012/01/02 13:14:46] <sidarta> but when I execute facter my facts dont show up | ||
| [2012/01/02 13:15:07] <daff> sidarta: it may require two puppet runs before the new fact can be used | ||
| [2012/01/02 13:15:11] <daff> hm | ||
| [2012/01/02 13:15:38] <sidarta> but if i move this same .rb file to the same path of facter standards | ||
| [2012/01/02 13:16:06] <daff> do you have pluginsync=true set? | ||
| [2012/01/02 13:16:18] <sidarta> works | ||
| [2012/01/02 13:16:25] <sidarta> yeap | ||
| [2012/01/02 13:16:40] <sidarta> the .rb file is already in the agent | ||
| [2012/01/02 13:16:40] <kjetilho> sidarta: you need "facter -p" to add Puppet path | ||
| [2012/01/02 13:17:14] @ jsm joined channel #puppet | ||
| [2012/01/02 13:17:36] <sidarta> kjetilho: works | ||
| [2012/01/02 13:17:43] <sidarta> thank you | ||
| [2012/01/02 13:17:53] <sidarta> daff: thank you | ||
| [2012/01/02 13:19:03] @ Quit: dlb__: Remote host closed the connection | ||
| [2012/01/02 13:19:21] <sidarta> kjetilho: facter doesnt have a man page? | ||
| [2012/01/02 13:19:27] @ Stenbryggen joined channel #puppet | ||
| [2012/01/02 13:20:16] <sidarta> sorry, i found in puppet website | ||
| [2012/01/02 13:21:42] @ Quit: rcrowley: Quit: Computer has gone to sleep. | ||
| [2012/01/02 13:28:48] @ dlb__ joined channel #puppet | ||
| [2012/01/02 13:44:11] @ vocis joined channel #puppet | ||
| [2012/01/02 13:44:38] @ Quit: greenmang0: Ping timeout: 248 seconds | ||
| [2012/01/02 13:44:40] @ paxos joined channel #puppet | ||
| [2012/01/02 13:45:09] @ Quit: leifmadsen: Ping timeout: 240 seconds | ||
| [2012/01/02 13:46:48] @ zanefactory joined channel #puppet | ||
| [2012/01/02 13:46:55] @ skm joined channel #puppet | ||
| [2012/01/02 13:52:10] @ neonflux joined channel #puppet | ||
| [2012/01/02 14:03:19] @ Quit: sdog: Quit: Leaving. | ||
| [2012/01/02 14:05:43] @ Quit: ali3n0: Quit: Leaving. | ||
| [2012/01/02 14:09:12] @ luckman212_phone joined channel #puppet | ||
| [2012/01/02 14:13:31] @ Spads joined channel #puppet | ||
| [2012/01/02 14:14:49] @ Quit: skm: Quit: Computer has gone to sleep. | ||
| [2012/01/02 14:15:10] @ luckman212_phone left channel #puppet () | ||
| [2012/01/02 14:17:06] @ Quit: Spads_: Ping timeout: 255 seconds | ||
| [2012/01/02 14:17:52] @ Quit: Xenith: Quit: leaving | ||
| [2012/01/02 14:18:56] @ Quit: hggh: Ping timeout: 240 seconds | ||
| [2012/01/02 14:21:22] @ Quit: paxos: Quit: Leaving. | ||
| [2012/01/02 14:23:14] @ griasan joined channel #puppet | ||
| [2012/01/02 14:25:43] @ Quit: jsm: Quit: jsm | ||
| [2012/01/02 14:29:16] @ Xenith joined channel #puppet | ||
| [2012/01/02 14:31:01] <WALoeIII> can anyone vouch for this iptables module: https://github.com/camptocamp/puppet-iptables | ||
| [2012/01/02 14:31:10] <WALoeIII> I want to use it on 0.25.4 | ||
| [2012/01/02 14:32:26] @ hggh joined channel #puppet | ||
| [2012/01/02 14:40:05] @ dissipate joined channel #puppet | ||
| [2012/01/02 14:40:06] @ Quit: dissipate: Changing host | ||
| [2012/01/02 14:40:06] @ dissipate joined channel #puppet | ||
| [2012/01/02 14:43:20] @ Quit: griasan: Quit: Colloquy for iPad - http://colloquy.mobi | ||
| [2012/01/02 14:44:53] @ Quit: dissipate: Client Quit | ||
| [2012/01/02 14:46:55] @ Quit: Carmivore: Remote host closed the connection | ||
| [2012/01/02 14:47:39] @ Quit: jimi_c: Remote host closed the connection | ||
| [2012/01/02 14:48:00] @ Djelibeybi joined channel #puppet | ||
| [2012/01/02 14:48:13] @ Carmivore joined channel #puppet | ||
| [2012/01/02 14:53:03] <rodjek> WALoeIII: you might be better served spending time upgrading to a recent version of puppet | ||
| [2012/01/02 14:53:30] <WALoeIII> it seems to be built against 0.25, so it works fine | ||
| [2012/01/02 14:54:17] <ken_barber1> lol | ||
| [2012/01/02 14:54:20] @ Quit: mmcgrath: Ping timeout: 252 seconds | ||
| [2012/01/02 14:54:26] <ken_barber1> WALoeIII: man its old | ||
| [2012/01/02 14:54:54] <ken_barber1> WALoeIII: there is a more up-to-date version. hang on let me find it. | ||
| [2012/01/02 14:55:11] <WALoeIII> I'm only interested in 0.25 compatibility | ||
| [2012/01/02 14:55:13] @ mmcgrath joined channel #puppet | ||
| [2012/01/02 14:55:14] @ Quit: csanchez: Quit: csanchez | ||
| [2012/01/02 14:55:15] <ken_barber1> WALoeIII: https://github.com/bobsh/puppet-iptables | ||
| [2012/01/02 14:56:05] <ken_barber1> WALoeIII: but I would agree with rodjek about puppet version. Your going to be hitting brick walls a lot with pre 2.6 releases. | ||
| [2012/01/02 15:02:08] @ Quit: mmcgrath: Ping timeout: 248 seconds | ||
| [2012/01/02 15:02:53] @ mmcgrath joined channel #puppet | ||
| [2012/01/02 15:04:30] @ Quit: sidarta: Remote host closed the connection | ||
| [2012/01/02 15:07:47] @ iamchrisf_ joined channel #puppet | ||
| [2012/01/02 15:07:56] @ Quit: mmcgrath: Ping timeout: 240 seconds | ||
| [2012/01/02 15:09:06] @ Quit: Spads: Ping timeout: 240 seconds | ||
| [2012/01/02 15:09:23] @ mmcgrath joined channel #puppet | ||
| [2012/01/02 15:11:07] @ Spads joined channel #puppet | ||
| [2012/01/02 15:11:46] @ Quit: Carmivore: Remote host closed the connection | ||
| [2012/01/02 15:13:06] @ Carmivore joined channel #puppet | ||
| [2012/01/02 15:14:59] @ Quit: mmcgrath: Ping timeout: 252 seconds | ||
| [2012/01/02 15:16:33] @ Quit: iamchrisf_: Quit: iamchrisf_ | ||
| [2012/01/02 15:27:46] @ mmcgrath joined channel #puppet | ||
| [2012/01/02 15:29:01] @ comptona joined channel #puppet | ||
| [2012/01/02 15:30:08] @ Quit: car|0s: Remote host closed the connection | ||
| [2012/01/02 15:33:01] @ astrostl joined channel #puppet | ||
| [2012/01/02 15:35:21] <astrostl> content => template"(puppet:///vpn/blade1-x.conf.erb") | ||
| [2012/01/02 15:36:40] <astrostl> i know how to reference templates within a module, but how to i hit an external file? | ||
| [2012/01/02 15:37:09] @ ldlework joined channel #puppet | ||
| [2012/01/02 15:38:18] @ esmerino left channel #puppet () | ||
| [2012/01/02 15:38:50] @ esmerino joined channel #puppet | ||
| [2012/01/02 15:39:05] @ JohnDo joined channel #puppet | ||
| [2012/01/02 15:40:47] <rodjek> astrostl: you cant | ||
| [2012/01/02 15:40:50] @ Quit: matti: Quit: 8-X | ||
| [2012/01/02 15:40:57] <astrostl> :< | ||
| [2012/01/02 15:41:39] <misc> technically, I think you can do it with a custom function | ||
| [2012/01/02 15:42:15] <rodjek> well, yeah, you could write a function in ruby to pull it down with net/http then pass it through to the erb rendering functions in puppet | ||
| [2012/01/02 15:42:21] <rodjek> i meant, you can't do it out of the box | ||
| [2012/01/02 15:43:11] <astrostl> "You can specify the full path to your template, or you can put all your templates in Puppet’s templatedir, which usually defaults to /var/puppet/templates (you can find out what it is on your system by running puppet --configprint templatedir)." | ||
| [2012/01/02 15:43:22] <astrostl> when it says i can specify the full path, what is it saying? | ||
| [2012/01/02 15:43:23] <rodjek> astrostl: your example is still using a puppet:/// url, why not just send it the path | ||
| [2012/01/02 15:43:36] <astrostl> i tried and it yielded a weird error | ||
| [2012/01/02 15:43:54] <rodjek> template('<module>/<path under <module/templates>') | ||
| [2012/01/02 15:43:59] @ |Majestic| joined channel #puppet | ||
| [2012/01/02 15:44:13] <astrostl> it's not in a module | ||
| [2012/01/02 15:44:26] <rodjek> where is it? | ||
| [2012/01/02 15:44:40] <astrostl> in a file server path | ||
| [2012/01/02 15:44:47] <astrostl> i'll try using the absolute path on the master... | ||
| [2012/01/02 15:45:04] <astrostl> abs works | ||
| [2012/01/02 15:45:06] <rodjek> why is a template there? | ||
| [2012/01/02 15:45:14] <astrostl> content => template("/etc/puppet/private/vpn/blade1-x.conf.erb") | ||
| [2012/01/02 15:45:27] <astrostl> because i don't want it checked into source control along with the module | ||
| [2012/01/02 15:45:44] <astrostl> private/ is where i keep private stuff | ||
| [2012/01/02 15:45:58] <astrostl> it's exposed with an ip-restricted fileserver.conf | ||
| [2012/01/02 15:46:14] <rodjek> right | ||
| [2012/01/02 15:46:56] @ Quit: esmerino: Quit: esmerino | ||
| [2012/01/02 15:52:22] @ Quit: natewalck: Quit: Outta here | ||
| [2012/01/02 15:56:57] @ Quit: JohnDo: | ||
| [2012/01/02 15:57:37] @ Quit: mccun934: Read error: Operation timed out | ||
| [2012/01/02 16:05:52] @ objectiveous_ joined channel #puppet | ||
| [2012/01/02 16:06:22] @ Quit: objectiveous: Read error: Connection reset by peer | ||
| [2012/01/02 16:08:44] @ objectiveous joined channel #puppet | ||
| [2012/01/02 16:09:46] @ Quit: mfladischer: Remote host closed the connection | ||
| [2012/01/02 16:09:56] @ Quit: objectiveous_: Ping timeout: 240 seconds | ||
| [2012/01/02 16:14:41] @ Holocaine joined channel #puppet | ||
| [2012/01/02 16:17:18] @ mccun934 joined channel #puppet | ||
| [2012/01/02 16:21:19] @ ali3n0 joined channel #puppet | ||
| [2012/01/02 16:22:46] @ Quit: Evolution: Ping timeout: 240 seconds | ||
| [2012/01/02 16:29:44] @ esmerino joined channel #puppet | ||
| [2012/01/02 16:29:51] @ dissipate joined channel #puppet | ||
| [2012/01/02 16:29:51] @ Quit: dissipate: Changing host | ||
| [2012/01/02 16:29:51] @ dissipate joined channel #puppet | ||
| [2012/01/02 16:30:32] @ Evolution joined channel #puppet | ||
| [2012/01/02 16:31:09] @ dan__t joined channel #puppet | ||
| [2012/01/02 16:31:11] @ Quit: esmerino: Client Quit | ||
| [2012/01/02 16:34:15] @ jsm joined channel #puppet | ||
| [2012/01/02 16:34:30] @ Quit: nated: Quit: Lost terminal | ||
| [2012/01/02 16:48:31] @ Quit: neonflux: Ping timeout: 276 seconds | ||
| [2012/01/02 16:48:47] @ neonflux joined channel #puppet | ||
| [2012/01/02 16:53:04] @ neonflux1 joined channel #puppet | ||
| [2012/01/02 16:53:05] @ Quit: neonflux: Ping timeout: 244 seconds | ||
| [2012/01/02 16:57:45] @ Quit: neonflux1: Ping timeout: 260 seconds | ||
| [2012/01/02 16:58:05] @ hattwick joined channel #puppet | ||
| [2012/01/02 16:58:17] @ Quit: jsm: Quit: jsm | ||
| [2012/01/02 17:00:09] @ Quit: Spads: Ping timeout: 240 seconds | ||
| [2012/01/02 17:01:14] @ Spads joined channel #puppet | ||
| [2012/01/02 17:03:34] @ Quit: dissipate: Ping timeout: 248 seconds | ||
| [2012/01/02 17:06:02] @ Lorax left channel #puppet () | ||
| [2012/01/02 17:10:10] @ jsm joined channel #puppet | ||
| [2012/01/02 17:11:04] @ Quit: ckauhaus: Quit: Leaving. | ||
| [2012/01/02 17:14:27] @ mosen joined channel #puppet | ||
| [2012/01/02 17:14:59] @ Quit: astrostl: | ||
| [2012/01/02 17:21:04] @ tuf joined channel #puppet | ||
| [2012/01/02 17:21:40] @ Quit: crayfishx: Ping timeout: 276 seconds | ||
| [2012/01/02 17:24:25] @ Quit: justin_donaldson: *.net *.split | ||
| [2012/01/02 17:24:25] @ Quit: gniks: *.net *.split | ||
| [2012/01/02 17:24:26] @ Quit: f3ew: *.net *.split | ||
| [2012/01/02 17:24:27] @ Quit: Chillax: *.net *.split | ||
| [2012/01/02 17:24:28] @ Quit: kambiz: *.net *.split | ||
| [2012/01/02 17:24:28] @ Quit: zahna_: *.net *.split | ||
| [2012/01/02 17:24:29] @ Quit: oatsport1: *.net *.split | ||
| [2012/01/02 17:24:29] @ Quit: jokajak: *.net *.split | ||
| [2012/01/02 17:24:30] @ Quit: cmoore: *.net *.split | ||
| [2012/01/02 17:24:31] @ Quit: bipolar: *.net *.split | ||
| [2012/01/02 17:24:32] @ Quit: asbruvik_: *.net *.split | ||
| [2012/01/02 17:24:33] @ Quit: bradm: *.net *.split | ||
| [2012/01/02 17:24:34] @ Quit: zacs: *.net *.split | ||
| [2012/01/02 17:24:35] @ Quit: limed: *.net *.split | ||
| [2012/01/02 17:24:35] @ Quit: Signum: *.net *.split | ||
| [2012/01/02 17:24:36] @ Quit: shiruken: *.net *.split | ||
| [2012/01/02 17:24:36] @ Quit: ke4qqq: *.net *.split | ||
| [2012/01/02 17:24:37] @ Quit: wollviech: *.net *.split | ||
| [2012/01/02 17:24:37] @ Quit: dpittman: *.net *.split | ||
| [2012/01/02 17:24:37] @ Quit: marut1: *.net *.split | ||
| [2012/01/02 17:24:37] @ dpittman joined channel #puppet | ||
| [2012/01/02 17:24:39] @ jokajak joined channel #puppet | ||
| [2012/01/02 17:24:40] @ Quit: jokajak: Changing host | ||
| [2012/01/02 17:24:40] @ jokajak joined channel #puppet | ||
| [2012/01/02 17:25:48] @ marut1 joined channel #puppet | ||
| [2012/01/02 17:25:48] @ justin_donaldson joined channel #puppet | ||
| [2012/01/02 17:25:48] @ f3ew joined channel #puppet | ||
| [2012/01/02 17:25:48] @ Chillax joined channel #puppet | ||
| [2012/01/02 17:25:48] @ kambiz joined channel #puppet | ||
| [2012/01/02 17:25:48] @ zahna_ joined channel #puppet | ||
| [2012/01/02 17:25:48] @ oatsport1 joined channel #puppet | ||
| [2012/01/02 17:25:48] @ cmoore joined channel #puppet | ||
| [2012/01/02 17:25:48] @ bipolar joined channel #puppet | ||
| [2012/01/02 17:25:48] @ asbruvik_ joined channel #puppet | ||
| [2012/01/02 17:25:48] @ bradm joined channel #puppet | ||
| [2012/01/02 17:25:48] @ zacs joined channel #puppet | ||
| [2012/01/02 17:25:48] @ limed joined channel #puppet | ||
| [2012/01/02 17:25:48] @ Signum joined channel #puppet | ||
| [2012/01/02 17:25:48] @ ke4qqq joined channel #puppet | ||
| [2012/01/02 17:25:48] @ shiruken joined channel #puppet | ||
| [2012/01/02 17:25:48] @ wollviech joined channel #puppet | ||
| [2012/01/02 17:25:59] @ gniks joined channel #puppet | ||
| [2012/01/02 17:26:31] @ Quit: ali3n0: Quit: Leaving. | ||
| [2012/01/02 17:29:42] @ crayfishx joined channel #puppet | ||
| [2012/01/02 17:30:24] @ Quit: tnguyen: Ping timeout: 255 seconds | ||
| [2012/01/02 17:42:10] @ Quit: nb: Ping timeout: 268 seconds | ||
| [2012/01/02 17:42:52] @ danblack joined channel #puppet | ||
| [2012/01/02 17:42:53] @ dragonheart joined channel #puppet | ||
| [2012/01/02 17:43:09] @ Quit: dragonheart: Client Quit | ||
| [2012/01/02 17:44:22] @ Quit: jsm: Quit: jsm | ||
| [2012/01/02 17:51:02] @ Quit: dlb__: Remote host closed the connection | ||
| [2012/01/02 17:52:14] @ dlb__ joined channel #puppet | ||
| [2012/01/02 17:52:51] <justdave> if anyone else is crazy enough to be around today... :) | ||
| [2012/01/02 17:52:59] <misc> well, depend | ||
| [2012/01/02 17:53:05] <mosen> im at work yep | ||
| [2012/01/02 17:53:17] <justdave> getting an error that says "Error 400 on SERVER: Could not find scope for {packagename}" | ||
| [2012/01/02 17:53:28] <justdave> the only hits for that error message on Google are in the source code | ||
| [2012/01/02 17:53:54] <rodjek> justdave: pastebin the manifest that is giving that error | ||
| [2012/01/02 17:53:54] @ Guest59671 joined channel #puppet | ||
| [2012/01/02 17:55:05] @ Quit: Guest59671: Changing host | ||
| [2012/01/02 17:55:05] @ Guest59671 joined channel #puppet | ||
| [2012/01/02 17:55:41] @ dissipate joined channel #puppet | ||
| [2012/01/02 17:56:04] @ Guest59671 is now known as nb | ||
| [2012/01/02 17:57:09] @ astrostl joined channel #puppet | ||
| [2012/01/02 17:57:12] <justdave> http://it.pastebin.mozilla.org/1430401 | ||
| [2012/01/02 18:00:30] <justdave> appears to be puppet 2.7.5 in case the version matters | ||
| [2012/01/02 18:02:01] @ kelseyhightower joined channel #puppet | ||
| [2012/01/02 18:02:52] @ kelseyhightower left channel #puppet () | ||
| [2012/01/02 18:03:43] <justdave> it's being suggested to me elsewhere that it's probably the "inherits" phrase in sudoers.pp that's doing it, that it should be "inherits ::sudoers" instead of "inherits sudoers" | ||
| [2012/01/02 18:03:55] <justdave> and that does appear to have fixed it | ||
| [2012/01/02 18:04:22] @ Quit: brtl: Quit: Leaving. | ||
| [2012/01/02 18:05:54] @ jorhett joined channel #puppet | ||
| [2012/01/02 18:11:21] @ Quit: dlb__: Remote host closed the connection | ||
| [2012/01/02 18:18:47] @ thansen joined channel #puppet | ||
| [2012/01/02 18:19:29] <thansen> I'm trying to migrate over to an ldap setup for nodes and wondering what's the best way to test if puppet is actually doing the lookup/getting the classes properly for a given client | ||
| [2012/01/02 18:20:10] <nevyn> isn't it all about the ENC these days? | ||
| [2012/01/02 18:20:20] <rodjek> thansen: have a look at /var/lib/puppet/state/classes.txt | ||
| [2012/01/02 18:20:58] <thansen> file doesn't exist here :( | ||
| [2012/01/02 18:21:33] <nevyn> on the client? | ||
| [2012/01/02 18:22:10] <thansen> in this case it's both | ||
| [2012/01/02 18:22:27] <rodjek> have you set a different vardir in puppet.conf? | ||
| [2012/01/02 18:22:38] <thansen> just readded node to nodes.pp and let me check if it's there now | ||
| [2012/01/02 18:23:04] <thansen> nope, and that run went through successfully | ||
| [2012/01/02 18:23:29] <thansen> I just manually run puppet currently (on the clients) | ||
| [2012/01/02 18:23:35] <thansen> would that be why? | ||
| [2012/01/02 18:23:55] <thansen> ie, puppetd --server foo --test | ||
| [2012/01/02 18:24:34] @ duerF joined channel #puppet | ||
| [2012/01/02 18:24:58] <thansen> actually, it's not in the state dir for me...just /var/lib/puppet/classes.txt | ||
| [2012/01/02 18:26:06] <thansen> ok, so I just wiped the node out of nodes.pp and checked my classes file and all it has now is default | ||
| [2012/01/02 18:26:25] <thansen> so I've got something messed up with ldap | ||
| [2012/01/02 18:26:29] @ Quit: savid: Quit: Leaving | ||
| [2012/01/02 18:30:31] <thansen> is there a more recent doc than http://projects.puppetlabs.com/projects/puppet/wiki/Ldap_Nodes? | ||
| [2012/01/02 18:31:05] @ rubic joined channel #puppet | ||
| [2012/01/02 18:31:46] <thansen> that's what I used as a template but I noticed that it didn't like [puppetmasterd] | ||
| [2012/01/02 18:34:11] @ Quit: astrostl: | ||
| [2012/01/02 18:34:26] @ Quit: nkts: Read error: Connection reset by peer | ||
| [2012/01/02 18:34:29] @ Spads_ joined channel #puppet | ||
| [2012/01/02 18:34:39] @ nkts joined channel #puppet | ||
| [2012/01/02 18:37:26] @ Quit: Spads: Ping timeout: 240 seconds | ||
| [2012/01/02 18:53:07] @ nul0op joined channel #puppet | ||
| [2012/01/02 18:54:41] @ devonstclair joined channel #puppet | ||
| [2012/01/02 18:54:50] @ Quit: devonstclair: Remote host closed the connection | ||
| [2012/01/02 18:57:59] <thansen> rodjek: ^ any ideas? | ||
| [2012/01/02 18:58:35] <rodjek> thansen: can you paste your puppet master's puppet.conf and a slapcat'd tree for one of your hosts? | ||
| [2012/01/02 19:00:07] <thansen> yeah | ||
| [2012/01/02 19:02:51] <thansen> rodjek: mind if I private message them your way? | ||
| [2012/01/02 19:03:01] @ nated joined channel #puppet | ||
| [2012/01/02 19:03:02] @ Quit: nated: Changing host | ||
| [2012/01/02 19:03:02] @ nated joined channel #puppet | ||
| [2012/01/02 19:04:38] <justdave> is there a way to have an object depend on the existence of a file without having puppet manage that file? | ||
| [2012/01/02 19:05:19] <justdave> basically I need a file object that I can require but if that file isn't already there puppet doesn't try to create it | ||
| [2012/01/02 19:05:46] <justdave> so that way I can put a bunch of stuff into puppet that depends on something being done manually | ||
| [2012/01/02 19:06:08] <rodjek> justdave: you could make a fact that returns true if the file exists | ||
| [2012/01/02 19:06:22] <rodjek> then if $myfileexists { exec { 'foo': } } | ||
| [2012/01/02 19:06:23] <rodjek> etc | ||
| [2012/01/02 19:07:02] <rodjek> thansen: sure | ||
| [2012/01/02 19:07:55] @ vocis left channel #puppet () | ||
| [2012/01/02 19:08:35] <kjetilho> justdave: you can really only do exec's that way. check out "creates", that is useful for not redoing them | ||
| [2012/01/02 19:09:28] <justdave> in this specific case, I have cron jobs that will fail if they're installed before an app is configured | ||
| [2012/01/02 19:09:42] <justdave> and the app configuration depends on things like SSL certificates that I wouldn't put in puppet | ||
| [2012/01/02 19:09:58] @ manlymatt83 left channel #puppet () | ||
| [2012/01/02 19:10:23] @ Quit: Evolution: Ping timeout: 252 seconds | ||
| [2012/01/02 19:10:58] @ Quit: viq: Ping timeout: 268 seconds | ||
| [2012/01/02 19:11:08] <justdave> can I install a custom fact from a module? | ||
| [2012/01/02 19:11:40] @ viq joined channel #puppet | ||
| [2012/01/02 19:11:41] <kjetilho> custom facts are installed on all nodes if they are in a module in modulepath | ||
| [2012/01/02 19:12:09] <kjetilho> a bit annoying, but there you go. in other words, you need to do checks for required software etc. in your fact | ||
| [2012/01/02 19:12:35] @ Evolution joined channel #puppet | ||
| [2012/01/02 19:12:50] <justdave> yeah, figured as much. But I can keep it in source control inside the related module though... | ||
| [2012/01/02 19:13:03] <kjetilho> yes | ||
| [2012/01/02 19:13:50] <kjetilho> justdave: I think I would make a status checking script and add to the cron job | ||
| [2012/01/02 19:14:11] <justdave> that's a thought, too. probably easier. :) | ||
| [2012/01/02 19:14:15] <kjetilho> ie. "/usr/local/sbin/app-foo-configured && housekeeping" | ||
| [2012/01/02 19:14:22] <justdave> test -f /path/to/foo && .... | ||
| [2012/01/02 19:16:10] @ neonflux joined channel #puppet | ||
| [2012/01/02 19:17:29] @ Quit: DJClean: Read error: Operation timed out | ||
| [2012/01/02 19:21:27] @ Quit: |Majestic|: Ping timeout: 268 seconds | ||
| [2012/01/02 19:29:51] @ Quit: sebian: Quit: wc 0.3.2 | ||
| [2012/01/02 19:35:43] @ Quit: murkk: Quit: murkk | ||
| [2012/01/02 19:38:53] @ Quit: Djelibeybi: Quit: Textual IRC Client: http://www.textualapp.com/ | ||
| [2012/01/02 19:40:22] @ Djelibeybi joined channel #puppet | ||
| [2012/01/02 19:41:04] <justdave> if I have to pass an ! to an exec as a command line argument how many times does it need to be escaped to avoid puppet parser interpolation and bash expansion? | ||
| [2012/01/02 19:44:50] @ Quit: nkts: Quit: nkts | ||
| [2012/01/02 19:44:58] @ Quit: neonflux: Quit: Leaving. | ||
| [2012/01/02 19:45:04] @ rcrowley joined channel #puppet | ||
| [2012/01/02 19:45:54] <danblack> justdave: can you reverse the logic.. test -f .. || ... | ||
| [2012/01/02 19:46:47] <danblack> rcrowley: been using your talk puppet.lentz.com.au:/etc/puppet/modules/users/manifests/ a lot recently. very nice reference. thankyou | ||
| [2012/01/02 19:47:02] <danblack> http://rcrowley.org/talks/sv-puppet-2011-01-11 | ||
| [2012/01/02 19:47:05] <danblack> wrong url :-) | ||
| [2012/01/02 19:47:21] <rcrowley> danblack: Thanks! I'm glad that stuff remains useful after the fact. | ||
| [2012/01/02 19:50:03] @ jhayden joined channel #puppet | ||
| [2012/01/02 19:53:32] @ Quit: danblack: Quit: solitude begins | ||
| [2012/01/02 19:57:55] <jhayden> Hi, I'm trying to set up pupet on OS X Lion running automatically via Launchd | ||
| [2012/01/02 19:58:21] <jhayden> I have fixed most of my problems (permissions) but can't figure this one out | ||
| [2012/01/02 19:58:23] <jhayden> ^[[0;33mwarning: /File[/var/lib/puppet/log/masterhttp.log]: Could not stat; permission denied^[[0m | ||
| [2012/01/02 19:58:23] <jhayden> ^[[1;35merr: /File[/var/lib/puppet/log/masterhttp.log]/ensure: change from absent to file failed: Could not set 'file on ensure: Permission denied - /var/lib/puppet/log/masterhttp.log^[[0m | ||
| [2012/01/02 19:58:44] <jhayden> Could anyone point to where this is being generated from | ||
| [2012/01/02 19:59:13] <jhayden> BTW this is from /var/puppet/log/puppetmaster.out | ||
| [2012/01/02 20:01:31] <dpittman> jhayden: It is automatically generated as part of the rails logging gumph in the puppetmaster. Look for options around there to find how to configure it. | ||
| [2012/01/02 20:01:48] @ Quit: emmanuelux: Remote host closed the connection | ||
| [2012/01/02 20:02:19] <jhayden> Ok, thx for the info | ||
| [2012/01/02 20:04:00] <Corey> jhayden: And not for nothing but check perms and that the execute bit is set on directories. | ||
| [2012/01/02 20:04:06] @ Quit: dan__t_: Ping timeout: 240 seconds | ||
| [2012/01/02 20:04:41] @ dan__t_ joined channel #puppet | ||
| [2012/01/02 20:04:44] @ Quit: dan__t: Ping timeout: 255 seconds | ||
| [2012/01/02 20:05:00] @ skm joined channel #puppet | ||
| [2012/01/02 20:05:37] @ Quit: Stenbryggen: Quit: Leaving. | ||
| [2012/01/02 20:05:49] <jhayden> Corey: On the perms I believe I have checked. But a dumb question, how far up the path does ownership amd perms have to be valid | ||
| [2012/01/02 20:06:14] <jhayden> IE root owns var but puppet owns from there on down | ||
| [2012/01/02 20:08:26] @ sebian joined channel #puppet | ||
| [2012/01/02 20:10:30] @ danblack joined channel #puppet | ||
| [2012/01/02 20:15:03] @ dan__t joined channel #puppet | ||
| [2012/01/02 20:22:35] <Holocaine> Can you define a list of nodes based off an array? | ||
| [2012/01/02 20:25:57] @ Quit: kenperkins: Ping timeout: 244 seconds | ||
| [2012/01/02 20:27:49] @ Quit: nul0op: Quit: Leaving | ||
| [2012/01/02 20:30:36] @ dlb__ joined channel #puppet | ||
| [2012/01/02 20:31:56] @ Quit: dan__t: Ping timeout: 240 seconds | ||
| [2012/01/02 20:32:50] @ Quit: dissipate: Ping timeout: 252 seconds | ||
| [2012/01/02 20:42:06] @ Quit: dlb__: Remote host closed the connection | ||
| [2012/01/02 20:43:06] @ dlb__ joined channel #puppet | ||
| [2012/01/02 20:43:52] @ leifmadsen joined channel #puppet | ||
| [2012/01/02 20:43:59] @ Quit: dan__t_: Read error: Operation timed out | ||
| [2012/01/02 20:48:26] @ dan__t joined channel #puppet | ||
| [2012/01/02 20:48:55] @ skoom joined channel #puppet | ||
| [2012/01/02 20:51:00] @ Quit: skm: Ping timeout: 276 seconds | ||
| [2012/01/02 20:51:00] @ skoom is now known as skm | ||
| [2012/01/02 20:57:38] @ Quit: mrwacky42: Read error: Operation timed out | ||
| [2012/01/02 21:00:01] @ nitram_macair_ joined channel #puppet | ||
| [2012/01/02 21:05:54] @ Quit: zanefactory: Quit: zanefactory | ||
| [2012/01/02 21:17:06] @ Quit: Djelibeybi: Quit: Textual IRC Client: http://www.textualapp.com/ | ||
| [2012/01/02 21:20:11] <nevyn> how do you convince management that lots of monkeys is a bad recruiting strategy? | ||
| [2012/01/02 21:21:03] <dpittman> nevyn: Get involved in the hiring process, and start from the assumption that (unless they have explicitly said that) they are hiring for some capability that these people have. | ||
| [2012/01/02 21:21:24] @ Quit: rcrowley: Quit: Computer has gone to sleep. | ||
| [2012/01/02 21:21:27] <dpittman> nevyn: ...so, either change their view on capability, or add other capabilities to the ones they consider. | ||
| [2012/01/02 21:21:33] <dpittman> nevyn: or find another job. :) | ||
| [2012/01/02 21:22:08] <nevyn> dpittman: we're only allowed to recruit at $50kish | ||
| [2012/01/02 21:23:02] <dpittman> nevyn: evidence is really the key here. :) If you can't get good *enough* staff at that price, find another job. :) | ||
| [2012/01/02 21:23:03] @ AshishH joined channel #puppet | ||
| [2012/01/02 21:23:09] <nevyn> right. | ||
| [2012/01/02 21:23:24] <dpittman> nevyn: ...but, glassdoor, or whatever other local "salary survey" site might help convince them. | ||
| [2012/01/02 21:25:24] <nevyn> is glassdoor melbourne? or portland? | ||
| [2012/01/02 21:26:06] @ xjiujiu joined channel #puppet | ||
| [2012/01/02 21:26:12] @ Quit: leifmadsen: Quit: This is how I roll; animal print pants outta control! | ||
| [2012/01/02 21:26:31] <nevyn> nevermind | ||
| [2012/01/02 21:27:30] <jhayden> re: my OS X Lion puppet install issues - seems like running puppetmaster from command line works but from launchd fails. Has anyone seen this behavior? | ||
| [2012/01/02 21:27:40] <jhayden> Here's the plist | ||
| [2012/01/02 21:27:47] <jhayden> <?xml version="1.0" encoding="UTF-8"?> | ||
| [2012/01/02 21:27:47] <jhayden> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
| [2012/01/02 21:27:47] <jhayden> <plist version="1.0"> | ||
| [2012/01/02 21:27:47] <jhayden> <dict> | ||
| [2012/01/02 21:27:47] <jhayden> <key>EnvironmentVariables</key> | ||
| [2012/01/02 21:27:47] <jhayden> <dict> | ||
| [2012/01/02 21:27:48] <jhayden> <key>PATH</key> | ||
| [2012/01/02 21:27:48] <jhayden> <string>/sbin:/usr/sbin:/bin:/usr/bin</string> | ||
| [2012/01/02 21:27:57] <jhayden> <key>RUBYLIB</key> | ||
| [2012/01/02 21:27:58] <jhayden> <string>/usr/lib/ruby/site_ruby/1.8/</string> | ||
| [2012/01/02 21:27:59] <jhayden> </dict> | ||
| [2012/01/02 21:27:59] <jhayden> <key>Label</key> | ||
| [2012/01/02 21:28:00] <dpittman> jhayden: pastebin or gist, please! | ||
| [2012/01/02 21:28:00] <jhayden> <string>com.reductivelabs.puppetmaster</string> | ||
| [2012/01/02 21:28:01] <jhayden> <key>OnDemand</key> | ||
| [2012/01/02 21:28:02] <jhayden> <false/> | ||
| [2012/01/02 21:28:03] <jhayden> <key>ProgramArguments</key> | ||
| [2012/01/02 21:28:03] <jhayden> <array> | ||
| [2012/01/02 21:28:14] <jhayden> <string>/usr/sbin/puppetmasterd</string> | ||
| [2012/01/02 21:28:15] <jhayden> <string>--verbose</string> | ||
| [2012/01/02 21:28:15] <jhayden> <string>--no-daemonize</string> | ||
| [2012/01/02 21:28:16] <jhayden> </array> | ||
| [2012/01/02 21:28:17] <jhayden> <key>RunAtLoad</key> | ||
| [2012/01/02 21:28:18] <jhayden> <true/> | ||
| [2012/01/02 21:28:19] <jhayden> <key>ServiceDescription</key> | ||
| [2012/01/02 21:28:19] <jhayden> <string>Puppetmaster Daemon</string> | ||
| [2012/01/02 21:28:20] <jhayden> <key>ServiceIPC</key> | ||
| [2012/01/02 21:28:31] <jhayden> <false/> | ||
| [2012/01/02 21:28:31] <jhayden> <key>StandardErrorPath</key> | ||
| [2012/01/02 21:28:32] <jhayden> <string>/var/puppet/log/puppetmaster.err</string> | ||
| [2012/01/02 21:28:33] <jhayden> <key>StandardOutPath</key> | ||
| [2012/01/02 21:28:34] <jhayden> <string>/var/puppet/log/puppetmaster.out</string> | ||
| [2012/01/02 21:28:35] <jhayden> </dict> | ||
| [2012/01/02 21:28:36] <jhayden> </plist> | ||
| [2012/01/02 21:28:37] <jhayden> ack, sorry as soon as I did it I knew I effed up | ||
| [2012/01/02 21:28:38] <jhayden> sorry | ||
| [2012/01/02 21:29:09] <dpittman> jhayden: That looks sane enough, so you are going to have to talk about a specific error to get anywhere further, I think. | ||
| [2012/01/02 21:30:10] <dpittman> jhayden: What doesn't work? | ||
| [2012/01/02 21:30:36] <jhayden> from /var/puppet/log/puppetmaster.out | ||
| [2012/01/02 21:30:38] <jhayden> ^[[0;33mwarning: /File[/var/lib/puppet/log/masterhttp.log]: Could not stat; permission denied^[[0m | ||
| [2012/01/02 21:30:39] <jhayden> 7:58 PM | ||
| [2012/01/02 21:30:39] <jhayden> ^[[1;35merr: /File[/var/lib/puppet/log/masterhttp.log]/ensure: change from absent to file failed: Could not set 'file on ensure: Permission denied - /var/lib/puppet/log/masterhttp.log^[[0m | ||
| [2012/01/02 21:30:40] @ drewrm joined channel #puppet | ||
| [2012/01/02 21:31:05] <jhayden> puppetmaster never starts | ||
| [2012/01/02 21:31:06] @ rcrowley joined channel #puppet | ||
| [2012/01/02 21:31:24] <jhayden> it tries to spawn every 20 secs or so and this is what I see | ||
| [2012/01/02 21:31:29] <dpittman> jhayden: You probably need that directory writeable by the user `puppet`, to which the master is trying to switch during startup. (You run it as root, it will setuid down as soon as it can.) | ||
| [2012/01/02 21:33:52] <jhayden> drwxr-x--- 3 puppet puppet 102 Jan 2 20:59 log | ||
| [2012/01/02 21:34:32] <dpittman> jhayden: /var/*LIB*/puppet/log, right? | ||
| [2012/01/02 21:34:42] <jhayden> yes | ||
| [2012/01/02 21:35:20] <dpittman> jhayden: try --debug --trace as arguments to the master process, and see if that shows more. | ||
| [2012/01/02 21:35:30] <dpittman> jhayden: also, that is running as root to start with, right? | ||
| [2012/01/02 21:35:55] <jhayden> this is on a Mac OS X system | ||
| [2012/01/02 21:36:07] <jhayden> from the command line I sudo the command | ||
| [2012/01/02 21:36:34] <jhayden> should I add the --debug and --trace to the plist file? | ||
| [2012/01/02 21:36:54] <dpittman> jhayden: Random other thought: the specific file doesn't exist, or have the wrong permissions, does it? | ||
| [2012/01/02 21:37:41] <jhayden> it exists -rw-rw---- 1 puppet puppet 13986 Jan 2 21:22 masterhttp.log | ||
| [2012/01/02 21:37:44] <dpittman> jhayden: ...and, yeah, that would be where to add them. Not that I expect a great deal of joy out of the extra logging. | ||
| [2012/01/02 21:38:20] <dpittman> jhayden: What is the ownership and permissions of `/var/lib/puppet`, and `/var/lib`? | ||
| [2012/01/02 21:38:29] @ Quit: cwarden: Ping timeout: 252 seconds | ||
| [2012/01/02 21:39:32] @ Quit: kermit: Quit: Leaving. | ||
| [2012/01/02 21:40:07] @ Quit: justin_donaldson: Quit: Leaving. | ||
| [2012/01/02 21:40:39] @ leifmadsen joined channel #puppet | ||
| [2012/01/02 21:41:27] <jhayden> var/lib drwxr-xr-x 5 root wheel 170 Dec 31 11:50 lib | ||
| [2012/01/02 21:41:59] <jhayden> var/lib/puppet drwxrwxrwx 12 puppet puppet 408 Dec 31 11:57 puppet | ||
| [2012/01/02 21:44:21] <dpittman> jhayden: I don't know what else to check. Everything should be OK for that to work, unless it is running as `nobody` or something, but I /thought/ global daemons ran as root by default. | ||
| [2012/01/02 21:44:45] <dpittman> jhayden: glarizza or jmccune might have something helpful to add, if they are around tonight. | ||
| [2012/01/02 21:45:08] <Holocaine> Can you set a variable on the command line for puppet apply? | ||
| [2012/01/02 21:45:43] <jhayden> well I have some more output from setting the trace and debug | ||
| [2012/01/02 21:45:58] <jhayden> I'll try and see if I can track it down from there | ||
| [2012/01/02 21:47:18] <dpittman> jhayden: The one last thing I would try is running a shell script from launchd, and having that invoke the master. Then you can, eg, dump the environment and try to figure out if something missing there is causing the problem. | ||
| [2012/01/02 21:47:35] @ Quit: leifmadsen: Quit: This is how I roll; animal print pants outta control! | ||
| [2012/01/02 21:47:42] <dpittman> jhayden: Reproducing it without launchd would be optimal. Otherwise, `puts` works good for debugging in the Puppet source. :) | ||
| [2012/01/02 21:47:45] <dpittman> jhayden: Good luck. | ||
| [2012/01/02 21:52:26] @ Quit: dlb__: Remote host closed the connection | ||
| [2012/01/02 21:52:50] @ dlb__ joined channel #puppet | ||
| [2012/01/02 21:54:10] @ Quit: choonming: Remote host closed the connection | ||
| [2012/01/02 21:57:14] @ Quit: dlb__: Ping timeout: 255 seconds | ||
| [2012/01/02 22:01:40] @ Quit: nitram_macair_: Quit: nitram_macair_ | ||
| [2012/01/02 22:02:04] @ nitram_macair_ joined channel #puppet | ||
| [2012/01/02 22:03:46] @ muhdiekuh joined channel #puppet | ||
| [2012/01/02 22:06:09] @ jimi_c joined channel #puppet | ||
| [2012/01/02 22:10:25] @ Quit: nitram_macair: Quit: nitram_macair | ||
| [2012/01/02 22:10:25] @ nitram_macair_ is now known as nitram_macair | ||
| [2012/01/02 22:11:49] @ Quit: rcrowley: Quit: Computer has gone to sleep. | ||
| [2012/01/02 22:16:38] @ Quit: tmclaugh: Quit: tmclaugh | ||
| [2012/01/02 22:18:27] @ Quit: jhayden: Quit: Linkinus - http://linkinus.com | ||
| [2012/01/02 22:19:41] @ Djelibeybi joined channel #puppet | ||
| [2012/01/02 22:20:40] @ choonming joined channel #puppet | ||
| [2012/01/02 22:26:55] @ kermit joined channel #puppet | ||
| [2012/01/02 22:27:00] @ Quit: kermit: Changing host | ||
| [2012/01/02 22:27:00] @ kermit joined channel #puppet | ||
| [2012/01/02 22:27:24] @ marut1 is now known as marut | ||
| [2012/01/02 22:39:33] @ dlb__ joined channel #puppet | ||
| [2012/01/02 22:49:58] @ Quit: cliff-hm: Ping timeout: 252 seconds | ||
| [2012/01/02 22:50:30] <alanevans> anyone know really quickly before I go off to the docs, can a class name include numbers? can it start with a number? class foo::bar::1 foo::bar::baz1? | ||
| [2012/01/02 22:51:33] <alanevans> lol | ||
| [2012/01/02 22:51:37] <alanevans> nevermind, rtfm | ||
| [2012/01/02 22:51:39] @ Quit: nitram_macair: Quit: nitram_macair | ||
| [2012/01/02 22:52:00] <alanevans> http://docs.puppetlabs.com/guides/language_guide.html "Class names starting with 0-9" | ||
| [2012/01/02 22:52:10] <alanevans> right there in a nice chart | ||
| [2012/01/02 22:52:11] <alanevans> ha | ||
| [2012/01/02 22:54:16] @ bobra joined channel #puppet | ||
| [2012/01/02 22:55:48] @ nitram_macair joined channel #puppet | ||
| [2012/01/02 22:59:19] @ gaveen joined channel #puppet | ||
| [2012/01/02 22:59:20] @ Quit: gaveen: Changing host | ||
| [2012/01/02 22:59:20] @ gaveen joined channel #puppet | ||
| [2012/01/02 23:00:36] @ Quit: bobra: Remote host closed the connection | ||
| [2012/01/02 23:03:45] @ bobra joined channel #puppet | ||
| [2012/01/02 23:06:22] @ rcrowley joined channel #puppet | ||
| [2012/01/02 23:06:27] @ Quit: rcrowley: Client Quit | ||
| [2012/01/02 23:07:07] @ Quit: xjiujiu: Quit: No Ping reply in 180 seconds. | ||
| [2012/01/02 23:07:20] @ jhujhiti joined channel #puppet | ||
| [2012/01/02 23:07:36] @ xjiujiu joined channel #puppet | ||
| [2012/01/02 23:08:13] <jhujhiti> hi. i'm trying to use puppet to install a debian package with a debconf preseed file and i'd like the file to only be created if we're going to install the package. how can i do this? | ||
| [2012/01/02 23:08:16] @ Quit: kermit: Quit: Leaving. | ||
| [2012/01/02 23:10:10] @ nitram_macair_ joined channel #puppet | ||
| [2012/01/02 23:10:13] <bob2> make the package depend on it | ||
| [2012/01/02 23:10:35] <jhujhiti> sorry, i wasn't clear. the package does depend on it, but the file gets left behind after the package is installed | ||
| [2012/01/02 23:10:46] @ Quit: illsci: Ping timeout: 240 seconds | ||
| [2012/01/02 23:10:53] <jhujhiti> i want to clean up after it. if i create an Exec to delete the file, the next time puppet runs, it just drops the file back | ||
| [2012/01/02 23:11:43] @ iamchrisf_ joined channel #puppet | ||
| [2012/01/02 23:13:02] <marut> you could build a defined type. I think you'd still end up with the file being created and removed every run though, unless some more magic is dreamed up | ||
| [2012/01/02 23:13:13] @ rcrowley joined channel #puppet | ||
| [2012/01/02 23:13:29] <bob2> i'd just live with it | ||
| [2012/01/02 23:15:00] <marut> we use a defined type for debconf-set-selections, but don't remove the selections after package installation | ||
| [2012/01/02 23:15:41] <jhujhiti> all i really need is a refreshonly on File, but it's not supported... | ||
| [2012/01/02 23:15:41] @ Quit: iamchrisf_: Client Quit | ||
| [2012/01/02 23:15:55] @ socomm joined channel #puppet | ||
| [2012/01/02 23:16:34] @ chadskidmore joined channel #puppet | ||
| [2012/01/02 23:17:12] <marut> you could write/extend the default file provider to support refreshonly. not a good solution from the maintainability standpoint though. | ||
| [2012/01/02 23:18:47] @ Quit: gniks: Quit: Leaving. | ||
| [2012/01/02 23:19:44] <jhujhiti> hmm, i guess i'll just end up leaving the file lying around then. at least i wasn't missing something obvious | ||
| [2012/01/02 23:21:34] <marut> depending on how you're doing things you could probably manage a/the directory and set recursive => true so that at least you'd only have the debconf files the current puppet run uses | ||
| [2012/01/02 23:21:44] <marut> and purge => true | ||
| [2012/01/02 23:22:21] <marut> or whatever those options are. I forget the exact syntax. | ||
| [2012/01/02 23:24:46] @ holywater joined channel #puppet | ||
| [2012/01/02 23:35:50] @ dissipate joined channel #puppet | ||
| [2012/01/02 23:35:51] @ Quit: dissipate: Changing host | ||
| [2012/01/02 23:35:51] @ dissipate joined channel #puppet | ||
| [2012/01/02 23:36:45] @ Quit: AshishH: Ping timeout: 268 seconds | ||
| [2012/01/02 23:36:54] @ Quit: danblack: Quit: solitude begins | ||
| [2012/01/02 23:39:22] @ danblack joined channel #puppet | ||
| [2012/01/02 23:40:43] @ kermit joined channel #puppet | ||
| [2012/01/02 23:42:47] @ Quit: ldlework: Ping timeout: 252 seconds | ||
| [2012/01/02 23:54:39] @ lak joined channel #puppet | ||
| [2012/01/02 23:55:05] @ lak is now known as Guest31228 | ||
| [2012/01/02 23:56:34] @ Quit: holywater: Quit: gone with a wind |
Generated by irclog2html.py 2.9.2 by Marius Gedminas - find it at mg.pov.lt!