| [2010/05/31 00:01:30] @ Log started by gepetto | ||
| [2010/05/31 00:01:30] @ Quit: jense: Ping timeout: 248 seconds | ||
| [2010/05/31 00:16:49] @ OpenMedia joined channel #puppet | ||
| [2010/05/31 00:21:09] <nawty> anyone have any ideas what I'm missing with this error : err: /File[/var/lib/puppet/lib]: Failed to retrieve current state of resource: Could not retrieve information from source(s) puppet://xxx/plugins | ||
| [2010/05/31 00:21:31] <_^Sarge^_> Disable plugins in your puppet.conf | ||
| [2010/05/31 00:22:17] @ Karan_ joined channel #puppet | ||
| [2010/05/31 00:25:44] @ Quit: Karan: Ping timeout: 276 seconds | ||
| [2010/05/31 00:25:45] @ Karan_ is now known as Karan | ||
| [2010/05/31 00:28:35] @ Quit: rodnet_: Read error: Connection reset by peer | ||
| [2010/05/31 00:28:36] @ rodnet joined channel #puppet | ||
| [2010/05/31 00:28:47] <nawty> that owrks. | ||
| [2010/05/31 00:28:49] <nawty> erk, works. | ||
| [2010/05/31 00:28:52] <nawty> Thanks _^Sarge^_ | ||
| [2010/05/31 00:39:30] @ paul1413 joined channel #puppet | ||
| [2010/05/31 00:40:09] @ Quit: paul1413: Client Quit | ||
| [2010/05/31 00:40:24] @ lak joined channel #puppet | ||
| [2010/05/31 00:42:19] @ Quit: lak: Client Quit | ||
| [2010/05/31 00:55:08] @ Quit: rcrowley: Quit: rcrowley | ||
| [2010/05/31 01:01:00] @ MarkN left channel #puppet () | ||
| [2010/05/31 01:07:21] <tuv> how do i add a new line at the end of content=>"text with a $variable"? ... $variable\n" ? | ||
| [2010/05/31 01:13:43] @ dennis joined channel #puppet | ||
| [2010/05/31 01:13:48] <blood> content => "text with a $variable \ | ||
| [2010/05/31 01:13:48] <blood> more text", | ||
| [2010/05/31 01:26:19] @ nexx joined channel #puppet | ||
| [2010/05/31 01:28:56] @ bug joined channel #puppet | ||
| [2010/05/31 01:29:39] @ allsystemsarego joined channel #puppet | ||
| [2010/05/31 01:31:35] <andypea> Is there any way to set ENVIRONMENT variables for processes started by puppetd? | ||
| [2010/05/31 01:32:10] <andypea> In particular I need to set http_proxy so that apt-get can install the mscorefonts package. | ||
| [2010/05/31 01:32:28] <andypea> I have tried setting it in /etc/environment, but this doesn't seem to work | ||
| [2010/05/31 01:32:52] <blood> what distro | ||
| [2010/05/31 01:33:08] <ohadlevy> andypea: you mean for execs?, there is an option for that, check the type reference | ||
| [2010/05/31 01:34:48] <andypea> ohadlevy: I could do it via an exec, but it would be better via a package{ 'ubuntu-restricted-extras': ensure => present} | ||
| [2010/05/31 01:35:49] <andypea> It's really a broken package in Ubunut, it uses wget to download from sourceforge rather than using apt (which already has the correct proxy setting) | ||
| [2010/05/31 01:35:58] <ohadlevy> andypea: you can setup apt proxy in its own file | ||
| [2010/05/31 01:36:11] <ohadlevy> in apt.conf | ||
| [2010/05/31 01:37:08] <andypea> ohadlevy: I already have a proxy setting in apt.conf, but this one annoying package doesn't seem to reference it. | ||
| [2010/05/31 01:38:06] <ohadlevy> andypea: is it run though apt? | ||
| [2010/05/31 01:39:35] <andypea> ohadlevy: Yes, but it has a a post-install script which uses wget to download the font files from sourceforge. The package itself downloads fine, but it then hangs on the post-install. | ||
| [2010/05/31 01:40:40] <andypea> ohadlevy: I'm veering towards not installing it on principle. Just have to work out how to blacklist it without breaking other thinks. | ||
| [2010/05/31 01:40:46] <ohadlevy> andypea: then in this case, you can try adjusting the startup script :( | ||
| [2010/05/31 01:42:44] @ lak joined channel #puppet | ||
| [2010/05/31 01:50:43] @ Quit: Djelibeybi: Quit: Leaving | ||
| [2010/05/31 01:50:55] <tuv> blood: except that, i don't have more text. i just want the file to have a newline at its end | ||
| [2010/05/31 01:51:55] @ Quit: bgupta: Quit: bgupta | ||
| [2010/05/31 01:52:19] <tuv> andypea: set .wgetrc to use an http_proxy | ||
| [2010/05/31 01:52:58] <tuv> andypea: it's not a broken package. this is the behavior fo the flash plugin installer package too. it has to do with licensing. the stuff it downloads cannot be redistrubuted via the debian servers | ||
| [2010/05/31 01:53:33] <tuv> andypea: you may want to set the http_proxy in /etc/wgetrc, actually | ||
| [2010/05/31 01:53:47] <andypea> tuv: I guess, but it seems like it should pick up the proxy from apt. | ||
| [2010/05/31 01:54:25] <tuv> andypea: if you feel it should, submit a bug report | ||
| [2010/05/31 01:54:37] <andypea> tuv: Thanks for the fix, it'll save me a lot of hacking. My users have already started complaining about the lack of flash. They're meant to be at work! :P | ||
| [2010/05/31 01:54:47] <tuv> andypea: run reportbug if you're on debian | ||
| [2010/05/31 01:56:08] <tuv> now, how do i insert a newline at the end of content=>"text{newline-here}" | ||
| [2010/05/31 01:57:01] <andypea> tuv: I'll give it a shot once I've got my system up and running. Bug or not, it makes a lot more sense to report it than whinge on IRC :P | ||
| [2010/05/31 01:57:55] <tuv> andypea: i'd try #debian also, in case it's actually supposed to pick http_proxy from apt | ||
| [2010/05/31 01:58:16] * tuv switches to debian | ||
| [2010/05/31 02:00:04] @ prometheanfire joined channel #puppet | ||
| [2010/05/31 02:00:06] @ Quit: fredden: Quit: Leaving | ||
| [2010/05/31 02:00:44] <prometheanfire> I'm trying to figure out why a file is not being updated | ||
| [2010/05/31 02:01:09] @ comprehensive joined channel #puppet | ||
| [2010/05/31 02:01:50] <andypea> Is anything mentioned in /var/log/syslog ? | ||
| [2010/05/31 02:01:51] <tuv> somehow, "newline" gets lost by google whenever "string" and "puppet" are in the same search query | ||
| [2010/05/31 02:02:00] <prometheanfire> http://dpaste.com/201313/ | ||
| [2010/05/31 02:02:05] @ Karan_ joined channel #puppet | ||
| [2010/05/31 02:02:08] <ohadlevy> tuv: content => "mycontent\n" | ||
| [2010/05/31 02:02:10] @ Quit: Karan: Read error: Connection reset by peer | ||
| [2010/05/31 02:02:17] @ Karan_ is now known as Karan | ||
| [2010/05/31 02:02:18] <tuv> ohadlevy: thank you! | ||
| [2010/05/31 02:02:37] <prometheanfire> May 31 01:48:05 puppet puppetmasterd[11994]: Could not parse for environment production: Syntax error at 'make.conf' at /etc/puppet/manifests/site.pp:10 | ||
| [2010/05/31 02:02:40] <prometheanfire> thanks | ||
| [2010/05/31 02:03:10] <blood> need to have quotes around those attributes | ||
| [2010/05/31 02:03:15] <blood> owner => "root" | ||
| [2010/05/31 02:03:16] <blood> etc | ||
| [2010/05/31 02:03:20] <prometheanfire> oh | ||
| [2010/05/31 02:03:33] <prometheanfire> thanks, ya, that log line was from an old attempt :D | ||
| [2010/05/31 02:03:42] @ comprehensive left channel #puppet () | ||
| [2010/05/31 02:04:20] @ Quit: andrew1: Quit: Leaving. | ||
| [2010/05/31 02:04:25] <prometheanfire> blood: you sure? other classes work fine without the quotes | ||
| [2010/05/31 02:04:51] <blood> and | ||
| [2010/05/31 02:04:54] <blood> your source is wrong | ||
| [2010/05/31 02:05:09] <prometheanfire> how? | ||
| [2010/05/31 02:05:10] <blood> you want the file to be grabbed from your fileserver correct? | ||
| [2010/05/31 02:05:19] <prometheanfire> yes | ||
| [2010/05/31 02:05:29] <blood> ok the source should be like this | ||
| [2010/05/31 02:05:43] <tuv> is there a way to test a module (at least for syntax errors) without applying it to a node? | ||
| [2010/05/31 02:06:07] <blood> source => puppet://fqdn/modulename/filename | ||
| [2010/05/31 02:06:11] <blood> so in your case it would be | ||
| [2010/05/31 02:06:30] <blood> source => puppet://foo.domain.local/files/make.conf | ||
| [2010/05/31 02:06:47] <blood> you see in fileserver.conf, [modulename] | ||
| [2010/05/31 02:06:48] <prometheanfire> ok, what I want is a central one for multiple fqdn's | ||
| [2010/05/31 02:06:52] <prometheanfire> I see what you mean | ||
| [2010/05/31 02:06:54] <blood> whatever you name between [] | ||
| [2010/05/31 02:06:56] <blood> is your modulename | ||
| [2010/05/31 02:07:01] <prometheanfire> ok | ||
| [2010/05/31 02:07:02] <blood> thats how it knows what path to check | ||
| [2010/05/31 02:07:16] <prometheanfire> and the fqdn? | ||
| [2010/05/31 02:07:21] * blkperl is amazed that blood has been on #puppet all day and night :) | ||
| [2010/05/31 02:07:24] <blood> your puppet master server | ||
| [2010/05/31 02:07:36] <blood> i'm currently reading a puppet book blkperl=) | ||
| [2010/05/31 02:07:59] <blood> so you can have multiple modules pointing to different paths | ||
| [2010/05/31 02:08:03] <prometheanfire> so, puppet.mthode.org in my case I guess | ||
| [2010/05/31 02:08:06] <prometheanfire> I think I get it | ||
| [2010/05/31 02:08:06] <blood> yes | ||
| [2010/05/31 02:08:33] <prometheanfire> ok, now I understand the heirarchy :D | ||
| [2010/05/31 02:08:57] <blood> and on the clientside, you can specify the module folder if you want so it grabs everything within it | ||
| [2010/05/31 02:09:13] <blood> you would use the metaparameter "recurse" | ||
| [2010/05/31 02:09:19] <prometheanfire> right, I saw that | ||
| [2010/05/31 02:09:39] <prometheanfire> does it use the perms that the file has on the puppet server unless overridden? | ||
| [2010/05/31 02:09:50] <blood> not sure, test=) | ||
| [2010/05/31 02:09:55] <andypea> prometheanfire: Also you are missing a comma on line 10 of site.pp | ||
| [2010/05/31 02:10:04] <blood> if it doesn't then just define a file resource but i would assume it does | ||
| [2010/05/31 02:10:24] <andypea> prometheanfire: Sorry, no you're not | ||
| [2010/05/31 02:10:32] <prometheanfire> andypea: ya, I was confused :p | ||
| [2010/05/31 02:10:38] <prometheanfire> it is working now though | ||
| [2010/05/31 02:10:39] <prometheanfire> thanks | ||
| [2010/05/31 02:10:48] <prometheanfire> now I can have a central make.conf | ||
| [2010/05/31 02:10:50] <prometheanfire> finally | ||
| [2010/05/31 02:11:18] <blood> =) | ||
| [2010/05/31 02:11:27] <blood> the docs actually had the source part wrong | ||
| [2010/05/31 02:11:43] <blood> i was messing with it last night which is how i remember hehe | ||
| [2010/05/31 02:11:47] <prometheanfire> lol, nice | ||
| [2010/05/31 02:12:14] <blood> i'm working on my classes now for various groups in our environment | ||
| [2010/05/31 02:13:05] <prometheanfire> :D | ||
| [2010/05/31 02:14:15] <prometheanfire> blood: what you admin? | ||
| [2010/05/31 02:14:19] <prometheanfire> I do voip | ||
| [2010/05/31 02:14:35] <blood> OSX/Windows | ||
| [2010/05/31 02:14:40] <prometheanfire> ouch | ||
| [2010/05/31 02:15:00] <blood> have about 8 years experience with windows admin and 4 years with OSX | ||
| [2010/05/31 02:15:20] <blood> currently configuring/testing puppet to be used in our environment | ||
| [2010/05/31 02:15:25] <prometheanfire> been using linux for 11ish years, admining for about 5ish | ||
| [2010/05/31 02:15:58] <prometheanfire> I'm running it on a test environ atm | ||
| [2010/05/31 02:16:00] <blood> yea i'm no linux guru but i can get around=) i'm better on windows but slowly improving on *nix platforms | ||
| [2010/05/31 02:16:05] <blood> same | ||
| [2010/05/31 02:16:16] <blood> i have a VM running my master and my macbook as my test node hehe | ||
| [2010/05/31 02:16:28] <blood> only 2 days using puppet lol=) | ||
| [2010/05/31 02:16:32] <blood> so far its great | ||
| [2010/05/31 02:16:34] <prometheanfire> same :D | ||
| [2010/05/31 02:16:38] <prometheanfire> I think so too | ||
| [2010/05/31 02:16:58] <blood> just redoing my manifest with classes now | ||
| [2010/05/31 02:17:02] <prometheanfire> watching torchwood :D | ||
| [2010/05/31 02:17:31] <prometheanfire> ya, classes are nice | ||
| [2010/05/31 02:21:51] @ Quit: fbe__: Ping timeout: 265 seconds | ||
| [2010/05/31 02:27:09] @ shug joined channel #puppet | ||
| [2010/05/31 02:29:50] <andypea> Can i make a class 'require' another class? | ||
| [2010/05/31 02:30:45] @ Quit: alban2: Quit: Leaving. | ||
| [2010/05/31 02:31:32] @ Quit: OpenMedia: Quit: Leaving. | ||
| [2010/05/31 02:32:34] <jamesturnbull> andypea: yes | ||
| [2010/05/31 02:32:43] <jamesturnbull> andypea: in 0.25.x and later you can require classname | ||
| [2010/05/31 02:32:50] <jamesturnbull> andypea: much like you include classname | ||
| [2010/05/31 02:33:00] <andypea> Cool :D | ||
| [2010/05/31 02:33:51] <LinuxCode> morning jamesturnbull ;-] | ||
| [2010/05/31 02:35:31] <jamesturnbull> LinuxCode: afternoon | ||
| [2010/05/31 02:35:44] <LinuxCode> how you keeping ? | ||
| [2010/05/31 02:36:07] @ pmorillo joined channel #puppet | ||
| [2010/05/31 02:36:13] <nico> hum | ||
| [2010/05/31 02:36:27] <nico> got to investigate that puppet-module thing | ||
| [2010/05/31 02:37:51] <blood> who can fix the puppet docs on puppetlabs? | ||
| [2010/05/31 02:38:00] <blood> make a change i mean | ||
| [2010/05/31 02:41:15] <jamesturnbull> blood: anyone technically - checkout out the repo and edit | ||
| [2010/05/31 02:41:24] @ Quit: rodnet: Quit: rodnet | ||
| [2010/05/31 02:41:35] <jamesturnbull> blood: log a ticket with a patch or a branch to be pulled | ||
| [2010/05/31 02:42:09] <jamesturnbull> blood: http://github.com/reductivelabs/puppet-docs | ||
| [2010/05/31 02:43:01] <blood> k | ||
| [2010/05/31 02:43:35] <blood> question, i just started using tags to categorize my nodes. How do i only push out configs for nodes that are tagged? | ||
| [2010/05/31 02:44:02] <jamesturnbull> blood: see the wiki:Function_Reference for the tag and tagged functions | ||
| [2010/05/31 02:44:41] <jamesturnbull> blood: http://docs.reductivelabs.com/references/stable/function.html | ||
| [2010/05/31 02:45:38] <jamesturnbull> blood: also wiki:Using_Tags | ||
| [2010/05/31 02:45:39] <gepetto> jamesturnbull: blood: wiki:Using_Tags is http://projects.puppetlabs.com/projects/puppet/wiki/Using_Tags "Puppet - Using Tags - PuppetLabs.com" | ||
| [2010/05/31 02:46:18] <blood> thats what i was looking for | ||
| [2010/05/31 02:46:19] <blood> thanks | ||
| [2010/05/31 02:48:06] <blood> perfect i understand it now=) | ||
| [2010/05/31 02:48:23] <blood> once you tag a node, it will *only* pull configs from objects with the same tag | ||
| [2010/05/31 02:48:24] <blood> pretty neat | ||
| [2010/05/31 02:49:47] @ herdingcat joined channel #puppet | ||
| [2010/05/31 02:49:57] <blood> question | ||
| [2010/05/31 02:50:01] <blood> i have 2 classes | ||
| [2010/05/31 02:50:09] <blood> 1 base class, and another class which inherits the base | ||
| [2010/05/31 02:50:17] @ Quit: herdingcat: Max SendQ exceeded | ||
| [2010/05/31 02:50:27] <blood> if i have a tag in my base class, with the class that inherits the base class pull it's tag as well? | ||
| [2010/05/31 02:50:36] @ Quit: lak: Quit: lak | ||
| [2010/05/31 02:50:50] @ herdingcat joined channel #puppet | ||
| [2010/05/31 02:52:13] <blood> class fooA { tag("tagA") } class fooB inherits fooA { tag("tagB") } | ||
| [2010/05/31 02:52:31] @ Quit: herdingcat: Remote host closed the connection | ||
| [2010/05/31 02:52:41] @ showy joined channel #puppet | ||
| [2010/05/31 02:52:56] <blood> i then set node to tagA, will it get config from fooB? | ||
| [2010/05/31 02:53:18] <jamesturnbull> blood: tags are inherited from memory | ||
| [2010/05/31 02:55:36] @ kenneho joined channel #puppet | ||
| [2010/05/31 02:58:15] @ sdog joined channel #puppet | ||
| [2010/05/31 02:59:45] @ Quit: sdog: Changing host | ||
| [2010/05/31 02:59:45] @ sdog joined channel #puppet | ||
| [2010/05/31 03:02:56] @ Quit: pinoyskull: Ping timeout: 265 seconds | ||
| [2010/05/31 03:03:26] @ giskard joined channel #puppet | ||
| [2010/05/31 03:14:26] @ dennis left channel #puppet ("Gone") | ||
| [2010/05/31 03:14:44] <prometheanfire> can classes have a dot in them? | ||
| [2010/05/31 03:14:57] <prometheanfire> class 'make.conf' { | ||
| [2010/05/31 03:14:59] <prometheanfire> etc, etc | ||
| [2010/05/31 03:15:05] @ Ramonster joined channel #puppet | ||
| [2010/05/31 03:16:49] <andypea> Does anyone else get 100% usage by apt-get when installing packages via puppet? | ||
| [2010/05/31 03:17:16] @ Quit: rhyno: Ping timeout: 240 seconds | ||
| [2010/05/31 03:19:08] <showy> nop | ||
| [2010/05/31 03:19:26] <bob2> it is a vm with tiny amounts of ram? | ||
| [2010/05/31 03:21:03] <showy> bob2: whats your problem ? | ||
| [2010/05/31 03:23:12] <prometheanfire> yes, no? | ||
| [2010/05/31 03:24:04] <showy> prometheanfire: no | ||
| [2010/05/31 03:24:19] <showy> use _ | ||
| [2010/05/31 03:24:37] <bob2> what? | ||
| [2010/05/31 03:25:01] <showy> sry that was with andy | ||
| [2010/05/31 03:25:12] <showy> im sleep already :( | ||
| [2010/05/31 03:26:55] @ verwilst joined channel #puppet | ||
| [2010/05/31 03:29:30] @ rhyno joined channel #puppet | ||
| [2010/05/31 03:31:16] @ pinoyskull joined channel #puppet | ||
| [2010/05/31 03:31:37] <prometheanfire> showy: kk, thanks | ||
| [2010/05/31 03:31:39] @ Quit: achester: Remote host closed the connection | ||
| [2010/05/31 03:33:32] @ bearnard_ joined channel #puppet | ||
| [2010/05/31 03:35:20] @ gebi joined channel #puppet | ||
| [2010/05/31 03:37:30] @ ckauhaus joined channel #puppet | ||
| [2010/05/31 03:38:06] @ jab_doa joined channel #puppet | ||
| [2010/05/31 03:38:40] <prometheanfire> ok, now puppet wants me to sign for mail.l.google.com | ||
| [2010/05/31 03:38:54] <prometheanfire> where does it generate the hostname for signing? | ||
| [2010/05/31 03:42:26] <blood> puppetca --list | ||
| [2010/05/31 03:42:31] <blood> puppetca --sign host | ||
| [2010/05/31 03:42:49] <blood> i'm trying to get tags working | ||
| [2010/05/31 03:43:05] <blood> my node puppet.conf has tags=labs-science | ||
| [2010/05/31 03:43:13] <blood> labs-science is the name of my class in site.pp | ||
| [2010/05/31 03:43:16] <blood> yet i don't get the package | ||
| [2010/05/31 03:45:00] <showy> blood: whats debug telling you ? no classes for hosts x ? | ||
| [2010/05/31 03:45:13] <blood> nope no errors | ||
| [2010/05/31 03:45:18] <blood> says Applying config | ||
| [2010/05/31 03:46:31] @ themroc joined channel #puppet | ||
| [2010/05/31 03:49:48] <showy> let me see the relevant config | ||
| [2010/05/31 03:50:57] <blood> ok sec | ||
| [2010/05/31 03:51:00] <blood> let me pastebin it | ||
| [2010/05/31 03:54:44] <blood> http://pastebin.com/eiX3iGKK | ||
| [2010/05/31 03:56:12] <blood> the source attribute i have in 2nd class is redundant i know | ||
| [2010/05/31 03:56:18] <blood> just forgot to take it out=) | ||
| [2010/05/31 03:58:07] @ blahdeblah joined channel #puppet | ||
| [2010/05/31 03:58:46] <showy> and the node definition ? | ||
| [2010/05/31 03:58:49] @ fbe__ joined channel #puppet | ||
| [2010/05/31 04:00:01] <blood> in node puppet.conf i have [puppetd] tags=labs-science | ||
| [2010/05/31 04:00:35] <showy> i meat the puppetmaster | ||
| [2010/05/31 04:01:30] <showy> s/meat/meant/ | ||
| [2010/05/31 04:02:07] <blood> um | ||
| [2010/05/31 04:02:10] <blood> sec | ||
| [2010/05/31 04:03:39] <blood> http://pastebin.com/J2Px4ukd | ||
| [2010/05/31 04:04:55] <showy> yeah yeah but i meant | ||
| [2010/05/31 04:05:19] <showy> node /node-name/ { include class lab-science } , | ||
| [2010/05/31 04:06:04] @ Quit: gebi: Ping timeout: 240 seconds | ||
| [2010/05/31 04:06:29] @ Welsh_Dwarf joined channel #puppet | ||
| [2010/05/31 04:06:59] <blood> i dont have any of that | ||
| [2010/05/31 04:07:21] <blood> there is no way to have node automatically include a class based on tag? | ||
| [2010/05/31 04:07:30] <blood> i dont want to specify the name of each individual node | ||
| [2010/05/31 04:07:42] <showy> you can create a node default | ||
| [2010/05/31 04:07:50] <blood> ah ok how do i go about doing that | ||
| [2010/05/31 04:08:06] <prometheanfire> where does puppet get the host name from when it tries to register with the master? | ||
| [2010/05/31 04:08:17] <showy> or you can create resources outside the class, and apply them the tag = lab-science | ||
| [2010/05/31 04:08:18] <blood> either from --server | ||
| [2010/05/31 04:08:21] <twisla> morning | ||
| [2010/05/31 04:08:25] <blood> or from server attribute in your puppet.conf | ||
| [2010/05/31 04:08:27] <showy> i recommend you create a default node | ||
| [2010/05/31 04:08:34] @ erlingre joined channel #puppet | ||
| [2010/05/31 04:08:49] <blood> ok well i want to have seperate groups | ||
| [2010/05/31 04:08:52] <blood> lets say 5 groups of nodes | ||
| [2010/05/31 04:09:01] <blood> each group gets assigned certain classes based on tags | ||
| [2010/05/31 04:09:30] <showy> well i recommend use nodes | ||
| [2010/05/31 04:09:32] @ Quit: rhyno: Ping timeout: 240 seconds | ||
| [2010/05/31 04:10:47] <showy> if you have node names that can be grouped, if not , you still can create the node default , and keep the clasificaciont based on tags | ||
| [2010/05/31 04:11:11] <blood> so i dont use tags then? | ||
| [2010/05/31 04:11:18] <blood> ah | ||
| [2010/05/31 04:11:24] @ maxagaz joined channel #puppet | ||
| [2010/05/31 04:11:26] <blood> gotcha | ||
| [2010/05/31 04:11:29] @ spawnyd joined channel #puppet | ||
| [2010/05/31 04:11:38] <blood> so if the node default has include classA , classB | ||
| [2010/05/31 04:11:47] <blood> but the client connecting only has tags for classA | ||
| [2010/05/31 04:11:52] <blood> it wont get classB right? | ||
| [2010/05/31 04:11:56] <showy> yes | ||
| [2010/05/31 04:12:06] <blood> ok what do i specify on the client side? anything? | ||
| [2010/05/31 04:12:10] <blood> or can i simply just specify the tags | ||
| [2010/05/31 04:12:23] <showy> you can use just the tag | ||
| [2010/05/31 04:12:30] @ Quit: maxagaz: Max SendQ exceeded | ||
| [2010/05/31 04:12:44] <blood> great let me test now | ||
| [2010/05/31 04:13:23] @ maxagaz joined channel #puppet | ||
| [2010/05/31 04:14:52] @ Quit: maxagaz: Max SendQ exceeded | ||
| [2010/05/31 04:15:34] @ thegcat joined channel #puppet | ||
| [2010/05/31 04:15:44] <blood> ok this time the logs showed it checking the packages in class labs | ||
| [2010/05/31 04:15:47] <blood> but not in labs-science | ||
| [2010/05/31 04:15:59] @ maxagaz joined channel #puppet | ||
| [2010/05/31 04:16:01] <blood> the logs for class labs showed not tagged for labs-science which is right | ||
| [2010/05/31 04:17:26] <showy> so the node was getting the packages from labs but no labs-science ? | ||
| [2010/05/31 04:18:35] @ DavidS joined channel #puppet | ||
| [2010/05/31 04:18:55] @ Quit: DavidS: Client Quit | ||
| [2010/05/31 04:18:56] @ rhyno joined channel #puppet | ||
| [2010/05/31 04:19:35] <blood> well it tried to grab from labs | ||
| [2010/05/31 04:19:38] <blood> but tags didnt match | ||
| [2010/05/31 04:19:44] <blood> but there were no lags from labs-science | ||
| [2010/05/31 04:22:42] <blood> ah i think i know | ||
| [2010/05/31 04:22:43] @ Quit: Karan: Read error: Connection reset by peer | ||
| [2010/05/31 04:22:51] <blood> i need to delete the file generated when i installed it earlier | ||
| [2010/05/31 04:24:17] @ Quit: nevyn: Ping timeout: 276 seconds | ||
| [2010/05/31 04:25:33] @ lorena-nita joined channel #puppet | ||
| [2010/05/31 04:25:37] <blood> yea that was the issue | ||
| [2010/05/31 04:25:38] @ nevyn joined channel #puppet | ||
| [2010/05/31 04:25:53] <blood> now to get $name working | ||
| [2010/05/31 04:26:55] <showy> name ? | ||
| [2010/05/31 04:29:39] <blood> doesn't seem to work the way im using it | ||
| [2010/05/31 04:29:49] <blood> i think i need to do Package { $name : | ||
| [2010/05/31 04:29:52] @ Quit: nevyn: Ping timeout: 240 seconds | ||
| [2010/05/31 04:30:07] <prometheanfire> May 31 04:28:38 test puppetd[13496]: Could not retrieve catalog from remote server: undefined method `closed?' for nil:NilClass | ||
| [2010/05/31 04:30:30] <showy> what you are trying blood ? | ||
| [2010/05/31 04:30:54] <blood> trying to automatically fill a variable | ||
| [2010/05/31 04:31:10] <blood> so if i use package { nameofpkg : | ||
| [2010/05/31 04:31:17] <blood> nameofpkg will fill the $name var | ||
| [2010/05/31 04:31:23] <blood> possible? | ||
| [2010/05/31 04:31:33] <prometheanfire> how do I fix that? | ||
| [2010/05/31 04:31:58] <showy> nameofpkg ? will fill name ? | ||
| [2010/05/31 04:32:02] <\\localhost> create a define | ||
| [2010/05/31 04:32:03] <showy> nain | ||
| [2010/05/31 04:32:08] <blood> for example | ||
| [2010/05/31 04:32:13] <blood> if i have 2 packages | ||
| [2010/05/31 04:32:21] <blood> i want the source => | ||
| [2010/05/31 04:32:25] <blood> to use a variable | ||
| [2010/05/31 04:32:34] <blood> the variable is autofilled by whatever name the resource is | ||
| [2010/05/31 04:32:36] <\\localhost> so you crearte a define, and then you call it with an array , it will iterate automaggicaly | ||
| [2010/05/31 04:33:01] <blood> ah true | ||
| [2010/05/31 04:33:05] <blood> i'll do that | ||
| [2010/05/31 04:33:07] <blood> thanks | ||
| [2010/05/31 04:33:10] <prometheanfire> is there a reason I cannot retrieve a catalog? | ||
| [2010/05/31 04:33:11] <\\localhost> yw | ||
| [2010/05/31 04:33:57] <prometheanfire> did I run into a bug in puppet? | ||
| [2010/05/31 04:34:48] <blood> localhost | ||
| [2010/05/31 04:34:55] <blood> what would be the syntax for that | ||
| [2010/05/31 04:35:01] <blood> define name ... | ||
| [2010/05/31 04:35:46] <blood> so if i have an array of 5 package names for 1 group of nodes, i want to use package { $name : , then it will iterate through each one | ||
| [2010/05/31 04:35:54] @ alban2 joined channel #puppet | ||
| [2010/05/31 04:36:33] <jamesturnbull> prometheanfire: what puppet version? | ||
| [2010/05/31 04:36:48] <prometheanfire> 0.25.4-r1 | ||
| [2010/05/31 04:36:58] <blood> ah i think i found a good reference=) | ||
| [2010/05/31 04:36:58] <\\localhost> define package_handler { package $name : ensure => installed } } | ||
| [2010/05/31 04:37:03] @ nevyn joined channel #puppet | ||
| [2010/05/31 04:37:03] <\\localhost> for ex | ||
| [2010/05/31 04:37:30] <blood> ah | ||
| [2010/05/31 04:37:37] <blood> so instead of using "Package" | ||
| [2010/05/31 04:37:40] <blood> i should use a define | ||
| [2010/05/31 04:37:45] <jamesturnbull> prometheanfire: see #3101 | ||
| [2010/05/31 04:37:46] <gepetto> jamesturnbull: prometheanfire: #3101 is http://projects.puppetlabs.com/issues/show/3101 "Puppet - Bug #3101: Unhelpful message "undefined method `closed?' for nil:NilClass" when DNS misconfigured - PuppetLabs.com" | ||
| [2010/05/31 04:37:46] <blood> i think thats what im doing wrong | ||
| [2010/05/31 04:37:53] <blood> let me test | ||
| [2010/05/31 04:39:17] <prometheanfire> I like the name of the bot btw | ||
| [2010/05/31 04:39:50] <prometheanfire> ok, so the bug is in ssl? | ||
| [2010/05/31 04:49:11] @ Quit: benoit__: Ping timeout: 260 seconds | ||
| [2010/05/31 04:55:25] @ benoit__ joined channel #puppet | ||
| [2010/05/31 05:00:21] <blood> w00t | ||
| [2010/05/31 05:00:24] <blood> finally got it all working | ||
| [2010/05/31 05:00:27] <blood> thanks again localhost | ||
| [2010/05/31 05:00:29] <blood> bed time | ||
| [2010/05/31 05:02:11] <\\localhost> yw blood | ||
| [2010/05/31 05:04:06] <twisla> texample42.org | ||
| [2010/05/31 05:04:17] @ Quit: mellen: Ping timeout: 252 seconds | ||
| [2010/05/31 05:05:35] @ Quit: ohadlevy: Quit: ZNC - http://znc.sourceforge.net | ||
| [2010/05/31 05:06:15] * nico shared his first module | ||
| [2010/05/31 05:06:18] <nico> easy to do ! | ||
| [2010/05/31 05:06:32] <\\localhost> module for what ? | ||
| [2010/05/31 05:06:38] <nico> heartbeat | ||
| [2010/05/31 05:06:44] <\\localhost> nice | ||
| [2010/05/31 05:06:46] <nico> started with a simple one | ||
| [2010/05/31 05:07:12] <nico> and many modules here extract data from an internal DB | ||
| [2010/05/31 05:07:26] <nico> so cannot share as much as I'd want | ||
| [2010/05/31 05:07:54] <\\localhost> i see, but it's nice anyway | ||
| [2010/05/31 05:09:52] <nico> time to crawl through exported data database to generate visage profiles & graph collectd data easily | ||
| [2010/05/31 05:09:55] * nico & | ||
| [2010/05/31 05:14:16] @ mellen joined channel #puppet | ||
| [2010/05/31 05:21:55] <\\localhost> erf | ||
| [2010/05/31 05:23:05] <jamesturnbull> prometheanfire: in ruyb 1.8.7 | ||
| [2010/05/31 05:23:57] <sdog> nico: sadly it's heartbeat v1 style config which is depricated :( | ||
| [2010/05/31 05:24:19] <nico> sdog: it's not XML-like shit | ||
| [2010/05/31 05:24:46] <sdog> nico: you might have noticed that v3: doesn't require you to use XML anymore ... | ||
| [2010/05/31 05:25:18] <nico> sdog: did not notice, but I'll update my module when I'll update my infrastructure :) | ||
| [2010/05/31 05:25:47] <nico> thanks for the information btw | ||
| [2010/05/31 05:27:00] @ Quit: ckauhaus: Quit: Leaving. | ||
| [2010/05/31 05:28:04] @ ckauhaus joined channel #puppet | ||
| [2010/05/31 05:28:09] <sdog> nico: i've been using jtimberman's heartbeat v1 stuff for a while ... nico: I`ll hopefully get around to updating my puppet ha stup to v3 this summer :) | ||
| [2010/05/31 05:30:30] <nico> sdog: I follow debian versions | ||
| [2010/05/31 05:30:43] <nico> and squeeze ships with 3.x | ||
| [2010/05/31 05:31:00] <nico> so... when it's ready :) | ||
| [2010/05/31 05:31:22] <sdog> nico most of my ha stuff runs on CentOS ... | ||
| [2010/05/31 05:31:41] <sdog> but I know zipkid already did some work he's going to share soon :) | ||
| [2010/05/31 05:31:41] <nico> ships 3.x on the latest version ? | ||
| [2010/05/31 05:56:44] @ Quit: bearnard_: Quit: bearnard_ | ||
| [2010/05/31 06:00:59] @ Quit: \ask: Remote host closed the connection | ||
| [2010/05/31 06:03:26] @ Quit: ckauhaus: Read error: Connection reset by peer | ||
| [2010/05/31 06:05:31] @ ckauhaus joined channel #puppet | ||
| [2010/05/31 06:16:03] <erlingre> I have just tried to use puppet dashboard, but I'm unable to sucessfull add a class to my single test node, I edit the node and enter the name of my class in the classes box and press "Save Changes" but when I return to the node view I cannot see any classes listed under "Classes" | ||
| [2010/05/31 06:16:17] @ Quit: andypea: Remote host closed the connection | ||
| [2010/05/31 06:23:48] @ bearnard joined channel #puppet | ||
| [2010/05/31 06:27:58] <jamesturnbull> erlingre: are you seeing an error in the production.log file in the log directory? | ||
| [2010/05/31 06:30:47] @ aaronky_ joined channel #puppet | ||
| [2010/05/31 06:31:45] <tim|mac> jamesturnbull: we missed you in Ghent. | ||
| [2010/05/31 06:32:40] @ giskard_ joined channel #puppet | ||
| [2010/05/31 06:33:08] @ Quit: alexine_dsouza: Read error: Connection reset by peer | ||
| [2010/05/31 06:33:08] @ Quit: aaronky: Read error: Connection reset by peer | ||
| [2010/05/31 06:33:08] @ Quit: giskard: Ping timeout: 264 seconds | ||
| [2010/05/31 06:33:25] @ alexine_dsouza joined channel #puppet | ||
| [2010/05/31 06:33:28] @ Quit: blahdeblah: Ping timeout: 272 seconds | ||
| [2010/05/31 06:35:20] <jamesturnbull> tim|mac: I missed Ghent too - one of my favourite towns | ||
| [2010/05/31 06:35:22] <erlingre> jamesturnbull, nope, and I have onlye defined a development database so I don't have a production.log | ||
| [2010/05/31 06:35:34] <jamesturnbull> tim|mac: you guys I am not sure about missing but the beer and chips for sure :) | ||
| [2010/05/31 06:35:39] <jamesturnbull> erlingre: then development.log | ||
| [2010/05/31 06:35:51] <tim|mac> jamesturnbull: especially because the beer was free.... :D | ||
| [2010/05/31 06:37:06] <jamesturnbull> tim|mac: oh now you've torn it - an australian deprived of free beer - I will be lodging a diplomatic protest | ||
| [2010/05/31 06:38:14] @ Quit: fbe__: Ping timeout: 260 seconds | ||
| [2010/05/31 06:40:59] <sdog> tim|mac: dno't mention the free icecream :) | ||
| [2010/05/31 06:41:43] @ Quit: pinoyskull: Remote host closed the connection | ||
| [2010/05/31 06:43:58] <sdog> tim|mac: wondering if lak made it trough customs with al the bottles we gave him :) | ||
| [2010/05/31 06:45:47] <erlingre> jamesturnbull, I cannot see anything that clearly looks like an error. I see several "Processing NodeClassesController#index" entries where the "tag" contains various substrings of my class name | ||
| [2010/05/31 06:47:09] <erlingre> by the way, adding a parameter works and it shows up in the webui afterwards | ||
| [2010/05/31 06:49:33] @ pinoyskull joined channel #puppet | ||
| [2010/05/31 06:50:14] <tim|mac> sdog: lol indeed that! you gave him all the bottles that were left? ;-) | ||
| [2010/05/31 06:50:35] <sdog> tim|mac: kinda :) the last 2 at least :) | ||
| [2010/05/31 06:50:47] <tim|mac> oh that's not that much | ||
| [2010/05/31 06:50:53] <tim|mac> even though the bottles were kinda large | ||
| [2010/05/31 06:51:10] <tim|mac> haven't started mine yet... had enough thursday to last me a few weeks, i guess | ||
| [2010/05/31 06:51:36] <|Mike|> An intoxicated boss is quite phun to see tho ;) | ||
| [2010/05/31 06:51:53] <sdog> tim|mac: ah so you were one of the ones still awaka at 0400 on friday morning ? :) | ||
| [2010/05/31 06:52:06] <jamesturnbull> erlingre: that could be a bug then - can oyu log a ticket? | ||
| [2010/05/31 06:53:18] <jamesturnbull> erlingre: hmmm let me try to replicate your issue | ||
| [2010/05/31 06:54:38] <erlingre> jamesturnbull, I won't be surprised if it is a mistake by me as I have just started playing with dashboard and more advanced use of puppet. | ||
| [2010/05/31 06:55:44] <_^Sarge^_> Blasted ruby 1.8.7 multithreading bug | ||
| [2010/05/31 06:55:56] <_^Sarge^_> Now I'll just have to make sure every vm has 2 cpus! | ||
| [2010/05/31 07:03:22] @ Quit: robinbowes: Ping timeout: 248 seconds | ||
| [2010/05/31 07:04:30] @ Quit: ckauhaus: Ping timeout: 276 seconds | ||
| [2010/05/31 07:07:06] <jamesturnbull> erlingre: can't replicate it I am afraid | ||
| [2010/05/31 07:10:11] @ robinbowes joined channel #puppet | ||
| [2010/05/31 07:11:37] <erlingre> jamesturnbull, ok, thanks for trying anyway. I think I will just scrap my current setup and try again | ||
| [2010/05/31 07:12:43] @ kolla joined channel #puppet | ||
| [2010/05/31 07:12:44] @ ckauhaus joined channel #puppet | ||
| [2010/05/31 07:24:22] <tim|mac> sdog: nah, i was back at 1am ;-) | ||
| [2010/05/31 07:27:15] @ Quit: jens_: Quit: Verlassend | ||
| [2010/05/31 07:30:01] @ ohadlevy joined channel #puppet | ||
| [2010/05/31 07:32:35] @ stefan_ joined channel #puppet | ||
| [2010/05/31 07:48:04] @ nahamu joined channel #puppet | ||
| [2010/05/31 07:54:19] @ Quit: alexine_dsouza: Read error: Connection reset by peer | ||
| [2010/05/31 07:56:00] @ elementai joined channel #puppet | ||
| [2010/05/31 07:56:58] @ TREllis joined channel #puppet | ||
| [2010/05/31 07:58:42] @ ahasenack joined channel #puppet | ||
| [2010/05/31 08:04:57] @ Quit: pmorillo: Read error: Connection reset by peer | ||
| [2010/05/31 08:06:04] @ pmorillo joined channel #puppet | ||
| [2010/05/31 08:06:32] @ Quit: ohadlevy: Ping timeout: 240 seconds | ||
| [2010/05/31 08:08:22] @ [GuS] joined channel #puppet | ||
| [2010/05/31 08:12:36] @ cliff-hm joined channel #puppet | ||
| [2010/05/31 08:13:03] @ ohadlevy joined channel #puppet | ||
| [2010/05/31 08:13:11] @ Quit: LinuxCode: Quit: Connection Closed | ||
| [2010/05/31 08:13:15] @ ohadlevy is now known as Guest67240 | ||
| [2010/05/31 08:15:23] @ Quit: Guest67240: Client Quit | ||
| [2010/05/31 08:17:53] @ Quit: QMan: Ping timeout: 252 seconds | ||
| [2010/05/31 08:19:53] @ Quit: pinoyskull: Quit: Leaving | ||
| [2010/05/31 08:19:57] <gepetto> ::redmine:: Wiki edit: Pattern_Requests (#5) @ http://projects.reductivelabs.com/projects/1/wiki/Pattern_Requests?version=5 (by Stella Aparicio) | ||
| [2010/05/31 08:22:30] <tim|mac> that's a spam edit, by the looks of it | ||
| [2010/05/31 08:24:08] <jamesturnbull> tim|mac: fixed already | ||
| [2010/05/31 08:24:17] <tim|mac> ah ok, i was just looking at it | ||
| [2010/05/31 08:24:35] <tim|mac> i wasn't sure i had edit permissions | ||
| [2010/05/31 08:24:44] <jamesturnbull> tim|mac: yeah you should | ||
| [2010/05/31 08:24:53] <tim|mac> yeah, just noticed :) | ||
| [2010/05/31 08:27:15] <gepetto> ::redmine:: Wiki edit: Pattern_Requests (#6) @ http://projects.reductivelabs.com/projects/1/wiki/Pattern_Requests?version=6 (by James Turnbull) | ||
| [2010/05/31 08:28:10] @ Quit: erlingre: Ping timeout: 248 seconds | ||
| [2010/05/31 08:30:41] @ ohad joined channel #puppet | ||
| [2010/05/31 08:32:06] @ Quit: kolla: Remote host closed the connection | ||
| [2010/05/31 08:32:49] @ jab_doa_ joined channel #puppet | ||
| [2010/05/31 08:42:05] <tim|mac> does anyone have an example of the default puppetdoc stuff for a defined type? | ||
| [2010/05/31 08:42:12] <tim|mac> i can only find examples for classes... | ||
| [2010/05/31 08:42:39] <jamesturnbull> tim|mac: hmmm aI think masterzen does | ||
| [2010/05/31 08:43:04] <ohad> tim|mac: i think davidss modules | ||
| [2010/05/31 08:43:24] <masterzen> tim|mac: you mean a custom type or a definition? | ||
| [2010/05/31 08:44:00] <tim|mac> define bla ($stuff, $otherstuff = "default") { # do stuff } | ||
| [2010/05/31 08:44:08] <ohad> tim|mac: basically for a define everything you put above the define statement | ||
| [2010/05/31 08:44:50] <tim|mac> ohad: yeah, but for class there's like a template... is there one for a defined type/definition/however you call it | ||
| [2010/05/31 08:58:14] @ elementai is now known as foo_ | ||
| [2010/05/31 08:58:28] @ foo_ is now known as elementai | ||
| [2010/05/31 08:58:31] @ elementai is now known as elementai_ | ||
| [2010/05/31 09:08:26] @ giskard joined channel #puppet | ||
| [2010/05/31 09:09:13] @ Quit: giskard_: Ping timeout: 245 seconds | ||
| [2010/05/31 09:10:39] @ sideshow joined channel #puppet | ||
| [2010/05/31 09:13:49] @ kolla joined channel #puppet | ||
| [2010/05/31 09:14:00] <sideshow> hi, the communication of puppet is like that right ? -> IP is encapsuled by SSL ? | ||
| [2010/05/31 09:17:21] @ Quit: rhyno: Ping timeout: 264 seconds | ||
| [2010/05/31 09:22:49] @ giskard_ joined channel #puppet | ||
| [2010/05/31 09:23:31] @ Quit: giskard: Ping timeout: 240 seconds | ||
| [2010/05/31 09:24:00] @ Bass2 joined channel #puppet | ||
| [2010/05/31 09:24:16] @ Quit: mizzy: Ping timeout: 260 seconds | ||
| [2010/05/31 09:25:23] @ Quit: Bass2: Max SendQ exceeded | ||
| [2010/05/31 09:25:57] @ Bass2 joined channel #puppet | ||
| [2010/05/31 09:31:28] @ Quit: sideshow: Quit: Page closed | ||
| [2010/05/31 09:36:24] @ Quit: Bass2: Quit: Leaving | ||
| [2010/05/31 09:37:09] @ herdingcat joined channel #puppet | ||
| [2010/05/31 09:37:51] @ Bass2 joined channel #puppet | ||
| [2010/05/31 09:39:12] @ Quit: Bass2: Max SendQ exceeded | ||
| [2010/05/31 09:39:36] @ Bass2 joined channel #puppet | ||
| [2010/05/31 09:40:05] <ashp> http://www.deansproperty.com.au/Home/Profiles hahaha, sterotype IT nerd :( | ||
| [2010/05/31 09:42:36] @ Quit: lorena-nita: Ping timeout: 252 seconds | ||
| [2010/05/31 09:43:12] @ Quit: herdingcat: Quit: Leaving | ||
| [2010/05/31 09:51:48] @ herdingcat joined channel #puppet | ||
| [2010/05/31 09:52:26] <lisa> lol | ||
| [2010/05/31 09:56:58] @ Quit: docelic_: Ping timeout: 240 seconds | ||
| [2010/05/31 09:57:10] @ sebas891 left channel #puppet () | ||
| [2010/05/31 09:59:48] @ Quit: gaveen: Remote host closed the connection | ||
| [2010/05/31 09:59:51] @ achester joined channel #puppet | ||
| [2010/05/31 10:00:28] @ Quit: cliff-hm: Ping timeout: 245 seconds | ||
| [2010/05/31 10:01:36] @ Quit: ckauhaus: Quit: Leaving. | ||
| [2010/05/31 10:04:12] @ carlasouza joined channel #puppet | ||
| [2010/05/31 10:08:39] @ bgupta joined channel #puppet | ||
| [2010/05/31 10:13:29] @ ohad is now known as ohadlevy | ||
| [2010/05/31 10:26:42] @ Quit: monachus: Ping timeout: 265 seconds | ||
| [2010/05/31 10:27:37] @ ckauhaus joined channel #puppet | ||
| [2010/05/31 10:36:55] @ Quit: kolla: Remote host closed the connection | ||
| [2010/05/31 10:44:47] @ mizzy joined channel #puppet | ||
| [2010/05/31 10:52:05] @ giskard joined channel #puppet | ||
| [2010/05/31 10:52:24] @ Quit: giskard_: Ping timeout: 264 seconds | ||
| [2010/05/31 10:57:43] @ littleidea joined channel #puppet | ||
| [2010/05/31 11:01:55] @ monachus joined channel #puppet | ||
| [2010/05/31 11:02:11] @ bronto joined channel #puppet | ||
| [2010/05/31 11:05:00] @ Quit: sdog: Quit: Leaving. | ||
| [2010/05/31 11:05:21] @ Quit: bug: Ping timeout: 264 seconds | ||
| [2010/05/31 11:08:34] @ quit (okay bye) | ||
| [2010/05/31 12:36:36] @ Joined channel #puppet | ||
| [2010/05/31 12:36:36] @ Topic is "Dashboard 1.0.0 released: http://bit.ly/cxZUas | Puppet 0.25.5 released: http://bit.ly/beIuIm | http://docs.puppetlabs.com | Bugs & Feature Requests: http://bit.ly/ddjhPk" | ||
| [2010/05/31 12:36:36] @ Topic set by jamesturnbull!~jamesturn@pelin.lovedthanlost.net on Mon May 17 21:32:23 -0400 2010 | ||
| [2010/05/31 12:36:39] @ Mode +cnt by barjavel.freenode.net | ||
| [2010/05/31 12:36:52] @ emag joined channel #puppet | ||
| [2010/05/31 12:37:42] @ jamesturnbull joined channel #puppet | ||
| [2010/05/31 12:37:55] @ jameswhite joined channel #puppet | ||
| [2010/05/31 12:39:08] @ kambiz joined channel #puppet | ||
| [2010/05/31 12:40:05] @ spawnyd joined channel #puppet | ||
| [2010/05/31 12:41:27] @ cruxeternus joined channel #puppet | ||
| [2010/05/31 12:43:03] @ gebi joined channel #puppet | ||
| [2010/05/31 12:46:14] @ Quit: suchu: Quit: ChatZilla 0.9.86 [Firefox 3.6.3/20100401080539] | ||
| [2010/05/31 12:47:34] @ Quit: Welsh_Dwarf: Read error: Connection reset by peer | ||
| [2010/05/31 12:59:44] @ Quit: spawnyd: Ping timeout: 276 seconds | ||
| [2010/05/31 13:03:06] @ herdingcat joined channel #puppet | ||
| [2010/05/31 13:06:08] @ Quit: ckauhaus: Ping timeout: 272 seconds | ||
| [2010/05/31 13:06:18] @ Quit: cruxeternus: Quit: leaving | ||
| [2010/05/31 13:06:29] @ Quit: shug: Quit: Leaving | ||
| [2010/05/31 13:07:24] @ jph98 joined channel #puppet | ||
| [2010/05/31 13:08:41] @ _lunix_ joined channel #puppet | ||
| [2010/05/31 13:10:27] @ telmich joined channel #puppet | ||
| [2010/05/31 13:10:32] <telmich> rö | ||
| [2010/05/31 13:10:38] @ Quit: ahasenack: Read error: Connection reset by peer | ||
| [2010/05/31 13:10:50] @ ahasenack joined channel #puppet | ||
| [2010/05/31 13:11:19] @ paxos joined channel #puppet | ||
| [2010/05/31 13:14:04] <jph98> hi all, i'm seeing my puppetd client hang during a configuration run... | ||
| [2010/05/31 13:14:16] <|Mike|> define hang? | ||
| [2010/05/31 13:14:27] <jph98> i'm running 0.25.4 | ||
| [2010/05/31 13:14:32] <jph98> it won't make it through a config run.. | ||
| [2010/05/31 13:14:43] <jph98> it will stop randomly on a particular step in my script.. | ||
| [2010/05/31 13:15:06] <|Mike|> You might want to pastebin the errors, otherwise we can't help you. | ||
| [2010/05/31 13:15:32] <jph98> ok errors.. being in /var/log/messages ? | ||
| [2010/05/31 13:15:48] <|Mike|> no idea, on debian it/s /var/log/daemon.log | ||
| [2010/05/31 13:16:24] <jph98> this is Centos... | ||
| [2010/05/31 13:16:46] <jph98> i don't see any errors aas such | ||
| [2010/05/31 13:16:53] <jph98> i'm runnig puppetd with --debug --test | ||
| [2010/05/31 13:17:05] <|Mike|> without verbose right? | ||
| [2010/05/31 13:17:11] <jph98> sudo /usr/sbin/puppetd start --verbose --server puppetmaster --debug --test | ||
| [2010/05/31 13:17:20] <jph98> would running it like that cause problems? | ||
| [2010/05/31 13:17:39] <|Mike|> it should give output | ||
| [2010/05/31 13:17:47] <jph98> oh it does... it runs... | ||
| [2010/05/31 13:17:55] <jph98> but like i say it dies on a particular step... | ||
| [2010/05/31 13:18:05] <|Mike|> *which* ? | ||
| [2010/05/31 13:18:29] <|Mike|> couldn't contact the puppetmaster, connection timed out, catalog couldn't be compiled.......................? | ||
| [2010/05/31 13:18:32] <jph98> debug: //cassandra/File[/data2/cass/data/system]: Autorequiring User[cass] | ||
| [2010/05/31 13:18:32] <jph98> debug: //cassandra/Exec[getcassbinsh]: Autorequiring User[cass] | ||
| [2010/05/31 13:18:32] <jph98> info: Applying configuration version '1275325232' | ||
| [2010/05/31 13:18:32] <jph98> debug: //java/Exec[getjdk]: Executing check 'rpm -q jdk' | ||
| [2010/05/31 13:18:32] <jph98> debug: Executing 'rpm -q jdk' | ||
| [2010/05/31 13:18:32] <jph98> debug: //java/Exec[jdkinstall]: Changing returns | ||
| [2010/05/31 13:18:33] <jph98> debug: //java/Exec[jdkinstall]: 1 change(s) | ||
| [2010/05/31 13:18:33] <jph98> debug: //java/Exec[jdkinstall]: Executing 'rpm -i /usr/local/jdk-6u20-linux-amd64.rpm && rm -f /usr/local/jdk-6u20-linux-amd64.rpm' | ||
| [2010/05/31 13:18:34] <jph98> debug: Executing 'rpm -i /usr/local/jdk-6u20-linux-amd64.rpm && rm -f /usr/local/jdk-6u20-linux-amd64.rpm' | ||
| [2010/05/31 13:18:34] <jph98> err: //java/Exec[jdkinstall]/returns: change from notrun to 0 failed: rpm -i /usr/local/jdk-6u20-linux-amd64.rpm && rm -f /usr/local/jdk-6u20-linux-amd64.rpm returned 1 instead of one of [0] at /etc/puppet/manifests/classes/java.pp:15 | ||
| [2010/05/31 13:18:35] <jph98> debug: //cassandra/Exec[getcassbinsh]: Changing returns | ||
| [2010/05/31 13:18:35] <jph98> debug: //cassandra/Exec[getcassbinsh]: 1 change(s) | ||
| [2010/05/31 13:18:36] <jph98> debug: //cassandra/Exec[getcassbinsh]: Executing 'wget -N http://puppetmaster/packages/cassconf/cassandra.in.sh' | ||
| [2010/05/31 13:18:36] <jph98> debug: Executing 'wget -N http://puppetmaster/packages/cassconf/cassandra.in.sh' | ||
| [2010/05/31 13:18:37] <jph98> notice: //cassandra/Exec[getcassbinsh]/returns: executed successfully | ||
| [2010/05/31 13:18:46] <jph98> then dies... | ||
| [2010/05/31 13:18:55] <|Mike|> maestro, please use pastie.org or pastebin for that | ||
| [2010/05/31 13:19:02] <jph98> maestro? | ||
| [2010/05/31 13:20:03] <|Mike|> s/maestro/sir | ||
| [2010/05/31 13:20:13] <jph98> excuse me? | ||
| [2010/05/31 13:20:48] <|Mike|> < |Mike|> You might want to pastebin the errors, otherwise we can't help you. <-- I did notice the pastebin so you wouldn't flood the channel with verbose output ;) | ||
| [2010/05/31 13:21:41] <|Mike|> jph98: but you didn't see an message like, puppet run finished in XXXX seconds ? | ||
| [2010/05/31 13:21:50] @ Quit: bearnard: Ping timeout: 276 seconds | ||
| [2010/05/31 13:24:37] @ ckauhaus joined channel #puppet | ||
| [2010/05/31 13:25:54] <jph98> no sorry i don't.. | ||
| [2010/05/31 13:26:13] <jph98> puppetmaster tells me it's compiling the catalog... the puppetd daemon just sits there... | ||
| [2010/05/31 13:26:17] <|Mike|> what's the version of your puppetmaster btw? | ||
| [2010/05/31 13:26:41] <jph98> same 0.25.4 | ||
| [2010/05/31 13:29:28] <|Mike|> jph98: isn't it just running then? (read: it hasn't finished the run yet) | ||
| [2010/05/31 13:30:08] <jph98> no no, it def shouldn't take minutes to complete the run, it previously took seconds... | ||
| [2010/05/31 13:30:35] <jph98> it's ok, thanks for your help anyways, gonna dig through docs.... | ||
| [2010/05/31 13:36:59] @ Quit: Bass2: Ping timeout: 240 seconds | ||
| [2010/05/31 13:38:24] @ bodepd joined channel #puppet | ||
| [2010/05/31 13:43:17] @ Quit: TREllis: Quit: leaving | ||
| [2010/05/31 13:43:36] @ Quit: gebi: Ping timeout: 260 seconds | ||
| [2010/05/31 13:48:29] <raz> anyone here running puppet on debian? | ||
| [2010/05/31 13:48:36] <raz> i tried the pkg from testing but it doesn't create the puppet user | ||
| [2010/05/31 13:53:56] @ bearnard joined channel #puppet | ||
| [2010/05/31 13:58:43] @ alban2 joined channel #puppet | ||
| [2010/05/31 14:01:36] <bodepd> raz: do you get an error when you start the puppetmaster? | ||
| [2010/05/31 14:02:02] <raz> bodepd: already at package installation. i could resolve it by adding the group/user manually - but this seems to be a packaging bug. | ||
| [2010/05/31 14:03:04] <|Mike|> i wonder if our packaged 0.25.5 does that aswell | ||
| [2010/05/31 14:03:04] @ santoroj joined channel #puppet | ||
| [2010/05/31 14:03:17] <raz> this *is* 0.25.5 :) | ||
| [2010/05/31 14:03:29] <raz> i followed the wiki instructions for using the pkg from testing on a vanilla lenny | ||
| [2010/05/31 14:03:31] @ Quit: kuh: Ping timeout: 240 seconds | ||
| [2010/05/31 14:03:47] <raz> oh wait sorry | ||
| [2010/05/31 14:03:51] <bhearsum> can metaparameters be used on functions? I've got a function which i'd like to set an alias on, but when i try it, it complains that it can't find Function_name[alias] | ||
| [2010/05/31 14:03:52] <raz> it's 0.25.4-6 | ||
| [2010/05/31 14:03:56] <bhearsum> puppetd does, i mean | ||
| [2010/05/31 14:04:37] <bhearsum> hmm, maybe this isn't a function | ||
| [2010/05/31 14:04:37] <bodepd> bhearsum: nope, only with resources. | ||
| [2010/05/31 14:04:45] <bhearsum> does 'define' create a function? | ||
| [2010/05/31 14:05:08] <bodepd> bhearsum: no, its a defined resource type | ||
| [2010/05/31 14:05:32] <bhearsum> oh -- sorry, i didn't start off right, then | ||
| [2010/05/31 14:05:37] @ thegcat joined channel #puppet | ||
| [2010/05/31 14:06:00] @ Quit: nevyn: Read error: Operation timed out | ||
| [2010/05/31 14:06:38] <bhearsum> so, i've got: my_resource { "something": alias => "whatever", ... }, but My_resource[whatever] can't be found | ||
| [2010/05/31 14:07:32] @ santoroj left channel #puppet () | ||
| [2010/05/31 14:07:41] <bodepd> bhearsum: let me recreate, one sec | ||
| [2010/05/31 14:07:50] <bhearsum> sure, no problem | ||
| [2010/05/31 14:08:14] <bhearsum> i wonder if i'm missing an include somewhere; i'm trying to reference it from a different file | ||
| [2010/05/31 14:08:14] @ nevyn joined channel #puppet | ||
| [2010/05/31 14:08:39] <bodepd> bhearsum: works for me. | ||
| [2010/05/31 14:09:19] <bodepd> http://pastie.org/986053 | ||
| [2010/05/31 14:09:39] <bhearsum> huh | ||
| [2010/05/31 14:10:00] <bodepd> bhearsum: it has to be available. try referencing it by its real name and see if it fails. | ||
| [2010/05/31 14:10:08] <bhearsum> good idea | ||
| [2010/05/31 14:10:55] <bhearsum> doesn't work that way either | ||
| [2010/05/31 14:12:17] <bhearsum> what do you mean by "available"? does this imply i'm missing an import? | ||
| [2010/05/31 14:13:14] @ Quit: herdingcat: Remote host closed the connection | ||
| [2010/05/31 14:16:58] @ Quit: ckauhaus: Ping timeout: 248 seconds | ||
| [2010/05/31 14:19:01] <bhearsum> oh, i was wrong. the full _name_ does work | ||
| [2010/05/31 14:19:11] <bhearsum> i was missing part of it, heh | ||
| [2010/05/31 14:19:40] <bhearsum> now, why isn't the alias working... | ||
| [2010/05/31 14:20:27] <bodepd> bhearsum: you should never have to use an import if you use modules | ||
| [2010/05/31 14:20:33] <bodepd> I mean include. | ||
| [2010/05/31 14:21:34] <bhearsum> yeah, that's what i thought. i've never had problems like that before | ||
| [2010/05/31 14:21:52] <bhearsum> i might just be mis-using the alias parameter | ||
| [2010/05/31 14:22:33] <bodepd> how are you using it? its usually used as a shortname for references | ||
| [2010/05/31 14:22:43] <bhearsum> i'll paste a snippet | ||
| [2010/05/31 14:24:14] <bhearsum> http://pastebin.mozilla.org/729945 | ||
| [2010/05/31 14:24:42] @ toi joined channel #puppet | ||
| [2010/05/31 14:25:37] @ MarkN joined channel #puppet | ||
| [2010/05/31 14:28:20] <bodepd> I dont see any problem with it. | ||
| [2010/05/31 14:30:35] <bhearsum> huh, weird | ||
| [2010/05/31 14:30:39] <bodepd> can you show me the exact error message? | ||
| [2010/05/31 14:30:42] <bhearsum> yup | ||
| [2010/05/31 14:30:53] <bhearsum> http://pastebin.mozilla.org/729948 | ||
| [2010/05/31 14:31:31] <bhearsum> and if you're interested, here's a snippets from a successful run: http://pastebin.mozilla.org/729949 | ||
| [2010/05/31 14:34:55] @ Quit: bodepd: Quit: bodepd | ||
| [2010/05/31 14:36:34] @ bodepd joined channel #puppet | ||
| [2010/05/31 14:37:58] <bodepd> bhearsum: what version of puppet is this? | ||
| [2010/05/31 14:38:04] <bhearsum> 0.24.8 | ||
| [2010/05/31 14:39:12] @ littleidea_ joined channel #puppet | ||
| [2010/05/31 14:39:32] @ Quit: littleidea: Read error: Connection reset by peer | ||
| [2010/05/31 14:40:15] @ adrian_broher joined channel #puppet | ||
| [2010/05/31 14:40:17] <bodepd> I just checked it on .24.8 | ||
| [2010/05/31 14:40:18] <bodepd> it failed. | ||
| [2010/05/31 14:40:22] <bodepd> it works with .25.5 | ||
| [2010/05/31 14:40:43] @ ckauhaus joined channel #puppet | ||
| [2010/05/31 14:41:09] <davea1> how can I affect the config of one node based on the config of another node? | ||
| [2010/05/31 14:41:34] <bodepd> daveea1: exported resources | ||
| [2010/05/31 14:41:53] <bhearsum> ah | ||
| [2010/05/31 14:41:55] <bhearsum> ok | ||
| [2010/05/31 14:41:59] <bhearsum> well, i'll have to work around it then! | ||
| [2010/05/31 14:42:05] <bodepd> bhearsum: I figured out a weorkaround | ||
| [2010/05/31 14:42:14] <bhearsum> oh, cool | ||
| [2010/05/31 14:42:17] <bodepd> any reason you cant upgrade? | ||
| [2010/05/31 14:42:29] <davea1> bodepd, thanks- never used that before | ||
| [2010/05/31 14:42:31] <bhearsum> not before i need this to work, heh :) | ||
| [2010/05/31 14:42:38] <bodepd> use title as the alias, and namevaer as the long name | ||
| [2010/05/31 14:42:40] * davea1 is reading about exported resources now | ||
| [2010/05/31 14:43:19] <bhearsum> ah | ||
| [2010/05/31 14:43:25] <bhearsum> yeah, that's what i was thinking of doing to work around it | ||
| [2010/05/31 14:43:47] <bodepd> bhearsum: does that make sense? then use $name in your define, not $title | ||
| [2010/05/31 14:43:53] <bhearsum> yeah, it does | ||
| [2010/05/31 14:44:52] <bhearsum> thanks a ton for your help, bodepd | ||
| [2010/05/31 14:45:01] <bodepd> bhearsum: youre welcome | ||
| [2010/05/31 14:59:15] @ \ask joined channel #puppet | ||
| [2010/05/31 15:07:27] <jph98> is there a log command in puppet? to log a message from a manifest...? | ||
| [2010/05/31 15:09:17] @ Quit: ckauhaus: Read error: Operation timed out | ||
| [2010/05/31 15:24:49] @ ckauhaus joined channel #puppet | ||
| [2010/05/31 15:27:01] <bodepd> jph98: log to where? | ||
| [2010/05/31 15:27:22] <jph98> ideally the puppetmaster | ||
| [2010/05/31 15:27:35] <bodepd> check the functions. notice('message') | ||
| [2010/05/31 15:27:37] <jph98> but the local log file for puppetd is all good.. | ||
| [2010/05/31 15:27:42] <jph98> oh cool thanks.. | ||
| [2010/05/31 15:27:47] <bodepd> thats for the server | ||
| [2010/05/31 15:27:49] @ Quit: littleidea_: Ping timeout: 265 seconds | ||
| [2010/05/31 15:28:16] <bodepd> you can use the notify resource to send messages to the client. (but I dont recommend it) | ||
| [2010/05/31 15:28:34] <davea1> Volcane, you there? | ||
| [2010/05/31 15:29:00] @ ciupicri joined channel #puppet | ||
| [2010/05/31 15:29:26] <ciupicri> what's the difference between puppetca --revoke and --clean? Why isn't --clean enough? | ||
| [2010/05/31 15:30:41] <davea1> ciupicri, clean REMOVES all references, revoke just revokes the Certificate and adds it the the CRL | ||
| [2010/05/31 15:30:55] <ciupicri> davea1, yes, but why? | ||
| [2010/05/31 15:31:07] <ciupicri> davea1, why not just remove it for ever? | ||
| [2010/05/31 15:31:22] <davea1> for tracking, "revoke" is better, a paper trail | ||
| [2010/05/31 15:31:23] <ciupicri> davea1, is there any use for the CRL? | ||
| [2010/05/31 15:31:55] <ciupicri> davea1, right, that's a good point (sounds a bit like su versus logging in as root) | ||
| [2010/05/31 15:32:23] <Volcane> ciupicri: the master will still accept connections from certs thats been removed | ||
| [2010/05/31 15:32:28] <Volcane> ciupicri: revoking invalidates them | ||
| [2010/05/31 15:32:39] <davea1> ciupicri, suppose you manage a server for a client - the client for some reason gets upset and locks you out of the server but that puppet server is still contacting the puppetmaster- revoke the cert for that puppetclient and voila! | ||
| [2010/05/31 15:32:43] <davea1> no more updates | ||
| [2010/05/31 15:32:55] @ Quit: \ask: Remote host closed the connection | ||
| [2010/05/31 15:33:13] <Volcane> assuming you have the crl setup, which afaik doesnt work with apache+mongrel, though that might be fixed by now | ||
| [2010/05/31 15:33:17] @ \ask joined channel #puppet | ||
| [2010/05/31 15:33:33] <davea1> Volcane, you mentioned that you separate setup of apps from config of apps- can you explain? | ||
| [2010/05/31 15:34:09] <Volcane> davea1: one module, with sub classes apache::install, apache::config, apache::service, apache::monitor | ||
| [2010/05/31 15:34:19] <davea1> You mentioned it to someone else recently and I didnt quite follow- I am redoing my puppet layout .... again .... :) | ||
| [2010/05/31 15:34:27] <ciupicri> davea1, yeah, but --clear could be also used, except that you would lose that paper trail | ||
| [2010/05/31 15:34:38] <Volcane> davea1: or maybe i was talking about extlookup? not sure | ||
| [2010/05/31 15:35:12] <davea1> Volcane, that sounds right - so the install only runs once... config always on changes... etc etc | ||
| [2010/05/31 15:35:22] <davea1> ciupicri, what if the server got compromised | ||
| [2010/05/31 15:35:34] <davea1> ciupicri, enterprises like docs and paper | ||
| [2010/05/31 15:35:49] <ciupicri> davea1, btw, is there a command for editing the CRL? | ||
| [2010/05/31 15:35:50] <Volcane> davea1: not really. everything validates always, its mostly a thing to make it easier to compose require/notify/before | ||
| [2010/05/31 15:35:57] <ciupicri> davea1, to re-enable a certificate | ||
| [2010/05/31 15:36:14] <Volcane> davea1: since rather than say listing every file in your config class when you require a service to be configured, you just do require => Class["apache::config"] | ||
| [2010/05/31 15:36:17] <davea1> ciupicri, I dont think you can revoke a revoke | ||
| [2010/05/31 15:36:31] <Volcane> davea1: similarly you can notify => Class["apache::service"] | ||
| [2010/05/31 15:36:49] <ciupicri> davea1, I see | ||
| [2010/05/31 15:37:16] <davea1> Volcane, so it is a method of making sense of all the flexiblity that puppet brings? | ||
| [2010/05/31 15:37:32] @ Quit: \ask: Ping timeout: 240 seconds | ||
| [2010/05/31 15:37:58] <Volcane> davea1: yes, and to deal with complexity - later you add another config file, you dont have to go update everything that require the configs - cos you update h class, then require => Class[....] still does what it should regardless of class config | ||
| [2010/05/31 15:38:10] <davea1> adding structure to the madness!!! | ||
| [2010/05/31 15:38:18] <Volcane> davea1: i only use resource level ordering inside the same class | ||
| [2010/05/31 15:38:32] @ Quit: ciupicri: Quit: Leaving | ||
| [2010/05/31 15:38:45] <Volcane> davea1: and i use LOTS of extlookup to make classes configurable | ||
| [2010/05/31 15:39:23] <davea1> Volcane, extlookup in place of facters? | ||
| [2010/05/31 15:39:30] <Volcane> davea1: see http://www.devco.net/archives/2009/08/31/complex_data_and_puppet.php and http://www.devco.net/archives/2009/09/28/simple_puppet_module_structure.php | ||
| [2010/05/31 15:40:12] <davea1> Volcane, thanks- the openness of puppet doesnt help me, the novice, to know what to do where | ||
| [2010/05/31 15:40:39] <Volcane> davea1: extlookup replaces case statements and complex if statements and makes it easier for you to share modules with others since they can configure your modules to make sense to them rather than adjust the code | ||
| [2010/05/31 15:41:06] <davea1> I hate nested ifs | ||
| [2010/05/31 15:41:49] <Volcane> yeah. when i get a new DC or country etc, i dont need to edit any code at all to support kit there | ||
| [2010/05/31 15:42:17] <Volcane> all teh things like what centos mirros to use, ntp servers, syslog servers, activemq servers etcetc all is in extlookup | ||
| [2010/05/31 15:43:54] @ \ask joined channel #puppet | ||
| [2010/05/31 15:44:13] <davea1> Volcane, ah yes, I remember that you use csv files instead of LDAP-correct? | ||
| [2010/05/31 15:44:32] <Volcane> yeah, cant really have much centralized infrastructure | ||
| [2010/05/31 15:44:46] <Volcane> all over the shitty internet and unreliable at best | ||
| [2010/05/31 15:44:58] <Volcane> often operating as islands rather than a whole etc | ||
| [2010/05/31 15:45:14] <Volcane> csv in svn works best for me | ||
| [2010/05/31 15:45:19] <davea1> Volcane, so not really what you want- but more of what you have to work with | ||
| [2010/05/31 15:45:46] <Volcane> yeah. so foreman has a similar tool that query against foreman's db | ||
| [2010/05/31 15:46:15] <Volcane> its based on extlookup does all it does etc, just DB and Web UI backed | ||
| [2010/05/31 15:46:29] <davea1> Volcane, this extlookup - I would not need correct? I just add the puppetvar in ldap ? | ||
| [2010/05/31 15:46:53] <Volcane> davea1: its not really the same a s aglobal node level variable | ||
| [2010/05/31 15:47:34] <Volcane> davea1: it allows me to do things like all boxes belonging to client a can have package absent, while client b can have it present and client c can have it 1.2.3 | ||
| [2010/05/31 15:47:52] <Volcane> davea1: you'd have to do lots of ldap surgery to achieve the same i presume, though not really a big ldap fan myself | ||
| [2010/05/31 15:48:41] <Volcane> davea1: but essentially it lets you build like multi dimentional cubes of data that you can query from manifests, but not just that they can also be context aware. if you have some variable set in a module and differently in b module, extlookup can adjust its answer based on that for you etc. | ||
| [2010/05/31 15:48:52] <Volcane> most ppl just dont need all that though so whatever works for you | ||
| [2010/05/31 15:48:59] <davea1> Volcane, the ultimate result of extlookup is that you pull vars out of configs? | ||
| [2010/05/31 15:49:05] <Volcane> the important thing is not to hardcode shitloads of crap all over your code | ||
| [2010/05/31 15:49:32] <Volcane> davea1: $syslog_server = extlookup("syslogserver", "syslog.${domain}") | ||
| [2010/05/31 15:49:41] @ Bass10 joined channel #puppet | ||
| [2010/05/31 15:49:52] <Volcane> davea1: now i can configure a specific node, or client, or country, or datacenter to have a different syslog server by adjusting my data | ||
| [2010/05/31 15:49:55] <Volcane> davea1: rather than code | ||
| [2010/05/31 15:50:12] @ Quit: [GuS]: Remote host closed the connection | ||
| [2010/05/31 15:50:29] <Volcane> cos i can have my.box.com.csv, country_us.csv, location_linodeca.csv and common.csv | ||
| [2010/05/31 15:50:41] <davea1> Volcane, I have modules and manifests. all my ifs,cases, and vars are in my manifests. With extlookup, I would be taking that one step further | ||
| [2010/05/31 15:50:43] <Volcane> and extlookup will look in all those files till it finds the first one that sets syslog | ||
| [2010/05/31 15:51:11] * davea1 nodes | ||
| [2010/05/31 15:51:16] * davea1 nods | ||
| [2010/05/31 15:51:53] <davea1> thanks for the insight! | ||
| [2010/05/31 15:53:09] <Volcane> http://pastie.org/986233 | ||
| [2010/05/31 15:53:34] <Volcane> my.box.com and any box with $customer = acme will have screen, rest wont | ||
| [2010/05/31 15:53:52] <Volcane> another customer wants screen, just add a csv file | ||
| [2010/05/31 15:54:18] <davea1> Volcane, where do you locate the csv files? | ||
| [2010/05/31 15:54:24] <Volcane> compared to: find . -type f |xargs grep '$customer' followed by a edit of every file with a case/if/selector on $customer | ||
| [2010/05/31 15:54:32] * davea1 understands | ||
| [2010/05/31 15:54:36] <Volcane> davea1: you configure it where - any directory on the master | ||
| [2010/05/31 15:55:31] <Volcane> this is also very handy if you run without a master | ||
| [2010/05/31 15:55:40] <Volcane> you'd make it query a web service or something | ||
| [2010/05/31 15:55:43] @ Quit: giskard: Quit: Leaving... | ||
| [2010/05/31 15:55:49] <Volcane> so you can copy the code to all machines and run it | ||
| [2010/05/31 15:56:02] @ zahna joined channel #puppet | ||
| [2010/05/31 15:56:06] <Volcane> but hide the variables of other clients from ones who have the code | ||
| [2010/05/31 15:57:24] <Volcane> i have many clients with different needs, locations, countries etc, so probably need this kind of thing more than the average shop. | ||
| [2010/05/31 15:58:10] <davea1> Volcane, managing the za servers probably proves to be interesting at times ;) | ||
| [2010/05/31 15:59:03] <davea1> due to limited connectivity and the cost of bandwidth there | ||
| [2010/05/31 15:59:06] <Volcane> yup, rubbish, i dont ahve an instance of my management system there so they ahve to talk to the uk | ||
| [2010/05/31 15:59:47] <Volcane> luckily not many machines there | ||
| [2010/05/31 16:00:48] @ Quit: mellen: Ping timeout: 260 seconds | ||
| [2010/05/31 16:01:06] <davea1> Volcane, I appreciate you sharing your thoughts - thanks! | ||
| [2010/05/31 16:01:34] <Volcane> :) | ||
| [2010/05/31 16:03:49] @ Quit: benoit__: Ping timeout: 264 seconds | ||
| [2010/05/31 16:05:20] @ giskard joined channel #puppet | ||
| [2010/05/31 16:06:37] @ carlasouza is now known as carla_afk | ||
| [2010/05/31 16:06:38] <blood> whats the best way to push out the puppet client? | ||
| [2010/05/31 16:06:59] <Volcane> clients pull | ||
| [2010/05/31 16:07:09] <Volcane> you can ask them to pull using puppetrun or something like mcollective | ||
| [2010/05/31 16:07:11] <blood> how do i initiate the puoll | ||
| [2010/05/31 16:07:16] <blood> ah | ||
| [2010/05/31 16:07:24] <blood> can i give a range of ip addresses for that? | ||
| [2010/05/31 16:07:34] <blood> like if i want the entire 192.168.0.0/24 subnet to pull | ||
| [2010/05/31 16:07:38] <Volcane> with mcollective you could, not sure about puppetrun | ||
| [2010/05/31 16:07:52] <Volcane> but probably you dont want to do that unless you have a hugely powerful puppetmaster | ||
| [2010/05/31 16:07:58] <blood> yea true | ||
| [2010/05/31 16:08:00] @ Quit: allsystemsarego: Quit: Leaving | ||
| [2010/05/31 16:08:18] <blood> ok let me look up puppetrun | ||
| [2010/05/31 16:09:18] <blood> hrmm | ||
| [2010/05/31 16:09:24] <blood> it says puppetd has to be listening | ||
| [2010/05/31 16:09:41] <blood> i need a way to push out the package to clients that don't have puppet at all | ||
| [2010/05/31 16:10:25] <blood> i guess i can create a simple install script | ||
| [2010/05/31 16:10:25] <blood> =) | ||
| [2010/05/31 16:10:56] @ mellen joined channel #puppet | ||
| [2010/05/31 16:15:03] @ jaredrhine joined channel #puppet | ||
| [2010/05/31 16:15:07] @ littleidea joined channel #puppet | ||
| [2010/05/31 16:17:36] <Volcane> blood: yeah bit of a critical bit of information to leave out | ||
| [2010/05/31 16:19:59] @ Quit: bodepd: Quit: bodepd | ||
| [2010/05/31 16:20:11] @ Quit: toi: Quit: Ex-Chat | ||
| [2010/05/31 16:24:26] @ Quit: \ask: Remote host closed the connection | ||
| [2010/05/31 16:24:50] @ \ask joined channel #puppet | ||
| [2010/05/31 16:25:58] @ bodepd joined channel #puppet | ||
| [2010/05/31 16:28:59] @ Quit: \ask: Ping timeout: 240 seconds | ||
| [2010/05/31 16:29:59] @ Quit: ckauhaus: Quit: Leaving. | ||
| [2010/05/31 16:30:19] @ Quit: Mick27: Ping timeout: 248 seconds | ||
| [2010/05/31 16:31:20] @ mars__ joined channel #puppet | ||
| [2010/05/31 16:31:26] @ Mick27 joined channel #puppet | ||
| [2010/05/31 16:33:51] @ p3rror joined channel #puppet | ||
| [2010/05/31 16:35:02] <mars__> Hello, has anyone done any calculations based on hostname - for example hostname=host1, $variable=$(number from hostname)*2 - i'm guessing i'll need to do a custom fact for this? | ||
| [2010/05/31 16:36:18] <Volcane> $number = inline_template("<%= $1 if hostname =~ /(\d+)$/ %>") | ||
| [2010/05/31 16:36:34] <Volcane> prolly need to use ' and not " | ||
| [2010/05/31 16:37:32] <mars__> oh inline_template, thx much Volcane! | ||
| [2010/05/31 16:37:55] @ blahdeblah joined channel #puppet | ||
| [2010/05/31 16:39:04] <Volcane> you can do it with regsubst too though i can never get its syntax right :) | ||
| [2010/05/31 16:40:51] <Volcane> something like: regsubst($hostname,'(.+)(\d+)$','\2') | ||
| [2010/05/31 16:44:35] @ sdog joined channel #puppet | ||
| [2010/05/31 16:44:46] @ sdog left channel #puppet () | ||
| [2010/05/31 16:46:56] @ \ask joined channel #puppet | ||
| [2010/05/31 16:48:01] @ Quit: giskard: Quit: Leaving... | ||
| [2010/05/31 16:50:07] @ lak joined channel #puppet | ||
| [2010/05/31 16:57:23] <mars__> thx for the tips Volcane | ||
| [2010/05/31 17:01:20] @ Quit: bodepd: Quit: bodepd | ||
| [2010/05/31 17:03:58] @ andrew3 joined channel #puppet | ||
| [2010/05/31 17:16:51] @ bodepd joined channel #puppet | ||
| [2010/05/31 17:21:43] @ MattyM joined channel #puppet | ||
| [2010/05/31 17:27:35] @ jfreeman joined channel #puppet | ||
| [2010/05/31 17:28:17] @ Quit: davea1: Quit: Leaving | ||
| [2010/05/31 17:28:59] @ alrs joined channel #puppet | ||
| [2010/05/31 17:33:55] @ fredden joined channel #puppet | ||
| [2010/05/31 17:35:10] <bhearsum> how does one get the 'rpm' package provider to use -U instead of -i. the code seems to say that any 'ensure' value other than absent should do that, but that's not happening for me | ||
| [2010/05/31 17:39:31] @ Quit: adrian_broher: Quit: Verlassend | ||
| [2010/05/31 17:41:10] @ MarkN left channel #puppet () | ||
| [2010/05/31 17:43:47] @ Quit: rcrowley: Quit: rcrowley | ||
| [2010/05/31 17:44:52] @ Quit: bodepd: Quit: bodepd | ||
| [2010/05/31 17:46:57] @ QMan joined channel #puppet | ||
| [2010/05/31 17:48:16] @ Quit: jamesturnbull: Quit: leaving | ||
| [2010/05/31 17:49:07] @ Quit: lak: Quit: lak | ||
| [2010/05/31 17:49:21] @ jamesturnbull joined channel #puppet | ||
| [2010/05/31 17:50:25] @ Quit: \ask: Remote host closed the connection | ||
| [2010/05/31 17:50:47] @ \ask joined channel #puppet | ||
| [2010/05/31 17:51:11] @ Quit: blahdeblah: Ping timeout: 240 seconds | ||
| [2010/05/31 17:55:25] @ Quit: \ask: Ping timeout: 264 seconds | ||
| [2010/05/31 17:57:32] @ lak joined channel #puppet | ||
| [2010/05/31 18:01:58] @ Quit: ezekiel: Quit: suuuuuure | ||
| [2010/05/31 18:02:24] @ Quit: stefan_: Remote host closed the connection | ||
| [2010/05/31 18:02:51] @ Quit: lak: Quit: lak | ||
| [2010/05/31 18:03:07] @ Quit: jfreeman: Ping timeout: 248 seconds | ||
| [2010/05/31 18:05:43] @ Quit: alrs: Ping timeout: 272 seconds | ||
| [2010/05/31 18:06:27] @ Quit: littleidea: Read error: Connection reset by peer | ||
| [2010/05/31 18:06:34] @ littleidea joined channel #puppet | ||
| [2010/05/31 18:11:30] @ Quit: Mick27: Quit: Leaving | ||
| [2010/05/31 18:18:24] @ bodepd joined channel #puppet | ||
| [2010/05/31 18:18:48] @ Quit: bodepd: Client Quit | ||
| [2010/05/31 18:19:53] @ jfreeman joined channel #puppet | ||
| [2010/05/31 18:21:59] @ Quit: MattyM: Ping timeout: 258 seconds | ||
| [2010/05/31 18:23:04] @ alrs joined channel #puppet | ||
| [2010/05/31 18:23:16] @ Quit: thegcat: Quit: Leaving. | ||
| [2010/05/31 18:23:31] @ rodnet joined channel #puppet | ||
| [2010/05/31 18:25:16] @ Quit: jfreeman: Ping timeout: 240 seconds | ||
| [2010/05/31 18:27:38] @ Quit: mars__: Quit: Page closed | ||
| [2010/05/31 18:29:32] @ bodepd joined channel #puppet | ||
| [2010/05/31 18:32:19] @ ezekiel joined channel #puppet | ||
| [2010/05/31 18:32:48] @ blahdeblah joined channel #puppet | ||
| [2010/05/31 18:34:15] @ Quit: jab_doa: Quit: Verlassend | ||
| [2010/05/31 18:35:26] <prometheanfire> from that error I was getting at about 4 am this morning | ||
| [2010/05/31 18:35:33] <prometheanfire> with 0.25.5 I get: | ||
| [2010/05/31 18:35:34] <prometheanfire> May 31 18:33:05 test puppetd[22594]: Could not retrieve catalog from remote server: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed | ||
| [2010/05/31 18:35:46] <prometheanfire> so, it looks like I need to resign | ||
| [2010/05/31 18:37:31] <prometheanfire> where are the certs stored? | ||
| [2010/05/31 18:38:10] @ bkohler joined channel #puppet | ||
| [2010/05/31 18:38:50] @ Quit: alrs: Ping timeout: 248 seconds | ||
| [2010/05/31 18:39:09] <bodepd> prometheanfire: I would start by making sure the clocks are in sync | ||
| [2010/05/31 18:39:38] <bodepd> ca.pem is the ca cert file. you can check it with | ||
| [2010/05/31 18:39:55] <bodepd> #>openssl verify -CAfile certs/ca.pem certs/my_cert.pem | ||
| [2010/05/31 18:40:38] <prometheanfire> bodepd: that is where it stores the signed/revoked certs? | ||
| [2010/05/31 18:41:11] <prometheanfire> clocks are in sync | ||
| [2010/05/31 18:41:14] <bodepd> on the client, thats where is stores the ca cert and the clients ssl cert | ||
| [2010/05/31 18:42:06] <prometheanfire> oh | ||
| [2010/05/31 18:42:16] <bodepd> on the server | ||
| [2010/05/31 18:42:16] <bodepd> cd `puppetmasterd --configprint ssldir` | ||
| [2010/05/31 18:43:13] <bodepd> in the ca dir, ca/signed /and ca/ca_crt.pem | ||
| [2010/05/31 18:43:30] <prometheanfire> kk | ||
| [2010/05/31 18:48:49] @ Quit: bearnard: Quit: bearnard | ||
| [2010/05/31 18:50:48] <prometheanfire> I'm tempted to just wipe the ssl directory and start over | ||
| [2010/05/31 18:51:08] @ Quit: tonyskapunk: Quit: ERC Version 5.3 (IRC client for Emacs) | ||
| [2010/05/31 18:51:09] @ Quit: nexx: Quit: quit | ||
| [2010/05/31 18:55:15] <bodepd> that can be the easiest way sometimes. | ||
| [2010/05/31 18:59:40] @ Quit: rodnet: Ping timeout: 240 seconds | ||
| [2010/05/31 19:01:44] <prometheanfire> well, I got it to work by deleting the clients ssl directory | ||
| [2010/05/31 19:02:04] <prometheanfire> :D | ||
| [2010/05/31 19:07:56] @ Quit: blahdeblah: Quit: Leaving. | ||
| [2010/05/31 19:08:09] @ blahdeblah joined channel #puppet | ||
| [2010/05/31 19:10:19] @ OpenMedia joined channel #puppet | ||
| [2010/05/31 19:17:43] @ alrs joined channel #puppet | ||
| [2010/05/31 19:19:20] @ Quit: littleidea: Ping timeout: 265 seconds | ||
| [2010/05/31 19:20:48] @ littleidea joined channel #puppet | ||
| [2010/05/31 19:20:54] @ Quit: ahasenack: Quit: Leaving | ||
| [2010/05/31 19:23:54] @ Quit: bug: Quit: bug | ||
| [2010/05/31 19:26:19] @ Quit: robinbowes: Ping timeout: 240 seconds | ||
| [2010/05/31 19:32:13] @ \ask joined channel #puppet | ||
| [2010/05/31 19:32:45] @ bug joined channel #puppet | ||
| [2010/05/31 19:38:06] @ themurph joined channel #puppet | ||
| [2010/05/31 19:39:00] @ jfreeman joined channel #puppet | ||
| [2010/05/31 19:40:57] @ andypea joined channel #puppet | ||
| [2010/05/31 19:41:10] @ LetsShowEm joined channel #puppet | ||
| [2010/05/31 19:41:29] @ Quit: LetsShowEm: Client Quit | ||
| [2010/05/31 19:44:41] @ Quit: themurph: Quit: themurph | ||
| [2010/05/31 19:45:00] @ revolve joined channel #puppet | ||
| [2010/05/31 19:46:00] @ Quit: \ask: Remote host closed the connection | ||
| [2010/05/31 19:46:23] @ \ask joined channel #puppet | ||
| [2010/05/31 19:47:20] @ Quit: jfreeman: Remote host closed the connection | ||
| [2010/05/31 19:48:53] @ Quit: LapTop006: Ping timeout: 240 seconds | ||
| [2010/05/31 19:49:22] @ Transformer joined channel #puppet | ||
| [2010/05/31 19:50:33] @ Quit: \ask: Ping timeout: 240 seconds | ||
| [2010/05/31 19:51:35] @ Quit: paxos: Ping timeout: 260 seconds | ||
| [2010/05/31 19:52:12] @ Quit: bodepd: Quit: bodepd | ||
| [2010/05/31 19:52:52] @ Quit: Transformer: Excess Flood | ||
| [2010/05/31 19:56:38] @ tonyskapunk joined channel #puppet | ||
| [2010/05/31 19:56:59] @ bodepd joined channel #puppet | ||
| [2010/05/31 19:57:53] @ robinbowes joined channel #puppet | ||
| [2010/05/31 19:58:16] @ Transformer joined channel #puppet | ||
| [2010/05/31 20:01:04] @ Quit: littleidea: Quit: littleidea | ||
| [2010/05/31 20:01:41] @ Quit: Transformer: Excess Flood | ||
| [2010/05/31 20:07:11] @ Quit: alrs: Ping timeout: 265 seconds | ||
| [2010/05/31 20:19:29] @ alrs joined channel #puppet | ||
| [2010/05/31 20:22:24] <blkperl> so Teyo Tyree is talking at Open Source Bridge on puppet :D | ||
| [2010/05/31 20:23:02] @ ryanc_ joined channel #puppet | ||
| [2010/05/31 20:25:42] @ littleidea joined channel #puppet | ||
| [2010/05/31 20:30:33] @ Quit: robinbowes: Quit: Leaving | ||
| [2010/05/31 20:30:47] @ robinbowes joined channel #puppet | ||
| [2010/05/31 20:33:48] <ryanc_> I'd like to set up puppet such that I have one trusted backend pupetmaster server that has the CA on it and then multiple frontend pupetmaster servers that the puppet clients talk to. Is that possible? Is there any docs online about how to do that/ | ||
| [2010/05/31 20:34:54] <proton> sure, just don't put the private key on the frontend ones :) | ||
| [2010/05/31 20:35:58] <ryanc_> I've not yet found anything on the wiki about having subservient puppetmaster servers... What should I be looking for? | ||
| [2010/05/31 20:36:28] <proton> i doubt it's in the docs, it's a somewhat non-standard thing | ||
| [2010/05/31 20:36:34] <proton> just clone the config on to each one, bingo :) | ||
| [2010/05/31 20:36:38] @ Quit: bodepd: Quit: bodepd | ||
| [2010/05/31 20:36:43] <proton> stick a load balancer in front of it and you're good surely :) | ||
| [2010/05/31 20:36:47] <bob2> sounds liteerally like you just remove the private key | ||
| [2010/05/31 20:36:58] <ryanc_> proton: Clone the configs with say rsync? | ||
| [2010/05/31 20:37:14] @ rcrowley joined channel #puppet | ||
| [2010/05/31 20:37:25] <ryanc_> I know how to do that. | ||
| [2010/05/31 20:37:42] <ryanc_> probably some back-and-forth rsyncing needed, but that's no big deal. | ||
| [2010/05/31 20:37:59] <proton> well rsync from the master to the slaves sounds like what you want to me :) | ||
| [2010/05/31 20:38:00] <bob2> maybe you could use some sort of configuration management tool? | ||
| [2010/05/31 20:38:16] <ryanc_> bob2, heh, point. | ||
| [2010/05/31 20:38:20] <bob2> ;) | ||
| [2010/05/31 20:39:51] <ryanc_> My understanding was that puppet signs the manifests... is that correct? Where are the signatures? | ||
| [2010/05/31 20:40:20] <proton> i don't believe that's the case | ||
| [2010/05/31 20:40:37] <ryanc_> That's a problem :/ | ||
| [2010/05/31 20:41:13] <proton> there is a trust with the certs on both ends, not sure on the actual comms being signed/encrypted though | ||
| [2010/05/31 20:41:39] <proton> i'd suggest that as it's a bit of a non-standard config you'll have to play around for a bit :) | ||
| [2010/05/31 20:43:02] <ryanc_> yeah, i wanted a central 'trusted' server that sends data to secondary servers such that a compromise of the secondary server wouldn't give you the ability to make changes to the clients. | ||
| [2010/05/31 20:43:35] <proton> ahhh, that's not going to happen at the moment | ||
| [2010/05/31 20:43:48] <ryanc_> Well, fsck. | ||
| [2010/05/31 20:44:02] <ryanc_> that blows. | ||
| [2010/05/31 20:44:28] <ryanc_> earlier someone told me that it signs the manifests and I'd be able to do that. | ||
| [2010/05/31 20:44:30] <ryanc_> :( | ||
| [2010/05/31 20:44:45] <ryanc_> but I don't see any signed manifests | ||
| [2010/05/31 20:44:55] <proton> if it does it's purely because the comms stream is signed, not signed and stored on disk or anything | ||
| [2010/05/31 20:45:41] <ryanc_> Yeah, I'd just like to not have to trust the secondary puppetmaster servers | ||
| [2010/05/31 20:46:05] <proton> you can run puppet standalone so you could potentially bypass the puppetmasterd and implement your own way of getting the manifests out to the clients | ||
| [2010/05/31 20:46:09] <ryanc_> yeah | ||
| [2010/05/31 20:46:14] <ryanc_> I saw that | ||
| [2010/05/31 20:47:05] <ryanc_> I'm not sure how to make that work well. | ||
| [2010/05/31 20:47:29] <proton> yeah, well it would suck :) | ||
| [2010/05/31 20:47:30] <ryanc_> I could push out gpg signed tarballs of data easilly enough | ||
| [2010/05/31 20:47:58] <proton> you should by the way file a bug on the functioanlity you're after if there isn't already a similar bug out there... | ||
| [2010/05/31 20:48:09] <ryanc_> Yeah. | ||
| [2010/05/31 20:49:26] @ Quit: bug: Quit: bug | ||
| [2010/05/31 20:50:28] @ bodepd joined channel #puppet | ||
| [2010/05/31 20:51:01] @ Quit: bgupta: Ping timeout: 272 seconds | ||
| [2010/05/31 20:55:39] @ bug joined channel #puppet | ||
| [2010/05/31 20:58:53] @ Quit: bodepd: Quit: bodepd | ||
| [2010/05/31 20:59:41] @ Quit: bug: Ping timeout: 240 seconds | ||
| [2010/05/31 21:01:05] @ comprehensive joined channel #puppet | ||
| [2010/05/31 21:03:53] @ Quit: achester: Remote host closed the connection | ||
| [2010/05/31 21:04:17] @ comprehensive left channel #puppet () | ||
| [2010/05/31 21:04:27] @ achester joined channel #puppet | ||
| [2010/05/31 21:06:41] @ Quit: rcrowley: Quit: rcrowley | ||
| [2010/05/31 21:08:05] @ Quit: tonyskapunk: Ping timeout: 265 seconds | ||
| [2010/05/31 21:12:29] @ bgupta joined channel #puppet | ||
| [2010/05/31 21:19:07] @ bearnard_ joined channel #puppet | ||
| [2010/05/31 21:20:47] @ shenson joined channel #puppet | ||
| [2010/05/31 21:21:19] <ryanc_> hmm | ||
| [2010/05/31 21:21:58] <ryanc_> is there a standard way to have things in facter that return data structures more complicated than a string? | ||
| [2010/05/31 21:23:01] <ryanc_> I see you can do arrays | ||
| [2010/05/31 21:23:15] <ryanc_> are arrays of arrays sanely doable? | ||
| [2010/05/31 21:27:04] @ Quit: revolve: Ping timeout: 276 seconds | ||
| [2010/05/31 21:27:54] @ Quit: ezekiel: Quit: you can go when I say you can go - I say you can go when you are dead | ||
| [2010/05/31 21:28:27] @ PaulWay[w] joined channel #puppet | ||
| [2010/05/31 21:29:47] @ Quit: littleidea: Quit: littleidea | ||
| [2010/05/31 21:30:25] <PaulWay[w]> Is multiple class inheritance possible? | ||
| [2010/05/31 21:32:56] @ littleidea joined channel #puppet | ||
| [2010/05/31 21:33:09] <PaulWay[w]> Doesn't look like it. | ||
| [2010/05/31 21:33:10] <PaulWay[w]> Hmmm. | ||
| [2010/05/31 21:33:16] <PaulWay[w]> Maybe I can do this another way. | ||
| [2010/05/31 21:37:05] @ Quit: bgupta: Ping timeout: 265 seconds | ||
| [2010/05/31 21:43:17] * PaulWay[w] is still trying to work out the sense of exec unless and onlyif vs grep and test. | ||
| [2010/05/31 21:47:04] @ Quit: bkohler: Ping timeout: 258 seconds | ||
| [2010/05/31 21:50:13] <RS-232> PaulWay[w]: i think the latter reads better, but it is what you are used to | ||
| [2010/05/31 21:50:53] @ ezekiel joined channel #puppet | ||
| [2010/05/31 21:51:26] @ M- joined channel #puppet | ||
| [2010/05/31 21:51:37] <RS-232> PaulWay[w]: for example, I use a: command => 'find /etc/hosts.allow.d -type f | sort | xargs cat > /etc/hosts.allow.tmp && test -s /etc/hosts.allow.tmp && mv /etc/hosts.allow.tmp /etc/hosts.allow' | ||
| [2010/05/31 21:53:34] @ keej joined channel #puppet | ||
| [2010/05/31 21:53:38] <andypea> Does service { "foo", ensure => running } restart foo even if it is already running? | ||
| [2010/05/31 21:53:49] @ Quit: achester: Remote host closed the connection | ||
| [2010/05/31 21:53:54] <ohadlevy> andypea: no | ||
| [2010/05/31 21:54:05] <RS-232> andypea: if it receives a Notify it does. | ||
| [2010/05/31 21:56:28] @ lak joined channel #puppet | ||
| [2010/05/31 21:56:51] @ Quit: zahna: Ping timeout: 265 seconds | ||
| [2010/05/31 21:57:03] @ achester joined channel #puppet | ||
| [2010/05/31 21:57:27] <keej> can i call a function that is stored in another module? or would i need to put my function into $libdir/puppet/parser/functions | ||
| [2010/05/31 21:58:03] <andypea> RS-232: That must be my problem, autofs really doesn't like to be restarted on my system. | ||
| [2010/05/31 21:58:22] <ohadlevy> andypea: use restart => /sbin/service autofs reload | ||
| [2010/05/31 22:01:35] @ bug joined channel #puppet | ||
| [2010/05/31 22:02:52] @ Quit: lak: Quit: lak | ||
| [2010/05/31 22:03:11] @ Quit: ashp: Ping timeout: 265 seconds | ||
| [2010/05/31 22:03:25] @ ashp joined channel #puppet | ||
| [2010/05/31 22:05:37] @ \ask joined channel #puppet | ||
| [2010/05/31 22:05:49] <andypea> ohadlevy: Thanks, I didn't know you could do that! | ||
| [2010/05/31 22:06:26] @ alexine_dsouza joined channel #puppet | ||
| [2010/05/31 22:09:15] @ Quit: achester: Remote host closed the connection | ||
| [2010/05/31 22:09:34] @ achester joined channel #puppet | ||
| [2010/05/31 22:10:22] @ rcrowley joined channel #puppet | ||
| [2010/05/31 22:15:36] @ bgupta joined channel #puppet | ||
| [2010/05/31 22:25:26] <ryanc_> http://docs.puppetlabs.com/guides/plugins_in_modules.html < Is it just me or is this really vague? | ||
| [2010/05/31 22:40:46] @ Quit: achester: Remote host closed the connection | ||
| [2010/05/31 22:44:33] @ achester joined channel #puppet | ||
| [2010/05/31 22:47:34] <andypea> Hi again, what does a status command have to return? Just true or false? | ||
| [2010/05/31 22:48:21] <agaffney> status for what? | ||
| [2010/05/31 22:48:34] <agaffney> a service resource? | ||
| [2010/05/31 22:48:42] <agaffney> it doesn't matter what the output is | ||
| [2010/05/31 22:48:46] <agaffney> it looks at the exit code | ||
| [2010/05/31 22:49:03] <agaffney> 0 for running and non-zero for "there's a problem of some sort" | ||
| [2010/05/31 22:49:36] @ avocado joined channel #puppet | ||
| [2010/05/31 22:50:34] <andypea> eg. 'service { 'foo': status => 'pgrep bar' ) | ||
| [2010/05/31 22:51:38] <ryanc_> Can anybody help me figure out how to get my custom facts to work? I'm using 0.25.4 and I put one in /etc/puppet/modules/custom/lib/facter/rpm_info.rb. I turned on pluginsync and set the factpath to $vardir/lib/facter. restarting puppetmaster doesn't seem to help. | ||
| [2010/05/31 22:51:45] <andypea> I thing I have the exit code the wrong way round | ||
| [2010/05/31 22:58:47] @ lak joined channel #puppet | ||
| [2010/05/31 23:00:23] <PaulWay[w]> andypea: a good way to test is e.g. 'grep foo bar && echo yes || echo no' | ||
| [2010/05/31 23:00:39] <QtPlatypus> Is it possable to define new functions in puppet or just new defines? | ||
| [2010/05/31 23:01:23] <PaulWay[w]> I thought a define was a kind of function - what do you mean? | ||
| [2010/05/31 23:01:57] <QtPlatypus> Define creates a new type of resource you can mannige. | ||
| [2010/05/31 23:01:59] <odyi> ryanc_: Are you receiving any errors when you do a puppet run on your clients after enabling pluginsync? | ||
| [2010/05/31 23:02:38] <PaulWay[w]> Ah, creating resources - yes, you would have to write new Ruby code for that AFAIK. | ||
| [2010/05/31 23:02:56] <PaulWay[w]> Or, at least, it's not just writing in Puppet's definition language. | ||
| [2010/05/31 23:03:02] <PaulWay[w]> But what do I know? | ||
| [2010/05/31 23:04:32] <odyi> A defined resource type can do a lot of what a native one can. Just currently you have to write them in puppet-lang if you don't want to touch the puppet source code its self. | ||
| [2010/05/31 23:04:48] <odyi> Future releases will have the ruby dsl which will allow you to write them in ruby. | ||
| [2010/05/31 23:05:11] <odyi> (you will be able to write every manifest entirely in ruby if you want) | ||
| [2010/05/31 23:06:02] <odyi> Plus be careful how you use the word function. A function in puppet is something that runs on the puppetmaster and not on the clients. | ||
| [2010/05/31 23:07:52] @ zahna joined channel #puppet | ||
| [2010/05/31 23:08:13] @ Quit: achester: Remote host closed the connection | ||
| [2010/05/31 23:15:04] @ Quit: cliff-hm: Ping timeout: 245 seconds | ||
| [2010/05/31 23:23:22] @ pinoyskull joined channel #puppet | ||
| [2010/05/31 23:28:07] <ryanc_> odyi: nope, no errors | ||
| [2010/05/31 23:28:52] <ryanc_> odyi: I was able to get facter to run my custom facts on the puppetmaster box with one of the listed hacks, so my ruby code seems to be fine. | ||
| [2010/05/31 23:29:25] <ryanc_> I seems i have installed it wrong and am failing to grok the docs. | ||
| [2010/05/31 23:30:00] @ Quit: alrs: Ping timeout: 240 seconds | ||
| [2010/05/31 23:31:17] <odyi> ryanc_: do you have pluginsync enabled on your clients? | ||
| [2010/05/31 23:32:32] <ryanc_> Ah. No I do not. | ||
| [2010/05/31 23:32:55] <ryanc_> I didn't realize it needed to be done on the clients | ||
| [2010/05/31 23:33:09] * ohadlevy wonders if anyone tried the puppetdoc integration with foreman? | ||
| [2010/05/31 23:33:28] @ Quit: lak: Quit: lak | ||
| [2010/05/31 23:33:34] <blood> whats the puppetd genconfig command? | ||
| [2010/05/31 23:33:54] <ryanc_> odyi: But that didn't fix it. | ||
| [2010/05/31 23:34:18] <odyi> blood: ?? uhm...`puppetd --genconfig` | ||
| [2010/05/31 23:34:36] <blood> thanks | ||
| [2010/05/31 23:36:10] <odyi> ryanc_: I have a [plugins] section in my fileserver.conf...I can't honestly remember if that is needed or if it is a left over from our pre-module/pre-0.25 days. | ||
| [2010/05/31 23:36:49] <ohadlevy> its not needed if you are on 0.25 | ||
| [2010/05/31 23:36:49] * odyi isn't going to break his 200+ node plus puppet install to find out either. | ||
| [2010/05/31 23:38:40] <ryanc_> hm | ||
| [2010/05/31 23:38:51] <ryanc_> i'm not sure that I have fileserver enabled | ||
| [2010/05/31 23:39:54] <ryanc_> hmm | ||
| [2010/05/31 23:41:22] @ Quit: littleidea: Quit: littleidea | ||
| [2010/05/31 23:42:15] @ lak joined channel #puppet | ||
| [2010/05/31 23:42:41] <ryanc_> It seems that I oughtn't need fileserver for fact sync | ||
| [2010/05/31 23:43:22] <ohadlevy> I dont think you need it if you use pluginsync | ||
| [2010/05/31 23:44:30] <ryanc_> right, so then the question is how have i screwed up pluginsync? | ||
| [2010/05/31 23:44:52] @ littleidea joined channel #puppet | ||
| [2010/05/31 23:45:45] <odyi> Did you set factpath on your puppetmaster? | ||
| [2010/05/31 23:46:32] <odyi> (you shouldn't need to) | ||
| [2010/05/31 23:47:15] <ryanc_> I did, as per the docs it's set to $vardir/lib/facter | ||
| [2010/05/31 23:47:37] <ryanc_> I mentioned that in my question originally. | ||
| [2010/05/31 23:48:55] @ Quit: noyb: Quit: noyb | ||
| [2010/05/31 23:48:59] @ Quit: littleidea: Ping timeout: 240 seconds | ||
| [2010/05/31 23:49:25] @ Quit: lak: Quit: lak | ||
| [2010/05/31 23:50:21] <odyi> I would kinda find it odd but I wonder if the puppetmaster is looking for facts to transfer using factdir instead of serving them out of the module structure. | ||
| [2010/05/31 23:50:55] <ryanc_> Maybe. | ||
| [2010/05/31 23:51:38] <ryanc_> the directory i defined doesn't even exist. | ||
| [2010/05/31 23:53:02] <ryanc_> creating it and copying the file there doesn't fix it though | ||
| [2010/05/31 23:53:33] <ryanc_> nor does disabling the factpath config line | ||
| [2010/05/31 23:54:04] <odyi> are you using any other modules and do you have modulepath set? | ||
| [2010/05/31 23:54:26] * odyi is really just throwing out brainstorming ideas. | ||
| [2010/05/31 23:57:43] @ bodepd joined channel #puppet |
Generated by irclog2html.py 2.8 by Marius Gedminas - find it at mg.pov.lt!