Wednesday, 2012-02-22

[2012/02/22 00:00:23] @ Log started by gepetto
[2012/02/22 00:00:23] @ MattM joined channel #puppet
[2012/02/22 00:01:28] @ Quit: cyflea: Ping timeout: 260 seconds
[2012/02/22 00:02:40] @ Quit: Djelibeybi: Quit: Textual IRC Client: http://www.textualapp.com/
[2012/02/22 00:03:01] @ pjd3 joined channel #puppet
[2012/02/22 00:03:11] @ pjd3 left channel #puppet ()
[2012/02/22 00:06:32] @ Quit: helindbe: Quit: helindbe
[2012/02/22 00:07:42] @ helindbe joined channel #puppet
[2012/02/22 00:08:23] @ Quit: ghanima: Quit: Leaving.
[2012/02/22 00:08:52] @ Quit: ctracey: Ping timeout: 255 seconds
[2012/02/22 00:22:23] @ Quit: Stenbryggen: Quit: Leaving.
[2012/02/22 00:22:50] @ Quit: newtMcKerr: Quit: Leaving.
[2012/02/22 00:29:15] @ cwarden joined channel #puppet
[2012/02/22 00:30:32] @ Quit: VladGh: Ping timeout: 276 seconds
[2012/02/22 00:34:12] @ lak joined channel #puppet
[2012/02/22 00:34:13] @ Quit: lak: Changing host
[2012/02/22 00:34:13] @ lak joined channel #puppet
[2012/02/22 00:34:52] @ Niarf1 joined channel #puppet
[2012/02/22 00:35:02] @ joe-mac joined channel #puppet
[2012/02/22 00:35:46] @ Quit: Niarf: Read error: Connection reset by peer
[2012/02/22 00:41:24] @ ezmobius joined channel #puppet
[2012/02/22 00:43:20] @ Quit: the_ramink: Ping timeout: 244 seconds
[2012/02/22 00:43:51] @ Quit: Holocaine: Ping timeout: 244 seconds
[2012/02/22 00:46:28] @ danblack joined channel #puppet
[2012/02/22 00:53:11] @ Quit: lisa: Ping timeout: 260 seconds
[2012/02/22 00:55:35] @ Quit: MaZ-: Ping timeout: 240 seconds
[2012/02/22 00:59:32] <Rockj> any reason for why the debian packages for puppet-dashboard enforces mysql?
[2012/02/22 00:59:50] <Rockj> afaik postgres works fine if its using plain ruby etc?
[2012/02/22 01:00:21] @ the_ramink joined channel #puppet
[2012/02/22 01:00:28] <rodjek> Rockj: last time i looked at the dashboard code it had a lot of hardcoded queries that were mysql specific
[2012/02/22 01:00:38] <Rockj> eew
[2012/02/22 01:01:00] @ Quit: diq: Ping timeout: 245 seconds
[2012/02/22 01:01:15] <Rockj> ok, saw someone mentioning foreman or something earlier up, but I guess that provides much more then just a simple reporting tool for puppet
[2012/02/22 01:01:25] <Rockj> more the whole life cycle for your env.
[2012/02/22 01:01:35] <rodjek> yeah
[2012/02/22 01:01:39] <rodjek> personally, i use neither
[2012/02/22 01:01:54] <Rockj> worth jumping straight to it? and just disable the birth-part?
[2012/02/22 01:03:03] <rodjek> as i said, i use neither
[2012/02/22 01:03:32] @ diq joined channel #puppet
[2012/02/22 01:05:15] <Rockj> so you don't read the reports? or using the email feature? *curious* (guess ill take a deep breath and think about foreman then ..hm)
[2012/02/22 01:06:01] <rodjek> i have a custom report processor that pulls out the interesting lines (notice and above) and sends them to campfire
[2012/02/22 01:06:27] <Rockj> aha.
[2012/02/22 01:07:21] @ hooper_ joined channel #puppet
[2012/02/22 01:10:58] @ lisa joined channel #puppet
[2012/02/22 01:11:30] @ Quit: rcrowley: Quit: Computer has gone to sleep.
[2012/02/22 01:20:02] @ learner439 joined channel #puppet
[2012/02/22 01:20:19] @ Quit: jtanner: Remote host closed the connection
[2012/02/22 01:22:55] @ Quit: learner439: Client Quit
[2012/02/22 01:23:00] @ Quit: joe-mac: Quit: Leaving.
[2012/02/22 01:24:09] @ Quit: dhogland: Remote host closed the connection
[2012/02/22 01:27:32] <Rockj> looks like they have a ticket in for other RDBMSs support. hm.
[2012/02/22 01:30:20] @ Quit: j^2: Ping timeout: 252 seconds
[2012/02/22 01:30:35] @ Quit: danblack: Ping timeout: 260 seconds
[2012/02/22 01:31:11] @ ckauhaus joined channel #puppet
[2012/02/22 01:35:05] @ jaydg joined channel #puppet
[2012/02/22 01:37:45] @ Quit: bobra: Remote host closed the connection
[2012/02/22 01:37:45] @ ezmob joined channel #puppet
[2012/02/22 01:40:34] @ Quit: mosen: Quit: Leaving
[2012/02/22 01:40:56] @ Quit: ezmobius: Ping timeout: 240 seconds
[2012/02/22 01:42:21] @ bobra joined channel #puppet
[2012/02/22 01:42:44] @ Quit: Bass2: Quit: Leaving
[2012/02/22 01:43:24] @ j^2 joined channel #puppet
[2012/02/22 01:50:35] @ Quit: cwarden: Ping timeout: 245 seconds
[2012/02/22 01:51:16] @ joe-mac joined channel #puppet
[2012/02/22 01:51:55] @ Meier joined channel #puppet
[2012/02/22 01:52:34] @ Quit: Bass10: Ping timeout: 244 seconds
[2012/02/22 01:56:01] @ Quit: skm: Quit: Leaving...
[2012/02/22 01:56:30] @ Quit: M-: Quit: This computer has gone to sleep
[2012/02/22 01:58:54] @ Quit: ckauhaus: Quit: Leaving.
[2012/02/22 01:59:44] @ w3lly joined channel #puppet
[2012/02/22 01:59:49] @ ABK joined channel #puppet
[2012/02/22 02:00:26] <ABK> I tried up the custom_fact using puppet modules
[2012/02/22 02:00:41] <ABK> http://pastebin.com/WYPyQRNC has the module code
[2012/02/22 02:01:11] <ABK> its not finding any value for the fact
[2012/02/22 02:01:27] @ jiboumans_ joined channel #puppet
[2012/02/22 02:01:48] @ worklappy joined channel #puppet
[2012/02/22 02:03:32] @ artkrz-away is now known as artkrz
[2012/02/22 02:03:39] <ABK> mad some change; plz look at http://pastebin.com/LWx7jAm9
[2012/02/22 02:04:20] @ Quit: Dyson: Ping timeout: 245 seconds
[2012/02/22 02:16:29] <ABK> is puppet module way of loading custom facters not available in facter 1.6.5
[2012/02/22 02:17:06] <ABK> /anyone//
[2012/02/22 02:19:20] @ Quit: sdog: Ping timeout: 245 seconds
[2012/02/22 02:22:15] <the_ramink> ABK: do you have pluginsync enabled on the client?
[2012/02/22 02:22:49] <ABK> yes I do have it enabled on master and client both
[2012/02/22 02:23:07] <ABK> puppet module for custom resource is working fine for me
[2012/02/22 02:23:15] <ABK> for puppet-vcsrepo
[2012/02/22 02:23:17] @ pmorillon joined channel #puppet
[2012/02/22 02:23:35] @ kerframil joined channel #puppet
[2012/02/22 02:24:19] <the_ramink> does sudo facter -p return a value for your fact on the client?
[2012/02/22 02:25:12] <ABK> no
[2012/02/22 02:25:25] @ Quit: lak: Quit: Leaving.
[2012/02/22 02:26:23] @ Quit: Vulcan[OMNI]: Quit: Vulcan[OMNI]
[2012/02/22 02:26:30] @ Quit: larstobi: Quit: Leaving.
[2012/02/22 02:28:52] @ Quit: gniks1: Quit: Leaving.
[2012/02/22 02:29:49] @ Quit: worklappy: Quit: Leaving
[2012/02/22 02:32:21] @ Quit: HarrisonZhu: Quit: Leaving.
[2012/02/22 02:32:27] @ DJClean joined channel #puppet
[2012/02/22 02:33:06] <the_ramink> odd, works for me.
[2012/02/22 02:36:38] @ aheritier joined channel #puppet
[2012/02/22 02:37:13] @ d3c_ joined channel #puppet
[2012/02/22 02:40:06] @ csanchez joined channel #puppet
[2012/02/22 02:41:17] @ Quit: littleidea: Quit: littleidea
[2012/02/22 02:42:17] @ MattyM joined channel #puppet
[2012/02/22 02:43:27] <ABK> did you tried out the code from http://pastebin.com/LWx7jAm9
[2012/02/22 02:43:39] <ABK> and what facter version do you have
[2012/02/22 02:45:17] @ seanh-ansca joined channel #puppet
[2012/02/22 02:46:09] @ strayer joined channel #puppet
[2012/02/22 02:48:53] @ strayer is now known as althoras
[2012/02/22 02:49:02] @ tremble joined channel #puppet
[2012/02/22 02:51:50] @ Quit: omry_: Ping timeout: 248 seconds
[2012/02/22 02:53:23] @ MaZ- joined channel #puppet
[2012/02/22 02:55:17] @ inecas joined channel #puppet
[2012/02/22 02:56:31] @ lkoranda joined channel #puppet
[2012/02/22 02:57:33] @ ckauhaus joined channel #puppet
[2012/02/22 02:58:26] @ Quit: csanchez: Read error: Connection timed out
[2012/02/22 02:59:52] @ Quit: rburton-: Quit: rburton-
[2012/02/22 03:00:12] @ csanchez joined channel #puppet
[2012/02/22 03:00:22] @ Quit: hooper_: Ping timeout: 248 seconds
[2012/02/22 03:02:24] @ mealstrom joined channel #puppet
[2012/02/22 03:02:26] @ mealstrom left channel #puppet ()
[2012/02/22 03:04:12] @ jcorrius joined channel #puppet
[2012/02/22 03:05:24] @ maes_ joined channel #puppet
[2012/02/22 03:05:48] @ Quit: seanh-ansca: Quit: Leaving.
[2012/02/22 03:06:41] @ eedri joined channel #puppet
[2012/02/22 03:06:49] @ verwilst joined channel #puppet
[2012/02/22 03:07:06] @ Quit: alanevans: Remote host closed the connection
[2012/02/22 03:07:20] @ Ramonster joined channel #puppet
[2012/02/22 03:07:34] @ alanevans joined channel #puppet
[2012/02/22 03:09:41] @ maes_` joined channel #puppet
[2012/02/22 03:10:38] @ Quit: joe-mac: Read error: Connection reset by peer
[2012/02/22 03:11:30] @ joe-mac joined channel #puppet
[2012/02/22 03:13:00] @ Quit: maes_: Read error: Connection reset by peer
[2012/02/22 03:13:41] @ Quit: alanevans: Ping timeout: 276 seconds
[2012/02/22 03:14:58] @ KaZeR_W joined channel #puppet
[2012/02/22 03:15:27] @ Quit: samkottler: Remote host closed the connection
[2012/02/22 03:17:27] @ dross_ joined channel #puppet
[2012/02/22 03:17:56] @ Quit: csanchez: Read error: Connection timed out
[2012/02/22 03:18:19] @ csanchez joined channel #puppet
[2012/02/22 03:18:35] <eedri> anyone?
[2012/02/22 03:18:49] @ larstobi joined channel #puppet
[2012/02/22 03:18:50] <eedri> how do i use require=> in a package that needs 2 conditions
[2012/02/22 03:19:04] <eedri> require => Yumrepo["vdsm-fedora-nightly"],Package[vdsm-cli] like thos
[2012/02/22 03:19:12] @ dross_ is now known as dross
[2012/02/22 03:19:20] <misc> like this
[2012/02/22 03:19:24] <misc> and add[ ]
[2012/02/22 03:20:03] <eedri> [ Yumrepo["vdsm-fedora-nightly"],Package[vdsm-cli]] ?
[2012/02/22 03:25:51] <misc> yep
[2012/02/22 03:26:44] @ alanevans joined channel #puppet
[2012/02/22 03:28:30] @ Quit: jwhitlock: Ping timeout: 245 seconds
[2012/02/22 03:28:38] <ABK> the_ramink: whats you facter version
[2012/02/22 03:29:05] @ Quit: Niarf1: Quit: Leaving.
[2012/02/22 03:31:04] @ jwhitlock_zzz joined channel #puppet
[2012/02/22 03:31:04] @ jwhitlock_zzz is now known as jwhitlock_zzz_zz
[2012/02/22 03:31:53] @ octane- joined channel #puppet
[2012/02/22 03:31:53] @ sdog joined channel #puppet
[2012/02/22 03:33:06] @ Quit: Ramonster: Ping timeout: 265 seconds
[2012/02/22 03:34:10] @ jwhitlock_zzz_zz is now known as jwhitlock
[2012/02/22 03:34:41] @ Ramonster joined channel #puppet
[2012/02/22 03:36:08] @ larstobi1 joined channel #puppet
[2012/02/22 03:36:33] @ nan0r joined channel #puppet
[2012/02/22 03:36:48] @ Quit: csanchez: Read error: Connection timed out
[2012/02/22 03:37:58] @ Quit: larstobi: Ping timeout: 245 seconds
[2012/02/22 03:38:16] <eedri> can i do something like this:
[2012/02/22 03:38:18] <eedri> package{["vdsm","vdsm-cli"]:
[2012/02/22 03:38:18] <eedri> 13 ensure => latest,
[2012/02/22 03:38:18] <eedri> 14 require => Yumrepo["vdsm-fedora-nightly"]
[2012/02/22 03:38:18] <eedri> 15 }
[2012/02/22 03:38:27] @ csanchez joined channel #puppet
[2012/02/22 03:38:36] <eedri> 2 packages that i want yum update to update at the same time?
[2012/02/22 03:40:07] @ trickyf joined channel #puppet
[2012/02/22 03:40:36] @ Quit: sdog: Changing host
[2012/02/22 03:40:37] @ sdog joined channel #puppet
[2012/02/22 03:40:45] <ABK> eedri: yes
[2012/02/22 03:40:57] <eedri> ABK, it still doesnt work
[2012/02/22 03:41:08] <eedri> ABK, meaning it doesn't run 'yum update pkg1 pkg2'
[2012/02/22 03:41:29] <eedri> ABK, any other method i can use inside the package class?
[2012/02/22 03:41:34] <eedri> ABK, maybe exec?
[2012/02/22 03:41:49] <ABK> from what I understand, it will create to resource Package[vdsm] and Package[vdsm-cli]
[2012/02/22 03:41:56] <ABK> not merge it in same package
[2012/02/22 03:42:20] <eedri> ABK, i dont mean merge, i indeed need both vdsm and vdsm-cli to be installed and latest
[2012/02/22 03:42:36] <eedri> problem is yum update vdsm or yum update vdsm-cli fails
[2012/02/22 03:42:51] <eedri> so i want to tell puppet to do: "yum update vdsm vdsm-cli"
[2012/02/22 03:43:57] <eedri> ABK, maybe i can change ensure to 'present'
[2012/02/22 03:44:00] <ABK> you tried "yum update vdsm" manually and it failed ? is it
[2012/02/22 03:44:04] <eedri> yes
[2012/02/22 03:44:09] <ABK> at what
[2012/02/22 03:44:22] <eedri> what's the error?
[2012/02/22 03:44:28] <ABK> yup
[2012/02/22 03:44:39] <eedri> it conflicts with vdsm-cli, since both brings the same files
[2012/02/22 03:44:45] @ M- joined channel #puppet
[2012/02/22 03:44:54] <eedri> i know it's bad practise, but i dont have control on the spec file of these packages
[2012/02/22 03:50:03] <ABK> and doing them both in single command bypass it; if you wanna follow it anyway..... I don't think Package will allow
[2012/02/22 03:50:40] <ABK> for 'present' bit : you just them to be there or update it
[2012/02/22 03:50:51] <ABK> anyway if you get it running on a fresh box
[2012/02/22 03:51:02] <ABK> it will fail as for the clash you mentioned
[2012/02/22 03:51:20] <eedri> can package contain an 'exec' command?
[2012/02/22 03:51:34] <eedri> package{["vdsm","vdsm-cli"]:
[2012/02/22 03:51:34] <eedri> 13 ensure => installed,
[2012/02/22 03:51:34] <eedri> 14 require => Yumrepo["vdsm-fedora-nightly"],
[2012/02/22 03:51:34] <eedri> 15 exec { "yum update vdsm vdsm-cli":
[2012/02/22 03:51:34] <eedri> 16 path => "/usr/bin/",
[2012/02/22 03:51:35] <eedri> 17 onlyif => "rpm -q vdsm"
[2012/02/22 03:51:37] <eedri> 18 }
[2012/02/22 03:51:39] <eedri> 19 }
[2012/02/22 03:52:05] <ptman> eedri, no
[2012/02/22 03:52:09] <ABK> nope
[2012/02/22 03:52:11] <ptman> eedri, and please don't paste here
[2012/02/22 03:52:12] <eedri> :(
[2012/02/22 03:52:18] <ptman> use pastebin or gist or something like that
[2012/02/22 03:52:18] <eedri> ptman, sorry, ok
[2012/02/22 03:52:43] <eedri> so i understand package doesn't support exec
[2012/02/22 03:52:56] <eedri> so i will need just to put it out of the package class
[2012/02/22 03:52:58] <ptman> eedri, you want to use notify/subscribe
[2012/02/22 03:53:13] <eedri> and let package make sure its only installed
[2012/02/22 03:53:25] <eedri> can i make exec run onlyif there is a new pkg?
[2012/02/22 03:53:27] <ptman> package { ...., notify => Exec['post-package'] } exec { 'post-package': command => 'foobar' }
[2012/02/22 03:53:29] @ junaid joined channel #puppet
[2012/02/22 03:53:42] <ptman> eedri, yes, refreshonly => true
[2012/02/22 03:53:45] <junaid> need help to imports reports in foreman for puppet
[2012/02/22 03:54:19] <eedri> ptman, cool
[2012/02/22 03:54:21] <eedri> ptman, checking
[2012/02/22 03:54:43] <ptman> eedri, additionally, instead of using you to update it, use ensure => latest
[2012/02/22 03:54:53] <junaid> i can see the hosts added as puppet clients but unable to see them in reports. although i have exported puppet-foreman.rb as foreman.rb to /usr/lib/ruby/1.8/puppet/reports/
[2012/02/22 03:54:53] <ptman> *yum to update it
[2012/02/22 03:54:58] <eedri> ptman, that's the problem
[2012/02/22 03:54:58] <junaid> Please help
[2012/02/22 03:55:02] <eedri> ptman, latest will break
[2012/02/22 03:55:09] <ptman> ah, I see
[2012/02/22 03:55:13] <eedri> ptman, since it will try to yum update pkg1
[2012/02/22 03:56:11] @ Quit: csanchez: Read error: Connection timed out
[2012/02/22 03:56:29] @ csanchez joined channel #puppet
[2012/02/22 03:58:07] @ Quit: jiboumans_: Quit: jiboumans_
[2012/02/22 04:00:26] @ Quit: M-: Quit: This computer has gone to sleep
[2012/02/22 04:01:20] @ arBmind joined channel #puppet
[2012/02/22 04:01:56] @ Niarf joined channel #puppet
[2012/02/22 04:02:17] @ nan0r1 joined channel #puppet
[2012/02/22 04:03:15] <ohadlevy> junaid: did you try using foreman installer?
[2012/02/22 04:03:32] <mfournier> eedri: think about in which order things must be done if done manually: configure yum repos -> run yum update -> install/update packages
[2012/02/22 04:03:54] @ Quit: nan0r: Ping timeout: 245 seconds
[2012/02/22 04:03:58] @ Quit: choonming: Read error: Connection reset by peer
[2012/02/22 04:04:00] <eedri> mfournier, yum repos are configured
[2012/02/22 04:04:02] <junaid> yes, i downloaced it using apt-get and doing it on debian lenny with backports support
[2012/02/22 04:04:02] <mfournier> eedri: you just have to use dependencies to make puppet do the same thing in the same order for you.
[2012/02/22 04:04:14] <eedri> mfournier, the problem is puppet tries to yum update each pkg seperatly
[2012/02/22 04:04:18] @ daysmen joined channel #puppet
[2012/02/22 04:04:33] <junaid> i can even paste the configuration of puppetmaster if you like
[2012/02/22 04:04:33] <eedri> mfournier, and fails. only if it will run yum update pkg1 pkg2 it will work
[2012/02/22 04:04:50] <ohadlevy> junaid: no, i mean --> http://theforeman.org/projects/foreman/wiki/Using_Puppet_Module_ready_to_use
[2012/02/22 04:05:03] <mfournier> eedri: are you using ensure => latest on these package ?
[2012/02/22 04:05:15] <eedri> mfournier, that's what i tried, and failed
[2012/02/22 04:05:15] <ohadlevy> eedri: you really dont have much options, if your package specs are broken, you need to use exec
[2012/02/22 04:05:24] @ Stenbryggen joined channel #puppet
[2012/02/22 04:05:30] <eedri> ohadlevy, i'm using exec now, seems to have issues also
[2012/02/22 04:05:36] <ohadlevy> eedri: as puppet always execute yum install X, yum install y
[2012/02/22 04:06:05] <ohadlevy> junaid: this automate the installation and configuration too
[2012/02/22 04:06:13] <eedri> i get this error now: Exec[post-package]/returns: change from notrun to 0 failed: yum update vdsm vdsm-cli returned 1 instead of one of [0]
[2012/02/22 04:06:34] <ohadlevy> eedri: thats because yum return an error
[2012/02/22 04:06:40] <ohadlevy> assuming your exec is correct
[2012/02/22 04:06:51] <eedri> ohadlevy, i understand, but yum update manually works
[2012/02/22 04:06:59] @ choonming joined channel #puppet
[2012/02/22 04:07:02] <ohadlevy> eedri: and what is the exit code?
[2012/02/22 04:07:14] <ohadlevy> yum update x,y ; echo $?
[2012/02/22 04:07:19] <junaid> ok, should i do this using git or direct from download link for puppet master
[2012/02/22 04:07:36] <eedri> ohadlevy, here is the module http://pastebin.com/ZPmEci7F
[2012/02/22 04:08:10] <ohadlevy> junaid: git is easier
[2012/02/22 04:08:11] <eedri> ohadlevy, 0
[2012/02/22 04:08:34] <junaid> ok, thanks. i will go through it
[2012/02/22 04:09:18] <ohadlevy> eedri: not sure if i understand your manifest, the package resource would install one at a time, so you would get the same failure at that stage
[2012/02/22 04:09:27] @ karthick87 joined channel #puppet
[2012/02/22 04:09:32] <ohadlevy> eedri: wouldnt it be easier to fix the spec file ?! :)
[2012/02/22 04:09:39] <eedri> ohadlevy, not my spec
[2012/02/22 04:09:45] <eedri> ohadlevy, and can't change it
[2012/02/22 04:09:45] <ohadlevy> eedri: send a patch ;)
[2012/02/22 04:09:57] <ohadlevy> eedri: sure you can, create your own repo,and rebuild the rpm ;)
[2012/02/22 04:09:58] <eedri> ohadlevy, that is the way it works, and i can't change it
[2012/02/22 04:10:07] @ duerF joined channel #puppet
[2012/02/22 04:10:17] <ohadlevy> eedri: sounds like a bad company, remind me for whom do you work? ;)
[2012/02/22 04:10:18] <eedri> ohadlevy, i don't want to maintain my own rpm
[2012/02/22 04:11:46] @ Razique joined channel #puppet
[2012/02/22 04:12:18] @ ezryx joined channel #puppet
[2012/02/22 04:12:28] <eedri> ohadlevy, but package won't try to update, it just ensure installed
[2012/02/22 04:12:32] <eedri> ohadlevy, exec should work
[2012/02/22 04:12:57] <misc> just add || :, but that's ugly
[2012/02/22 04:13:25] <misc> ( and really, i think the spec should be fixed, you can fix it, and in the meantime work around, with a ugly hack after all )
[2012/02/22 04:13:28] <ohadlevy> eedri: if you use package, it would install them one by one
[2012/02/22 04:13:45] <eedri> ohadlevy, but they are already installed
[2012/02/22 04:13:58] <eedri> ohadlevy, and i don't use ensure=latest, just ensure=installed
[2012/02/22 04:14:03] <eedri> ohadlevy, so pkg won't run yum update
[2012/02/22 04:14:28] <ohadlevy> eedri: so I'm guessing that you already have the latest packages and yum update x,y return non zero exit code when there was nothing to do
[2012/02/22 04:14:35] <eedri> ohadlevy, no
[2012/02/22 04:14:53] @ Quit: csanchez: Read error: Connection timed out
[2012/02/22 04:14:58] <eedri> ohadlevy, i don't have latest installed, and exec returns '1' for 'yum update vdsm vdsm-cli'
[2012/02/22 04:15:15] <eedri> ohadlevy, yum update update manually shows the new pkg
[2012/02/22 04:15:16] <ohadlevy> eedri: why?
[2012/02/22 04:15:31] <eedri> ohadlevy, puppet doesn't say
[2012/02/22 04:15:37] <ohadlevy> eedri: try manually
[2012/02/22 04:15:39] <eedri> ohadlevy, it just says returned code 1 for 'exec'
[2012/02/22 04:15:41] <eedri> manually works
[2012/02/22 04:15:46] <ohadlevy> whats the exit code
[2012/02/22 04:15:52] <ohadlevy> yum upgrade x,y ; echo $?
[2012/02/22 04:15:59] <ohadlevy> yum -y upgrade x,y ; echo $?
[2012/02/22 04:16:22] <eedri> ohadlevy, :)
[2012/02/22 04:16:27] <eedri> ohadlevy, exactly why i though not
[2012/02/22 04:16:28] <eedri> now
[2012/02/22 04:16:33] <eedri> ohadlevy, i forgot the -y
[2012/02/22 04:16:35] @ csanchez joined channel #puppet
[2012/02/22 04:16:49] <junaid> <ohadlevy>:this is manifests, do i need to imports these configuration through nodes?
[2012/02/22 04:17:31] @ DigitalFlux joined channel #puppet
[2012/02/22 04:17:32] @ Quit: DigitalFlux: Changing host
[2012/02/22 04:17:32] @ DigitalFlux joined channel #puppet
[2012/02/22 04:17:32] @ marrusl joined channel #puppet
[2012/02/22 04:17:38] <ohadlevy> junaid: you can either execute them directly using puppet apply, or use it in your manifests
[2012/02/22 04:18:27] <junaid> ok, can i do this like, copy this module in module directory under puppet and then import this configuration from main manifest?
[2012/02/22 04:18:35] <ohadlevy> sure
[2012/02/22 04:18:41] <ohadlevy> thats the whole reason why there so many repos
[2012/02/22 04:18:54] <junaid> ok, will let you know after doing so
[2012/02/22 04:19:13] <ohadlevy> junaid: there is also a #theforeman channel
[2012/02/22 04:19:16] @ Holocaine joined channel #puppet
[2012/02/22 04:20:42] <junaid> sir, i have thoroghly configured foreman with dashboard i have everything related to puppet clients except for reports, thats the issue i want to fix that.
[2012/02/22 04:20:45] <eedri> puppet-list doesn't warn on missing comma
[2012/02/22 04:20:51] @ Quit: djmitche: Ping timeout: 260 seconds
[2012/02/22 04:21:15] <junaid> even i have copied foreman-report.rb as foreman.rb to /usr/lib/ruby/1.8/puppet/reports
[2012/02/22 04:21:29] <ohadlevy> junaid: did you follow http://theforeman.org/projects/foreman/wiki/Puppet_Reports
[2012/02/22 04:23:39] <junaid> yes, i have followed them, i have even changed the attributes in that file which was given like "$foreman_url="http://puppet:3000"" where puppet is my host name which get resolves properly
[2012/02/22 04:24:02] <junaid> and set the attributes in puppet.conf as mentioned there
[2012/02/22 04:24:04] <ohadlevy> junaid: anything in your foreman logs?
[2012/02/22 04:27:27] @ Quit: KaZeR_W: Remote host closed the connection
[2012/02/22 04:27:38] <junaid> logs are apearing as usual, showing the activities what i do on the interface
[2012/02/22 04:27:48] @ Quit: ezryx: Remote host closed the connection
[2012/02/22 04:29:11] @ lanky joined channel #puppet
[2012/02/22 04:29:56] @ boats joined channel #puppet
[2012/02/22 04:29:56] <junaid> ok, i just i have seen the entry in /var/log/syslog and i have pasted them on http://pastie.org/3430634
[2012/02/22 04:30:05] <junaid> must see this its saying something
[2012/02/22 04:30:24] @ fronlius joined channel #puppet
[2012/02/22 04:32:14] @ Quit: scobal: Read error: Connection reset by peer
[2012/02/22 04:32:41] @ scobal joined channel #puppet
[2012/02/22 04:33:50] @ KaZeR_W joined channel #puppet
[2012/02/22 04:33:52] @ omry_ joined channel #puppet
[2012/02/22 04:34:15] @ Quit: csanchez: Read error: Connection timed out
[2012/02/22 04:34:43] @ csanchez joined channel #puppet
[2012/02/22 04:34:50] <speedieg> Hi, I'm looking for advice on rotating yaml files, is there anything I can put in the config files that will automatically delete/rotate yaml reports?
[2012/02/22 04:35:03] @ ezryx joined channel #puppet
[2012/02/22 04:35:06] @ Quit: scobal: Read error: Connection reset by peer
[2012/02/22 04:35:12] @ scobal joined channel #puppet
[2012/02/22 04:35:15] <Volcane> find /path/to/reports +30 -delete
[2012/02/22 04:36:39] <speedieg> thanks, do you know if there's an option for puppet? Instead of doing it like this with an external script?
[2012/02/22 04:37:06] <antarus> I'm sure there must be a rake target of some kind
[2012/02/22 04:38:05] @ Quit: nan0r1: Ping timeout: 245 seconds
[2012/02/22 04:38:20] <junaid> <ohadlevy>yes, i have i think some mistakes doing as per http://theforeman.org/projects/foreman/wiki/Puppet_Reports
[2012/02/22 04:38:33] @ nan0r joined channel #puppet
[2012/02/22 04:39:16] <junaid> $foreman_url='<%= scope.lookupvar("foreman::params::foreman_url") %>', how i should configure this parameter in my puppetmaster.
[2012/02/22 04:40:08] <speedieg> antarus: do you have any link on how to use a rake target? I'm not familiar with it
[2012/02/22 04:40:24] <ohadlevy> $foreman_url = 'http://yourserver'
[2012/02/22 04:40:40] <junaid> ok
[2012/02/22 04:40:55] <ohadlevy> junaid: make sure your master can resolve that
[2012/02/22 04:40:56] <antarus> speedieg: sorry I should have added sarcasm tags or something
[2012/02/22 04:41:09] <antarus> speedieg: volcane's way is most obvious to me
[2012/02/22 04:41:18] <speedieg> ah, hehe, sry
[2012/02/22 04:41:20] <speedieg> ok thanks
[2012/02/22 04:42:41] <junaid> $foreman_url="http://puppet:3000"
[2012/02/22 04:43:05] <junaid> its already setup there, but as permentioned it is given in ruby code foremat
[2012/02/22 04:43:11] <junaid> should i do something with that
[2012/02/22 04:45:46] @ stephenh is now known as stressederic
[2012/02/22 04:46:16] <Volcane> junaid: connection refused means the service you're trying to connect to isnt on that port
[2012/02/22 04:46:17] @ danblack joined channel #puppet
[2012/02/22 04:46:39] @ stressederic is now known as stephenh
[2012/02/22 04:48:02] <Volcane> junaid: which you can easily confirm with telnet etc
[2012/02/22 04:51:54] @ Quit: marrusl: Remote host closed the connection
[2012/02/22 04:52:22] @ Quit: csanchez: Read error: Connection timed out
[2012/02/22 04:52:31] @ Quit: bobra: Quit: Leaving.
[2012/02/22 04:52:48] @ csanchez joined channel #puppet
[2012/02/22 04:52:58] @ bobra joined channel #puppet
[2012/02/22 04:55:56] @ Quit: w3lly: Quit: Leaving.
[2012/02/22 04:56:25] @ Quit: lanky: Ping timeout: 245 seconds
[2012/02/22 04:56:27] @ Quit: lkthomas:
[2012/02/22 04:57:10] <Raboo> can i combine subscribe, onlyif, refreshonly?
[2012/02/22 04:57:25] <Raboo> i want it to run if all 3 are true
[2012/02/22 04:58:18] @ octane- left channel #puppet ()
[2012/02/22 04:59:12] @ Quit: KaZeR_W: Remote host closed the connection
[2012/02/22 05:00:35] @ stevie-bash joined channel #puppet
[2012/02/22 05:03:10] <Volcane> Raboo: its complex, see #5876, I'd avoid it
[2012/02/22 05:03:10] <gepetto> Volcane: Raboo: #5876 is http://projects.puppetlabs.com/issues/show/5876 "Bug #5876: Require and Subscribe on the same refreshonly exec doesnt work - Puppet. It has a status of Needs More Information and is assigned to Nick Lewis"
[2012/02/22 05:03:24] <Volcane> Raboo: might work now, might not work now, might work in the future, might not work in the future
[2012/02/22 05:04:27] <Raboo> lol
[2012/02/22 05:04:44] <Raboo> it does get triggered, but that doesn't mean it runs?
[2012/02/22 05:04:48] <Raboo> Exec[testuser uid check]) Triggered 'refresh' from 1 events
[2012/02/22 05:04:54] <Volcane> trigger is run yes
[2012/02/22 05:05:11] <Raboo> hmm
[2012/02/22 05:05:25] <octe> Could not retrieve catalog from remote server: Error 400 on SERVER: Exported resource File[/etc/munin/munin-conf.d/foo.example.org] cannot override local resource on node bar.example.org
[2012/02/22 05:05:28] <Raboo> i have to add a echo success >>/tmp/run to the command
[2012/02/22 05:05:36] <octe> how do i debug that? i can't see how it happens really..
[2012/02/22 05:05:42] @ Quit: Edgan: Read error: Operation timed out
[2012/02/22 05:05:50] <octe> there shouldnt be a local resource like that on that node
[2012/02/22 05:06:29] <Volcane> Raboo: when in doubt exec{"/usr/bin/cowsay wtf": logoutput => true}
[2012/02/22 05:06:37] @ KaZeR_W joined channel #puppet
[2012/02/22 05:06:43] <Volcane> Raboo: you can test all this stuff with a simple test.pp and puppet apply
[2012/02/22 05:07:22] <Raboo> ok there is a logoutput
[2012/02/22 05:08:12] <Volcane> hmm, oddly i think i found an even worse bug now
[2012/02/22 05:08:14] <Volcane> ah well
[2012/02/22 05:08:22] <octe> no one has any suggestions? :/
[2012/02/22 05:08:59] <Volcane> Raboo: apparently 'triggering..' log line doesnt always mean its running, the onlyif can still surpress it
[2012/02/22 05:09:59] @ Quit: csanchez: Read error: Connection timed out
[2012/02/22 05:10:48] <Raboo> Volcane then it seems to work
[2012/02/22 05:10:53] @ csanchez joined channel #puppet
[2012/02/22 05:11:12] @ Quit: Prometheus: Ping timeout: 272 seconds
[2012/02/22 05:11:54] <Raboo> what i did was add a ; echo command did run >> /tmp/uidtest.txt
[2012/02/22 05:12:05] <Raboo> and i did not see such a file in /tmp
[2012/02/22 05:12:42] <Raboo> so the onlyif superceded the refresh
[2012/02/22 05:14:56] <Raboo> i changed the onlyif to unless, and it did run
[2012/02/22 05:14:58] <Raboo> :)
[2012/02/22 05:16:54] @ Quit: critpizza: Ping timeout: 272 seconds
[2012/02/22 05:18:17] <Volcane> ok, well all I'd say is if this is some critical thing that will blow up if behavior changes, test ever release carefully :)
[2012/02/22 05:19:15] <Raboo> ok
[2012/02/22 05:19:18] @ larstobi1 is now known as larstobi
[2012/02/22 05:19:51] <gepetto> ::redmine:: Wiki edit: Puppet_Augeas (#20) @ http://projects.puppetlabs.com/projects/puppet/wiki/Puppet_Augeas?version=20 (by Dominic Cleal)
[2012/02/22 05:19:53] @ marrusl joined channel #puppet
[2012/02/22 05:20:33] @ lanky joined channel #puppet
[2012/02/22 05:21:50] @ willaerk joined channel #puppet
[2012/02/22 05:22:21] <willaerk> hmmm, no more anonymous access to puppetlabs jenkins ?
[2012/02/22 05:22:43] <iksik> i have defined $myvar, now i want to define: $foo = "sometext-$myvar-sometext" but it is trying to read $myvar-sometext instead of $myvar... how can i make it works?
[2012/02/22 05:23:14] <Volcane> iksik: "foo-${bar}-baz"
[2012/02/22 05:23:21] <Volcane> just like in shell scripts
[2012/02/22 05:23:21] <iksik> Volcane: thanks
[2012/02/22 05:24:10] @ dieterdemeyer joined channel #puppet
[2012/02/22 05:24:27] <Raboo> why isn't cowsay default in all distribtuions?
[2012/02/22 05:24:40] <Raboo> and why is it not in rhel and centos repos!
[2012/02/22 05:26:45] <gepetto> ::redmine:: Wiki edit: Puppet_Augeas (#21) @ http://projects.puppetlabs.com/projects/puppet/wiki/Puppet_Augeas?version=21 (by Dominic Cleal)
[2012/02/22 05:27:34] @ Quit: Wicla: Ping timeout: 248 seconds
[2012/02/22 05:29:15] <Volcane> cowsay and cowthink :)
[2012/02/22 05:29:18] <Volcane> its in epel
[2012/02/22 05:29:33] @ Wicla joined channel #puppet
[2012/02/22 05:29:35] @ Quit: csanchez: Read error: Connection timed out
[2012/02/22 05:30:23] <iksik> hmm
[2012/02/22 05:30:58] @ csanchez joined channel #puppet
[2012/02/22 05:32:06] @ kerframil_ joined channel #puppet
[2012/02/22 05:32:27] <iksik> $PACKAGESITE = "http://ftp.freebsd.org/pub/FreeBSD/ports/${architecture}/packages-${kernelversion}-release/Latest/" ... ok, it works... but hm, is there a way to change $kernelversion with some kind of condition? for example, on some nodes, where kernel version is 8.1 ftp path doesn't exists cause it exists under 8 or 8.2 version
[2012/02/22 05:33:14] <iksik> so i need something like this: if ( $kernelversion == 8.1 } { $kernelversion = 8.2 }
[2012/02/22 05:33:18] <iksik> is it possible?
[2012/02/22 05:33:46] @ mogitaff joined channel #puppet
[2012/02/22 05:33:55] @ zooz joined channel #puppet
[2012/02/22 05:34:47] @ Quit: kerframil: Ping timeout: 252 seconds
[2012/02/22 05:35:13] <fiddyspence> iksik: check http://docs.puppetlabs.com/guides/language_guide.html for the exact syntax of that
[2012/02/22 05:35:32] <iksik> fiddyspence: thanks
[2012/02/22 05:36:43] @ krilla joined channel #puppet
[2012/02/22 05:37:28] @ Quit: ABK: Ping timeout: 260 seconds
[2012/02/22 05:37:50] <krilla> hi
[2012/02/22 05:38:58] @ Edgan joined channel #puppet
[2012/02/22 05:39:22] <ArcAngel> i have done a default install of puppet master and client using puppet installer, signed the cert, it signs in, but no livemanagement
[2012/02/22 05:40:20] <ArcAngel> =\
[2012/02/22 05:40:58] @ Quit: Tobu: Ping timeout: 272 seconds
[2012/02/22 05:42:04] @ critpizza joined channel #puppet
[2012/02/22 05:43:15] <fiddyspence> ArcAngel: dude - you using PE?
[2012/02/22 05:43:37] <ArcAngel> yes
[2012/02/22 05:44:11] <fiddyspence> in what way do you not have live management?
[2012/02/22 05:44:32] <ArcAngel> only the puppet master shows up
[2012/02/22 05:44:40] <ArcAngel> not the client
[2012/02/22 05:48:41] @ Quit: csanchez: Read error: Connection timed out
[2012/02/22 05:49:09] @ csanchez joined channel #puppet
[2012/02/22 05:49:51] @ kerframil joined channel #puppet
[2012/02/22 05:50:11] <Rockj> is it just me, or doesn't puppet-dashboard support getting reports over https?
[2012/02/22 05:50:16] @ jodok joined channel #puppet
[2012/02/22 05:50:17] @ Quit: jodok: Changing host
[2012/02/22 05:50:17] @ jodok joined channel #puppet
[2012/02/22 05:50:43] @ M- joined channel #puppet
[2012/02/22 05:50:49] @ Quit: M-: Remote host closed the connection
[2012/02/22 05:51:06] <Rockj> apache logs just says bad request (http response 400) when trying to set it for https
[2012/02/22 05:52:59] <Rockj> oh hm
[2012/02/22 05:53:29] @ Quit: kerframil_: Ping timeout: 252 seconds
[2012/02/22 05:53:56] @ Pyker joined channel #puppet
[2012/02/22 05:55:12] <gepetto> ::redmine:: Wiki edit: Puppet_Augeas (#22) @ http://projects.puppetlabs.com/projects/puppet/wiki/Puppet_Augeas?version=22 (by Dominic Cleal)
[2012/02/22 05:56:22] <ArcAngel> it would help me i think if i could see a working client /etc/puppetlabs/mcollective/server.cfg
[2012/02/22 05:56:45] @ |Majestic| joined channel #puppet
[2012/02/22 05:58:23] @ w3lly joined channel #puppet
[2012/02/22 05:58:45] <gepetto> ::redmine:: Wiki edit: Puppet_Augeas (#23) @ http://projects.puppetlabs.com/projects/puppet/wiki/Puppet_Augeas?version=23 (by Dominic Cleal)
[2012/02/22 05:58:54] <iksik> one more question; https://gist.github.com/55bf738a49edff788aeb
[2012/02/22 05:59:10] <Rockj> nope, no clue. guess im reverting to http then and protect it by ip-range/vpn :(
[2012/02/22 05:59:11] <Rockj> for now
[2012/02/22 06:01:13] <Rockj> iksik: redefine it again in node bar? just set global there to undef or ""? *guessing*
[2012/02/22 06:01:29] <Rockj> oh wait
[2012/02/22 06:01:32] <Rockj> nvm me
[2012/02/22 06:01:57] @ pedrocr joined channel #puppet
[2012/02/22 06:02:29] <Rockj> or if you redefine 'global' against maybe in node bar, if that's allowed. (some more experienced could probably tell you directly)
[2012/02/22 06:02:45] <iksik> mhm
[2012/02/22 06:03:47] <solarisfire> Morning guys. Does anyone have a good link to a guide to modify a module so it can work on multiple different *nix flavours? For example on Debian I need the manifest to say bacula-director but on RHEL I need it to say bacula-dir...
[2012/02/22 06:03:53] <pedrocr> I'm trying to create the file "/etc/tinc/private/hosts/${hostname}", using that in a file{} doesn't seem to work as ${hostname} gets resolved to a temp value instead of the actual hostname is there a pattern for this?
[2012/02/22 06:05:14] <fiddyspence> solarisfire: just use a conditional to check the operatingsystem fact and set the $packagename accordingly
[2012/02/22 06:05:32] <solarisfire> kk :-)
[2012/02/22 06:05:50] <fiddyspence> solarisfire: and in the package resource set the package {"${packagename": ....
[2012/02/22 06:06:03] <_rc> pedrocr: it shouldn't be a temp value, it should be the value from 'facter hostname' on the node
[2012/02/22 06:06:23] @ Pyker left channel #puppet ()
[2012/02/22 06:06:25] @ Quit: ezmob: Ping timeout: 245 seconds
[2012/02/22 06:06:42] <fiddyspence> s/name"/name}"
[2012/02/22 06:06:51] @ Quit: csanchez: Read error: Connection timed out
[2012/02/22 06:07:09] <pedrocr> _rc, I'm misinterpreting the error message then, let me review it again
[2012/02/22 06:07:14] @ csanchez joined channel #puppet
[2012/02/22 06:07:36] @ Tobu joined channel #puppet
[2012/02/22 06:09:43] @ Quit: Desdic_: Quit: ..
[2012/02/22 06:10:42] @ Quit: Ramonster: Quit: Computer has gone to sleep
[2012/02/22 06:12:54] @ mapope joined channel #puppet
[2012/02/22 06:13:22] @ Quit: scobal: Read error: Connection reset by peer
[2012/02/22 06:15:02] <pedrocr> shouldn't recurse=>true allow creating /etc/foo/bar/ when /etc/foo/ doesn't exist?
[2012/02/22 06:15:33] <_rc> pedrocr: no, that's not what it's for
[2012/02/22 06:15:40] @ Desdic joined channel #puppet
[2012/02/22 06:15:41] @ scobal joined channel #puppet
[2012/02/22 06:15:58] <_rc> it's for recursive copying
[2012/02/22 06:16:16] <pedrocr> _rc, I see, is there another option that does that?
[2012/02/22 06:16:24] <pedrocr> or should I just add /etc/foo/ as well
[2012/02/22 06:16:30] @ Quit: mapope: Read error: Connection reset by peer
[2012/02/22 06:16:50] @ jdunck is now known as jdunck_away
[2012/02/22 06:16:51] <_rc> just add it, that way you can be differently specific about modes
[2012/02/22 06:16:56] @ jdunck_away is now known as jdunck
[2012/02/22 06:17:05] <fiddyspence> pedrocr: yup - it won't create the parent directory for you
[2012/02/22 06:18:58] <fiddyspence> see http://pastie.org/3431118
[2012/02/22 06:20:06] @ Quit: jodok: Read error: Connection reset by peer
[2012/02/22 06:20:38] @ jodok joined channel #puppet
[2012/02/22 06:20:39] <gepetto> ::redmine:: Wiki edit: Puppet_Augeas (#24) @ http://projects.puppetlabs.com/projects/puppet/wiki/Puppet_Augeas?version=24 (by Dominic Cleal)
[2012/02/22 06:20:39] <gepetto> ::redmine:: Wiki edit: Puppet_Augeas (#25) @ http://projects.puppetlabs.com/projects/puppet/wiki/Puppet_Augeas?version=25 (by Dominic Cleal)
[2012/02/22 06:24:54] @ Quit: csanchez: Read error: Connection timed out
[2012/02/22 06:25:21] @ csanchez joined channel #puppet
[2012/02/22 06:25:29] @ Quit: jodok: Client Quit
[2012/02/22 06:27:27] @ Quit: jeremy_: Read error: Connection reset by peer
[2012/02/22 06:27:54] @ jeremy joined channel #puppet
[2012/02/22 06:37:16] <Raboo> which is the simplest way i can generate a password hash that i can use in puppet for managing password for a user
[2012/02/22 06:38:38] @ choonming_ joined channel #puppet
[2012/02/22 06:39:04] @ tecto_ joined channel #puppet
[2012/02/22 06:40:02] @ MarkD joined channel #puppet
[2012/02/22 06:40:31] @ MarkD is now known as debm
[2012/02/22 06:43:02] @ Quit: csanchez: Read error: Connection timed out
[2012/02/22 06:43:28] @ csanchez joined channel #puppet
[2012/02/22 06:43:35] <danblack> Raboo: if its a set once password and you don't care what to i'd look at an exec resource
[2012/02/22 06:46:06] @ Quit: siert: Ping timeout: 260 seconds
[2012/02/22 06:47:16] @ Quit: Rudemeister: Ping timeout: 260 seconds
[2012/02/22 06:48:38] @ Rudemeister joined channel #puppet
[2012/02/22 06:49:04] @ Rudemeister is now known as Guest71399
[2012/02/22 06:50:00] <gepetto> ::redmine:: Wiki edit: Puppet_Augeas (#26) @ http://projects.puppetlabs.com/projects/puppet/wiki/Puppet_Augeas?version=26 (by Dominic Cleal)
[2012/02/22 06:52:24] @ siert joined channel #puppet
[2012/02/22 06:56:33] <gepetto> ::redmine:: Wiki edit: Puppet_Augeas (#27) @ http://projects.puppetlabs.com/projects/puppet/wiki/Puppet_Augeas?version=27 (by Dominic Cleal)
[2012/02/22 06:56:33] @ system-error joined channel #puppet
[2012/02/22 06:56:35] @ M- joined channel #puppet
[2012/02/22 06:57:39] @ system-error left channel #puppet ()
[2012/02/22 06:57:42] @ krish joined channel #puppet
[2012/02/22 06:58:04] @ system-error joined channel #puppet
[2012/02/22 06:59:51] <gepetto> ::redmine:: Wiki edit: Puppet_Augeas (#28) @ http://projects.puppetlabs.com/projects/puppet/wiki/Puppet_Augeas?version=28 (by Dominic Cleal)
[2012/02/22 07:00:58] @ Quit: Tobu: Read error: Operation timed out
[2012/02/22 07:01:26] @ Quit: csanchez: Read error: Connection timed out
[2012/02/22 07:03:34] @ csanchez joined channel #puppet
[2012/02/22 07:08:12] @ Quit: ezryx: Read error: Connection reset by peer
[2012/02/22 07:08:12] @ Tobu joined channel #puppet
[2012/02/22 07:08:33] @ ezryx joined channel #puppet
[2012/02/22 07:15:22] <pedrocr> if class A inherits B, doesn't it get all of B's parameters?
[2012/02/22 07:16:38] @ Quit: Chillax: Quit: No Ping reply in 180 seconds.
[2012/02/22 07:16:38] @ paroneay` joined channel #puppet
[2012/02/22 07:17:10] @ Chillax joined channel #puppet
[2012/02/22 07:17:35] @ Quit: solarisfire: Ping timeout: 240 seconds
[2012/02/22 07:18:01] @ Quit: paroneayea: Remote host closed the connection
[2012/02/22 07:19:33] @ marcus joined channel #puppet
[2012/02/22 07:19:49] @ solarisfire joined channel #puppet
[2012/02/22 07:19:53] @ Quit: csanchez: Read error: Connection timed out
[2012/02/22 07:20:11] <marcus> hi all. if i have set an require on another class, do i also have to define an include on that? or does require automatically include?
[2012/02/22 07:20:47] <_rc> you have to include it
[2012/02/22 07:20:49] @ Quit: n8: Read error: Connection reset by peer
[2012/02/22 07:21:15] @ n8 joined channel #puppet
[2012/02/22 07:21:35] @ csanchez joined channel #puppet
[2012/02/22 07:27:01] @ Quit: zul: Remote host closed the connection
[2012/02/22 07:28:52] @ Quit: lofidellity: Quit: ZNC - http://znc.sourceforge.net
[2012/02/22 07:30:27] @ lofidellity joined channel #puppet
[2012/02/22 07:31:09] @ zul joined channel #puppet
[2012/02/22 07:33:55] @ ABK joined channel #puppet
[2012/02/22 07:34:15] @ alup joined channel #puppet
[2012/02/22 07:34:51] @ mealstrom joined channel #puppet
[2012/02/22 07:36:42] @ Quit: eedri: Ping timeout: 265 seconds
[2012/02/22 07:39:20] @ Quit: csanchez: Read error: Connection timed out
[2012/02/22 07:39:42] @ csanchez joined channel #puppet
[2012/02/22 07:44:15] @ Quit: duerF: Quit: Leaving
[2012/02/22 07:44:44] @ bigwiggler joined channel #puppet
[2012/02/22 07:46:10] @ magr joined channel #puppet
[2012/02/22 07:46:25] @ Snake1 joined channel #puppet
[2012/02/22 07:46:55] <Snake1> Hello, i have just installed 5 centos machines and installed the required epel repo and puppet.noarch package with yum install.
[2012/02/22 07:47:12] <Snake1> now i already have a puppet server ready with files and configuration files that i want the new nodes to receive.
[2012/02/22 07:47:24] <Snake1> i changed on every node the file /etc/puppet/puppet.conf.
[2012/02/22 07:47:41] <Snake1> now to my question do i need to add these nodes on the server as well ? somewhere like in servers.pp file ?
[2012/02/22 07:48:27] <Snake1> manifests/nodes/servers.pp right ?
[2012/02/22 07:50:37] @ Ramonster joined channel #puppet
[2012/02/22 07:50:41] @ rgsteele joined channel #puppet
[2012/02/22 07:51:40] @ cliff-hm joined channel #puppet
[2012/02/22 07:51:52] @ jodok joined channel #puppet
[2012/02/22 07:55:24] @ magr left channel #puppet ()
[2012/02/22 07:56:06] @ Quit: Tobu: Ping timeout: 260 seconds
[2012/02/22 07:57:16] @ Quit: krish: Quit: Leaving.
[2012/02/22 07:57:28] @ Quit: csanchez: Read error: Connection timed out
[2012/02/22 07:57:47] @ csanchez joined channel #puppet
[2012/02/22 07:58:55] @ eedri joined channel #puppet
[2012/02/22 08:01:56] @ Quit: shortbus-: Ping timeout: 252 seconds
[2012/02/22 08:03:13] @ plasmonyc joined channel #puppet
[2012/02/22 08:06:09] @ shortbus- joined channel #puppet
[2012/02/22 08:06:34] @ Quit: choonming_: Quit: Leaving
[2012/02/22 08:07:12] @ st33v joined channel #puppet
[2012/02/22 08:07:31] @ Quit: Niarf: Read error: Operation timed out
[2012/02/22 08:07:38] @ Niarf joined channel #puppet
[2012/02/22 08:07:52] <Snake1> to connect a puppet client to a puppet server
[2012/02/22 08:08:05] <Snake1> is puppet agent --server *server hostname
[2012/02/22 08:08:12] <Snake1> the right way to go ?
[2012/02/22 08:08:15] <Snake1> on the client node.
[2012/02/22 08:11:20] <system-error> should be /etc/puppet/manifests/nodes/nodename.pp
[2012/02/22 08:11:30] <system-error> what version u installed ?
[2012/02/22 08:11:35] <system-error> puppet -V
[2012/02/22 08:11:40] <Snake1> system-error: on the clients i have
[2012/02/22 08:11:48] <Snake1> 2.6.13
[2012/02/22 08:11:56] <system-error> btw node.pp is the fqdn of the host
[2012/02/22 08:11:59] <Snake1> server is 2.6.12
[2012/02/22 08:12:17] <system-error> mmm...only worked on 2.7 series
[2012/02/22 08:12:29] <Snake1> system-error: hmm i dont have any node.pp on my puppet server :S :(
[2012/02/22 08:12:33] <Snake1> only servers.pp there
[2012/02/22 08:12:48] <system-error> i mean node.pp is the fqdn of the host, example:
[2012/02/22 08:12:55] <tmz> Snake1: You would have created that manually, neither of them are shipped with most puppet packages I know of.
[2012/02/22 08:13:02] <system-error> fqdn is test01.ops.net
[2012/02/22 08:13:10] <_rc> the only special file in manifests is manifests/site.pp If it, or one of the files it imports doesn't import the other .pp files they're irrelevant
[2012/02/22 08:13:11] <system-error> node would be test01.ops.net.pp
[2012/02/22 08:13:36] <tmz> You can put node definitions directly in /etc/puppet/manifests/site.pp if you want. Otherwise, you have to use an include node.pp in site.pp to pull that file in.
[2012/02/22 08:13:41] <Snake1> tmz: ok well, it's work related and i just been here for a month so im not the responsible for the setup of this puppet, that has someone else done just want to add the newly machines i set up with centos6 and installed puppet on them.
[2012/02/22 08:13:44] <system-error> also site.pp would need this entry
[2012/02/22 08:13:45] <system-error> import "nodes/*.pp"
[2012/02/22 08:14:06] <Snake1> tmz: site.pp i have
[2012/02/22 08:14:07] <Snake1> :)
[2012/02/22 08:14:35] <system-error> well if this setup has existing nodes, and you know the names of some of them
[2012/02/22 08:14:47] @ mealstrom left channel #puppet ()
[2012/02/22 08:14:54] <system-error> cd /etc/puppet; find .|xargs grep anexistingnodename
[2012/02/22 08:15:08] @ Londo_ joined channel #puppet
[2012/02/22 08:15:33] <tmz> Snake1: Oh, and it's import, not include in there. Too early for me to me giving technical details.
[2012/02/22 08:16:27] @ Quit: csanchez: Read error: Connection timed out
[2012/02/22 08:17:55] @ csanchez joined channel #puppet
[2012/02/22 08:18:14] <system-error> Snake1: a quick walkthru
[2012/02/22 08:18:22] <Snake1> system-error: oki
[2012/02/22 08:18:38] @ NVV_f joined channel #puppet
[2012/02/22 08:18:56] <system-error> 1. after installing the master, and defining your classes, you install a node
[2012/02/22 08:19:15] <system-error> 2. on the node (agent) startup the service
[2012/02/22 08:19:43] <system-error> 3. once started (ensuring ur fw allow access to the puppetmaster) run puppetca --list on the master server
[2012/02/22 08:20:08] <system-error> 4. you have to sign the agent with puppetca --sign node
[2012/02/22 08:20:19] <system-error> where node is the output from puppetca --list
[2012/02/22 08:20:28] @ NVV_f left channel #puppet ()
[2012/02/22 08:20:56] <system-error> eg: puppetca --list
[2012/02/22 08:20:58] <system-error> test01.ops.net (0B:45:23:48:60:0A:3D:C9:E4:33:E7:E6:C1:D2:18:99)
[2012/02/22 08:21:09] <system-error> so it would be puppetca --sign test01.ops.net
[2012/02/22 08:21:31] <system-error> 5. once its signed, the node is now authorized to talk to the master
[2012/02/22 08:21:42] @ Quit: IndyMichaelB: Quit: IndyMichaelB
[2012/02/22 08:21:54] @ leifmadsen joined channel #puppet
[2012/02/22 08:22:04] @ Tobu joined channel #puppet
[2012/02/22 08:22:16] @ st33v left channel #puppet ()
[2012/02/22 08:23:48] <system-error> also take a look at this for creating a simple class and pushing it to a node:
[2012/02/22 08:23:50] <system-error> http://www.how2centos.com/how-to-install-a-puppet-master-and-client-server-on-centos-52/
[2012/02/22 08:24:15] @ Quit: bobra: Ping timeout: 240 seconds
[2012/02/22 08:25:55] @ Quit: ABK: Ping timeout: 260 seconds
[2012/02/22 08:29:42] <Snake1> system-error: cool thanks.
[2012/02/22 08:29:46] <Snake1> will try it out
[2012/02/22 08:32:32] <system-error> np
[2012/02/22 08:36:46] @ Quit: csanchez: Read error: Connection timed out
[2012/02/22 08:38:01] @ csanchez joined channel #puppet
[2012/02/22 08:40:45] @ uphillian joined channel #puppet
[2012/02/22 08:42:04] @ Quit: zul: Quit: Ex-Chat
[2012/02/22 08:42:08] @ Quit: tecto_: Quit: tecto_
[2012/02/22 08:42:16] @ Quit: eedri: Ping timeout: 252 seconds
[2012/02/22 08:42:43] @ dan__t joined channel #puppet
[2012/02/22 08:43:12] @ Quit: AshishH: Quit: In a day, when you do not come across any problem means you are travelling in a wrong path.
[2012/02/22 08:43:39] @ zul joined channel #puppet
[2012/02/22 08:44:19] @ duerF joined channel #puppet
[2012/02/22 08:47:59] @ Bass10 joined channel #puppet
[2012/02/22 08:48:51] @ Quit: Bass10: Client Quit
[2012/02/22 08:49:12] @ Quit: d3c_: Quit: Quit
[2012/02/22 08:49:29] @ d3c joined channel #puppet
[2012/02/22 08:50:02] @ lborda joined channel #puppet
[2012/02/22 08:50:14] @ Quit: Guest71399: Quit: leaving
[2012/02/22 08:50:38] @ Rudemeister joined channel #puppet
[2012/02/22 08:52:25] @ IndyMichaelB joined channel #puppet
[2012/02/22 08:54:32] @ ali3n0 joined channel #puppet
[2012/02/22 08:54:53] <ali3n0> hi folks. is it possible to get an array length into a manifest?
[2012/02/22 08:55:34] @ Quit: Tobu: Ping timeout: 240 seconds
[2012/02/22 08:55:51] @ Quit: csanchez: Read error: Connection timed out
[2012/02/22 08:56:39] <_rc> ali3n0: there's a size function as part of puppetlabs-stdlib - https://github.com/puppetlabs/puppetlabs-stdlib/blob/master/lib/puppet/parser/functions/size.rb
[2012/02/22 08:58:05] @ csanchez joined channel #puppet
[2012/02/22 08:58:43] @ Swat- joined channel #puppet
[2012/02/22 08:58:57] @ ldlework joined channel #puppet
[2012/02/22 08:59:09] <Swat-> hello, is it possible with augeas to get the value of a node and append some text to it/
[2012/02/22 08:59:25] <ali3n0> tnx _rc
[2012/02/22 09:00:30] @ q-rban is now known as q0rban
[2012/02/22 09:01:14] <ali3n0> _rc: $size = size($my_array) ?
[2012/02/22 09:01:48] <_rc> so the docs suggest
[2012/02/22 09:02:01] <ali3n0> can't make it work, doh
[2012/02/22 09:02:34] <_rc> did you install the stdlib module?
[2012/02/22 09:02:55] <ali3n0> _rc: missing that, stupid me
[2012/02/22 09:05:20] @ jtanner joined channel #puppet
[2012/02/22 09:06:03] @ samkottler joined channel #puppet
[2012/02/22 09:06:18] @ Quit: samkottler: Remote host closed the connection
[2012/02/22 09:06:24] @ car|0s joined channel #puppet
[2012/02/22 09:07:37] @ eedri joined channel #puppet
[2012/02/22 09:07:43] @ Quit: joe-mac: Remote host closed the connection
[2012/02/22 09:08:41] @ cdracars joined channel #puppet
[2012/02/22 09:08:59] @ opsmason joined channel #puppet
[2012/02/22 09:10:01] @ paroneay` is now known as paroneayea
[2012/02/22 09:10:09] @ Quit: paroneayea: Changing host
[2012/02/22 09:10:09] @ paroneayea joined channel #puppet
[2012/02/22 09:10:22] @ Tobu joined channel #puppet
[2012/02/22 09:15:16] <Snake1> system-error: hmm
[2012/02/22 09:15:27] @ Quit: junaid: Ping timeout: 245 seconds
[2012/02/22 09:15:41] <Snake1> i followed the link you sent me, but when i run /etc/init.d/puppet start on a client, and afterwards i run puppetca --list on the server.
[2012/02/22 09:15:51] <Snake1> there is no output :/
[2012/02/22 09:15:51] @ Prometheus joined channel #puppet
[2012/02/22 09:16:08] <Snake1> $ puppetd --waitforcert 30 --server puppetserver.domain.net -v
[2012/02/22 09:16:12] <Snake1> results in no output
[2012/02/22 09:16:23] <Raboo> anyone can recommend a sudo module?
[2012/02/22 09:16:35] @ Quit: Stenbryggen: Quit: Leaving.
[2012/02/22 09:16:43] @ kangman joined channel #puppet
[2012/02/22 09:16:55] <NuclearLucifer> Raboo, Why don't you write your own?
[2012/02/22 09:17:02] @ Quit: csanchez: Read error: Connection timed out
[2012/02/22 09:17:51] <Raboo> NuclearLucifer i can do that, but first i want to look if there is a decent working solution out there.
[2012/02/22 09:18:10] @ csanchez joined channel #puppet
[2012/02/22 09:18:41] <ali3n0> rc_do you know if / where I can find a list of implemented functions from stdlib ?
[2012/02/22 09:19:01] <ali3n0> sorry, found by myself
[2012/02/22 09:19:35] <Raboo> NuclearLucifer so if you go to a cardealer and ask the dealer can you recommend a resonable car for me. Do you expect the anwser why don't you build your own?
[2012/02/22 09:20:38] @ Quit: Prometheus: Ping timeout: 248 seconds
[2012/02/22 09:22:52] @ Quit: danblack: Ping timeout: 260 seconds
[2012/02/22 09:24:11] @ Quit: dan__t: Ping timeout: 260 seconds
[2012/02/22 09:27:45] <system-error> whats the contents of /etc/puppet/puppet.conf on the agent/node ?
[2012/02/22 09:28:10] <Raboo> [agent]
[2012/02/22 09:28:26] <Raboo> server = servername
[2012/02/22 09:28:28] <Raboo> thats it.
[2012/02/22 09:28:56] <Raboo> you can have some other stuff aswell
[2012/02/22 09:30:37] @ astrostl joined channel #puppet
[2012/02/22 09:30:44] <Raboo> system-error http://pastie.org/3432100
[2012/02/22 09:31:18] <Raboo> you don't need much more than that
[2012/02/22 09:34:17] @ Quit: justdave: Quit: rebooting
[2012/02/22 09:34:27] @ Quit: csanchez: Read error: Connection timed out
[2012/02/22 09:35:02] @ job joined channel #puppet
[2012/02/22 09:35:27] <job> i'm trying to install puppet on freebsd 9-release
[2012/02/22 09:35:27] <job> https://p.6core.net/p/02wvxo28s3pe3vd6
[2012/02/22 09:35:51] <system-error> and puppet.conf on the master ?
[2012/02/22 09:36:08] <system-error> u need to make sure that you can connect to the master on the tcp port
[2012/02/22 09:36:13] <system-error> also try on the agent:
[2012/02/22 09:36:14] @ csanchez joined channel #puppet
[2012/02/22 09:36:21] <system-error> puppet agent --verbose --debug -t
[2012/02/22 09:37:37] @ gniks joined channel #puppet
[2012/02/22 09:37:37] @ Quit: gniks: Changing host
[2012/02/22 09:37:38] @ gniks joined channel #puppet
[2012/02/22 09:39:14] @ Quit: Maliuta: Ping timeout: 255 seconds
[2012/02/22 09:39:45] @ Quit: d3vnull: Ping timeout: 245 seconds
[2012/02/22 09:40:06] <system-error> sorry my posts were for Snake1, sorry Raboo
[2012/02/22 09:40:25] @ djmitche joined channel #puppet
[2012/02/22 09:40:26] @ rcrowley joined channel #puppet
[2012/02/22 09:40:50] @ Quit: ckauhaus: Quit: Leaving.
[2012/02/22 09:41:50] <Raboo> system-error ok, but if you want a example puppet master puppet.conf
[2012/02/22 09:41:53] <Raboo> http://pastie.org/3432156
[2012/02/22 09:42:01] <Raboo> but it's very specific to your setup
[2012/02/22 09:43:13] @ Quit: willaerk: Remote host closed the connection
[2012/02/22 09:44:36] @ Quit: Tobu: Ping timeout: 260 seconds
[2012/02/22 09:45:13] @ tecto_ joined channel #puppet
[2012/02/22 09:46:44] @ littleidea joined channel #puppet
[2012/02/22 09:47:57] @ d3vnull joined channel #puppet
[2012/02/22 09:49:36] <job> any body any clue how to install puppet on freebsd 9 ?
[2012/02/22 09:50:37] @ Maliuta joined channel #puppet
[2012/02/22 09:50:39] @ Quit: rcrowley: Quit: Computer has gone to sleep.
[2012/02/22 09:52:26] @ joe-mac joined channel #puppet
[2012/02/22 09:53:05] @ Quit: d3vnull: Ping timeout: 245 seconds
[2012/02/22 09:53:47] <Hilli-> job: I would try with a pkg_add -r puppet :)
[2012/02/22 09:53:59] @ Hilli- is now known as Hilli
[2012/02/22 09:54:01] @ d3vnull joined channel #puppet
[2012/02/22 09:54:11] <job> Hilli, didnt work
[2012/02/22 09:54:19] @ Quit: csanchez: Read error: Connection timed out
[2012/02/22 09:54:56] <job> [root@sandtrout /usr/ports/sysutils/puppet]# pkg_add -r puppet
[2012/02/22 09:54:56] <job> Fetching ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.0-release/Latest/puppet.tbz... Done.
[2012/02/22 09:54:59] <job> pw: user 'puppet' already exists
[2012/02/22 09:55:02] <job> => Adding user "puppet" failed...
[2012/02/22 09:55:22] @ Quit: pedrocr: Read error: Connection reset by peer
[2012/02/22 09:55:39] <joe-mac> looks like you already installed puppet, maybe from source?
[2012/02/22 09:55:59] <kjetilho> job: please use a pastebin
[2012/02/22 09:56:04] <kjetilho> in the future
[2012/02/22 09:56:20] @ csanchez joined channel #puppet
[2012/02/22 09:56:57] <job> no, never installed puppet
[2012/02/22 09:57:04] <job> i can manually remove the entries
[2012/02/22 09:57:08] <job> in /etc/passwd
[2012/02/22 09:57:20] @ gniks1 joined channel #puppet
[2012/02/22 09:57:49] @ Quit: Niarf: Quit: Leaving.
[2012/02/22 09:57:59] <joe-mac> you never installed puppet? but the user is there?
[2012/02/22 09:58:03] <joe-mac> uhh sounds fishy
[2012/02/22 09:58:04] <job> https://p.6core.net/p/6y1cq99lxqifvv4
[2012/02/22 09:58:08] <joe-mac> you inherit this machienf rom somene else?
[2012/02/22 09:58:16] <job> no, i tried installing it, then it errored
[2012/02/22 09:58:17] @ gazoombo joined channel #puppet
[2012/02/22 09:58:34] <job> rmuser says user 'puppet' doesnt exist, but there are entries in /etc/master.passwd /etc/passwd and /etc/group
[2012/02/22 09:58:52] @ Quit: gniks: Ping timeout: 244 seconds
[2012/02/22 09:58:53] <job> now if i manually remove those, and try to install again, i get what my last pastebin showed
[2012/02/22 10:00:13] @ Prometheus joined channel #puppet
[2012/02/22 10:00:59] @ marczak joined channel #puppet
[2012/02/22 10:01:29] @ rcrowley joined channel #puppet
[2012/02/22 10:04:35] <matti> jamesturnbull: What is the difference between PS and SPS?
[2012/02/22 10:04:38] @ Quit: rcrowley: Client Quit
[2012/02/22 10:05:19] @ rcrowley joined channel #puppet
[2012/02/22 10:05:23] @ Quit: fbred: Ping timeout: 252 seconds
[2012/02/22 10:05:52] @ sduchesneau joined channel #puppet
[2012/02/22 10:06:07] @ dfghj joined channel #puppet
[2012/02/22 10:07:15] @ fbred joined channel #puppet
[2012/02/22 10:07:44] @ Tobu joined channel #puppet
[2012/02/22 10:07:51] <job> using vipw to force a rewrite/compile of the user db solved it
[2012/02/22 10:07:58] @ dfghj left channel #puppet ()
[2012/02/22 10:07:59] @ Ori_P joined channel #puppet
[2012/02/22 10:09:37] @ Quit: kenperkins: Quit: Computer has gone to sleep.
[2012/02/22 10:09:59] @ st33v joined channel #puppet
[2012/02/22 10:10:11] @ Quit: w3lly: Quit: Leaving.
[2012/02/22 10:12:02] @ Quit: fbred: Ping timeout: 260 seconds
[2012/02/22 10:12:15] @ Quit: d3vnull: Ping timeout: 245 seconds
[2012/02/22 10:12:15] @ ckauhaus joined channel #puppet
[2012/02/22 10:13:04] <wollviech> (hopefully) simple hiera-question: i'd like to include the classname of the class performing the hiera-lookup in the search-hierarchy
[2012/02/22 10:13:27] @ kermit joined channel #puppet
[2012/02/22 10:14:02] @ Quit: csanchez: Read error: Connection timed out
[2012/02/22 10:14:18] <wollviech> so if a class "foo" calls hiera, it will look for matching files the directory $prefix/foo; if a class 'bar' calls hiera, it starts to look in $prefix/bar and so on
[2012/02/22 10:14:29] @ csanchez joined channel #puppet
[2012/02/22 10:14:34] <wollviech> is that possible?
[2012/02/22 10:15:32] @ loganspencer joined channel #puppet
[2012/02/22 10:17:34] @ greenman_gone is now known as greenman
[2012/02/22 10:17:54] @ Quit: ckauhaus: Ping timeout: 240 seconds
[2012/02/22 10:19:48] @ fbred joined channel #puppet
[2012/02/22 10:20:03] @ Miguelzinho joined channel #puppet
[2012/02/22 10:21:54] @ Quit: sernin: Quit: ZNC - http://znc.sourceforge.net
[2012/02/22 10:22:32] @ mgw joined channel #puppet
[2012/02/22 10:22:54] @ sernin joined channel #puppet
[2012/02/22 10:22:56] @ hno joined channel #puppet
[2012/02/22 10:24:12] <hno> Struggling a bit with ERB template syntax. I need to make a conditional checking if a given ipaddress is in IPv4 form or IPv6 form. Or to the point, if it contains a : or not. But what conditional can I use for a such pattern match?
[2012/02/22 10:24:16] @ Quit: fbred: Ping timeout: 260 seconds
[2012/02/22 10:25:19] <choonming> hno, try checking by length?
[2012/02/22 10:25:22] @ fbred joined channel #puppet
[2012/02/22 10:25:22] @ stkrzysiak joined channel #puppet
[2012/02/22 10:25:53] @ Quit: stkrzysiak: Client Quit
[2012/02/22 10:25:54] <choonming> or the whether it contains alphanumeric or just numeric?
[2012/02/22 10:26:05] <Dominic> hno: it's Ruby, so you could do <% if myip.include? ":" -%>
[2012/02/22 10:26:14] @ stkrzysiak joined channel #puppet
[2012/02/22 10:26:25] <hno> Dominic, thanks! need to learn more ruby I think.
[2012/02/22 10:26:27] @ Quit: stkrzysiak: Client Quit
[2012/02/22 10:26:47] <Dominic> hno: mine's not great, but I keep ruby-doc.org to hand, e.g. http://ruby-doc.org/core-1.9.3/String.html
[2012/02/22 10:27:09] @ seanh-ansca joined channel #puppet
[2012/02/22 10:28:33] @ Quit: tecto_: Quit: tecto_
[2012/02/22 10:28:51] @ Quit: Meier: Quit: Leaving.
[2012/02/22 10:30:24] @ Quit: fbred: Remote host closed the connection
[2012/02/22 10:30:24] @ stkrzysiak joined channel #puppet
[2012/02/22 10:30:26] @ Quit: n8: Quit: n8
[2012/02/22 10:30:31] @ n8 joined channel #puppet
[2012/02/22 10:30:55] @ Quit: n8: Client Quit
[2012/02/22 10:31:15] @ Quit: stkrzysiak: Client Quit
[2012/02/22 10:31:15] @ ckauhaus joined channel #puppet
[2012/02/22 10:32:13] @ Quit: csanchez: Read error: Connection timed out
[2012/02/22 10:32:23] @ stkrzysiak joined channel #puppet
[2012/02/22 10:33:08] @ Quit: Demosthenes: Quit: Lost terminal
[2012/02/22 10:33:41] @ stkrzysiak_ joined channel #puppet
[2012/02/22 10:33:48] @ Quit: stkrzysiak: Read error: Connection reset by peer
[2012/02/22 10:33:48] @ stkrzysiak_ is now known as stkrzysiak
[2012/02/22 10:34:20] @ Quit: nan0r: Ping timeout: 245 seconds
[2012/02/22 10:34:30] @ Niarf joined channel #puppet
[2012/02/22 10:34:44] <hno> puppet do not like ERB syntax errors too much. "err: Could not retrieve catalog from remote server: wrong header line format"
[2012/02/22 10:35:36] @ nan0r joined channel #puppet
[2012/02/22 10:36:43] <Dominic> this is useful, particularly if you have pre-commit hooks: http://docs.puppetlabs.com/guides/templating.html#syntax-checking
[2012/02/22 10:37:00] <tmz> Dominic: Won't some things differ if you follow the 1.9.x ruby docs? Fedora is only just now moving to 1.9.x in F17.
[2012/02/22 10:37:12] <hno> Dominic, any idea whats wrong with http://fpaste.org/k426/
[2012/02/22 10:37:23] <hno> seems to never match the ":"
[2012/02/22 10:37:30] @ cwebber joined channel #puppet
[2012/02/22 10:38:11] @ VladGh joined channel #puppet
[2012/02/22 10:38:18] <Dominic> tmz: true, I find 1.9 more useful as I keep submitting patches using methods that have been removed in 1.9 :/
[2012/02/22 10:38:32] @ neonflux joined channel #puppet
[2012/02/22 10:38:47] <hno> Dominic, never mind. It did work. There is two places I need to do this at B)
[2012/02/22 10:39:04] <Dominic> :)
[2012/02/22 10:39:23] <tmz> hno: In facter, there's seperate facts for ipv4 and ipv6 addresses, make that'd make it easier?
[2012/02/22 10:39:54] <hno> not really. It's parameters. There is many addresses for different purposes.
[2012/02/22 10:40:06] <tmz> Gotcha.
[2012/02/22 10:40:46] <hno> and squid.conf syntax is a bit dumb, requiring different ipv6 syntax in different directives (some with [...], some without)
[2012/02/22 10:41:02] @ csanchez joined channel #puppet
[2012/02/22 10:41:12] @ lwhalen-work joined channel #puppet
[2012/02/22 10:41:19] @ Quit: countskm: Remote host closed the connection
[2012/02/22 10:41:20] @ Quit: lwhalen-work: Read error: Connection reset by peer
[2012/02/22 10:41:33] <hno> should get that fixed...
[2012/02/22 10:41:42] @ countskm joined channel #puppet
[2012/02/22 10:42:56] @ Quit: eedri: Ping timeout: 260 seconds
[2012/02/22 10:43:18] <hno> I am pretty sure there is smarter ways to do this in ruby, but it works. Thanks Dominic
[2012/02/22 10:46:32] @ cruzfox joined channel #puppet
[2012/02/22 10:46:59] @ artkrz is now known as artkrz-away
[2012/02/22 10:47:02] @ justdave joined channel #puppet
[2012/02/22 10:48:58] @ ansii joined channel #puppet
[2012/02/22 10:49:03] @ Quit: MattyM: Remote host closed the connection
[2012/02/22 10:49:14] @ Quit: seanh-ansca: Quit: Leaving.
[2012/02/22 10:50:05] @ labrown joined channel #puppet
[2012/02/22 10:50:08] <tty00> do anyone of you have any good idea on how to best setup puppet with some redundancy both for loadbalancing and for failover?
[2012/02/22 10:50:13] @ ABK joined channel #puppet
[2012/02/22 10:50:59] @ ranamalo joined channel #puppet
[2012/02/22 10:51:04] <anrxc> tty00: maybe check puppetconf 2011 video for building HA puppetmaster
[2012/02/22 10:51:09] <anrxc> tty00: for some ideas
[2012/02/22 10:51:27] <solarisfire> Guys does anyone know how to force a config file to have spaces replaced by _?
[2012/02/22 10:52:12] <tty00> cool, i'll check it up later on... what i can see there is two important things, sync of manifests (files and directories) and the certificates
[2012/02/22 10:52:17] <solarisfire> I'm trying: $name = $name.tr!(' ','_')
[2012/02/22 10:52:24] @ plasmonyc left channel #puppet ()
[2012/02/22 10:52:29] <solarisfire> but not working
[2012/02/22 10:52:45] <_rc> solarisfire: $new_name = regsubst($name, ' ', '_')
[2012/02/22 10:53:05] <ranamalo> i've got the following with a class : if $tunnelstatus == 'notestablished' { include admissions::sshtunnel }
[2012/02/22 10:53:13] <ranamalo> i get the error: Syntax error at 'if'; expected '}'
[2012/02/22 10:53:26] <ranamalo> what am i doing wrong?
[2012/02/22 10:53:30] <solarisfire> nah it still ignores that _rc :-(
[2012/02/22 10:53:49] @ Quit: althoras: Remote host closed the connection
[2012/02/22 10:53:56] <_rc> solarisfire: define ignores it? it creates a new variable, are you using that new variable?
[2012/02/22 10:54:27] @ strayer joined channel #puppet
[2012/02/22 10:54:27] <solarisfire> $fname = regsubst($name, ' ', '_')
[2012/02/22 10:54:27] <solarisfire> file { "/etc/bacula/bacula-dir.d/${fname}-fset.conf":
[2012/02/22 10:54:28] <solarisfire> ensure => file,
[2012/02/22 10:54:28] <solarisfire> content => template('bacula/fileset_config.erb'),
[2012/02/22 10:54:28] <solarisfire> notify => Service['bacula-dir'],
[2012/02/22 10:54:28] <solarisfire> }
[2012/02/22 10:54:51] @ Quit: ckauhaus: Quit: Leaving.
[2012/02/22 10:55:08] <solarisfire> yet filename still has spaces
[2012/02/22 10:55:27] <_rc> does it replace any?
[2012/02/22 10:55:36] @ choonming_ joined channel #puppet
[2012/02/22 10:55:40] <solarisfire> nope none :(
[2012/02/22 10:55:50] @ Quit: Prometheus: Ping timeout: 276 seconds
[2012/02/22 10:56:11] @ Quit: ABK: Ping timeout: 260 seconds
[2012/02/22 10:56:16] <_rc> really? I'd expect it to maybe only replace the first, as I didn't say to add a 'G'
[2012/02/22 10:56:25] <_rc> http://docs.puppetlabs.com/references/stable/function.html#regsubst
[2012/02/22 10:56:56] <solarisfire> [root@htl-bacula1 bacula-dir.d]# ls | grep _ returns nothing
[2012/02/22 10:57:05] <solarisfire> so not replacing even one
[2012/02/22 10:57:06] <_rc> ...
[2012/02/22 10:57:17] @ Quit: behrendsj_: Remote host closed the connection
[2012/02/22 10:57:18] @ Quit: csanchez: Read error: Connection timed out
[2012/02/22 10:57:33] <_rc> what was in the log for the file resource?
[2012/02/22 10:57:43] @ brahman joined channel #puppet
[2012/02/22 10:58:38] <solarisfire> puppet-master[20535]: Compiled catalog for virt-cent-03.internal.hornbill.com in environment production in 0.32 seconds
[2012/02/22 10:58:39] @ w3lly joined channel #puppet
[2012/02/22 10:58:41] <Raboo> in stdlib there is a property, ensure. But only valid values are present.
[2012/02/22 10:58:48] <solarisfire> wrong line
[2012/02/22 10:58:49] <solarisfire> Compiled catalog for htl-bacula1.internal.hornbill.com in environment production in 0.52 seconds
[2012/02/22 10:58:56] <Raboo> are there plans on implementing a absent value?
[2012/02/22 10:58:56] <solarisfire> no errors nothing :S
[2012/02/22 10:59:01] <brahman> hi, I am having some trouble. my External Node Classifier returns: nodes::nameofclass as the entry point. this nodes::nameofclass inherits nameofclass. I am getting SERVER: stack level too deep on node.
[2012/02/22 10:59:07] @ csanchez joined channel #puppet
[2012/02/22 10:59:17] <_rc> solarisfire: I mean on the log on the agent when it puts down the file
[2012/02/22 10:59:28] <Raboo> ohh
[2012/02/22 10:59:31] <brahman> Whats interesting is that there is a bug #620 which describes this, but it mentions it being fixed.
[2012/02/22 10:59:31] <gepetto> brahman: #620 is http://projects.puppetlabs.com/issues/show/620 "Bug #620: Nodes and classes can't have the same names - Puppet. It has a status of Closed and is assigned to Luke Kanies"
[2012/02/22 10:59:42] <brahman> gepetto: ^^^
[2012/02/22 10:59:46] <Raboo> i forgot to say in "file_line" in stdlib
[2012/02/22 10:59:47] <solarisfire> no errors at all _rc only standard notify messages that don't give me much
[2012/02/22 10:59:50] <_rc> solarisfire: try this notify { "fname is '${fname}'": } to verify it
[2012/02/22 10:59:51] @ Quit: system-error: Ping timeout: 260 seconds
[2012/02/22 11:00:31] <brahman> Is the fix to that bug the fact that it now errors with stacke level too deep?
[2012/02/22 11:01:22] @ aelman joined channel #puppet
[2012/02/22 11:01:24] <solarisfire> _rc: didn't even run the notify line... might need to reposition the point at which I run the string replacement
[2012/02/22 11:01:44] <_rc> solarisfire: then you're also not controlling the file
[2012/02/22 11:02:17] <ali3n0> damn I'm quite confused by require / include. How should I define a dependency between modules?
[2012/02/22 11:02:29] @ Quit: tim|mac: Quit: Coyote finally caught me
[2012/02/22 11:03:52] @ tim|mac joined channel #puppet
[2012/02/22 11:03:55] @ Quit: lkoranda: Quit: Ex-Chat
[2012/02/22 11:05:01] <brahman> gepetto: Is the fix to that bug the fact that it now errors with stacke level too deep?
[2012/02/22 11:05:16] <ranamalo> ali3n0: what relationship are you looking for?
[2012/02/22 11:05:41] @ dan__t joined channel #puppet
[2012/02/22 11:06:31] <_rc> ali3n0: Class["one"] -> Class["two"] is the equivalent of requires, and sets the ordering
[2012/02/22 11:06:50] <_rc> ali3n0: but you also need to do the include, so that can be set up
[2012/02/22 11:07:45] <solarisfire> _rc even if I change to this file { "/etc/bacula/bacula-dir.d/${ilovemylittlepony}-fset.conf": it still manages to create config files with the right names... where is it pulling the name from if not from here??
[2012/02/22 11:07:50] <erthad> both has side-effects. require means that every resource in your module requires the other (i.e. you cannot notify resources of required class). Include changes default context for the included module so if you specify resource defaults in your class those will affect included class
[2012/02/22 11:08:36] @ Quit: breidh: Ping timeout: 260 seconds
[2012/02/22 11:08:44] <_rc> solarisfire: you mean it makes a bacula-dir.d/-fset.conf, or do you mean it isn't applying that resource at all?
[2012/02/22 11:09:27] <solarisfire> _rc: it is still creating correctly named files. e.g. Nagios-fset.conf
[2012/02/22 11:09:47] <ranamalo> i want to include a class only if a fact has a certain value. How should i do this?
[2012/02/22 11:09:57] <_rc> well then if you didn't make a $lovemylittlepony variable, then it's not using that code
[2012/02/22 11:10:11] <solarisfire> yeah I restarted rack and it's failing now...
[2012/02/22 11:10:35] @ benkevan joined channel #puppet
[2012/02/22 11:10:44] @ Quit: verwilst: Quit: Ex-Chat
[2012/02/22 11:10:45] <_rc> solarisfire: you probably introduced a syntax error, so it wasn't loading the new version of the manifest
[2012/02/22 11:10:48] @ Quit: sdog: Quit: Leaving.
[2012/02/22 11:10:53] @ ckauhaus joined channel #puppet
[2012/02/22 11:10:58] <solarisfire> probably... lets try again :-)
[2012/02/22 11:11:07] <_rc> ranamalo: if $fact == "special_value" { include candy }
[2012/02/22 11:12:12] <ranamalo> _rc: i'm getting an error using this: if $tunnelstatus == 'notestablished' { include admissions::sshtunnel }
[2012/02/22 11:12:39] <ranamalo> _rc: Syntax error at 'if'; expected '}'
[2012/02/22 11:12:59] <_rc> ranamalo: can you use pastie.org and show us those lines and a couple lines either way of context
[2012/02/22 11:14:28] @ cwarden joined channel #puppet
[2012/02/22 11:15:21] <ranamalo> _rc: it's within another class. here's the pastbin: http://pastebin.com/SsTuBdFr
[2012/02/22 11:15:47] @ Quit: csanchez: Read error: Connection timed out
[2012/02/22 11:15:48] <_rc> ranamalo: look on line 7, you have a depenency arror
[2012/02/22 11:15:59] <_rc> *arrow
[2012/02/22 11:16:26] <_rc> so what's expected is another resource, not an if statement
[2012/02/22 11:17:10] <Snake1> hmm
[2012/02/22 11:17:16] @ csanchez joined channel #puppet
[2012/02/22 11:17:16] <Snake1> err: Could not request certificate: Connection timed out - connect(2)
[2012/02/22 11:17:17] @ Quit: biodave: Read error: Connection reset by peer
[2012/02/22 11:17:23] <Snake1> when i do puppetd -t -v on puppet client
[2012/02/22 11:17:33] <Snake1> and puppetca --list results in no output on the server :/ damn
[2012/02/22 11:17:36] @ Quit: mgw: Quit: Leaving.
[2012/02/22 11:18:04] <_rc> yeah, it's failing to get as far as requesting a cert - look at the error. Connection timed out - connect(2)
[2012/02/22 11:18:17] @ Quit: labrown: Remote host closed the connection
[2012/02/22 11:18:47] <ranamalo> _rc: thanks is there a way I can get the external class admissions::sshtunnel to run in a particular order within the enveloping class?
[2012/02/22 11:18:55] @ Quit: solarisfire: Ping timeout: 240 seconds
[2012/02/22 11:18:56] @ rcrowley_ joined channel #puppet
[2012/02/22 11:18:57] <Snake1> _rc: yeah but i can ping the machine
[2012/02/22 11:19:01] <Snake1> and selinux is set to permissive
[2012/02/22 11:19:14] <Snake1> ive add in my hosts file also the ip to the puppet server
[2012/02/22 11:20:27] <Snake1> _rc: do you have any suggestion i can try?
[2012/02/22 11:20:40] <_rc> Snake1: so test it on the cli. telnet puppet 8140
[2012/02/22 11:21:38] <Snake1> _rc: netstat -plunt | grep 8140
[2012/02/22 11:21:38] <Snake1> tcp 0 0 0.0.0.0:8140 0.0.0.0:* LISTEN 28023/ruby
[2012/02/22 11:21:40] <_rc> ranamalo: and to have it conditional?
[2012/02/22 11:21:43] @ Quit: i0n: Ping timeout: 245 seconds
[2012/02/22 11:21:45] <Snake1> on my puppet server
[2012/02/22 11:21:50] <_rc> Snake1: yes
[2012/02/22 11:21:53] @ Joelio joined channel #puppet
[2012/02/22 11:22:03] <Joelio> I seem to be getting a lot of this now, err: Could not remove PID file /var/run/puppet/agent.pid
[2012/02/22 11:22:07] <ranamalo> _rc: yup. is there a way?
[2012/02/22 11:22:19] <Snake1> _rc: so it's listening but still connection timing out hmm i wonder why
[2012/02/22 11:22:58] <ranamalo> _rc: like if this fact is this value run this class right here and now.
[2012/02/22 11:22:59] @ _moses_ joined channel #puppet
[2012/02/22 11:23:07] @ solarisfire joined channel #puppet
[2012/02/22 11:23:35] @ Quit: duerF: Ping timeout: 240 seconds
[2012/02/22 11:23:45] @ labrown joined channel #puppet
[2012/02/22 11:23:47] @ Quit: w3lly: Quit: Leaving.
[2012/02/22 11:24:04] @ w3lly joined channel #puppet
[2012/02/22 11:24:10] <_rc> ranamalo: try something like - http://pastebin.com/UPAV7tn6
[2012/02/22 11:24:35] <_rc> and/or change the direction of the require arrow
[2012/02/22 11:24:58] <_rc> Snake1: did you very the connection times out with telnet/netcat as I suggested?
[2012/02/22 11:25:03] <_rc> *verify
[2012/02/22 11:25:24] @ kenperkins joined channel #puppet
[2012/02/22 11:25:28] @ kelseyhightower joined channel #puppet
[2012/02/22 11:25:58] <Snake1> _rc: hang on, i must install telnet on this centos machine..
[2012/02/22 11:28:30] @ Quit: tremble: Quit: Leaving
[2012/02/22 11:28:47] <ali3n0> ranamalo: it wasn't working because of this: class blah { class { "blah::subclass": } }. If I do a require 'class', or a require => Class['blah'], it doesn't wait for the execution of blah::subclass
[2012/02/22 11:29:00] @ breidh joined channel #puppet
[2012/02/22 11:29:03] <ali3n0> moved blah::subclass into blah and it's working as expected
[2012/02/22 11:30:50] @ Quit: jaydg: Remote host closed the connection
[2012/02/22 11:33:44] @ wilmoore joined channel #puppet
[2012/02/22 11:33:46] @ i0n joined channel #puppet
[2012/02/22 11:34:50] @ samkottler joined channel #puppet
[2012/02/22 11:34:51] @ Quit: Tobu: Ping timeout: 260 seconds
[2012/02/22 11:35:11] <Snake1> _rc: ok found it
[2012/02/22 11:35:12] <Snake1> thanks
[2012/02/22 11:35:16] @ Quit: Snake1: Quit: leaving
[2012/02/22 11:35:19] @ Quit: csanchez: Read error: Connection timed out
[2012/02/22 11:37:19] @ csanchez joined channel #puppet
[2012/02/22 11:37:24] @ Quit: dieterdemeyer: Quit: Leaving
[2012/02/22 11:37:25] @ fbred joined channel #puppet
[2012/02/22 11:37:48] @ Quit: ashp: Quit: leaving
[2012/02/22 11:38:47] @ kermit is now known as kermit_
[2012/02/22 11:39:55] @ Quit: solarisfire: Ping timeout: 240 seconds
[2012/02/22 11:40:23] @ plasmonyc joined channel #puppet
[2012/02/22 11:41:15] @ Quit: Razique: Quit: Razique
[2012/02/22 11:41:28] @ Quit: st33v: Quit: st33v
[2012/02/22 11:41:35] @ Quit: loganspencer: Quit: Computer has gone to sleep.
[2012/02/22 11:41:47] @ plasmonyc left channel #puppet ()
[2012/02/22 11:42:14] @ solarisfire joined channel #puppet
[2012/02/22 11:43:11] <hno> .
[2012/02/22 11:44:13] @ Quit: ckauhaus: Ping timeout: 245 seconds
[2012/02/22 11:44:38] @ Prometheus joined channel #puppet
[2012/02/22 11:45:15] @ ckauhaus joined channel #puppet
[2012/02/22 11:45:44] @ st33v joined channel #puppet
[2012/02/22 11:46:02] @ Quit: st33v: Client Quit
[2012/02/22 11:46:15] @ Kazuhiro joined channel #puppet
[2012/02/22 11:47:12] @ d3vnull joined channel #puppet
[2012/02/22 11:48:04] @ Quit: kelseyhightower: Quit: Colloquy for iPhone - http://colloquy.mobi
[2012/02/22 11:48:30] @ kokyu joined channel #puppet
[2012/02/22 11:48:33] * kokyu waves
[2012/02/22 11:48:43] @ Quit: mogitaff: Quit: Leaving
[2012/02/22 11:48:49] @ nan0r1 joined channel #puppet
[2012/02/22 11:49:45] @ Quit: nan0r: Ping timeout: 245 seconds
[2012/02/22 11:50:01] @ ashp joined channel #puppet
[2012/02/22 11:50:31] @ Quit: pmorillon: Quit: pmorillon
[2012/02/22 11:51:20] @ Quit: countskm: Quit: Lost terminal
[2012/02/22 11:51:26] <kokyu> Hey. I am getting 'dynamic lookup` warnings when referencing facter variables (with puppet 2.7.9), but if that's the case, how do I reference facter variables then? I mean, I could not find anything in the docs except the way to write it like $operatingsystem e.g..
[2012/02/22 11:51:43] <Dominic> kokyu: $::operatingsystem
[2012/02/22 11:51:49] <kokyu> ah!
[2012/02/22 11:51:57] <kokyu> so kind of global/root namespace then
[2012/02/22 11:52:14] <Dominic> yep
[2012/02/22 11:52:18] <kokyu> nice.
[2012/02/22 11:52:27] @ newtMcKerr joined channel #puppet
[2012/02/22 11:52:28] <kokyu> well, but the changelog page should have noticed that at least :)
[2012/02/22 11:52:36] @ Quit: larstobi: Quit: Leaving.
[2012/02/22 11:52:40] @ Quit: newtMcKerr: Changing host
[2012/02/22 11:52:40] @ newtMcKerr joined channel #puppet
[2012/02/22 11:53:33] @ Quit: labrown: Remote host closed the connection
[2012/02/22 11:53:37] @ Quit: stevie-bash: Quit: Verlassend
[2012/02/22 11:53:41] <kokyu> Dominic: but does variable expansion work the same still, like "blah $::fqdn blah" ?
[2012/02/22 11:53:59] <kokyu> or must I use ${::fqdn} then?
[2012/02/22 11:54:15] <Dominic> kokyu: yes, but you should use ${ } where possible, some of the interpolation rules changed a bit I think (around hyphens)
[2012/02/22 11:54:54] @ d19113 joined channel #puppet
[2012/02/22 11:54:56] @ Quit: csanchez: Read error: Connection timed out
[2012/02/22 11:54:56] <kokyu> ah
[2012/02/22 11:55:04] <kokyu> Dominic: many thanks for your thoughts :)
[2012/02/22 11:55:24] @ csanchez joined channel #puppet
[2012/02/22 11:55:31] @ Kazuhiro left channel #puppet ()
[2012/02/22 11:55:59] @ labrown joined channel #puppet
[2012/02/22 12:01:08] <d19113> Installing puppet enterprises for the first time on Red El 5 32bit. Getting an error failed dependencies message. java >=1.5.0 is needed by pe-tanukiwrapper3.5.9-5peel5.i386. I have java version 1.7 installed.
[2012/02/22 12:02:47] @ Quit: ckauhaus: Ping timeout: 276 seconds
[2012/02/22 12:03:10] @ Quit: jodok: Quit: jodok
[2012/02/22 12:03:23] @ jiboumans_ joined channel #puppet
[2012/02/22 12:03:27] <joe-mac> installed via source and it wants rpmo is my guess
[2012/02/22 12:03:50] @ Quit: _moses_: Ping timeout: 248 seconds
[2012/02/22 12:04:12] @ Quit: inecas: Quit: Leaving
[2012/02/22 12:05:41] @ _moses_ joined channel #puppet
[2012/02/22 12:07:22] @ Quit: awinters: Quit: Lost terminal
[2012/02/22 12:07:52] <d19113> for some reason puppet cant see the current java
[2012/02/22 12:08:57] @ Quit: newtMcKerr: Quit: Leaving.
[2012/02/22 12:09:22] @ Quit: cwebber: Quit: Leaving.
[2012/02/22 12:10:05] @ sdog joined channel #puppet
[2012/02/22 12:11:30] @ Quit: Ramonster: Quit: So Long and thanks for all the fish
[2012/02/22 12:11:50] @ kermit_ is now known as kermit
[2012/02/22 12:12:04] @ monleezy joined channel #puppet
[2012/02/22 12:12:58] @ Quit: sduchesneau: Ping timeout: 245 seconds
[2012/02/22 12:13:10] <d19113> @joe-mac what is rpmo
[2012/02/22 12:13:14] @ Quit: sdog: Changing host
[2012/02/22 12:13:14] @ sdog joined channel #puppet
[2012/02/22 12:13:20] @ Quit: csanchez: Read error: Connection timed out
[2012/02/22 12:13:44] <joe-mac> s/rpmo/rpm
[2012/02/22 12:13:50] @ Guest___ joined channel #puppet
[2012/02/22 12:13:53] <joe-mac> it was a typo
[2012/02/22 12:13:55] @ Guest___ is now known as shellox_
[2012/02/22 12:14:12] @ Quit: fbred: Remote host closed the connection
[2012/02/22 12:14:13] @ Quit: d3c: Quit: Sleep
[2012/02/22 12:14:13] @ m1santr0p joined channel #puppet
[2012/02/22 12:14:29] @ shellox_ is now known as shell0x_
[2012/02/22 12:14:49] <d19113> the tankukiwrapper is in the package directory that comes with puppet.
[2012/02/22 12:15:13] @ Quit: KaZeR_W: Remote host closed the connection
[2012/02/22 12:15:15] @ nfagerlund joined channel #puppet
[2012/02/22 12:15:28] @ csanchez joined channel #puppet
[2012/02/22 12:15:31] <_rc> d19113: yes, and that package states a dependency on a java package
[2012/02/22 12:15:57] <_rc> d19113: you said you have java installed, but is it from a package called java?
[2012/02/22 12:16:14] <_rc> d19113: or did you untar something some place?
[2012/02/22 12:17:04] @ Tobu joined channel #puppet
[2012/02/22 12:18:18] @ cwebber joined channel #puppet
[2012/02/22 12:18:44] <kokyu> how do I access facter vars from within .erb templates when not via $cvar anymore?
[2012/02/22 12:19:11] @ Quit: ali3n0: Quit: Leaving.
[2012/02/22 12:19:20] @ Quit: m1santr0p: Ping timeout: 272 seconds
[2012/02/22 12:19:24] <VladGh> does anyone have a rake task or script to update metadata for a module without running puppt-module build...?
[2012/02/22 12:19:33] <ryancoleman> kokyu: scope.lookupvar('::facterfact')
[2012/02/22 12:19:37] <ryancoleman> http://docs.puppetlabs.com/learning/templates.html
[2012/02/22 12:19:49] <ryancoleman> I think that's what you mean..
[2012/02/22 12:20:01] <kokyu> ryancoleman: I hoped there was an easy way just like in 2.6 ($facterfact)
[2012/02/22 12:20:27] @ lak joined channel #puppet
[2012/02/22 12:20:28] @ Quit: lak: Changing host
[2012/02/22 12:20:28] @ lak joined channel #puppet
[2012/02/22 12:20:29] <ryancoleman> kokyu: Am I missing what you're trying to do? You just want to refer to a variable by its explicit namespace, right?
[2012/02/22 12:21:36] @ fbred joined channel #puppet
[2012/02/22 12:21:38] <kokyu> ryancoleman: I want to reference facter variables, like $hostname or $ipaddress within my erb template files
[2012/02/22 12:21:53] @ trickyf left channel #puppet ()
[2012/02/22 12:21:56] <_rc> ryancoleman: I don't think you are, I think he's just grouching that <%= scope.lookupvar("::fqdn") %> is way more hassle than <%= fqdn %>
[2012/02/22 12:22:03] <kokyu> ryancoleman: and until 2.6 I could just write $hostname, but now it complains about dynamic namspace fu
[2012/02/22 12:22:15] <kokyu> _rc++
[2012/02/22 12:22:26] @ rockpapergoat joined channel #puppet
[2012/02/22 12:22:30] <_rc> which to be fair, it is
[2012/02/22 12:22:53] @ ken_barber joined channel #puppet
[2012/02/22 12:23:24] <ryancoleman> kokyu: Ah. Yes, it's more of a hassle but that's the way currently. I believe Telly is going to introduce a better syntax but I'd suggest you file an issue at projects.puppetlabs.com to express your dissatisfaction and suggest something different.
[2012/02/22 12:24:50] @ Quit: marrusl: Read error: Connection reset by peer
[2012/02/22 12:25:08] @ marrusl joined channel #puppet
[2012/02/22 12:25:45] <kokyu> i c
[2012/02/22 12:26:43] @ newtMcKerr joined channel #puppet
[2012/02/22 12:26:54] @ Quit: djm68: Remote host closed the connection
[2012/02/22 12:31:26] @ Quit: eRefre: Ping timeout: 260 seconds
[2012/02/22 12:31:43] @ Quit: csanchez: Read error: Connection timed out
[2012/02/22 12:33:00] @ djm68 joined channel #puppet
[2012/02/22 12:33:07] @ eRefre joined channel #puppet
[2012/02/22 12:33:35] @ csanchez joined channel #puppet
[2012/02/22 12:34:30] @ phips|mac joined channel #puppet
[2012/02/22 12:35:46] @ Quit: boats: Quit: Leaving
[2012/02/22 12:36:45] @ Demosthenes joined channel #puppet
[2012/02/22 12:37:18] @ Quit: phips|mac: Client Quit
[2012/02/22 12:37:26] @ zachc joined channel #puppet
[2012/02/22 12:38:12] @ mgw joined channel #puppet
[2012/02/22 12:38:26] <zachc> what is "phase 3" in a puppet management?
[2012/02/22 12:41:26] @ Quit: nan0r1: Quit: Leaving.
[2012/02/22 12:41:51] @ Quit: csanchez: Quit: csanchez
[2012/02/22 12:41:56] @ Quit: Ori_P: Quit: Computer has gone to sleep.
[2012/02/22 12:42:00] @ Stenbryggen joined channel #puppet
[2012/02/22 12:42:10] @ Quit: kokyu: Quit: leaving
[2012/02/22 12:43:03] @ ckauhaus joined channel #puppet
[2012/02/22 12:43:13] @ sduchesneau joined channel #puppet
[2012/02/22 12:43:19] @ Quit: marrusl: Remote host closed the connection
[2012/02/22 12:43:53] @ Quit: jcorrius: Ping timeout: 240 seconds
[2012/02/22 12:44:37] @ ezmobius joined channel #puppet
[2012/02/22 12:44:41] @ Ori_P joined channel #puppet
[2012/02/22 12:44:52] <ewoud> is ($vnc_ssl_key != undef) a valid way of checking $vnc_ssl_key is set?
[2012/02/22 12:45:55] <Volcane> yeah we need to test it fixes the specific problem though
[2012/02/22 12:45:58] <Volcane> oops, wrong #
[2012/02/22 12:48:13] @ Quit: debm: Quit: Textual IRC Client: http://www.textualapp.com/
[2012/02/22 12:48:31] <job> err: /File[/var/lib/puppet/lib]: Failed to retrieve current state of resource: Could not retrieve information from source(s) puppet://puppet/plugins
[2012/02/22 12:48:41] <job> why do i get that error on relatively fresh install
[2012/02/22 12:51:07] @ Quit: sduchesneau: Ping timeout: 252 seconds
[2012/02/22 12:51:07] @ Quit: lanky: Remote host closed the connection
[2012/02/22 12:54:12] @ jodok joined channel #puppet
[2012/02/22 12:54:50] <Volcane> enable pluginsync on the master
[2012/02/22 12:55:16] @ Quit: raphink: Remote host closed the connection
[2012/02/22 12:55:26] <zachc> what is "phase 3" in a puppet management?
[2012/02/22 12:55:44] <Harzilein_> heh: "Also in a way cfengine is a misguided attempt to reinvent TCL by a person who has no real talent for language design."
[2012/02/22 12:55:46] <Volcane> zachc: thats not a standard term
[2012/02/22 12:56:12] <zachc> Volcane: my boss used it as one...I'm just trying to figure it out
[2012/02/22 12:56:30] <Volcane> it probably refers to an internal plan your company has
[2012/02/22 12:56:56] <aricg> http://c2.com/cgi/wiki?FourQuadrants it means Urgent and Not important ;)
[2012/02/22 12:59:21] @ Quit: stkrzysiak: Quit: stkrzysiak
[2012/02/22 12:59:43] @ stkrzysiak joined channel #puppet
[2012/02/22 13:00:53] @ Quit: alanevans: Remote host closed the connection
[2012/02/22 13:01:43] @ comptona joined channel #puppet
[2012/02/22 13:01:51] @ seanh-ansca joined channel #puppet
[2012/02/22 13:02:01] <econnell> Harzilein_: lol
[2012/02/22 13:02:52] @ Quit: rockpapergoat: Remote host closed the connection
[2012/02/22 13:02:52] <econnell> "I'd agree. I work for a consulting firm that has done a ton of implementations and I've been in a ton of datacenters and they've all been Windows. Where are these shops that use 100% Linux?"
[2012/02/22 13:02:57] @ plasmonyc_ joined channel #puppet
[2012/02/22 13:03:01] <econnell> oh god.. this is the thread that keeps on giving!
[2012/02/22 13:05:38] @ pdtpatr1ck joined channel #puppet
[2012/02/22 13:05:54] <econnell> oh... wrong channel... oops :)
[2012/02/22 13:06:19] <shiruken> now I'm interested in where that thread is
[2012/02/22 13:06:52] @ alfism joined channel #puppet
[2012/02/22 13:07:03] <econnell> http://www.reddit.com/r/sysadmin/comments/q0wzq/help_i_think_i_may_have_screwed_my_career_and/
[2012/02/22 13:07:08] <econnell> enjoy :)
[2012/02/22 13:07:19] <realist> I'm interested in the source of both Harzilein_ and econnell's quotes
[2012/02/22 13:08:18] <shiruken> econnell: thank you
[2012/02/22 13:09:23] @ Harzilein_ is now known as Harzilein
[2012/02/22 13:10:11] @ Quit: sdog: Quit: Leaving.
[2012/02/22 13:12:30] @ Quit: zachc: Quit: leaving
[2012/02/22 13:13:15] @ Quit: shell0x_: Quit: Computer has gone to sleep.
[2012/02/22 13:16:50] @ Quit: labrown: Quit: Leaving
[2012/02/22 13:17:58] @ Quit: rhaen: Ping timeout: 248 seconds
[2012/02/22 13:18:03] @ rhaen joined channel #puppet
[2012/02/22 13:18:35] <Harzilein> realist: it's on softpanorama so it might not be original content of the site owner and it just uses that "i"
[2012/02/22 13:20:55] @ sduchesneau joined channel #puppet
[2012/02/22 13:21:08] <ranamalo> i wrote a custom fact as a bash script. I put it in /etc/puppet/modules/custom/lib/facter i see it get transfered to the client, but when i run facter on the client it doesn't show up. is there anything else i need to do?
[2012/02/22 13:21:43] @ johnston joined channel #puppet
[2012/02/22 13:21:53] <joe-mac> facter -p, and , facts are in ruby so idk what you mean reall
[2012/02/22 13:21:55] <joe-mac> y
[2012/02/22 13:23:23] @ Quit: ckauhaus: Ping timeout: 245 seconds
[2012/02/22 13:23:29] <ranamalo> joe-mac: so I can't write facts in anything but ruby?
[2012/02/22 13:23:31] @ motomike joined channel #puppet
[2012/02/22 13:23:50] @ eedri joined channel #puppet
[2012/02/22 13:24:01] <joe-mac> ranamalo: correct, but you can execute shell commands in ruby in various ways
[2012/02/22 13:24:10] <joe-mac> system(), %x{}, ``
[2012/02/22 13:24:53] <econnell> man... i was excited about bash facter scripts for a second... then my hopes and dreams were crushed and destroyed :(
[2012/02/22 13:25:42] <joe-mac> seriously if that excites you, your life must be pretty boring
[2012/02/22 13:25:48] <joe-mac> ruby should fucking excite you
[2012/02/22 13:25:53] @ Quit: bwong: Ping timeout: 245 seconds
[2012/02/22 13:25:58] <joe-mac> it should make you so maniacally happy that you start slapping people
[2012/02/22 13:26:16] <econnell> ruby makes me want to invent StabSomeoneInTheFaceOverIP
[2012/02/22 13:26:18] @ labrown joined channel #puppet
[2012/02/22 13:26:21] @ Ebron joined channel #puppet
[2012/02/22 13:26:33] <econnell> i think i'd be rich and famous if i could make that work
[2012/02/22 13:26:36] <greenman> ruby isn't that bad...
[2012/02/22 13:26:39] @ Quit: sduchesneau: Ping timeout: 240 seconds
[2012/02/22 13:27:08] <joe-mac> isn't that bad? it's the most expressive OOP language yet done, and incorporates the useful stuff from functional land without making it obtuse
[2012/02/22 13:27:08] @ q0rban is now known as q-rban
[2012/02/22 13:27:10] <greenman> econnell: Yeah, first person to invent SOIP is gonna have tons of money (Slap Over IP)
[2012/02/22 13:27:16] @ Quit: zooz: Quit: Leaving IRC
[2012/02/22 13:28:11] <ranamalo> joe-mac: do you think ruby is better than python?
[2012/02/22 13:28:12] @ Hachya joined channel #puppet
[2012/02/22 13:28:19] @ Quit: nottings: Remote host closed the connection
[2012/02/22 13:29:07] <joe-mac> yes, python almost got there, but ruby got there
[2012/02/22 13:29:14] <dkr> my python has ruby eyes and perly teeth
[2012/02/22 13:29:54] @ Quit: iksik: Changing host
[2012/02/22 13:29:54] @ iksik joined channel #puppet
[2012/02/22 13:29:58] <jhulten> ranamalo: Python is great until you start to look at the object underpinnings for creating things like method_missing
[2012/02/22 13:29:59] <whack> econnell: there are plugins to make custom facts in any language
[2012/02/22 13:30:19] <whack> econnell: I forget the name, but it lets you put facter scripts in /etc/facter.d/<name> which run and emit a value for that fact.
[2012/02/22 13:30:22] <linsys> Is there a best practice for how to define relationships using the new relationship model? For instance do you create a relationships.pp in manifests or do you define them in each puppet module?
[2012/02/22 13:30:28] <econnell> i'm going to puppet master here in denver in a couple weeks... i'm sure they'll answer all of my questions
[2012/02/22 13:30:32] @ st33v joined channel #puppet
[2012/02/22 13:30:52] <ranamalo> whack: do you have a link to a howto for that?
[2012/02/22 13:30:55] @ plasmonyc_ left channel #puppet ()
[2012/02/22 13:31:08] <ranamalo> whack: i thought I read something about that before
[2012/02/22 13:31:17] <joe-mac> check out the pupeptlabs github
[2012/02/22 13:31:22] <joe-mac> it has the facts.d thing I think
[2012/02/22 13:31:24] <whack> ranamalo: http://www.devco.net/archives/2011/06/29/facter_facts_from_txt_json_yaml_and_non_ruby_scripts.php
[2012/02/22 13:31:30] @ Quit: ezryx: Remote host closed the connection
[2012/02/22 13:34:23] @ Quit: Ori_P: Quit: Computer has gone to sleep.
[2012/02/22 13:34:59] @ nottings joined channel #puppet
[2012/02/22 13:34:59] @ nottings_ joined channel #puppet
[2012/02/22 13:35:04] @ Quit: nottings_: Client Quit
[2012/02/22 13:35:20] @ Quit: arBmind: Ping timeout: 272 seconds
[2012/02/22 13:36:17] @ Quit: d19113: Ping timeout: 245 seconds
[2012/02/22 13:38:02] @ q-rban is now known as q0rban
[2012/02/22 13:38:38] @ spiette joined channel #puppet
[2012/02/22 13:40:05] @ Quit: labrown: Remote host closed the connection
[2012/02/22 13:41:21] @ labrown joined channel #puppet
[2012/02/22 13:45:52] @ Quit: wilmoore: Ping timeout: 252 seconds
[2012/02/22 13:45:55] @ Quit: fronlius: Quit: fronlius
[2012/02/22 13:46:18] @ Bass10 joined channel #puppet
[2012/02/22 13:47:06] @ Quit: Bass10: Max SendQ exceeded
[2012/02/22 13:47:32] @ Bass10 joined channel #puppet
[2012/02/22 13:47:47] @ KaiserBeto joined channel #puppet
[2012/02/22 13:50:01] @ Hachya left channel #puppet ("Leaving")
[2012/02/22 13:51:53] @ Quit: i0n: Quit: Lost terminal
[2012/02/22 13:52:08] @ mgw left channel #puppet ()
[2012/02/22 13:53:28] <ryancoleman> whack: As joe-mac mentioned, it's now living in the puppetlabs-stdlib module on github: https://github.com/puppetlabs/puppetlabs-stdlib/blob/master/lib/facter/facter_dot_d.rb
[2012/02/22 13:53:31] @ jpreyer_ joined channel #puppet
[2012/02/22 13:53:47] <whack> ryancoleman: ahha
[2012/02/22 13:54:12] @ jpreyer_ is now known as jpreyer
[2012/02/22 13:56:16] @ sduchesneau joined channel #puppet
[2012/02/22 13:56:32] @ Quit: samkottler: Remote host closed the connection
[2012/02/22 13:58:33] <the_ramink> linsys: I usually specify the relationship between subclasses in the init.pp. Within a subclass like apache::install I'll set relationships that exist only in the subclass there. Basically keeping the relationships with the class that includes or defines the resources.
[2012/02/22 13:58:48] @ d19113 joined channel #puppet
[2012/02/22 13:58:50] @ Quit: ken_barber: Quit: Leaving.
[2012/02/22 14:01:32] @ bmahe joined channel #puppet
[2012/02/22 14:01:33] @ Quit: bmahe: Changing host
[2012/02/22 14:01:33] @ bmahe joined channel #puppet
[2012/02/22 14:02:06] @ stkrzysiak_ joined channel #puppet
[2012/02/22 14:02:23] @ Quit: stkrzysiak: Read error: Connection reset by peer
[2012/02/22 14:02:23] @ stkrzysiak_ is now known as stkrzysiak
[2012/02/22 14:02:48] @ pbuckley joined channel #puppet
[2012/02/22 14:03:06] @ alanevans joined channel #puppet
[2012/02/22 14:03:17] @ samkottler joined channel #puppet
[2012/02/22 14:03:26] @ Ori_P joined channel #puppet
[2012/02/22 14:05:26] @ Quit: conner: Ping timeout: 248 seconds
[2012/02/22 14:07:40] @ Quit: Ori_P: Client Quit
[2012/02/22 14:07:44] @ Quit: mdirkse: Quit: Leaving
[2012/02/22 14:08:58] @ dieterdemeyer joined channel #puppet
[2012/02/22 14:12:04] @ Ori_P joined channel #puppet
[2012/02/22 14:13:56] @ ckleban joined channel #puppet
[2012/02/22 14:15:13] @ Quit: IndyMichaelB: Quit: IndyMichaelB
[2012/02/22 14:16:26] @ Quit: _moses_: Ping timeout: 260 seconds
[2012/02/22 14:16:42] @ Quit: jiboumans_: Quit: jiboumans_
[2012/02/22 14:16:46] <etank> does anyone know if there is a plan to release a new edition of Pro Puppet soon? i know that the current edition is only 8 months old or so but wanted to see if there was something coming out before i make a purchase.
[2012/02/22 14:18:37] @ Quit: w3lly: Quit: Leaving.
[2012/02/22 14:18:54] @ conner joined channel #puppet
[2012/02/22 14:20:48] <cwebber> etank: given the release cycle of those things I would guess that it will be a while
[2012/02/22 14:20:53] <cwebber> great book
[2012/02/22 14:21:11] <etank> sweet
[2012/02/22 14:21:28] <etank> work just agreed to buy a copy for me so that is good news
[2012/02/22 14:21:42] @ Quit: tecto: Read error: No route to host
[2012/02/22 14:21:44] <cwebber> that is always nice
[2012/02/22 14:22:16] @ bkdem joined channel #puppet
[2012/02/22 14:22:30] @ Quit: stkrzysiak: Ping timeout: 248 seconds
[2012/02/22 14:23:04] @ Quit: dieterdemeyer: Quit: Leaving
[2012/02/22 14:23:09] @ bkdem is now known as dieterdemeyer
[2012/02/22 14:23:53] @ Quit: kerframil: Ping timeout: 252 seconds
[2012/02/22 14:25:19] @ cdracars_ joined channel #puppet
[2012/02/22 14:25:19] @ Quit: cdracars_: Client Quit
[2012/02/22 14:25:31] @ shell0x_ joined channel #puppet
[2012/02/22 14:25:31] @ zaytsev joined channel #puppet
[2012/02/22 14:26:25] <zaytsev> hi folks. is anyone having trouble with tmz packages on fc16? somehow puppet agent seems to work fine when invoked from comand line with --test --debug, but complains in the logs if started as service
[2012/02/22 14:26:36] @ dieterdemeyer left channel #puppet ()
[2012/02/22 14:26:39] @ Quit: cruzfox: Quit: cruzfox
[2012/02/22 14:26:47] @ dieterdemeyer joined channel #puppet
[2012/02/22 14:26:54] <zaytsev> i.e. like Feb 22 17:14:56 fc-16-i386-1 puppet-agent[796]: Failed to apply catalog: Could not find a default provider for package
[2012/02/22 14:26:57] @ dieterdemeyer left channel #puppet ()
[2012/02/22 14:27:13] @ cruzfox joined channel #puppet
[2012/02/22 14:27:31] @ Quit: diq: Quit: Leaving
[2012/02/22 14:27:50] <tmz> zaytsev: These are the stock fedora packages there?
[2012/02/22 14:28:17] <zaytsev> tmz: stock fc16 packages suck even more :-(
[2012/02/22 14:28:58] @ Quit: cdracars: Ping timeout: 244 seconds
[2012/02/22 14:29:08] @ stkrzysiak joined channel #puppet
[2012/02/22 14:29:16] <zaytsev> tmz: basically I used to deploy your fc15 packages from your people repo, because the 0.25 ones that they used to ship didn't even work with my 2.7.x master
[2012/02/22 14:29:23] @ larstobi joined channel #puppet
[2012/02/22 14:30:10] <tmz> zaytsev: Huh? 0.25.x shouldn't have ever been in f15 or f16, I don't think. Maybe I'm crazy. But at this point, they're all on 2.6.13.
[2012/02/22 14:30:17] <zaytsev> tmz: now I'm provisioning fc16 buildhosts and I was hoping I could use stock packages, but they wouldn't even connect to the master for some stupid reason (can't resolve hostname, which resolves perfectly)
[2012/02/22 14:30:36] <zaytsev> tmz: so I went for the lastest I could find in your people repo
[2012/02/22 14:30:36] @ bkdem joined channel #puppet
[2012/02/22 14:30:42] @ diq joined channel #puppet
[2012/02/22 14:30:50] @ jiboumans_ joined channel #puppet
[2012/02/22 14:30:58] <tmz> My repo is not the latest by any means these days. What's in fedora/epel is newer.
[2012/02/22 14:31:14] <tmz> I don't maintain both, it's just extra work for no gain.
[2012/02/22 14:31:52] <tmz> yum.puppetlabs.com may have 2.7 packages for fedora, but I'm not sure. If not, the packages there should easily rebuild for fedora.
[2012/02/22 14:32:24] <zaytsev> tmz: oh, I can't even find puppet in here: http://ftp.halifax.rwth-aachen.de/fedora/linux/releases/15/Fedora/x86_64/os/Packages/
[2012/02/22 14:32:44] <zaytsev> tmz: ah, maybe they are in everything
[2012/02/22 14:33:05] <zaytsev> tmz: puppet-0.25.5-2.fc15.src.rpm 12-Feb-2011 06:00
[2012/02/22 14:33:12] <zaytsev> tmz: http://ftp.halifax.rwth-aachen.de/fedora/linux/releases/15/Everything/source/SRPMS/
[2012/02/22 14:33:30] @ cdracars joined channel #puppet
[2012/02/22 14:33:48] <tmz> You want updates.
[2012/02/22 14:34:01] <tmz> 2.6.13 is there.
[2012/02/22 14:34:09] @ Quit: the_ramink: Ping timeout: 240 seconds
[2012/02/22 14:34:24] @ loganspencer joined channel #puppet
[2012/02/22 14:34:52] <zaytsev> tmz: you are right. well, you also have 2.6.13 in your people repo
[2012/02/22 14:35:09] <tmz> But that's older than what's in fedora.
[2012/02/22 14:35:18] @ Quit: Holocaine:
[2012/02/22 14:35:46] <bkdem> exit
[2012/02/22 14:35:50] <zaytsev> tmz: not according to the version number :-) so what do you recomend? use puppetlabs packages?
[2012/02/22 14:35:52] @ Quit: bkdem: Quit: leaving
[2012/02/22 14:35:57] <tmz> I would advise you to use the latest in fedora and epel over my fedorapeople repo. Until I start planning an update, I have no plans to update the fedorapeople repo.
[2012/02/22 14:36:05] @ Quit: astrostl:
[2012/02/22 14:36:05] @ Quit: Ori_P: Quit: Computer has gone to sleep.
[2012/02/22 14:36:13] <zaytsev> tmz: of course I can rebuild everything myself, I just don't want to if I don't have to
[2012/02/22 14:36:17] <tmz> If you're looking for the very latest stable, then yeah, the puppetlabs repo covers that.
[2012/02/22 14:36:41] <zaytsev> tmz: well, I would love to use what's shipped with fedora, except that it's broken
[2012/02/22 14:36:54] <tmz> Even 2.6.13?
[2012/02/22 14:36:59] <zaytsev> tmz: let me try puppetlabs then and see if my problems go away
[2012/02/22 14:37:50] <zaytsev> tmz: yes :-( it wouldn't connect to th master claiming that it can't resolve the hostname (and I double checked that everything should be fine). not even from the commandline. your people packages at least can do that.
[2012/02/22 14:38:03] <tmz> If the 2.6.13 packages don't talk to a 2.7.x master, something's wrong.
[2012/02/22 14:38:27] <nate_h> anyone got an aptitude sources type?
[2012/02/22 14:38:27] <tmz> Well, try the puppetlabs 2.7 packages and see. I've had no similar reports in fedora or epel bugzilla.
[2012/02/22 14:38:43] @ Ori_P joined channel #puppet
[2012/02/22 14:38:55] @ dieterdemeyer joined channel #puppet
[2012/02/22 14:38:56] <zaytsev> tmz: but then I have this other problem that they are not applying catalog updates when running as daemon and commandline works fine
[2012/02/22 14:39:01] <tmz> And we're not patching the code to hell and back, so I am pretty confident it's not a bug in any patches we apply.
[2012/02/22 14:39:04] <zaytsev> tmz: ok thanks I will try that out
[2012/02/22 14:39:46] <tmz> Good luck. Sorry you hit these snags.
[2012/02/22 14:40:14] @ mgw joined channel #puppet
[2012/02/22 14:40:28] <mgw> anybody have suggestions on how to create python lib for hiera?
[2012/02/22 14:43:07] <gabrtv> mgw: i'm using python with hiera
[2012/02/22 14:43:14] <gabrtv> what are you looking to do?
[2012/02/22 14:43:58] @ tweek1 joined channel #puppet
[2012/02/22 14:44:26] @ sdog joined channel #puppet
[2012/02/22 14:44:52] <nate_h> gabrtv, do you just do system calls within your python?
[2012/02/22 14:45:50] <gabrtv> i do a lot more than system calls.. in this particular case i'm seeding hiera data using python/json
[2012/02/22 14:45:56] <zaytsev> tmz: wtf is that puppet-agent[757]: Could not retrieve catalog from remote server: getaddrinfo: Name or service not known
[2012/02/22 14:46:09] <zaytsev> tmz: this is puppet 2.7.9 from puppetlabs
[2012/02/22 14:46:43] <zaytsev> tmz: so then it tries to use cached catalog from 2.6.13 and... Failed to apply catalog: Could not autoload package: Could not autoload /usr/lib/ruby/site_ruby/1.8/puppet/provider/package/urpmi.rb: No child processes
[2012/02/22 14:46:47] @ nitram_macair joined channel #puppet
[2012/02/22 14:46:53] <tmz> zaytsev: You're sure there's no dns problems in your setup?
[2012/02/22 14:47:03] @ ZummiG777 joined channel #puppet
[2012/02/22 14:47:21] <zaytsev> tmz: are you actually using puppet, if yes, which version?
[2012/02/22 14:47:32] <ZummiG777> Question: Is there a way to turn off notifications if there were not any changes on a host? We are getting mails with the body just being the runtime.
[2012/02/22 14:47:59] <tmz> zaytsev: I use the latest from epel/fedora. I mostly use epel though.
[2012/02/22 14:48:04] <zaytsev> tmz: I am sure. my puppetmaster is called puppet. I can host puppet, I can ping puppet, why would there be any problem?
[2012/02/22 14:48:44] <tmz> zaytsev: I don't know, but getaddrinfo failing usually means something is wrong at a low-level with dns lookups.
[2012/02/22 14:49:09] @ Quit: rcrowley_: Quit: Computer has gone to sleep.
[2012/02/22 14:49:18] <zaytsev> tmz: yeah, on rhel I am using my own 2.7.9 packges and it works fine, but I need fedora for buildhosts... it's a virtualization setup, kvm guests, dns is provided by dnsmasq bundled with the whole thing
[2012/02/22 14:49:37] @ focus_OT_target joined channel #puppet
[2012/02/22 14:49:41] @ ShootOnEye joined channel #puppet
[2012/02/22 14:50:09] @ the_ramink joined channel #puppet
[2012/02/22 14:50:10] <zaytsev> tmz: is there any way I can diagnose that? why normal lookups work? could this be selinux related?
[2012/02/22 14:51:04] <tmz> zaytsev: you never know. For selinux, it's easy enough to make it permissive and see if it changes. Otherwise, tcpdump or something might help find the cause.
[2012/02/22 14:51:11] @ rcrowley_ joined channel #puppet
[2012/02/22 14:51:22] @ ShootOnEye left channel #puppet ()
[2012/02/22 14:51:30] @ focus_OT_target left channel #puppet ()
[2012/02/22 14:51:46] <tmz> I tested some f15 stuff the other day and didn't notice any trouble, but maybe I didn't let the agent run long enough. Most of my testing was using puppet agent -tv there.
[2012/02/22 14:52:30] <zaytsev> tmz: ok what the hell, let me disable selinux in kickstarts and re-create the hosts
[2012/02/22 14:52:49] @ astrostl joined channel #puppet
[2012/02/22 14:53:13] <gabrtv> zaytsev: you can also strace the command to find the syscall and arguments being passed
[2012/02/22 14:53:32] <tmz> Isn't it quicker to just make it permissive? That's not always enough, but it's rare that you have trouble in permissive and not with it disable.
[2012/02/22 14:53:36] <joe-mac> stracing ruby is almost always useless
[2012/02/22 14:53:50] <joe-mac> if you really want selinux, turn on permissive mode and install setroubleshootd
[2012/02/22 14:53:56] <joe-mac> generate a module from what that outputs about the process
[2012/02/22 14:54:21] @ _moses_ joined channel #puppet
[2012/02/22 14:54:29] <zaytsev> tmz: well, if you remember I have spent weeks pinging Miroslav to make 2.7.x work on RHEL
[2012/02/22 14:55:00] <tmz> Yeah. selinux and puppet are often at odds.
[2012/02/22 14:55:06] <zaytsev> tmz: not really :-) takes about the same time to provision a new host, then I can also test if it can send a signing request to the server
[2012/02/22 14:55:19] <tmz> This one would seem like an odd thing for selinux to cause, but you never know.
[2012/02/22 14:56:37] <joe-mac> running selinux with puppet and ensuring your manifests are selinux compatible is no joke
[2012/02/22 14:56:40] <joe-mac> that's a serious endeavor
[2012/02/22 14:59:38] <zaytsev> joe-mac: well, man, life is never too easy, I know that. I actually have it working on RHEL, so I was re-using the same kickstarts for buildhosts, which obviousely don't need this grade of protection
[2012/02/22 15:00:19] @ spicyWith joined channel #puppet
[2012/02/22 15:00:30] <joe-mac> zaytsev: well, there's a line between not easy and takes you months to ensure all your code is DTRTing
[2012/02/22 15:00:35] <joe-mac> depends on how much code you have
[2012/02/22 15:00:58] <zaytsev> joe-mac: it's just a ci infra, not much :-)
[2012/02/22 15:01:08] @ Quit: astrostl:
[2012/02/22 15:02:01] @ Quit: xeor: Remote host closed the connection
[2012/02/22 15:02:21] @ xeor joined channel #puppet
[2012/02/22 15:03:06] @ astrostl joined channel #puppet
[2012/02/22 15:04:40] @ Quit: cruzfox: Quit: cruzfox
[2012/02/22 15:06:36] @ kerframil joined channel #puppet
[2012/02/22 15:07:09] @ dieterdemeyer left channel #puppet ()
[2012/02/22 15:07:37] @ hooper_ joined channel #puppet
[2012/02/22 15:07:46] @ Quit: astrostl: Client Quit
[2012/02/22 15:09:37] <mgw> gabrtv: I have a hiera data set that I'm using within puppet
[2012/02/22 15:09:47] <mgw> I want to use the same data set within a python script
[2012/02/22 15:09:48] @ Quit: Niarf: Read error: Operation timed out
[2012/02/22 15:10:15] @ dieterdemeyer joined channel #puppet
[2012/02/22 15:10:27] @ Quit: aheritier: Quit: aheritier
[2012/02/22 15:10:51] @ Quit: Bass10: Quit: Leaving
[2012/02/22 15:11:04] <gabrtv> mgw: i'm doing the same thing.. i just use the json backend.. you could also use the yaml backend.. using the puppet backend would be better done in ruby
[2012/02/22 15:11:23] <mgw> I'm using the yaml backend
[2012/02/22 15:11:37] <mgw> to do data lookups from within puppet
[2012/02/22 15:11:55] <mgw> But what do you use to access the hiera data set? system calls to the hiera executable?
[2012/02/22 15:12:49] <gabrtv> mgw: why don't you just read the yaml file in python?
[2012/02/22 15:12:59] <gabrtv> python -c 'import yaml;with open('my.yml') as f: data=f.read();y=yaml.safe_load(data);print y'
[2012/02/22 15:13:19] <mgw> gabrtv: can I merge them based on the hierarchy?
[2012/02/22 15:13:28] <mgw> In a way consistent with hiera
[2012/02/22 15:13:47] @ Quit: JayTaph: Read error: Operation timed out
[2012/02/22 15:13:57] <gabrtv> you may be better off parsing hiera cmdline for that
[2012/02/22 15:14:07] <mgw> ok, i'll try that
[2012/02/22 15:14:08] <mgw> ty
[2012/02/22 15:15:10] <zaytsev> tmz: and guess what, without selinux it works perfectly
[2012/02/22 15:15:17] @ Quit: rgsteele: Quit: ChatZilla 0.9.86.1 [Firefox 3.0.7/2009030423]
[2012/02/22 15:15:29] @ JayTaph joined channel #puppet
[2012/02/22 15:16:19] <zaytsev> joe-mac: and it's not about manifests, ok? it's just that the rules are once again outdated and probably are forbiding the lookups etc.
[2012/02/22 15:16:51] @ astrostl joined channel #puppet
[2012/02/22 15:19:10] <zaytsev> tmz: ok I'm rebuilding the two other hosts and going home... shall I report a bug of some kind? there must be a lot of outdated stuff, so it will take time to collect the violations. can I suppose that Miroslav or whomever else can do that if I only report that it's broken or I should also collect the violations?
[2012/02/22 15:19:26] @ Quit: social: Ping timeout: 260 seconds
[2012/02/22 15:19:38] @ Quit: pbuckley: Read error: Connection reset by peer
[2012/02/22 15:19:50] <joe-mac> zaytsev: same fix whether it's in your manifests or not. run setroubleshootd and then semodule
[2012/02/22 15:22:56] @ duerF joined channel #puppet
[2012/02/22 15:24:35] <tmz> zaytsev: I'm sure they're like any other maintainers in that they'd prefer to get a report with the details. ausearch makes it pretty easy to grab AVC messages from the audit logs, else grep from /var/log/messages if you don't have audit installed.
[2012/02/22 15:25:01] <tmz> Neat that this one is selinux too. Clearly, not many folks running puppet also leave selinux enabled.
[2012/02/22 15:25:49] <zaytsev> tmz: ok, I'll try to provision a guest just to collect the logs, one day :-/ yep, it doesn't seem to be a very popular use case
[2012/02/22 15:25:53] @ datenzecke joined channel #puppet
[2012/02/22 15:26:21] <tmz> zaytsev: Thanks for testing. Sorry you hit this.
[2012/02/22 15:26:38] <datenzecke> Hi all. I got a question regarding a best practice to handle resources shared across modules.
[2012/02/22 15:26:38] <datenzecke> Well, the answer seems clear. Outsource such stuff into a separate module... BUT: I don't feel comfortable with this right now because it makes modules less exchangeable or even unusable for others.
[2012/02/22 15:26:43] @ Quit: nated: Ping timeout: 245 seconds
[2012/02/22 15:26:52] <datenzecke> It seems that everyone got his own "repos"/"yum" or "sysctl" module. All slightly different but with the same name. E.g. one module depends on "yum" by PuppetLabs, another one on "yum" from Immerda.ch. Same for sysctl or gsetting/gconf. I don't want to do the same by writing my own "sysctl" or "yum" for my modules. How do you guys manage this problem? Any recommendations?
[2012/02/22 15:27:11] <zaytsev> tmz: on a positive note I see they somehow fixed ks= parameter so that I it takes into the account the DHCP domain when resolving the DNS in FC16, so I can write http://puppet/ instead of http://puppet.yadadi.yadada.foo.bar/ which makes me happy
[2012/02/22 15:27:28] <datenzecke> *Example:* I want to write a module for Avidemux on Fedora. Avidemux is not in the main repositories but in RPM Fusion Free. So I got to add some code to get RPM Fusion running. No problem so far. But what do I do when another module need RPM Fusion? Write an own "yum" module containing a "rpmfusion.pp"? Meh. The only solutions I see
[2012/02/22 15:27:36] <datenzecke> a) More redundancy. E.g. copy & paste exec{sysctl} snippets instead of writing a "sysctl" module. Maintaining these snippets may be PITA but ugly module dependencies seem to be worse.
[2012/02/22 15:27:43] <datenzecke> b) Use fine-grained modules and specific names for shared module resources. "yum_repo_rpmfusion" and "yum_repo_epel" instead of "repos" or "yum" containing all the stuff.
[2012/02/22 15:27:51] @ zachary joined channel #puppet
[2012/02/22 15:28:18] @ zachary is now known as Guest70101
[2012/02/22 15:28:20] <datenzecke> or did I miss something? Especially for yum/apt repositories and sysctl?
[2012/02/22 15:28:23] @ Quit: _moses_: Ping timeout: 244 seconds
[2012/02/22 15:29:29] <aricg> datenzecke, just have a require => repo::rpmfusion for any package that requires it
[2012/02/22 15:29:35] @ Quit: bmahe: Ping timeout: 240 seconds
[2012/02/22 15:29:37] <aricg> or thats what I did.
[2012/02/22 15:31:23] @ Quit: rsnhyperion: Remote host closed the connection
[2012/02/22 15:31:41] @ rsnhyperion joined channel #puppet
[2012/02/22 15:32:07] <linsys> Hi, currently I am using cucumber-puppet and have written some tests and added them to policy.feature, but what I would like is to make sure when I run cucumber-puppet features/catalog/policy.feature that each module is checked for something like ~/modules/module_name/tests/module_name.feature
[2012/02/22 15:32:14] @ Quit: brd: Read error: Connection reset by peer
[2012/02/22 15:32:15] <datenzecke> aricg: yeah... but then everything depends on this "repo" module. And it seems that everyone got such a "repo" module, making everything incompatible regarding third parties (e.g. if I write my own "repo" module, I propably could not use your module depending on your "repo" module).
[2012/02/22 15:32:21] @ brd joined channel #puppet
[2012/02/22 15:32:44] <linsys> is that even possible?
[2012/02/22 15:32:59] <datenzecke> articg: therefore I think about if some code redundancy would be better...
[2012/02/22 15:33:36] <datenzecke> or something I did not think about :-P
[2012/02/22 15:33:37] @ Quit: localhost: Remote host closed the connection
[2012/02/22 15:34:05] <aricg> imo its as much a problem with needing EPEL to make centos useful as it is with puppet needing more providers
[2012/02/22 15:34:48] <aricg> "needing EPEL" meaning, needing to shim in all these extra repos
[2012/02/22 15:34:50] @ localhost joined channel #puppet
[2012/02/22 15:36:06] <aricg> writing a quick class, even if 100 people before have already written it, is still going to save me time in the long run
[2012/02/22 15:36:22] <datenzecke> arcig: yes, you're right. That is why I'm asking for experience of others, how they managed this problem.
[2012/02/22 15:36:29] <aricg> that said, its the kindof thing that would make a great example class when you install puppet.
[2012/02/22 15:36:55] <datenzecke> aricg: yes, true. But it makes everything dependend on this class.
[2012/02/22 15:37:29] <aricg> your program already depends on the additional repo, so its not adding complexity
[2012/02/22 15:38:54] <datenzecke> aricg: but my module should encapsulate this, I think. means: avidemux/manifests/repo.pp with something like exec { yum -y -q install --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm } instead of class {'repo': yadda yadda rpmfusion } as content.
[2012/02/22 15:39:28] @ ezmobius is now known as ezmobius|zoning
[2012/02/22 15:40:01] <datenzecke> the problem I have is to decide when to use redundant inline snippets and when to use shared modules as some kind of lib. Where is"limit" to use the first or the latter.
[2012/02/22 15:40:13] @ cruzfox joined channel #puppet
[2012/02/22 15:40:28] @ KaiserBeto1 joined channel #puppet
[2012/02/22 15:40:32] @ Quit: KaiserBeto: Ping timeout: 276 seconds
[2012/02/22 15:41:03] @ `mx_ is now known as `mx
[2012/02/22 15:41:31] <aricg> well your exec needs an onlyif => "something to test if the repo is present"
[2012/02/22 15:42:00] <aricg> that said, writing a repo class and using it as a library of sorts is very reusable
[2012/02/22 15:42:11] <aricg> and then you only have to go to one place if you find a better repo
[2012/02/22 15:42:25] <datenzecke> aricg: for sure.. this was just an example to show what i mean.
[2012/02/22 15:43:09] <datenzecke> Ok... your experience is that using central "repo" and "sysctl" or "download" modules creating ugly dependencies for others is the lesser evil than code redundancy?
[2012/02/22 15:43:18] @ Quit: car|0s: Read error: Connection reset by peer
[2012/02/22 15:43:30] <d19113> Cant get puppet enterprise to see java 1.7, this is with RHEL 5. Get a error message about a failed dependency on java >= 1.5.0 pe-tanukiwrapper
[2012/02/22 15:43:34] @ Quit: axisys: Read error: Connection reset by peer
[2012/02/22 15:43:50] <aricg> for me extra_repos::$reponame has been one of the most useful classes.
[2012/02/22 15:44:02] @ axisys joined channel #puppet
[2012/02/22 15:44:07] @ Quit: Ori_P: Quit: Textual IRC Client: http://www.textualapp.com/
[2012/02/22 15:44:09] <d19113> java-version =1.7.0_03
[2012/02/22 15:44:21] <aricg> but we are all managing wildly different infrastructures.
[2012/02/22 15:44:59] <joe-mac> d19113: do you have the java RPM installed, or did you install java via source
[2012/02/22 15:45:30] <datenzecke> aricg: yeah... but I fear about the namespace conflicts. E.g. I can't share my private module e.g. with my employee if he got the same "repo" module. Therefore I though about a *module* for every extra repo instead of a manifest within a central "repo" module.
[2012/02/22 15:45:32] @ Quit: eedri: Read error: Operation timed out
[2012/02/22 15:46:24] <d19113> done by rpm -qa | grep jdk =jdk-1.7.0_03-fcs
[2012/02/22 15:46:36] <datenzecke> aricg: or is this a dumb idea? I mean "yum_repo_epel", "yum_repo_rpmfusion" [...] modules instead of "repos" with $reponame manifests.
[2012/02/22 15:46:46] <d19113> rpm -qa | grep jre =jre=1.7.0-fcs
[2012/02/22 15:47:03] @ Quit: motomike: Remote host closed the connection
[2012/02/22 15:47:39] <datenzecke> aricg: less maintainable but fine-grained with relatively unique names making naming conflicts less likely.
[2012/02/22 15:47:49] @ verwilst joined channel #puppet
[2012/02/22 15:47:55] @ motomike joined channel #puppet
[2012/02/22 15:49:21] @ danblack joined channel #puppet
[2012/02/22 15:49:36] @ Quit: |Majestic|: Ping timeout: 272 seconds
[2012/02/22 15:50:28] @ Quit: Ebron: Quit: leaving
[2012/02/22 15:50:40] @ |Majestic| joined channel #puppet
[2012/02/22 15:50:47] <datenzecke> aricg: Ok. Let's say I'm going to create "extra_repos". What other shared modules have proven themselves? I plan to create a module each for sysctl, extract and download archives, add repositories and gconf/gsettings. Bad idea? Overkill compared to inline exec{} (-> eg. when looking at gconf)?
[2012/02/22 15:50:56] <joe-mac> d19113: file a bug with puppetlabs then, that is pulled in front fedora I assume they haevn't tested for that use case
[2012/02/22 15:51:15] @ pbuckley joined channel #puppet
[2012/02/22 15:51:39] <d19113> @joe-mac. downgrade java?
[2012/02/22 15:51:58] @ Quit: shell0x_: Quit: Computer has gone to sleep.
[2012/02/22 15:52:17] <joe-mac> d19113: you could try the rpm's from oracle
[2012/02/22 15:52:51] <Dominic> those look like the Oracle RPMs to me
[2012/02/22 15:52:55] @ themadcanudist joined channel #puppet
[2012/02/22 15:53:04] @ _moses_ joined channel #puppet
[2012/02/22 15:53:20] <joe-mac> I thought 'fcs' was fedora
[2012/02/22 15:53:38] <joe-mac> last time I used el I recall the oracle rpm's being 1.5, but it's been a while
[2012/02/22 15:53:52] <themadcanudist> hey guys. I'm trying to "do something" to parse puppet manifests and output *specifically* the variables in a JSON/YAML format. I can get YAML output of classes/resources on the client… BUT this is POST resolving everything… There are no variables.
[2012/02/22 15:53:56] <Dominic> Fedora would be .fc16 etc, Oracle seems to use the "fcs" release tag
[2012/02/22 15:54:19] <themadcanudist> I'd like to parse puppet manifests and ignore all the resources and just output the variables-hashes-arrays as a YAML/JSON or whatever format.
[2012/02/22 15:54:56] <themadcanudist> is there something or someone out there that may be able to point me in a direction?
[2012/02/22 15:55:01] <Volcane> themadcanudist: do u want to do it while compiling a catalog and ut it on the node or just from the cli or something?
[2012/02/22 15:55:21] <aricg> datenzecke, look into augeas for sysctl
[2012/02/22 15:55:34] <d19113> pulled rpm's from Oracle
[2012/02/22 15:55:36] <themadcanudist> on the puppetmaster… i just want to "almost compile" a manifest and output any variables that might appear.
[2012/02/22 15:55:40] <themadcanudist> cli is fine.
[2012/02/22 15:56:10] @ Quit: q0rban: Quit: Leaving...
[2012/02/22 15:56:26] <Volcane> themadcanudist: scope.to_hash in a fuction or template will give you access to it
[2012/02/22 15:56:32] @ q0rban joined channel #puppet
[2012/02/22 15:57:32] <datenzecke> themadcanudist: content => inline_template('<%= scope.to_hash.reject { |k,v| k.to_s =~ /(uptime.*|path|timestamp|free|.*password.*|.*psk.*|.*key)/ }.sort.map { |k,v| "#{k}: #{v.inspect}"}.join("\n") + "\n" %>') may help...
[2012/02/22 15:58:24] <datenzecke> I'm using it for debugging... Please note that variable names matching the pattern /(uptime.*|path|timestamp|free|.*password.*|.*psk.*|.*key)/ are excluded for security reasons. you may change this, for sure...
[2012/02/22 15:58:29] <themadcanudist> yeah
[2012/02/22 15:58:30] <themadcanudist> ok
[2012/02/22 15:58:32] <themadcanudist> that's a start
[2012/02/22 15:58:40] <themadcanudist> however, i want to do that without modifying the manifests
[2012/02/22 15:58:43] <themadcanudist> =D
[2012/02/22 15:58:55] <aricg> datenzecke, gconf.. you are managing desktops?
[2012/02/22 15:59:09] <datenzecke> aricg: yes...
[2012/02/22 15:59:48] @ zaytsev left channel #puppet ()
[2012/02/22 16:00:37] @ Quit: newtMcKerr: Quit: Leaving.
[2012/02/22 16:00:41] @ Quit: danikov: Ping timeout: 252 seconds
[2012/02/22 16:01:32] @ Niarf joined channel #puppet
[2012/02/22 16:02:52] <datenzecke> aricg: "augeas for sysctl" is a start. But this is exactly such a decision I think I'm not experienced enough right now. Just multiple lines of augeas within the modules seems to be less handy than a one-line sysctl module call using augeas to manage everything. But such a general module dependency is meh. :-/
[2012/02/22 16:03:11] @ newtMcKerr joined channel #puppet
[2012/02/22 16:03:19] @ dieterdemeyer left channel #puppet ()
[2012/02/22 16:03:41] <antarus> augeas...
[2012/02/22 16:03:41] <antarus> --
[2012/02/22 16:03:59] <gepetto> ::redmine:: Wiki edit: Downloading_Puppet (#148) @ http://projects.puppetlabs.com/projects/puppet/wiki/Downloading_Puppet?version=148 (by Matthaus Litteken)
[2012/02/22 16:04:17] <antarus> datenzecke: we ended up writing defined types for most of that stuff
[2012/02/22 16:04:28] <aricg> datenzecke, good thing about augueas is that you can install the package maintainers never version of the config, and then have augueas reapply all your config needs
[2012/02/22 16:04:36] <antarus> so we have a gconf defined type, and a crond defined type, and we have a sysctl defined type ;)
[2012/02/22 16:04:49] <themadcanudist> I basically need (a/to write) ruby script that uses the puppet parser/lexer to go through read in the variables/hases/lists and output them as yaml
[2012/02/22 16:05:08] @ Quit: newtMcKerr: Client Quit
[2012/02/22 16:05:20] <themadcanudist> i don't even need it to do any puppet stuff… just parse a specific manifest file for a particular variable
[2012/02/22 16:05:33] <themadcanudist> which could be a hash of hashes of arrays… or some arbitrary structure.
[2012/02/22 16:05:50] @ danikov joined channel #puppet
[2012/02/22 16:05:53] <themadcanudist> the point is that it need to be parse puppet syntax and output a variable i want to yaml on stdout
[2012/02/22 16:05:56] <themadcanudist> that's the simplest case.
[2012/02/22 16:05:57] <datenzecke> antarus: and these defines are placed in a central lib module? Something like "stdlib_mycompany"?
[2012/02/22 16:06:12] <datenzecke> aricg: ahh... I see.
[2012/02/22 16:06:37] @ Bass10 joined channel #puppet
[2012/02/22 16:07:27] <aricg> datenzecke, for example http://pastie.org/3434878 i set all the defaults,
[2012/02/22 16:07:44] @ Quit: Bass10: Max SendQ exceeded
[2012/02/22 16:07:57] @ d3c joined channel #puppet
[2012/02/22 16:07:59] <aricg> and for a machine that needs a different value I overwrite the parameter
[2012/02/22 16:08:08] @ Bass10 joined channel #puppet
[2012/02/22 16:09:40] <datenzecke> themadcanudist: what about a puppet apply --noop -e "{'debug':}" with "debug" inheriting your target class + containing the scope.to_hash as notification? (Attention: Just a quick though... I'm still a bloody Puppet n00b).
[2012/02/22 16:10:19] <antarus> datenzecke: we only have 1 puppet repo :)
[2012/02/22 16:10:32] <aricg> node 'foosqlserver' { class {'mysql::master': expire_log_days => '1',} }
[2012/02/22 16:10:49] @ Quit: q0rban: Quit: Leaving...
[2012/02/22 16:11:02] <themadcanudist> datenzecke… hmmm
[2012/02/22 16:13:26] @ Quit: jiboumans_: Ping timeout: 248 seconds
[2012/02/22 16:13:30] @ q0rban joined channel #puppet
[2012/02/22 16:14:21] @ Holocaine joined channel #puppet
[2012/02/22 16:14:41] <themadcanudist> so i'd have to create a new function that I call on the variable in that manifest?
[2012/02/22 16:15:44] <datenzecke> aricg: thanks for the example. That's exactly the point. using augeas makes sense in e.g. a MySQL-module because the resources it is working is not shared.
[2012/02/22 16:16:17] @ Quit: Prometheus: Ping timeout: 265 seconds
[2012/02/22 16:16:20] <datenzecke> aricg: but for sysctl, a wrapper module seems to be handier. Same vor yumrepo {} vs "repo" module...
[2012/02/22 16:17:41] @ rstinnett joined channel #puppet
[2012/02/22 16:17:55] @ eedri joined channel #puppet
[2012/02/22 16:17:58] <datenzecke> antarus: is there any change to get your defines as source (especially gconf and repository related stuff ^^)?
[2012/02/22 16:18:25] <rstinnett> Does anyone have any tips on how to debug why agents become unresponsive in the puppet dashboard?
[2012/02/22 16:21:03] @ Quit: ZummiG777: Quit: Leaving
[2012/02/22 16:21:15] @ Quit: cliff-hm: Ping timeout: 240 seconds
[2012/02/22 16:21:51] @ court joined channel #puppet
[2012/02/22 16:22:19] @ Quit: court: Client Quit
[2012/02/22 16:22:29] @ Quit: rstinnett: Client Quit
[2012/02/22 16:25:55] <themadcanudist> datenzecke: and Volcane: Can you think of a way to do this without modifying the manifests
[2012/02/22 16:27:53] <datenzecke> themadcanudist: as I said: write a debug wrapper module. Its classes are inheriting the classes you won't modify directly plus making the debug stuff. Maybe worth a try.
[2012/02/22 16:28:15] @ nul0op joined channel #puppet
[2012/02/22 16:30:25] <themadcanudist> right.
[2012/02/22 16:31:11] <themadcanudist> i'm just having a prob thinking about how to call the scope.to_hash function? That will need to be called on the node or the class? and will it output the entire class?
[2012/02/22 16:31:14] <themadcanudist> lemme do some tests
[2012/02/22 16:33:04] <datenzecke> themadcanudist: in the debug class... seomthing like this:
[2012/02/22 16:33:08] <datenzecke> class debug inherits foobar {
[2012/02/22 16:33:08] <datenzecke> file { "debug_${module_name}_vardump":
[2012/02/22 16:33:08] <datenzecke> ensure => 'present',
[2012/02/22 16:33:08] <datenzecke> path => "${settings::vardir}/debug_${module_name}_vardump",
[2012/02/22 16:33:08] <datenzecke> mode => '0640',
[2012/02/22 16:33:08] <datenzecke> owner => 'root',
[2012/02/22 16:33:08] <Volcane> themadcanudist: no
[2012/02/22 16:33:10] <datenzecke> group => 'root',
[2012/02/22 16:33:12] <datenzecke> content => inline_template('<%= scope.to_hash.reject { |k,v| k.to_s =~ /(uptime.*|path|timestamp|free|.*password.*|.*psk.*|.*key)/ }.sort.map { |k,v| "#{k}: #{v.inspect}"}.join("\n") + "\n" %>'),
[2012/02/22 16:33:15] <datenzecke> }
[2012/02/22 16:33:17] <datenzecke> }
[2012/02/22 16:33:20] <aricg> datenzecke, use pastie pls
[2012/02/22 16:33:28] <datenzecke> ok... sorry
[2012/02/22 16:33:56] <aricg> added bonus. syntax highlighting!
[2012/02/22 16:34:14] @ Quit: rcrowley_: Quit: Computer has gone to sleep.
[2012/02/22 16:35:15] <themadcanudist> datenzecke… ok, so this will add a file resource that introspects the node's puppet manifest itself and outputs all variables as hases on that particular node.
[2012/02/22 16:35:16] <datenzecke> themadcanudist: "and will it output the entire class?" yes... the whole scope (->**scope**.to_hash). Means class vars and global vars.
[2012/02/22 16:35:22] <themadcanudist> yeah
[2012/02/22 16:35:33] <themadcanudist> to the target, using introspection
[2012/02/22 16:35:58] <themadcanudist> sorry… creating that file resource on the node...
[2012/02/22 16:36:12] <Volcane> themadcanudist: why do you want this?
[2012/02/22 16:36:22] @ Djelibeybi joined channel #puppet
[2012/02/22 16:37:01] <themadcanudist> Volcane: very simply because I've built a ENC backend where I store this info… I need to convert a lot of manifests that contain data structures for my modules in to a format I can easily import in to my backend.
[2012/02/22 16:37:11] @ rcrowley_ joined channel #puppet
[2012/02/22 16:37:26] <Volcane> ah
[2012/02/22 16:37:35] <themadcanudist> =)
[2012/02/22 16:37:39] @ jiboumans_ joined channel #puppet
[2012/02/22 16:38:17] <themadcanudist> datenzecke: now, can i generate this output on the puppet master for all my nodes =D As opposed to having to run this on all clients.
[2012/02/22 16:39:45] @ cyflea joined channel #puppet
[2012/02/22 16:39:51] @ KaiserBeto1 left channel #puppet ()
[2012/02/22 16:40:02] @ Quit: Chillax: Changing host
[2012/02/22 16:40:02] @ Chillax joined channel #puppet
[2012/02/22 16:40:27] <torrancew> themadcanudist: exported resources + realizing them on the master?
[2012/02/22 16:40:34] <torrancew> that's what we do with our "audit" class
[2012/02/22 16:42:24] <themadcanudist> ouch
[2012/02/22 16:42:34] <themadcanudist> these are ingenious solutions
[2012/02/22 16:42:36] <themadcanudist> but a bit painful
[2012/02/22 16:43:07] <themadcanudist> ideally harnessing the puppet parser/lexer and outputting desired vars would be nice.
[2012/02/22 16:43:14] <themadcanudist> i am very appreciative though
[2012/02/22 16:43:16] <themadcanudist> of the input
[2012/02/22 16:44:02] @ bmahe joined channel #puppet
[2012/02/22 16:44:03] @ Quit: bmahe: Changing host
[2012/02/22 16:44:03] @ bmahe joined channel #puppet
[2012/02/22 16:44:51] @ VladGh_ joined channel #puppet
[2012/02/22 16:45:09] @ Quit: VladGh: Ping timeout: 240 seconds
[2012/02/22 16:46:42] @ ezmobius|zoning is now known as ezmobius|zoning|
[2012/02/22 16:47:23] @ peppigno78 joined channel #puppet
[2012/02/22 16:47:32] @ peppigno78 left channel #puppet ()
[2012/02/22 16:47:48] @ peppigno78 joined channel #puppet
[2012/02/22 16:47:50] @ peppigno78 left channel #puppet ()
[2012/02/22 16:48:27] @ Quit: cruzfox: Quit: cruzfox
[2012/02/22 16:49:43] @ themadcanudist left channel #puppet ()
[2012/02/22 16:50:05] @ Quit: VladGh_: Ping timeout: 276 seconds
[2012/02/22 16:51:08] @ kelseyhightower joined channel #puppet
[2012/02/22 16:52:23] @ Quit: vincent_vdk: Ping timeout: 252 seconds
[2012/02/22 16:53:04] @ VladGh joined channel #puppet
[2012/02/22 16:54:20] @ Prometheus joined channel #puppet
[2012/02/22 16:55:12] <datenzecke> does anybody got some good defines/modules/examples for 1) gconf, gsettings 2) aptrepo 3) gpg-key-import 4) downloading archives (ok. I think https://github.com/example42/puppet-stdlib42/blob/master/manifests/netinstall.pp seems to be a pretty good example regarding archive download). I think I have to create my own stdlib_xyz with sane defines to keep things maintainable...
[2012/02/22 16:56:57] @ Quit: VladGh: Remote host closed the connection
[2012/02/22 16:57:18] @ VladGh joined channel #puppet
[2012/02/22 16:58:17] @ Quit: spicyWith: Quit: spicyWith
[2012/02/22 16:58:26] @ spicyWith joined channel #puppet
[2012/02/22 16:58:44] @ Quit: cdracars: Quit: cdracars
[2012/02/22 17:00:06] @ jiboumans__ joined channel #puppet
[2012/02/22 17:01:29] @ Quit: alanevans: Remote host closed the connection
[2012/02/22 17:02:31] @ cdracars joined channel #puppet
[2012/02/22 17:03:02] @ VladGh_ joined channel #puppet
[2012/02/22 17:03:44] @ Quit: spicyWith: Ping timeout: 276 seconds
[2012/02/22 17:03:51] @ Quit: jiboumans_: Ping timeout: 260 seconds
[2012/02/22 17:04:09] @ Quit: VladGh: Ping timeout: 240 seconds
[2012/02/22 17:04:10] @ Quit: uphillian: Quit: Leaving.
[2012/02/22 17:06:10] @ Quit: VladGh_: Read error: Connection reset by peer
[2012/02/22 17:06:20] @ Quit: fir31ight: Ping timeout: 276 seconds
[2012/02/22 17:06:29] @ VladGh joined channel #puppet
[2012/02/22 17:06:36] @ Quit: verwilst: Quit: Ex-Chat
[2012/02/22 17:07:43] @ willaerk joined channel #puppet
[2012/02/22 17:07:44] @ fir31ight joined channel #puppet
[2012/02/22 17:07:56] @ Quit: joe-mac: Remote host closed the connection
[2012/02/22 17:08:01] @ danbeck joined channel #puppet
[2012/02/22 17:08:02] <mgw> gabrtv: thanks for your input earlier
[2012/02/22 17:08:12] <gabrtv> how'd it work out?
[2012/02/22 17:08:26] <mgw> for anyone interested, here is a python (2.7) script for accessing hiera data: https://gist.github.com/1887753
[2012/02/22 17:08:45] <mgw> gabrtv: it works quite well
[2012/02/22 17:08:46] @ Quit: |Majestic|: Ping timeout: 272 seconds
[2012/02/22 17:08:56] @ Quit: Wolfspyre1: Quit: Leaving.
[2012/02/22 17:09:39] <mgw> it's a bit specific to my needs, so it might need to be further generalized
[2012/02/22 17:09:48] <aelman> mgw: cool! that's useful
[2012/02/22 17:10:02] <willaerk> no more anonymous access to puppetlabs jenkins ?
[2012/02/22 17:10:05] <gabrtv> mgw: looks good to me.. it's not too specific..
[2012/02/22 17:10:30] @ newtMcKerr joined channel #puppet
[2012/02/22 17:10:58] <mgw> aelman: glad you might be able to use it
[2012/02/22 17:11:10] <pbuckley> has anyone had success getting interface-utils working under 2.7.x?
[2012/02/22 17:11:28] <mgw> gabrtv: I was just thinking it might be good to generalize the scope args — rather than having hardcoded keyword args
[2012/02/22 17:12:34] @ Quit: newtMcKerr: Client Quit
[2012/02/22 17:13:59] <gabrtv> yeah you could probably iterate over a kwargs dict and make it a little more explicit.. but anyone google'ing for python/hiera should be able to see what you're doing
[2012/02/22 17:14:15] <gabrtv> gist is public, yeah?
[2012/02/22 17:15:59] @ Quit: sduchesneau: Quit: Leaving
[2012/02/22 17:16:44] <mgw> yes
[2012/02/22 17:16:48] <mgw> well, can be
[2012/02/22 17:16:56] <mgw> in this case it is
[2012/02/22 17:17:21] @ mosen joined channel #puppet
[2012/02/22 17:17:31] @ themadcanudist joined channel #puppet
[2012/02/22 17:19:45] <mgw> just as a topic of conversation, i did this so i can use the same network/node data in my python fabric scripts (e.g., for deploying VMs with opennebula) and in puppet
[2012/02/22 17:19:54] @ Quit: M-: Quit: This computer has gone to sleep
[2012/02/22 17:22:14] @ Quit: nutron: Quit: I must go eat my cheese!
[2012/02/22 17:22:22] @ Quit: Guest70101: Quit: Leaving
[2012/02/22 17:22:40] <themadcanudist> aight… follow up question… using "puppet apply" can I specify a nodename on the commandline? i can do this via setting certname in puppet.conf, but can I do this on commandline?
[2012/02/22 17:23:19] <nate_h> does anyone have a type that parses aptitude sources?
[2012/02/22 17:23:33] <nate_h> i found a few that manage stuff in sources.list.d but that won't help with purge, etc
[2012/02/22 17:23:37] <mgw> not sure if it'll work, but you could try this:
[2012/02/22 17:23:59] <mgw> FACTER_hostname=foo puppet apply /path/to/site.pp
[2012/02/22 17:24:54] <themadcanudist> brilliant ;)
[2012/02/22 17:24:55] <themadcanudist> that does it
[2012/02/22 17:25:18] <mgw> it does? It didn't work for me
[2012/02/22 17:25:25] <mgw> when I just tried it
[2012/02/22 17:25:47] <themadcanudist> weird
[2012/02/22 17:26:00] @ Quit: ldlework: Ping timeout: 245 seconds
[2012/02/22 17:26:03] <themadcanudist> it absolutely works for me
[2012/02/22 17:26:08] @ Quit: danblack: Quit: solitude begins
[2012/02/22 17:26:33] <mgw> is your hostname otherwise undefined — or are you overriding it?
[2012/02/22 17:26:35] @ Ebron joined channel #puppet
[2012/02/22 17:26:39] @ samkottl_ joined channel #puppet
[2012/02/22 17:26:42] @ Quit: samkottler: Read error: Connection reset by peer
[2012/02/22 17:27:36] <denysonique__> How do I include the Puppetlabs stdlib module? https://github.com/puppetlabs/puppetlabs-stdlib
[2012/02/22 17:27:47] <denysonique__> I checked out the file to /etc/puppet/modules
[2012/02/22 17:28:18] <denysonique__> but custom resource types do not work
[2012/02/22 17:28:37] <siert> denysonique__: rename the parentdir to stdlib and include stdlib?
[2012/02/22 17:28:38] <nate_h> you just put it in your module path
[2012/02/22 17:28:58] @ ascarter joined channel #puppet
[2012/02/22 17:28:59] <mgw> you might need pluginsync
[2012/02/22 17:29:00] <matti> nate_h: How is it without dle?
[2012/02/22 17:29:14] @ Quit: benkevan: Quit: leaving
[2012/02/22 17:29:17] <nate_h> matti , shrug, i hadn't been working with him
[2012/02/22 17:29:20] <nate_h> so not a ton
[2012/02/22 17:29:33] <matti> I see.
[2012/02/22 17:29:33] <matti> ;]
[2012/02/22 17:30:08] <denysonique__> I have pluginsync true. https://github.com/jfryman/puppet-rvm when I try rvm::define::version... I get -- Puppet::Parser::AST::Resource failed with error ArgumentError: Invalid resource type rvm::define::version at /etc/puppet/manifests/site.pp:37 on node speedy.domain.tld
[2012/02/22 17:30:23] @ fimtinnegan joined channel #puppet
[2012/02/22 17:30:27] <siert> hm, I noticed stdlib loads facts from /etc/facter/facts.d and /etc/puppetlabs/facter/facts.d, but facts-dot-d reads /etc/facts.d ?
[2012/02/22 17:30:37] <denysonique__> I am trying to use the puppet-rvm plugin
[2012/02/22 17:30:42] <denysonique__> module*
[2012/02/22 17:30:49] @ Quit: labrown: Quit: Leaving
[2012/02/22 17:31:05] <nate_h> matti, hows work ?
[2012/02/22 17:31:07] <mgw> siert: I noticed the same thing
[2012/02/22 17:31:13] <matti> nate_h: Boring.
[2012/02/22 17:31:17] <nate_h> hehe
[2012/02/22 17:31:26] <matti> nate_h: .NET developers are pissing me of with their "MUST WRITE TESTS" mantra.
[2012/02/22 17:31:38] <denysonique__> Puppet::Parser::AST::Resource failed with error ArgumentError: Invalid resource type rvm::define::version at /etc/puppet/manifests/site.pp:37 -- Is this error caused by stdlib not working?
[2012/02/22 17:31:43] <denysonique__> please help
[2012/02/22 17:31:44] <siert> mgw: I prefer one or two options, not three ;)
[2012/02/22 17:31:44] <nate_h> i sort of wish more people here did write tests
[2012/02/22 17:31:57] <matti> nate_h: Its not about writing tests.
[2012/02/22 17:32:05] @ Quit: opsmason: Quit: opsmason
[2012/02/22 17:32:10] <matti> nate_h: Its plain annoying when they cannot deliver and keep this mantra up.
[2012/02/22 17:32:19] <matti> nate_h: And then force this on you.
[2012/02/22 17:32:29] @ Quit: alfism: Read error: Operation timed out
[2012/02/22 17:32:41] <matti> nate_h: Its the lack of common sense that pisses me of.
[2012/02/22 17:32:57] <nate_h> ah
[2012/02/22 17:32:59] @ alfism joined channel #puppet
[2012/02/22 17:33:07] <matti> nate_h: "Of course it has not tests, you numpy... I did it 5 min ago to solve production problems quikly, now GTFO"
[2012/02/22 17:33:11] @ Quit: gazoombo: Quit: Leaving.
[2012/02/22 17:33:16] <matti> nate_h: And they will drag on ... "must have tests..."
[2012/02/22 17:33:17] @ Quit: jeremy: Read error: Operation timed out
[2012/02/22 17:33:21] <matti> nate_h: Like zombies.
[2012/02/22 17:33:26] @ Quit: kelseyhightower: Quit: kelseyhightower
[2012/02/22 17:33:36] @ benkevan joined channel #puppet
[2012/02/22 17:33:50] <matti> siert: What is facts-dot-d?
[2012/02/22 17:33:58] <themadcanudist> mgw: i'm overriding it
[2012/02/22 17:33:58] <Ahlee> Anybody got a clever way to check for the existence of a user, and if it exists run an exec? I tried an exec to look for the user, but when that fails, well, it throws an error.
[2012/02/22 17:34:13] <themadcanudist> and it only works for 'puppet apply', not for 'puppet agent'
[2012/02/22 17:34:26] <Ahlee> i.e. exec { 'id user': }; then on the other require Exec['id user']
[2012/02/22 17:34:41] <torrancew> Ahlee: "getent passwd | grep -q someUser" and have that notify the other resource?
[2012/02/22 17:34:51] <matti> denysonique__: How did you install this? :)
[2012/02/22 17:34:55] @ Quit: kangman: Remote host closed the connection
[2012/02/22 17:35:19] <nate_h> sounds fun
[2012/02/22 17:35:27] <matti> nate_h: Totally.
[2012/02/22 17:35:29] <matti> nate_h: ;d
[2012/02/22 17:35:33] <Ahlee> torrancew: I'm unfamiliar with how to notify another resource
[2012/02/22 17:36:06] <Ahlee> Googling now, but would appreciate another nudge
[2012/02/22 17:36:06] <torrancew> Ahlee: can you paste what you're trying? I can translate that for my example more easily than coming up with one from scratch
[2012/02/22 17:36:17] @ Quit: critpizza: Remote host closed the connection
[2012/02/22 17:36:18] @ shiruken left channel #puppet ()
[2012/02/22 17:36:24] @ Quit: ctracey__: Ping timeout: 256 seconds
[2012/02/22 17:36:26] <Ahlee> One moment.
[2012/02/22 17:37:06] @ critpizza joined channel #puppet
[2012/02/22 17:37:08] @ newtMcKerr joined channel #puppet
[2012/02/22 17:37:10] @ ctracey joined channel #puppet
[2012/02/22 17:37:12] @ Quit: critpizza: Remote host closed the connection
[2012/02/22 17:37:12] @ kangman joined channel #puppet
[2012/02/22 17:37:18] @ Quit: mgw: Quit: Leaving.
[2012/02/22 17:37:58] @ Quit: jpreyer: Quit: Computer has gone to sleep.
[2012/02/22 17:39:03] <denysonique__> matti: git cloning the github repo into the modules dir
[2012/02/22 17:39:17] <Ahlee> http://pastebin.com/HzSTyZ6a is the section I'm looking at, checks if a user is in local /etc/passwd, and if it is, runs usermod -p and updates it's password
[2012/02/22 17:40:39] @ Quit: newtMcKerr: Client Quit
[2012/02/22 17:40:51] <Ahlee> Don't want to create thisuser name on all servers that don't have it, since i'm trying to get rid of this shared account, but I need to update the password and don't want to do that manually
[2012/02/22 17:41:31] @ Quit: hooper_: Ping timeout: 252 seconds
[2012/02/22 17:41:48] <danbeck> Can I confirm something about puppet file resources? If you have two file resources /foo and /foo/bar.txt, puppet will always order those appropriately even if you do not use a require and even possibly have them in reverse order in a manifest?
[2012/02/22 17:42:03] <danbeck> meaning… is require => File[] always implicit in that case?
[2012/02/22 17:42:11] <kjetilho> danbeck: correct
[2012/02/22 17:42:14] <danbeck> Thanks
[2012/02/22 17:43:06] <nate_h> Ahlee, and the error? you probably want to make that checkforuser exec also refreshonly => true
[2012/02/22 17:43:24] @ newtMcKerr joined channel #puppet
[2012/02/22 17:43:31] @ spicyWith joined channel #puppet
[2012/02/22 17:43:39] <Ahlee> nate_h: When this runs on a server that doens't have the user, the puppet run throws errors
[2012/02/22 17:43:40] @ Quit: Djelibeybi: Quit: Textual IRC Client: http://www.textualapp.com/
[2012/02/22 17:44:01] <nate_h> what's the error
[2012/02/22 17:44:33] <datenzecke> I'm out (thanks, aricg antarus)
[2012/02/22 17:44:34] @ Quit: newtMcKerr: Client Quit
[2012/02/22 17:44:43] @ Quit: datenzecke: Quit: Ex-Chat
[2012/02/22 17:44:55] <nate_h> Ahlee, you could also simplify that by putting it in your unless statement
[2012/02/22 17:45:18] @ Wolfspyre joined channel #puppet
[2012/02/22 17:45:20] @ Quit: themadcanudist: Ping timeout: 276 seconds
[2012/02/22 17:45:20] @ matchaw joined channel #puppet
[2012/02/22 17:45:25] <nate_h> actually not sure
[2012/02/22 17:45:28] <Ahlee> hrm, so negate the search for the unless?
[2012/02/22 17:45:29] <nate_h> maybe command1;command2 won't work
[2012/02/22 17:45:39] <nate_h> might only return the exit code of the second one
[2012/02/22 17:46:10] <nate_h> Ahlee, ok so the issue is
[2012/02/22 17:46:13] <nate_h> you are requiring the exec
[2012/02/22 17:46:21] <nate_h> and it doesn't matter what the return code is
[2012/02/22 17:46:27] <nate_h> that command will always run successfully ;)
[2012/02/22 17:46:42] <nate_h> that's why you put it in the unless, so the exit code of grep matters
[2012/02/22 17:47:08] @ Quit: eedri: Ping timeout: 245 seconds
[2012/02/22 17:47:50] <Ahlee> so make the checkforuser expect either or 1, and lazily throw a usermod at a potentially non-existing user?
[2012/02/22 17:48:31] @ jeremy joined channel #puppet
[2012/02/22 17:48:32] @ Quit: jeremy: Changing host
[2012/02/22 17:48:32] @ jeremy joined channel #puppet
[2012/02/22 17:48:33] <nate_h> no
[2012/02/22 17:49:05] @ shell0x_ joined channel #puppet
[2012/02/22 17:49:07] <nate_h> sec
[2012/02/22 17:49:17] <torrancew> Ahlee: I believe this should work, also: http://pastebin.com/hrZQL3EN
[2012/02/22 17:49:48] <nate_h> what torrancew did, yout put the test for the user and password in the same line in the unless
[2012/02/22 17:49:54] @ kelseyhightower joined channel #puppet
[2012/02/22 17:50:11] <nate_h> for clarity you don't need that checkforuser exec anymore
[2012/02/22 17:50:13] <Ahlee> ah
[2012/02/22 17:50:30] <nate_h> oh wait nm he changed the order of stuff
[2012/02/22 17:50:45] <nate_h> torrancew, why do we need two execs now?
[2012/02/22 17:50:48] @ jamezpolley left channel #puppet ()
[2012/02/22 17:51:08] <torrancew> the original paste I sourced had two, though there are sure ways to do otherwise
[2012/02/22 17:51:26] <nate_h> if you removed the refreshonly => true and then removed the first exec, would that work?
[2012/02/22 17:51:42] <nate_h> http://pastebin.com/qGZWdECw
[2012/02/22 17:51:46] <torrancew> I read that as "The first exec makes sure the user exists period" "The second one changes his password unless it matches the provided hash"
[2012/02/22 17:51:47] @ Djelibeybi joined channel #puppet
[2012/02/22 17:52:08] @ Quit: kangman: Remote host closed the connection
[2012/02/22 17:52:12] <torrancew> nate_h: still fails on nonexistant users, I'm fairly sure
[2012/02/22 17:52:13] <nate_h> oh we'd need to figure out two tests
[2012/02/22 17:52:20] <nate_h> torrancew, ya or if the pass differs
[2012/02/22 17:52:27] <torrancew> right
[2012/02/22 17:52:45] <Ahlee> Right.
[2012/02/22 17:52:51] <nate_h> ya, i was wondering if you chained commands if the error codes would cascade or what
[2012/02/22 17:52:59] <torrancew> you could chain with &&
[2012/02/22 17:53:05] <nate_h> ya i was just gonna say :)
[2012/02/22 17:53:06] <Ahlee> I want to first ensure the user actually exists, as it's a small subset of servers where this legacy user still exists, and if it does, change hte pass if it hasn't been changed already
[2012/02/22 17:53:08] <torrancew> or ||, depending on yourlogic flow
[2012/02/22 17:53:31] <torrancew> Ahlee: I'm fairly sure my paste will accomplish that, but there is definitely room for improvement
[2012/02/22 17:53:43] <nate_h> http://pastebin.com/we8yyJgC
[2012/02/22 17:53:48] <nate_h> how about that
[2012/02/22 17:53:52] @ Quit: gniks1: Quit: Leaving.
[2012/02/22 17:54:20] <nate_h> nevermind
[2012/02/22 17:54:23] <torrancew> ya
[2012/02/22 17:54:29] <torrancew> I was typing, but I see you already figured it out :)
[2012/02/22 17:54:33] <nate_h> because that fails if the user doesn't exist
[2012/02/22 17:54:45] @ Quit: d3vnull: Ping timeout: 245 seconds
[2012/02/22 17:54:53] @ Quit: jodok: Quit: jodok
[2012/02/22 17:55:14] <torrancew> ya
[2012/02/22 17:55:26] <torrancew> I think the two checks are the way to go
[2012/02/22 17:55:33] <torrancew> at least if you want to KISS
[2012/02/22 17:55:41] <nate_h> yep
[2012/02/22 17:55:45] <nate_h> agreed
[2012/02/22 17:55:49] <Ahlee> and not bring the user under puppet control
[2012/02/22 17:55:56] <torrancew> Right
[2012/02/22 17:56:03] <Ahlee> thanks guys. Much appreciated.
[2012/02/22 17:56:13] <nate_h> unless its possible to use both an if and an unless ;P
[2012/02/22 17:56:15] <torrancew> Obviously, if you could do that, it is way easier (having puppet control the user fully)
[2012/02/22 17:56:22] <nate_h> if=onlyif
[2012/02/22 17:56:23] <torrancew> nate_h: Actually, you can
[2012/02/22 17:56:23] <willaerk> kelseyhightower: no more anonymous access to the puppetlabs jenkins ?
[2012/02/22 17:56:30] <torrancew> good call, sir
[2012/02/22 17:56:31] @ gniks joined channel #puppet
[2012/02/22 17:56:32] @ Quit: gniks: Changing host
[2012/02/22 17:56:32] @ gniks joined channel #puppet
[2012/02/22 17:57:02] @ Quit: lborda: Ping timeout: 276 seconds
[2012/02/22 17:57:38] @ Quit: cdracars: Quit: cdracars
[2012/02/22 17:57:53] <torrancew> http://pastebin.com/bmkHx35z
[2012/02/22 17:58:26] <nate_h> ca cawww!
[2012/02/22 17:58:28] <nate_h> :)
[2012/02/22 17:58:32] <Ahlee> Nice
[2012/02/22 18:01:03] @ skm joined channel #puppet
[2012/02/22 18:01:41] @ Quit: jtanner: Ping timeout: 252 seconds
[2012/02/22 18:02:56] @ newtMcKerr joined channel #puppet
[2012/02/22 18:04:28] @ carpenoctem joined channel #puppet
[2012/02/22 18:04:47] <carpenoctem> hi all, quick question. What's the proper way to check if a variable is undef?
[2012/02/22 18:05:39] <greenman> carpenoctem: tap it a few times. You want a hollow thunk
[2012/02/22 18:05:46] @ Quit: marczak: Ping timeout: 272 seconds
[2012/02/22 18:05:46] * greenman jokes because he doesn't know the answer
[2012/02/22 18:05:48] <carpenoctem> can I just do: "if $var == undef {"
[2012/02/22 18:06:00] <carpenoctem> lol
[2012/02/22 18:06:11] @ cdracars joined channel #puppet
[2012/02/22 18:06:56] <Ahlee> torrancew: nate_h: that works on all three use cases (no user, user exists and old pass, user exists and new pass)
[2012/02/22 18:06:59] <Ahlee> thanks guys!
[2012/02/22 18:07:11] @ nated joined channel #puppet
[2012/02/22 18:07:12] @ Quit: nated: Changing host
[2012/02/22 18:07:12] @ nated joined channel #puppet
[2012/02/22 18:07:24] <stahnma> willaerk: there's been some infra work on there. Should be fixed soonish
[2012/02/22 18:07:45] <torrancew> Ahlee: no problem
[2012/02/22 18:08:06] <nate_h> yay
[2012/02/22 18:08:11] @ Quit: littleidea: Read error: No route to host
[2012/02/22 18:08:51] @ Quit: shell0x_: Quit: Computer has gone to sleep.
[2012/02/22 18:09:01] @ littleidea joined channel #puppet
[2012/02/22 18:10:07] @ joe-mac joined channel #puppet
[2012/02/22 18:11:31] @ M- joined channel #puppet
[2012/02/22 18:11:32] <willaerk> stahnma: ha thx
[2012/02/22 18:11:54] @ Quit: benkevan: Read error: Connection reset by peer
[2012/02/22 18:12:24] @ Quit: st33v: Quit: st33v
[2012/02/22 18:14:48] @ Quit: seanh-ansca: Read error: Connection reset by peer
[2012/02/22 18:16:14] @ seanh-ansca joined channel #puppet
[2012/02/22 18:16:42] @ Quit: loganspencer: Quit: Textual IRC Client: http://www.textualapp.com/
[2012/02/22 18:16:49] @ tweek1 left channel #puppet ()
[2012/02/22 18:17:17] @ Quit: seanh-ansca: Read error: Connection reset by peer
[2012/02/22 18:17:22] @ seanh-ansca joined channel #puppet
[2012/02/22 18:17:26] @ danblack joined channel #puppet
[2012/02/22 18:17:34] @ Quit: danblack: Changing host
[2012/02/22 18:17:34] @ danblack joined channel #puppet
[2012/02/22 18:19:41] @ Quit: ranamalo: Ping timeout: 260 seconds
[2012/02/22 18:20:06] <denysonique__> Could not find resource '[Stage[runtime]{:require=>Stage[main]{:name=>"main"}}]' for relationship on '[Stage[setup_infra]{}]' on node speedy
[2012/02/22 18:20:23] <denysonique__> I get this when stdlib is used by another module
[2012/02/22 18:20:26] <denysonique__> is this critical?
[2012/02/22 18:21:05] <denysonique__> as my puppet classes won't run when I use the module including stdlib which raises this warning
[2012/02/22 18:21:59] @ Quit: kermit: Quit: Leaving.
[2012/02/22 18:23:30] @ Quit: seanh-ansca: Read error: Connection reset by peer
[2012/02/22 18:24:32] @ Quit: Demosthenes: Quit: leaving
[2012/02/22 18:25:21] @ zanefactory joined channel #puppet
[2012/02/22 18:25:55] @ Quit: dan__t: Quit: Leaving
[2012/02/22 18:26:14] @ seanh-ansca joined channel #puppet
[2012/02/22 18:26:45] @ rsnhyperion_ joined channel #puppet
[2012/02/22 18:27:16] @ Quit: rsnhyperion_: Client Quit
[2012/02/22 18:27:23] @ cdracars_ joined channel #puppet
[2012/02/22 18:27:40] @ Quit: Wolfspyre: Ping timeout: 245 seconds
[2012/02/22 18:28:05] @ Quit: rsnhyperion: Read error: Operation timed out
[2012/02/22 18:30:41] @ Quit: stkrzysiak: Quit: stkrzysiak
[2012/02/22 18:31:34] @ Quit: cdracars: Ping timeout: 248 seconds
[2012/02/22 18:31:34] @ cdracars_ is now known as cdracars
[2012/02/22 18:32:44] @ Quit: seanh-ansca: Read error: Connection reset by peer
[2012/02/22 18:32:53] @ seanh-ansca joined channel #puppet
[2012/02/22 18:33:45] @ campee joined channel #puppet
[2012/02/22 18:35:54] @ JayTaph_ joined channel #puppet
[2012/02/22 18:36:15] @ Quit: newtMcKerr: Quit: Leaving.
[2012/02/22 18:36:56] @ Quit: cdracars: Remote host closed the connection
[2012/02/22 18:37:03] @ cdracars joined channel #puppet
[2012/02/22 18:38:21] @ Quit: JayTaph: Ping timeout: 260 seconds
[2012/02/22 18:38:21] @ JayTaph_ is now known as JayTaph
[2012/02/22 18:38:56] @ Quit: gniks: Quit: Leaving.
[2012/02/22 18:39:04] @ Quit: danbeck: Quit: danbeck
[2012/02/22 18:39:05] @ Quit: d19113: Quit: Page closed
[2012/02/22 18:39:46] @ Quit: nul0op: Quit: Leaving
[2012/02/22 18:40:54] @ Quit: d3c: Quit: Sleep
[2012/02/22 18:41:49] @ Quit: cwebber: Quit: Leaving.
[2012/02/22 18:42:11] @ Quit: cdracars: Ping timeout: 240 seconds
[2012/02/22 18:42:20] <Rockj> Q: is it possible to use "notify" somehow to only write to the console if it matches certain conditions?
[2012/02/22 18:42:47] <Rockj> I want to print something as simple as "Set vim as default editor", only when the change actually happens
[2012/02/22 18:43:09] @ dan__t joined channel #puppet
[2012/02/22 18:44:13] @ Paul_ joined channel #puppet
[2012/02/22 18:44:24] @ Quit: Tobu: Ping timeout: 272 seconds
[2012/02/22 18:46:33] <Rockj> I want to make it simple for my non-techy friends to read the report of what is actually happening on the system... makes sense?
[2012/02/22 18:47:53] @ pbuckley_ joined channel #puppet
[2012/02/22 18:48:07] @ bodepd_ joined channel #puppet
[2012/02/22 18:48:28] @ gosh joined channel #puppet
[2012/02/22 18:48:31] @ proton_ joined channel #puppet
[2012/02/22 18:48:54] @ realist_ joined channel #puppet
[2012/02/22 18:48:58] <kjetilho> Rockj: I really think you will need to hack a report generator instead
[2012/02/22 18:49:15] @ Dominic_ joined channel #puppet
[2012/02/22 18:49:20] <kjetilho> s/hack/implement/
[2012/02/22 18:49:24] @ optiz0r_ joined channel #puppet
[2012/02/22 18:49:24] <kjetilho> use tags on your resources, and map those tags to messages
[2012/02/22 18:49:27] @ wilco_ joined channel #puppet
[2012/02/22 18:49:35] @ Damianz_ joined channel #puppet
[2012/02/22 18:49:41] @ Quit: M-: Quit: This computer has gone to sleep
[2012/02/22 18:49:55] @ Wolfspyre joined channel #puppet
[2012/02/22 18:50:00] @ stephenh_ joined channel #puppet
[2012/02/22 18:50:48] @ dvanzuij1ekom joined channel #puppet
[2012/02/22 18:51:02] @ jant_ joined channel #puppet
[2012/02/22 18:51:04] @ jY- joined channel #puppet
[2012/02/22 18:51:09] @ amoe_ joined channel #puppet
[2012/02/22 18:51:21] @ jeremyb_ joined channel #puppet
[2012/02/22 18:51:26] @ CrazyGir joined channel #puppet
[2012/02/22 18:51:30] @ Bosse_ joined channel #puppet
[2012/02/22 18:51:39] @ bkero_ joined channel #puppet
[2012/02/22 18:51:41] @ bradm_ joined channel #puppet
[2012/02/22 18:51:52] @ CrazyGir is now known as Guest61240
[2012/02/22 18:51:52] @ SpComb^_ joined channel #puppet
[2012/02/22 18:51:59] @ davidr_ joined channel #puppet
[2012/02/22 18:52:06] @ TREllis_ joined channel #puppet
[2012/02/22 18:52:10] @ chadh_ joined channel #puppet
[2012/02/22 18:52:12] @ Kazuhiro1 joined channel #puppet
[2012/02/22 18:52:16] @ elmo_ joined channel #puppet
[2012/02/22 18:52:30] @ artis_ joined channel #puppet
[2012/02/22 18:52:38] @ zoobab_ joined channel #puppet
[2012/02/22 18:52:39] @ davidr_ is now known as Guest91519
[2012/02/22 18:52:41] @ jeffx_ joined channel #puppet
[2012/02/22 18:52:49] @ daysmen_ joined channel #puppet
[2012/02/22 18:52:50] @ tripoux_ joined channel #puppet
[2012/02/22 18:52:59] @ ctracey_ joined channel #puppet
[2012/02/22 18:53:05] <campee> i have a circular dependency issue that i'm not sure how to fix. i have some custom facter facts that i've defined in a module and i have another module with a template that uses those facts. i set the template to require the class that installs the custom facter facts to be configured first, but when i perform my initial puppet run it says it can't determine the value of the variable in the template and won't run
[2012/02/22 18:53:26] @ SirScott_ joined channel #puppet
[2012/02/22 18:53:34] @ _rc_ joined channel #puppet
[2012/02/22 18:53:41] <nate_h> campee, ya i think thats a bug
[2012/02/22 18:53:50] @ HCoyote_ joined channel #puppet
[2012/02/22 18:53:53] <campee> is there a workaround?
[2012/02/22 18:54:00] @ __NiC joined channel #puppet
[2012/02/22 18:54:08] @ bma_ joined channel #puppet
[2012/02/22 18:54:10] <nate_h> it works after the second run ?
[2012/02/22 18:54:15] @ Quit: withnale: Ping timeout: 252 seconds
[2012/02/22 18:54:15] @ Quit: pbuckley: Ping timeout: 252 seconds
[2012/02/22 18:54:16] @ Quit: bodepd: Ping timeout: 252 seconds
[2012/02/22 18:54:18] @ Quit: shog: Ping timeout: 252 seconds
[2012/02/22 18:54:19] @ Quit: stephenh: Ping timeout: 252 seconds
[2012/02/22 18:54:20] @ Quit: proton: Ping timeout: 252 seconds
[2012/02/22 18:54:20] @ Quit: realist: Ping timeout: 252 seconds
[2012/02/22 18:54:23] @ Quit: wilco: Ping timeout: 252 seconds
[2012/02/22 18:54:23] @ Quit: Damianz: Ping timeout: 252 seconds
[2012/02/22 18:54:24] @ Quit: nimrod10: Ping timeout: 252 seconds
[2012/02/22 18:54:24] @ Quit: Dominic: Ping timeout: 252 seconds
[2012/02/22 18:54:25] @ Quit: optiz0r: Ping timeout: 252 seconds
[2012/02/22 18:54:26] @ Quit: ctracey: Ping timeout: 252 seconds
[2012/02/22 18:54:27] @ Quit: amoe: Ping timeout: 252 seconds
[2012/02/22 18:54:27] @ Quit: jant: Ping timeout: 252 seconds
[2012/02/22 18:54:29] @ Quit: jY: Ping timeout: 252 seconds
[2012/02/22 18:54:29] @ Quit: elmo: Ping timeout: 252 seconds
[2012/02/22 18:54:30] @ Quit: SpComb: Ping timeout: 252 seconds
[2012/02/22 18:54:30] @ Quit: tripoux: Ping timeout: 252 seconds
[2012/02/22 18:54:31] @ Quit: Maliuta: Ping timeout: 252 seconds
[2012/02/22 18:54:31] @ Quit: Guest17030: Ping timeout: 252 seconds
[2012/02/22 18:54:32] @ Quit: dvanzuijlekom: Ping timeout: 252 seconds
[2012/02/22 18:54:32] @ Quit: davidr: Ping timeout: 252 seconds
[2012/02/22 18:54:33] @ Quit: jeremyb: Ping timeout: 252 seconds
[2012/02/22 18:54:34] @ Quit: amaninacan: Ping timeout: 252 seconds
[2012/02/22 18:54:34] @ Quit: daysmen: Ping timeout: 252 seconds
[2012/02/22 18:54:35] @ Quit: Bosse: Ping timeout: 252 seconds
[2012/02/22 18:54:36] @ Quit: bkero: Ping timeout: 252 seconds
[2012/02/22 18:54:36] @ Quit: TREllis: Ping timeout: 252 seconds
[2012/02/22 18:54:37] @ Quit: odyi: Ping timeout: 252 seconds
[2012/02/22 18:54:37] @ Quit: bradm: Ping timeout: 252 seconds
[2012/02/22 18:54:38] @ Quit: bma: Read error: Connection reset by peer
[2012/02/22 18:54:38] @ Quit: chadh: Ping timeout: 252 seconds
[2012/02/22 18:54:39] @ Quit: artis: Ping timeout: 252 seconds
[2012/02/22 18:54:39] @ Quit: jeffx: Ping timeout: 252 seconds
[2012/02/22 18:54:40] @ Quit: zoobab: Ping timeout: 252 seconds
[2012/02/22 18:54:40] @ Quit: SirScott: Ping timeout: 252 seconds
[2012/02/22 18:54:41] @ Quit: _NiC: Ping timeout: 252 seconds
[2012/02/22 18:54:42] @ Quit: HCoyote: Ping timeout: 252 seconds
[2012/02/22 18:54:42] @ Quit: _rc: Ping timeout: 252 seconds
[2012/02/22 18:54:43] @ Quit: adedommelin: Remote host closed the connection
[2012/02/22 18:54:43] @ adedomme1in joined channel #puppet
[2012/02/22 18:54:44] <campee> it won't even run the first time
[2012/02/22 18:54:44] <nate_h> could possible try stages
[2012/02/22 18:54:44] <nate_h> put that first class in a pre run stage
[2012/02/22 18:54:44] @ Damianz_ is now known as Damianz
[2012/02/22 18:54:46] <eric0> 'class that installs the facts' ??
[2012/02/22 18:54:56] <campee> if i remove the offending template, it will run. and then if i put the offending template back in, it will work because now it knows the value of the variable in it
[2012/02/22 18:55:04] @ Quit: f3ew: Remote host closed the connection
[2012/02/22 18:55:04] <eric0> you should use pluginsync, it will install and load the facts before anything runs
[2012/02/22 18:55:09] @ f3ew joined channel #puppet
[2012/02/22 18:55:12] @ Maliuta joined channel #puppet
[2012/02/22 18:55:19] <nate_h> eric0, ya i was just wondering that too
[2012/02/22 18:55:20] <eric0> without any code involvement
[2012/02/22 18:55:52] <nate_h> cause facter has access to puppet facts anyways, no reason to "install" them
[2012/02/22 18:56:07] @ Quit: Damianz: Changing host
[2012/02/22 18:56:07] @ Damianz joined channel #puppet
[2012/02/22 18:56:13] <campee> i'm placing a file with my facter facts in it in /var/lib/puppet/lib/facter/
[2012/02/22 18:56:25] <torrancew> ouch
[2012/02/22 18:56:26] @ Quit: spiette: Ping timeout: 260 seconds
[2012/02/22 18:56:29] <eric0> campee: yeah, don't do that
[2012/02/22 18:56:32] <campee> i tried pluginsync and i had issues with it, i don't remember what they were though, which i'm sure you'll ask :)
[2012/02/22 18:56:42] <nate_h> http://docs.puppetlabs.com/guides/plugins_in_modules.html
[2012/02/22 18:56:47] <nate_h> try again :)
[2012/02/22 18:57:21] <eric0> http://docs.puppetlabs.com/guides/custom_facts.html
[2012/02/22 18:57:34] <campee> basically i have three environment, prod, dmz, and qa. and i want to install the same facts in each environment, but with different values. will pluginsync accomodate that?
[2012/02/22 18:57:38] @ astrostl_ joined channel #puppet
[2012/02/22 18:57:56] <nate_h> campee, you should make your facts read from a file and lay that file down via the env
[2012/02/22 18:58:05] <nate_h> if you're doing something like hard coding a value into a fact.. not great
[2012/02/22 18:59:00] <Rockj> kjetilho: hm, I guess I have to make my own type then, problem with notify type is that it is always a CHANGE and print every time. hm
[2012/02/22 18:59:08] <campee> i want to configure resolv.conf in each environment with a template. nameserver <%= dns1 %>
[2012/02/22 18:59:10] <nate_h> campee, but honestly i'd put that data in an external lookup
[2012/02/22 18:59:30] <campee> and then in each environment i would set dns1 to be the correct IP. am i going about this all wrong?
[2012/02/22 19:00:06] <nate_h> campee, its common practice to store stuff like that in an external data store, like extlookup, hiera, enc, etc
[2012/02/22 19:00:13] @ w3lly joined channel #puppet
[2012/02/22 19:00:51] <nate_h> http://projects.puppetlabs.com/projects/hiera
[2012/02/22 19:00:55] @ Quit: neonflux: Read error: Connection reset by peer
[2012/02/22 19:00:59] @ neonflux1 joined channel #puppet
[2012/02/22 19:01:09] <nate_h> the example in the doc for it uses ntp, but dns is pretty similar :)
[2012/02/22 19:01:21] @ Quit: neonflux1: Client Quit
[2012/02/22 19:02:45] <nate_h> https://github.com/puppetlabs/hiera https://github.com/puppetlabs/hiera-puppet
[2012/02/22 19:02:52] @ Tobu joined channel #puppet
[2012/02/22 19:03:00] <campee> i'll check it out. right now i think i will just try strictly puppet to get it working and then move on to something like hiera in the future once i get things figured out a little better
[2012/02/22 19:03:22] @ amaninacan joined channel #puppet
[2012/02/22 19:03:26] @ greenman is now known as greenman_gone
[2012/02/22 19:03:49] <nate_h> campee, then i'd just store that data in a global variable and pass it into the class that creates your resolve.conf as a parameter
[2012/02/22 19:04:09] <nate_h> since eventually you'll be looking that data up and then passing it in
[2012/02/22 19:04:15] <campee> how do you do that?
[2012/02/22 19:04:43] <nate_h> have you looked at parameterized classes?
[2012/02/22 19:04:47] <campee> no
[2012/02/22 19:05:08] <campee> google'ing :)
[2012/02/22 19:05:32] <nate_h> then when you decide to change the data source the module won't need to change at all :)
[2012/02/22 19:05:36] @ Quit: proton_: Changing host
[2012/02/22 19:05:36] @ proton_ joined channel #puppet
[2012/02/22 19:08:27] @ cliff-hm joined channel #puppet
[2012/02/22 19:09:08] @ Quit: _moses_: Ping timeout: 255 seconds
[2012/02/22 19:10:52] @ Quit: duerF: Quit: Leaving
[2012/02/22 19:15:46] @ Kazuhiro1 left channel #puppet ()
[2012/02/22 19:16:35] @ systest joined channel #puppet
[2012/02/22 19:18:01] @ Quit: brtl: Quit: Leaving.
[2012/02/22 19:18:27] @ Quit: DJClean: Read error: Operation timed out
[2012/02/22 19:18:39] @ Quit: dan__t: Ping timeout: 240 seconds
[2012/02/22 19:19:14] @ Quit: Enoria: Ping timeout: 272 seconds
[2012/02/22 19:19:46] @ Enoria joined channel #puppet
[2012/02/22 19:20:08] <systest> If I specify " file { '/fu/bar/sna/fu': ensure => directory,} ", will the parent dirs of "fu" be created if they don't exist?
[2012/02/22 19:20:24] <diq> nawp
[2012/02/22 19:20:31] @ Quit: ewoud: Ping timeout: 272 seconds
[2012/02/22 19:20:36] @ ewoud joined channel #puppet
[2012/02/22 19:21:04] @ Quit: samkottl_: Remote host closed the connection
[2012/02/22 19:21:22] <systest> bummer, tks
[2012/02/22 19:22:25] @ Quit: Tobu: *.net *.split
[2012/02/22 19:22:26] @ Quit: adedomme1in: *.net *.split
[2012/02/22 19:22:27] @ Quit: bodepd_: *.net *.split
[2012/02/22 19:22:28] @ Quit: motomike: *.net *.split
[2012/02/22 19:22:29] @ Quit: ezmobius|zoning|: *.net *.split
[2012/02/22 19:22:29] @ Quit: breidh: *.net *.split
[2012/02/22 19:22:30] @ Quit: tim|mac: *.net *.split
[2012/02/22 19:22:30] @ Quit: siert: *.net *.split
[2012/02/22 19:22:31] @ Quit: lisa: *.net *.split
[2012/02/22 19:22:32] @ Quit: windowsrefund: *.net *.split
[2012/02/22 19:22:32] @ Quit: bpgoldsb: *.net *.split
[2012/02/22 19:22:33] @ Quit: masterzen: *.net *.split
[2012/02/22 19:22:34] @ Quit: Scott-Mc: *.net *.split
[2012/02/22 19:22:35] @ Quit: johwir: *.net *.split
[2012/02/22 19:22:36] @ Quit: mattr: *.net *.split
[2012/02/22 19:22:37] @ Quit: Rockj: *.net *.split
[2012/02/22 19:22:37] @ Quit: lavaman: *.net *.split
[2012/02/22 19:22:38] @ Quit: salajander: *.net *.split
[2012/02/22 19:22:38] @ Quit: filler: *.net *.split
[2012/02/22 19:22:39] @ Quit: hamish: *.net *.split
[2012/02/22 19:22:40] @ Quit: lawnchair: *.net *.split
[2012/02/22 19:22:40] @ Quit: Guest65296: *.net *.split
[2012/02/22 19:22:41] @ Quit: skullone_: *.net *.split
[2012/02/22 19:22:41] @ Quit: Bobracha: *.net *.split
[2012/02/22 19:22:42] @ Quit: Dantman: *.net *.split
[2012/02/22 19:22:43] @ Quit: cosimo: *.net *.split
[2012/02/22 19:22:44] @ Quit: econnell: *.net *.split
[2012/02/22 19:22:45] @ Quit: bosszaru: *.net *.split
[2012/02/22 19:22:47] @ Quit: hno: *.net *.split
[2012/02/22 19:22:47] @ Quit: viq: *.net *.split
[2012/02/22 19:22:48] @ Quit: tomaw: *.net *.split
[2012/02/22 19:22:49] @ Quit: rgmarcha: *.net *.split
[2012/02/22 19:22:49] @ Quit: tmm1: *.net *.split
[2012/02/22 19:22:51] @ Quit: Xenith: *.net *.split
[2012/02/22 19:22:53] @ Quit: colon_D: *.net *.split
[2012/02/22 19:22:54] @ Quit: mizzy: *.net *.split
[2012/02/22 19:22:54] @ Quit: mzi: *.net *.split
[2012/02/22 19:22:55] @ Quit: trulsa: *.net *.split
[2012/02/22 19:22:55] @ Quit: SunTsu: *.net *.split
[2012/02/22 19:22:56] @ Quit: nb: *.net *.split
[2012/02/22 19:22:56] @ Quit: bje: *.net *.split
[2012/02/22 19:22:58] @ Quit: fcami: *.net *.split
[2012/02/22 19:22:58] @ Quit: Volcane: *.net *.split
[2012/02/22 19:22:59] @ Quit: Legooolas: *.net *.split
[2012/02/22 19:23:00] @ Quit: crayfishx: *.net *.split
[2012/02/22 19:23:01] @ Quit: joschi: *.net *.split
[2012/02/22 19:23:01] @ Quit: marienz: *.net *.split
[2012/02/22 19:23:01] @ ryanxx joined channel #puppet
[2012/02/22 19:23:07] @ ryanxx left channel #puppet ()
[2012/02/22 19:23:12] @ aelman left channel #puppet ()
[2012/02/22 19:23:51] @ Quit: the_ramink: Ping timeout: 240 seconds
[2012/02/22 19:24:05] @ ezmobius joined channel #puppet
[2012/02/22 19:25:04] <haus> systest: https://projects.puppetlabs.com/issues/86 is the relevant ticket for that issue
[2012/02/22 19:25:14] <haus> er...for that feature rather
[2012/02/22 19:25:37] @ econnell joined channel #puppet
[2012/02/22 19:25:40] @ Quit: willaerk: Quit: Leaving
[2012/02/22 19:27:29] @ gniks joined channel #puppet
[2012/02/22 19:27:40] @ Quit: gniks: Changing host
[2012/02/22 19:27:40] @ gniks joined channel #puppet
[2012/02/22 19:28:02] <systest> haus: thanks
[2012/02/22 19:28:11] @ odyi joined channel #puppet
[2012/02/22 19:28:11] @ Tobu joined channel #puppet
[2012/02/22 19:28:11] @ adedomme1in joined channel #puppet
[2012/02/22 19:28:11] @ bodepd_ joined channel #puppet
[2012/02/22 19:28:11] @ motomike joined channel #puppet
[2012/02/22 19:28:11] @ ezmobius|zoning| joined channel #puppet
[2012/02/22 19:28:12] @ breidh joined channel #puppet
[2012/02/22 19:28:12] @ tim|mac joined channel #puppet
[2012/02/22 19:28:12] @ hno joined channel #puppet
[2012/02/22 19:28:12] @ siert joined channel #puppet
[2012/02/22 19:28:12] @ lisa joined channel #puppet
[2012/02/22 19:28:12] @ windowsrefund joined channel #puppet
[2012/02/22 19:28:12] @ bpgoldsb joined channel #puppet
[2012/02/22 19:28:12] @ masterzen joined channel #puppet
[2012/02/22 19:28:12] @ Scott-Mc joined channel #puppet
[2012/02/22 19:28:12] @ johwir joined channel #puppet
[2012/02/22 19:28:12] @ mattr joined channel #puppet
[2012/02/22 19:28:12] @ Rockj joined channel #puppet
[2012/02/22 19:28:12] @ lavaman joined channel #puppet
[2012/02/22 19:28:12] @ salajander joined channel #puppet
[2012/02/22 19:28:12] @ filler joined channel #puppet
[2012/02/22 19:28:12] @ hamish joined channel #puppet
[2012/02/22 19:28:12] @ lawnchair joined channel #puppet
[2012/02/22 19:28:12] @ Guest65296 joined channel #puppet
[2012/02/22 19:28:12] @ skullone_ joined channel #puppet
[2012/02/22 19:28:13] @ Bobracha joined channel #puppet
[2012/02/22 19:28:13] @ Dantman joined channel #puppet
[2012/02/22 19:28:13] @ cosimo joined channel #puppet
[2012/02/22 19:28:13] @ bosszaru joined channel #puppet
[2012/02/22 19:28:13] @ viq joined channel #puppet
[2012/02/22 19:28:13] @ tomaw joined channel #puppet
[2012/02/22 19:28:13] @ rgmarcha joined channel #puppet
[2012/02/22 19:28:13] @ tmm1 joined channel #puppet
[2012/02/22 19:28:13] @ Xenith joined channel #puppet
[2012/02/22 19:28:13] @ colon_D joined channel #puppet
[2012/02/22 19:28:13] @ mizzy joined channel #puppet
[2012/02/22 19:28:13] @ mzi joined channel #puppet
[2012/02/22 19:28:13] @ trulsa joined channel #puppet
[2012/02/22 19:28:13] @ SunTsu joined channel #puppet
[2012/02/22 19:28:13] @ nb joined channel #puppet
[2012/02/22 19:28:13] @ bje joined channel #puppet
[2012/02/22 19:28:13] @ fcami joined channel #puppet
[2012/02/22 19:28:13] @ Volcane joined channel #puppet
[2012/02/22 19:28:14] @ Legooolas joined channel #puppet
[2012/02/22 19:28:14] @ crayfishx joined channel #puppet
[2012/02/22 19:28:14] @ marienz joined channel #puppet
[2012/02/22 19:28:14] @ joschi joined channel #puppet
[2012/02/22 19:28:14] @ Quit: ezmobius|zoning|: Ping timeout: 272 seconds
[2012/02/22 19:28:22] <conner> I'm having a brain fart today
[2012/02/22 19:28:28] <conner> can I use $puppetmaster in erb?
[2012/02/22 19:29:30] @ elmo_ is now known as elmo
[2012/02/22 19:30:49] @ Quit: bkero_: Changing host
[2012/02/22 19:30:49] @ bkero_ joined channel #puppet
[2012/02/22 19:31:26] @ ezmobius is now known as ezmobius|zoning
[2012/02/22 19:31:47] <joe-mac> puppet apply -e 'notice inline_template("<%= scope.lookupvar(\"::puppetmaster\") -%>")'
[2012/02/22 19:31:56] <joe-mac> you could do ::server instead probably
[2012/02/22 19:32:32] <eric0> settings::server
[2012/02/22 19:32:41] @ Quit: alfism: Quit: alfism
[2012/02/22 19:33:03] <joe-mac> yea the settings class, that one slips my mind for some reason
[2012/02/22 19:33:24] <conner> ya, thanks, I beat my head on the wall every time I want to figure out the current puppetmaster
[2012/02/22 19:33:39] @ st33v joined channel #puppet
[2012/02/22 19:33:41] <conner> http://docs.puppetlabs.com/guides/faq.html#are-there-variables-available-other-than-those-provided-by-facter
[2012/02/22 19:33:43] <eric0> if it matters, you might be doin' it wrong
[2012/02/22 19:33:54] <conner> $servername
[2012/02/22 19:34:37] <conner> I never remember that because facter --puppet doesn't list it
[2012/02/22 19:34:42] <Volcane> yeah why woul u need to know the master name?
[2012/02/22 19:34:54] <conner> Volcane, I'm writting puppet.conf
[2012/02/22 19:35:04] <conner> rewritting anyways
[2012/02/22 19:35:09] <nate_h> is is a require supposed to fire an exec resource that has refreshonly=> true set?
[2012/02/22 19:35:23] <eric0> nate_h: no, notify the exec
[2012/02/22 19:35:27] <conner> nate_h, I think you need to notify
[2012/02/22 19:35:34] <conner> nate_h, subscribe works from the exec too
[2012/02/22 19:35:36] <nate_h> eric0, but I need it to fire before the package
[2012/02/22 19:35:49] @ ascarter_ joined channel #puppet
[2012/02/22 19:35:56] <nate_h> guess i'll have to put a test in the exec
[2012/02/22 19:35:58] <eric0> then refrshonly won't work for you
[2012/02/22 19:36:18] @ Quit: ascarter: Ping timeout: 245 seconds
[2012/02/22 19:36:18] @ ascarter_ is now known as ascarter
[2012/02/22 19:38:51] @ bkero_ is now known as bkero
[2012/02/22 19:43:21] @ Quit: mogitux: Ping timeout: 255 seconds
[2012/02/22 19:43:39] @ _moses_ joined channel #puppet
[2012/02/22 19:44:30] <campee> is there a way to enable pluginsync when running puppetd manually?
[2012/02/22 19:45:37] <conner> campee, use a configuration file that enables pluginsync?
[2012/02/22 19:45:38] <eric0> --pluginsync
[2012/02/22 19:45:46] <conner> whaaa, there's a flag?
[2012/02/22 19:46:02] <campee> i didn't see that in man puppetd
[2012/02/22 19:46:15] @ Quit: jiboumans__: Quit: jiboumans__
[2012/02/22 19:46:18] <eric0> any configuration directive is also valid flag
[2012/02/22 19:46:23] <campee> thanks!
[2012/02/22 19:48:58] @ Callek joined channel #puppet
[2012/02/22 19:49:36] @ nutron joined channel #puppet
[2012/02/22 19:49:50] @ Quit: st33v: Quit: st33v
[2012/02/22 19:51:06] @ st33v joined channel #puppet
[2012/02/22 19:52:03] <campee> if you add a custom facter fact to a module, will only the hosts that are configured to use that module see the custom fact?
[2012/02/22 19:53:30] <torrancew> campee: no. If you follow the plugins-in-modules method, and enable pluginsync, all clients will get that fact
[2012/02/22 19:53:38] @ Quit: spicyWith: Ping timeout: 252 seconds
[2012/02/22 19:53:39] <campee> oh. :/
[2012/02/22 19:53:50] <campee> that seems.. wrong?
[2012/02/22 19:54:07] <nate_h> campee, that's because you aren't supposed to use facts the way you are ;P
[2012/02/22 19:54:17] <torrancew> campee: I'd tend to agree with nate_h
[2012/02/22 19:54:19] <nate_h> campee, they are supposed to gather info from the host, not act as a datasource
[2012/02/22 19:54:19] <campee> what are you supposed to use facts for?
[2012/02/22 19:54:27] <torrancew> a fact is just that, a fact about the host
[2012/02/22 19:54:47] <nate_h> its data that already exists on the host, like the memory, cpu, etc
[2012/02/22 19:54:49] <torrancew> A given fact should have a value on all of my nodes, even if it's some boilerplate value like "undefined"
[2012/02/22 19:55:03] @ newtMcKerr joined channel #puppet
[2012/02/22 19:55:21] @ Quit: kerframil: Ping timeout: 252 seconds
[2012/02/22 19:55:30] <nate_h> you want to use parameterized classes and pass that dns value into the class
[2012/02/22 19:55:54] <campee> i guess i have no choice
[2012/02/22 19:56:01] <campee> i thought this was a reasonable use of facter
[2012/02/22 19:56:08] <conner> the puppet client and master both using puppet.conf drives me crazy
[2012/02/22 19:56:18] <nate_h> campee, if you really want to do it that way you can make your fact read from a file
[2012/02/22 19:56:27] <nate_h> campee, and lay down a different file based on environment
[2012/02/22 19:56:43] <nate_h> its just not optimal
[2012/02/22 19:56:50] <nate_h> conner, but they have different sections in the conf?
[2012/02/22 19:56:53] <campee> that's what i was doing before, but puppet wouldn't run because one of my templates didn't know the value of a variable
[2012/02/22 19:56:54] <torrancew> nate_h: I think he'll still have a race condition with the initial fact distribution
[2012/02/22 19:57:13] @ proton_ is now known as proton
[2012/02/22 19:57:21] <conner> nate_h, ya, it's just a pita since your master is probably a client too
[2012/02/22 19:57:41] <eric0> conner: running passenger or nginx? add a --configfile=/etc/puppet/master.conf to the commandline and problem solved
[2012/02/22 19:57:49] <nate_h> torrancew, i thought that was removed with pluginsync? and then ensuring that the file which contains the dns servers the fact reads is laid down first?
[2012/02/22 19:57:55] <torrancew> conner: I can agree. I have a ton of logic in a template (:/) to handle the case where a client is a master
[2012/02/22 19:57:55] <conner> eric0, passenger
[2012/02/22 19:57:59] <torrancew> nate_h: right, but think about this
[2012/02/22 19:58:05] <torrancew> the fact gets distributed by pluginsync
[2012/02/22 19:58:13] <eric0> conner: sorry its just --config=/etc/puppet/master.conf (or whatever) not configfile
[2012/02/22 19:58:19] <torrancew> but the file that puppet is placing per-env wouldn't be there yet (unless you release carefully)
[2012/02/22 19:58:45] <nate_h> torrancew, that facts execute upon transfer?
[2012/02/22 19:59:03] <torrancew> they are evaluated at the start of the puppet run IIRC
[2012/02/22 19:59:03] <conner> torrancew, well I had been being sloppy about it but now I want to done right... i don't suppose your module is posted? :)
[2012/02/22 19:59:08] <nate_h> torrancew, ah
[2012/02/22 19:59:12] @ Quit: _moses_: Quit: leaving
[2012/02/22 19:59:26] <torrancew> conner: it is, but it has some dependencies on other modules of mine. STill, you're free to look
[2012/02/22 20:00:00] <conner> torrancew, oh goodie ;)
[2012/02/22 20:00:29] <conner> eric0, I'm rails retard...where does the passenger invocation string live?
[2012/02/22 20:00:53] <torrancew> conner: exuse the slooooow vps (and the mostly unpopulated readme)
[2012/02/22 20:00:57] <torrancew> http://code.sudobangbang.org/puppet-puppet.git/HEAD/tree
[2012/02/22 20:02:15] <eric0> conner: inside config.ru, one level up from wherever the PassengerRoot directory points in apache config
[2012/02/22 20:02:40] <conner> torrancew, that's not so bad actually
[2012/02/22 20:03:13] <antarus> is it possible to pivot what environment to serve a client based off of ENC or a client fact?
[2012/02/22 20:03:33] @ spicyWith joined channel #puppet
[2012/02/22 20:03:48] <conner> eric0, ARGV << "--rack --config=<...>" ?
[2012/02/22 20:03:52] <torrancew> conner: work in progress, to say the least, but I use it in my lab env with predictable results
[2012/02/22 20:03:57] @ Demosthenes joined channel #puppet
[2012/02/22 20:04:42] <conner> nate_h, I discovered the sysctl type
[2012/02/22 20:04:49] <conner> nate_h, zomg, where has that been
[2012/02/22 20:05:01] <micah> heh
[2012/02/22 20:05:04] <eric0> conner: no, make a new line with ARGV << "--config=/path/to/master.conf"
[2012/02/22 20:05:33] <conner> eric0, aww, I guess << is some sort of array/stack operation
[2012/02/22 20:05:36] <eric0> conner: just like exec(3) argv
[2012/02/22 20:05:38] <nate_h> conner, yep i got that in my stack :)
[2012/02/22 20:06:52] @ w3lly1 joined channel #puppet
[2012/02/22 20:07:14] <nate_h> mother F***, i swear linux never handles no disk space properly
[2012/02/22 20:07:30] <nate_h> apt install just hanging over and over and assumed it was some other problem
[2012/02/22 20:07:33] <nate_h> all along.. no more space
[2012/02/22 20:08:32] @ Quit: w3lly: Ping timeout: 244 seconds
[2012/02/22 20:08:40] @ Quit: w3lly1: Client Quit
[2012/02/22 20:09:19] @ Quit: newtMcKerr: Quit: Leaving.
[2012/02/22 20:09:31] <bob2> ie random userspace things not linux
[2012/02/22 20:09:34] <bob2> what should it do?
[2012/02/22 20:10:22] <nate_h> just seems like the errors from lack of disk space can be very cryptic
[2012/02/22 20:11:00] @ Quit: kenperkins: Ping timeout: 244 seconds
[2012/02/22 20:11:06] @ newtMcKerr joined channel #puppet
[2012/02/22 20:11:34] <conner> nate_h, on that's cute, Sysctl {notify => Exec[load-sysctl]} triggers the exec on every run
[2012/02/22 20:13:47] @ Quit: ascarter: Quit: Computer has gone to sleep.
[2012/02/22 20:13:48] <conner> nate_h, argh, it's the sysctl type
[2012/02/22 20:14:12] @ Quit: carpenoctem: Ping timeout: 245 seconds
[2012/02/22 20:14:29] <nate_h> conner, mine doesn't
[2012/02/22 20:14:46] <nate_h> it should only trigger when a new value is loaded
[2012/02/22 20:15:10] <conner> nate_h, I dropped the Sysctl{} and this hits the reload and every single run sysctl { 'net.core.netdev_max_backlog': val => '30000', notify => Exec[load-sysctl]
[2012/02/22 20:15:13] <ncjohnsto> anyone know of any issues with regex matching for nodes in 2.7.9?
[2012/02/22 20:15:21] <ncjohnsto> node /somehost.*/ {
[2012/02/22 20:15:28] <ncjohnsto> does not seem to work
[2012/02/22 20:16:02] @ ncjohnsto is now known as chjohnst
[2012/02/22 20:16:08] <nate_h> conner, i think i use this one
[2012/02/22 20:16:09] <nate_h> https://github.com/duritong/puppet-sysctl
[2012/02/22 20:16:21] @ alup_ joined channel #puppet
[2012/02/22 20:16:37] @ Quit: alup: Ping timeout: 252 seconds
[2012/02/22 20:16:52] <conner> nate_h, that's the one
[2012/02/22 20:16:58] @ mizzy left channel #puppet ("WeeChat 0.3.6")
[2012/02/22 20:17:03] <conner> are you using is sysctl::value class?
[2012/02/22 20:17:06] <conner> *it's
[2012/02/22 20:17:10] <nate_h> actually mine looks different
[2012/02/22 20:17:44] <nate_h> http://pastebin.com/26HWydLH
[2012/02/22 20:18:19] @ Quit: SIFTU: Read error: Connection reset by peer
[2012/02/22 20:18:50] <nate_h> oh finding where i use it
[2012/02/22 20:18:51] <conner> ya, I'm not using sysctl::value.. I'm using the sysctl type directly
[2012/02/22 20:19:12] <conner> still doesn't make sense why it's triggering the notify
[2012/02/22 20:19:22] @ SIFTU joined channel #puppet
[2012/02/22 20:19:30] <nate_h> conner, http://pastebin.com/9AdmdTG3
[2012/02/22 20:19:37] <nate_h> there is how i'm calling it
[2012/02/22 20:19:45] @ hk57 joined channel #puppet
[2012/02/22 20:20:06] <nate_h> it has a notify and refreshonly => true
[2012/02/22 20:20:18] <nate_h> and i manage all values via sysctl type so i purge
[2012/02/22 20:20:42] <nate_h> create_resources just calls all the sysctl::value types in a loop from the hash input
[2012/02/22 20:20:42] <conner> nate_h, if your using sysctl::value I don't think you need the exec at all
[2012/02/22 20:20:49] @ Quit: lak: Quit: Leaving.
[2012/02/22 20:20:50] @ Quit: seanh-ansca: Ping timeout: 244 seconds
[2012/02/22 20:21:01] <nate_h> ya noticing that now
[2012/02/22 20:21:04] <nate_h> not sure why i did that
[2012/02/22 20:21:13] @ dan__t joined channel #puppet
[2012/02/22 20:21:18] @ Quit: Miguelzinho: Quit: Leaving
[2012/02/22 20:21:37] <conner> nate_h, I'm trying sysctl::value now
[2012/02/22 20:21:45] <conner> I love dev in prod
[2012/02/22 20:21:49] <conner> I mean dev-ops
[2012/02/22 20:21:52] <conner> ya, dev-ops
[2012/02/22 20:22:16] <nate_h> conner, i have this printed out and put outside my cube wall
[2012/02/22 20:22:16] <nate_h> http://troll.me/i-dont-often-test-my-code-but-when-i-do-i-test-it-in-production/
[2012/02/22 20:22:44] @ Quit: danblack: Ping timeout: 260 seconds
[2012/02/22 20:23:04] @ hk57 left channel #puppet ()
[2012/02/22 20:24:50] <conner> nate_h, meh, http://pastebin.com/Tdm9jSaq
[2012/02/22 20:25:07] @ Quit: nfagerlund: Remote host closed the connection
[2012/02/22 20:25:12] <nate_h> how are you calling it?
[2012/02/22 20:25:28] <nate_h> just use the define
[2012/02/22 20:26:05] <conner> nate_h, http://pastebin.com/Bxvf5niA
[2012/02/22 20:26:06] <conner> i am
[2012/02/22 20:27:41] <conner> nate_h, the frigging exec doesn't have a path
[2012/02/22 20:28:12] @ Quit: newtMcKerr: Quit: Leaving.
[2012/02/22 20:28:14] @ Quit: zanefactory: Read error: No route to host
[2012/02/22 20:28:28] <nate_h> so that was the problem?
[2012/02/22 20:28:43] @ zanefactory joined channel #puppet
[2012/02/22 20:29:10] @ mgw joined channel #puppet
[2012/02/22 20:29:12] <conner> nate_h, the define is running exec without a path parameter
[2012/02/22 20:29:18] <nate_h> could try replacing your value.pp with the one i posted
[2012/02/22 20:30:03] <conner> nate_h, fixed
[2012/02/22 20:30:07] @ Quit: mgw: Read error: Connection reset by peer
[2012/02/22 20:30:40] <conner> nate_h, http://pastebin.com/mMYUaLP7
[2012/02/22 20:31:31] @ mgw joined channel #puppet
[2012/02/22 20:32:01] <nate_h> ya, i'm not sure why that value.pp tests again
[2012/02/22 20:32:09] <nate_h> i would think the type should provide the exists function
[2012/02/22 20:32:14] <nate_h> and not fire unless it does "exist"
[2012/02/22 20:32:25] <conner> nate_h, ya, it's grepping sysctl.conf to figure it out
[2012/02/22 20:32:33] <nate_h> ya but the type does that too
[2012/02/22 20:32:39] <conner> after the type has parsed the entire file
[2012/02/22 20:32:40] <conner> yep
[2012/02/22 20:33:33] <chjohnst> anyone know of any issues with regex matching for nodes in 2.7.9?
[2012/02/22 20:33:36] <chjohnst> node /somehost.*/ {
[2012/02/22 20:33:38] <chjohnst> does not seem to work
[2012/02/22 20:35:23] <conner> nate_h, the type only have namevar, val, target
[2012/02/22 20:36:02] @ danblack joined channel #puppet
[2012/02/22 20:37:10] <nate_h> hmm i see his notes on the commit
[2012/02/22 20:37:11] <conner> nate_h, it really should have ensure
[2012/02/22 20:37:37] <nate_h> says my way doesn't handle if the value failed to be set
[2012/02/22 20:37:48] <nate_h> if it once failed to set, it wouldn't try again or something
[2012/02/22 20:37:58] @ Quit: Wolfspyre: Read error: Operation timed out
[2012/02/22 20:38:00] <nate_h> and if something else changed the value then puppet wouldn't see it
[2012/02/22 20:38:08] <nate_h> https://github.com/duritong/puppet-sysctl/commit/783a4eaddb486d4b9455dc79d954a6b2fcb54b12
[2012/02/22 20:38:20] <conner> ya, i saw it
[2012/02/22 20:38:23] <nate_h> k
[2012/02/22 20:38:29] <nate_h> i guess i should grab that commit
[2012/02/22 20:39:06] <conner> i think this is somehow wrong
[2012/02/22 20:39:37] <conner> I think it will miss the fact that the value is already set in sysctl.conf but no applied to the running config
[2012/02/22 20:40:10] @ Quit: kelseyhightower: Quit: kelseyhightower
[2012/02/22 20:40:36] <conner> hmm, wai
[2012/02/22 20:40:45] <conner> I guess the type will fix sysctl.conf
[2012/02/22 20:40:53] <nate_h> isn't that what those extra checks are for?
[2012/02/22 20:40:56] <nate_h> to check the running config
[2012/02/22 20:41:24] @ Wolfspyre joined channel #puppet
[2012/02/22 20:41:40] <conner> maybe it's ok... the type is still odd... it needs an ensure
[2012/02/22 20:41:47] <conner> as-is, it can't remove
[2012/02/22 20:42:34] <nate_h> purge works for me?
[2012/02/22 20:42:40] @ HarrisonZhu joined channel #puppet
[2012/02/22 20:43:05] <mgw> themadcanudist: are you still trying to get the hostname override to work with puppet agent?
[2012/02/22 20:43:08] <conner> i don't want to purge the entire file
[2012/02/22 20:43:20] <nate_h> what do you want to purge?
[2012/02/22 20:43:22] <nate_h> err remove
[2012/02/22 20:43:24] @ Quit: rcrowley_: Quit: Computer has gone to sleep.
[2012/02/22 20:43:48] <conner> things like netdev_budget
[2012/02/22 20:43:59] <conner> I just want it out of the configfile
[2012/02/22 20:44:06] @ Quit: dan__t: Ping timeout: 272 seconds
[2012/02/22 20:44:21] <nate_h> ya you'd have to add that to the type i guess
[2012/02/22 20:44:29] <nate_h> a way to "remove"
[2012/02/22 20:44:47] <nate_h> i guess i got around that with purge, but that's not always feasible
[2012/02/22 20:45:30] <conner> something is screwy here
[2012/02/22 20:45:33] <conner> haha
[2012/02/22 20:45:34] <conner> bug
[2012/02/22 20:46:02] <conner> nate_h, the grep is broken. I'm trying to change a value from 300000 to 30000
[2012/02/22 20:46:06] <conner> the grep matches it
[2012/02/22 20:46:39] <nate_h> yuck
[2012/02/22 20:46:48] <nate_h> perhaps a $ ?
[2012/02/22 20:47:30] <nate_h> in the regexp
[2012/02/22 20:49:35] @ jaschal joined channel #puppet
[2012/02/22 20:49:45] <nate_h> yep, that fixed it
[2012/02/22 20:49:47] <conner> ya
[2012/02/22 20:49:50] <conner> just tested it
[2012/02/22 20:49:52] @ Quit: st33v: Quit: st33v
[2012/02/22 20:50:12] <nate_h> submit a merge request to him ;P
[2012/02/22 20:50:35] <conner> i probably will
[2012/02/22 20:51:04] <conner> hmm
[2012/02/22 20:51:14] <nate_h> duritong, your shit is borken, see above conversation ;)
[2012/02/22 20:51:24] <nate_h> there.. patch submitted
[2012/02/22 20:51:59] <conner> hmm, wth, that's not working
[2012/02/22 20:52:15] @ Quit: Prometheus: Ping timeout: 245 seconds
[2012/02/22 20:52:53] <conner> oh
[2012/02/22 20:53:10] <conner> single quotes inside of double quotes
[2012/02/22 20:53:50] @ Quit: systest: Quit: Leaving
[2012/02/22 20:53:57] <conner> how are you supposed to quote $?
[2012/02/22 20:54:00] <conner> \$ or $$/
[2012/02/22 20:54:02] <conner> ?
[2012/02/22 20:55:57] <nate_h> ack, gotta go, riding waiting
[2012/02/22 20:56:00] <nate_h> not sure about the escaping
[2012/02/22 20:56:14] <jaschal> I have a fairly simple question, how do I specify the arch for an RPM? package { '<name>': ensure => '<version>'}. I've tried tacking on .x86_64 to <name> and <version>, but each one causes a different problem in the underlying yum/rpm commands that puppet runs. If I don't specify arch, I might get both i386 and x86_64 packages, when I only want the latter.
[2012/02/22 20:56:32] <conner> nate_h, i gotta go too, cya
[2012/02/22 20:58:02] @ kerframil joined channel #puppet
[2012/02/22 21:00:31] <jaschal> Doh! Looks like it's a bug: http://projects.puppetlabs.com/issues/2662
[2012/02/22 21:01:51] @ Quit: cwarden: Ping timeout: 260 seconds
[2012/02/22 21:01:51] @ M- joined channel #puppet
[2012/02/22 21:03:19] @ Quit: danblack: Ping timeout: 260 seconds
[2012/02/22 21:04:43] @ Quit: Callek: Remote host closed the connection
[2012/02/22 21:07:14] @ dan__t joined channel #puppet
[2012/02/22 21:07:56] @ samkottler joined channel #puppet
[2012/02/22 21:10:03] @ ctracey joined channel #puppet
[2012/02/22 21:11:44] @ Quit: zanefactory: Quit: zanefactory
[2012/02/22 21:15:43] @ Quit: emmanuelux: Remote host closed the connection
[2012/02/22 21:15:45] @ danblack joined channel #puppet
[2012/02/22 21:16:30] @ rsnhyperion joined channel #puppet
[2012/02/22 21:16:59] @ jroid joined channel #puppet
[2012/02/22 21:17:53] @ Quit: dan__t: Ping timeout: 255 seconds
[2012/02/22 21:17:55] @ emmanuelux joined channel #puppet
[2012/02/22 21:18:06] @ Prometheus joined channel #puppet
[2012/02/22 21:18:06] @ newtMcKerr joined channel #puppet
[2012/02/22 21:19:31] @ Quit: motomike: Remote host closed the connection
[2012/02/22 21:20:05] @ motomike joined channel #puppet
[2012/02/22 21:21:19] @ Quit: erkules: Read error: Operation timed out
[2012/02/22 21:22:07] @ Quit: mgw: Quit: Leaving.
[2012/02/22 21:22:33] @ mgw joined channel #puppet
[2012/02/22 21:28:06] @ Quit: jroid: Remote host closed the connection
[2012/02/22 21:29:28] @ Quit: danblack: Ping timeout: 260 seconds
[2012/02/22 21:29:45] @ ezmobius|zoning is now known as ezmobius|zoning|
[2012/02/22 21:29:54] @ Quit: astrostl:
[2012/02/22 21:29:56] @ Quit: jeremyb_: Changing host
[2012/02/22 21:29:56] @ jeremyb_ joined channel #puppet
[2012/02/22 21:30:09] @ jeremyb_ is now known as jeremyb
[2012/02/22 21:30:58] @ Quit: pdtpatr1ck: Quit: pdtpatr1ck
[2012/02/22 21:31:43] @ gaveen joined channel #puppet
[2012/02/22 21:33:52] @ astrostl joined channel #puppet
[2012/02/22 21:36:44] @ Quit: astrostl: Client Quit
[2012/02/22 21:36:59] @ erkules joined channel #puppet
[2012/02/22 21:37:57] @ xjiujiu joined channel #puppet
[2012/02/22 21:41:48] @ Quit: mgw: Quit: Leaving.
[2012/02/22 21:42:21] @ danblack joined channel #puppet
[2012/02/22 21:44:15] @ Quit: Holocaine: Ping timeout: 252 seconds
[2012/02/22 21:44:15] @ Quit: rodjek: Ping timeout: 240 seconds
[2012/02/22 21:44:54] @ Quit: hamish: Ping timeout: 272 seconds
[2012/02/22 21:45:01] @ hamish joined channel #puppet
[2012/02/22 21:46:15] @ Quit: ctracey: Ping timeout: 240 seconds
[2012/02/22 21:47:23] @ gazoombo joined channel #puppet
[2012/02/22 21:47:35] <dballing> Anyone able to help me debug a certificates issue on 2.6.9? This is the first time this has happened, but the client is summarily hating on the auto-signed cert it gets back on first registering:
[2012/02/22 21:47:40] <dballing> http://pastebin.com/GhcWdU57
[2012/02/22 21:47:57] @ Quit: xjiujiu: Quit: No Ping reply in 180 seconds.
[2012/02/22 21:48:18] @ xjiujiu joined channel #puppet
[2012/02/22 21:49:10] @ Quit: kinsel8: Ping timeout: 244 seconds
[2012/02/22 21:49:13] @ Quit: xjiujiu: Read error: Connection reset by peer
[2012/02/22 21:49:35] @ Quit: proton: Ping timeout: 240 seconds
[2012/02/22 21:50:47] <dballing> anyone?
[2012/02/22 21:54:11] <avleen> hello
[2012/02/22 21:54:12] @ Quit: johnston: Ping timeout: 245 seconds
[2012/02/22 21:55:01] <avleen> dballing: i had somethign similar last week
[2012/02/22 21:55:12] <avleen> i had to remove all traces of puppet from the client, and reinstall it
[2012/02/22 21:55:23] <avleen> /var/lib/puppet, /etc/puppet. and whatever else I could find
[2012/02/22 21:55:29] <avleen> that seemed to fix it
[2012/02/22 21:55:37] @ Quit: hamish: Ping timeout: 252 seconds
[2012/02/22 21:55:38] <dballing> avleen: I've had this happen, just now, on two clean installs.
[2012/02/22 21:55:59] @ Quit: krilla: Ping timeout: 252 seconds
[2012/02/22 21:56:01] <avleen> no idea then :)
[2012/02/22 21:56:04] <dballing> seemingly out of nowhere. I mean, another host got deployed 20 minutes before the first "failure" and that node came up fine
[2012/02/22 21:56:08] @ mgw joined channel #puppet
[2012/02/22 21:56:15] <dballing> I'm happy to try it , what the hell, but...
[2012/02/22 21:57:17] @ pdtpatr1ck joined channel #puppet
[2012/02/22 21:57:26] @ Quit: mosen: Ping timeout: 244 seconds
[2012/02/22 21:58:18] @ Quit: Demosthenes: Ping timeout: 252 seconds
[2012/02/22 21:58:47] @ Quit: choonming_: Quit: Leaving
[2012/02/22 21:59:18] @ Holocaine joined channel #puppet
[2012/02/22 21:59:30] <dballing> nope, that didn't work. :-)
[2012/02/22 21:59:54] <dballing> considering the other host that was experiencing it was a brand-new fresh PXE boot, I'd've been astonished if that had solved it.
[2012/02/22 21:59:57] <dballing> :-)
[2012/02/22 22:00:17] @ MarkN joined channel #puppet
[2012/02/22 22:03:45] @ Quit: Holocaine: Ping timeout: 244 seconds
[2012/02/22 22:04:27] @ Quit: cyflea: Ping timeout: 260 seconds
[2012/02/22 22:04:38] @ Quit: rsnhyperion: Ping timeout: 245 seconds
[2012/02/22 22:04:39] @ Quit: MarkN: Ping timeout: 252 seconds
[2012/02/22 22:06:15] @ _flex joined channel #puppet
[2012/02/22 22:14:14] @ astrostl joined channel #puppet
[2012/02/22 22:14:32] @ Holocaine joined channel #puppet
[2012/02/22 22:14:52] @ hamish joined channel #puppet
[2012/02/22 22:14:52] <dballing> aha!
[2012/02/22 22:14:58] <dballing> )!@#!@*)#!@ clocks
[2012/02/22 22:15:09] <dballing> the thing I said to ignore in my pastebin? it's the problem. :-)
[2012/02/22 22:15:37] @ alanevans joined channel #puppet
[2012/02/22 22:17:58] @ Quit: comptona: Ping timeout: 245 seconds
[2012/02/22 22:18:09] @ Quit: newtMcKerr: Quit: Leaving.
[2012/02/22 22:18:17] @ kinsel8 joined channel #puppet
[2012/02/22 22:20:43] @ Quit: londo: Ping timeout: 265 seconds
[2012/02/22 22:21:11] @ Quit: Stenbryggen: Quit: Leaving.
[2012/02/22 22:23:27] @ bradm_ is now known as bradm
[2012/02/22 22:27:37] @ mosen joined channel #puppet
[2012/02/22 22:27:38] @ rodjek joined channel #puppet
[2012/02/22 22:31:56] @ Quit: mgw: Quit: Leaving.
[2012/02/22 22:33:05] @ Quit: rodjek: Ping timeout: 244 seconds
[2012/02/22 22:33:16] @ rodjek joined channel #puppet
[2012/02/22 22:33:26] @ Quit: Holocaine: Ping timeout: 260 seconds
[2012/02/22 22:34:31] @ MarkN joined channel #puppet
[2012/02/22 22:35:34] @ Quit: motomike: Quit: Leaving.
[2012/02/22 22:37:39] @ Holocaine joined channel #puppet
[2012/02/22 22:38:36] @ Quit: abetterlie: Ping timeout: 265 seconds
[2012/02/22 22:40:06] @ abetterlie joined channel #puppet
[2012/02/22 22:41:02] @ Quit: jaschal: Quit: jaschal
[2012/02/22 22:44:26] @ Quit: Tobu: Ping timeout: 272 seconds
[2012/02/22 22:46:28] <denysonique__> Is it possible to override this value when declaring a class which includes this params clalass? https://github.com/jfryman/puppet-nginx/blob/master/manifests/params.pp#L20
[2012/02/22 22:46:41] @ jeremy_ joined channel #puppet
[2012/02/22 22:46:42] @ Quit: jeremy_: Changing host
[2012/02/22 22:46:42] @ jeremy_ joined channel #puppet
[2012/02/22 22:46:42] @ ctracey__ joined channel #puppet
[2012/02/22 22:47:35] @ Quit: astrostl:
[2012/02/22 22:49:05] @ Quit: jeremy_: Read error: Connection reset by peer
[2012/02/22 22:49:10] @ jeremy_ joined channel #puppet
[2012/02/22 22:49:42] @ Quit: jeremy: Ping timeout: 248 seconds
[2012/02/22 22:49:42] @ jeremy_ is now known as jeremy
[2012/02/22 22:50:08] @ Quit: ctracey_: Ping timeout: 244 seconds
[2012/02/22 22:53:17] <denysonique__> jamesfryman: Can these values be modified at the declaration of the nginx class? without having to directly edit params.pp ↑↑
[2012/02/22 22:54:32] @ Quit: emmanuelux: Read error: Connection reset by peer
[2012/02/22 22:54:39] @ Quit: cliff-hm: Ping timeout: 240 seconds
[2012/02/22 22:57:14] @ nkts joined channel #puppet
[2012/02/22 22:57:27] @ rburton- joined channel #puppet
[2012/02/22 22:57:38] @ ldlework joined channel #puppet
[2012/02/22 22:59:38] @ Quit: skullone_: Ping timeout: 272 seconds
[2012/02/22 22:59:49] @ skullone joined channel #puppet
[2012/02/22 23:05:24] @ jY- is now known as jY
[2012/02/22 23:08:28] @ mccun934 left channel #puppet ("Leaving")
[2012/02/22 23:08:43] @ fir31igh1 joined channel #puppet
[2012/02/22 23:09:41] @ Quit: fir31ight: Ping timeout: 276 seconds
[2012/02/22 23:10:13] @ Tobu joined channel #puppet
[2012/02/22 23:10:14] @ Quit: spicyWith: Quit: spicyWith
[2012/02/22 23:14:32] @ mgw joined channel #puppet
[2012/02/22 23:17:34] @ AshishH joined channel #puppet
[2012/02/22 23:18:20] @ bigwiggl1r joined channel #puppet
[2012/02/22 23:19:17] @ bobra joined channel #puppet
[2012/02/22 23:21:37] @ Quit: bigwiggler: Ping timeout: 265 seconds
[2012/02/22 23:24:13] @ Quit: gniks: Quit: Leaving.
[2012/02/22 23:24:36] @ Quit: Djelibeybi: Quit: Textual IRC Client: http://www.textualapp.com/
[2012/02/22 23:27:26] @ Djelibeybi joined channel #puppet
[2012/02/22 23:27:32] @ Quit: danblack: Ping timeout: 260 seconds
[2012/02/22 23:31:19] @ Quit: Holocaine:
[2012/02/22 23:40:17] @ _moses_ joined channel #puppet
[2012/02/22 23:41:42] @ gniks joined channel #puppet
[2012/02/22 23:41:43] @ Quit: gniks: Changing host
[2012/02/22 23:41:43] @ gniks joined channel #puppet
[2012/02/22 23:46:39] @ Lunenburg joined channel #puppet
[2012/02/22 23:50:53] @ Quit: gniks: Quit: Leaving.
[2012/02/22 23:52:18] @ Quit: cathper: Remote host closed the connection
[2012/02/22 23:53:53] <Lunenburg> Hi folks - I'm looking to see if there's a way that I can set up a class on my puppetmaster node to loop through all of the defined nodes and add a hosts entry for the internal IP. I think I'm good with the actual adding of the entry, but I'm curious as to how to get access to all defined hosts and loop through them with facter. Any pointers?
[2012/02/22 23:54:42] @ gniks joined channel #puppet
[2012/02/22 23:54:43] @ Quit: gniks: Changing host
[2012/02/22 23:54:43] @ gniks joined channel #puppet
[2012/02/22 23:58:35] @ loganspencer joined channel #puppet
[2012/02/23 00:00:25] @ Log closed by gepetto (log rotation)

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