| [2008/09/09 00:10:34] @ Log started by gepetto | ||
| [2008/09/09 00:10:34] <silk> Is there a way to override existing facts? | ||
| [2008/09/09 00:10:51] <silk> eg want facter to report a different hostname or IP address? | ||
| [2008/09/09 00:21:29] <fujin> uh? | ||
| [2008/09/09 00:21:35] <fujin> that'd make them lies | ||
| [2008/09/09 00:22:19] <silk> sure | ||
| [2008/09/09 00:22:26] <silk> so I want to like to puppet | ||
| [2008/09/09 00:22:42] <silk> lie to puppet | ||
| [2008/09/09 00:22:45] <fujin> for what purpose? | ||
| [2008/09/09 00:23:08] <fujin> for lying like that, I'd suggest some kind of usermode classification tool (iClassify) where you can just pop variables in and they'll be available via external nodes | ||
| [2008/09/09 00:23:09] <silk> so that I can manage windows hosts via puppet | ||
| [2008/09/09 00:23:12] <fujin> lieing | ||
| [2008/09/09 00:23:15] <fujin> oh god | ||
| [2008/09/09 00:23:23] <silk> its not my idea :) | ||
| [2008/09/09 00:23:26] <silk> I just work here :) | ||
| [2008/09/09 00:23:34] <fujin> as for overriding facters facts.. not so sure about that | ||
| [2008/09/09 00:23:40] <fujin> have you tried creating custom facts with the same name | ||
| [2008/09/09 00:25:08] @ Quit: duffbeer703: | ||
| [2008/09/09 00:25:32] <fujin> sec, let me see if I can work out | ||
| [2008/09/09 00:26:00] <fujin> hrm, adding a second fact with the same name doesn't seem to override the first | ||
| [2008/09/09 00:26:06] <fujin> so no, not sure if there is a way for you to do that | ||
| [2008/09/09 00:27:18] <fujin> iclassify/external nodes would be how I'd do it, fwiw | ||
| [2008/09/09 00:47:32] <gepetto> ::puppet:: Downloading Puppet edited by jamtur01 @ http://reductivelabs.com/trac/puppet/wiki/DownloadingPuppet (by james@lovedthanlost.net) | ||
| [2008/09/09 00:48:15] <msf> you guys have puppet running on windows? | ||
| [2008/09/09 00:49:18] <fujin> apparently he does | ||
| [2008/09/09 00:49:22] <fujin> 1.5.1 of facter runs on 'doze | ||
| [2008/09/09 00:50:53] <jamesturnbull> msf: talk to Paul Nasrat - he has Facter running on Windows | ||
| [2008/09/09 00:50:53] @ Quit: elijahwright: Read error: 104 (Connection reset by peer) | ||
| [2008/09/09 00:51:03] <jamesturnbull> msf: he is also working on porting Puppet to Windows | ||
| [2008/09/09 00:51:10] <jamesturnbull> msf: as is a colleague of f3ew's | ||
| [2008/09/09 00:57:10] @ Quit: jcape: | ||
| [2008/09/09 00:57:46] <andrewcshafer> silk: external nodes is the way to 'lie' | ||
| [2008/09/09 00:58:44] <andrewcshafer> What exactly are you trying to manage on windows? | ||
| [2008/09/09 01:01:02] @ Quit: vinci: Remote closed the connection | ||
| [2008/09/09 01:01:46] <fujin> I can't imagine it'd be very fruitfel | ||
| [2008/09/09 01:01:47] <fujin> ful, even | ||
| [2008/09/09 01:04:36] <andrewcshafer> http://www.usenix.org/events/lisa03/tech/wang.html <--- just read the last phrase of the last sentence first, then go back and read the whole abstract | ||
| [2008/09/09 01:06:33] <fujin> That is so confusing | ||
| [2008/09/09 01:06:39] <fujin> I need more coffee and then I"ll try to read that again | ||
| [2008/09/09 01:06:52] <andrewcshafer> microsoft's LISA paper | ||
| [2008/09/09 01:07:16] <fujin> Throw that shit out the window | ||
| [2008/09/09 01:08:07] <jamesturnbull> andrewcshafer: If you need the latest Adobe Acrobat Reader, you can download it from Adobe's site. ? | ||
| [2008/09/09 01:08:08] <fujin> sounds like it increases problem complexity by several orders of magnitude | ||
| [2008/09/09 01:08:18] <fujin> I thik he's referrin to the blurb james | ||
| [2008/09/09 01:08:30] <jamesturnbull> no one has a sense of humour anymore | ||
| [2008/09/09 01:08:46] <fujin> It's nearly time to go home | ||
| [2008/09/09 01:08:49] <fujin> cut me some slack :} | ||
| [2008/09/09 01:09:33] <jamesturnbull> andrewcshafer: that's almost ... gibberish | ||
| [2008/09/09 01:09:43] <fujin> I know! | ||
| [2008/09/09 01:10:57] <andrewcshafer> Teyo showed me that last week, the clincher is 'making root cause analysis possible' because before all that stuff, it isn't | ||
| [2008/09/09 01:10:57] <andrewcshafer> hurray winders | ||
| [2008/09/09 01:11:10] <jamesturnbull> andrewcshafer: so going to recommend it at work though - they love M$ things - I'll be a hero | ||
| [2008/09/09 01:11:35] * fujin also | ||
| [2008/09/09 01:11:40] <fujin> passing to windows guy to see if he makes sense of it | ||
| [2008/09/09 01:11:40] <andrewcshafer> the project seemed to die shortly after that paper was published | ||
| [2008/09/09 01:11:53] <andrewcshafer> can't imagine why, seems so practical | ||
| [2008/09/09 01:13:02] <jamesturnbull> andrewcshafer: I particualrly like: | ||
| [2008/09/09 01:13:05] <jamesturnbull> andrewcshafer: The state diffing tool by default takes two System | ||
| [2008/09/09 01:13:05] <jamesturnbull> Restore checkpoints as input and produces an XML file | ||
| [2008/09/09 01:13:05] <jamesturnbull> containing Registry entries that exist in both checkpoints | ||
| [2008/09/09 01:13:05] <jamesturnbull> but have different data as well as those that exist in only | ||
| [2008/09/09 01:13:16] <jamesturnbull> one of the checkpoints | ||
| [2008/09/09 01:13:25] <jamesturnbull> that's word magic | ||
| [2008/09/09 01:13:27] <jamesturnbull> oplus XML | ||
| [2008/09/09 01:13:52] <andrewcshafer> it's the way of the future | ||
| [2008/09/09 01:18:58] <jamesturnbull> andrewcshafer: I think it's a Chinese plot to cripple the IT industry | ||
| [2008/09/09 01:19:14] <andrewcshafer> XML or Strider? | ||
| [2008/09/09 01:19:43] <jamesturnbull> andrewcshafer: why not both? | ||
| [2008/09/09 01:21:16] <andrewcshafer> True, blame china for XML | ||
| [2008/09/09 01:21:27] @ Quit: ski98034: "Leaving." | ||
| [2008/09/09 01:22:06] <andrewcshafer> I think it is more like M$, saying, 'Hey, you guys are smart PHD type people, go write some crazy shit and get it published.' | ||
| [2008/09/09 01:25:46] <andrewcshafer> or maybe 'Hey, we are smart and work for M$, I bet we can write some crazy shit and get it published.' | ||
| [2008/09/09 01:27:07] @ Quit: edwardam: Read error: 104 (Connection reset by peer) | ||
| [2008/09/09 01:27:24] @ edwardam joined channel #puppet | ||
| [2008/09/09 01:36:34] @ pleemans joined channel #puppet | ||
| [2008/09/09 01:47:31] @ vinci joined channel #puppet | ||
| [2008/09/09 01:49:26] @ jcastro left channel #puppet () | ||
| [2008/09/09 01:50:18] @ Quit: vinci: Client Quit | ||
| [2008/09/09 01:56:43] @ Quit: andrewcshafer: | ||
| [2008/09/09 01:58:49] @ Quit: edwardam: Read error: 110 (Connection timed out) | ||
| [2008/09/09 02:01:09] @ meandtheshell joined channel #puppet | ||
| [2008/09/09 02:05:26] @ Gh0sty_ joined channel #puppet | ||
| [2008/09/09 02:16:16] @ Quit: Gh0sty: Read error: 110 (Connection timed out) | ||
| [2008/09/09 02:16:16] @ Gh0sty_ is now known as Gh0sty | ||
| [2008/09/09 02:20:20] @ Quit: johnw: | ||
| [2008/09/09 02:22:11] @ Quit: nuloop__: Read error: 110 (Connection timed out) | ||
| [2008/09/09 02:24:19] @ stasheck joined channel #puppet | ||
| [2008/09/09 02:26:29] @ Quit: meandtheshell: "Leaving." | ||
| [2008/09/09 02:32:50] @ DavidS1 left channel #puppet () | ||
| [2008/09/09 02:34:14] @ meandtheshell joined channel #puppet | ||
| [2008/09/09 02:44:35] @ kolla joined channel #puppet | ||
| [2008/09/09 02:57:21] @ Quit: fujin: "Lost terminal" | ||
| [2008/09/09 02:57:45] @ fujin joined channel #puppet | ||
| [2008/09/09 03:20:33] @ ramteid joined channel #puppet | ||
| [2008/09/09 03:30:30] @ DerekW joined channel #puppet | ||
| [2008/09/09 03:32:43] @ tim|macbook joined channel #puppet | ||
| [2008/09/09 03:49:20] @ bajan joined channel #puppet | ||
| [2008/09/09 03:57:31] @ mikepea joined channel #puppet | ||
| [2008/09/09 03:59:02] @ Quit: mikepea: Client Quit | ||
| [2008/09/09 04:06:54] @ nuloop__ joined channel #puppet | ||
| [2008/09/09 04:14:39] @ kolla_ joined channel #puppet | ||
| [2008/09/09 04:15:01] @ Quit: kolla: Read error: 110 (Connection timed out) | ||
| [2008/09/09 04:18:06] @ mgiammarco joined channel #puppet | ||
| [2008/09/09 04:18:34] <mgiammarco> hello, I am evaluating puppet and I have this problem | ||
| [2008/09/09 04:18:43] <mgiammarco> I have several server with suse | ||
| [2008/09/09 04:18:54] <mgiammarco> that now uses zypper as package manager | ||
| [2008/09/09 04:19:13] <mgiammarco> I would like to use puppet to maintain the list of repositories and to install packages | ||
| [2008/09/09 04:21:44] <mgiammarco> but with zypper package manager | ||
| [2008/09/09 04:21:44] <mgiammarco> can I? | ||
| [2008/09/09 04:21:44] <mgiammarco> and whatabout puppet client installation on suse? | ||
| [2008/09/09 04:25:19] <Volcane> i recall someone here writing code to handle those packages, but its not part of the mainstream puppet | ||
| [2008/09/09 04:27:12] <mgiammarco> Yes I have found a third party zypper.rb | ||
| [2008/09/09 04:27:35] <mgiammarco> but reading the source code I see that it can install and uninstall packages | ||
| [2008/09/09 04:27:44] <mgiammarco> it does not manage repositories | ||
| [2008/09/09 04:28:10] <mgiammarco> Volcane, so you are pratically telling me that nobody uses puppet to manage suse | ||
| [2008/09/09 04:28:51] <duritong> mgiammarco: managing repositories is a different part | ||
| [2008/09/09 04:28:54] <Volcane> how does a repository look in suse? | ||
| [2008/09/09 04:29:01] <Volcane> are they just files with some text in them? | ||
| [2008/09/09 04:29:07] <duritong> you can look for example @ yumrepo | ||
| [2008/09/09 04:29:15] <Volcane> ie. you're talking about configuring clients to use a specific repo? | ||
| [2008/09/09 04:33:09] <mgiammarco> Volcane, yes adding repositories and then installing software from the repositories just added | ||
| [2008/09/09 04:33:38] <Volcane> mgiammarco: if they're just files then it would be trivial to write a simple define and use a template to manage them. | ||
| [2008/09/09 04:33:47] <Volcane> mgiammarco: puppet has extensive facilities for doing this kind of thing | ||
| [2008/09/09 04:35:22] @ drmikecrowe_ joined channel #puppet | ||
| [2008/09/09 04:36:32] <mgiammarco> Volcane, I am not sure that they are only files, and I would like that puppet does this low level things for me | ||
| [2008/09/09 04:37:04] <mgiammarco> I have seen that apt and yum are supported | ||
| [2008/09/09 04:37:39] <Volcane> ah, they are managed with the zypper command | ||
| [2008/09/09 04:38:11] <Volcane> looking at the few optoins to it (list, add, delete, disable with a name and a url) it would again be very easy to manage that with a define | ||
| [2008/09/09 04:38:39] <Volcane> and it would also be equally simple to write a native handler in ruby if you know a bit of ruby | ||
| [2008/09/09 04:38:51] <Volcane> its just that suse is used FAR less than debian and redhat | ||
| [2008/09/09 04:39:26] <mgiammarco> Volcane, I would like to use puppet because I have read I can save my time... if I need also to learn ruby I have to go back to shell scripts | ||
| [2008/09/09 04:39:30] @ Quit: drmikecrowe: Read error: 110 (Connection timed out) | ||
| [2008/09/09 04:40:00] <mgiammarco> Unfortunately for me nobody uses it | ||
| [2008/09/09 04:40:30] <Volcane> mgiammarco: Reductive Labs does paid for development, they'd be happy to write you native types to do this, but your repo problem is solvable using just the puppet language and not ruby | ||
| [2008/09/09 04:41:36] <mgiammarco> but for example, with a define if I add a repository many times it will be added only one time? | ||
| [2008/09/09 04:42:28] <mgiammarco> Volcane, my firm will pay after a lot of time I have shown that my choice (puppet?) will reduce management time | ||
| [2008/09/09 04:42:48] <mgiammarco> they not pay in advance | ||
| [2008/09/09 04:43:07] <Volcane> you would use the exec{} type to add the repo - by calling the zypper command, and you would use the onlyif option to exec{} to first check if the repo exist already | ||
| [2008/09/09 04:43:22] <Volcane> that way it will add it only if it doesnt exist | ||
| [2008/09/09 04:44:35] <Volcane> you could write it so that these would be valid: | ||
| [2008/09/09 04:44:54] <Volcane> zypperrepo{"yourrepo": url => "http://....."} | ||
| [2008/09/09 04:45:02] <Volcane> zypperrepo{"yourrepo": url => "http://.....", ensure=>absent} | ||
| [2008/09/09 04:45:10] <Volcane> zypperrepo{"yourrepo": url => "http://.....", ensure => "disabled" } | ||
| [2008/09/09 04:45:27] <mgiammarco> Volcano, ok thanks I will try to evaluate puppet using your suggestions | ||
| [2008/09/09 04:45:28] <Volcane> sorry, the 2nd row should have absent quoted too, but with a simple define you can make all of that valid | ||
| [2008/09/09 04:45:44] <mgiammarco> and I will look in the manual for "define" | ||
| [2008/09/09 04:45:44] <Volcane> and you would write the define in puppet's language not ruby | ||
| [2008/09/09 04:45:55] <mgiammarco> ok thanks again | ||
| [2008/09/09 04:45:58] <Volcane> np | ||
| [2008/09/09 04:54:49] @ Quit: dsch04: Remote closed the connection | ||
| [2008/09/09 05:02:09] @ mikepea joined channel #puppet | ||
| [2008/09/09 05:28:17] @ gileswork joined channel #puppet | ||
| [2008/09/09 05:33:24] @ dsch04 joined channel #puppet | ||
| [2008/09/09 05:36:46] @ drmikecrowe joined channel #puppet | ||
| [2008/09/09 05:44:59] @ [1]drmikecrowe joined channel #puppet | ||
| [2008/09/09 05:45:30] <gileswork> morning all | ||
| [2008/09/09 05:50:10] <stasheck> or noon :-) | ||
| [2008/09/09 05:54:09] @ Quit: [1]drmikecrowe: Read error: 60 (Operation timed out) | ||
| [2008/09/09 05:54:10] @ Quit: ralfgro: Connection reset by peer | ||
| [2008/09/09 05:56:07] @ Quit: drmikecrowe_: Read error: 110 (Connection timed out) | ||
| [2008/09/09 05:57:26] @ Quit: drmikecrowe: Read error: 110 (Connection timed out) | ||
| [2008/09/09 06:02:23] <gileswork> indeed | ||
| [2008/09/09 06:02:44] <gileswork> wondering if any of you have a solution for handling sequence numbers for init scripts | ||
| [2008/09/09 06:03:07] <gileswork> there doesn't seem to be a lsb standard | ||
| [2008/09/09 06:03:20] <gileswork> you can pass it to update-rc.d | ||
| [2008/09/09 06:03:48] <gileswork> can't see how to do it with chkconfig | ||
| [2008/09/09 06:04:10] <gileswork> thought I'd create a puppet define or something to handle init script creation totally | ||
| [2008/09/09 06:04:38] @ keithlard joined channel #puppet | ||
| [2008/09/09 06:04:47] <stasheck> hm, I always thought that in RH-like systems | ||
| [2008/09/09 06:05:04] <stasheck> the sequence numbers are embedded as comments in init script itself | ||
| [2008/09/09 06:05:30] <gileswork> oh I can't see that in the lsb spec | ||
| [2008/09/09 06:05:30] <stasheck> but it's not the first time I could've been wrong :-) | ||
| [2008/09/09 06:05:43] <gileswork> I can only see runlevels | ||
| [2008/09/09 06:05:51] <stasheck> hm, let me check | ||
| [2008/09/09 06:06:52] <gileswork> ah you're right | ||
| [2008/09/09 06:07:02] <stasheck> :-) | ||
| [2008/09/09 06:07:09] <stasheck> # chkconfig: 2345 95 05 | ||
| [2008/09/09 06:07:11] <stasheck> it's here | ||
| [2008/09/09 06:07:25] <stasheck> runlevel, S number and K number | ||
| [2008/09/09 06:07:26] <gileswork> so the problem is debian | ||
| [2008/09/09 06:08:00] <stasheck> no it isn't | ||
| [2008/09/09 06:08:11] <stasheck> there is a similar mechanism in debian | ||
| [2008/09/09 06:08:39] <gileswork> yea it only reads runlevels from the file though | ||
| [2008/09/09 06:08:44] <stasheck> http://pastie.org/268794 | ||
| [2008/09/09 06:08:45] <gileswork> not sequence number | ||
| [2008/09/09 06:09:00] <stasheck> it's also embedded in init script | ||
| [2008/09/09 06:09:30] <stasheck> ....or not | ||
| [2008/09/09 06:09:33] <gileswork> heh | ||
| [2008/09/09 06:09:37] <stasheck> :-) | ||
| [2008/09/09 06:09:39] <stasheck> sorry :D | ||
| [2008/09/09 06:09:46] <gileswork> well maybe required-start does it | ||
| [2008/09/09 06:10:12] <stasheck> don't think so | ||
| [2008/09/09 06:12:03] <stasheck> judging by man update-rc.d, there is no embedded info about these numbers | ||
| [2008/09/09 06:37:49] @ Quit: zoeloelip: Read error: 104 (Connection reset by peer) | ||
| [2008/09/09 06:37:52] @ zoeloelip joined channel #puppet | ||
| [2008/09/09 06:42:47] @ martha joined channel #puppet | ||
| [2008/09/09 06:50:42] <gileswork> hrm I think debian is going to move to insserv | ||
| [2008/09/09 06:50:48] <gileswork> which reads in the lsb headers | ||
| [2008/09/09 06:55:28] @ kolla__ joined channel #puppet | ||
| [2008/09/09 07:00:30] @ Quit: kolla__: Remote closed the connection | ||
| [2008/09/09 07:00:58] @ kolla__ joined channel #puppet | ||
| [2008/09/09 07:03:19] @ ralfgro joined channel #puppet | ||
| [2008/09/09 07:04:54] @ roald joined channel #puppet | ||
| [2008/09/09 07:06:00] @ dsch04_ joined channel #puppet | ||
| [2008/09/09 07:08:25] @ Quit: kolla_: Read error: 110 (Connection timed out) | ||
| [2008/09/09 07:18:13] @ Quit: dsch04: Read error: 110 (Connection timed out) | ||
| [2008/09/09 08:04:38] @ eliasp joined channel #puppet | ||
| [2008/09/09 08:04:41] <eliasp> hi | ||
| [2008/09/09 08:08:42] @ Quit: tmz: Read error: 110 (Connection timed out) | ||
| [2008/09/09 08:09:23] <martha> hi | ||
| [2008/09/09 08:09:25] @ tmz joined channel #puppet | ||
| [2008/09/09 08:10:08] @ tmz_ joined channel #puppet | ||
| [2008/09/09 08:15:45] @ kolla__ is now known as kolla | ||
| [2008/09/09 08:16:17] @ Quit: tmz_: "Lost terminal" | ||
| [2008/09/09 08:26:42] @ trombik joined channel #puppet | ||
| [2008/09/09 08:34:30] @ Quit: tim|macbook: "Leaving" | ||
| [2008/09/09 08:35:52] @ drmikecrowe joined channel #puppet | ||
| [2008/09/09 08:37:43] @ tim|macbook joined channel #puppet | ||
| [2008/09/09 08:40:36] @ kolla_ joined channel #puppet | ||
| [2008/09/09 08:41:04] @ golan joined channel #puppet | ||
| [2008/09/09 08:43:06] @ benkei_not_here is now known as csmith | ||
| [2008/09/09 08:43:34] @ csmith is now known as benkei_not_here | ||
| [2008/09/09 08:45:19] @ Quit: kolla_: Remote closed the connection | ||
| [2008/09/09 08:49:04] @ Quit: ralfgro: Read error: 104 (Connection reset by peer) | ||
| [2008/09/09 08:55:23] @ Quit: kolla: Read error: 110 (Connection timed out) | ||
| [2008/09/09 08:56:18] @ ralfgro joined channel #puppet | ||
| [2008/09/09 09:09:04] @ ralfgro_ joined channel #puppet | ||
| [2008/09/09 09:09:26] @ Quit: ralfgro_: Read error: 104 (Connection reset by peer) | ||
| [2008/09/09 09:09:53] @ bgupta_ joined channel #puppet | ||
| [2008/09/09 09:15:44] @ Quit: ralfgro: Read error: 110 (Connection timed out) | ||
| [2008/09/09 09:27:14] @ nahamu joined channel #puppet | ||
| [2008/09/09 09:44:03] @ shenson_not_here is now known as shenson | ||
| [2008/09/09 09:45:00] @ Quit: nuloop__: Read error: 104 (Connection reset by peer) | ||
| [2008/09/09 09:45:22] @ nuloop__ joined channel #puppet | ||
| [2008/09/09 09:50:21] @ Quit: meandtheshell: Read error: 60 (Operation timed out) | ||
| [2008/09/09 09:54:23] @ andrewcshafer joined channel #puppet | ||
| [2008/09/09 09:55:04] @ elijahwright joined channel #puppet | ||
| [2008/09/09 09:59:08] @ meandtheshell joined channel #puppet | ||
| [2008/09/09 09:59:30] @ jbrothers joined channel #puppet | ||
| [2008/09/09 10:05:09] @ markl_ joined channel #puppet | ||
| [2008/09/09 10:06:40] @ bajan left channel #puppet () | ||
| [2008/09/09 10:27:47] @ Quit: pleemans: "Ex-Chat" | ||
| [2008/09/09 10:30:21] @ nuloop_ joined channel #puppet | ||
| [2008/09/09 10:31:27] @ Quit: nuloop__: Read error: 104 (Connection reset by peer) | ||
| [2008/09/09 10:47:56] @ nuloop__ joined channel #puppet | ||
| [2008/09/09 10:52:35] @ Quit: nuloop_: Read error: 110 (Connection timed out) | ||
| [2008/09/09 10:53:20] @ ski98033 joined channel #puppet | ||
| [2008/09/09 10:58:34] @ freiheit joined channel #puppet | ||
| [2008/09/09 11:23:35] @ marth1 joined channel #puppet | ||
| [2008/09/09 11:23:35] @ Quit: martha: Read error: 104 (Connection reset by peer) | ||
| [2008/09/09 11:26:08] <duritong> hmm: err: Got an uncaught exception of type ArgumentError: Did not get id | ||
| [2008/09/09 11:27:11] @ marth1 is now known as martha | ||
| [2008/09/09 11:32:08] <duritong> ssh_authorized key seems to be still a bit broken | ||
| [2008/09/09 11:35:23] @ marth1 joined channel #puppet | ||
| [2008/09/09 11:35:24] @ Quit: martha: Read error: 104 (Connection reset by peer) | ||
| [2008/09/09 11:35:27] @ marth1 is now known as martha | ||
| [2008/09/09 11:35:58] @ Quit: tim|macbook: "This computer has gone to sleep" | ||
| [2008/09/09 11:37:02] @ slyphon_ joined channel #puppet | ||
| [2008/09/09 11:37:20] <mgiammarco> hello in a puppet client I am getting this error: | ||
| [2008/09/09 11:37:26] @ slyphon_ left channel #puppet () | ||
| [2008/09/09 11:37:34] <mgiammarco> err: Could not retrieve catalog: Certificates were not trusted: hostname was not match with the server certificate | ||
| [2008/09/09 11:38:08] <mgiammarco> I suppose it is due to the fact that the server has three names: puppet puppet.sirea.net puppet.local | ||
| [2008/09/09 11:38:27] <mgiammarco> how can I generate again the certificate with right name? | ||
| [2008/09/09 11:43:18] <gepetto> ::puppet:: Puppet Modules edited by anarcat @ http://reductivelabs.com/trac/puppet/wiki/PuppetModules (by anarcat@koumbit.org) | ||
| [2008/09/09 11:46:24] <mgiammarco> I would like to use puppet.local as certificate name | ||
| [2008/09/09 11:50:22] <mgiammarco> no one can help? | ||
| [2008/09/09 11:51:43] <mgiammarco> wait I have found by accident the solution | ||
| [2008/09/09 11:56:11] @ slyphon joined channel #puppet | ||
| [2008/09/09 11:59:49] <tmz> jamesturnbull: how do you and the other devs like to get trivial patch submissions? | ||
| [2008/09/09 12:00:06] <tmz> I've got one that cleans up some confusing debug output: http://tmz.fedorapeople.org/patches/0001-Fix-debug-output-when-a-package-needs-updated.patch | ||
| [2008/09/09 12:01:42] @ shake-n-bake joined channel #puppet | ||
| [2008/09/09 12:02:31] @ kubicek_ joined channel #puppet | ||
| [2008/09/09 12:04:19] @ Quit: ramteid: | ||
| [2008/09/09 12:06:48] <kubicek_> hello. i have my own patch for puppet freebsd provider. i want to load this patch as first on the client. is there any way how to do it? i dont want to write in every package that it requires the patch file to be installed | ||
| [2008/09/09 12:07:43] @ Quit: slyphon: | ||
| [2008/09/09 12:15:08] @ iFujin joined channel #puppet | ||
| [2008/09/09 12:15:16] @ Quit: iFujin: Remote closed the connection | ||
| [2008/09/09 12:15:18] <kubicek_> pluginsource :) | ||
| [2008/09/09 12:15:33] @ iFujin joined channel #puppet | ||
| [2008/09/09 12:17:28] @ andrewcshafer_ joined channel #puppet | ||
| [2008/09/09 12:18:38] <duritong> tmz: you can send it to puppet-dev | ||
| [2008/09/09 12:19:43] <tmz> duritong: thanks. (off I go to add another list subscription. :) | ||
| [2008/09/09 12:21:24] @ plathrop joined channel #puppet | ||
| [2008/09/09 12:23:16] @ Quit: andrewcshafer: Read error: 113 (No route to host) | ||
| [2008/09/09 12:27:44] @ edwardam joined channel #puppet | ||
| [2008/09/09 12:29:00] @ Quit: iFujin: | ||
| [2008/09/09 12:32:50] @ ijcd joined channel #puppet | ||
| [2008/09/09 12:32:53] @ Quit: ijcd: Remote closed the connection | ||
| [2008/09/09 12:34:43] @ Quit: DerekW: "Leaving" | ||
| [2008/09/09 12:38:20] @ vinci joined channel #puppet | ||
| [2008/09/09 12:38:56] <mmcgrath> Volcane: you around by chance? I was wondering what mechanism you're using that says "include this staging module if it exists, if not include the normal module" | ||
| [2008/09/09 12:40:11] @ iFujin joined channel #puppet | ||
| [2008/09/09 12:41:10] @ Quit: iFujin: Client Quit | ||
| [2008/09/09 12:46:31] @ dsch04_ is now known as dsch04 | ||
| [2008/09/09 12:52:35] @ BB|AtWork joined channel #puppet | ||
| [2008/09/09 12:55:16] @ Quit: nuloop__: Read error: 110 (Connection timed out) | ||
| [2008/09/09 12:56:11] <gepetto> ::puppet:: Puppet Modules edited by immerda @ http://reductivelabs.com/trac/puppet/wiki/PuppetModules (by puppet@immerda.ch) | ||
| [2008/09/09 12:57:21] @ shadowvice left channel #puppet () | ||
| [2008/09/09 12:59:57] @ ralfgro joined channel #puppet | ||
| [2008/09/09 13:01:47] @ Quit: markl_: "Lost terminal" | ||
| [2008/09/09 13:02:02] @ Quit: shake-n-bake: Read error: 110 (Connection timed out) | ||
| [2008/09/09 13:02:14] @ benkei_not_here is now known as csmith | ||
| [2008/09/09 13:02:29] @ csmith is now known as benkei_not_here | ||
| [2008/09/09 13:07:09] @ shadowvice joined channel #puppet | ||
| [2008/09/09 13:08:18] <plathrop> grrr variables again. So, I have a template in which I need to say "if domain is such_and_such or if engineering_access is true then..." But when I set engineering_access in the node block, I get: | ||
| [2008/09/09 13:08:31] <plathrop> err: Could not retrieve catalog: Failed to parse template site/pam/login_access.conf.erb: Could not find value for 'engineering_access' at /home/plathrop/puppet/modules/site/manifests/ldap_node.pp:23 on node lun0051.digg.internal | ||
| [2008/09/09 13:08:31] <plathrop> | ||
| [2008/09/09 13:09:25] <plathrop> Now, ldap_node is being included via the "default" node, which this node inherits. I'm sure I'm running into the variable scope thing, but I don't know how to work around it. Any ideas? | ||
| [2008/09/09 13:16:33] <riddley> we use an external node classifer | ||
| [2008/09/09 13:16:38] <riddley> and set all of our variables in it | ||
| [2008/09/09 13:16:47] <riddley> not a great answer :( | ||
| [2008/09/09 13:16:50] @ brscott joined channel #puppet | ||
| [2008/09/09 13:17:29] <plathrop> Yeah, I keep waiting for our mythical external node system (I'm not the one writing it) but... in the meantime I need this to work. Hrm. | ||
| [2008/09/09 13:18:09] <riddley> if you want to go really poor-mans, you could have your irb code fake the vars by hard-coding some stuff | ||
| [2008/09/09 13:18:55] <riddley> meaning that you'll have access to facter-set vars, so you could have ruby say "if hostname is blah, set this var" etc | ||
| [2008/09/09 13:18:56] <holoway> plathrop: is engineering_access defined? | ||
| [2008/09/09 13:19:04] <holoway> or is it only sometimes available? | ||
| [2008/09/09 13:19:15] <holoway> ie: sometimes it's true, sometimes it's false, and sometimes it's undef | ||
| [2008/09/09 13:19:19] <plathrop> holoway: Well, I've tried both approaches. | ||
| [2008/09/09 13:19:29] <holoway> pastie your template? | ||
| [2008/09/09 13:19:35] <plathrop> holoway: As in, set a default at the top level of "false" | ||
| [2008/09/09 13:19:44] <plathrop> holoway: Or just let it be undef most of the time | ||
| [2008/09/09 13:19:45] <holoway> and then override it at the node level | ||
| [2008/09/09 13:19:55] <plathrop> holoway: Yeah | ||
| [2008/09/09 13:19:55] <holoway> setting it to 'false' is the right thing | ||
| [2008/09/09 13:19:59] @ Quit: keithlard: | ||
| [2008/09/09 13:20:14] <plathrop> holoway: unfortunately, that doesn't work. The node-level override never comes through | ||
| [2008/09/09 13:20:19] <plathrop> pastie: give me a link | ||
| [2008/09/09 13:20:22] <holoway> ahh | ||
| [2008/09/09 13:20:23] <holoway> lame | ||
| [2008/09/09 13:23:04] @ wakko666 joined channel #puppet | ||
| [2008/09/09 13:23:33] <pastie> http://pastie.org/269036 by plathrop. | ||
| [2008/09/09 13:24:39] <plathrop> holoway: There's the stuff when I use a default value | ||
| [2008/09/09 13:26:00] <holoway> hrm | ||
| [2008/09/09 13:28:19] @ brscott left channel #puppet () | ||
| [2008/09/09 13:28:32] @ shenson is now known as shenson_not_here | ||
| [2008/09/09 13:29:16] @ shenson_not_here is now known as shenson | ||
| [2008/09/09 13:29:21] @ Quit: mikepea: Read error: 113 (No route to host) | ||
| [2008/09/09 13:31:16] @ shake-n-bake joined channel #puppet | ||
| [2008/09/09 13:31:49] @ pleemans joined channel #puppet | ||
| [2008/09/09 13:36:18] <holoway> yeah, I got nothin, plathrop | ||
| [2008/09/09 13:36:29] <plathrop> holoway: It's okay | ||
| [2008/09/09 13:36:54] <plathrop> I keep reading the variable scope section of the language tutorial and thinking it should work | ||
| [2008/09/09 13:37:03] <plathrop> http://reductivelabs.com/trac/puppet/wiki/LanguageTutorial#variable-scope | ||
| [2008/09/09 13:38:31] <holoway> yeah, I've kind of avoided most of those situations through external node tools | ||
| [2008/09/09 13:39:14] <holoway> the scope + declarative langauge = head hurting | ||
| [2008/09/09 13:39:31] <holoway> like, I don't think I would have expected myclass to have the $test value from other | ||
| [2008/09/09 13:39:49] <holoway> (what happens if I include myclass in two classes? do they race?) | ||
| [2008/09/09 13:40:36] <plathrop> *sigh* I know I want external nodes, I just can't do it at the moment. I suppose I'll just have to figure something else out. | ||
| [2008/09/09 13:40:55] <holoway> well, it might be worth rolling up the old ruby sleeves | ||
| [2008/09/09 13:41:00] <plathrop> I even tried over-riding the $domain variable in the node statement, but apparently facter always wins. | ||
| [2008/09/09 13:41:00] <holoway> since this comes up a lot | ||
| [2008/09/09 13:41:53] <plathrop> holoway: Meaning fix puppet? Or write the external nodes tool? Because the second option isn't my choice. I've been told to wait on this mythical internal project... | ||
| [2008/09/09 13:42:00] <holoway> fix puppet | ||
| [2008/09/09 13:42:22] <holoway> I can't see why the behavior your expecting isn't the right behavior | ||
| [2008/09/09 13:42:31] <holoway> at the very least it should be a bug, I think | ||
| [2008/09/09 13:42:46] <plathrop> holoway: I remember learning at the training that it is non-trivial to fix | ||
| [2008/09/09 13:42:46] <holoway> of course, if you patch puppet, it's not like you'll automatically roll out your patched puppetmasterd | ||
| [2008/09/09 13:42:50] <holoway> :) | ||
| [2008/09/09 13:43:39] <holoway> plathrop: yeah, I'm certain it's non-trivial - the parser itself is 4k lines of code | ||
| [2008/09/09 13:44:38] <plathrop> okay, now I *know* something is funky here. | ||
| [2008/09/09 13:44:47] <holoway> did it just work? | ||
| [2008/09/09 13:44:49] <holoway> :) | ||
| [2008/09/09 13:44:50] <plathrop> no. | ||
| [2008/09/09 13:44:53] <plathrop> But | ||
| [2008/09/09 13:45:20] <plathrop> I tried another approach. I moved the engineering_access = true statement into the site::wildcat-dev class | ||
| [2008/09/09 13:45:47] <plathrop> Because I already override other variables from site.pp in that class, those variables work fine | ||
| [2008/09/09 13:46:32] <plathrop> So I figured, even though it isn't logically clean, it would work for now. | ||
| [2008/09/09 13:46:32] <plathrop> Except it doesn't. | ||
| [2008/09/09 13:46:32] <plathrop> So I have some variables I can override, and some I can't | ||
| [2008/09/09 13:46:32] <plathrop> That's WEIRD | ||
| [2008/09/09 13:48:38] <plathrop> screw it. I'm changing the hostname | ||
| [2008/09/09 13:50:20] @ ijcd joined channel #puppet | ||
| [2008/09/09 14:00:48] @ ezralini joined channel #puppet | ||
| [2008/09/09 14:01:41] @ Quit: shake-n-bake: Read error: 110 (Connection timed out) | ||
| [2008/09/09 14:05:28] @ shake-n-bake joined channel #puppet | ||
| [2008/09/09 14:07:16] @ martha left channel #puppet () | ||
| [2008/09/09 14:23:36] @ marek left channel #puppet () | ||
| [2008/09/09 14:32:54] @ edwardam_ joined channel #puppet | ||
| [2008/09/09 14:40:28] @ Quit: edwardam: Read error: 110 (Connection timed out) | ||
| [2008/09/09 14:41:09] @ benkei_not_here is now known as csmith | ||
| [2008/09/09 14:41:26] @ csmith is now known as benkei_not_here | ||
| [2008/09/09 14:43:24] @ josb joined channel #puppet | ||
| [2008/09/09 14:47:52] @ muerr joined channel #puppet | ||
| [2008/09/09 14:48:06] @ Quit: josb_: Read error: 110 (Connection timed out) | ||
| [2008/09/09 14:48:50] <duritong> &win 15 | ||
| [2008/09/09 14:48:52] <duritong> grr | ||
| [2008/09/09 14:49:11] @ Quit: edwardam_: Read error: 110 (Connection timed out) | ||
| [2008/09/09 14:53:02] @ Quit: windowsrefund: Read error: 110 (Connection timed out) | ||
| [2008/09/09 14:53:15] @ windowsrefund joined channel #puppet | ||
| [2008/09/09 14:58:03] @ fhornain joined channel #puppet | ||
| [2008/09/09 14:58:37] @ Quit: meandtheshell: "Leaving." | ||
| [2008/09/09 15:09:06] @ Quit: ralfgro: Read error: 104 (Connection reset by peer) | ||
| [2008/09/09 15:09:07] @ andrewcshafer joined channel #puppet | ||
| [2008/09/09 15:10:38] @ Quit: vinci: Read error: 104 (Connection reset by peer) | ||
| [2008/09/09 15:13:16] <sigmonsays> if I want to require a file from the result of a file { "/blah" : recurse => true } -- do I have to make another resource? | ||
| [2008/09/09 15:14:23] <mmcgrath> you could require => File['/blah'] but I'm pretty sure not File['/blah/wee.txt'] | ||
| [2008/09/09 15:14:33] @ shake-n-bake_ joined channel #puppet | ||
| [2008/09/09 15:14:34] <duritong> ack | ||
| [2008/09/09 15:21:36] <sigmonsays> I don't think someone thought about the result of creating recurse => true | ||
| [2008/09/09 15:22:30] @ Quit: shake-n-bake: Read error: 110 (Connection timed out) | ||
| [2008/09/09 15:22:40] <sigmonsays> hmm, that kinda defeats the purpose of recurse | ||
| [2008/09/09 15:23:43] @ shake-n-bake joined channel #puppet | ||
| [2008/09/09 15:23:58] @ Quit: andrewcshafer_: Read error: 113 (No route to host) | ||
| [2008/09/09 15:24:17] <duritong> well you can always create an addition file resource which is within this recurse and which doesnt have a source | ||
| [2008/09/09 15:24:27] <duritong> so ou can address it | ||
| [2008/09/09 15:24:36] <duritong> you | ||
| [2008/09/09 15:25:02] <sigmonsays> really? | ||
| [2008/09/09 15:25:15] <sigmonsays> wow, didn't realize I could create a file resource w/ a source | ||
| [2008/09/09 15:25:43] @ BB|AtWork left channel #puppet ("Leaving") | ||
| [2008/09/09 15:26:56] @ Quit: ijcd: | ||
| [2008/09/09 15:27:07] @ ralfgro joined channel #puppet | ||
| [2008/09/09 15:27:59] @ ijcd joined channel #puppet | ||
| [2008/09/09 15:28:38] @ vinci joined channel #puppet | ||
| [2008/09/09 15:29:00] <duritong> sigmonsays: file{"/tmp/foobar": ensure => directory } | ||
| [2008/09/09 15:30:41] @ Quit: shake-n-bake_: Read error: 110 (Connection timed out) | ||
| [2008/09/09 15:34:11] @ Quit: ijcd: | ||
| [2008/09/09 15:34:26] @ ijcd joined channel #puppet | ||
| [2008/09/09 15:38:48] <sigmonsays> that is sweet | ||
| [2008/09/09 15:46:37] <duritong> indeed | ||
| [2008/09/09 15:50:45] @ shake-n-bake_ joined channel #puppet | ||
| [2008/09/09 15:54:52] <ijcd> is the "mount" type supposed do make an entry in /etc/fstab for you? | ||
| [2008/09/09 15:55:02] <ijcd> it seems to have performed the mount, but I don't get anything in fstab | ||
| [2008/09/09 15:58:37] @ Quit: shake-n-bake: Read error: 110 (Connection timed out) | ||
| [2008/09/09 16:01:47] @ shake-n-bake joined channel #puppet | ||
| [2008/09/09 16:02:53] @ Quit: josb: Remote closed the connection | ||
| [2008/09/09 16:02:57] @ Quit: pleemans: "Ex-Chat" | ||
| [2008/09/09 16:03:29] @ Quit: fhornain: "Ex-Chat" | ||
| [2008/09/09 16:03:33] @ josb joined channel #puppet | ||
| [2008/09/09 16:06:53] <duritong> ijcd: wiki:TypeReference#mount ensure parameter | ||
| [2008/09/09 16:07:11] <gepetto> duritong: ijcd: wiki:TypeReference is http://reductivelabs.com/trac/puppet/wiki/TypeReference | ||
| [2008/09/09 16:08:00] <ijcd> yes, I have it set to "mounted" | ||
| [2008/09/09 16:08:06] <ijcd> which it says should put it into both | ||
| [2008/09/09 16:08:23] <duritong> then it should do it, at least it does on my sysmtems | ||
| [2008/09/09 16:08:41] <duritong> version, os? | ||
| [2008/09/09 16:08:47] <ijcd> that's what I thought... debug time | ||
| [2008/09/09 16:09:05] <ijcd> 0.24.4-8~bpo40+1 on debian etch | ||
| [2008/09/09 16:09:09] <ijcd> for puppet | ||
| [2008/09/09 16:09:12] @ Quit: shake-n-bake_: Read error: 110 (Connection timed out) | ||
| [2008/09/09 16:09:25] <duritong> ok shouldt be too old ;) | ||
| [2008/09/09 16:09:28] <ijcd> same for master | ||
| [2008/09/09 16:09:30] @ anarcat joined channel #puppet | ||
| [2008/09/09 16:09:31] <anarcat> Hello anarcat@anarcat.ath.cx, | ||
| [2008/09/09 16:09:34] <anarcat> We recently received a request from you to subscribe to the group Puppet Users. | ||
| [2008/09/09 16:09:36] <anarcat> We know you are excited about this group, but it looks like you are already | ||
| [2008/09/09 16:09:39] <anarcat> subscribed to it. | ||
| [2008/09/09 16:09:41] <anarcat> grr | ||
| [2008/09/09 16:10:15] <duritong> : | ||
| [2008/09/09 16:10:23] <duritong> :/ | ||
| [2008/09/09 16:10:40] <gepetto> ::puppet:: Puppet Modules edited by wrobel @ http://reductivelabs.com/trac/puppet/wiki/PuppetModules (by wrobel@gentoo.org) | ||
| [2008/09/09 16:11:33] <ijcd> pastie: link please | ||
| [2008/09/09 16:12:26] <pastie> http://pastie.org/269160 by ijcd. | ||
| [2008/09/09 16:12:32] <ijcd> Have tried with and without target set... nothing in /etc/fstab | ||
| [2008/09/09 16:14:47] <duritong> hmm i dont have the target set, maybe leave that away, but thats the only thing I see as difference to me | ||
| [2008/09/09 16:15:11] <Dyresen> Do you need dump and pass? | ||
| [2008/09/09 16:16:20] <ijcd> I would assume those take defaults... | ||
| [2008/09/09 16:16:25] <ijcd> ok... it was a syntax error in the config | ||
| [2008/09/09 16:16:36] <ijcd> client was using the old one... but no notice that there was an error... | ||
| [2008/09/09 16:16:39] <ijcd> that bites me too much | ||
| [2008/09/09 16:19:54] <duritong> yeah puppet --parseonly is always important ... | ||
| [2008/09/09 16:27:25] <ijcd> do you run that on the sites.pp file? | ||
| [2008/09/09 16:27:27] <ijcd> as the root? | ||
| [2008/09/09 16:27:35] <ijcd> what's your typical usage? | ||
| [2008/09/09 16:28:06] <ijcd> I just wish I could get puppetmaster to spit those out at me over growl or email rather than having to swatch the logs | ||
| [2008/09/09 16:28:32] <ijcd> sometimes puppetd -t speaks up, more often than it used to, but it seems some cases are still missed | ||
| [2008/09/09 16:28:58] <duritong> edit file, run parseonly, fix problems, rerun parseonly, (jump maybe back to fix problems), commit | ||
| [2008/09/09 16:30:36] <ijcd> hah.. I got it... 1 minute cron on tthe site.pp file reporting to growl/email | ||
| [2008/09/09 16:30:36] <ijcd> good enough for now | ||
| [2008/09/09 16:31:37] <andrewcshafer> plathrop: you still here? | ||
| [2008/09/09 16:48:38] @ markl_ joined channel #puppet | ||
| [2008/09/09 16:49:43] @ Quit: shake-n-bake: Read error: 110 (Connection timed out) | ||
| [2008/09/09 16:51:59] @ shake-n-bake joined channel #puppet | ||
| [2008/09/09 16:52:34] @ nigelk joined channel #puppet | ||
| [2008/09/09 17:01:28] @ Quit: vinci: | ||
| [2008/09/09 17:02:39] @ vinci joined channel #puppet | ||
| [2008/09/09 17:07:11] <nigelk> so I've been playing with storeconfigs a lot lately, and I've realized that we're only really interested in using it to log facts, and not resources. It turns out that storing resources is 99% of the time ... so I'm thinking about submitting a patch to allow some more fine grained control over what storeconfigs stores... | ||
| [2008/09/09 17:07:37] <nigelk> any suggestions for how this should be done? a list like "storeconfigs_types = facts, resources " etc ? | ||
| [2008/09/09 17:08:13] <Volcane> how do you use these facts? | ||
| [2008/09/09 17:08:35] <nigelk> we're doing a self-service software installation web app for Mac clients | ||
| [2008/09/09 17:08:43] @ Quit: shake-n-bake: Read error: 110 (Connection timed out) | ||
| [2008/09/09 17:08:54] <Volcane> ah | ||
| [2008/09/09 17:09:05] @ Quit: shadowvice: Remote closed the connection | ||
| [2008/09/09 17:09:26] <Volcane> yeah that syntax seems fine, i mean its similar to that of the reports etc | ||
| [2008/09/09 17:10:38] <nigelk> yeah. | ||
| [2008/09/09 17:10:57] <nigelk> I guess you're always going to want to store 'hosts', so really the only choices are resources and facts | ||
| [2008/09/09 17:11:45] <Volcane> how do deal with nodes that go away? | ||
| [2008/09/09 17:11:58] <nigelk> in what context? | ||
| [2008/09/09 17:12:00] <Volcane> ie stale data in the store confs db | ||
| [2008/09/09 17:12:12] @ shake-n-bake joined channel #puppet | ||
| [2008/09/09 17:12:14] <nigelk> that's ok. we'll be using an external node provider as well | ||
| [2008/09/09 17:12:36] <Volcane> how will that help? | ||
| [2008/09/09 17:12:42] <nigelk> so on puppet runs it will use the external node provider to talk to the software installation app to work out what variables should be set | ||
| [2008/09/09 17:12:50] <nigelk> and those variables will trigger certain packages to be installed on that puppet run | ||
| [2008/09/09 17:13:00] <Volcane> well i guess if you're not using the resources in the db so wont be a problem | ||
| [2008/09/09 17:13:21] <Volcane> generally if node a doesnt check in for a monht, its resources will still be in the store confs db | ||
| [2008/09/09 17:13:27] <Volcane> damn annoying, | ||
| [2008/09/09 17:13:38] <nigelk> sure. that doesn't really matter. easy enough to clear out old ones with a scheduled script | ||
| [2008/09/09 17:13:46] <Volcane> yeah wont matter in your case | ||
| [2008/09/09 17:13:57] <nigelk> just check the last_compile time in the hosts table | ||
| [2008/09/09 17:15:02] <plathrop> andrewcshafer: back now. | ||
| [2008/09/09 17:15:03] <Volcane> nods, there should be a puppet setting to ignore data in those tables older than n seconds | ||
| [2008/09/09 17:15:31] <nigelk> but it does ignore data ? nothing will query it... unless you want puppet to delete rows with data older than n ? | ||
| [2008/09/09 17:15:48] <Volcane> well atm there isnt | ||
| [2008/09/09 17:15:57] <Volcane> so if you use storeconfs to build say nagios configs | ||
| [2008/09/09 17:16:08] <Volcane> you need to go poke in the db to delete a node | ||
| [2008/09/09 17:16:19] <Volcane> before you'll end getting it added to your nagios | ||
| [2008/09/09 17:16:28] <nigelk> ah. yeah, that would be problematic | ||
| [2008/09/09 17:16:46] @ shadowvice joined channel #puppet | ||
| [2008/09/09 17:16:53] <Volcane> theres a script on the wiki, but its far from optimal | ||
| [2008/09/09 17:22:38] @ edwardam joined channel #puppet | ||
| [2008/09/09 17:24:59] @ almostautomated joined channel #puppet | ||
| [2008/09/09 17:29:48] @ Quit: shake-n-bake: Read error: 110 (Connection timed out) | ||
| [2008/09/09 17:46:40] <ijcd> pastie: link please | ||
| [2008/09/09 17:47:16] <pastie> http://pastie.org/269234 by ijcd. | ||
| [2008/09/09 17:47:32] <ijcd> running in a cron | ||
| [2008/09/09 17:47:40] <ijcd> works well so far | ||
| [2008/09/09 17:48:31] <ijcd> next step would be to have it take a user/host mapping from somewhere and coordinate that w/ show checked in the config error by inspecting the scm logs | ||
| [2008/09/09 17:49:46] <Volcane> heh kewl | ||
| [2008/09/09 17:53:05] <ijcd> twitter, irc.. have fun | ||
| [2008/09/09 17:53:05] @ flakrat joined channel #puppet | ||
| [2008/09/09 17:54:11] <duritong> ijcd: can you poste it on the wiki somewhere? | ||
| [2008/09/09 17:55:13] <ijcd> sure, is there a good place? | ||
| [2008/09/09 17:56:01] <ijcd> not quite a recipe | ||
| [2008/09/09 17:56:10] <ijcd> I guess I could make it into one that runs on your puppetmaster | ||
| [2008/09/09 17:57:27] <ijcd> I seem to need a login to edit the wiki | ||
| [2008/09/09 17:57:59] <ijcd> nm | ||
| [2008/09/09 17:58:00] <ijcd> found the reg | ||
| [2008/09/09 18:01:00] <ezralini> I did exactly as was told in http://reductivelabs.com/trac/puppet/wiki/UsingMultipleEnvironments to set a client to be in the staging environment, but when I run 'puppetd --test --noop' I get, "err: Could not retrieve catalog: Invalid environment staging from parameters" | ||
| [2008/09/09 18:01:09] <ezralini> I was wondering where to look next | ||
| [2008/09/09 18:01:22] <Volcane> environments=staging,production,development | ||
| [2008/09/09 18:01:26] <Volcane> environment=staging | ||
| [2008/09/09 18:01:28] <ezralini> pastie: yo | ||
| [2008/09/09 18:01:29] <Volcane> need both | ||
| [2008/09/09 18:01:32] <Volcane> on clients and master | ||
| [2008/09/09 18:01:38] <ezralini> Volcane: I have both | ||
| [2008/09/09 18:01:48] <ezralini> gepetto: pastie | ||
| [2008/09/09 18:02:21] <ezralini> http://pastie.org/269253 | ||
| [2008/09/09 18:02:50] <ezralini> Volcane: ^^ my pastie looks correct, I think | ||
| [2008/09/09 18:03:13] <Volcane> does, you might try put it in the [puppetd] section but i doubt that will change much, worth a shot though | ||
| [2008/09/09 18:03:33] <Volcane> ditto on the server | ||
| [2008/09/09 18:03:37] @ shake-n-bake_ joined channel #puppet | ||
| [2008/09/09 18:03:39] <Volcane> s/server/master | ||
| [2008/09/09 18:04:07] <ezralini> the puppetmaster is working fine, it's not even hitting the master | ||
| [2008/09/09 18:04:12] <ezralini> it = the client | ||
| [2008/09/09 18:04:22] <Volcane> ah | ||
| [2008/09/09 18:04:24] <ezralini> it fails before it gets to that point | ||
| [2008/09/09 18:04:39] <Volcane> try it in puppetd section | ||
| [2008/09/09 18:04:48] <ezralini> I did. No luck | ||
| [2008/09/09 18:04:54] <Volcane> and make 100% sure you haveno puppetd.conf only puppet.conf | ||
| [2008/09/09 18:06:14] <ezralini> I checked | ||
| [2008/09/09 18:06:15] <Volcane> what does "puppetd --genconfig|grep environments" show? | ||
| [2008/09/09 18:06:53] <pastie> http://pastie.org/269252 by ezralini. | ||
| [2008/09/09 18:07:02] <ezralini> it looks right to me | ||
| [2008/09/09 18:07:13] <Volcane> indeed# | ||
| [2008/09/09 18:08:16] <ezralini> arrgh | ||
| [2008/09/09 18:08:32] <ezralini> I think it was even working as expected an hour or two ago | ||
| [2008/09/09 18:09:16] @ Quit: muerr: "Leaving." | ||
| [2008/09/09 18:09:18] @ Quit: drmikecrowe: " HydraIRC -> http://www.hydrairc.com <- *I* use it, so it must be good!" | ||
| [2008/09/09 18:09:39] <Volcane> http://nephilim.ml.org/~rip/puppet.conf thats one that works 100% for me | ||
| [2008/09/09 18:10:09] <nigelk> argh. redmine just ate my bug report | ||
| [2008/09/09 18:10:33] <plathrop> nigelk: it was delicious | ||
| [2008/09/09 18:10:45] @ shenson is now known as shenson_not_here | ||
| [2008/09/09 18:10:56] <nigelk> I hear things taste lovely in the cloud | ||
| [2008/09/09 18:10:59] <holoway> plathrop: redmine as cookie monster | ||
| [2008/09/09 18:11:08] <holoway> nigelk: they have magic unicorns there! | ||
| [2008/09/09 18:12:21] <andrewcshafer> plathrop: That scoping stuff was what Luke was talking about in Portland. The class gets evaluated in the inherited scope so even though the variable gets set in the inheriting node, the classes are already evaluated. | ||
| [2008/09/09 18:13:04] <plathrop> andrewcshafer: I thought so. I've got a workaround for now, but someday we should try to fix that. | ||
| [2008/09/09 18:13:46] <andrewcshafer> I just got a puppet talk accepted at Ruby Conf | ||
| [2008/09/09 18:13:46] <plathrop> andrewcshafer: And by "we" I don't mean "you". I'll look at it. I know it is a non-trivial problem. | ||
| [2008/09/09 18:13:56] <plathrop> andrewcshafer: congrats! | ||
| [2008/09/09 18:14:00] <nigelk> woot! | ||
| [2008/09/09 18:14:12] <andrewcshafer> It's deep parser magic, at least for now | ||
| [2008/09/09 18:14:27] <nigelk> andrewcshafer: before I type up my bug report/feature request again.... | ||
| [2008/09/09 18:14:47] <nigelk> I was going to suggest the idea of allowing people to choose whether facts or resources or both are used with storeconfigs | ||
| [2008/09/09 18:14:58] <andrewcshafer> I've been playing with external nodes scripts, that solves it too, because then all classes get evaluated at once with the variables you want | ||
| [2008/09/09 18:15:03] <nigelk> ideas on the config file setting name for this? | ||
| [2008/09/09 18:15:08] @ lak joined channel #puppet | ||
| [2008/09/09 18:15:15] <andrewcshafer> ask that guy | ||
| [2008/09/09 18:15:19] <nigelk> it's lak the dad! | ||
| [2008/09/09 18:15:24] <nigelk> getting sleep lak? | ||
| [2008/09/09 18:15:28] <lak> indeed | ||
| [2008/09/09 18:15:38] <lak> just got a short nap, seems to be disagreeing with me | ||
| [2008/09/09 18:15:41] <andrewcshafer> lak: My puppet talk got accepted to Ruby Conf | ||
| [2008/09/09 18:15:46] <lak> home with both girls for the first time | ||
| [2008/09/09 18:15:49] <lak> andrewcshafer: coolness | ||
| [2008/09/09 18:17:26] <nigelk> I was actually going to hassle the core puppet devs for some photos to use in the talk I'm doing at Open Source Days next month | ||
| [2008/09/09 18:17:26] <gepetto> ::puppet:: Recipes/Growl Manifest Errors edited by ijcd @ http://reductivelabs.com/trac/puppet/wiki/Recipes/GrowlManifestErrors (by junk-puppettrac@ianduggan.net) | ||
| [2008/09/09 18:17:26] <nigelk> showing how friendly you all are :) | ||
| [2008/09/09 18:17:26] <ijcd> http://reductivelabs.com/trac/puppet/wiki/Recipes/GrowlManifestErrors | ||
| [2008/09/09 18:17:26] <lak> nigelk: hmmm, *friendly* photos? don't have many of those | ||
| [2008/09/09 18:17:29] <lak> you can search through http://flickr.com/photos/lkanies/, of course | ||
| [2008/09/09 18:17:34] <nigelk> so I wanted to stress how puppet really is an open source project... ie one that actually accepts patches .... | ||
| [2008/09/09 18:17:42] <andrewcshafer> get some with lak's one finger salute | ||
| [2008/09/09 18:17:54] <andrewcshafer> really hard to find | ||
| [2008/09/09 18:19:01] @ Quit: wakko666: Read error: 110 (Connection timed out) | ||
| [2008/09/09 18:19:59] <lak> nigelk: i've been using a snap of this: http://www.ohloh.net/projects/puppet/contributors | ||
| [2008/09/09 18:20:24] <nigelk> nice | ||
| [2008/09/09 18:20:33] <nigelk> shows the imbalance nicely :) | ||
| [2008/09/09 18:20:39] <lak> which at least gets you a quantitative look at how many people have contributed, along with some per-person numbers | ||
| [2008/09/09 18:22:19] <nigelk> so just before you joined... I asked this: | ||
| [2008/09/09 18:22:30] <nigelk> I was going to suggest the idea of allowing people to choose whether facts or resources or both are used with storeconfigs... ideas on the config file setting name for this? | ||
| [2008/09/09 18:22:53] <nigelk> as we're really only interested in gathering facts and hosts, and resources take > 95% of the storeconfigs time for us | ||
| [2008/09/09 18:23:19] <gepetto> ::puppet:: Recipes/Growl Manifest Errors edited by ijcd @ http://reductivelabs.com/trac/puppet/wiki/Recipes/GrowlManifestErrors (by junk-puppettrac@ianduggan.net) | ||
| [2008/09/09 18:23:19] <gepetto> ::puppet:: Recipes/Growl Manifest Errors edited by ijcd @ http://reductivelabs.com/trac/puppet/wiki/Recipes/GrowlManifestErrors (by junk-puppettrac@ianduggan.net) | ||
| [2008/09/09 18:24:00] <nigelk> I spent some time trying to optimize def ar_hash_merge(db_hash, mem_hash, args) with nothing really concrete to show for it | ||
| [2008/09/09 18:24:46] @ Quit: gebi: Read error: 110 (Connection timed out) | ||
| [2008/09/09 18:27:32] <lak> nigelk: you running with the rails optimizations posted by (i think) brice? | ||
| [2008/09/09 18:27:53] <lak> nigelk: and if you just want those, then just write new fact/node terminuses, skip storeconfigs entirely | ||
| [2008/09/09 18:27:54] @ gebi joined channel #puppet | ||
| [2008/09/09 18:28:07] <lak> drop something in indirector/facts, and use that | ||
| [2008/09/09 18:28:09] <nigelk> lak: I've applied his patches yes, they improved things a lot | ||
| [2008/09/09 18:28:22] <lak> right now that involves monkey-patching puppet, because there's no configuration option for it like there is for nodes | ||
| [2008/09/09 18:28:25] <lak> but that's easy to fix | ||
| [2008/09/09 18:28:50] <nigelk> well I'd quite like the host reporting too | ||
| [2008/09/09 18:29:28] <Volcane> would be nice if reports included facts and classes | ||
| [2008/09/09 18:30:16] <lak> nigelk: but that's not in storeconfigs now, right? | ||
| [2008/09/09 18:30:32] <nigelk> the host stuff? like last_compile time? | ||
| [2008/09/09 18:30:44] <nigelk> "reporting" was a misleading term | ||
| [2008/09/09 18:31:26] <Volcane> yes | ||
| [2008/09/09 18:31:44] <Volcane> rrdgraph,store etc | ||
| [2008/09/09 18:32:28] <Volcane> those are very easy to parse, put into DBs etc | ||
| [2008/09/09 18:32:50] <Volcane> or just load the yaml that store creates into some tool for viewing | ||
| [2008/09/09 18:33:02] <lak> ah, i see | ||
| [2008/09/09 18:33:35] <lak> that stuff's kinda shoehorned in, so i haven't really thought about how it really fits into the design | ||
| [2008/09/09 18:33:42] <lak> probably some modification of nodes? i dunno | ||
| [2008/09/09 18:34:24] @ Quit: flakrat: "Leaving" | ||
| [2008/09/09 18:34:55] * Volcane should go to sleep, lots of meetings in the morning to try and avoid flying to israel. hate. going. to. israel. | ||
| [2008/09/09 18:35:54] <huggie> Volcane: for work? | ||
| [2008/09/09 18:36:30] <Volcane> nods | ||
| [2008/09/09 18:38:05] <Volcane> went there quite a few times in 2000 which was nice and all, had plenty of time to go around jerusalem etc, but more recently its just sit-in-customs-hell, meeetings, sit-in-customs-hell | ||
| [2008/09/09 18:38:26] <Volcane> at least this time i am on a less frowned upon passport | ||
| [2008/09/09 18:39:36] <duritong> hmm but http://www.ohloh.net shows oly ohloh users? | ||
| [2008/09/09 18:39:55] <Volcane> http://www.ohloh.net/projects/puppet/contributors | ||
| [2008/09/09 18:39:58] <Volcane> oops | ||
| [2008/09/09 18:40:07] <Volcane> unplanned paste :) | ||
| [2008/09/09 18:40:31] <duritong> hehe | ||
| [2008/09/09 18:40:41] <duritong> the advantage if middle-click paste :P | ||
| [2008/09/09 18:41:03] <Volcane> I was trying to ^c and ^v'd instead :) | ||
| [2008/09/09 18:41:44] @ keithlard joined channel #puppet | ||
| [2008/09/09 18:45:37] @ ezralini left channel #puppet () | ||
| [2008/09/09 18:53:22] @ Quit: lak: | ||
| [2008/09/09 18:54:33] @ wakko666 joined channel #puppet | ||
| [2008/09/09 19:14:11] @ Quit: markl_: "Lost terminal" | ||
| [2008/09/09 19:24:06] @ Quit: shake-n-bake_: Read error: 110 (Connection timed out) | ||
| [2008/09/09 19:24:54] <jamesturnbull> tmz: wiki:DevelopmentLifecycle | ||
| [2008/09/09 19:26:23] <gepetto> jamesturnbull: tmz: wiki:DevelopmentLifecycle is http://reductivelabs.com/trac/puppet/wiki/DevelopmentLifecycle | ||
| [2008/09/09 19:26:23] <freiheit> LUG talk on Puppet tonight: http://nblug.org/node/128 (about an hour north of SF) | ||
| [2008/09/09 19:27:51] @ shake-n-bake_ joined channel #puppet | ||
| [2008/09/09 19:32:55] @ Quit: freiheit: | ||
| [2008/09/09 19:37:38] <andrewcshafer> freiheit: get your slides done | ||
| [2008/09/09 19:38:26] <andrewcshafer> Aren't all the O'Reilly people at TechCrunch 50 | ||
| [2008/09/09 19:38:42] <holoway> andrewcshafer: at least a few of them are | ||
| [2008/09/09 19:39:51] @ jon___ joined channel #puppet | ||
| [2008/09/09 19:46:47] @ Quit: nigelk: | ||
| [2008/09/09 19:47:15] @ Quit: ski98033: "Leaving." | ||
| [2008/09/09 19:49:51] @ Quit: jon_: "ttyl" | ||
| [2008/09/09 19:58:23] @ gh joined channel #puppet | ||
| [2008/09/09 19:58:51] @ gh is now known as Guest20574 | ||
| [2008/09/09 19:59:04] @ Guest20574 is now known as gh_ | ||
| [2008/09/09 20:13:06] @ Quit: keithlard: | ||
| [2008/09/09 20:13:06] @ randybias joined channel #puppet | ||
| [2008/09/09 20:15:41] @ keithlard joined channel #puppet | ||
| [2008/09/09 20:24:27] @ johnw joined channel #puppet | ||
| [2008/09/09 20:30:46] @ Quit: johnw: Read error: 54 (Connection reset by peer) | ||
| [2008/09/09 20:32:57] @ johnw joined channel #puppet | ||
| [2008/09/09 20:41:49] @ johnw_ joined channel #puppet | ||
| [2008/09/09 20:43:08] @ Uranellus joined channel #puppet | ||
| [2008/09/09 20:44:24] @ Quit: johnw: Read error: 60 (Operation timed out) | ||
| [2008/09/09 20:59:25] @ Quit: plathrop: "ERC Version 5.2 (IRC client for Emacs)" | ||
| [2008/09/09 21:01:41] @ Quit: jon___: "leaving" | ||
| [2008/09/09 21:02:01] @ jonj joined channel #puppet | ||
| [2008/09/09 21:07:06] @ gh_ left channel #puppet () | ||
| [2008/09/09 21:12:55] @ nigelk joined channel #puppet | ||
| [2008/09/09 21:16:33] @ Quit: keithlard: | ||
| [2008/09/09 21:17:42] @ Quit: jonj: "leaving" | ||
| [2008/09/09 21:25:26] @ jonj joined channel #puppet | ||
| [2008/09/09 21:25:53] @ dysinger joined channel #puppet | ||
| [2008/09/09 21:28:12] @ Quit: Uranellus: Read error: 113 (No route to host) | ||
| [2008/09/09 21:51:08] @ Quit: nigelk: | ||
| [2008/09/09 21:58:23] @ drmikecrowe joined channel #puppet | ||
| [2008/09/09 22:10:31] @ Quit: andrewcshafer: | ||
| [2008/09/09 22:12:25] @ andrewcshafer joined channel #puppet | ||
| [2008/09/09 22:18:45] @ orev joined channel #puppet | ||
| [2008/09/09 22:39:33] <silk> so I have tried to create a custom fact to be distributed via a module, and it has been retrieved (perhaps not into teh correct place) but I cannot reference it | ||
| [2008/09/09 22:40:03] <silk> it appears to be null. Im pretty sure I have mucked up the config, but I am unsure what it should look like | ||
| [2008/09/09 22:45:20] @ johnw joined channel #puppet | ||
| [2008/09/09 22:50:35] <silk> It appears to be not placing the custom facts into the the directory specified by the factpact directive in teh puppet.conf | ||
| [2008/09/09 22:58:43] @ Quit: mmcgrath: "leaving" | ||
| [2008/09/09 23:05:49] @ Quit: johnw_: Read error: 110 (Connection timed out) | ||
| [2008/09/09 23:06:44] @ Quit: andrewcshafer: | ||
| [2008/09/09 23:10:37] @ andrewcshafer joined channel #puppet | ||
| [2008/09/09 23:12:28] @ Quit: orev: "Leaving." | ||
| [2008/09/09 23:15:17] @ nigelk joined channel #puppet | ||
| [2008/09/09 23:21:20] @ Quit: almostautomated: "Be Positive! Thoughts => Words => Beliefs => Deeds => Habits => Character => Destiny" | ||
| [2008/09/09 23:21:39] @ lak joined channel #puppet | ||
| [2008/09/09 23:28:02] @ ski98033 joined channel #puppet | ||
| [2008/09/09 23:40:51] @ Shazburg joined channel #puppet | ||
| [2008/09/09 23:44:20] @ sazma joined channel #puppet | ||
| [2008/09/09 23:45:05] @ Quit: shake-n-bake_: | ||
| [2008/09/09 23:48:16] @ Quit: lak: | ||
| [2008/09/09 23:51:39] @ Quit: wakko666: Read error: 110 (Connection timed out) |
Generated by irclog2html.py 2.6 by Marius Gedminas - find it at mg.pov.lt!