| [2010/06/08 00:00:05] @ Log started by gepetto | ||
| [2010/06/08 00:00:05] @ MarkN left channel #puppet () | ||
| [2010/06/08 00:05:19] @ achester joined channel #puppet | ||
| [2010/06/08 00:08:07] <QtPlatypus> Is there anyway to test if a file has a perticular line in puppet? | ||
| [2010/06/08 00:09:58] @ Quit: shenson: Quit: /me taps out | ||
| [2010/06/08 00:09:59] <PaulWay[w]> Not in-built, but many use clever incantations based on exec. | ||
| [2010/06/08 00:11:26] <PaulWay[w]> Mine is http://fpaste.org/GPRO/ | ||
| [2010/06/08 00:14:54] <QtPlatypus> PaulWay[w]: Execlent. | ||
| [2010/06/08 00:18:42] @ pheezy joined channel #puppet | ||
| [2010/06/08 00:19:11] @ Quit: gaveen: Ping timeout: 258 seconds | ||
| [2010/06/08 00:24:27] @ Quit: pheezy: Remote host closed the connection | ||
| [2010/06/08 00:31:58] @ gaveen joined channel #puppet | ||
| [2010/06/08 00:39:30] @ snoop joined channel #puppet | ||
| [2010/06/08 00:54:49] @ wilmoore_ joined channel #puppet | ||
| [2010/06/08 00:57:27] @ Quit: wilmoore: Ping timeout: 240 seconds | ||
| [2010/06/08 01:00:33] @ mqr_ joined channel #puppet | ||
| [2010/06/08 01:03:10] @ Quit: mqr: Ping timeout: 240 seconds | ||
| [2010/06/08 01:09:42] @ Quit: rodnet: Quit: rodnet | ||
| [2010/06/08 01:16:36] @ lak joined channel #puppet | ||
| [2010/06/08 01:17:09] @ \ask joined channel #puppet | ||
| [2010/06/08 01:19:17] <snoop> hello, i begin with puppet, i have a certificate problem, i have the following message, Error 400 on SERVER: undefined method `info' for nil:NilClass , i try to revoke the client and add manually, nothing change, any idea ? i take all | ||
| [2010/06/08 01:46:30] @ Quit: kolla: Remote host closed the connection | ||
| [2010/06/08 01:47:04] @ Quit: wilmoore_: | ||
| [2010/06/08 01:49:02] <PaulWay[w]> snoop: I had something like that - check your config. | ||
| [2010/06/08 01:49:27] <PaulWay[w]> I'd recently added something that was syntactically invalid, but it didn't quite pick it up correctly. | ||
| [2010/06/08 01:49:40] <PaulWay[w]> Rearrange some things that you've recently added and see if that helps. | ||
| [2010/06/08 01:49:57] <PaulWay[w]> It may give you an error line and file at some stage. | ||
| [2010/06/08 01:50:51] @ CodeBlock joined channel #puppet | ||
| [2010/06/08 01:51:42] @ Quit: avocado: Remote host closed the connection | ||
| [2010/06/08 01:55:04] <snoop> Thx PaulWay[w], i'll try a new install with 0.24.5, i used 0.25.5 | ||
| [2010/06/08 01:57:20] @ mattock joined channel #puppet | ||
| [2010/06/08 01:57:50] @ Guest27927 left channel #puppet () | ||
| [2010/06/08 02:00:25] @ m1nish joined channel #puppet | ||
| [2010/06/08 02:09:52] @ fruers joined channel #puppet | ||
| [2010/06/08 02:10:12] @ Quit: ohadlevy: Ping timeout: 245 seconds | ||
| [2010/06/08 02:10:43] <fruers> Is anyone using the augeas type? I'm trying to create resources but they are continually applied | ||
| [2010/06/08 02:11:21] <fruers> I know I can do it with 'onlyif', but it seems a bit cumbersome | ||
| [2010/06/08 02:11:33] <fruers> There is a flag need_to_run that looks interesting | ||
| [2010/06/08 02:11:42] <fruers> Does anyone know how to use it? | ||
| [2010/06/08 02:11:55] <fruers> s/continually/repeatedly/ | ||
| [2010/06/08 02:12:39] @ Quit: lak: Quit: lak | ||
| [2010/06/08 02:21:59] @ Quit: alban2: Quit: Leaving. | ||
| [2010/06/08 02:24:46] @ nexx joined channel #puppet | ||
| [2010/06/08 02:32:09] @ dreacu666 joined channel #puppet | ||
| [2010/06/08 02:33:17] @ kolla joined channel #puppet | ||
| [2010/06/08 02:39:23] @ Quit: OpenMedia: Quit: Leaving. | ||
| [2010/06/08 02:40:50] @ Quit: fruers: Quit: Leaving | ||
| [2010/06/08 02:41:11] @ Quit: ahuman: Remote host closed the connection | ||
| [2010/06/08 02:41:24] @ Quit: \ask: Quit: Leaving... | ||
| [2010/06/08 02:46:52] @ erlingre joined channel #puppet | ||
| [2010/06/08 02:47:01] @ Quit: telmich_: Changing host | ||
| [2010/06/08 02:47:01] @ telmich_ joined channel #puppet | ||
| [2010/06/08 02:47:01] @ telmich_ is now known as telmich | ||
| [2010/06/08 02:52:35] @ \ask joined channel #puppet | ||
| [2010/06/08 02:53:29] @ giskard joined channel #puppet | ||
| [2010/06/08 02:56:30] @ pmorillo joined channel #puppet | ||
| [2010/06/08 02:57:08] @ Quit: pmorillo: Client Quit | ||
| [2010/06/08 03:00:09] @ pmorillo joined channel #puppet | ||
| [2010/06/08 03:00:18] @ Quit: proton: Ping timeout: 248 seconds | ||
| [2010/06/08 03:01:13] @ proton joined channel #puppet | ||
| [2010/06/08 03:01:31] @ Quit: giskard: Remote host closed the connection | ||
| [2010/06/08 03:04:42] @ shug joined channel #puppet | ||
| [2010/06/08 03:05:41] @ brettgoulder_ joined channel #puppet | ||
| [2010/06/08 03:05:51] @ allsystemsarego joined channel #puppet | ||
| [2010/06/08 03:06:38] @ Quit: brettgoulder: Ping timeout: 260 seconds | ||
| [2010/06/08 03:06:38] @ brettgoulder_ is now known as brettgoulder | ||
| [2010/06/08 03:10:27] @ moop23 joined channel #puppet | ||
| [2010/06/08 03:16:38] @ herdingcat joined channel #puppet | ||
| [2010/06/08 03:25:21] @ giskard joined channel #puppet | ||
| [2010/06/08 03:25:30] @ Quit: freshtonic: Quit: freshtonic | ||
| [2010/06/08 03:26:28] @ Ramonster joined channel #puppet | ||
| [2010/06/08 03:26:29] @ PaulWay[w] left channel #puppet ("I must go, there are too many tangrams on this channel.") | ||
| [2010/06/08 03:30:09] @ ohadlevy joined channel #puppet | ||
| [2010/06/08 03:30:27] @ ohadlevy is now known as Guest74981 | ||
| [2010/06/08 03:33:01] @ Guest74981 is now known as ohadlevy_ | ||
| [2010/06/08 03:34:42] @ Quit: |Mike|: Read error: Operation timed out | ||
| [2010/06/08 03:37:10] @ Quit: gaveen: Quit: Leaving | ||
| [2010/06/08 03:39:59] @ MattyM joined channel #puppet | ||
| [2010/06/08 03:44:41] @ groove joined channel #puppet | ||
| [2010/06/08 03:48:37] <groove> is it possible to have a function to test the type of a variable? | ||
| [2010/06/08 03:49:15] <groove> well, i guess what i'm asking is, do i have to customise to do this? | ||
| [2010/06/08 03:51:13] @ Quit: RedPepper: Ping timeout: 276 seconds | ||
| [2010/06/08 03:52:11] @ RedPepper joined channel #puppet | ||
| [2010/06/08 03:55:23] @ Quit: joschi: Read error: Connection reset by peer | ||
| [2010/06/08 03:55:27] @ joschi joined channel #puppet | ||
| [2010/06/08 03:59:01] @ |Mike| joined channel #puppet | ||
| [2010/06/08 04:01:29] @ Quit: julez: Quit: leaving | ||
| [2010/06/08 04:05:19] @ fox2mike_ joined channel #puppet | ||
| [2010/06/08 04:05:20] @ jbartus_ joined channel #puppet | ||
| [2010/06/08 04:05:21] @ dispalt_ joined channel #puppet | ||
| [2010/06/08 04:05:25] @ chrisg__ joined channel #puppet | ||
| [2010/06/08 04:05:26] @ IronChef_ joined channel #puppet | ||
| [2010/06/08 04:05:26] @ bdd_ joined channel #puppet | ||
| [2010/06/08 04:05:27] @ snikkers_ joined channel #puppet | ||
| [2010/06/08 04:05:33] @ zirpu_ joined channel #puppet | ||
| [2010/06/08 04:05:33] @ Whoop joined channel #puppet | ||
| [2010/06/08 04:05:34] @ iTonnerre joined channel #puppet | ||
| [2010/06/08 04:05:34] @ avleen joined channel #puppet | ||
| [2010/06/08 04:05:36] @ Cope_ joined channel #puppet | ||
| [2010/06/08 04:05:37] @ samppah_ joined channel #puppet | ||
| [2010/06/08 04:05:41] @ Dominic_ joined channel #puppet | ||
| [2010/06/08 04:05:46] @ cure_ joined channel #puppet | ||
| [2010/06/08 04:05:47] @ spheroma1 joined channel #puppet | ||
| [2010/06/08 04:05:51] @ russell_1 joined channel #puppet | ||
| [2010/06/08 04:06:03] @ bronto joined channel #puppet | ||
| [2010/06/08 04:07:04] @ TREllis joined channel #puppet | ||
| [2010/06/08 04:07:18] @ Quit: Dominic: Disconnected by services | ||
| [2010/06/08 04:07:39] @ Quit: zeroXten_: Quit: leaving | ||
| [2010/06/08 04:07:53] @ fluxdude joined channel #puppet | ||
| [2010/06/08 04:08:01] @ zeroXten joined channel #puppet | ||
| [2010/06/08 04:08:15] @ thegcat joined channel #puppet | ||
| [2010/06/08 04:08:52] @ a3li` joined channel #puppet | ||
| [2010/06/08 04:09:34] @ Quit: chrisg: Disconnected by services | ||
| [2010/06/08 04:09:52] @ Dominic_ is now known as Dominic | ||
| [2010/06/08 04:10:10] @ Quit: elementai: Ping timeout: 240 seconds | ||
| [2010/06/08 04:10:10] @ Quit: RedPepper: *.net *.split | ||
| [2010/06/08 04:10:10] @ Quit: MattyM: *.net *.split | ||
| [2010/06/08 04:10:11] @ Quit: Whoop_: *.net *.split | ||
| [2010/06/08 04:10:11] @ Quit: fox2mike: *.net *.split | ||
| [2010/06/08 04:10:11] @ Quit: snikkers: *.net *.split | ||
| [2010/06/08 04:10:11] @ Quit: choc: *.net *.split | ||
| [2010/06/08 04:10:11] @ Quit: Volcane: *.net *.split | ||
| [2010/06/08 04:10:11] @ Quit: bix0r: *.net *.split | ||
| [2010/06/08 04:10:11] @ Quit: a3li: *.net *.split | ||
| [2010/06/08 04:10:11] @ Quit: zirpu: *.net *.split | ||
| [2010/06/08 04:10:11] @ Quit: samppah: *.net *.split | ||
| [2010/06/08 04:10:12] @ Quit: felipe`: *.net *.split | ||
| [2010/06/08 04:10:12] @ Quit: Cope: *.net *.split | ||
| [2010/06/08 04:10:12] @ Quit: russell_h: *.net *.split | ||
| [2010/06/08 04:10:12] @ Quit: jbartus: *.net *.split | ||
| [2010/06/08 04:10:12] @ Quit: IronChef: *.net *.split | ||
| [2010/06/08 04:10:12] @ Quit: Tonnerre: *.net *.split | ||
| [2010/06/08 04:10:13] @ Quit: dispalt: *.net *.split | ||
| [2010/06/08 04:10:13] @ Quit: tripoux: *.net *.split | ||
| [2010/06/08 04:10:13] @ Quit: bdd: *.net *.split | ||
| [2010/06/08 04:10:13] @ Quit: spheromak: *.net *.split | ||
| [2010/06/08 04:10:13] @ Quit: avleen_: *.net *.split | ||
| [2010/06/08 04:10:13] @ Quit: hMz: *.net *.split | ||
| [2010/06/08 04:10:13] @ Quit: cure: *.net *.split | ||
| [2010/06/08 04:10:14] @ iTonnerre is now known as Tonnerre | ||
| [2010/06/08 04:10:16] @ elementai joined channel #puppet | ||
| [2010/06/08 04:10:28] @ Quit: mellen: Ping timeout: 260 seconds | ||
| [2010/06/08 04:13:42] <GioGio> hi there | ||
| [2010/06/08 04:14:16] @ Quit: chrisg__: Quit: leaving | ||
| [2010/06/08 04:15:06] <GioGio> i have a question about report. Is it possible for a node to give back a report to the puppetmaster of the state of his configuration ? (like Error 400, or Success...) | ||
| [2010/06/08 04:15:21] @ Quit: brettgoulder: Quit: brettgoulder | ||
| [2010/06/08 04:15:45] @ brettgoulder joined channel #puppet | ||
| [2010/06/08 04:15:56] @ ckauhaus joined channel #puppet | ||
| [2010/06/08 04:16:36] @ tripoux joined channel #puppet | ||
| [2010/06/08 04:16:41] @ MattyM joined channel #puppet | ||
| [2010/06/08 04:17:08] @ bix0r joined channel #puppet | ||
| [2010/06/08 04:20:11] @ Quit: brettgoulder: Ping timeout: 265 seconds | ||
| [2010/06/08 04:21:25] @ Quit: herdingcat: Quit: Leaving | ||
| [2010/06/08 04:26:15] @ RedPepper joined channel #puppet | ||
| [2010/06/08 04:26:15] @ choc joined channel #puppet | ||
| [2010/06/08 04:26:40] @ ohadlevy_ is now known as ohadlevy | ||
| [2010/06/08 04:27:10] @ ohadlevy is now known as Guest95370 | ||
| [2010/06/08 04:27:19] @ dsqfsqd joined channel #puppet | ||
| [2010/06/08 04:28:48] @ sideshow joined channel #puppet | ||
| [2010/06/08 04:29:23] <sideshow> hi, i'm sorry to ask you everday something new (i know what says the topic but...) | ||
| [2010/06/08 04:29:34] @ Volcane joined channel #puppet | ||
| [2010/06/08 04:29:46] <sideshow> i would like to push a config to a client from my puppetmaster | ||
| [2010/06/08 04:29:56] <sideshow> and i realy don't know how to begin | ||
| [2010/06/08 04:30:21] <sideshow> i have my hostfile.conf for a apche vhost and i want to put it into a client | ||
| [2010/06/08 04:30:25] <sideshow> how can i do it ? | ||
| [2010/06/08 04:30:41] @ Quit: snoop: Ping timeout: 264 seconds | ||
| [2010/06/08 04:30:59] @ Quit: sideshow: Disconnected by services | ||
| [2010/06/08 04:31:39] @ benoit_ joined channel #puppet | ||
| [2010/06/08 04:31:51] @ sideshow joined channel #puppet | ||
| [2010/06/08 04:33:18] <sideshow> can somebody help me please ? | ||
| [2010/06/08 04:34:21] <bronto> sideshow: if you activated the fileserver feature of puppetmaster, you can just pull it with a file resource (see source => 'puppet://something') | ||
| [2010/06/08 04:36:22] <sideshow> bronto : ok and after that, the file mentioned will be added at the place i want ? | ||
| [2010/06/08 04:36:47] @ Quit: benoit_: Ping timeout: 240 seconds | ||
| [2010/06/08 04:36:57] <bronto> sideshow: yes. You may want to set some dependencies, so that apache is restarted each time the file changes, as well | ||
| [2010/06/08 04:37:07] <sideshow> bronto : and can i do something like that : puppet -e filesource clientdest ? | ||
| [2010/06/08 04:37:16] <bronto> sideshow: dunno | ||
| [2010/06/08 04:37:18] @ alban2 joined channel #puppet | ||
| [2010/06/08 04:37:44] @ Quit: Volcane: *.net *.split | ||
| [2010/06/08 04:37:45] @ Quit: RedPepper: *.net *.split | ||
| [2010/06/08 04:37:45] @ Quit: choc: *.net *.split | ||
| [2010/06/08 04:38:03] <sideshow> bronto : ok thank for your help, did you have i like who explain how to use puppet://something ? | ||
| [2010/06/08 04:38:11] @ acrollet joined channel #puppet | ||
| [2010/06/08 04:39:11] <bronto> sideshow: not sure I understood your question, but you can find it in the documentation of the file resource | ||
| [2010/06/08 04:39:16] <bronto> sideshow: it's pretty standard | ||
| [2010/06/08 04:39:35] <moop23> With the intorduction o | ||
| [2010/06/08 04:39:45] @ moop23 left channel #puppet () | ||
| [2010/06/08 04:40:03] <sideshow> bronto : thank you very much, i work under windobe system for a long time | ||
| [2010/06/08 04:40:11] @ lohapuk joined channel #puppet | ||
| [2010/06/08 04:40:17] <sideshow> thank you so much | ||
| [2010/06/08 04:40:44] <bronto> sideshow: you are welcome | ||
| [2010/06/08 04:41:15] <lohapuk> with nagios3 in hosts definitions you can use custom variables prefixed with underscores is there anyway to add them using the nagios_host type | ||
| [2010/06/08 04:41:54] @ jab_doa joined channel #puppet | ||
| [2010/06/08 04:42:22] <lohapuk> for example in our check command we use it like this | ||
| [2010/06/08 04:42:26] <lohapuk> check_command check_snmp!-C $_HOSTSNMP_COMMUNITY$ -o enterprises.318.1.1.12.2.3.1.1.2.1 -w 0:240 -c 0:32- | ||
| [2010/06/08 04:44:50] @ Quit: acrollet: Ping timeout: 265 seconds | ||
| [2010/06/08 04:47:18] @ kit_ joined channel #puppet | ||
| [2010/06/08 04:48:10] @ PsychoSid joined channel #puppet | ||
| [2010/06/08 04:50:50] @ Quit: sideshow: Quit: Page closed | ||
| [2010/06/08 04:52:13] @ acrollet joined channel #puppet | ||
| [2010/06/08 04:54:53] <zipkid> hi, since i installed Rails 2,3 i get 132 deprecation warnings each time puppet and puppetmaster is run : "DEPRECATION WARNING: metaclass is deprecated and will be removed from Rails 2.3 (use singleton_class instead). (called from meta_eval at /usr/lib64/ruby/site_ruby/1.8/puppet/util/metaid.rb:4)" | ||
| [2010/06/08 04:55:12] @ hggh_ is now known as hggh | ||
| [2010/06/08 04:55:29] <zipkid> here is the full list http://pastie.org/996085 | ||
| [2010/06/08 04:57:58] @ floess_chris joined channel #puppet | ||
| [2010/06/08 05:02:26] @ herdingcat joined channel #puppet | ||
| [2010/06/08 05:03:00] @ Volcane joined channel #puppet | ||
| [2010/06/08 05:04:29] @ Guest95370 is now known as ohadlevy_ | ||
| [2010/06/08 05:04:39] <matti> Hi zipkid | ||
| [2010/06/08 05:04:45] <zipkid> hello matti | ||
| [2010/06/08 05:04:46] <ohadlevy_> Volcane: any chance you can try out mqr fixes for the zaml stuff? | ||
| [2010/06/08 05:05:07] <ohadlevy_> GioGio: there is a way :) | ||
| [2010/06/08 05:05:18] <Volcane> ohadlevy_: hmm, unlikely :( | ||
| [2010/06/08 05:05:34] <Volcane> ohadlevy_: but "require 'rrdtool'" somewhere works too :P | ||
| [2010/06/08 05:06:09] @ benoit_ joined channel #puppet | ||
| [2010/06/08 05:09:24] <lohapuk> Looks like in order to support customer variable in host definitions for nagios im going to have to write a new resource type | ||
| [2010/06/08 05:09:46] <Volcane> lohapuk: what are you trying to do? | ||
| [2010/06/08 05:10:13] <lohapuk> basically i have a check check_snmp!-C $_HOSTSNMP_COMMUNITY$ -o enterprises.318.1.1.12.2.3.1.1.2.1 -w 0:240 | ||
| [2010/06/08 05:10:32] <lohapuk> and with nagios 3 you can define the value to _HOSTSNMP_COMMUNITY in the host definition | ||
| [2010/06/08 05:11:00] <GioGio> ohadlevy_ : how can i do that ? :) the basic thing i want to check is if the catalogue execute correctly or not. Just return an OK or KO for exemple. | ||
| [2010/06/08 05:11:02] <Volcane> ah but the nagios types dont yet support that? | ||
| [2010/06/08 05:11:10] <lohapuk> correct | ||
| [2010/06/08 05:11:18] <ohadlevy_> GioGio: does client report is any better? | ||
| [2010/06/08 05:11:31] @ stewartl42 joined channel #puppet | ||
| [2010/06/08 05:11:38] <ohadlevy_> GioGio: e.g. if anything happend etc, or you want just the catalog ? | ||
| [2010/06/08 05:11:46] <Volcane> lohapuk: you can file a feature request i guess but not really a short term solution :) you could also just patch your puppet install, itw ould be a very simple patch | ||
| [2010/06/08 05:11:47] <lohapuk> nagios 3 you can use custom variable in hosts as long as the start with a underscore | ||
| [2010/06/08 05:12:16] <lohapuk> i know its just not a nice solution, | ||
| [2010/06/08 05:12:51] <GioGio> ohadlevy_ : if anything append, i want to store it. For exemple, if my client are not able to contact the master. It will print an Error 400 on the screen. So i just want to log this error. | ||
| [2010/06/08 05:14:52] <ohadlevy_> GioGio: try foreman (http://theforeman.org) | ||
| [2010/06/08 05:15:09] <ohadlevy_> GioGio: it provides a reporting interface to puppet, and also many other things (e.g. inventory, provisioning etc) | ||
| [2010/06/08 05:15:33] <Volcane> ohadlevy_: but wont help answer his problem case | ||
| [2010/06/08 05:19:00] @ PsychoSid1 joined channel #puppet | ||
| [2010/06/08 05:19:22] <ohadlevy_> Volcane: hmm.. maybe I didnt understand his problem | ||
| [2010/06/08 05:19:23] @ finalprefix joined channel #puppet | ||
| [2010/06/08 05:19:27] <GioGio> foreman seems to big for what i need =) | ||
| [2010/06/08 05:19:53] <Volcane> ohadlevy_: well, it said 'when it cant contact the master' :) | ||
| [2010/06/08 05:20:00] <Volcane> ohadlevy_: or something to that effect | ||
| [2010/06/08 05:20:06] <ohadlevy_> Volcane: you will get host out of sync error | ||
| [2010/06/08 05:21:07] <ohadlevy_> Volcane: Foreman knows about your desired run interval, and highlight any hosts which didnt run puppet within that timeframe | ||
| [2010/06/08 05:21:08] @ Quit: PsychoSid: Ping timeout: 265 seconds | ||
| [2010/06/08 05:21:08] @ RedPepper joined channel #puppet | ||
| [2010/06/08 05:21:24] <ohadlevy_> GioGio: You can always use the parts you need | ||
| [2010/06/08 05:22:05] <Volcane> ohadlevy_: nods, really though that belongs in nagios | ||
| [2010/06/08 05:22:18] <Volcane> /usr/lib/nagios/plugins/check_file_age -f /var/lib/puppet/state/state.yaml -w 5400 -c 7200 | ||
| [2010/06/08 05:22:22] <Volcane> job done | ||
| [2010/06/08 05:22:28] <ohadlevy_> Volcane: well.. kind of, you need to know the state of a host for: | ||
| [2010/06/08 05:22:29] @ Quit: herdingcat: Quit: Leaving | ||
| [2010/06/08 05:22:31] <ohadlevy_> 1. nice graphs | ||
| [2010/06/08 05:22:34] <ohadlevy_> 2. query based on state | ||
| [2010/06/08 05:22:50] <ohadlevy_> 3. it make sense to get all of puppet alrets in one place (or email) | ||
| [2010/06/08 05:22:51] <Volcane> ohadlevy_: i know, but i mean for monitoring state, having it in some fancy non alerting ui is fail | ||
| [2010/06/08 05:23:04] <ohadlevy_> Volcane: foreman can send out emails too | ||
| [2010/06/08 05:23:19] <Volcane> ohadlevy_: you have a new hammer and want to treat everything like a nail, just saying. :) | ||
| [2010/06/08 05:23:21] <ohadlevy_> Volcane: I get a daily summary email | ||
| [2010/06/08 05:23:34] <ohadlevy_> Volcane: instead of a million emails from tagmail | ||
| [2010/06/08 05:23:38] <Volcane> sometimes its ok to say 'yup, use a monitoring system for that' :) | ||
| [2010/06/08 05:23:39] @ choc joined channel #puppet | ||
| [2010/06/08 05:23:50] <ohadlevy_> Volcane: :) | ||
| [2010/06/08 05:24:07] <ohadlevy_> Volcane: the problem is that monitoring system != reporting system | ||
| [2010/06/08 05:24:08] @ mellen joined channel #puppet | ||
| [2010/06/08 05:24:34] @ avtobiff joined channel #puppet | ||
| [2010/06/08 05:24:39] <GioGio> ok, i will look on foreman to see if i can use it | ||
| [2010/06/08 05:24:45] <GioGio> thanks :) | ||
| [2010/06/08 05:24:46] <avtobiff> hi! | ||
| [2010/06/08 05:24:53] <ohadlevy_> GioGio: there are rpms and debs too | ||
| [2010/06/08 05:24:57] @ astinus_ is now known as astinus | ||
| [2010/06/08 05:25:14] <Volcane> ohadlevy_: i agree you need both - but to know if nodes are failing to run, daily reports not the time to figure that out, neither is it 'next tme you log into webui' | ||
| [2010/06/08 05:25:54] <ohadlevy_> Volcane: true, thats why you also have an option to get the email in other intervals (or upon an arrival of an error) | ||
| [2010/06/08 05:26:08] <ohadlevy_> Volcane: the benefit of using foreman for that, is that the right "owner" also gets the message | ||
| [2010/06/08 05:26:21] <Volcane> and monitoring systems dont have this ability? | ||
| [2010/06/08 05:26:31] <ohadlevy_> Volcane: well.. ;) | ||
| [2010/06/08 05:26:35] <Volcane> the benefit of my hammer is, it can also open a door.... | ||
| [2010/06/08 05:27:02] <matti> Hammer o/ | ||
| [2010/06/08 05:27:45] <zipkid> dashboard and foreman are usefull tools but indeed not to notify me a node is not reporting in time or having errors | ||
| [2010/06/08 05:28:01] <avtobiff> i have been looking into puppet on debian (0.25.4-6) but can't exactly understand how to get puppetd up and listen as i want to. i have puppetmaster on my workstation and two virtual machines in virtualbox with ports forwarded 10039 and 10139 (for puppetd listening). port 8140 on puppetmaster is reachable and name resolving works ok. i can run puppetd --server puppet --test and it runs my manifest but i cannot get it | ||
| [2010/06/08 05:28:32] @ ohadlevy_ is now known as ohadlevy | ||
| [2010/06/08 05:28:32] <ohadlevy> zipkid: I disagree with you about the errors part | ||
| [2010/06/08 05:28:58] <zipkid> ohadlevy: can forman send me sms when things go wrong? | ||
| [2010/06/08 05:29:02] <ohadlevy> zipkid: as the reporting interface contains the errors usually | ||
| [2010/06/08 05:29:03] <ohadlevy> zipkid: yeah | ||
| [2010/06/08 05:29:09] <ohadlevy> zipkid: also snmp | ||
| [2010/06/08 05:29:15] <ohadlevy> zipkid: or whatever script you want to run | ||
| [2010/06/08 05:29:23] <ohadlevy> zipkid: at least there is a place holder for that | ||
| [2010/06/08 05:29:52] <zipkid> well... even if it can... we use Nagios to monitor and want to keep monitoring in Nagios | ||
| [2010/06/08 05:30:02] <avtobiff> puppetd is of course configured with the above ports | ||
| [2010/06/08 05:30:23] <ohadlevy> zipkid: I dont aim to replace nagios, I'm just saying, that if you want to know the error (not just what the error was), i think foreman is useful in that | ||
| [2010/06/08 05:30:45] <ohadlevy> read: not that there was an error | ||
| [2010/06/08 05:31:10] <zipkid> ohadlevy: sure.... but i want to be notified from nagios... and we use Dashboard... (sorry) | ||
| [2010/06/08 05:31:22] <ohadlevy> zipkid: i dont mind :) | ||
| [2010/06/08 05:31:28] <zipkid> but that is not the discussion | ||
| [2010/06/08 05:32:00] <Volcane> onitoring systems have specific use, they know a lot about owners etc already | ||
| [2010/06/08 05:32:08] <Volcane> replacing/augmenting that is a mistake | ||
| [2010/06/08 05:32:20] <zipkid> Volcane: my point exactly | ||
| [2010/06/08 05:32:39] <ohadlevy> Volcane: no plans on replacing that, just that foreman needs to know about the owner too (e.g. if you provision the host, or who is allowed to change the class list for the host etc) | ||
| [2010/06/08 05:32:58] <Volcane> you dont run hp openview just cos you have hp kit and then just monitor the hp kit | ||
| [2010/06/08 05:33:07] <Volcane> you integrate hardware monitoring in your existing systems via their apis etc | ||
| [2010/06/08 05:33:08] <ohadlevy> Volcane: lets say you want to allow users to select classes on their desktops | ||
| [2010/06/08 05:33:36] <ohadlevy> Volcane: i agree, I think foreman should be able to talk to BMC remedy, nagios and friends | ||
| [2010/06/08 05:33:43] * Volcane decides to step out of this one before i say something way too rude :) | ||
| [2010/06/08 05:34:38] <Volcane> fine line between right tool for the job and RMS. | ||
| [2010/06/08 05:48:31] @ Quit: ckauhaus: Ping timeout: 272 seconds | ||
| [2010/06/08 05:50:23] <_TheAvatar> How can I make an if-statement, that echos a word, like TEST="<% if $test { 'return yes here' } else { 'return no here' } %>" ? | ||
| [2010/06/08 05:52:21] <groove> in a template, or for something else? | ||
| [2010/06/08 05:53:05] <groove> <% if test != '' -%>yes<% else -%>no<% end -%> | ||
| [2010/06/08 05:53:21] <_TheAvatar> yes, in a template | ||
| [2010/06/08 05:53:26] <_TheAvatar> thanks - let me give that a try | ||
| [2010/06/08 05:53:34] <groove> not exactly right, but you get the idea | ||
| [2010/06/08 05:53:46] <_TheAvatar> yer | ||
| [2010/06/08 05:57:56] <Volcane> <%= test == '' ? "yes" : "no" %> | ||
| [2010/06/08 06:01:29] @ fluxdud3 joined channel #puppet | ||
| [2010/06/08 06:02:00] @ ohadlevy_ joined channel #puppet | ||
| [2010/06/08 06:03:47] @ Quit: thegcat: Quit: Leaving. | ||
| [2010/06/08 06:04:11] @ Quit: fluxdude: Ping timeout: 258 seconds | ||
| [2010/06/08 06:04:15] @ Quit: itguru: Quit: Leaving | ||
| [2010/06/08 06:07:31] @ Quit: acrollet: Read error: Connection reset by peer | ||
| [2010/06/08 06:09:19] @ itguru joined channel #puppet | ||
| [2010/06/08 06:15:34] <joschi> hi everyone! | ||
| [2010/06/08 06:15:34] <joschi> http://pastie.org/996139 <- has anyone an idea why the exec resource inside the define is not working but the one in global scope does? | ||
| [2010/06/08 06:16:10] <joschi> running puppet 0.25.4 | ||
| [2010/06/08 06:16:13] @ emarshall joined channel #puppet | ||
| [2010/06/08 06:19:54] @ malikai joined channel #puppet | ||
| [2010/06/08 06:26:18] <joschi> avtobiff: have you edited /etc/default/puppet to let the init script acutally start puppetd? | ||
| [2010/06/08 06:30:06] @ afletcher joined channel #puppet | ||
| [2010/06/08 06:37:11] @ Quit: emarshall: Quit: emarshall | ||
| [2010/06/08 06:37:46] <avtobiff> joschi, yes | ||
| [2010/06/08 06:38:22] <avtobiff> joschi, /etc/default/puppet: START=yes | ||
| [2010/06/08 06:39:47] <avtobiff> joschi, actually, i can get puppetd up but it does not listen on any port | ||
| [2010/06/08 06:51:46] @ Quit: erlingre: Ping timeout: 248 seconds | ||
| [2010/06/08 06:52:56] <malikai> does anyone know if there is a good guide to installing/running dashboard out there? | ||
| [2010/06/08 06:55:50] @ Quit: artista_frustrad: Remote host closed the connection | ||
| [2010/06/08 06:56:52] @ MPSimmons joined channel #puppet | ||
| [2010/06/08 07:02:40] @ Quit: finalprefix: Quit: This computer has gone to sleep | ||
| [2010/06/08 07:06:58] @ bearnard_ joined channel #puppet | ||
| [2010/06/08 07:07:22] @ finalprefix joined channel #puppet | ||
| [2010/06/08 07:07:57] @ StuZZZs joined channel #puppet | ||
| [2010/06/08 07:10:46] @ Quit: afletcher: Quit: afletcher | ||
| [2010/06/08 07:12:16] @ Llama left channel #puppet ("Выходжу") | ||
| [2010/06/08 07:12:34] <malikai> cancel previous question.. found this and interpreted it to linux: http://www.huron-city.k12.oh.us/installing-puppet-dashboard.html | ||
| [2010/06/08 07:12:55] @ hugues joined channel #puppet | ||
| [2010/06/08 07:13:53] <malikai> good guide for installing, but that's all it is | ||
| [2010/06/08 07:14:25] @ Quit: hugues: Client Quit | ||
| [2010/06/08 07:15:06] @ afletcher joined channel #puppet | ||
| [2010/06/08 07:16:53] <joschi> avtobiff: puppetd will only listen, if listen is set to true in puppet.conf, see http://docs.puppetlabs.com/references/latest/configuration.html#listen | ||
| [2010/06/08 07:21:17] @ Quit: kit_: Ping timeout: 252 seconds | ||
| [2010/06/08 07:21:33] @ Quit: jsman: *.net *.split | ||
| [2010/06/08 07:22:03] @ vachon joined channel #puppet | ||
| [2010/06/08 07:25:10] @ Bass10 joined channel #puppet | ||
| [2010/06/08 07:26:03] @ brettgoulder joined channel #puppet | ||
| [2010/06/08 07:26:49] @ vachon1 joined channel #puppet | ||
| [2010/06/08 07:27:01] @ jsman joined channel #puppet | ||
| [2010/06/08 07:27:42] @ Quit: vachon: Ping timeout: 245 seconds | ||
| [2010/06/08 07:28:46] @ vachon1 left channel #puppet () | ||
| [2010/06/08 07:31:52] <avtobiff> joschi, is that equivalent to give --listen as an argument? | ||
| [2010/06/08 07:32:02] <joschi> avtobiff: yes, it should be | ||
| [2010/06/08 07:32:38] <avtobiff> because i don't get puppetd --server puppet --listen to listen | ||
| [2010/06/08 07:33:01] @ Quit: afletcher: Quit: afletcher | ||
| [2010/06/08 07:36:29] <joschi> avtobiff: what's the output of `netstat -tplen|grep ruby` on your system when running `puppetd --server puppet --listen --no-daemonize`? | ||
| [2010/06/08 07:40:10] @ gaveen joined channel #puppet | ||
| [2010/06/08 07:41:06] @ stewartl42 left channel #puppet () | ||
| [2010/06/08 07:41:29] @ Quit: ohadlevy_: Quit: ZNC - http://znc.sourceforge.net | ||
| [2010/06/08 07:41:53] <avtobiff> joschi, empty | ||
| [2010/06/08 07:42:00] <avtobiff> as i have said all the time :) | ||
| [2010/06/08 07:44:44] <joschi> avtobiff: does the output of `puppetd --listen --debug --no-daemonize` contain anything unusual? are you using selinux/apparmor/grsecurity? | ||
| [2010/06/08 07:46:35] @ Quit: ohadlevy: Remote host closed the connection | ||
| [2010/06/08 07:47:26] @ ohadlevy joined channel #puppet | ||
| [2010/06/08 07:47:54] @ ohadlevy is now known as Guest27248 | ||
| [2010/06/08 07:48:01] <avtobiff> joschi, no selinux/apparmor/grsecurity, vanilla debian lenny | ||
| [2010/06/08 07:50:19] <joschi> avtobiff: is there anything else running on the ports you've set with $puppetport? | ||
| [2010/06/08 07:50:25] <avtobiff> joschi, i don't know about unusual, don't think so. looks normal. it starts and complains that there is no ldap module, autorequires a few files, runs my sudo class, done. puppetd is alive but does not listen to any port | ||
| [2010/06/08 07:50:30] <avtobiff> joschi, nope | ||
| [2010/06/08 07:50:55] <joschi> avtobiff: oh, and you've run `netstat -tplen|grep ruby` on the same machine puppetd is running on? just to make sure... | ||
| [2010/06/08 07:51:09] <avtobiff> sigh... port 100139 :( | ||
| [2010/06/08 07:52:56] <avtobiff> i changed $puppetport now to an actually existing port 10139 and 10039 on both machines respectively | ||
| [2010/06/08 07:53:03] <avtobiff> still no show | ||
| [2010/06/08 07:53:03] <joschi> good ;) | ||
| [2010/06/08 07:53:34] <joschi> strange. on a ubuntu 10.04 system with puppet 0.25.4 it works: # puppetd --listen && sleep 10 && lsof -i :8139 | ||
| [2010/06/08 07:53:34] <joschi> COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME | ||
| [2010/06/08 07:53:35] <joschi> puppetd 7379 root 7u IPv4 22417 0t0 TCP *:8139 (LISTEN) | ||
| [2010/06/08 07:54:21] <joschi> and this is basically the same package version that's available in lenny-backports | ||
| [2010/06/08 07:54:42] @ cygnus1 joined channel #puppet | ||
| [2010/06/08 07:55:45] @ gebi joined channel #puppet | ||
| [2010/06/08 07:57:45] @ rocket joined channel #puppet | ||
| [2010/06/08 08:00:55] @ afletcher joined channel #puppet | ||
| [2010/06/08 08:06:44] <RS-232> arg! i just found out (the hard way) that service['puppet'] needs hasstatus => true, restart => "/etc/init.d/puppet reload" | ||
| [2010/06/08 08:07:05] <RS-232> all my puppetd's on 40+ hosts have died :-( | ||
| [2010/06/08 08:07:11] <Volcane> :) | ||
| [2010/06/08 08:07:17] <agaffney> heh, yep, found that one out myself, too | ||
| [2010/06/08 08:07:46] <agaffney> puppetd runs '/etc/init.d/puppet stop', which kills puppetd, and then it can't run '/etc/init.d/puppet start' :P | ||
| [2010/06/08 08:07:51] <RS-232> grmbl... why is that not default? | ||
| [2010/06/08 08:07:57] <zipkid> is it considered an error to realise a resource twice? | ||
| [2010/06/08 08:08:19] <agaffney> RS-232: because *all* init systems have stop/start but not all have restart | ||
| [2010/06/08 08:08:23] <Volcane> zipkid: thats (one of) the point of virtual resources - many realizes are allowed | ||
| [2010/06/08 08:08:24] * RS-232 mumbles something about shoioting in the foot | ||
| [2010/06/08 08:08:35] <zipkid> Volcane: good! :-) | ||
| [2010/06/08 08:08:36] <zipkid> thx | ||
| [2010/06/08 08:08:37] <agaffney> RS-232: just enough rope to hang yourself with | ||
| [2010/06/08 08:08:50] <RS-232> ... and then some more to be sure :-) | ||
| [2010/06/08 08:09:03] <agaffney> although, I did not know about the reload | ||
| [2010/06/08 08:09:09] * agaffney tosses that in his setup | ||
| [2010/06/08 08:09:15] <kjetilho> RS-232: you don't need to specify Service["puppet"] | ||
| [2010/06/08 08:09:19] <kjetilho> it handles itself | ||
| [2010/06/08 08:09:54] <joschi> RS-232: it's quite practical to have pssh (or dsh) and just restart puppetd on all hosts in these cases. not that I had the same problem... ;) | ||
| [2010/06/08 08:10:51] @ Quit: finalprefix: Quit: This computer has gone to sleep | ||
| [2010/06/08 08:11:50] @ Quit: rocket: Ping timeout: 260 seconds | ||
| [2010/06/08 08:11:51] <agaffney> kjetilho: while I *know* that puppetd will reread puppet.conf, I don't trust it ;) | ||
| [2010/06/08 08:11:53] @ ahasenack joined channel #puppet | ||
| [2010/06/08 08:13:48] @ rocket joined channel #puppet | ||
| [2010/06/08 08:17:11] @ DavidS joined channel #puppet | ||
| [2010/06/08 08:17:58] <Volcane> kjetilho: not all settings take effect that way | ||
| [2010/06/08 08:18:39] @ [GuS] joined channel #puppet | ||
| [2010/06/08 08:20:04] <agaffney> Volcane: and will a SIGHUP work for all settings? | ||
| [2010/06/08 08:20:11] <Volcane> no | ||
| [2010/06/08 08:23:02] * Volcane 's again happy he ditched the daemon yonks ago :) | ||
| [2010/06/08 08:23:30] <agaffney> hmm, it looks like SIGHUP doesn't even work all the time | ||
| [2010/06/08 08:23:32] <agaffney> http://projects.reductivelabs.com/issues/1273 | ||
| [2010/06/08 08:23:47] <agaffney> Volcane: what command do you use from cron? 'puppetd --onetime'? | ||
| [2010/06/08 08:24:14] <Volcane> agaffney: well i schedule runs with mcollective, but effectively yes, i just run one time when my platform feels its happy to handle the load | ||
| [2010/06/08 08:24:22] @ Quit: rocket: Ping timeout: 245 seconds | ||
| [2010/06/08 08:26:18] @ rocket joined channel #puppet | ||
| [2010/06/08 08:26:45] @ cliff-hm joined channel #puppet | ||
| [2010/06/08 08:26:46] @ snikta joined channel #puppet | ||
| [2010/06/08 08:32:31] @ finalprefix joined channel #puppet | ||
| [2010/06/08 08:35:56] @ Quit: mellen: Ping timeout: 252 seconds | ||
| [2010/06/08 08:36:55] <snikta> has anyone seen the following? I'm trying to remove some gems via puppet, eg: | ||
| [2010/06/08 08:36:56] <snikta> package { "rails": | ||
| [2010/06/08 08:36:56] <snikta> provider => gem, | ||
| [2010/06/08 08:36:56] <snikta> ensure => absent | ||
| [2010/06/08 08:36:56] <snikta> } | ||
| [2010/06/08 08:36:56] <snikta> I get the following: | ||
| [2010/06/08 08:36:58] <snikta> Execution of '/usr/local/bin/gem uninstall -x -a rails' returned 1: ERROR: While executing gem ... (Gem::InstallError)#012 cannot uninstall, check `gem list -d rails` | ||
| [2010/06/08 08:36:59] <gepetto> snikta: #012 is http://projects.puppetlabs.com/issues/show/012 "Puppet - Feature #12: Support processes in addition to services - PuppetLabs.com" | ||
| [2010/06/08 08:37:01] <snikta> the cause of this seems to be: gem list -d rails | ||
| [2010/06/08 08:37:03] <snikta> *** LOCAL GEMS *** | ||
| [2010/06/08 08:37:05] <snikta> rails_analyzer_tools (1.4.0) | ||
| [2010/06/08 08:37:07] <snikta> the point being that there is not a dependency problem- it seems puppet is relying on "gem list" which lists anything that starts with "rails" (in this case). fwiw, the rails gem has actually ben removed, so other than an annoying message, this is probably harmless. | ||
| [2010/06/08 08:37:51] * barn hides behind Volcane at the mention of gems | ||
| [2010/06/08 08:38:07] <Volcane> :) | ||
| [2010/06/08 08:38:10] @ mellen joined channel #puppet | ||
| [2010/06/08 08:38:32] <RS-232> kjetilho: what do you mean "it handles itself"? | ||
| [2010/06/08 08:38:47] <avtobiff> joschi, i did not have a namespaceauth.conf | ||
| [2010/06/08 08:38:58] @ Quit: rocket: Ping timeout: 248 seconds | ||
| [2010/06/08 08:39:08] <RS-232> kjetilho: will a running puppetd detect that /etc/puppet/puppet.conf has changed and reload it? | ||
| [2010/06/08 08:39:42] <joschi> avtobiff: ok, good that you've found it. but still strange, that there wasn't at least a warning about this when starting puppetd | ||
| [2010/06/08 08:40:35] <RS-232> kjetilho: hmm, you are right. I tried it and that works. | ||
| [2010/06/08 08:41:10] <avtobiff> joschi, i realised that i had 0.24.5-3 on one machine (which did not report any namespaceauth.conf error) and 0.25.4-6 on the other machine (which reported this error) | ||
| [2010/06/08 08:41:51] <dsqfsqd> oh yeah i like the puppet, good staff on this project, big up for dev | ||
| [2010/06/08 08:43:29] <RS-232> kjetilho: hm, wait, no. | ||
| [2010/06/08 08:43:59] @ ckauhaus joined channel #puppet | ||
| [2010/06/08 08:44:28] <RS-232> kjetilho: when puppetd is running and I change puppet.conf myself, then puppetd detects that and says "notice: Reparsing /etc/puppet/puppet.conf" | ||
| [2010/06/08 08:44:38] @ Guest27248 is now known as ohadlevy | ||
| [2010/06/08 08:44:51] <RS-232> it doesn't say that when it gets a different puppet.conf from the puppetmaster | ||
| [2010/06/08 08:45:08] @ ohadlevy is now known as Guest72287 | ||
| [2010/06/08 08:45:15] @ verwilst joined channel #puppet | ||
| [2010/06/08 08:46:29] @ rocket joined channel #puppet | ||
| [2010/06/08 08:49:54] @ Quit: vollmer: Changing host | ||
| [2010/06/08 08:49:55] @ vollmer joined channel #puppet | ||
| [2010/06/08 08:55:48] <vollmer> Is it possible (with the correct DNS entries) to have puppet clients use a squid proxy to contact / obtain updates from a puppet master? I've been reading the docs for a while and it seems like it | ||
| [2010/06/08 08:55:53] <vollmer> but I can't find a specific example | ||
| [2010/06/08 08:57:50] @ Quit: mattock: Ping timeout: 258 seconds | ||
| [2010/06/08 08:57:53] <vollmer> I have a large majority of my clients behind NAT's with no direct access to my single puppetmaster (squid proxy only) | ||
| [2010/06/08 08:58:35] <Volcane> you can specify a proxy in the config | ||
| [2010/06/08 08:59:18] <vollmer> but can all communication be pushed through that, I see reference to the need for port 8140 open | ||
| [2010/06/08 08:59:28] <vollmer> and it wasn't clear exactly what that was used for | ||
| [2010/06/08 08:59:29] <Volcane> the client talks to the master generally | ||
| [2010/06/08 08:59:37] <Volcane> master only to client if you want to force initiate runs on the client | ||
| [2010/06/08 08:59:51] <vollmer> ok and in my case I'd have master <--> squid <--> client | ||
| [2010/06/08 09:00:02] @ shine_ joined channel #puppet | ||
| [2010/06/08 09:00:05] <vollmer> ahh ok so the 8140 is for the master -> client | ||
| [2010/06/08 09:00:07] <Volcane> yes, client talk to the master via squid, thats fine | ||
| [2010/06/08 09:00:11] <vollmer> awesome | ||
| [2010/06/08 09:00:13] <Volcane> master listens on 8140 | ||
| [2010/06/08 09:00:14] @ Quit: shine_: Client Quit | ||
| [2010/06/08 09:00:23] <vollmer> thanks that clears it all up. | ||
| [2010/06/08 09:00:26] <Volcane> your squids should allow connectsions - like ssl ones - to 8140 | ||
| [2010/06/08 09:00:41] <vollmer> yeah squid config changes I can make :) | ||
| [2010/06/08 09:00:58] <vollmer> I'll go ahead and work on implementing this then, I might be back with other questions if I get stuck | ||
| [2010/06/08 09:01:01] <vollmer> :) | ||
| [2010/06/08 09:01:38] @ Quit: m1nish: Read error: Connection timed out | ||
| [2010/06/08 09:03:45] @ Quit: shine: Quit: leaving | ||
| [2010/06/08 09:05:38] @ shine joined channel #puppet | ||
| [2010/06/08 09:07:07] @ ykl joined channel #puppet | ||
| [2010/06/08 09:08:23] <ykl> hey Guys is there a way to delete multiple files which have part of the name in common by specifyin wildcard in the name, i.e. file { "path/to/file": ensure => absent....? | ||
| [2010/06/08 09:08:43] @ [SMiTTY] joined channel #puppet | ||
| [2010/06/08 09:13:41] @ Quit: dsqfsqd: Quit: Quitte | ||
| [2010/06/08 09:14:48] @ Quit: finalprefix: Quit: This computer has gone to sleep | ||
| [2010/06/08 09:16:00] @ finalprefix joined channel #puppet | ||
| [2010/06/08 09:19:22] @ groove left channel #puppet () | ||
| [2010/06/08 09:27:44] @ emarshall joined channel #puppet | ||
| [2010/06/08 09:28:34] @ joe-mac joined channel #puppet | ||
| [2010/06/08 09:29:34] @ Quit: emarshall: Remote host closed the connection | ||
| [2010/06/08 09:30:59] @ emarshall joined channel #puppet | ||
| [2010/06/08 09:34:37] @ Quit: voodoo_: Quit: voodoo | ||
| [2010/06/08 09:35:08] @ Quit: ykl: Quit: Page closed | ||
| [2010/06/08 09:39:28] @ Quit: ckauhaus: Quit: Leaving. | ||
| [2010/06/08 09:40:26] @ pheezy joined channel #puppet | ||
| [2010/06/08 09:43:28] @ pkhamre joined channel #puppet | ||
| [2010/06/08 09:44:59] @ Quit: finalprefix: Quit: This computer has gone to sleep | ||
| [2010/06/08 09:48:00] @ Guest72287 is now known as ohadlevy | ||
| [2010/06/08 09:48:29] @ ohadlevy is now known as Guest27738 | ||
| [2010/06/08 09:50:58] @ felipe` joined channel #puppet | ||
| [2010/06/08 09:52:33] @ finalprefix joined channel #puppet | ||
| [2010/06/08 09:56:49] @ floyd_n_milan left channel #puppet ("Brain damage.") | ||
| [2010/06/08 09:58:32] @ malikai left channel #puppet () | ||
| [2010/06/08 09:59:32] @ emarshall_ joined channel #puppet | ||
| [2010/06/08 10:00:01] @ Quit: emarshall_: Client Quit | ||
| [2010/06/08 10:00:18] @ acrollet joined channel #puppet | ||
| [2010/06/08 10:01:10] @ Quit: Demosthenes: Quit: leaving | ||
| [2010/06/08 10:01:46] @ glarizza joined channel #puppet | ||
| [2010/06/08 10:02:39] <glarizza> Hi All - can you change what information is being passed to an external node classifier script, or is it always the certname? | ||
| [2010/06/08 10:03:02] <Volcane> its apparently easy writing your own external node terminus to achieve that | ||
| [2010/06/08 10:03:11] @ tonyskapunk joined channel #puppet | ||
| [2010/06/08 10:03:12] <Volcane> thats pretty much the answer luke gives when asked | ||
| [2010/06/08 10:03:18] <Volcane> I'd like to pass ec2 ami id for example | ||
| [2010/06/08 10:03:23] @ Quit: emarshall: Ping timeout: 258 seconds | ||
| [2010/06/08 10:05:13] <glarizza> Hmm - I've never heard of that. Right now the default node terminus is "exec" for external nodes - correct? | ||
| [2010/06/08 10:05:25] <glarizza> How would you change that to pass different information? | ||
| [2010/06/08 10:05:48] <glarizza> Or am I off base here? | ||
| [2010/06/08 10:06:10] @ kaptk2 joined channel #puppet | ||
| [2010/06/08 10:06:35] <Volcane> yeah, see puppet/indirector/exec.rb and puppet/indirector/node/exec.rb | ||
| [2010/06/08 10:06:44] <Volcane> you'd provide equivelants of those for your needs | ||
| [2010/06/08 10:06:53] <glarizza> Gotcha - thanks for the reference. I'll check those out. | ||
| [2010/06/08 10:08:59] @ ckauhaus joined channel #puppet | ||
| [2010/06/08 10:09:04] @ Quit: rocket: Remote host closed the connection | ||
| [2010/06/08 10:12:41] @ Quit: alban2: Ping timeout: 264 seconds | ||
| [2010/06/08 10:13:10] @ Quit: ckauhaus: Ping timeout: 240 seconds | ||
| [2010/06/08 10:13:25] <Volcane> i am not quite sure where in that it decides on certname, never looked into if this is a valid answer to that need or not but thats what i am told | ||
| [2010/06/08 10:13:44] <glarizza> Yeah - I'm not seeing any references there...tracing through some other files | ||
| [2010/06/08 10:14:27] <glarizza> I may post something to the list about this - but didn't want to if there was a simple change in puppet.conf (or something like that) | ||
| [2010/06/08 10:14:40] <Volcane> yeh sadly nothing simple | ||
| [2010/06/08 10:14:40] @ Quit: acrollet: Quit: acrollet | ||
| [2010/06/08 10:16:28] <cygnus1> hello all, i'm writing a yumrepo segment and hitting a snag, I'm writing the baseurl line like so: baseurl => http://yum.repo.url/$architecture with the intent of having the architecture fact fill the last bit of the baseurl. The trouble seems to be enclosing that line with ' ' which interprets $architecture literally. Is this something I should use an erb template for or is there a better way I'm missing? | ||
| [2010/06/08 10:16:59] <Volcane> just like a shell "$architecture" results in i386 | ||
| [2010/06/08 10:17:08] <Volcane> '$arhictecure' results in $architecture | ||
| [2010/06/08 10:17:54] <cygnus1> ok, so wrap the entire baseurl line in double-quotations then? | ||
| [2010/06/08 10:17:56] <Disconnect> is there a simple way to use auth.conf to deny all hosts but one? pushing out a potentially destructive change and i'd like to freeze the clients i'm not currently testing. (I know, environments, etc but thats not gonna happen today ;) ..) | ||
| [2010/06/08 10:18:55] <Disconnect> thinking "path / || allow 10.2.3.4 || deny *" but i'm not sure about precendence | ||
| [2010/06/08 10:19:38] <cygnus1> Volcane: thank you! | ||
| [2010/06/08 10:20:37] @ Quit: gaveen: Ping timeout: 245 seconds | ||
| [2010/06/08 10:24:59] <Disconnect> anyone? a way to temporarily disable all hosts that aren't specifically listed? | ||
| [2010/06/08 10:25:32] <nahamu> Disconnect: a default node definition that does nothing?? | ||
| [2010/06/08 10:25:54] @ zirpu_ is now known as zirpu | ||
| [2010/06/08 10:27:23] <Disconnect> external node classifier | ||
| [2010/06/08 10:27:30] <Disconnect> and there's no simple way to do it there unfortunately | ||
| [2010/06/08 10:27:51] <Disconnect> (its still iclassify, and if i look at it cross-eyed it goes all evil-robot-rampage) | ||
| [2010/06/08 10:29:22] @ Quit: brettgoulder: Ping timeout: 245 seconds | ||
| [2010/06/08 10:31:25] @ ckauhaus joined channel #puppet | ||
| [2010/06/08 10:33:00] @ shenson joined channel #puppet | ||
| [2010/06/08 10:33:27] @ gaveen joined channel #puppet | ||
| [2010/06/08 10:34:04] @ acrollet joined channel #puppet | ||
| [2010/06/08 10:34:12] @ Quit: acrollet: Client Quit | ||
| [2010/06/08 10:34:29] @ glaw joined channel #puppet | ||
| [2010/06/08 10:34:42] @ brettgoulder joined channel #puppet | ||
| [2010/06/08 10:35:01] @ Quit: brettgoulder: Client Quit | ||
| [2010/06/08 10:35:31] @ Quit: shug: Quit: Leaving | ||
| [2010/06/08 10:37:18] @ DavidS1 joined channel #puppet | ||
| [2010/06/08 10:38:42] @ stahnma joined channel #puppet | ||
| [2010/06/08 10:38:56] @ DavidS2 joined channel #puppet | ||
| [2010/06/08 10:39:16] @ Quit: DavidS: Read error: Connection reset by peer | ||
| [2010/06/08 10:41:14] @ Quit: finalprefix: Quit: This computer has gone to sleep | ||
| [2010/06/08 10:41:38] @ Quit: rmiller4pi8: Quit: Leaving. | ||
| [2010/06/08 10:41:38] @ Quit: DavidS1: Ping timeout: 248 seconds | ||
| [2010/06/08 10:42:11] @ Quit: pejay: Quit: leaving | ||
| [2010/06/08 10:42:20] @ Quit: nevyn: Ping timeout: 276 seconds | ||
| [2010/06/08 10:43:29] @ nevyn joined channel #puppet | ||
| [2010/06/08 10:44:12] @ finalprefix joined channel #puppet | ||
| [2010/06/08 10:46:20] @ Quit: bronto: Quit: Leaving. | ||
| [2010/06/08 10:46:34] @ bronto joined channel #puppet | ||
| [2010/06/08 10:48:30] <avtobiff> is it possible to exclude certain tags and only run them when i call puppetrun --tag specified-tag | ||
| [2010/06/08 10:49:10] @ Guest27738 is now known as ohadlevy | ||
| [2010/06/08 10:49:40] @ ohadlevy is now known as Guest24133 | ||
| [2010/06/08 10:57:44] @ mpdehaan joined channel #puppet | ||
| [2010/06/08 10:57:44] @ Mode +v mpdehaan by ChanServ | ||
| [2010/06/08 10:57:46] @ mpdehaan_ joined channel #puppet | ||
| [2010/06/08 11:00:13] @ rasputnik joined channel #puppet | ||
| [2010/06/08 11:02:32] @ jaigouk joined channel #puppet | ||
| [2010/06/08 11:02:47] @ Quit: glaw: Ping timeout: 252 seconds | ||
| [2010/06/08 11:06:43] @ rmiller4pi8 joined channel #puppet | ||
| [2010/06/08 11:07:38] @ sideshow joined channel #puppet | ||
| [2010/06/08 11:07:44] @ Quit: mpdehaan_: Quit: Leaving | ||
| [2010/06/08 11:07:53] @ Quit: floess_chris: Remote host closed the connection | ||
| [2010/06/08 11:07:55] <sideshow> hi, it is possible to push with Puppetmaster ? | ||
| [2010/06/08 11:10:30] <[SMiTTY]> sideshow, don't believe so....Wish it would allow for push/pull | ||
| [2010/06/08 11:10:57] @ Quit: rmiller4pi8: Client Quit | ||
| [2010/06/08 11:11:10] <sideshow> SMiTTY: so it isn't possible to push ? | ||
| [2010/06/08 11:11:42] <dbruce> puppetrun? | ||
| [2010/06/08 11:11:44] @ jbooth_ joined channel #puppet | ||
| [2010/06/08 11:11:51] @ rmiller4pi8 joined channel #puppet | ||
| [2010/06/08 11:12:32] <sideshow> dbruce:puppetrun is used to run puppetd (and applies all classes) | ||
| [2010/06/08 11:12:33] <mpdehaan> or Func, or mcollective, yes. | ||
| [2010/06/08 11:12:43] <mpdehaan> or ssh triggered puppetd if you must :) | ||
| [2010/06/08 11:12:46] <[SMiTTY]> I stand corrected :) Good to know | ||
| [2010/06/08 11:12:47] @ Quit: ckauhaus: Ping timeout: 272 seconds | ||
| [2010/06/08 11:12:56] <sideshow> i want to push a file into a specific place to my client | ||
| [2010/06/08 11:13:06] <mpdehaan> ah, that's a different kind of push | ||
| [2010/06/08 11:13:16] <mpdehaan> but if you want to do it "right now" that's what we mean by push | ||
| [2010/06/08 11:13:25] <mpdehaan> yes, puppet can serve files and also template out files | ||
| [2010/06/08 11:13:47] @ ckauhaus joined channel #puppet | ||
| [2010/06/08 11:13:48] <mpdehaan> that need not be done with something like puppetrun, that can also be done with periodic checkin. Your choice. | ||
| [2010/06/08 11:13:51] <[SMiTTY]> puppetrun just triggers puppetd to checkin right ? | ||
| [2010/06/08 11:14:12] <sideshow> yep | ||
| [2010/06/08 11:15:00] <sideshow> +mpdehaan :how can i do it | ||
| [2010/06/08 11:15:05] <[SMiTTY]> saweet! I inherited the puppet config. The last guy said there was no way to push like with cfrun for specific hosts. I've used cfengine for years...I must say I really do like puppet though. | ||
| [2010/06/08 11:16:09] <mpdehaan> http://docs.puppetlabs.com/guides/templating.html <-- sideshow | ||
| [2010/06/08 11:17:34] <sideshow> +mpdehaan : thanks but i doesn't want to templating something | ||
| [2010/06/08 11:17:45] <sideshow> +mpdehaan : juste want something like that | ||
| [2010/06/08 11:18:02] <sideshow> +mpdehaan : puppetmaster --push this.file to client1.domain.com | ||
| [2010/06/08 11:18:30] <jbooth_> sideshow: It sounds like you need to read the 'getting started with puppet' docs | ||
| [2010/06/08 11:18:40] <sideshow> and with templates, if i had 5 classes inhertied by my node, all of them are going to be catalogued | ||
| [2010/06/08 11:19:20] @ steph021 joined channel #puppet | ||
| [2010/06/08 11:19:42] @ Quit: PsychoSid1: Quit: Leaving. | ||
| [2010/06/08 11:19:48] <sideshow> jbotth : maybe yes, but can you answer if i can push files ? | ||
| [2010/06/08 11:21:22] <Volcane> sideshow: you can copy files from the master to the clients. it's not however a rsync or scp replacement for copying random single files using a cli call like that | ||
| [2010/06/08 11:21:31] <mpdehaan> sideshow, ah, | ||
| [2010/06/08 11:21:37] <mpdehaan> so what you want to do is tag a specific file | ||
| [2010/06/08 11:21:41] <mpdehaan> and use puppetrun with --tags | ||
| [2010/06/08 11:21:52] <mpdehaan> so file { .... tag => 'splat' } | ||
| [2010/06/08 11:22:00] <mpdehaan> and puppetrun foo.example.org --tags splat | ||
| [2010/06/08 11:22:10] @ Quit: greglu: Quit: Leaving | ||
| [2010/06/08 11:22:15] <mpdehaan> but yeah, it's not as immediately like an rsync | ||
| [2010/06/08 11:22:28] <mpdehaan> but you can do just part of your puppet config on a directed basis, yeah | ||
| [2010/06/08 11:22:50] <sideshow> +mpdehaan : that is the answer what i wanted, thank you very much | ||
| [2010/06/08 11:23:22] <sideshow> +mpdehaan : so i tag the file and only this file is going to "pushed" to the server ? | ||
| [2010/06/08 11:23:41] @ rgsteele joined channel #puppet | ||
| [2010/06/08 11:23:45] <mpdehaan> any resources with that tag would be triggered, but basically, yes | ||
| [2010/06/08 11:23:53] <mpdehaan> it's more like triggering a pull, but it will do it "now" | ||
| [2010/06/08 11:24:12] <Volcane> sideshow: it will also though do the action every time puppet runs its usual schedule | ||
| [2010/06/08 11:24:42] <sideshow> Volcane : ah, ok...it's a problem | ||
| [2010/06/08 11:24:56] <sideshow> Volcane : thanks for advice | ||
| [2010/06/08 11:25:28] <mpdehaan> it would only push it if the md5sum had changed or if the file was missing | ||
| [2010/06/08 11:25:41] <mpdehaan> IIRC | ||
| [2010/06/08 11:25:55] <mpdehaan> but yeah, you might want to do something different for ad-hoc tasks | ||
| [2010/06/08 11:25:56] <joe-mac> you can set checksum to be md5, mtime, maybe one other value | ||
| [2010/06/08 11:26:08] <mpdehaan> s/would/will/ | ||
| [2010/06/08 11:26:26] @ mmcgrath joined channel #puppet | ||
| [2010/06/08 11:26:28] <mpdehaan> just md5 right now. SHA-1 was requested | ||
| [2010/06/08 11:26:46] <mmcgrath> if I'm using recurse => true and there's some directories under there. How can I get puppet to not alter the mtime of the directories? | ||
| [2010/06/08 11:27:01] <mmcgrath> notice: /File[/var/named/chroot/master/NA]/checksum: checksum changed '{mtime}Tue Jun 08 15:20:48 +0000 2010' to '{mtime}Tue Jun 08 15:22:42 +0000 2010' <-- that's the particular thing I'm trying to avoid. | ||
| [2010/06/08 11:27:29] @ DavidS2 is now known as DavidS | ||
| [2010/06/08 11:27:30] <mpdehaan> joe-mac, maybe I'm wrong :) | ||
| [2010/06/08 11:27:39] * mpdehaan looks | ||
| [2010/06/08 11:27:41] <Volcane> joe-mac, mpdehaan: point is,i think sideshow is think he's got the worlds most complex rsync client and the suggestions doesnt really make him understand he doesnt | ||
| [2010/06/08 11:27:51] <Volcane> s/is think/is thinking/ | ||
| [2010/06/08 11:27:52] <joe-mac> haha | ||
| [2010/06/08 11:27:57] <joe-mac> rsync is complex enouigh | ||
| [2010/06/08 11:28:03] <joe-mac> you ever try to read that cluster of a manpage? | ||
| [2010/06/08 11:28:04] @ Quit: GioGio: Quit: Page closed | ||
| [2010/06/08 11:28:06] <joe-mac> my brain still bleeds | ||
| [2010/06/08 11:28:09] <mpdehaan> joe-mac, I am with you :) | ||
| [2010/06/08 11:28:16] <mpdehaan> I always get direction and --delete all confused | ||
| [2010/06/08 11:28:35] <mpdehaan> and trailing slashes | ||
| [2010/06/08 11:28:49] @ alban2 joined channel #puppet | ||
| [2010/06/08 11:29:03] <lanky> mpdehaan: that's treacherous ground to tread... | ||
| [2010/06/08 11:29:11] <mpdehaan> sideshow, to get to Volcane's question, are you already using Puppet for some other things? | ||
| [2010/06/08 11:29:25] <sideshow> Volcane : don't understand ? | ||
| [2010/06/08 11:29:42] <mpdehaan> it does a lot more than push files. I was answering your question as if you knew mostly what it did and also had this use case on the side about pushing files right now | ||
| [2010/06/08 11:30:01] <mpdehaan> which I think was your question? | ||
| [2010/06/08 11:30:21] <mpdehaan> mmcgrath, I'm guessing ask -dev or -users list. | ||
| [2010/06/08 11:30:33] <mpdehaan> it shouldn't be modifing them if it doesn't need to change anything | ||
| [2010/06/08 11:30:35] <mpdehaan> seems like a bug to me | ||
| [2010/06/08 11:30:45] <sideshow> mpdehaan : yes it already make my vhost on apache, get files for dns conf, asw | ||
| [2010/06/08 11:30:52] <mpdehaan> cool :) | ||
| [2010/06/08 11:30:57] <Volcane> mpdehaan: putting a file into a dir changes the mtime | ||
| [2010/06/08 11:31:11] <Volcane> mpdehaan: puppets ordering is lame, checksum the dir, put files in | ||
| [2010/06/08 11:31:28] <joe-mac> are you certain abotu this? i could have sworn you can skip that by enforcing a checksum function... | ||
| [2010/06/08 11:31:34] <Volcane> mpdehaan: next time it comes around, oh look the dir has changed, lets notify daemons eventhough its the last event from its own previous run thats caused the mtime change | ||
| [2010/06/08 11:31:34] @ Quit: alban2: Read error: Connection reset by peer | ||
| [2010/06/08 11:31:38] <joe-mac> like checksum => "md5", | ||
| [2010/06/08 11:31:39] <mmcgrath> Volcane: I thought the default was an md5 check though | ||
| [2010/06/08 11:31:51] <mmcgrath> or is there an order like md5 first, then mtime | ||
| [2010/06/08 11:32:01] <masterzen> joe-mac: checksum => md5 is illegal for directories | ||
| [2010/06/08 11:32:06] <joe-mac> right | ||
| [2010/06/08 11:32:09] <Volcane> you cant md5 a directory | ||
| [2010/06/08 11:32:11] <joe-mac> i realized after i said it how retarded i was | ||
| [2010/06/08 11:32:26] <mpdehaan> You can't md5 a directory ... yet :) | ||
| [2010/06/08 11:32:26] * mmcgrath wasn't sure if that was hidden by some internal function. | ||
| [2010/06/08 11:32:28] * mpdehaan hides | ||
| [2010/06/08 11:32:42] <mmcgrath> so if I use md5 to do a recursive directory which contains dirs, will it fallback to mtime? | ||
| [2010/06/08 11:32:47] <masterzen> mpdehaan: you have some insider info we don't have? | ||
| [2010/06/08 11:32:59] <mpdehaan> I was totally joking. | ||
| [2010/06/08 11:33:06] @ alban2 joined channel #puppet | ||
| [2010/06/08 11:33:12] <masterzen> mmcgrath: it will use md5 for files and mtime for dirs | ||
| [2010/06/08 11:33:17] <mpdehaan> but I may have also been talking about a filesystem I've been working on in my basement, you never know | ||
| [2010/06/08 11:33:24] <masterzen> :-) | ||
| [2010/06/08 11:33:43] <mmcgrath> and I take it there's no way to have it mtime on files and none on directories? | ||
| [2010/06/08 11:34:04] <mpdehaan> IIRC that requires the switchable checksum engine that come up a few weeks ago and didn't exist | ||
| [2010/06/08 11:34:17] * mpdehaan looks | ||
| [2010/06/08 11:35:21] <mpdehaan> "Valid values are md5, md5lite, timestamp, mtime, time, none. " ... for file | ||
| [2010/06/08 11:35:53] <mpdehaan> so yeah, I was wrong | ||
| [2010/06/08 11:36:07] <sideshow> Volcane: what does this sentence says : point is,i think sideshow is think he's got the worlds most complex rsync client and the suggestions doesnt really make him understand he doesnt ? | ||
| [2010/06/08 11:36:40] @ Quit: fluxdud3: Changing host | ||
| [2010/06/08 11:36:40] @ fluxdud3 joined channel #puppet | ||
| [2010/06/08 11:36:40] <Volcane> 16:20 <Volcane> sideshow: you can copy files from the master to the clients. it's not however a rsync or scp replacement for copying random single files using a cli call like that | ||
| [2010/06/08 11:36:44] @ fluxdud3 is now known as fluxdude | ||
| [2010/06/08 11:37:27] <sideshow> Volcane : ok sorry didn't read this line | ||
| [2010/06/08 11:38:11] @ labrown joined channel #puppet | ||
| [2010/06/08 11:39:31] @ Quit: Xombie: Ping timeout: 265 seconds | ||
| [2010/06/08 11:48:05] @ Quit: mqr_: Quit: mqr_ | ||
| [2010/06/08 11:50:54] @ Welsh_Dwarf joined channel #puppet | ||
| [2010/06/08 11:51:04] @ Guest24133 is now known as ohadlevy | ||
| [2010/06/08 11:51:34] @ ohadlevy is now known as Guest11303 | ||
| [2010/06/08 11:52:36] @ pinoyskull joined channel #puppet | ||
| [2010/06/08 11:52:37] @ Quit: pinoyskull: Client Quit | ||
| [2010/06/08 11:53:45] @ bodepd joined channel #puppet | ||
| [2010/06/08 11:55:29] @ Quit: felix_da_catz: Ping timeout: 265 seconds | ||
| [2010/06/08 11:56:27] @ Quit: _nalle: Ping timeout: 276 seconds | ||
| [2010/06/08 11:56:32] @ Quit: verwilst: Quit: Ex-Chat | ||
| [2010/06/08 11:58:28] @ Pupeno joined channel #puppet | ||
| [2010/06/08 11:58:31] @ Quit: ppickfor: Quit: Leaving. | ||
| [2010/06/08 11:59:17] <Pupeno> I'd like to have /etc/hosts in bacula, but how can I add this line to it: <ip> <fqdn> to it without defining one /etc/hosts per server? | ||
| [2010/06/08 11:59:34] @ Quit: blahdeblah: Ping timeout: 260 seconds | ||
| [2010/06/08 11:59:36] @ Quit: jbooth_: Quit: leaving | ||
| [2010/06/08 12:00:00] <Volcane> Pupeno: look in the type referenc,e puppet supports managing /etc/hosts | ||
| [2010/06/08 12:00:41] @ Quit: rasputnik: Ping timeout: 264 seconds | ||
| [2010/06/08 12:01:56] @ ppickfor joined channel #puppet | ||
| [2010/06/08 12:02:06] <Pupeno> Volcane: thanks. | ||
| [2010/06/08 12:02:44] @ lucid joined channel #puppet | ||
| [2010/06/08 12:03:01] <Pupeno> oh, it seems fqdn should point to 127.0.0.1 anyway. | ||
| [2010/06/08 12:03:34] @ Quit: pmorillo: Quit: pmorillo | ||
| [2010/06/08 12:03:58] @ Quit: jaigouk: Read error: Connection reset by peer | ||
| [2010/06/08 12:04:50] <Pupeno> Does the variable fqdn exist in the manifests? | ||
| [2010/06/08 12:04:56] <Volcane> yup | ||
| [2010/06/08 12:05:02] @ Quit: giskard: Remote host closed the connection | ||
| [2010/06/08 12:05:11] @ sebas891 joined channel #puppet | ||
| [2010/06/08 12:06:39] @ Quit: DavidS: Quit: Leaving. | ||
| [2010/06/08 12:06:57] @ ahuman joined channel #puppet | ||
| [2010/06/08 12:07:00] @ giskard joined channel #puppet | ||
| [2010/06/08 12:07:43] @ Quit: giskard: Remote host closed the connection | ||
| [2010/06/08 12:08:49] @ mstyne joined channel #puppet | ||
| [2010/06/08 12:09:02] @ blahdeblah joined channel #puppet | ||
| [2010/06/08 12:09:13] <Pupeno> Is there a list of such variables somewhere? | ||
| [2010/06/08 12:09:34] <Volcane> type 'facter' | ||
| [2010/06/08 12:11:41] @ Quit: ckauhaus: Ping timeout: 272 seconds | ||
| [2010/06/08 12:12:03] @ Quit: Pupeno: Read error: Connection reset by peer | ||
| [2010/06/08 12:12:44] @ Quit: pheezy: Quit: Leaving... | ||
| [2010/06/08 12:15:20] @ jbartus_ is now known as jbartus | ||
| [2010/06/08 12:17:29] @ Quit: sideshow: Quit: Page closed | ||
| [2010/06/08 12:18:19] @ Quit: Ramonster: Quit: So long, thanx for all the fish | ||
| [2010/06/08 12:19:56] @ plathrop-away is now known as plathrop | ||
| [2010/06/08 12:21:50] <joe-mac> that --config-version switch for puppetmasterd is awesome | ||
| [2010/06/08 12:22:37] @ Quit: finalprefix: Quit: This computer has gone to sleep | ||
| [2010/06/08 12:22:42] @ Quit: jaredrhine: Quit: Leaving. | ||
| [2010/06/08 12:23:06] @ ajbourg joined channel #puppet | ||
| [2010/06/08 12:23:39] <ajbourg> Quick Question: is there a way to setup puppet to manage a set a value and then stop managing that value? | ||
| [2010/06/08 12:23:42] <ajbourg> eg: passwords | ||
| [2010/06/08 12:23:59] <joe-mac> like a once only? not really | ||
| [2010/06/08 12:24:16] <joe-mac> that's more like what kickstart or preseed would do | ||
| [2010/06/08 12:24:44] <joe-mac> you could do a trick or two to egt that to happen | ||
| [2010/06/08 12:24:56] <ajbourg> well here's what I want | ||
| [2010/06/08 12:25:03] <joe-mac> such as having a 'bootstrap environment' then after that runs, have the node automatically move to the 'production environment' | ||
| [2010/06/08 12:25:20] <ajbourg> I want puppet to setup a user, set a password, but allow the user to change the password later | ||
| [2010/06/08 12:25:29] @ Quit: Welsh_Dwarf: Read error: Connection reset by peer | ||
| [2010/06/08 12:25:44] <joe-mac> then they would likely need commit access to a single pp file that only contains their user | ||
| [2010/06/08 12:25:52] <ajbourg> hmm | ||
| [2010/06/08 12:26:26] <joe-mac> i don't use passwords at all anymore, only locally on keys.. transmitting on the wire is kind of done away with for everything but the most non-sensitive apps | ||
| [2010/06/08 12:26:54] <ajbourg> well I have puppet managing keys right now great | ||
| [2010/06/08 12:27:26] <ajbourg> but I don't think ssh will allow you to login with a blank password even if you have a key | ||
| [2010/06/08 12:27:36] <ajbourg> and the user needs to know the password for sudo purposes | ||
| [2010/06/08 12:27:55] @ alfism joined channel #puppet | ||
| [2010/06/08 12:28:25] <ajbourg> or am I wrong? | ||
| [2010/06/08 12:31:40] <joe-mac> ajbourg: yea you set password to '!' | ||
| [2010/06/08 12:31:48] <joe-mac> PAM comes into play though | ||
| [2010/06/08 12:31:54] <joe-mac> if ssh is set UsePAM Yes | ||
| [2010/06/08 12:32:03] <ajbourg> what does ! for the password do? | ||
| [2010/06/08 12:32:04] <joe-mac> so, before you go ahead as gospel test on something unimportant | ||
| [2010/06/08 12:32:15] <ajbourg> just allow login via keys | ||
| [2010/06/08 12:32:16] <ajbourg> ? | ||
| [2010/06/08 12:33:02] <joe-mac> no, i'm talking in the unix passwd | ||
| [2010/06/08 12:34:07] @ notbrien joined channel #puppet | ||
| [2010/06/08 12:34:55] <joe-mac> it effectively disables passwords for the account, depending on PAM, the account can still be used. then ssh is set to PasswordAuthentication no and the other settings for pubkey auth is turned ion | ||
| [2010/06/08 12:34:58] @ Quit: kolla: Remote host closed the connection | ||
| [2010/06/08 12:39:53] <joe-mac> this is odd, when i run puppetd -t i see the configuration version line with the commit number in it, however this isn't beiong sent to syslog from the puppetd... is there some log verbiosity i have to set | ||
| [2010/06/08 12:40:30] @ thatothermitch joined channel #puppet | ||
| [2010/06/08 12:40:38] @ aliver joined channel #puppet | ||
| [2010/06/08 12:40:53] <Volcane> joe-mac: yeah doesnt show up in reports either, thats what i could never understand about this 'feature' | ||
| [2010/06/08 12:40:59] <Volcane> joe-mac: its mostly rubbish :P | ||
| [2010/06/08 12:41:29] <joe-mac> Volcane: i thought i was collecting it in my syslog server :-( | ||
| [2010/06/08 12:41:57] <joe-mac> it's an awesome idea though, just need to get it going to reports | ||
| [2010/06/08 12:42:06] <aliver> Hey, fellas, I'm trying to setup nginx with Puppetmasterd. I don't have a --masterport option on my puppetmasterd. I'm running version 0.24.7. Is it still possible to run the master daemon on some alternate ports so I can have the reverse proxy talk to them? | ||
| [2010/06/08 12:42:26] @ Quit: ppickfor: Ping timeout: 240 seconds | ||
| [2010/06/08 12:42:27] <aliver> It's tough for me to upgrade the master daemon if it's going to force my clients to upgrade. | ||
| [2010/06/08 12:42:47] <aliver> Is there some docs I can read somewhere that will give me a leg up on this problem? | ||
| [2010/06/08 12:43:26] @ reyjrar joined channel #puppet | ||
| [2010/06/08 12:44:44] @ Quit: alban2: Quit: Leaving. | ||
| [2010/06/08 12:45:06] <Volcane> joe-mac: yeah its pointless as it is, also i cant get it to exec scripts properly in all cases | ||
| [2010/06/08 12:46:12] <joe-mac> Volcane: ? what do you mean | ||
| [2010/06/08 12:46:13] <thatothermitch> does puppetmasterd provide any sort of API ? I'd really like to query it and retrieve a list of nodes and metadata about those nodes... is this possible? | ||
| [2010/06/08 12:46:29] <joe-mac> thatothermitch: i do this with the stored configs db | ||
| [2010/06/08 12:46:37] <gebi> aliver: new master with old clients works, just the other way arround is not possible | ||
| [2010/06/08 12:46:50] <thatothermitch> joe-mac: thanks for the tip, i'll do some research into that : ) | ||
| [2010/06/08 12:47:16] <joe-mac> np- i wouldn't just put it into production on a whim if you've got a large environment though | ||
| [2010/06/08 12:48:04] @ giskard joined channel #puppet | ||
| [2010/06/08 12:48:16] <Volcane> joe-mac: #3043 | ||
| [2010/06/08 12:48:16] <gepetto> Volcane: joe-mac: #3043 is http://projects.puppetlabs.com/issues/show/3043 "Puppet - Bug #3043: Exec format error with config_version being a shell script - PuppetLabs.com" | ||
| [2010/06/08 12:48:16] <joe-mac> Volcane: is PL aware that this config version string shoudl be going to reports? | ||
| [2010/06/08 12:48:39] <Volcane> joe-mac: yes, its something set for the big reports rework | ||
| [2010/06/08 12:48:50] <joe-mac> alright awesome | ||
| [2010/06/08 12:49:09] <thatothermitch> joe-mac: i see -- would the other logical approach be to just build an external node classifier which both puppet and the other software could use? | ||
| [2010/06/08 12:49:12] <Volcane> on the list luke suggested it already go in reports and stuff | ||
| [2010/06/08 12:49:20] <Volcane> but i think thats just sillytalk | ||
| [2010/06/08 12:49:35] <bodepd> Volcane: I can see the config version in my reports | ||
| [2010/06/08 12:49:50] <aliver> So, I guess that I should just upgrade my puppetmasterd to get the --masterport flag? | ||
| [2010/06/08 12:49:52] <Volcane> bodepd: hmmm | ||
| [2010/06/08 12:49:56] <Volcane> bodepd: show a sample | ||
| [2010/06/08 12:50:08] <bodepd> Volcane: did i wasnt using the config_version option. hold on | ||
| [2010/06/08 12:50:17] @ Pupeno joined channel #puppet | ||
| [2010/06/08 12:50:39] <bodepd> Volcane: just saw the loading timestamp. | ||
| [2010/06/08 12:50:41] <Volcane> bodepd: http://projects.reductivelabs.com/attachments/1002/201006070821.yaml one of my yamls... | ||
| [2010/06/08 12:50:59] @ Quit: TREllis: Quit: leaving | ||
| [2010/06/08 12:51:02] @ lak joined channel #puppet | ||
| [2010/06/08 12:51:02] @ Quit: benoit_: Ping timeout: 276 seconds | ||
| [2010/06/08 12:51:37] <joe-mac> yea timestamp is nearly useless for me at least | ||
| [2010/06/08 12:51:38] <ajbourg> joe-mac: thanks for your help earlier. I got it working. I really appreciate it. | ||
| [2010/06/08 12:51:44] <joe-mac> the subversion revision is key for me | ||
| [2010/06/08 12:51:46] <joe-mac> ajbourg: np | ||
| [2010/06/08 12:52:42] @ Guest11303 is now known as ohadlevy | ||
| [2010/06/08 12:53:12] @ ohadlevy is now known as Guest73218 | ||
| [2010/06/08 12:55:27] <bodepd> Volcane: what version is that? | ||
| [2010/06/08 12:55:35] <Volcane> bodepd: 0.25.5 | ||
| [2010/06/08 12:56:22] <bodepd> Volcane: I wont believe it till I recreate. hold please :) | ||
| [2010/06/08 12:56:46] @ Quit: ajbourg: Quit: ajbourg | ||
| [2010/06/08 12:57:50] @ Quit: \ask: Remote host closed the connection | ||
| [2010/06/08 12:58:07] <joe-mac> actually, Volcane it is in my yaml | ||
| [2010/06/08 12:58:13] <Volcane> joe-mac: show :) | ||
| [2010/06/08 12:58:13] <joe-mac> .25.4 | ||
| [2010/06/08 12:59:11] <joe-mac> http://www.pastie.org/996540 | ||
| [2010/06/08 12:59:20] <bodepd> it works with 0.25.4 | ||
| [2010/06/08 12:59:41] <bodepd> version: blah | ||
| [2010/06/08 12:59:51] @ Quit: lak: Quit: lak | ||
| [2010/06/08 13:00:27] <joe-mac> yea, i still don't see it in syslog, but that's probably just teh syslog reporter not having the feature | ||
| [2010/06/08 13:00:31] <Volcane> def not on mine, not with it convig_version set or left default | ||
| [2010/06/08 13:00:52] <Volcane> and #3043 still bites me too | ||
| [2010/06/08 13:00:53] <gepetto> Volcane: #3043 is http://projects.puppetlabs.com/issues/show/3043 "Puppet - Bug #3043: Exec format error with config_version being a shell script - PuppetLabs.com" | ||
| [2010/06/08 13:00:53] <bodepd> Volcane: I tried both ways. | ||
| [2010/06/08 13:00:59] <Volcane> joe-mac: how do you get that commit id? | ||
| [2010/06/08 13:01:05] <joe-mac> let me check, i kinda forgot | ||
| [2010/06/08 13:01:36] <joe-mac> --config_version /usr/local/bin/get-puppet-revision <-- that is in my init script for puppetmasterd | ||
| [2010/06/08 13:01:41] <joe-mac> hold on let me pastie the script | ||
| [2010/06/08 13:02:00] <bodepd> Volcane: I just checked for 0.25.5, it also works. | ||
| [2010/06/08 13:02:25] <joe-mac> http://www.pastie.org/996548 | ||
| [2010/06/08 13:02:39] @ Quit: lohapuk: Quit: Leaving. | ||
| [2010/06/08 13:02:54] <joe-mac> that REVISION file is written out by capistrano during a deploy | ||
| [2010/06/08 13:05:27] @ plathrop is now known as plathrop-away | ||
| [2010/06/08 13:05:34] <Volcane> if i set it to /bin/date | ||
| [2010/06/08 13:05:35] <Volcane> I get: info: Applying configuration version 'Tue Jun 8 18:03:12 BST 2010' | ||
| [2010/06/08 13:05:45] <Volcane> still f'all in the report about it other than the log entry | ||
| [2010/06/08 13:07:07] <bodepd> Volcane: maybe it doesnt like the format or something. | ||
| [2010/06/08 13:08:32] @ Quit: thatothermitch: Ping timeout: 258 seconds | ||
| [2010/06/08 13:08:50] @ thatothermitch joined channel #puppet | ||
| [2010/06/08 13:09:22] @ Quit: espent: Quit: leaving | ||
| [2010/06/08 13:09:23] <MPSimmons> Random question...what kind of pain is invoked if I have a puppet client talking to my test server, then change the puppet server to a production instance (which may have a different set of manifests)? | ||
| [2010/06/08 13:09:43] @ espent joined channel #puppet | ||
| [2010/06/08 13:10:42] <bodepd> Volcane: it is attached to events logs | ||
| [2010/06/08 13:10:42] @ toi joined channel #puppet | ||
| [2010/06/08 13:10:46] <joe-mac> MPSimmons: no pain at all as long as you use the same SSL certs and you have set the certname option to be 'puppet' | ||
| [2010/06/08 13:10:55] <bodepd> Volcane: you only see it if something is applied. | ||
| [2010/06/08 13:10:57] <Volcane> bodepd: sure when you're running it with --test etc, but thats pointless | ||
| [2010/06/08 13:11:07] <Volcane> bodepd: joe-mac's example has it in an actual var | ||
| [2010/06/08 13:11:36] <MPSimmons> joe-mac: Sorry, still unfamiliar with puppet for the most part. The certname in the client or the server? | ||
| [2010/06/08 13:11:41] <espent> is puppet dependent on reverse dns lookup? i need some nodes behind NAT to connect to puppetmasterd | ||
| [2010/06/08 13:12:01] <joe-mac> Volcane: that's interesting actually- i always have at least one resource being applied, my fw rules. they get applied by a non-refreshonly exec every run | ||
| [2010/06/08 13:12:06] <bodepd> Volcane: in the example report, nothing is applied. The version is associated with events. | ||
| [2010/06/08 13:12:11] <joe-mac> MPSimmons: np, certname would be on the server in puppet.conf | ||
| [2010/06/08 13:12:20] <joe-mac> but if you change it now you're going to have some pain most likely | ||
| [2010/06/08 13:12:21] <MPSimmons> ah, great. thanks :-) | ||
| [2010/06/08 13:12:24] <Volcane> even with things changing, it doesnt get tagged with the version for me | ||
| [2010/06/08 13:12:24] @ cure_ is now known as wardv | ||
| [2010/06/08 13:12:42] <joe-mac> the manifests part is really negligible, you should be more worried about SSL, the suicide sockets layer | ||
| [2010/06/08 13:12:47] @ Quit: wardv: Changing host | ||
| [2010/06/08 13:12:47] @ wardv joined channel #puppet | ||
| [2010/06/08 13:12:55] <MPSimmons> hehe. | ||
| [2010/06/08 13:12:56] <joe-mac> or secure suicide, take your pick | ||
| [2010/06/08 13:13:06] @ a3li` is now known as a3li | ||
| [2010/06/08 13:13:11] <MPSimmons> If I need to, can I have the puppet clients generate new certs, so they can be signed by the new server? | ||
| [2010/06/08 13:13:27] <bodepd> Volcane: can I see an example of that? | ||
| [2010/06/08 13:14:12] <Volcane> ah gotcha, it puts it in the log yes. but that doesnt help, cant figure out from a report what version of the anifest a box is running | ||
| [2010/06/08 13:14:27] <Volcane> unless you make it change things, which doesnt make sense | ||
| [2010/06/08 13:15:29] <bodepd> the reports are meaningless unless something changes. I dont see any problem with the way it is. | ||
| [2010/06/08 13:15:36] @ diranged joined channel #puppet | ||
| [2010/06/08 13:15:52] <Volcane> bodepd: the lack of change has meaning. as does last run, last succesfull run, metrics of last run | ||
| [2010/06/08 13:15:59] <bodepd> yeah. | ||
| [2010/06/08 13:16:09] <Volcane> bodepd: not knowing when was the last version of manifest that *didnt* have a problem? | ||
| [2010/06/08 13:16:12] <Volcane> thats a problem | ||
| [2010/06/08 13:16:13] <diranged> In my puppet config right now, I use a) a custom fact provider, and b) a sysctl provider.. these don't seem to get uploaded and run on a client node until the 2nd or 3rd time you run puppet. Why is this? | ||
| [2010/06/08 13:16:22] <bodepd> I agree. | ||
| [2010/06/08 13:16:39] @ jaredrhine joined channel #puppet | ||
| [2010/06/08 13:17:18] @ voodoo_ joined channel #puppet | ||
| [2010/06/08 13:17:36] <Volcane> so you cant answer from just he most recent reports what was the last good manifest | ||
| [2010/06/08 13:19:56] @ wardv is now known as cure | ||
| [2010/06/08 13:20:03] @ ajbourg joined channel #puppet | ||
| [2010/06/08 13:22:13] <diranged> Right now I call my sysctl {} commands from the defaults.pp file inside a case based on $kernelmajversion. Is it possible that that won't get run on the first time-around, and has to get run the second time? | ||
| [2010/06/08 13:22:20] <bodepd> I just tried to recreate #3043, it worked for me. | ||
| [2010/06/08 13:22:21] <gepetto> bodepd: #3043 is http://projects.puppetlabs.com/issues/show/3043 "Puppet - Bug #3043: Exec format error with config_version being a shell script - PuppetLabs.com" | ||
| [2010/06/08 13:24:10] <bodepd> Volcane: nevermind, just recreated. | ||
| [2010/06/08 13:24:19] @ alexine_dsouza joined channel #puppet | ||
| [2010/06/08 13:26:33] @ Quit: bearnard_: Quit: bearnard_ | ||
| [2010/06/08 13:27:15] @ cole_ joined channel #puppet | ||
| [2010/06/08 13:29:51] @ russell_1 is now known as russell_h | ||
| [2010/06/08 13:29:56] @ Quit: russell_h: Changing host | ||
| [2010/06/08 13:29:56] @ russell_h joined channel #puppet | ||
| [2010/06/08 13:31:59] <diranged> http://www.pastie.org/996587 | ||
| [2010/06/08 13:32:24] @ \ask joined channel #puppet | ||
| [2010/06/08 13:32:35] <diranged> i think i just need something in the class sysctl {} definition that requires that the various providers are installed | ||
| [2010/06/08 13:35:11] @ Quit: JD__: Remote host closed the connection | ||
| [2010/06/08 13:35:14] @ JD_ joined channel #puppet | ||
| [2010/06/08 13:36:33] @ Quit: steven43126: Ping timeout: 276 seconds | ||
| [2010/06/08 13:40:01] @ Quit: cole_: Quit: Page closed | ||
| [2010/06/08 13:51:53] @ jaigouk joined channel #puppet | ||
| [2010/06/08 13:53:15] @ Quit: MattyM: Remote host closed the connection | ||
| [2010/06/08 13:54:05] @ Guest73218 is now known as ohadlevy | ||
| [2010/06/08 13:54:35] @ ohadlevy is now known as Guest94534 | ||
| [2010/06/08 13:55:43] @ Demosthenes joined channel #puppet | ||
| [2010/06/08 13:58:28] @ caglar10ur joined channel #puppet | ||
| [2010/06/08 14:00:19] @ Quit: ajbourg: Quit: ajbourg | ||
| [2010/06/08 14:00:37] @ plathrop-away is now known as plathrop | ||
| [2010/06/08 14:01:08] @ lak joined channel #puppet | ||
| [2010/06/08 14:01:37] <caglar10ur> hi all, is there a way to convert the result of a template variable to all lowercase? | ||
| [2010/06/08 14:01:51] @ pting joined channel #puppet | ||
| [2010/06/08 14:01:52] <diranged> ugh.. ok so the issue is pluginsync = true isnt set in the default puppet.conf file. is there a way to set that via commandline or force that to be true for a new client thats connecting? | ||
| [2010/06/08 14:04:38] @ bearnard joined channel #puppet | ||
| [2010/06/08 14:05:53] <caglar10ur> caglar10ur: ok I found it. <%= variable.downcase %> solved the problem | ||
| [2010/06/08 14:06:16] @ Quit: lak: Quit: lak | ||
| [2010/06/08 14:06:47] <diranged> err: Could not load downloaded file /var/lib/puppet/lib/puppet/provider/sysctl/parsed.rb: undefined method `provide' for nil:NilClass <<< not sure why this happens. puppet with pluginsync = true copies over first parsed.rb and tries to load it. THEN it copies over sysctl.rb and loads it.. | ||
| [2010/06/08 14:07:22] <mpdehaan> caglar10ur, erb templates are effectively ruby, so you can do ... | ||
| [2010/06/08 14:07:24] <mpdehaan> ah beat me too it :) | ||
| [2010/06/08 14:08:15] <diranged> i only get that error the 1st time.. any idea why? does it have to do with the type not being uploaded first? | ||
| [2010/06/08 14:17:29] @ Quit: joe-mac: Ping timeout: 276 seconds | ||
| [2010/06/08 14:18:02] <ashp> Well, this sucks. I tried to move to foreman as my external nodes classifer and it's not working. :) | ||
| [2010/06/08 14:18:13] <bodepd> giranged: does the sysctl type/provider work after its synced? | ||
| [2010/06/08 14:19:22] <diranged> @bodepd yes.. near as i can tell, it actually works right after the type/sysctl.rb file is synced over. so the question is, how can i set an order of operations with those files. im trying to understand how the require line in the provider/parsed.rb file works... | ||
| [2010/06/08 14:20:14] <bodepd> can you pastie the code? | ||
| [2010/06/08 14:20:35] <diranged> http://www.pastie.org/996587 | ||
| [2010/06/08 14:25:05] @ Quit: alexine_dsouza: Read error: Connection reset by peer | ||
| [2010/06/08 14:26:12] @ alexine_dsouza joined channel #puppet | ||
| [2010/06/08 14:28:21] <diranged> its pretty ugly, but the error goes away if i add this to parsed.rb: require '/var/lib/puppet/lib/puppet/type/sysctl.rb' | ||
| [2010/06/08 14:28:34] <diranged> but i dont like that.. its too specific.. | ||
| [2010/06/08 14:28:54] <diranged> can i use a variable there maybe to point to the varlibpuppet dir.. | ||
| [2010/06/08 14:30:04] @ fluxdud3 joined channel #puppet | ||
| [2010/06/08 14:30:25] <bodepd> shouldnt be required. | ||
| [2010/06/08 14:30:30] <bodepd> gotta go though. | ||
| [2010/06/08 14:30:31] @ bodepd left channel #puppet () | ||
| [2010/06/08 14:32:50] @ Quit: plathrop: Quit: leaving | ||
| [2010/06/08 14:33:09] @ plathrop joined channel #puppet | ||
| [2010/06/08 14:33:22] @ Quit: [GuS]: Remote host closed the connection | ||
| [2010/06/08 14:33:38] @ Quit: fluxdude: Ping timeout: 258 seconds | ||
| [2010/06/08 14:38:22] @ Quit: jaigouk: Quit: Leaving... | ||
| [2010/06/08 14:41:06] <diranged> http://www.mail-archive.com/puppet-dev@googlegroups.com/msg08475.html < im running into this EXACT problem.. | ||
| [2010/06/08 14:44:51] @ [GuS] joined channel #puppet | ||
| [2010/06/08 14:44:54] @ Quit: [GuS]: Changing host | ||
| [2010/06/08 14:44:54] @ [GuS] joined channel #puppet | ||
| [2010/06/08 14:47:35] @ joe-mac joined channel #puppet | ||
| [2010/06/08 14:50:51] @ adrian_broher joined channel #puppet | ||
| [2010/06/08 14:52:12] @ alban2 joined channel #puppet | ||
| [2010/06/08 14:52:26] @ malikai joined channel #puppet | ||
| [2010/06/08 14:53:14] <malikai> howdy | ||
| [2010/06/08 14:55:05] @ Guest94534 is now known as ohadlevy | ||
| [2010/06/08 14:55:34] @ ohadlevy is now known as Guest82115 | ||
| [2010/06/08 14:59:11] <malikai> out of curiosity, could i hear what the symptoms of an overloaded stock puppetmaster be? | ||
| [2010/06/08 14:59:25] <malikai> s/be/would be | ||
| [2010/06/08 15:00:02] <joe-mac> malikai: lots of fin_wait sockets and stupid shit like that | ||
| [2010/06/08 15:00:04] <Volcane> slow, connection reset by peer messages, high failed connection attempts in netstat -s | ||
| [2010/06/08 15:00:15] <Volcane> lots of SYN_SENT connections in clients | ||
| [2010/06/08 15:00:20] <malikai> right | ||
| [2010/06/08 15:00:29] <AngryParsley> also your puppet clients would occasionally complain that they couldn't download the catalog and that they're using a cached copy | ||
| [2010/06/08 15:00:34] @ themurph joined channel #puppet | ||
| [2010/06/08 15:00:45] <Volcane> general suckyness like taking many minutes to do simple things etc | ||
| [2010/06/08 15:00:59] <malikai> i see | ||
| [2010/06/08 15:01:09] <joe-mac> lol, "stupid shit like that" "general suckyness" <--- those are the technical explanations, of course | ||
| [2010/06/08 15:01:33] <malikai> my kind of technical :) | ||
| [2010/06/08 15:01:34] <joe-mac> how many nodes are you trying to connect through webrick malikai? | ||
| [2010/06/08 15:01:36] <Volcane> joe-mac: its right on the money :P | ||
| [2010/06/08 15:02:10] <malikai> joe-mac, not many.. but it's a virtualized test environment running on a few recent laptops with lots of memory | ||
| [2010/06/08 15:02:23] <diranged> i started running into webbrick limitations at around 15 nodes.. | ||
| [2010/06/08 15:02:28] <malikai> i got about 20 vms including the puppetmaster | ||
| [2010/06/08 15:02:34] <diranged> we have 200+ now running off apache+puppetmaster just fine | ||
| [2010/06/08 15:03:06] <malikai> can it run on nginx? | ||
| [2010/06/08 15:03:29] <malikai> there's that ruby module available for it.. can't remember what | ||
| [2010/06/08 15:03:49] <diranged> Volcane: i could use some help with this sysctl module... I've found references from other people who have had the same problems. Essentially it works perfect in <0.24, but gives warnings the first time its run in >0.25.. | ||
| [2010/06/08 15:04:06] <diranged> here's one log: http://pelin.lovedthanlost.net/puppetdev/%23puppet-dev-2010-04-19.log.html | ||
| [2010/06/08 15:04:14] <diranged> and another email thread about it without a fix: http://www.mail-archive.com/puppet-dev@googlegroups.com/msg08475.html | ||
| [2010/06/08 15:05:19] <diranged> Volcane: no one seems to have solved it .. im not sure why the confine :exists line isnt happy the first time it runs.. but thats what i think the issue is. | ||
| [2010/06/08 15:05:35] * Volcane doesnt know about writing types | ||
| [2010/06/08 15:06:47] <diranged> lame.. :/ | ||
| [2010/06/08 15:06:48] <diranged> :P | ||
| [2010/06/08 15:07:15] <plathrop> diranged: Heh, that was my thread | ||
| [2010/06/08 15:07:31] <plathrop> diranged: I can't tell you an answer though because the problem just magically went away | ||
| [2010/06/08 15:08:19] @ ppickfor joined channel #puppet | ||
| [2010/06/08 15:08:55] @ sdog joined channel #puppet | ||
| [2010/06/08 15:09:10] <diranged> Plathrop: from what i can tell, the problem goes away on the second run of the code.. | ||
| [2010/06/08 15:09:16] <diranged> plathrop: which bothers me. alot. | ||
| [2010/06/08 15:09:22] <plathrop> that wasn't my experience. | ||
| [2010/06/08 15:09:49] <plathrop> It was happening on all our nodes consistently, then one day it just... stopped. | ||
| [2010/06/08 15:10:44] <diranged> i think i need to see more examples of that confine command.. | ||
| [2010/06/08 15:11:54] <Volcane> rpm -ql puppet|xargs grep confine :P | ||
| [2010/06/08 15:12:04] <Volcane> plathrop: hows the new gig? | ||
| [2010/06/08 15:12:37] <plathrop> Volcane: day 2, so far a blast. Lot of work to do. | ||
| [2010/06/08 15:12:53] <Volcane> plathrop: nice, puppet shop? | ||
| [2010/06/08 15:12:56] @ rellis joined channel #puppet | ||
| [2010/06/08 15:13:02] * tuvwx shot self in the foot | ||
| [2010/06/08 15:13:03] <plathrop> Volcane: soon to be | ||
| [2010/06/08 15:13:11] <Volcane> plathrop: nice one, and hopefully mc shop :P | ||
| [2010/06/08 15:13:19] <jbooth> diranged: I've done some type dev stuff and can at least take a look -- can you pastie your type? | ||
| [2010/06/08 15:13:20] <plathrop> They are using a mix of Chef and Fabric right now | ||
| [2010/06/08 15:13:25] <plathrop> Yeah, I plan to use MC | ||
| [2010/06/08 15:13:27] <diranged> hmm so you can reproduce it if you remove your /var/lib/puppet dir and re-run puppet.. | ||
| [2010/06/08 15:13:32] <tuvwx> a puppet module notifes the puppet service upon updating puppet.conf -> puppet does not complete its first run | ||
| [2010/06/08 15:13:39] <Volcane> plathrop: neat | ||
| [2010/06/08 15:13:44] <diranged> then you run puppet again (with the .rb's all installed..) and it works | ||
| [2010/06/08 15:14:04] @ Quit: rellis__: Remote host closed the connection | ||
| [2010/06/08 15:14:10] <diranged> http://www.pastie.org/996587 | ||
| [2010/06/08 15:14:20] @ Quit: sdog: Quit: Leaving. | ||
| [2010/06/08 15:16:35] @ Quit: bearnard: Quit: bearnard | ||
| [2010/06/08 15:17:27] <jbooth> diranged: What happens if you take that variable in the confine out of the mix and just confine to the path directly? | ||
| [2010/06/08 15:17:53] <diranged> jbooth: no change.. tried that.. | ||
| [2010/06/08 15:18:11] <jbooth> Hmm. | ||
| [2010/06/08 15:18:44] <jbooth> Alternate question: do you really want to confine to the file existing, vs confine to the sysctl command? | ||
| [2010/06/08 15:20:26] <tuvwx> how do i effect changes to /etc/puppet/puppet.conf without interrupting a puppet run? | ||
| [2010/06/08 15:20:30] <diranged> jbooth: the way the module works, its primarmily editing that file.... | ||
| [2010/06/08 15:20:40] <diranged> jbooth: so it needs to make sure that file exists before it tries to edit it.. | ||
| [2010/06/08 15:21:26] <diranged> its really interesting that every time i clear out /var/lib/puppet, the error shows up.. even if /etc/sysctl.conf already has all the changes | ||
| [2010/06/08 15:22:49] <jbooth> diranged: sure, the error is showing up when the module gets re-loaded after being fetched with pluginsync. | ||
| [2010/06/08 15:22:52] <tuvwx> or is puppet.conf re-read every time puppet activates (every 30 minutes) ? | ||
| [2010/06/08 15:23:22] <jbooth> diranged: I get similar errors with redefinining STATICVAR="stuff" in my providers | ||
| [2010/06/08 15:23:59] <jbooth> diranged: I was just looking at it as distros move files around, etc. Being able to specify the file path (even if it has a sane default) in the type/provider would be handy. | ||
| [2010/06/08 15:24:51] <plathrop> tuvwx: it's re-read every 15s by default | ||
| [2010/06/08 15:25:12] <diranged> jbooth: so it only happens if i remove both the type and provider files. if i remove either one or the other, the error doesnt show up.. | ||
| [2010/06/08 15:30:03] @ acrollet joined channel #puppet | ||
| [2010/06/08 15:31:18] @ themurph left channel #puppet () | ||
| [2010/06/08 15:33:14] <jbooth> diranged: Can you confirm the order they're loading in when they both get transferred vs 0 or 1 transfers? | ||
| [2010/06/08 15:34:09] <diranged> the provider always gets loaded first.. then the type file.. | ||
| [2010/06/08 15:34:13] <diranged> (which is annoying.. i dont know why) | ||
| [2010/06/08 15:35:05] <diranged> http://www.pastie.org/996800 | ||
| [2010/06/08 15:35:51] <jbooth> I would guess that is your root cause | ||
| [2010/06/08 15:36:17] <jbooth> And for why, that's probably because of alpha-sort ordering. | ||
| [2010/06/08 15:36:44] <diranged> hmm | ||
| [2010/06/08 15:36:45] <jbooth> I was playing with it in irb a bit and getting trouble when I tried to define the provider before the type | ||
| [2010/06/08 15:36:48] <jbooth> For kicks... | ||
| [2010/06/08 15:36:51] <jbooth> require the type in the providre | ||
| [2010/06/08 15:36:54] <jbooth> provider, even. | ||
| [2010/06/08 15:37:01] <jbooth> To force it to define first | ||
| [2010/06/08 15:37:46] <diranged> thats actually what ive had to do just to get it to actually "load" the first time around.. | ||
| [2010/06/08 15:38:01] <diranged> i added require '/var/lib/puppet/lib/puppet/type/sysctl.rb' to the parsed.rb file | ||
| [2010/06/08 15:39:25] <diranged> http://projects.puppetlabs.com/issues/3561 | ||
| [2010/06/08 15:41:30] @ bearnard_ joined channel #puppet | ||
| [2010/06/08 15:44:49] <jbooth> if it loads via recursive globbing... | ||
| [2010/06/08 15:44:54] <jbooth> rename provider/ to zprovider/ | ||
| [2010/06/08 15:45:00] <diranged> but if you add that require, it then fails all the individual sysctl calls. if you dont add that require, then it fails the initial load and never even tries the sysctl calls.. | ||
| [2010/06/08 15:45:25] <jbooth> the directory structure is, I think, just convention. Not requirement. | ||
| [2010/06/08 15:45:32] @ _nalle joined channel #puppet | ||
| [2010/06/08 15:45:50] <diranged> hmm lol that might work | ||
| [2010/06/08 15:46:16] <diranged> http://www.pastie.org/996829 | ||
| [2010/06/08 15:46:19] <jbooth> Cause, for example, I just stick my puppet_dashboard.rb reports code block in lib/puppet/ bare -- no type provider or plugin | ||
| [2010/06/08 15:46:31] <diranged> lol it works.. wtf | ||
| [2010/06/08 15:46:57] <jbooth> I suspect the provider is silently failing when the type doesn't already exist | ||
| [2010/06/08 15:47:25] <jbooth> I got errors when I tried to define the provider first in irb, but if puppet is failing to act on them... | ||
| [2010/06/08 15:47:33] <jbooth> You could end up defining the type and not properly defining the provider | ||
| [2010/06/08 15:47:43] <jbooth> Leading to chaos, confusion, and random errors about confine | ||
| [2010/06/08 15:48:48] <jbooth> Did that really fix it in all cases, missing both/missing either/both exist? | ||
| [2010/06/08 15:50:05] <diranged> im reverting it to a clean snapshot and rerunning from scratch | ||
| [2010/06/08 15:50:53] <diranged> yep.. it freaking works. | ||
| [2010/06/08 15:50:55] <diranged> what a terrible fix | ||
| [2010/06/08 15:51:23] @ Quit: [GuS]: Read error: Connection reset by peer | ||
| [2010/06/08 15:52:51] @ Quit: [SMiTTY]: Remote host closed the connection | ||
| [2010/06/08 15:53:14] @ [SMiTTY] joined channel #puppet | ||
| [2010/06/08 15:54:36] <jbooth> eh; the type/provider directory structure is little more than a human-friendly convention | ||
| [2010/06/08 15:55:25] @ Quit: jense: Quit: Verlassend | ||
| [2010/06/08 15:56:01] <diranged> whatever, it works now. thanks! stupid fix, but it works.. | ||
| [2010/06/08 15:56:57] @ Guest82115 is now known as ohadlevy | ||
| [2010/06/08 15:57:11] <malikai> would it be ok to say something like file("$variable/path/to/something") where $variable is the name of the variable and /path/to/something are raw text? | ||
| [2010/06/08 15:57:27] @ ohadlevy is now known as Guest74038 | ||
| [2010/06/08 16:00:34] <odyi> There is nothing wrong with using variables and strings in the same resource declaration. | ||
| [2010/06/08 16:02:22] <diranged> ok.. another question.. can i force pluginsync=true in some form on the commandline of puppetd --server xxx -t ? | ||
| [2010/06/08 16:03:42] <jbooth> diranged: Poke the ticket to confirm the fix with sample output would you? It'll help a real fix come down on the bug. | ||
| [2010/06/08 16:04:21] <jbooth> diranged: Don't know on pluginsync but that would be handy here too. :-/ | ||
| [2010/06/08 16:04:42] <diranged> i would, i dont have an account though and im lazy | ||
| [2010/06/08 16:04:45] <diranged> do you already have an account? | ||
| [2010/06/08 16:09:41] @ Quit: gebi: Read error: Operation timed out | ||
| [2010/06/08 16:10:51] @ afreak joined channel #puppet | ||
| [2010/06/08 16:12:19] <jbooth> diranged: I do, because really it is worth it to report bugs on something you depend on. | ||
| [2010/06/08 16:12:35] <setient> oh hi | ||
| [2010/06/08 16:12:47] <afreak> hello setient | ||
| [2010/06/08 16:14:29] @ jetole_ is now known as jetole | ||
| [2010/06/08 16:16:19] <diranged> bug updated.. i agree, im just lazy | ||
| [2010/06/08 16:17:47] <jbooth> well puppet is about being lazy and automating boring things, but... | ||
| [2010/06/08 16:17:58] <jbooth> if I'm not paying them money, the least I can do is provide useful bug reports | ||
| [2010/06/08 16:19:19] @ fluxdude joined channel #puppet | ||
| [2010/06/08 16:20:35] @ caglar10ur left channel #puppet () | ||
| [2010/06/08 16:22:31] @ Quit: fluxdud3: Ping timeout: 258 seconds | ||
| [2010/06/08 16:23:31] @ Quit: diranged: Ping timeout: 248 seconds | ||
| [2010/06/08 16:25:19] <jamesturnbull> jbooth: you should just be able to do --pluginsync or --no-pluginsync | ||
| [2010/06/08 16:26:21] @ Quit: acrollet: Ping timeout: 258 seconds | ||
| [2010/06/08 16:27:06] @ emarshall joined channel #puppet | ||
| [2010/06/08 16:27:53] @ diranged joined channel #puppet | ||
| [2010/06/08 16:30:24] <jbooth> psst diranged: < jamesturnbull> jbooth: you should just be able to do --pluginsync or --no-pluginsync | ||
| [2010/06/08 16:32:42] @ acrollet joined channel #puppet | ||
| [2010/06/08 16:33:16] @ plutt joined channel #puppet | ||
| [2010/06/08 16:33:27] <diranged> oh, sweet | ||
| [2010/06/08 16:33:30] <diranged> will try in a sec | ||
| [2010/06/08 16:35:34] <jamesturnbull> diranged: http://docs.puppetlabs.com/references/0.25.5/configuration.html | ||
| [2010/06/08 16:35:36] @ cliff-hm is now known as cliff-hm-gone | ||
| [2010/06/08 16:39:06] <jb> i have a ERB that I need to have an if statement to include different text depending on the IP of the puppetnode.. | ||
| [2010/06/08 16:39:32] <jb> can I use an if statement based on the ipaddress fact in the ERB? | ||
| [2010/06/08 16:39:36] <joe-mac> yes | ||
| [2010/06/08 16:39:39] @ Quit: snikta: Remote host closed the connection | ||
| [2010/06/08 16:40:09] @ Quit: cliff-hm-gone: Ping timeout: 258 seconds | ||
| [2010/06/08 16:40:11] <jb> probably a regexp.. "if ip is 172.x.0.0.0 do this, if ip is 172.y.0.0 do this" | ||
| [2010/06/08 16:40:19] <joe-mac> <% if ipaddress == someshit %>hi<% else %>how_unfortunate<% end %> | ||
| [2010/06/08 16:40:32] <joe-mac> right, then just use =~ | ||
| [2010/06/08 16:40:41] <joe-mac> it's pure ruby inside the funky symbols | ||
| [2010/06/08 16:40:52] <ashp> i do this all the time | ||
| [2010/06/08 16:41:10] <ashp> so yeah joe-mac is right :) | ||
| [2010/06/08 16:41:18] <Volcane> joe-mac: <%= ipaddress == someshit ? "hi" : "how unfortunate" %> :) | ||
| [2010/06/08 16:41:36] <ashp> since moving to foreman for node classifer my nagios stuff exploded, how annoying | ||
| [2010/06/08 16:41:45] <jb> ok, just got to figure out the regexp forman :) | ||
| [2010/06/08 16:41:48] <jb> format | ||
| [2010/06/08 16:41:51] <jb> thanks | ||
| [2010/06/08 16:42:36] @ Quit: allsystemsarego: Quit: Leaving | ||
| [2010/06/08 16:42:49] <joe-mac> i forget about the ternary operator sometimes | ||
| [2010/06/08 16:43:15] <jb> argh, i find myself constantly struggling with regexp | ||
| [2010/06/08 16:43:38] <Volcane> jb: regexr.com helps | ||
| [2010/06/08 16:43:40] <jb> i just need it to match the second octet.. | ||
| [2010/06/08 16:43:58] <jb> is the second octet is "26" do this, if its "28" do that | ||
| [2010/06/08 16:44:00] <jb> k | ||
| [2010/06/08 16:44:32] <Volcane> ipaddress =~ /^\d+\.26/ | ||
| [2010/06/08 16:46:31] @ Quit: toi: Quit: Ex-Chat | ||
| [2010/06/08 16:47:23] @ Quit: nexx: Quit: quit | ||
| [2010/06/08 16:47:46] @ Quit: afletcher: Quit: afletcher | ||
| [2010/06/08 16:48:06] <jb> thanks.. that worked great | ||
| [2010/06/08 16:49:02] @ Quit: _nalle: Quit: leaving | ||
| [2010/06/08 16:50:37] <Volcane> jb: ^ - beginning of line, \d - a number, + many of them, \. - a literal full stop, numbers 26 | ||
| [2010/06/08 16:50:55] @ _nalle joined channel #puppet | ||
| [2010/06/08 16:53:41] @ Quit: cygnus1: Quit: Leaving. | ||
| [2010/06/08 16:53:45] <joe-mac> yea but don't forget sometimes ^ is a logical not and sometimes a digit is [[:digit:]] and not all libs support + so you need ..* | ||
| [2010/06/08 16:53:59] <joe-mac> <3 regex and the hemorrhaging of brain cells it causes | ||
| [2010/06/08 16:54:04] <jamesturnbull> jb: http://rubular.com/ | ||
| [2010/06/08 16:54:17] <jamesturnbull> jb: nifty little tool specifically for Ruby regexs | ||
| [2010/06/08 16:54:56] @ p3rror joined channel #puppet | ||
| [2010/06/08 16:56:39] @ plutt left channel #puppet () | ||
| [2010/06/08 16:57:34] @ Guest74038 is now known as ohadlevy | ||
| [2010/06/08 16:58:04] @ ohadlevy is now known as Guest28917 | ||
| [2010/06/08 16:58:29] @ Quit: Pupeno: Quit: Pupeno | ||
| [2010/06/08 17:03:13] @ Quit: rgsteele: Remote host closed the connection | ||
| [2010/06/08 17:03:53] <diranged> ok ive never tried this before.. how do i run puppetd against a local set of puppet files? | ||
| [2010/06/08 17:04:10] <diranged> im setting up a script for bootstrapping puppet masters.. so it needs to checkout the puppet code, then puppet-ize itself | ||
| [2010/06/08 17:05:46] <jamesturnbull> diranged: puppet manifest.pp | ||
| [2010/06/08 17:05:56] <jamesturnbull> diranged: puppet will execute everything in the manifest | ||
| [2010/06/08 17:07:43] @ plutt joined channel #puppet | ||
| [2010/06/08 17:07:51] @ jkelly joined channel #puppet | ||
| [2010/06/08 17:08:20] @ Quit: giskard: Read error: Connection reset by peer | ||
| [2010/06/08 17:08:56] @ giskard joined channel #puppet | ||
| [2010/06/08 17:10:13] @ Quit: labrown: Quit: Leaving | ||
| [2010/06/08 17:10:16] <diranged> hmm but that only uses that local manifest.. not all the other dependencies.. | ||
| [2010/06/08 17:10:24] <diranged> ie, its inherits from the defaults.. | ||
| [2010/06/08 17:11:46] <jbooth> it should pick up any node 'fqdn' {} stuff | ||
| [2010/06/08 17:11:53] <jbooth> You may need a --modulepath argument to that puppet command line | ||
| [2010/06/08 17:13:08] <Volcane> diranged: its like running a master, u give it modulepaths, manifest dir and all that stuff, you point it at site.pp and it does whats in node blocks. | ||
| [2010/06/08 17:13:19] <diranged> ok i can do modulepath.. what about nodepath or something.. | ||
| [2010/06/08 17:13:24] <diranged> ah i point at site.pp | ||
| [2010/06/08 17:13:26] @ Quit: plutt: Remote host closed the connection | ||
| [2010/06/08 17:14:52] @ plutt joined channel #puppet | ||
| [2010/06/08 17:15:32] @ Quit: MPSimmons: Quit: Later! | ||
| [2010/06/08 17:16:17] @ jubei__ joined channel #puppet | ||
| [2010/06/08 17:16:49] @ Quit: emarshall: Quit: emarshall | ||
| [2010/06/08 17:17:57] <jubei__> is there a way to recursively enforce file owner and permissions | ||
| [2010/06/08 17:18:47] @ Quit: glarizza: Quit: glarizza | ||
| [2010/06/08 17:19:00] <jubei__> like ensure all logs in a directory are owned by a certain user | ||
| [2010/06/08 17:19:21] <joe-mac> recurse => "true", owner => "someguy", | ||
| [2010/06/08 17:19:57] <diranged> heh ok that provider fix isnt a great fix.. | ||
| [2010/06/08 17:20:14] <diranged> apparently the provider gets sucked down and works.. but once its down, it no longer gets loaded up and errors out | ||
| [2010/06/08 17:20:52] @ thegcat joined channel #puppet | ||
| [2010/06/08 17:21:10] @ Quit: sebas891: Quit: Leaving. | ||
| [2010/06/08 17:21:27] @ jimby joined channel #puppet | ||
| [2010/06/08 17:22:01] @ Quit: p3rror: Read error: Connection reset by peer | ||
| [2010/06/08 17:22:44] @ Quit: _nalle: Quit: leaving | ||
| [2010/06/08 17:23:15] @ Quit: duritong: Ping timeout: 248 seconds | ||
| [2010/06/08 17:23:18] <jbooth> diranged: Symlink it on the master so you have both provider and zprovider. | ||
| [2010/06/08 17:23:30] <jbooth> It's an exceptionally bad fix, but might provide everything puppet needs. | ||
| [2010/06/08 17:23:36] @ afletcher joined channel #puppet | ||
| [2010/06/08 17:23:41] @ _nalle joined channel #puppet | ||
| [2010/06/08 17:23:57] <jbooth> it is really strange to have differing behavior between "was sitting on disk" and "was updated" for loading files | ||
| [2010/06/08 17:25:17] <diranged> ugh lame.. more nasty fix.. | ||
| [2010/06/08 17:26:34] <jimby> anyone using puppet to manage openbsd? | ||
| [2010/06/08 17:26:35] @ duritong joined channel #puppet | ||
| [2010/06/08 17:26:42] <joe-mac> yes | ||
| [2010/06/08 17:27:18] @ Quit: shenson: Quit: /me taps out | ||
| [2010/06/08 17:27:25] <jbooth> I'm sure the puppet folks would love a patch that fixes the problem to begin with. Since it already looks like a special case happening, a patch to do types then providers both shouldn't be hard and should fix it. | ||
| [2010/06/08 17:28:16] <jimby> joe-mac: may i pm you? | ||
| [2010/06/08 17:28:28] <joe-mac> you may | ||
| [2010/06/08 17:32:11] @ Quit: duritong: Ping timeout: 240 seconds | ||
| [2010/06/08 17:33:07] @ duritong joined channel #puppet | ||
| [2010/06/08 17:36:02] @ artista_frustrad joined channel #puppet | ||
| [2010/06/08 17:37:27] <jubei__> joe-mac: thanks | ||
| [2010/06/08 17:37:36] @ Quit: adrian_broher: Quit: Verlassend | ||
| [2010/06/08 17:37:58] @ andrew3 joined channel #puppet | ||
| [2010/06/08 17:39:09] @ hMz joined channel #puppet | ||
| [2010/06/08 17:39:27] <hMz> does the ssl/certs folder still get used in 0.25.5? | ||
| [2010/06/08 17:40:20] @ Quit: andrew3: Client Quit | ||
| [2010/06/08 17:40:47] @ andrew3 joined channel #puppet | ||
| [2010/06/08 17:41:12] @ rasputnik joined channel #puppet | ||
| [2010/06/08 17:41:14] @ fredden joined channel #puppet | ||
| [2010/06/08 17:41:45] @ kolla joined channel #puppet | ||
| [2010/06/08 17:44:16] <joe-mac> jimby: are you jubei__? lol, confuse | ||
| [2010/06/08 17:44:16] <joe-mac> d | ||
| [2010/06/08 17:44:20] <joe-mac> i PM'd you on jimby | ||
| [2010/06/08 17:45:01] <jimby> thx for the chat | ||
| [2010/06/08 17:47:11] @ Quit: plutt: Quit: Leaving | ||
| [2010/06/08 17:47:54] @ plutt joined channel #puppet | ||
| [2010/06/08 17:48:26] @ Quit: plutt: Client Quit | ||
| [2010/06/08 17:48:28] @ plutt joined channel #puppet | ||
| [2010/06/08 17:49:35] <eric0> are folks who are going up to 0.25.5 rm'ing your old /var/puppet directory or overriding $libdir to point there ? | ||
| [2010/06/08 17:50:56] @ joe-mac left channel #puppet () | ||
| [2010/06/08 17:51:37] @ joe-mac joined channel #puppet | ||
| [2010/06/08 17:51:51] @ Quit: joe-mac: Client Quit | ||
| [2010/06/08 17:55:14] @ acrollet_ joined channel #puppet | ||
| [2010/06/08 17:56:46] @ Quit: acrollet: Read error: Connection reset by peer | ||
| [2010/06/08 17:59:01] <tmz> eric0: I'd guess many folks are installing from packages where vardir has been set to /var/lib/puppet for a while already. | ||
| [2010/06/08 18:00:48] <hMz> should i still have certs in ssl/certs in 0.25? | ||
| [2010/06/08 18:00:55] <hMz> tmz: havent got that far | ||
| [2010/06/08 18:00:59] @ Quit: rasputnik: Quit: rasputnik | ||
| [2010/06/08 18:01:50] @ Guest28917 is now known as ohadlevy | ||
| [2010/06/08 18:02:20] @ ohadlevy is now known as Guest7312 | ||
| [2010/06/08 18:03:05] @ Determinist joined channel #puppet | ||
| [2010/06/08 18:04:02] <jkelly> eric0: tmz's right, at least in my case... I'm upgrading from 0.24.4 to 0.25.5, and all I see is /var/lib/puppet. | ||
| [2010/06/08 18:04:31] <tmz> hMz: Yeah. On fedora/centos/rhel, the default ssldir = $vardir/ssl. | ||
| [2010/06/08 18:04:34] <jkelly> Dunno where I got /var/lib/puppet in the first place. Guess I chose it (in puppet.conf) after reading "Pulling Strings". | ||
| [2010/06/08 18:04:51] <hMz> puppetca isnt putting anything in ssl/certs | ||
| [2010/06/08 18:04:52] @ Quit: lucid: Ping timeout: 258 seconds | ||
| [2010/06/08 18:04:53] <tmz> jkelly: Or from the packages, if you used those. | ||
| [2010/06/08 18:05:14] <jkelly> tmz: Or from the packages. Sure, I'll buy that. | ||
| [2010/06/08 18:05:49] @ plathrop is now known as plathrop-away | ||
| [2010/06/08 18:07:18] @ Quit: aglet: Ping timeout: 245 seconds | ||
| [2010/06/08 18:07:55] @ rodnet joined channel #puppet | ||
| [2010/06/08 18:11:47] @ Quit: plutt: Quit: Leaving | ||
| [2010/06/08 18:16:29] @ plathrop-away is now known as plathrop | ||
| [2010/06/08 18:17:44] @ jimby left channel #puppet ("later...") | ||
| [2010/06/08 18:18:00] @ Quit: blahdeblah: Remote host closed the connection | ||
| [2010/06/08 18:18:50] @ blahdeblah joined channel #puppet | ||
| [2010/06/08 18:19:02] @ Quit: blahdeblah: Client Quit | ||
| [2010/06/08 18:19:34] @ the|herbivore joined channel #puppet | ||
| [2010/06/08 18:22:06] @ aglet joined channel #puppet | ||
| [2010/06/08 18:22:25] <eric0> i'll add a cleanup after it rolls out, i guess | ||
| [2010/06/08 18:26:54] @ Quit: giskard: Remote host closed the connection | ||
| [2010/06/08 18:28:14] <hMz> anyone fimliar with troubleshooting puppetca? | ||
| [2010/06/08 18:29:09] <RS-232> hMz: i can fix most problems with "rm -rf $ssldir" on the client, and puppetca --revoke ID and puppetca --clean ID on the master | ||
| [2010/06/08 18:29:26] <hMz> the --generate isnt producing all the keys | ||
| [2010/06/08 18:29:33] <hMz> so i'm mostly referecing experience with the source | ||
| [2010/06/08 18:29:42] <hMz> not the process as a whole | ||
| [2010/06/08 18:32:07] @ Quit: acrollet_: Quit: acrollet_ | ||
| [2010/06/08 18:35:31] @ Quit: kaptk2: Quit: Leaving. | ||
| [2010/06/08 18:37:24] @ espent_ joined channel #puppet | ||
| [2010/06/08 18:38:54] @ Quit: espent: Read error: Connection reset by peer | ||
| [2010/06/08 18:39:23] @ Quit: AdrianBroher: Read error: Connection reset by peer | ||
| [2010/06/08 18:39:45] @ AdrianBroher joined channel #puppet | ||
| [2010/06/08 18:40:44] @ Quit: AimanA: Remote host closed the connection | ||
| [2010/06/08 18:45:18] <diranged> hmm ok something odd is going on.. | ||
| [2010/06/08 18:45:54] <diranged> on my new test puppet master server.. i run puppet against the local config and it seems to work. it claims its doing a few things (disabling puppetd, getting rid of any cron job entries that start up puppetd, etc) but then when i do a ps -ef, thers a puppetd running hitting our old puppetmaster server.. | ||
| [2010/06/08 18:46:06] <hMz> what os? | ||
| [2010/06/08 18:46:46] <diranged> centos | ||
| [2010/06/08 18:47:23] <hMz> is there a puppetd.pid file with the same pid in it? | ||
| [2010/06/08 18:49:01] @ Quit: mpdehaan: Ping timeout: 240 seconds | ||
| [2010/06/08 18:50:23] <ashp> oh i hate redhat sometimes | ||
| [2010/06/08 18:50:42] <ashp> i changed some modules and it reordered some lines in /etc/sysconfig/network, and when it attempted to refresh the network it just removed the default gateway completely | ||
| [2010/06/08 18:50:46] <ashp> thanks for nothing redhat :( | ||
| [2010/06/08 18:51:06] <Volcane> reordering lines in those files have no effect | ||
| [2010/06/08 18:51:16] <malikai> guys i'm trying to do a recursive copy and can't figure out what i'm doing wrong.. pastie: http://www.pastie.org/997088 | ||
| [2010/06/08 18:51:27] <ashp> i have a refresh on those files, so it did a /etc/init.d/network restart | ||
| [2010/06/08 18:51:37] <ashp> but that shouldn't just delete the default gateway, pretty weird | ||
| [2010/06/08 18:51:49] <ashp> it didn't do it on all the servers either | ||
| [2010/06/08 18:51:57] <malikai> is there something else i should be doing to make recurse work? | ||
| [2010/06/08 18:51:57] <Volcane> ashp: its not the order of the lines in teh file unless you do something very stupid :) | ||
| [2010/06/08 18:52:25] <ashp> Volcane: all the rest that refreshed were fine, just two of them took away their gateway for no reason | ||
| [2010/06/08 18:54:02] @ Quit: rmiller4pi8: Ping timeout: 265 seconds | ||
| [2010/06/08 18:54:08] <Volcane> the only time order matters in there is you do reference a variable while setting anothere there | ||
| [2010/06/08 18:54:12] <Volcane> they're just environment variables | ||
| [2010/06/08 18:54:25] <Volcane> FOO=bar\nBAR=foo is the same no matter what order you do it in | ||
| [2010/06/08 18:55:07] <malikai> yea, all those files are just sourced by the scripts that do the work | ||
| [2010/06/08 18:55:15] @ giskard joined channel #puppet | ||
| [2010/06/08 18:55:16] <hMz> volcane: any exper with puppetca weirdness? | ||
| [2010/06/08 18:55:27] <eric0> bah, 0.25.5 startup fails ootb err: /File[/var/lib/puppet]/ensure: change from absent to directory failed: Cannot create /var/lib/puppet; parent directory /var/lib does not exist | ||
| [2010/06/08 18:55:29] <Volcane> hMz: have not used generate | ||
| [2010/06/08 18:56:09] <ashp> Volcane: i know, that's why i'm so confused by why two broke | ||
| [2010/06/08 18:58:53] <diranged> so the pid matches.. | ||
| [2010/06/08 18:59:00] <diranged> (sorry that otok a while, was looking at something else for a minute) | ||
| [2010/06/08 18:59:14] <diranged> it seems that running puppet manually starts up puppetd in the background.. | ||
| [2010/06/08 18:59:32] <diranged> which on ourp uppet masters, i want to not do. i never want puppetd running in the background.. | ||
| [2010/06/08 18:59:48] <Volcane> diranged: nope | ||
| [2010/06/08 19:00:07] <Volcane> diranged: what os is this? | ||
| [2010/06/08 19:00:12] @ Quit: reyjrar: Quit: Leaving. | ||
| [2010/06/08 19:00:34] @ Quit: giskard: Remote host closed the connection | ||
| [2010/06/08 19:01:16] <diranged> Centos | ||
| [2010/06/08 19:01:45] <Volcane> so you run puppet which tries to service{"puppetd": ensure => stopped, enable=> false} right? | ||
| [2010/06/08 19:02:08] <diranged> yep | ||
| [2010/06/08 19:02:14] <Volcane> did you set hasstatus? | ||
| [2010/06/08 19:02:22] @ Quit: tonyskapunk: Quit: ERC Version 5.3 (IRC client for Emacs) | ||
| [2010/06/08 19:02:36] <diranged> my puppet module checks for $puppetd_enabled.. if false, then yes it uses stopped and false. if true, its true and enabled. | ||
| [2010/06/08 19:02:42] @ Guest7312 is now known as ohadlevy | ||
| [2010/06/08 19:02:48] @ Quit: steph021: Remote host closed the connection | ||
| [2010/06/08 19:02:59] <Volcane> anyway, the service is *puppet* on centos not *puppetd* | ||
| [2010/06/08 19:03:08] <Volcane> so did you set hasstatus? | ||
| [2010/06/08 19:03:12] @ ohadlevy is now known as Guest22033 | ||
| [2010/06/08 19:03:27] <diranged> hmm i guess i had that set to false | ||
| [2010/06/08 19:03:49] <diranged> and it was working fine before i added this code.. but maybe with a false/stopped it needs to have that | ||
| [2010/06/08 19:04:44] @ AimanA joined channel #puppet | ||
| [2010/06/08 19:07:39] @ _eric joined channel #puppet | ||
| [2010/06/08 19:07:41] <_eric> hello | ||
| [2010/06/08 19:07:58] <_eric> is there a convention for structuring recipes to install packages from source? | ||
| [2010/06/08 19:08:10] <Volcane> _eric: yes, the convention is dont do it | ||
| [2010/06/08 19:08:24] @ OpenMedia joined channel #puppet | ||
| [2010/06/08 19:08:30] <_eric> so when you don't have a binary RPM (or whatever) you do what? | ||
| [2010/06/08 19:08:38] <Volcane> you make one? | ||
| [2010/06/08 19:08:46] <_eric> hmmm | ||
| [2010/06/08 19:09:10] <_eric> clever | ||
| [2010/06/08 19:10:20] <_eric> so that's really what everyone does? | ||
| [2010/06/08 19:10:39] <Volcane> do you think compiling source on everyone of 100s of servers will result in a deterministic behaviour? | ||
| [2010/06/08 19:10:57] <Volcane> esp when doing it with tool not built or designed for doing that particular task? | ||
| [2010/06/08 19:11:01] @ freshtonic joined channel #puppet | ||
| [2010/06/08 19:11:55] <Volcane> leaving aside the obvious issues with not using packages | ||
| [2010/06/08 19:12:06] <Volcane> the terrible ability to upgrade between versions for example | ||
| [2010/06/08 19:13:12] <_eric> makes sense | ||
| [2010/06/08 19:13:18] <agaffney> you can with a distro like Gentoo | ||
| [2010/06/08 19:13:28] <agaffney> but it's not suited for production environments :P | ||
| [2010/06/08 19:13:32] <_eric> hah | ||
| [2010/06/08 19:13:54] <Volcane> agaffney: thats cos it compiles from soruce in a way that tracks the result carefull - so upgrades are real upgrades rather than just insall-over-old | ||
| [2010/06/08 19:14:02] <agaffney> indeed | ||
| [2010/06/08 19:14:14] <_eric> someone needs to make a stow-based packager, then | ||
| [2010/06/08 19:14:38] <Volcane> yeah, what the world needs is another package manager | ||
| [2010/06/08 19:14:41] <Volcane> with you on that one :) | ||
| [2010/06/08 19:15:49] <Volcane> </sarcasm> | ||
| [2010/06/08 19:16:29] @ Quit: gaveen: Remote host closed the connection | ||
| [2010/06/08 19:22:48] <ashp> Volcane: all the ones that failed had the same gateway, i just watched another node do the restart just fine | ||
| [2010/06/08 19:22:59] <ashp> if i manually add the same gw it works fine, what the fuck rhel. | ||
| [2010/06/08 19:23:18] <Volcane> and if you restart network? | ||
| [2010/06/08 19:23:34] <ashp> on the ones that break? they break again | ||
| [2010/06/08 19:23:39] <ashp> they all come from the same template, so weird. | ||
| [2010/06/08 19:23:41] @ Quit: notbrien: Quit: notbrien | ||
| [2010/06/08 19:23:56] <Volcane> :) | ||
| [2010/06/08 19:24:27] <ashp> i'm going to ignore it until tomorrow as they are working currently, but how odd. | ||
| [2010/06/08 19:35:09] @ Quit: rodnet: Read error: Connection reset by peer | ||
| [2010/06/08 19:35:09] @ rodnet_ joined channel #puppet | ||
| [2010/06/08 19:36:18] <eric0> i have a stow package provider *ashamed* | ||
| [2010/06/08 19:36:44] <hMz> i have one for encap :/ | ||
| [2010/06/08 19:36:59] @ fluxdud3 joined channel #puppet | ||
| [2010/06/08 19:39:33] @ Quit: fluxdude: Ping timeout: 258 seconds | ||
| [2010/06/08 19:40:35] @ Quit: alfism: Quit: alfism | ||
| [2010/06/08 19:41:54] @ Quit: jkelly: Ping timeout: 265 seconds | ||
| [2010/06/08 19:42:13] @ Quit: diranged: Quit: Leaving | ||
| [2010/06/08 19:42:46] <_eric> heh | ||
| [2010/06/08 19:42:54] <_eric> eric0- is it published? | ||
| [2010/06/08 19:44:15] @ gregmark joined channel #puppet | ||
| [2010/06/08 19:45:32] <plathrop> does defined(Class["foo"]) not work as advertised, or am I doing it wrong? | ||
| [2010/06/08 19:46:47] @ Quit: malikai: Ping timeout: 276 seconds | ||
| [2010/06/08 19:47:29] <plathrop> Oh "This function is unfortunately dependent on the parse order of the configuration when testing whether a resource is defined." | ||
| [2010/06/08 19:47:32] <plathrop> lovely | ||
| [2010/06/08 19:47:36] <hMz> yea | ||
| [2010/06/08 19:47:37] <hMz> its a little of both | ||
| [2010/06/08 19:47:42] <plathrop> that's fucking lame | ||
| [2010/06/08 19:47:43] <hMz> doing that is not doing it right ;P | ||
| [2010/06/08 19:47:54] <plathrop> *headdesk* | ||
| [2010/06/08 19:48:01] <plathrop> How do I do this then... *thinks* | ||
| [2010/06/08 19:48:37] @ malikai joined channel #puppet | ||
| [2010/06/08 19:50:09] @ mortar joined channel #puppet | ||
| [2010/06/08 19:54:58] <hMz> need more detailz | ||
| [2010/06/08 19:55:47] <plathrop> Heh. Just trying to write a manifest to bootstrap my puppetmaster, and I'm using debian-packaged modules which I want to install within that manifest. | ||
| [2010/06/08 19:55:50] @ jkelly joined channel #puppet | ||
| [2010/06/08 19:56:03] <plathrop> So, I want to wrap the things that depend on them in if defined() { blockes | ||
| [2010/06/08 19:56:05] <plathrop> blocks even | ||
| [2010/06/08 19:56:12] <plathrop> but it looks like a no-go | ||
| [2010/06/08 19:56:16] @ emarshall joined channel #puppet | ||
| [2010/06/08 19:56:18] <hMz> required? | ||
| [2010/06/08 19:56:24] <hMz> er require Package? | ||
| [2010/06/08 19:56:42] <plathrop> no, because I need it for like "include" statements | ||
| [2010/06/08 19:57:19] @ Quit: emarshall: Remote host closed the connection | ||
| [2010/06/08 19:57:31] <plathrop> *shrug* | ||
| [2010/06/08 19:57:41] @ emarshall joined channel #puppet | ||
| [2010/06/08 19:57:43] <plathrop> I can write a shell script, I just thought it would be cool. | ||
| [2010/06/08 20:03:43] @ Guest22033 is now known as ohadlevy | ||
| [2010/06/08 20:04:13] @ ohadlevy is now known as Guest23440 | ||
| [2010/06/08 20:05:52] @ blair_ joined channel #puppet | ||
| [2010/06/08 20:06:00] <raz> hrmm is there an easy way to make puppet try a number of paths for a template() and use the first found? | ||
| [2010/06/08 20:06:15] <raz> e.g. i now have something like: content => template( "$hostgroup/foo/bar.tpl") | ||
| [2010/06/08 20:06:28] <raz> and i'd like it to default to something sensible when $hostgroup is not set or there's no matching template | ||
| [2010/06/08 20:06:53] <raz> or what is the common way to do such a thing? | ||
| [2010/06/08 20:07:18] @ Cuchulain joined channel #puppet | ||
| [2010/06/08 20:09:58] @ Quit: mortar: Quit: mortar | ||
| [2010/06/08 20:10:12] @ mortar joined channel #puppet | ||
| [2010/06/08 20:10:18] <raz> Volcane: around? | ||
| [2010/06/08 20:10:24] @ Quit: malikai: Ping timeout: 265 seconds | ||
| [2010/06/08 20:11:45] @ Quit: the|herbivore: Ping timeout: 240 seconds | ||
| [2010/06/08 20:17:34] @ p3rror joined channel #puppet | ||
| [2010/06/08 20:18:07] <raz> n/m figured it out | ||
| [2010/06/08 20:21:09] @ Quit: emarshall: Quit: emarshall | ||
| [2010/06/08 20:21:14] @ the|herbivore joined channel #puppet | ||
| [2010/06/08 20:22:34] @ marley joined channel #puppet | ||
| [2010/06/08 20:23:46] @ Quit: gregmark: Ping timeout: 252 seconds | ||
| [2010/06/08 20:25:02] @ Quit: rodnet_: Read error: Connection reset by peer | ||
| [2010/06/08 20:25:04] @ rodnet joined channel #puppet | ||
| [2010/06/08 20:31:00] @ malikai joined channel #puppet | ||
| [2010/06/08 20:31:25] @ Quit: jaredrhine: Quit: Leaving. | ||
| [2010/06/08 20:40:40] @ Quit: tep: Quit: Leaving. | ||
| [2010/06/08 20:54:10] @ Quit: jab_doa: Quit: Verlassend | ||
| [2010/06/08 20:56:23] @ mortar left channel #puppet () | ||
| [2010/06/08 21:00:57] <raz> grr anyone know where puppet.vim went? | ||
| [2010/06/08 21:00:59] <raz> all links seem to be dead | ||
| [2010/06/08 21:01:24] <tmz> raz: What do you mean? There's puppet.vim in the tarball and source repo. | ||
| [2010/06/08 21:02:04] <raz> n/m just learned there is vim-puppet in debian :) | ||
| [2010/06/08 21:03:42] @ Quit: thatothermitch: Ping timeout: 272 seconds | ||
| [2010/06/08 21:06:34] @ Guest23440 is now known as ohadlevy | ||
| [2010/06/08 21:07:04] @ ohadlevy is now known as Guest70086 | ||
| [2010/06/08 21:12:59] @ Quit: rodnet: Read error: Connection reset by peer | ||
| [2010/06/08 21:13:00] @ rodnet_ joined channel #puppet | ||
| [2010/06/08 21:14:21] @ Quit: p3rror: Remote host closed the connection | ||
| [2010/06/08 21:21:43] @ plathrop is now known as plathrop-away | ||
| [2010/06/08 21:22:55] @ acrollet joined channel #puppet | ||
| [2010/06/08 21:24:23] @ plathrop-away is now known as plathrop | ||
| [2010/06/08 21:26:54] @ PhabX joined channel #puppet | ||
| [2010/06/08 21:27:23] <PhabX> anyone thats good with puppet and ldap? | ||
| [2010/06/08 21:30:33] @ plathrop is now known as plathrop-away | ||
| [2010/06/08 21:30:46] <blood> PhabX: what's going on now=) | ||
| [2010/06/08 21:30:59] <PhabX> blood: Hello :) | ||
| [2010/06/08 21:31:27] @ joe-mac joined channel #puppet | ||
| [2010/06/08 21:31:27] <PhabX> blood: puppet creates my user just fine in ldap now but its not creating all the correct objectclass's with the account | ||
| [2010/06/08 21:32:07] <PhabX> for example: its being created with posixAccount, person, and top but I would also like it to have organizationalPerson,inetorgperson, and shadowaccount | ||
| [2010/06/08 21:32:45] <joe-mac> is there a *good* doc on writing a custom type? | ||
| [2010/06/08 21:33:19] <PhabX> i can add them by hand just fine but not automagically (there has to be a way to have puppet add the additional ones or maybe have the directory server do it by default and not have to resort to some exec's that execute ldap ldiff's) :) | ||
| [2010/06/08 21:33:44] @ Quit: rodnet_: Remote host closed the connection | ||
| [2010/06/08 21:34:02] @ rodnet joined channel #puppet | ||
| [2010/06/08 21:34:11] <blood> hav eyou read http://projects.puppetlabs.com/projects/puppet/wiki/LDAP_Nodes? | ||
| [2010/06/08 21:35:19] <PhabX> i have but I will peruse it again in case i missed something | ||
| [2010/06/08 21:38:57] <PhabX> yeah nothing about injecting custom objectclasses to an object | ||
| [2010/06/08 21:38:59] @ Quit: rodnet: Remote host closed the connection | ||
| [2010/06/08 21:39:20] @ rodnet joined channel #puppet | ||
| [2010/06/08 21:42:56] @ jaredrhine joined channel #puppet | ||
| [2010/06/08 21:52:29] @ gaveen joined channel #puppet | ||
| [2010/06/08 22:07:11] <hMz> i solved that problem at a different layer | ||
| [2010/06/08 22:07:20] @ Quit: marley: Remote host closed the connection | ||
| [2010/06/08 22:07:25] <hMz> i have a web 2.0 app that munges the objecttypes to do things like add puppetClient | ||
| [2010/06/08 22:07:46] <hMz> but its the primary 'ldap interface' so it mostly works. I didnt spend much effort trying to solve it in puppet | ||
| [2010/06/08 22:08:14] <PhabX> :( | ||
| [2010/06/08 22:08:50] @ Guest70086 is now known as ohadlevy | ||
| [2010/06/08 22:11:23] <hMz> joe-mac: i learned the hard way :/ | ||
| [2010/06/08 22:11:48] @ Hunner joined channel #puppet | ||
| [2010/06/08 22:11:51] <hMz> which, btw, is reading existing code until i could make something almost parseable | ||
| [2010/06/08 22:13:20] <Hunner> Anyone in the Portland area, http://calagator.org/events/1250458707 | ||
| [2010/06/08 22:13:54] @ Quit: PhabX: | ||
| [2010/06/08 22:16:38] <joe-mac> hMz: yea, that's what i've been doing | ||
| [2010/06/08 22:17:00] <joe-mac> i hope when the new puppet book comes out some more comprehensive extending of puppet is covered | ||
| [2010/06/08 22:17:11] <joe-mac> well, if james ever comes to an agreement with the publishers... | ||
| [2010/06/08 22:18:36] @ Quit: alexine_dsouza: Read error: Connection reset by peer | ||
| [2010/06/08 22:23:31] @ Quit: tuv: Ping timeout: 260 seconds | ||
| [2010/06/08 22:25:40] @ tuv joined channel #puppet | ||
| [2010/06/08 22:25:46] @ Quit: blair_: Read error: Connection reset by peer | ||
| [2010/06/08 22:26:24] @ blair_ joined channel #puppet | ||
| [2010/06/08 22:31:14] @ Quit: jkelly: Ping timeout: 276 seconds | ||
| [2010/06/08 22:34:15] @ Quit: \ask: Remote host closed the connection | ||
| [2010/06/08 22:34:18] @ Quit: ahuman: Remote host closed the connection | ||
| [2010/06/08 22:34:37] @ ahuman joined channel #puppet | ||
| [2010/06/08 22:35:15] @ Quit: andrew3: Ping timeout: 252 seconds | ||
| [2010/06/08 22:41:08] @ andrew3 joined channel #puppet | ||
| [2010/06/08 22:41:46] @ cliff-hm-gone joined channel #puppet | ||
| [2010/06/08 22:42:40] @ jkelly joined channel #puppet | ||
| [2010/06/08 22:43:11] @ MattM joined channel #puppet | ||
| [2010/06/08 22:50:31] @ tjoe joined channel #puppet | ||
| [2010/06/08 22:51:17] <tjoe> hi, is there something like a "exit" command for templates ? | ||
| [2010/06/08 22:51:29] <ohadlevy> tjoe: what are you trying to do? | ||
| [2010/06/08 22:52:01] @ rmiller4pi8 joined channel #puppet | ||
| [2010/06/08 22:52:44] <tjoe> I have a case statement, if the value is not in the list (means something is wrong) I want to put something in the default statement so that puppet breaks | ||
| [2010/06/08 22:53:15] <ohadlevy> tjoe: use else | ||
| [2010/06/08 22:53:28] @ Quit: acrollet: Quit: acrollet | ||
| [2010/06/08 22:53:31] <ohadlevy> tjoe: ah, you mean puppet as a whole stops? | ||
| [2010/06/08 22:53:49] <tjoe> ohadlevy: yes, make puppet stop | ||
| [2010/06/08 22:54:35] <ohadlevy> tjoe: <% raise Puppet::ParseError %> | ||
| [2010/06/08 22:54:36] <RS-232> tjoe: fail() | ||
| [2010/06/08 22:54:44] <RS-232> oh, in templates. sorry | ||
| [2010/06/08 22:54:55] <tjoe> no in a .pp | ||
| [2010/06/08 22:55:07] <tjoe> thanks guys, I will try that out | ||
| [2010/06/08 22:56:30] @ Quit: ahasenack: Quit: Leaving | ||
| [2010/06/08 22:59:24] @ Quit: AimanA: Remote host closed the connection | ||
| [2010/06/08 23:05:35] @ Quit: pting: Quit: Ex-Chat | ||
| [2010/06/08 23:08:12] @ AimanA joined channel #puppet | ||
| [2010/06/08 23:14:41] @ rmiller4pi81 joined channel #puppet | ||
| [2010/06/08 23:15:24] @ knight_ joined channel #puppet | ||
| [2010/06/08 23:16:55] @ rmiller4pi82 joined channel #puppet | ||
| [2010/06/08 23:17:55] @ Quit: rmiller4pi8: Ping timeout: 248 seconds | ||
| [2010/06/08 23:19:23] @ Quit: rmiller4pi81: Ping timeout: 245 seconds | ||
| [2010/06/08 23:20:24] @ Quit: cliff-hm-gone: Ping timeout: 260 seconds | ||
| [2010/06/08 23:21:49] @ LoOoD joined channel #puppet | ||
| [2010/06/08 23:23:41] @ Quit: jhelwig: Ping timeout: 240 seconds | ||
| [2010/06/08 23:24:49] @ jhelwig joined channel #puppet | ||
| [2010/06/08 23:24:55] @ Quit: knight_: Remote host closed the connection | ||
| [2010/06/08 23:25:34] @ knight_ joined channel #puppet | ||
| [2010/06/08 23:30:50] @ acrollet joined channel #puppet | ||
| [2010/06/08 23:35:08] @ Quit: knight_: Remote host closed the connection | ||
| [2010/06/08 23:35:52] @ knight_ joined channel #puppet | ||
| [2010/06/08 23:38:26] @ Quit: bearnard_: Quit: bearnard_ | ||
| [2010/06/08 23:45:39] @ Quit: knight_: Remote host closed the connection | ||
| [2010/06/08 23:46:51] @ Quit: LoOoD: Quit: leaving | ||
| [2010/06/08 23:47:45] @ Quit: ashp: Ping timeout: 264 seconds | ||
| [2010/06/08 23:51:19] @ ashp joined channel #puppet | ||
| [2010/06/08 23:55:55] @ Quit: gaveen: Quit: Leaving |
Generated by irclog2html.py 2.8 by Marius Gedminas - find it at mg.pov.lt!