| [2010/07/12 00:00:13] @ Log started by gepetto | ||
| [2010/07/12 00:00:13] @ gebi joined channel #puppet | ||
| [2010/07/12 00:08:11] @ \ask joined channel #puppet | ||
| [2010/07/12 00:10:40] @ KenjiP0p is now known as KenjiP0p|away | ||
| [2010/07/12 00:13:13] @ KenjiP0p|away is now known as KenjiP0p | ||
| [2010/07/12 00:16:30] @ ckauhaus joined channel #puppet | ||
| [2010/07/12 00:20:03] <rodjek> sejo: you're missing a colon | ||
| [2010/07/12 00:20:09] <rodjek> disable_fs{$fs} | ||
| [2010/07/12 00:20:20] <rodjek> should be disable_fs { $fs: } | ||
| [2010/07/12 00:23:07] <sejo> indeed thanks | ||
| [2010/07/12 00:23:11] <sejo> that works | ||
| [2010/07/12 00:24:07] @ Quit: blahdeblah: Ping timeout: 276 seconds | ||
| [2010/07/12 00:28:47] @ Quit: poison: Remote host closed the connection | ||
| [2010/07/12 00:36:40] @ spawnyd joined channel #puppet | ||
| [2010/07/12 00:42:41] @ Quit: ckauhaus: Ping timeout: 252 seconds | ||
| [2010/07/12 00:43:59] @ pinoyskull joined channel #puppet | ||
| [2010/07/12 00:43:59] @ drebs joined channel #puppet | ||
| [2010/07/12 00:43:59] @ eric0 joined channel #puppet | ||
| [2010/07/12 00:44:50] @ nexx joined channel #puppet | ||
| [2010/07/12 00:49:04] @ robinbowes joined channel #puppet | ||
| [2010/07/12 00:49:05] @ chadh joined channel #puppet | ||
| [2010/07/12 00:49:05] @ shine joined channel #puppet | ||
| [2010/07/12 00:49:05] @ mboyd joined channel #puppet | ||
| [2010/07/12 00:49:05] @ kuh joined channel #puppet | ||
| [2010/07/12 00:49:05] @ Roksteady joined channel #puppet | ||
| [2010/07/12 00:52:36] @ ckauhaus joined channel #puppet | ||
| [2010/07/12 00:53:36] @ Quit: gniks: Changing host | ||
| [2010/07/12 00:53:36] @ gniks joined channel #puppet | ||
| [2010/07/12 00:54:54] @ blahdeblah joined channel #puppet | ||
| [2010/07/12 00:56:34] @ Quit: freshtonic: Quit: freshtonic | ||
| [2010/07/12 00:59:22] @ Quit: \ask: Ping timeout: 248 seconds | ||
| [2010/07/12 01:01:21] @ ] is now known as hy | ||
| [2010/07/12 01:03:47] @ MattyM joined channel #puppet | ||
| [2010/07/12 01:06:11] @ \ask joined channel #puppet | ||
| [2010/07/12 01:06:35] @ Quit: alcy: Ping timeout: 246 seconds | ||
| [2010/07/12 01:06:39] @ macfly joined channel #puppet | ||
| [2010/07/12 01:06:45] @ TREllis joined channel #puppet | ||
| [2010/07/12 01:07:28] @ Quit: SyRenity: Ping timeout: 276 seconds | ||
| [2010/07/12 01:10:00] @ Quit: gebi: Ping timeout: 265 seconds | ||
| [2010/07/12 01:11:22] @ Quit: bobinabottle: Quit: bobinabottle | ||
| [2010/07/12 01:12:10] @ SyRenity joined channel #puppet | ||
| [2010/07/12 01:14:21] <spawnyd> Can anyone point me to a ext/rack/files/config.ru file needed for http://projects.puppetlabs.com/projects/puppet/wiki/Using_Unicorn , please? | ||
| [2010/07/12 01:18:24] @ poison joined channel #puppet | ||
| [2010/07/12 01:19:43] @ KenjiP0p is now known as KenjiP0p|away | ||
| [2010/07/12 01:19:46] @ Quit: feffe: Read error: Operation timed out | ||
| [2010/07/12 01:22:05] @ MarkN1 joined channel #puppet | ||
| [2010/07/12 01:22:09] @ Quit: \ask: Remote host closed the connection | ||
| [2010/07/12 01:23:00] @ \ask joined channel #puppet | ||
| [2010/07/12 01:25:10] @ themroc joined channel #puppet | ||
| [2010/07/12 01:27:54] @ mattock joined channel #puppet | ||
| [2010/07/12 01:30:23] @ KenjiP0p|away is now known as KenjiP0p | ||
| [2010/07/12 01:31:37] @ lkoranda joined channel #puppet | ||
| [2010/07/12 01:33:56] @ Quit: ckauhaus: Quit: Leaving. | ||
| [2010/07/12 01:34:24] @ Quit: \ask: Remote host closed the connection | ||
| [2010/07/12 01:38:10] @ _nono_ joined channel #puppet | ||
| [2010/07/12 01:48:51] @ itguru joined channel #puppet | ||
| [2010/07/12 01:48:52] @ Quit: itguru: Changing host | ||
| [2010/07/12 01:48:52] @ itguru joined channel #puppet | ||
| [2010/07/12 01:49:55] <rodjek> spawnyd: http://github.com/reductivelabs/puppet/blob/master/ext/rack/files/config.ru is the one i use | ||
| [2010/07/12 01:50:03] <TheAvatar> nopaste.dk/p2185 - Any ideas how to solve that issue? | ||
| [2010/07/12 01:50:21] <TheAvatar> http://nopaste.dk/p2185 - Any ideas how to solve that issue? I | ||
| [2010/07/12 01:50:33] <henk> TheAvatar: remove the escaping? | ||
| [2010/07/12 01:50:48] <henk> ah... | ||
| [2010/07/12 01:50:51] <TheAvatar> :D | ||
| [2010/07/12 01:51:34] <henk> i don't even really understand how that code works o_O | ||
| [2010/07/12 01:51:57] <TheAvatar> look for 'root' in /etc/aliases, if present, change whatever after root: to 'ensure' (the pattern) | ||
| [2010/07/12 01:52:04] @ Naresh joined channel #puppet | ||
| [2010/07/12 01:52:11] <TheAvatar> it is some escaping/parsing issue | ||
| [2010/07/12 01:52:36] <henk> is that pure puppet? or with augeas? | ||
| [2010/07/12 01:52:38] <TheAvatar> I tried having $environment@@ares.domain.com, then it does ENVIRONMENT@.domain.com iirc | ||
| [2010/07/12 01:52:46] <TheAvatar> never heard of augeas, so pure puppet | ||
| [2010/07/12 01:53:11] <TheAvatar> I'd say things break at the @ - works if I dont escape the dots | ||
| [2010/07/12 01:53:15] <TheAvatar> but the @ is acting weird | ||
| [2010/07/12 01:53:25] <henk> hm, never heard of 'replace' before... so i'll just listen and learn :) | ||
| [2010/07/12 01:53:38] <rodjek> you might need to double escape it if your replace type just passes it through to something like sed | ||
| [2010/07/12 01:53:45] <rodjek> \\\@ for example | ||
| [2010/07/12 01:54:05] <TheAvatar> it is some 'common module' that uses preg for replacing (I think) | ||
| [2010/07/12 01:54:09] <TheAvatar> let me try double escaping | ||
| [2010/07/12 01:54:35] <rodjek> \\@ actually | ||
| [2010/07/12 01:54:49] <spawnyd> rodjek: ty | ||
| [2010/07/12 01:56:13] @ Quit: AK: Quit: Page closed | ||
| [2010/07/12 01:56:23] <TheAvatar> ah yes, I actually think double escaping solves it | ||
| [2010/07/12 01:57:09] <rodjek> excellent | ||
| [2010/07/12 01:58:24] <TheAvatar> thanks | ||
| [2010/07/12 01:59:03] <rodjek> no probs | ||
| [2010/07/12 02:00:13] @ mfournier joined channel #puppet | ||
| [2010/07/12 02:01:28] @ arnt joined channel #puppet | ||
| [2010/07/12 02:02:09] <arnt> good morning. should I expect a puppetd 0.25.4 to talk to a puppetmasterd 0.24.8, or is that doomed to failure? | ||
| [2010/07/12 02:02:21] <Volcane> master should be newest | ||
| [2010/07/12 02:03:01] @ omry|work joined channel #puppet | ||
| [2010/07/12 02:03:06] <arnt> ok. marvellous failure mode btw. | ||
| [2010/07/12 02:04:19] @ Quit: gniks: Quit: Leaving. | ||
| [2010/07/12 02:05:05] @ alban2 joined channel #puppet | ||
| [2010/07/12 02:09:30] @ ohadlevy left channel #puppet () | ||
| [2010/07/12 02:11:54] @ Quit: benoit__: Ping timeout: 248 seconds | ||
| [2010/07/12 02:12:25] @ benoit__ joined channel #puppet | ||
| [2010/07/12 02:18:37] @ ckauhaus joined channel #puppet | ||
| [2010/07/12 02:23:21] @ ecolitan joined channel #puppet | ||
| [2010/07/12 02:34:06] @ Quit: elementai: Quit: leaving | ||
| [2010/07/12 02:36:37] @ elementai joined channel #puppet | ||
| [2010/07/12 02:42:20] @ Quit: blahdeblah: Ping timeout: 260 seconds | ||
| [2010/07/12 02:43:42] @ Quit: QuackNL: *.net *.split | ||
| [2010/07/12 02:47:23] @ QuackNL joined channel #puppet | ||
| [2010/07/12 02:48:49] <sejo> hey all how can i check in limits,conf that domain[*] has type hard, item core and value 0 ? | ||
| [2010/07/12 02:48:53] <sejo> trying to figure out a match for it (using augeas in puppet) | ||
| [2010/07/12 02:49:18] @ thuglife left channel #puppet () | ||
| [2010/07/12 02:52:22] @ Quit: benoit__: Ping timeout: 245 seconds | ||
| [2010/07/12 02:53:19] @ verwilst joined channel #puppet | ||
| [2010/07/12 03:01:06] @ Quit: pinoyskull: Ping timeout: 258 seconds | ||
| [2010/07/12 03:05:11] <kenneho> Hi all. I'm trying to set up Puppetmaster with multiple environments. When adding a section to /etc/puppet/puppet.conf describing an environment (name, "manifest" and "modulepath") other than the default puppetmaster fails to pick up _any_ environment. Do basically it seems like adding a environement to puppet.conf simply breaks puppetmaster. Anyone got any clues as to why this is happeing? | ||
| [2010/07/12 03:05:25] @ benoit__ joined channel #puppet | ||
| [2010/07/12 03:06:17] <kenneho> Is there perhaps any requirements to what the "site.pp" file must contain to get things working? | ||
| [2010/07/12 03:08:36] @ Pupeno joined channel #puppet | ||
| [2010/07/12 03:14:21] @ pinoyskull joined channel #puppet | ||
| [2010/07/12 03:27:52] @ KenjiP0p is now known as KenjiP0p|away | ||
| [2010/07/12 03:27:57] @ KenjiP0p|away is now known as KenjiP0p | ||
| [2010/07/12 03:43:31] <kenneho> Actually, it seems like adding a envinronment causes puppetmaster to stop executing the external nodes script. So the client never gets the configuration it's supposed to implement. | ||
| [2010/07/12 04:00:29] @ arnt left channel #puppet ("Enter part reason here") | ||
| [2010/07/12 04:01:30] @ mfladischer joined channel #puppet | ||
| [2010/07/12 04:24:02] <itguru> http://pastebin.org/389962 -- How can I add centos to this, or a default so that ntp gets installed for all | ||
| [2010/07/12 04:25:58] @ Quit: alban2: Quit: Leaving. | ||
| [2010/07/12 04:31:13] @ raz joined channel #puppet | ||
| [2010/07/12 04:31:18] <bronto> In site.pp, I want to assign different values to a variable, depending if it includes a certain class or not. How do I check if a node includes some::class? | ||
| [2010/07/12 04:35:08] <tim|mac> bronto: you don't | ||
| [2010/07/12 04:35:23] <bronto> tim|mac: hmmm... pointers? | ||
| [2010/07/12 04:35:41] <tim|mac> which version of puppet are you using? | ||
| [2010/07/12 04:36:09] <tim|mac> you can try with the "if defined(Class["some::class"])" syntax, but order is important here and it isn't guaranteed (yet) | ||
| [2010/07/12 04:36:13] <bronto> tim|mac: 0.25.4 (debian backports) | ||
| [2010/07/12 04:36:53] <tim|mac> i'd suggest looking at your classes to see if you have modeled them correctly | ||
| [2010/07/12 04:36:58] <bronto> tim|mac: OK, but does defined tell me if _this_ node is including that, or just if that class was defined? In the second case, it's useless | ||
| [2010/07/12 04:37:27] <tim|mac> it tells you if the node for which the manifest is compiled includes the class | ||
| [2010/07/12 04:38:29] <bronto> tim|mac: OK | ||
| [2010/07/12 04:40:01] <bronto> tim|mac: about wrong modelling, I guess you mean that if classes are modelled in some other way, I never should need to do conditional assignments? | ||
| [2010/07/12 04:40:49] @ Quit: benoit__: Ping timeout: 264 seconds | ||
| [2010/07/12 04:41:14] @ Quit: kenneho: Ping timeout: 265 seconds | ||
| [2010/07/12 04:42:04] <tim|mac> bronto: well, modelling is sort of my thing with puppet... but it might be a bit too much for what you're doing | ||
| [2010/07/12 04:42:06] <tim|mac> however | ||
| [2010/07/12 04:42:18] <tim|mac> I'm not sure which problem you're trying to solve with this | ||
| [2010/07/12 04:42:28] <tim|mac> it might be better solved if you thought a little different about your classes | ||
| [2010/07/12 04:42:35] @ benoit__ joined channel #puppet | ||
| [2010/07/12 04:42:55] @ kenneho joined channel #puppet | ||
| [2010/07/12 04:43:10] <bronto> tim|mac: it's a bit long to explain. I can try to do that in 5 minutes, if you wish | ||
| [2010/07/12 04:44:10] @ Bass10 joined channel #puppet | ||
| [2010/07/12 04:45:29] <tim|mac> bronto: that's usually a sign that your design can be a little better ;-) but feel free, I don't mind trying to help you with it... maybe my train of thought can lead you to a desired conclusion :) | ||
| [2010/07/12 04:45:47] <tim|mac> but I'm at the office, so sometimes a little bit slow ;-) | ||
| [2010/07/12 04:48:36] <bronto> tim|mac: well, I am trying to distribute the load creating a hierarchy of puppetmasters. There will be a main puppetmaster and a number of distribution servers. puppet.conf is template based, and fills in the server directive using the value of a variable. Given this: | ||
| [2010/07/12 04:49:54] <bronto> tim|mac: I want the puppetmaster to detect if the connecting node is a distribution server (which is defined through a puppet::distserver class). If it is, then it should set puppetmaster as his master, but set itself as a master for clients. | ||
| [2010/07/12 04:50:35] <bronto> tim|mac: so, puppetmaster discriminates based on "it is/isn't a distribution server", while a distribution servers discriminates on "it's me/not me" | ||
| [2010/07/12 04:50:52] <bronto> tim|mac: that's it | ||
| [2010/07/12 04:51:31] @ Quit: StuZZZs: Remote host closed the connection | ||
| [2010/07/12 04:52:02] @ julienaa1111 joined channel #puppet | ||
| [2010/07/12 04:52:21] @ yannL joined channel #puppet | ||
| [2010/07/12 04:52:45] <fenris02> bronto, isnt that what /var/lib/puppet/classes.txt is for? | ||
| [2010/07/12 04:53:06] @ tecto joined channel #puppet | ||
| [2010/07/12 04:53:06] @ Quit: tecto: Changing host | ||
| [2010/07/12 04:53:06] @ tecto joined channel #puppet | ||
| [2010/07/12 04:53:10] <bronto> fenris02: maybe, I don't know that file :) Pointers? | ||
| [2010/07/12 04:53:17] @ StuZZZs joined channel #puppet | ||
| [2010/07/12 04:53:31] <Volcane> bronto: there isnt currently a good way to answer 'is this class on the node' in a manifest, you can do if defined(Class["foo"]) but it doesnt work well since it never gives you the full picture | ||
| [2010/07/12 04:54:17] <bronto> ...OMG... | ||
| [2010/07/12 04:55:26] <tim|mac> bronto: hm ok... we usually make the puppetmaster's puppet point to itself too... but I can understand the problem | ||
| [2010/07/12 04:55:35] <Volcane> its order dependant, so it only knows about classes that was already defined in your code | ||
| [2010/07/12 04:55:40] <Volcane> not ones included later on | ||
| [2010/07/12 04:56:22] <tim|mac> however, I'd tackle it by either including something like puppet::client or puppet::master and maybe creating a separate puppet::master::client that is included in ::master and sets the stuff correctly | ||
| [2010/07/12 04:56:57] <tim|mac> actually, I'd make a puppet::client with a good default and make aa puppet::master::client that inherits puppet::client and overrides the default :) | ||
| [2010/07/12 04:58:49] <bronto> tim|mac: I already have puppet::client and puppet::master. I'd be happy to override, but since puppet is a bit squeamish at defining variables twice, I fear I can easily get it wrong, and hard to debug. | ||
| [2010/07/12 04:58:59] <bronto> tim|mac: anyway, I can give it a try | ||
| [2010/07/12 04:59:47] <tim|mac> bronto: I'd use a $default_puppetmaster in site.pp and make a define that has that value as the default, instantiate it so you can override it | ||
| [2010/07/12 04:59:58] <tim|mac> it's a little bit cludgy, though | ||
| [2010/07/12 05:00:51] <tim|mac> maybe what you want is a Fact... would be nice to have a fact that lists all classes in classes.txt, separated by a ; or so, so you can use split easily and search through the array with the new 'in' directive :) | ||
| [2010/07/12 05:01:13] <Volcane> tim|mac: bit of a chicken and egg there :) | ||
| [2010/07/12 05:01:28] <tim|mac> Volcane: true for the first run | ||
| [2010/07/12 05:02:27] @ Quit: yure: Remote host closed the connection | ||
| [2010/07/12 05:03:26] <bronto> ...this thing is making me feel sick... ugh... | ||
| [2010/07/12 05:04:36] <bronto> tim|mac: but if I maintain a list of the distribution server (which I should do anyway), then I can use it in the main master, right? I should just find where that "in" directive is documented... | ||
| [2010/07/12 05:04:54] @ tecto_ joined channel #puppet | ||
| [2010/07/12 05:05:00] <tim|mac> bronto: the in is only in dev version now, sorry | ||
| [2010/07/12 05:05:06] <tim|mac> but you could use extlookup | ||
| [2010/07/12 05:05:08] <tim|mac> which is awesome | ||
| [2010/07/12 05:05:17] <tim|mac> for that kind of stuff | ||
| [2010/07/12 05:05:22] * bronto feeling more sick... | ||
| [2010/07/12 05:06:15] <bronto> tim|mac: OK, I'll ponder these and see what I can turn up with... | ||
| [2010/07/12 05:06:18] @ Quit: tecto: Ping timeout: 248 seconds | ||
| [2010/07/12 05:06:18] @ tecto_ is now known as tecto | ||
| [2010/07/12 05:06:19] <bronto> thanks for now | ||
| [2010/07/12 05:10:33] @ Quit: itguru: Ping timeout: 252 seconds | ||
| [2010/07/12 05:12:04] @ itguru joined channel #puppet | ||
| [2010/07/12 05:12:04] @ Quit: itguru: Changing host | ||
| [2010/07/12 05:12:04] @ itguru joined channel #puppet | ||
| [2010/07/12 05:18:24] @ ahasenack joined channel #puppet | ||
| [2010/07/12 05:20:03] <FiXion> anyone know of a facter plugin that enables me to check for aliases on interfaces? | ||
| [2010/07/12 05:20:07] <FiXion> like eth0:1 | ||
| [2010/07/12 05:20:19] <Volcane> it does that by default | ||
| [2010/07/12 05:20:28] <FiXion> not here :( | ||
| [2010/07/12 05:20:38] <FiXion> facter (run on cli) has no mentioning of the alias addresses | ||
| [2010/07/12 05:20:51] <Volcane> ipaddress_eth0_1 | ||
| [2010/07/12 05:21:01] <Volcane> what version facter? | ||
| [2010/07/12 05:21:11] <FiXion> it seems I still have an old one - 1.3.8 | ||
| [2010/07/12 05:21:26] <FiXion> I believe I have 1.5.7 ready - probably forgot to roll it out with the upgrade to 0.25.5.. | ||
| [2010/07/12 05:22:53] <FiXion> yup - fixed by newer version. | ||
| [2010/07/12 05:23:54] @ Quit: p3rror: Read error: Operation timed out | ||
| [2010/07/12 05:26:33] @ jab_doa joined channel #puppet | ||
| [2010/07/12 05:27:15] @ Quit: tecto: Read error: Connection reset by peer | ||
| [2010/07/12 05:27:19] @ tecto joined channel #puppet | ||
| [2010/07/12 05:29:30] @ carlasouza joined channel #puppet | ||
| [2010/07/12 05:30:47] @ gebi joined channel #puppet | ||
| [2010/07/12 05:31:11] @ Quit: tecto: Read error: Connection reset by peer | ||
| [2010/07/12 05:31:20] @ tecto joined channel #puppet | ||
| [2010/07/12 05:31:20] @ Quit: tecto: Changing host | ||
| [2010/07/12 05:31:20] @ tecto joined channel #puppet | ||
| [2010/07/12 05:33:57] @ AK joined channel #puppet | ||
| [2010/07/12 05:34:10] @ tecto_ joined channel #puppet | ||
| [2010/07/12 05:34:10] @ Quit: tecto_: Changing host | ||
| [2010/07/12 05:34:10] @ tecto_ joined channel #puppet | ||
| [2010/07/12 05:36:22] @ Quit: tecto: Read error: Connection reset by peer | ||
| [2010/07/12 05:37:08] <AK> Puppet (err): Could not retrieve catalog from remote server: Error 400 on SERVER: Failed when searching for node <server>: Permission denied - /var/lib/puppet/yaml/node/<server>.yaml | ||
| [2010/07/12 05:37:19] @ Quit: gebi: Ping timeout: 265 seconds | ||
| [2010/07/12 05:37:31] <AK> any one had similar error before? | ||
| [2010/07/12 05:37:39] @ Quit: mfladischer: Read error: Operation timed out | ||
| [2010/07/12 05:38:44] @ Quit: tecto_: Ping timeout: 260 seconds | ||
| [2010/07/12 05:38:55] <AK> I even tried the removal of yaml files with no luck | ||
| [2010/07/12 05:41:46] @ tecto joined channel #puppet | ||
| [2010/07/12 05:41:46] @ Quit: tecto: Changing host | ||
| [2010/07/12 05:41:46] @ tecto joined channel #puppet | ||
| [2010/07/12 05:45:37] @ Quit: tecto: Read error: Connection reset by peer | ||
| [2010/07/12 05:45:55] @ tecto joined channel #puppet | ||
| [2010/07/12 05:47:21] @ mfladischer joined channel #puppet | ||
| [2010/07/12 05:50:08] <sdog> any pointers on backing up a non rooted android phone ? | ||
| [2010/07/12 05:52:36] <sdog> grmbl .. wrong # | ||
| [2010/07/12 05:53:28] @ Quit: crb: Quit: Changing server | ||
| [2010/07/12 05:53:48] @ crb joined channel #puppet | ||
| [2010/07/12 05:55:14] <Tonnerre> sdog, surely not with Puppet | ||
| [2010/07/12 05:57:25] <Pupeno> Hello. | ||
| [2010/07/12 05:57:33] <AK> i thought some where I read that node and fact yaml files get generated when puppet client runs but not that the case with me | ||
| [2010/07/12 05:57:55] <Pupeno> No matter whether unless => "whatever" returns 0 or 1, the exec gets run anyway. Anybody knows why? | ||
| [2010/07/12 05:59:01] <Pupeno> nevermind | ||
| [2010/07/12 05:59:01] <Pupeno> | ||
| [2010/07/12 05:59:10] @ tim__ joined channel #puppet | ||
| [2010/07/12 06:01:21] @ Quit: macfly: Ping timeout: 240 seconds | ||
| [2010/07/12 06:01:53] @ sebas891 joined channel #puppet | ||
| [2010/07/12 06:04:05] @ macfly joined channel #puppet | ||
| [2010/07/12 06:04:20] @ blahdeblah joined channel #puppet | ||
| [2010/07/12 06:04:21] @ blahdeblah1 joined channel #puppet | ||
| [2010/07/12 06:04:46] @ Quit: blahdeblah1: Client Quit | ||
| [2010/07/12 06:05:09] @ Quit: mfladischer: Quit: Ex-Chat | ||
| [2010/07/12 06:06:09] @ Quit: bug: Quit: bug | ||
| [2010/07/12 06:08:27] <lisa> <3 solid state disks. 12 seconds to install puppet with dependencies on a fresh centos install | ||
| [2010/07/12 06:10:37] @ jab_doa_ joined channel #puppet | ||
| [2010/07/12 06:10:57] @ Quit: jab_doa: Ping timeout: 240 seconds | ||
| [2010/07/12 06:13:39] @ tecto_ joined channel #puppet | ||
| [2010/07/12 06:13:39] @ Quit: tecto_: Changing host | ||
| [2010/07/12 06:13:39] @ tecto_ joined channel #puppet | ||
| [2010/07/12 06:13:59] @ Quit: tecto: Read error: Connection reset by peer | ||
| [2010/07/12 06:13:59] @ tecto_ is now known as tecto | ||
| [2010/07/12 06:16:01] @ tecto_ joined channel #puppet | ||
| [2010/07/12 06:16:01] @ Quit: tecto_: Changing host | ||
| [2010/07/12 06:16:01] @ tecto_ joined channel #puppet | ||
| [2010/07/12 06:17:37] @ Quit: tecto: Read error: Connection reset by peer | ||
| [2010/07/12 06:17:37] @ tecto_ is now known as tecto | ||
| [2010/07/12 06:22:32] @ Quit: lofidellity: Quit: Lost terminal | ||
| [2010/07/12 06:22:35] @ cliff-hm joined channel #puppet | ||
| [2010/07/12 06:23:50] @ tecto_ joined channel #puppet | ||
| [2010/07/12 06:23:51] @ Quit: tecto_: Changing host | ||
| [2010/07/12 06:23:51] @ tecto_ joined channel #puppet | ||
| [2010/07/12 06:24:03] @ Quit: tecto: Read error: Connection reset by peer | ||
| [2010/07/12 06:24:03] @ tecto_ is now known as tecto | ||
| [2010/07/12 06:28:42] @ ohadlevy joined channel #puppet | ||
| [2010/07/12 06:31:40] @ tecto_ joined channel #puppet | ||
| [2010/07/12 06:31:40] @ Quit: tecto_: Changing host | ||
| [2010/07/12 06:31:40] @ tecto_ joined channel #puppet | ||
| [2010/07/12 06:31:46] @ Quit: tecto: Read error: No route to host | ||
| [2010/07/12 06:31:47] @ tecto_ is now known as tecto | ||
| [2010/07/12 06:33:39] @ Quit: markus: Quit: markus | ||
| [2010/07/12 06:33:49] @ sebas891 left channel #puppet () | ||
| [2010/07/12 06:34:57] @ Quit: jab_doa_: Ping timeout: 240 seconds | ||
| [2010/07/12 06:36:03] @ jab_doa_ joined channel #puppet | ||
| [2010/07/12 06:40:39] @ jdcasey joined channel #puppet | ||
| [2010/07/12 06:45:03] @ Quit: blahdeblah: Ping timeout: 260 seconds | ||
| [2010/07/12 06:46:25] @ tecto_ joined channel #puppet | ||
| [2010/07/12 06:46:26] @ juniper joined channel #puppet | ||
| [2010/07/12 06:49:10] @ bobbyz joined channel #puppet | ||
| [2010/07/12 06:49:55] @ Quit: tecto_: Read error: Connection reset by peer | ||
| [2010/07/12 06:50:05] @ tecto_ joined channel #puppet | ||
| [2010/07/12 06:50:06] @ Quit: tecto_: Changing host | ||
| [2010/07/12 06:50:06] @ tecto_ joined channel #puppet | ||
| [2010/07/12 06:50:08] @ Quit: tecto: Ping timeout: 260 seconds | ||
| [2010/07/12 06:50:08] @ tecto_ is now known as tecto | ||
| [2010/07/12 06:53:49] @ Quit: tecto: Read error: No route to host | ||
| [2010/07/12 06:54:09] @ tecto joined channel #puppet | ||
| [2010/07/12 06:54:09] @ Quit: tecto: Changing host | ||
| [2010/07/12 06:54:09] @ tecto joined channel #puppet | ||
| [2010/07/12 06:57:19] <ashp> god, i hate nfs so much | ||
| [2010/07/12 06:58:33] @ Quit: tecto: Ping timeout: 240 seconds | ||
| [2010/07/12 06:58:35] @ tecto_ joined channel #puppet | ||
| [2010/07/12 06:59:16] @ Quit: tecto_: Client Quit | ||
| [2010/07/12 07:01:55] @ bug joined channel #puppet | ||
| [2010/07/12 07:02:03] <Tonnerre> ashp, so what do you approve of? | ||
| [2010/07/12 07:02:25] <Tonnerre> ashp, most NFS problems usually turn out to be Linux kernel related, I tend to find | ||
| [2010/07/12 07:02:48] @ Quit: kenneho: Quit: Ex-Chat | ||
| [2010/07/12 07:04:49] @ rasputnik joined channel #puppet | ||
| [2010/07/12 07:05:52] <rasputnik> I've got a service (apache) that's being notified when its config changes, but that seems to involve 'service httpd restart'. Any way to suggest a 'service httpd reload' instead? | ||
| [2010/07/12 07:10:00] @ kaptk2 joined channel #puppet | ||
| [2010/07/12 07:10:25] <zipkid> rasputnik: in the apache service type definition | ||
| [2010/07/12 07:10:29] <zipkid> see the doc | ||
| [2010/07/12 07:10:47] <rasputnik> zipkid: ok, ta. | ||
| [2010/07/12 07:12:04] <zipkid> rasputnik: see the 'restart' param | ||
| [2010/07/12 07:12:40] @ gebi joined channel #puppet | ||
| [2010/07/12 07:14:20] @ sebas891 joined channel #puppet | ||
| [2010/07/12 07:18:42] <ashp> Tonnerre: The issue was just that machines weren't mounting nfs at boot because the netapp wasn't up yet | ||
| [2010/07/12 07:18:46] <ashp> but nobody wants to use automounter | ||
| [2010/07/12 07:18:53] <ashp> and we have no monitoring of what is mounted vs what should be | ||
| [2010/07/12 07:21:37] <Tonnerre> Your fault then :D | ||
| [2010/07/12 07:25:58] @ Quit: seanos: Ping timeout: 276 seconds | ||
| [2010/07/12 07:31:02] <ashp> we're moving to zenoss for monitoring | ||
| [2010/07/12 07:31:12] <ashp> and i am going to try and find a way to compare fstab against what snmp reports as mounted | ||
| [2010/07/12 07:31:15] <ashp> and go from there | ||
| [2010/07/12 07:31:41] <joe-mac> automount hurts my head | ||
| [2010/07/12 07:35:30] @ flooose joined channel #puppet | ||
| [2010/07/12 07:36:20] @ Quit: AK: Quit: Page closed | ||
| [2010/07/12 07:37:37] <flooose> I'm a little unclear about how exec{} works. I'm trying to write a manifest that uses a bash script to install ruby enterprise | ||
| [2010/07/12 07:38:13] <flooose> the manifest runs through without errors, but nothing gets installed. | ||
| [2010/07/12 07:39:44] <flooose> I thought I'd be able to just do Exec["/opt/ree.bash"], but that didn't solve it. Can someone help me understand exec better? | ||
| [2010/07/12 07:41:08] @ Quit: sdog: Quit: Leaving. | ||
| [2010/07/12 07:41:52] <flooose> I've also been able to make this run be requiring it in another module "require => Exec["/opt/ree.bash"], but what if I just want it to be installed alone? | ||
| [2010/07/12 07:42:12] @ _lucid joined channel #puppet | ||
| [2010/07/12 07:42:45] @ mrbucket joined channel #puppet | ||
| [2010/07/12 07:43:10] <mrbucket> this is confusing: | ||
| [2010/07/12 07:43:12] <mrbucket> err: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not parse YAML data for node <JUSTTHISONEHOST>: syntax error on line 10, col 25: ` physicalprocessorcount: "2"' | ||
| [2010/07/12 07:43:42] <mrbucket> where should i be looking? /var/puppet/yaml is empty in my case | ||
| [2010/07/12 07:45:13] @ tonyskapunk joined channel #puppet | ||
| [2010/07/12 07:45:49] @ rcrowley joined channel #puppet | ||
| [2010/07/12 07:46:54] <jbooth> mrbucket: What's 'facter -p' say on that host? Anything abnormal? | ||
| [2010/07/12 07:47:22] <mrbucket> nothing out of the ordinary nope | ||
| [2010/07/12 07:47:22] <jbooth> mrbucket: Also what version of facter/puppet are you running? | ||
| [2010/07/12 07:47:34] <mrbucket> 0.25.4 | ||
| [2010/07/12 07:47:44] <mrbucket> aand. 1.5.7 for facter | ||
| [2010/07/12 07:47:56] <jbooth> Does facter -p look sane? | ||
| [2010/07/12 07:48:13] <mrbucket> nothing in there looks abnormal, no | ||
| [2010/07/12 07:48:14] @ markus joined channel #puppet | ||
| [2010/07/12 07:48:14] <jbooth> Server is 0.25.4 or better too? | ||
| [2010/07/12 07:48:28] <mrbucket> correct | ||
| [2010/07/12 07:48:53] <mrbucket> it's just this one host | ||
| [2010/07/12 07:49:18] @ mqr joined channel #puppet | ||
| [2010/07/12 07:49:23] @ Quit: markus: Read error: Connection reset by peer | ||
| [2010/07/12 07:49:23] @ mqr is now known as markus | ||
| [2010/07/12 07:49:49] @ Quit: macfly: Ping timeout: 276 seconds | ||
| [2010/07/12 07:52:42] <jbooth> I've got nothing | ||
| [2010/07/12 07:52:51] <jbooth> I think the yaml dumps in /var/lib/puppet/client_yaml now? | ||
| [2010/07/12 07:52:52] <jbooth> not sure | ||
| [2010/07/12 07:53:15] <mrbucket> alright | ||
| [2010/07/12 07:53:22] <mrbucket> ill poke around and see if i can find something related to this host | ||
| [2010/07/12 07:54:02] @ Demosthenes joined channel #puppet | ||
| [2010/07/12 07:55:29] <mrbucket> ahh. i just removed the yaml for that client and all became good in the world. | ||
| [2010/07/12 07:56:37] <mrbucket> thanks, and it was /var/lib/puppet/yaml/node/nodename.yaml | ||
| [2010/07/12 07:56:43] @ Quit: colyte: Quit: ZNC - http://znc.sourceforge.net | ||
| [2010/07/12 07:56:46] <mrbucket> the mooore you know ::woosh:: | ||
| [2010/07/12 07:56:47] @ mrbucket left channel #puppet () | ||
| [2010/07/12 07:57:43] @ colyte joined channel #puppet | ||
| [2010/07/12 07:57:55] @ littleidea joined channel #puppet | ||
| [2010/07/12 07:58:52] @ Quit: ckauhaus: Ping timeout: 252 seconds | ||
| [2010/07/12 08:00:26] <ashp> joe-mac: automount is a pain anyway, we're not going with it | ||
| [2010/07/12 08:00:36] <ashp> joe-mac: especially as some apps need the mount up BEFORE they start or they break | ||
| [2010/07/12 08:00:48] <ashp> and it's not easy to get into that kind of thing, autorestarting apps if automounter triggers | ||
| [2010/07/12 08:01:04] <joe-mac> right | ||
| [2010/07/12 08:03:01] @ AK joined channel #puppet | ||
| [2010/07/12 08:03:12] @ eventi joined channel #puppet | ||
| [2010/07/12 08:03:12] <AK> could not retrieve catalog from remote server: Error 400 on SERVER: Failed when searching for node | ||
| [2010/07/12 08:03:13] @ macfly joined channel #puppet | ||
| [2010/07/12 08:03:41] <AK> can any one let me know how to resolve that error | ||
| [2010/07/12 08:11:23] <jbooth> AK: Using external nodes? | ||
| [2010/07/12 08:12:41] @ Quit: tim__: Remote host closed the connection | ||
| [2010/07/12 08:12:45] @ ckauhaus joined channel #puppet | ||
| [2010/07/12 08:12:56] @ Quit: ckauhaus: Client Quit | ||
| [2010/07/12 08:13:20] @ ckauhaus joined channel #puppet | ||
| [2010/07/12 08:16:05] @ mqr joined channel #puppet | ||
| [2010/07/12 08:16:50] @ Quit: markus: Read error: Connection reset by peer | ||
| [2010/07/12 08:16:52] @ mqr_ joined channel #puppet | ||
| [2010/07/12 08:20:17] @ Quit: mqr: Ping timeout: 245 seconds | ||
| [2010/07/12 08:20:18] <AK> jbooth: nope | ||
| [2010/07/12 08:20:38] <AK> it's due to the missing yaml for that server but I read some where these should be created when the client runs for the first time | ||
| [2010/07/12 08:20:48] <AK> but not the case for me | ||
| [2010/07/12 08:22:57] @ Quit: mqr_: Read error: Connection reset by peer | ||
| [2010/07/12 08:28:33] @ Quit: jab_doa_: Quit: Verlassend | ||
| [2010/07/12 08:29:01] @ cbuckley joined channel #puppet | ||
| [2010/07/12 08:30:48] <cbuckley> hi | ||
| [2010/07/12 08:31:06] <cbuckley> I wonder if someone could help me with a little Puppet syntax | ||
| [2010/07/12 08:33:51] @ Quit: MattyM: Remote host closed the connection | ||
| [2010/07/12 08:34:42] @ eventi left channel #puppet () | ||
| [2010/07/12 08:37:02] <cbuckley> well, I'll ask the question anyway... | ||
| [2010/07/12 08:37:11] <strattog> that's usually a good idea | ||
| [2010/07/12 08:37:19] <cbuckley> we have a variable that's set in the node def, sometimes as a string, and sometimes as an array | ||
| [2010/07/12 08:37:29] <cbuckley> strattog: I was just being polite :-) | ||
| [2010/07/12 08:37:55] <cbuckley> if it's set as a string we want to use it as is, if it's an array we want the first element | ||
| [2010/07/12 08:38:05] <cbuckley> so the question is, how do we do that? | ||
| [2010/07/12 08:39:22] @ seanos joined channel #puppet | ||
| [2010/07/12 08:39:34] @ Quit: AK: Quit: Page closed | ||
| [2010/07/12 08:39:43] <cbuckley> for example if $foo == [ "foo1", "foo2" ] can we reference $foo(0) to get "foo1"? | ||
| [2010/07/12 08:41:38] <Pupeno> I created a function called ruby::gem, how do I make one exec depend on ruby::gem {something:}? | ||
| [2010/07/12 08:42:19] <Volcane> its not a function, its a defined type | ||
| [2010/07/12 08:42:32] <Volcane> require => Ruby::Gem["something"] | ||
| [2010/07/12 08:43:24] @ radkin joined channel #puppet | ||
| [2010/07/12 08:43:25] <Pupeno> Volcane: thanks. | ||
| [2010/07/12 08:43:36] @ bigon joined channel #puppet | ||
| [2010/07/12 08:44:49] @ Quit: verwilst: Ping timeout: 265 seconds | ||
| [2010/07/12 08:45:27] @ Quit: ckauhaus: Quit: Leaving. | ||
| [2010/07/12 08:46:47] @ plathrop-away is now known as plathrop | ||
| [2010/07/12 08:46:57] <tmz> I updated a local master/client to 2.6.0rc2 and now I get a lot of 'Error 400 on SERVER: Could not find class some::class in namespaces other::class' errors. | ||
| [2010/07/12 08:47:09] <tmz> Which side of the clue stick do I need smacked with? | ||
| [2010/07/12 08:48:59] @ thekad-afk is now known as thekad | ||
| [2010/07/12 08:49:01] <Pupeno> Is there some special syntax to depend on more than one package or do I have to do require => [Package["package1"], Package["package2"]] ? | ||
| [2010/07/12 08:49:25] @ Quit: rasputnik: Quit: rasputnik | ||
| [2010/07/12 08:51:31] @ Quit: bronto: Quit: Leaving. | ||
| [2010/07/12 08:51:55] @ bronto joined channel #puppet | ||
| [2010/07/12 08:52:32] @ rmiller4pi8 joined channel #puppet | ||
| [2010/07/12 08:56:38] <fenris02> 'require => Package[ 'one', 'two' ]' does not work for you? | ||
| [2010/07/12 09:00:24] @ themroc is now known as themroc_375 | ||
| [2010/07/12 09:05:03] @ Quit: Pupeno: Quit: http://pupeno.com | ||
| [2010/07/12 09:05:44] @ bryan_kearney1 joined channel #puppet | ||
| [2010/07/12 09:07:52] @ Quit: spawnyd: Quit: leaving | ||
| [2010/07/12 09:10:09] @ Quit: emag: Ping timeout: 240 seconds | ||
| [2010/07/12 09:10:18] @ Quit: blueyoko: Ping timeout: 260 seconds | ||
| [2010/07/12 09:11:39] @ blueyoko joined channel #puppet | ||
| [2010/07/12 09:11:43] @ emag joined channel #puppet | ||
| [2010/07/12 09:12:17] @ toi joined channel #puppet | ||
| [2010/07/12 09:12:57] @ gniks joined channel #puppet | ||
| [2010/07/12 09:13:15] @ tecto joined channel #puppet | ||
| [2010/07/12 09:13:15] @ Quit: tecto: Changing host | ||
| [2010/07/12 09:13:15] @ tecto joined channel #puppet | ||
| [2010/07/12 09:15:04] @ Quit: gniks: Client Quit | ||
| [2010/07/12 09:19:04] @ Quit: radkin: Ping timeout: 258 seconds | ||
| [2010/07/12 09:19:44] @ radkin joined channel #puppet | ||
| [2010/07/12 09:21:00] @ Quit: snikkers: Quit: leaving | ||
| [2010/07/12 09:22:31] @ Quit: wilco: Remote host closed the connection | ||
| [2010/07/12 09:23:26] <jbooth> cbuckley: use a template() or inline_template() is probably the easiest way. | ||
| [2010/07/12 09:24:07] <jbooth> Embed some standard ruby in there and you should have what you want. | ||
| [2010/07/12 09:25:31] @ paxos joined channel #puppet | ||
| [2010/07/12 09:25:34] @ Quit: flooose: Read error: Operation timed out | ||
| [2010/07/12 09:25:40] @ Quit: TREllis: Quit: leaving | ||
| [2010/07/12 09:26:14] @ cedwards joined channel #puppet | ||
| [2010/07/12 09:26:49] <cedwards> is it possible to negate an include for a specific node(s)? ie; node foo inherits basenode, _except_ bar. | ||
| [2010/07/12 09:27:24] <jbooth> cedwards: Not afaik | ||
| [2010/07/12 09:28:23] <cedwards> jbooth: sure would be nice. I've got a long list of modules I've used to standardize with, but there are one or two machines I need to avoid single modules on. | ||
| [2010/07/12 09:29:05] <jbooth> cedwards: well, sounds like your basenode isn't actually a basenode. Split said extra modules out into "baseplusplusnode" have it include basenode and you're mostly there right? | ||
| [2010/07/12 09:29:41] <jbooth> cedwards: also for what it is worth, node inheritence is quirky so I'd stick to classes unless you have a strong reason not to | ||
| [2010/07/12 09:31:11] <cbuckley> jbooth: is there no way of doing this with standard Puppet syntax then? | ||
| [2010/07/12 09:33:21] @ Quit: itguru: Ping timeout: 240 seconds | ||
| [2010/07/12 09:33:26] @ gniks joined channel #puppet | ||
| [2010/07/12 09:33:29] @ ckauhaus joined channel #puppet | ||
| [2010/07/12 09:34:01] @ Quit: pinoyskull: Ping timeout: 258 seconds | ||
| [2010/07/12 09:34:15] @ lutter joined channel #puppet | ||
| [2010/07/12 09:37:16] @ Quit: jaredrhine: Ping timeout: 276 seconds | ||
| [2010/07/12 09:37:43] @ Quit: mfournier: Ping timeout: 260 seconds | ||
| [2010/07/12 09:37:43] <jamesturnbull> cbuckley: not sure I understand your example - you have a variable that could be a string or an array? | ||
| [2010/07/12 09:37:50] <jamesturnbull> cbuckley: and you want to? | ||
| [2010/07/12 09:38:09] <cbuckley> jamesturnbull: firstly determine whether it's string or array | ||
| [2010/07/12 09:38:29] <cbuckley> secondly, if it's an array, reference the first element of the array by number | ||
| [2010/07/12 09:40:37] <jbooth> Might be possible in 2.6, but I'd be surprised if you can do it in .25 | ||
| [2010/07/12 09:40:44] <jbooth> (other than templating it) | ||
| [2010/07/12 09:40:45] <jamesturnbull> cbuckley: you can't do it in 0.25.x but you can do it in 2.6.0 | ||
| [2010/07/12 09:40:51] <jamesturnbull> cbuckley: http://docs.reductivelabs.com/guides/language_tutorial.html#arrays | ||
| [2010/07/12 09:40:54] <cbuckley> many thanks | ||
| [2010/07/12 09:41:20] <jbooth> Warning: 2.6 is only in RC stage. | ||
| [2010/07/12 09:41:25] <jamesturnbull> gebi: seen masterzen | ||
| [2010/07/12 09:41:30] <jamesturnbull> gepetto: seen masterzen | ||
| [2010/07/12 09:41:30] <gepetto> jamesturnbull: masterzen was last seen 11 hours, 21 minutes and 4 seconds ago, joining #puppet | ||
| [2010/07/12 09:41:38] <jamesturnbull> gebi: sorry :) | ||
| [2010/07/12 09:41:41] <jamesturnbull> masterzen: ping | ||
| [2010/07/12 09:42:15] @ TREllis joined channel #puppet | ||
| [2010/07/12 09:44:18] @ mclarke joined channel #puppet | ||
| [2010/07/12 09:53:14] @ pinoyskull joined channel #puppet | ||
| [2010/07/12 09:55:56] @ Quit: mtedesco: Read error: Connection reset by peer | ||
| [2010/07/12 09:56:03] @ Quit: lkoranda: Quit: Ex-Chat | ||
| [2010/07/12 09:57:22] @ Quit: SyRenity: Ping timeout: 245 seconds | ||
| [2010/07/12 09:58:43] @ Quit: seanos: Ping timeout: 276 seconds | ||
| [2010/07/12 09:58:47] @ seanos joined channel #puppet | ||
| [2010/07/12 10:01:41] @ SyRenity joined channel #puppet | ||
| [2010/07/12 10:01:47] @ shenson joined channel #puppet | ||
| [2010/07/12 10:06:20] * Volcane wonders if anyone made 2.6 rpms | ||
| [2010/07/12 10:06:31] @ Quit: seanos: Ping timeout: 276 seconds | ||
| [2010/07/12 10:07:06] * tmz has some, but hasn't pushed them out yet | ||
| [2010/07/12 10:07:27] @ Quit: jdcasey: Remote host closed the connection | ||
| [2010/07/12 10:07:38] <tmz> Very little changes were required. For the init scripts, just changing the pidfile options worked to make service ... status work. | ||
| [2010/07/12 10:07:54] <Volcane> ah, still using the legacy script names i assume | ||
| [2010/07/12 10:08:02] <bronto> if one machine is a puppetmaster, and wants to act as a client of another puppetmaster, would you expect problems at the SSL level? | ||
| [2010/07/12 10:08:27] <tmz> Volcane: Yeah. I didn't want to try changing to the puppet agent syntax just yet. But that will need done at some point. | ||
| [2010/07/12 10:10:08] @ Quit: TREllis: Quit: leaving | ||
| [2010/07/12 10:11:12] @ Quit: pinoyskull: Ping timeout: 258 seconds | ||
| [2010/07/12 10:12:08] <jason^> since puppet is integrating further into ubuntu, is there a chance that 2.6 will be pushed to 10.04? | ||
| [2010/07/12 10:12:24] @ kc7zzv joined channel #puppet | ||
| [2010/07/12 10:13:08] @ seanos joined channel #puppet | ||
| [2010/07/12 10:13:37] @ Quit: ckauhaus: Ping timeout: 252 seconds | ||
| [2010/07/12 10:13:37] <bronto> if one machine is a puppetmaster, and wants to act as a client of another puppetmaster, would you expect problems at the SSL level? | ||
| [2010/07/12 10:14:04] <gniks> are virtual resources still useful? it seems that the puppet language has evolved past the original intention for them (or thats what i gather from the wiki) | ||
| [2010/07/12 10:14:08] <jhelwig> jason^: I doubt 2.6 will be in 10.04. They've already released it, and I'm pretty sure they only try to put out security updates. Seems like it would be in 10.10 at the _very_ earliest. | ||
| [2010/07/12 10:14:14] <Volcane> bronto: you're obviously having a problem, why dont you just ask about your actual problem. | ||
| [2010/07/12 10:14:21] @ Pupeno joined channel #puppet | ||
| [2010/07/12 10:14:23] @ Quit: bigon: Remote host closed the connection | ||
| [2010/07/12 10:15:05] @ mapu joined channel #puppet | ||
| [2010/07/12 10:15:22] <bronto> the problem is what I just said: I tried to make a puppetmaster act as a client of another one, but I keep having problems at the SSL level. Let me find a way to paste the error (I am connected in RDP...) | ||
| [2010/07/12 10:15:54] <kc7zzv> bronto: Try posting it on something like pastie. | ||
| [2010/07/12 10:16:06] <bronto> kc7zzv: OK | ||
| [2010/07/12 10:16:19] <kc7zzv> bronto: I'd expect problems from DNS if you aren't careful. The puppetd client on the second master might point to the server on localhost. | ||
| [2010/07/12 10:16:43] * Volcane 's sure we discussed this last week | ||
| [2010/07/12 10:16:46] @ ecapriolo joined channel #puppet | ||
| [2010/07/12 10:17:53] <kc7zzv> I'm using the --compile flag on puppetmasterd to test configs. Is there an easy way to tell puppetmasterd to not actually output the catalog? | ||
| [2010/07/12 10:18:51] <bronto> http://pastie.org/1041182 | ||
| [2010/07/12 10:19:14] <AK6L> kc7zzv, why not puppet --parseonly --confdir=/some/dir/with/your/puppet/tree some_manifest.pp ? | ||
| [2010/07/12 10:19:26] <bronto> the two machines are virtual and use a private virtual network. They are on each other's hosts file | ||
| [2010/07/12 10:19:31] <bronto> s/on/in/ | ||
| [2010/07/12 10:19:40] @ bigon joined channel #puppet | ||
| [2010/07/12 10:19:47] <ecapriolo> Hello all. I either have a puppet bug or I am doing something wrong. Can someone look at this pastie for me ...http://pastebin.com/gL1z01Rm thanks | ||
| [2010/07/12 10:20:09] @ ckauhaus joined channel #puppet | ||
| [2010/07/12 10:20:25] <ecapriolo> I really do not want to use this ALTERNATIVES thing but I am kinda forced into it | ||
| [2010/07/12 10:20:40] <Volcane> bronto: if you are talking to a machine as anything other than 'puppet' you need to set that machines certificates to match exactly what you're calling it with certname | ||
| [2010/07/12 10:21:36] <bronto> Volcane: I don't get it. May you explain it, or point me to some online doc, please? | ||
| [2010/07/12 10:22:00] <ecapriolo> ecapriolo: I do not understand why the conf.m6 is being made as a symlink when I am attempting a recursive file copy from the server | ||
| [2010/07/12 10:22:01] <kc7zzv> bronto: Also, try "diff /var/lib/puppet/ssl/ca/ca_crt.pem /var/lib/puppet/ssl/certs/ca.pem" on the secdon puppetmaster to make sure that the client didn't connect to itself. The files should be diffierent. | ||
| [2010/07/12 10:23:10] <kc7zzv> AK6L: I was under the impression that --parseonly couldn't detect things like circular dependencies, but --compile could. | ||
| [2010/07/12 10:23:22] <AK6L> kc7zzv, aha, i didn't know that. | ||
| [2010/07/12 10:24:07] <bronto> kc7zzv: damn... the files are identical (same md5sum) :( How could this happen?! | ||
| [2010/07/12 10:24:15] <Volcane> bronto: the master certificate has a name - puppet by default, also have puppet.$domain and $fqdn | ||
| [2010/07/12 10:24:37] <Volcane> bronto: if you want to point a client at it, the client will verfiy that what is in --server (puppet by default) matches what the server cert is | ||
| [2010/07/12 10:24:54] @ pinoyskull joined channel #puppet | ||
| [2010/07/12 10:25:40] @ Quit: radkin: Read error: Connection reset by peer | ||
| [2010/07/12 10:25:59] <bronto> Volcane: the master is colled mastertest.oslo.osa, and has the corresponding files in /var/lib/puppet subdirectories | ||
| [2010/07/12 10:26:14] <bronto> Volcane: but that fact that kc7zzv... how could it happen?!?!?! | ||
| [2010/07/12 10:26:15] @ Quit: bleything: Excess Flood | ||
| [2010/07/12 10:26:33] @ bleything joined channel #puppet | ||
| [2010/07/12 10:26:49] <bronto> Volcane: I mean, how did it happen that those two files are identical?! I never ran puppetd against the host itself! | ||
| [2010/07/12 10:27:26] <kc7zzv> bronto: What distro are you using, and how did you install puppet? (gem,apt,yum,etc...) | ||
| [2010/07/12 10:27:38] <bronto> kc7zzv: debian lenny, backports packages | ||
| [2010/07/12 10:28:46] <kc7zzv> bronto: I think that package automatically starts the client when first installed. This means it would be run pointing to "puppet" or "puppet"+"domainname". | ||
| [2010/07/12 10:29:31] @ docelic__ joined channel #puppet | ||
| [2010/07/12 10:29:43] <bronto> kc7zzv: hmmm... so I need to reset all the certificates on this host, right? puppetca --clean? | ||
| [2010/07/12 10:30:04] @ Quit: poison: Remote host closed the connection | ||
| [2010/07/12 10:30:30] <kc7zzv> bronto: I'm not sure about the second server name. Can you just "rm -Rf /var/lib/puppet" on the second server? | ||
| [2010/07/12 10:30:53] @ jaredrhine joined channel #puppet | ||
| [2010/07/12 10:30:54] <kc7zzv> bronto: That's easiest, but would make all clients to that server very unhappy. | ||
| [2010/07/12 10:30:56] <bronto> kc7zzv: sure. After stopping puppetmaster, right? | ||
| [2010/07/12 10:31:14] <bronto> kc7zzv: it has no client yet, since it never started. the first one has clients | ||
| [2010/07/12 10:31:31] <ecapriolo> http://pastebin.com/gL1z01Rm <-- very strange I must not understand what hte file construct is doing | ||
| [2010/07/12 10:31:43] <kc7zzv> bronto: stop puppetmaster, stop puppet | ||
| [2010/07/12 10:31:46] @ cedwards left channel #puppet () | ||
| [2010/07/12 10:32:07] @ Quit: mapu: Ping timeout: 265 seconds | ||
| [2010/07/12 10:32:13] <bronto> kc7zzv: ok, removed, will try to configure again | ||
| [2010/07/12 10:32:42] @ Quit: docelic_: Ping timeout: 248 seconds | ||
| [2010/07/12 10:32:43] <kc7zzv> bronto: If you want to prevent mistakes, make the client do a full run before starting the server half. | ||
| [2010/07/12 10:32:55] <bronto> kc7zzv: sure | ||
| [2010/07/12 10:34:07] @ \ask joined channel #puppet | ||
| [2010/07/12 10:35:31] <bronto> kc7zzv: the first run works, but also starts puppetmasterd. The second throws that f****ng error out %-{ | ||
| [2010/07/12 10:36:26] <bronto> err: Could not retrieve catalog from remote server: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed | ||
| [2010/07/12 10:36:32] <kc7zzv> bronto: The second client run fails? | ||
| [2010/07/12 10:37:05] <bronto> kc7zzv: exactly. the first goes OK, and starts puppetmasterd; then the second blows up with that error | ||
| [2010/07/12 10:38:44] <kc7zzv> bronto: Are those two certs the same? | ||
| [2010/07/12 10:39:12] <kc7zzv> bronto: Are they different from the ca_cert on the first server? | ||
| [2010/07/12 10:39:52] <bronto> kc7zzv: holy crap. On the second master (the one we just regenerated /var/lib/puppet) has those two files identical again | ||
| [2010/07/12 10:41:25] <bronto> kc7zzv: yes, they are different | ||
| [2010/07/12 10:41:40] <bronto> kc7zzv: on the second server: | ||
| [2010/07/12 10:41:40] <bronto> distserver:/var/lib/puppet# md5sum /var/lib/puppet/ssl/ca/ca_crt.pem /var/lib/puppet/ssl/certs/ca.pem | ||
| [2010/07/12 10:41:40] <bronto> 423cb47b3395f613b517f869b46ee04f /var/lib/puppet/ssl/ca/ca_crt.pem | ||
| [2010/07/12 10:41:40] <bronto> 423cb47b3395f613b517f869b46ee04f /var/lib/puppet/ssl/certs/ca.pem | ||
| [2010/07/12 10:41:51] <bronto> on the first: 3c50270731dee65c6eb5f1e516d0b09c ./ssl/ca/ca_crt.pem | ||
| [2010/07/12 10:43:15] @ Quit: ckauhaus: Quit: Leaving. | ||
| [2010/07/12 10:43:37] <kc7zzv> bronto: It looks to me like the server and the client can't share an ssldir if they don't use the same certificate authority. | ||
| [2010/07/12 10:43:59] <Volcane> they can, you just have to set unique certnames | ||
| [2010/07/12 10:44:32] <bronto> Volcane: so, what I am supposed to do? I am pretty confused... | ||
| [2010/07/12 10:45:19] <Volcane> configure the 2 components that clash with different certname options | ||
| [2010/07/12 10:46:07] @ Quit: littleidea: Ping timeout: 240 seconds | ||
| [2010/07/12 10:46:43] <kc7zzv> ecapriolo: Try adding an "ensure" line. | ||
| [2010/07/12 10:46:46] @ adrian_broher joined channel #puppet | ||
| [2010/07/12 10:47:19] <kc7zzv> ecapriolo: I think puppet is using a default you don't want. | ||
| [2010/07/12 10:47:44] <ecapriolo> I have ensure => directory, not helping | ||
| [2010/07/12 10:47:49] <bronto> Volcane: I am confused about this "certname" things. Are we talking about the file name? An attribute in the certificate? What exactly? Sorry for asking a (maybe) obvious question, but I am completely lost | ||
| [2010/07/12 10:49:28] <kc7zzv> ecapriolo: Try deleting the "path" line. That shouldn't be needed. | ||
| [2010/07/12 10:49:49] <ecapriolo> kc7zzv: My mistake. I was giving it the wrong target that was a symlink | ||
| [2010/07/12 10:51:14] <kc7zzv> ecapriolo: Is your puppet file server the puppet manifest server? If you don't know the answer is probably yes. | ||
| [2010/07/12 10:51:49] <ecapriolo> kc7zzv: There was nothing wrong with the syntax or what puppet was doing the file I was serving was a symlink so | ||
| [2010/07/12 10:52:57] <kc7zzv> ecapriolo: I was just going to mention that you don't need to give the server name on the source line if there's only one puppetmaster. This works: "puppet:///mainfiles/hadoop/hadoop-0.20-shell-dev/conf" | ||
| [2010/07/12 10:53:21] @ Quit: _lucid: Quit: Page closed | ||
| [2010/07/12 10:53:44] <ecapriolo> OK should make life easier | ||
| [2010/07/12 10:55:04] @ Quit: \ask: Remote host closed the connection | ||
| [2010/07/12 10:56:23] <kc7zzv> ecapriolo: The third slash is what tells puppet that. | ||
| [2010/07/12 10:56:38] <bronto> well... I can't make any sense of this, I'll be back on it tomorrow morning. Thanks for trying to help | ||
| [2010/07/12 10:56:44] * bronto waves | ||
| [2010/07/12 10:56:58] @ quellhorst joined channel #puppet | ||
| [2010/07/12 10:59:05] @ Quit: bronto: Quit: Leaving. | ||
| [2010/07/12 10:59:05] <ecapriolo> kc7zzv: Side question. How to I deal with the situation where two files in this directory require different access rights then the rest? | ||
| [2010/07/12 11:01:27] @ Quit: gebi: Ping timeout: 240 seconds | ||
| [2010/07/12 11:05:03] <ecapriolo> nm. Got it. Add another file definition with a require, but do not try to redownload it | ||
| [2010/07/12 11:07:44] @ jmccune joined channel #puppet | ||
| [2010/07/12 11:26:30] @ \ask joined channel #puppet | ||
| [2010/07/12 11:32:14] @ jab_doa joined channel #puppet | ||
| [2010/07/12 11:36:13] @ Alagar joined channel #puppet | ||
| [2010/07/12 11:38:13] @ p3rror joined channel #puppet | ||
| [2010/07/12 11:42:33] @ bryan_kearney1 is now known as dgooodwin | ||
| [2010/07/12 11:44:30] @ dgooodwin is now known as bkearney | ||
| [2010/07/12 11:44:52] <tmz> Volcane: If you haven't already made up your own packages, here's what little I've done so far for 2.6.0rc2: http://tmz.fedorapeople.org/tmp/puppet-2.6.0-0.2.rc2.el5.src.rpm | ||
| [2010/07/12 11:46:33] @ Quit: p3rror: Ping timeout: 265 seconds | ||
| [2010/07/12 11:48:29] @ jdcasey joined channel #puppet | ||
| [2010/07/12 11:48:31] @ EvanCC joined channel #puppet | ||
| [2010/07/12 11:49:15] <EvanCC> Question: I get Could not match 'class' at /etc/puppet/modules/ssh/manifests/auth.pp:10 when i use the ssh::auth module..thoughts? | ||
| [2010/07/12 11:50:32] <EvanCC> alternatively i get: Error 400 on SERVER: Could not find class ssh::auth at /etc/puppet/manifests/site.pp:1 | ||
| [2010/07/12 11:50:37] <EvanCC> it varies back and forth | ||
| [2010/07/12 11:55:22] @ Quit: Bogdar: Ping timeout: 248 seconds | ||
| [2010/07/12 12:03:50] @ mfournier joined channel #puppet | ||
| [2010/07/12 12:04:20] @ radkin joined channel #puppet | ||
| [2010/07/12 12:06:52] @ \ask_ joined channel #puppet | ||
| [2010/07/12 12:08:53] @ Quit: \ask: Ping timeout: 258 seconds | ||
| [2010/07/12 12:11:47] @ Quit: radkin: Read error: Connection reset by peer | ||
| [2010/07/12 12:12:55] @ radkin joined channel #puppet | ||
| [2010/07/12 12:16:21] @ Quit: bug: Quit: bug | ||
| [2010/07/12 12:19:57] @ Quit: jmccune: Ping timeout: 265 seconds | ||
| [2010/07/12 12:20:02] @ Quit: \ask_: Remote host closed the connection | ||
| [2010/07/12 12:21:16] @ \ask joined channel #puppet | ||
| [2010/07/12 12:22:13] @ Quit: jaredrhine: Ping timeout: 260 seconds | ||
| [2010/07/12 12:24:19] <Volcane> tmz: sweet | ||
| [2010/07/12 12:24:22] <Volcane> tmz: thanks | ||
| [2010/07/12 12:25:00] @ jaredrhine joined channel #puppet | ||
| [2010/07/12 12:25:16] @ Quit: Alagar: Ping timeout: 265 seconds | ||
| [2010/07/12 12:25:31] <tmz> Volcane: Sure thing. Just let me know how it's broken when you get a chance to test it. | ||
| [2010/07/12 12:25:48] <Volcane> will do, though my mind is on other things atm | ||
| [2010/07/12 12:27:30] @ pheezy joined channel #puppet | ||
| [2010/07/12 12:28:46] <ashp> hmm, i gotta go rebuild puppet on rhel6 again, they still haven't fixed the epel copy requiring libselinux-ruby (that's not in rhel6 beta2 or 1) | ||
| [2010/07/12 12:29:09] @ lak joined channel #puppet | ||
| [2010/07/12 12:29:30] <ashp> i had expected beta2 to add that library, weird | ||
| [2010/07/12 12:30:03] <Volcane> ashp: cos you filed a bug for it? :P | ||
| [2010/07/12 12:30:32] <fenris02> is it tagged in bodhi for el6? | ||
| [2010/07/12 12:31:57] <ashp> i have no idea what bodhi is | ||
| [2010/07/12 12:32:16] <pheezy> wow 2.6.0 looks exciting | ||
| [2010/07/12 12:32:41] <pheezy> and also like a lot of refactoring work lol | ||
| [2010/07/12 12:33:05] <ashp> classes with parameters means i need to do some thinking :) | ||
| [2010/07/12 12:34:50] @ Quit: seanos: Ping timeout: 248 seconds | ||
| [2010/07/12 12:35:08] @ MattyM joined channel #puppet | ||
| [2010/07/12 12:35:28] <jbooth> Yeah no kidding. | ||
| [2010/07/12 12:36:04] <jbooth> Though I wasn't clear what happens if you "include" a class twice with differing parameters. | ||
| [2010/07/12 12:36:31] @ lkoranda joined channel #puppet | ||
| [2010/07/12 12:36:55] <Volcane> its still a singleton | ||
| [2010/07/12 12:37:02] <Volcane> first comes first wins | ||
| [2010/07/12 12:38:15] @ fbe joined channel #puppet | ||
| [2010/07/12 12:38:22] <fenris02> ashp, libselinux-ruby is part of the libselinux package. it might not be on the DVD, but rather found in the 'everything' repo. | ||
| [2010/07/12 12:39:27] <Volcane> though i guess it might even give an error now, not tried | ||
| [2010/07/12 12:40:53] <ashp> fenris02: ahhhh, i'll have to go poke around | ||
| [2010/07/12 12:41:34] @ seanos joined channel #puppet | ||
| [2010/07/12 12:42:38] @ p3rror joined channel #puppet | ||
| [2010/07/12 12:43:25] @ Quit: paxos: Remote host closed the connection | ||
| [2010/07/12 12:43:30] @ paxos joined channel #puppet | ||
| [2010/07/12 12:44:47] @ bug joined channel #puppet | ||
| [2010/07/12 12:44:49] @ Quit: lak: Quit: lak | ||
| [2010/07/12 12:52:45] @ Quit: robinbowes: Quit: Leaving | ||
| [2010/07/12 12:53:33] @ dotemacs joined channel #puppet | ||
| [2010/07/12 12:55:17] <ecapriolo> I have a class that does a bunc of things including enabling a service. Can I inherit that class and disable the service. I am doing this wrong because the error I get is DuplicateDefinition | ||
| [2010/07/12 12:56:25] @ beata_ joined channel #puppet | ||
| [2010/07/12 12:56:33] <rmiller4pi8> you can, you just need to override it. you can't just define it again | ||
| [2010/07/12 12:57:01] <beata_> when using exec and setting logoutput => true. I am still not getting any output when running puppetd any ideas as to why? | ||
| [2010/07/12 12:57:36] <beata_> nm | ||
| [2010/07/12 12:57:59] <ecapriolo> rmiller4pi8: I understand the concept Just not the syntax | ||
| [2010/07/12 12:58:35] <ecapriolo> class cassandra_sd_off inherits cassandra_sd { | ||
| [2010/07/12 12:58:35] <ecapriolo> service { "cassandra": | ||
| [2010/07/12 12:58:35] <ecapriolo> enable => false, | ||
| [2010/07/12 12:58:35] <ecapriolo> ensure => stopped, | ||
| [2010/07/12 12:58:35] <ecapriolo> require => File["/etc/init.d/cassandra"] | ||
| [2010/07/12 12:58:35] <ecapriolo> } | ||
| [2010/07/12 12:58:36] <ecapriolo> | ||
| [2010/07/12 12:58:36] <ecapriolo> } | ||
| [2010/07/12 12:59:19] @ robinbowes joined channel #puppet | ||
| [2010/07/12 12:59:22] <ecapriolo> So that is the redifinitiion how should that look? | ||
| [2010/07/12 13:00:20] <pheezy> Service { "cassandra": ... } right? | ||
| [2010/07/12 13:00:37] <pheezy> just capitalize the resource | ||
| [2010/07/12 13:02:38] <rmiller4pi8> no | ||
| [2010/07/12 13:02:40] <ecapriolo> class cassandra_sd_off inherits cassandra_sd { | ||
| [2010/07/12 13:02:40] <ecapriolo> Service { "cassandra": | ||
| [2010/07/12 13:02:40] <ecapriolo> enable => false, | ||
| [2010/07/12 13:02:40] <ecapriolo> ensure => stopped, | ||
| [2010/07/12 13:02:40] <ecapriolo> require => File["/etc/init.d/cassandra"] | ||
| [2010/07/12 13:02:40] <ecapriolo> } | ||
| [2010/07/12 13:02:41] <ecapriolo> | ||
| [2010/07/12 13:02:41] <ecapriolo> } | ||
| [2010/07/12 13:02:49] @ rmayr joined channel #puppet | ||
| [2010/07/12 13:03:06] <ecapriolo> err: Could not parse for environment production: Syntax error at 'cassandra'; expected '}' at /etc/puppet/manifests/site.pp:186 | ||
| [2010/07/12 13:03:06] @ Quit: rmayr: Remote host closed the connection | ||
| [2010/07/12 13:03:18] <rmiller4pi8> Service["cassandra"] | ||
| [2010/07/12 13:03:55] @ Quit: Pupeno: Remote host closed the connection | ||
| [2010/07/12 13:04:13] <jbooth> ecapriolo: pastie.org | ||
| [2010/07/12 13:04:16] @ Pupeno joined channel #puppet | ||
| [2010/07/12 13:04:41] <ecapriolo> jbooth: Sorry I did not think It was too much. Next time I will not inline it | ||
| [2010/07/12 13:05:10] <pheezy> oh right right, square brackets | ||
| [2010/07/12 13:05:23] * jbooth just finds it much easier to read any length manifest there | ||
| [2010/07/12 13:06:03] <ecapriolo> pheezy: rmiller4pi8: Thanks. That did it [] | ||
| [2010/07/12 13:07:00] @ itguru joined channel #puppet | ||
| [2010/07/12 13:07:45] @ Quit: kc7zzv: Read error: Connection reset by peer | ||
| [2010/07/12 13:07:54] @ kc7zzv joined channel #puppet | ||
| [2010/07/12 13:11:49] <kc7zzv> I've been using the sshkey storeconfig example, and it's been working. Then I wiped client01.domain and now I get "Error 400 on SERVER: Exported resource Sshkey[client01.domain] cannot override local resource" on only that client. | ||
| [2010/07/12 13:12:12] <kc7zzv> I can tell I'm missing something big, but I don't know what. | ||
| [2010/07/12 13:14:23] <kc7zzv> More information: http://pastie.org/1041459 | ||
| [2010/07/12 13:16:38] <jbooth> kc7zzv: Try commenting out the <<||>> line, run puppet, then put it back in. | ||
| [2010/07/12 13:16:47] <jbooth> Most likely you have a conflict from what the server knew to what's true on the client | ||
| [2010/07/12 13:17:12] @ Quit: beata_: Quit: Lost terminal | ||
| [2010/07/12 13:19:08] <kc7zzv> jbooth: Removing that line removes the error, and putting that line back brings the error back. | ||
| [2010/07/12 13:19:27] <kc7zzv> Did I not give enough time for a cache to expire? | ||
| [2010/07/12 13:19:56] <jbooth> kc7zzv: The problem is there's the old version of your Sshkey[] stored in the master's storeconfigs tables. | ||
| [2010/07/12 13:20:11] <jbooth> It should fix it after a successful run with the @@sshkey export | ||
| [2010/07/12 13:21:36] <EvanCC> Question: I get Could not match 'class' at /etc/puppet/modules/ssh/manifests/auth.pp:10 when i use the ssh::auth module..thoughts? | ||
| [2010/07/12 13:22:32] <jbooth> kc7zzv: You could manually nuke the old sshkey from your storeconfigs. I'm not sure offhand how to solve it otherwise. | ||
| [2010/07/12 13:23:24] <jbooth> EvanCC: I'd have to see your auth.pp, but my offhand guess is something related to a typo and/or windows/mac-style newlines. | ||
| [2010/07/12 13:23:39] <EvanCC> oh fun okay thanks | ||
| [2010/07/12 13:23:44] @ Quit: lutter: Quit: Leaving. | ||
| [2010/07/12 13:24:08] <kc7zzv> jbooth: Using --parseonly is likely to catch EvanCC's error right? | ||
| [2010/07/12 13:24:25] @ _lucid joined channel #puppet | ||
| [2010/07/12 13:25:48] <_lucid> i forgot the resolution to err:Tried to get name field for silly id http://pastie.org/1041483 | ||
| [2010/07/12 13:26:04] <jbooth> EvanCC: edit the file with vi. Look for strange sigils at the end of the lines. If they're there, that's it. | ||
| [2010/07/12 13:26:11] <jbooth> EvanCC: If not... check for typos | ||
| [2010/07/12 13:26:16] <EvanCC> thanks checking right now | ||
| [2010/07/12 13:27:39] <EvanCC> jbooth, i dont see anything i guess ill try redownloading it from the puppetlabs site | ||
| [2010/07/12 13:29:02] <jbooth> _lucid: My snarky answer is "if you're using configuration management (puppet) you should use a real unix (not os x)" | ||
| [2010/07/12 13:29:07] @ emackn joined channel #puppet | ||
| [2010/07/12 13:29:27] <jbooth> _lucid: A more useful answer is to check uids/etc of users. It's trying to change the owner/group of /etc/puppet/ssl to something that's outside 2^32 | ||
| [2010/07/12 13:31:33] <emackn> using puppet to do a git clone. the process fails in the script, but running same command copied from verbose output runs fine | ||
| [2010/07/12 13:31:54] <emackn> any obvious things I can check? | ||
| [2010/07/12 13:32:48] <jbooth> emackn: path to binary? If not, try running the command via a ssh -T to the remote server | ||
| [2010/07/12 13:33:04] <jbooth> emackn: If it fails ssh -T, git is trying to do something with the tty that it can't when run by puppet. | ||
| [2010/07/12 13:33:11] <fenris02> emackn, Did you export GIT_DIR and GIT_WORK_TREE, or did you tell git otherwise how to find it? | ||
| [2010/07/12 13:33:38] <jhelwig> fenris02: Shouldn't need those to do a git clone, since they wouldn't be set, anyway. | ||
| [2010/07/12 13:33:50] <fenris02> ok, point | ||
| [2010/07/12 13:34:16] <_lucid> jbooth: : ) ... thanks. the servers are centOS and Fedora ... btw. I've got a partion for both lucid server and desktop on the mac book pro. i and for some funny reason i am defensive ... ; ) | ||
| [2010/07/12 13:34:22] @ Quit: mattock: Ping timeout: 258 seconds | ||
| [2010/07/12 13:34:31] <jhelwig> Though "make sure you actually are, where you think you are" is a very valid thing to check. | ||
| [2010/07/12 13:34:54] <jhelwig> s/,// | ||
| [2010/07/12 13:35:10] <mackn> hrmm..it feels like there a lower cost version of myself in here targetd towards the educational market... | ||
| [2010/07/12 13:35:51] <emackn> yeah.. i wasn't adding those options, since it was a clone | ||
| [2010/07/12 13:38:07] <kc7zzv> jbooth: I ran "DELETE FROM resources WHERE host_id = '45'" and it deleted 155 rows. (And 45 is the host_id of the client. I've still got the same error. Any advice? | ||
| [2010/07/12 13:38:23] <emackn> just running | ||
| [2010/07/12 13:38:28] @ alx_m joined channel #puppet | ||
| [2010/07/12 13:38:41] <emackn> /usr/bin/git clone git@source.example.com:theme-example.git /var/www/vhost/example_themes/example-theme-one | ||
| [2010/07/12 13:39:09] @ beata_ joined channel #puppet | ||
| [2010/07/12 13:39:26] <emackn> its running as a different user | ||
| [2010/07/12 13:39:29] <emackn> with ssh-keys | ||
| [2010/07/12 13:39:43] <emackn> so it could be failing there.. | ||
| [2010/07/12 13:39:52] <beata_> using sshkey, is there a way to add a list of static keys of unmanaged boxes to the list that is auto generated? | ||
| [2010/07/12 13:39:55] <emackn> but can't seem to find the real cause | ||
| [2010/07/12 13:40:41] <dan__t> So who all is in phoenix? | ||
| [2010/07/12 13:40:48] <dan__t> Read twitter rumors about a Phoenix trip. | ||
| [2010/07/12 13:40:57] <emackn> running debug from client and puppetmaster dont show any hints | ||
| [2010/07/12 13:41:04] <jhelwig> emackn: Is it trying to prompt you for the ssh key password? Would it be possible to clone using git://, instead of via ssh? | ||
| [2010/07/12 13:41:43] <emackn> we arent using passphrases on the keys | ||
| [2010/07/12 13:41:52] <alx_m> puppet meeting in portland tomorrow? | ||
| [2010/07/12 13:42:01] <jhelwig> alx_m: Is that tomorrow? | ||
| [2010/07/12 13:42:19] <emackn> but i had to add the known_hosts file to the user we are using for the command | ||
| [2010/07/12 13:42:22] <alx_m> jhelwig: that's what calagator says...I will probably just go to the python meeting... | ||
| [2010/07/12 13:42:22] <jhelwig> Ah, so it is: http://calagator.org/events/1250458861 | ||
| [2010/07/12 13:42:45] <alx_m> jhelwig: no topics listed there | ||
| [2010/07/12 13:42:51] <emackn> jhelwig: it was, then i added the known_hosts file | ||
| [2010/07/12 13:43:41] @ mbostwick_ joined channel #puppet | ||
| [2010/07/12 13:43:49] <emackn> i thought if i could just get in configured normally, that it would get me close enough for puppet. | ||
| [2010/07/12 13:43:52] <kc7zzv> jbooth: I do want to be looking at the resources table right? Looking at the resources table, it looks like every host is exporting the key for every host. | ||
| [2010/07/12 13:44:59] <emackn> thought it could be selinux, but not seeing any policy errors | ||
| [2010/07/12 13:45:11] <kc7zzv> Nevermind. Most of those don't have exported=1. | ||
| [2010/07/12 13:46:26] @ Quit: bug: Quit: bug | ||
| [2010/07/12 13:46:30] <jbooth> kc7zzv: Not sure in details. If you're on a test setup you could just clean the storeconfigs db. | ||
| [2010/07/12 13:46:48] <jbooth> kc7zzv: Other possibility: are two nodes exporting a sshkey as the same node ID? Like are you multi-booting a node to different OSes? | ||
| [2010/07/12 13:47:00] <kc7zzv> jbooth: I found it. You're very close. | ||
| [2010/07/12 13:48:53] <kc7zzv> jbooth: That client was using a different certificate for a short period of time. (Before I wiped it.) | ||
| [2010/07/12 13:50:10] <kc7zzv> jbooth: So the key had been exported under that name too. Is there a fact (or other variable) that returns the name of the certificate/node name so I can use that as a key instead? | ||
| [2010/07/12 13:50:11] <emackn> Any other ways to debug? the --debug flag isn't giving me much | ||
| [2010/07/12 13:50:21] <emackn> from puppetd | ||
| [2010/07/12 13:50:42] <emackn> keep getting return code 128 instead of 0 errors | ||
| [2010/07/12 13:50:53] <emackn> is there a list of those error codes for exec ? | ||
| [2010/07/12 13:51:35] <jbooth> kc7zzv: Uhh... there was something about that coming to factor but it might have been with the 2.6-linked facter. | ||
| [2010/07/12 13:52:16] <jbooth> emackn: exec is just telling you the error code that the command returns. Commands can define their error codes to be whatever the heck they want, there aren't broad global standards. | ||
| [2010/07/12 13:53:22] <kc7zzv> emackn: I haven't read the rest of what you said, but did you use the "logoutput" (or whatever it is) parameter in the exec resource? | ||
| [2010/07/12 13:53:24] <emackn> a possible cause could be that there is a huge disclaimer text returned from ssh, before the git command runs | ||
| [2010/07/12 13:53:43] @ Quit: ahasenack: Ping timeout: 265 seconds | ||
| [2010/07/12 13:54:00] <emackn> kc7zzv: yeah, i set it to true, but puppet.log is empty | ||
| [2010/07/12 13:54:42] <kc7zzv> emackn: How are you running puppet? Like this? "puppetd --test --verbose --debug" | ||
| [2010/07/12 13:55:08] <emackn> puppetd --onetime --no-daemonize --verbose --debug | ||
| [2010/07/12 13:57:15] @ bkearney left channel #puppet () | ||
| [2010/07/12 13:57:57] <jbooth> _lucid: I did warn you that was the snarky answer. Blame bad OS X Server experiences. | ||
| [2010/07/12 13:58:13] <jbooth> emackn: Can we see the raw exec{} and resultant error in a pastie? | ||
| [2010/07/12 13:58:31] <jbooth> emackn: (or the safely edited exec{} to invalid-passwords-etc) | ||
| [2010/07/12 14:00:02] <emackn> jbooth: yeah.. let me set it up. | ||
| [2010/07/12 14:00:49] @ Quit: _lucid: Ping timeout: 252 seconds | ||
| [2010/07/12 14:03:09] <emackn> Jbooth: http://pastie.org/1041551 | ||
| [2010/07/12 14:04:10] @ HouseAway is now known as AimanA | ||
| [2010/07/12 14:10:36] <kc7zzv> emackn: Try running your command with stdin redirected from /dev/null from the command-line. That might reproduce the problem. | ||
| [2010/07/12 14:11:01] @ Quit: tecto: Quit: tecto | ||
| [2010/07/12 14:11:54] @ Quit: mfournier: Ping timeout: 248 seconds | ||
| [2010/07/12 14:14:55] @ gs|devicenull joined channel #puppet | ||
| [2010/07/12 14:16:06] @ WALoeIII joined channel #puppet | ||
| [2010/07/12 14:17:22] <jbooth> emackn: What's the error out? | ||
| [2010/07/12 14:18:09] @ Quit: bobbyz: Remote host closed the connection | ||
| [2010/07/12 14:18:42] @ fredden joined channel #puppet | ||
| [2010/07/12 14:21:12] @ nicklewis joined channel #puppet | ||
| [2010/07/12 14:21:17] <emackn> jbooth: err: //Node[xxx.xxx.xxx.xxx]/Development::Site[gittest]/Exec[pull-dev-code-gittest.xx.dev.xxx.xxx]/returns: change from notrun to 0 failed: /usr/bin/git clone git@source.xxxxxx.xxx:web-xxxxxxxxxx.git /var/www/vhost/gittest.xxxx.xxx 2>&1 >> /tmp/git.log returned 128 instead of 0 at /etc/puppet/modules/development/manifests/site.pp:22 | ||
| [2010/07/12 14:21:44] @ Quit: beata_: Quit: leaving | ||
| [2010/07/12 14:22:27] @ ickypick joined channel #puppet | ||
| [2010/07/12 14:22:43] <emackn> kc7zzv: not sure what you mean? | ||
| [2010/07/12 14:22:44] <ickypick> a | ||
| [2010/07/12 14:23:14] <ickypick> \quit | ||
| [2010/07/12 14:23:17] <emackn> my tmp/git.log turned up empty btw | ||
| [2010/07/12 14:23:30] <kc7zzv> emackn: I've got to go, but here's what I meant. | ||
| [2010/07/12 14:23:43] @ Quit: ickypick: Client Quit | ||
| [2010/07/12 14:24:17] <kc7zzv> "git parameter server-path local-path < /dev/null" | ||
| [2010/07/12 14:24:22] @ Quit: kc7zzv: Quit: kc7zzv | ||
| [2010/07/12 14:25:21] @ gs|devicenull is now known as devicenull | ||
| [2010/07/12 14:25:48] <devicenull> I feel like I'm missing something obvious here.. I have: http://dev4.ampaste.net/d21d830e7 and I'm getting syntax errors | ||
| [2010/07/12 14:26:10] <devicenull> specifically, err: Could not parse for environment production: Could not match '}' at /etc/puppet/manifests/site.pp:1 | ||
| [2010/07/12 14:27:08] <pheezy> anyone know why this would wipe out the parent directory /etc/pki http://pastie.org/1041581 | ||
| [2010/07/12 14:28:01] @ Quit: adrian_broher: Quit: Verlassend | ||
| [2010/07/12 14:29:19] <emackn> kc7zzv: command runs successfully | ||
| [2010/07/12 14:32:11] @ Quit: EvanCC: Quit: This computer has gone to sleep | ||
| [2010/07/12 14:35:40] @ shenson is now known as zz_shenson | ||
| [2010/07/12 14:38:51] <emackn> any other debugging tricks besides puppetd --debug? | ||
| [2010/07/12 14:39:09] <devicenull> sigh | ||
| [2010/07/12 14:39:25] * devicenull notes that saving files with windows line endings will result in weird error messages that make no sense | ||
| [2010/07/12 14:42:52] @ benkevan joined channel #puppet | ||
| [2010/07/12 14:43:33] <benkevan> My puppetmaster doesn't seem to be updating using my default site.pp manifest.. but my other 2 puppets are working fine (puppet master server has puppet running, and has been signed via puppetca, as seens by puppetca --list --all) | ||
| [2010/07/12 14:44:05] <pheezy> hmm this is seriously not cool, puppet wiping out /etc/pki is no bueno lol | ||
| [2010/07/12 14:44:20] @ verwilst joined channel #puppet | ||
| [2010/07/12 14:45:35] <benkevan> nevermind.. I found the issue.. I had set 2 resources.. and had , instead of ; prior to the second resource definition | ||
| [2010/07/12 14:47:41] <jbooth> emackn: Puppet does "speical" things with capturing standard input/output/etc in exec{}s | ||
| [2010/07/12 14:48:13] <jbooth> emackn: Try writing an expect snippet to call said git command and exit successfully. Put that in the exec{} and see if it actually does the git checkout. | ||
| [2010/07/12 14:48:13] <devicenull> how can I remove multiple packages at the same time? packet { [ package1, package2]: ensure => abset } doesn't work if package2 depends on package1 | ||
| [2010/07/12 14:48:15] @ tecto joined channel #puppet | ||
| [2010/07/12 14:48:28] <jbooth> devicenull: List them individually and require one on the other | ||
| [2010/07/12 14:48:30] <rodjek> devicenull: require => | ||
| [2010/07/12 14:48:38] <devicenull> ah | ||
| [2010/07/12 14:48:44] <devicenull> thx | ||
| [2010/07/12 14:48:59] <nicklewis> You'll need to reverse your dependencies | ||
| [2010/07/12 14:51:29] <devicenull> yea I figured that out | ||
| [2010/07/12 14:51:45] <devicenull> wish I could just do "yum remove -y" somehow, and let yum figure it out | ||
| [2010/07/12 14:54:27] @ mbostwick_ left channel #puppet () | ||
| [2010/07/12 14:54:35] @ Quit: lkoranda: Quit: Ex-Chat | ||
| [2010/07/12 14:55:16] <devicenull> oh this is fun.. | ||
| [2010/07/12 14:55:20] <devicenull> ypbind depends on yp-tools | ||
| [2010/07/12 14:55:25] <devicenull> yp-tools depends on ypbind | ||
| [2010/07/12 14:55:50] <fenris02> either keep both, or remove both then. | ||
| [2010/07/12 14:56:02] <devicenull> yea, but how do I remove both? | ||
| [2010/07/12 14:56:10] <devicenull> I cant remove one at a time, since it depends on the other | ||
| [2010/07/12 14:56:39] <fenris02> er, removing either one should catch the other. what's the problem? | ||
| [2010/07/12 14:57:19] <nicklewis> Puppet doesn't remove dependencies is the problem | ||
| [2010/07/12 14:57:30] <devicenull> puppet uses rpm, which wont remove dependiences | ||
| [2010/07/12 14:57:41] <devicenull> and I can't specify multiple packages to remove at once it seems | ||
| [2010/07/12 14:57:44] <rodjek> provider => yum | ||
| [2010/07/12 14:57:47] <nicklewis> #1935 | ||
| [2010/07/12 14:57:47] <gepetto> nicklewis: #1935 is http://projects.puppetlabs.com/issues/show/1935 "Puppet - Bug #1935: Unable to handle 2 packages with a circular dependency - Puppet Labs" | ||
| [2010/07/12 14:57:59] @ Spruit_elf joined channel #puppet | ||
| [2010/07/12 14:58:35] <fenris02> rodjek, with the yum provider, does it properly follow deps? | ||
| [2010/07/12 14:58:43] <devicenull> package { ypbind: ensure => absent, provider => yum,} | ||
| [2010/07/12 14:58:50] <devicenull> that still fails, same issue. | ||
| [2010/07/12 14:58:55] <rodjek> fenris02: i haven't run into any issues with it so far | ||
| [2010/07/12 14:59:22] <rodjek> i haven't spent much time removing packages though, i tend to build a very sparse system then add what i need with puppet | ||
| [2010/07/12 14:59:25] @ pting joined channel #puppet | ||
| [2010/07/12 14:59:29] <devicenull> unless I didn't specify provider currectly there, it seems to have the same issue | ||
| [2010/07/12 14:59:36] <devicenull> actually, it seems to ignore provider and call rpm anyway | ||
| [2010/07/12 14:59:37] @ sebas891 left channel #puppet () | ||
| [2010/07/12 15:00:19] <fenris02> Package { provider => yum} worked here. | ||
| [2010/07/12 15:01:47] <emackn> jbooth: ok is "expect" a type that i can look up ? | ||
| [2010/07/12 15:02:25] @ mbostwick_ joined channel #puppet | ||
| [2010/07/12 15:02:55] <devicenull> with the line I pasted above, I'm getting: Package[ypbind]/ensure: change from 1.19-12.el5 to absent failed: Execution of '/bin/rpm -e ypbind-1.19-12.el5.i386' returned 1: error: Failed dependencies: | ||
| [2010/07/12 15:03:01] <devicenull> which makes me think it's still using rpm | ||
| [2010/07/12 15:03:35] <rodjek> does the output with --debug show anything as to why it's falling back to the rpm provider? | ||
| [2010/07/12 15:05:19] @ Quit: choc: Read error: Connection reset by peer | ||
| [2010/07/12 15:05:57] <devicenull> no | ||
| [2010/07/12 15:05:59] <devicenull> but, debug: Puppet::Type::Package::ProviderYum: Executing '/bin/rpm -e ypbind-1.19-12.el5.i386' | ||
| [2010/07/12 15:06:04] <devicenull> it seems the yum provider uses rpm? | ||
| [2010/07/12 15:06:08] @ wilco joined channel #puppet | ||
| [2010/07/12 15:06:09] @ Quit: ecapriolo: Quit: KVIrc Insomnia 4.0.0, revision: 4030, sources date: 20100125, built on: 2010-02-25 23:12:54 UTC http://www.kvirc.net/ | ||
| [2010/07/12 15:06:22] @ choc joined channel #puppet | ||
| [2010/07/12 15:07:39] <rodjek> interesting, my yum provider uses the following: yum "-y", :erase, @resource[:name] | ||
| [2010/07/12 15:08:02] <rodjek> what version of puppet are you using? | ||
| [2010/07/12 15:08:18] <devicenull> 0.25.5 | ||
| [2010/07/12 15:10:27] <rodjek> what if you ensure => purged instead of absent? | ||
| [2010/07/12 15:10:39] <rodjek> will kill off all the package config files though | ||
| [2010/07/12 15:11:00] <devicenull> yep, that does it | ||
| [2010/07/12 15:11:01] <devicenull> thanks | ||
| [2010/07/12 15:11:25] <rodjek> cool | ||
| [2010/07/12 15:11:57] @ Deesl joined channel #puppet | ||
| [2010/07/12 15:13:14] @ Quit: Determinist: Remote host closed the connection | ||
| [2010/07/12 15:17:53] @ MarkN1 left channel #puppet () | ||
| [2010/07/12 15:25:05] @ Quit: tecto: Remote host closed the connection | ||
| [2010/07/12 15:25:25] @ tecto joined channel #puppet | ||
| [2010/07/12 15:25:44] @ blahdeblah joined channel #puppet | ||
| [2010/07/12 15:30:45] @ mikey_p joined channel #puppet | ||
| [2010/07/12 15:30:52] @ Quit: MattyM: Ping timeout: 276 seconds | ||
| [2010/07/12 15:32:30] @ jmccune joined channel #puppet | ||
| [2010/07/12 15:35:04] @ Quit: verwilst: Quit: Ex-Chat | ||
| [2010/07/12 15:35:44] @ zorzar_ joined channel #puppet | ||
| [2010/07/12 15:37:50] @ _lucid joined channel #puppet | ||
| [2010/07/12 15:38:45] @ Quit: zorzar: Ping timeout: 240 seconds | ||
| [2010/07/12 15:40:43] @ Quit: Deesl: Remote host closed the connection | ||
| [2010/07/12 15:41:28] @ Quit: yannL: Remote host closed the connection | ||
| [2010/07/12 15:41:38] <benkevan> I'm working with a very small puppet test, and when I define a class, as http://fpaste.org/kqJb/ but get a no classes to store error when I start puppetd | ||
| [2010/07/12 15:44:03] <mackn> where is the file where you defined this class | ||
| [2010/07/12 15:44:16] @ EvanCC joined channel #puppet | ||
| [2010/07/12 15:44:33] <benkevan> mackn: now you're going to laugh at me.. I have to make a file? | ||
| [2010/07/12 15:44:44] <benkevan> well.. boy.. this book I'm reading didn't note that :( | ||
| [2010/07/12 15:44:58] <mackn> where did that pastie come from? :) | ||
| [2010/07/12 15:45:03] <benkevan> site.pp | ||
| [2010/07/12 15:45:07] <mackn> ok | ||
| [2010/07/12 15:45:27] <mackn> so i assume this is a very basic start from scartch setup heh | ||
| [2010/07/12 15:45:30] <benkevan> should that be in a different linux.class file, which is defined from the site.pp as a class? | ||
| [2010/07/12 15:45:48] @ Quit: pheezy: Remote host closed the connection | ||
| [2010/07/12 15:46:08] <benkevan> mackn: Yes.. yes it is.. working with pulling strings with puppet, which doesn't indicate I need a different file for a class (which I guess would make sense) | ||
| [2010/07/12 15:46:20] <mackn> well you don't 'need' it | ||
| [2010/07/12 15:46:32] <mackn> but evetually you will want to make a bunch of smaller files to help manage things | ||
| [2010/07/12 15:46:59] <benkevan> mackn: yah.. I'd want to do it right.. so I think I'll break off.. | ||
| [2010/07/12 15:47:10] <mackn> do you have a master and slave setup for your testing? | ||
| [2010/07/12 15:47:16] <mackn> or client rather | ||
| [2010/07/12 15:47:22] <benkevan> I guess.. right now I have a manifests directory under /etc/puppet.. should classes be under manifests, or at the root of /etc/puppet | ||
| [2010/07/12 15:47:35] <benkevan> Yes.. I have the master, and 3 clients (1 being the puppetmaster) | ||
| [2010/07/12 15:47:56] <mackn> for now just leave it in manifests.. will worry about modules later | ||
| [2010/07/12 15:48:34] <benkevan> k.. leaving in there.. (since i haven't yet got to modules in the book) | ||
| [2010/07/12 15:48:47] <mackn> which book is this? | ||
| [2010/07/12 15:48:54] <benkevan> pulling strings with puppets | ||
| [2010/07/12 15:48:58] <mackn> ah | ||
| [2010/07/12 15:48:59] <benkevan> by Turnball himself | ||
| [2010/07/12 15:49:06] <benkevan> bull* | ||
| [2010/07/12 15:49:07] <mackn> i think that's relaly the only book heh | ||
| [2010/07/12 15:49:09] <Tonnerre> Turnball? Heh | ||
| [2010/07/12 15:49:11] <mackn> haha | ||
| [2010/07/12 15:49:34] * benkevan hides from Mr. Turnball | ||
| [2010/07/12 15:49:35] <benkevan> GRR | ||
| [2010/07/12 15:49:41] @ kaptk2 left channel #puppet () | ||
| [2010/07/12 15:49:41] <benkevan> Turnbull (wtf is wrong with me) | ||
| [2010/07/12 15:49:52] <mackn> haha | ||
| [2010/07/12 15:50:00] <benkevan> mackn: back on track.. so I'ts in site.pp and looks like the fpaste | ||
| [2010/07/12 15:50:29] <mackn> have you gottan your clients to go through the whole certificate signing and whatnots already? | ||
| [2010/07/12 15:51:01] <benkevan> mackn: yup.. that parts all working and was just fine.. and can see everything (the 3 clients) with puppetca --list --all | ||
| [2010/07/12 15:51:16] <benkevan> I've setup my site.pp and have some basic file resources.. that are working just fine.. | ||
| [2010/07/12 15:51:56] <benkevan> I've had this service resource working white it's outside of a class (so not a grouped resource I guess)... (still my verbage sucks.. only my second day with puppet, and the last day was on friday.. and the weekend made me forget some (alot) of it) | ||
| [2010/07/12 15:52:42] @ Quit: mbostwick_: Quit: Mmm... sleep | ||
| [2010/07/12 15:55:16] @ mbostwick_ joined channel #puppet | ||
| [2010/07/12 15:55:31] @ Quit: mbostwick_: Remote host closed the connection | ||
| [2010/07/12 15:56:20] @ markus joined channel #puppet | ||
| [2010/07/12 15:56:39] <benkevan> mackn: any idea? | ||
| [2010/07/12 15:56:51] @ mbostwick_ joined channel #puppet | ||
| [2010/07/12 15:56:57] <mackn> have you included that class for any of your nodes? | ||
| [2010/07/12 15:57:27] <benkevan> i haven't gotten into nodes (which is said to be later in this).. I'm wondiering if I should define a package.. haned sshd (..).. | ||
| [2010/07/12 15:57:53] <mackn> maybe skip ahead to the nodes section :) | ||
| [2010/07/12 15:58:11] <benkevan> haha.. don't want to confuse myself.. it says here that creating nodes section later :( | ||
| [2010/07/12 15:58:16] <mackn> haha | ||
| [2010/07/12 15:58:24] <benkevan> maybe it shouldn't work ? i just assumed it would | ||
| [2010/07/12 15:58:33] <mackn> well is it not working at all? | ||
| [2010/07/12 15:58:37] <mackn> or just complaining about the class? | ||
| [2010/07/12 15:58:45] <benkevan> actually.. is it because the service isn't defined? (just complaining about the class to answer your question) | ||
| [2010/07/12 15:58:59] <mackn> it's working as it should | ||
| [2010/07/12 15:59:49] <mackn> when you get to the node section you will be including the class you just created for a given node | ||
| [2010/07/12 15:59:55] <mackn> and that node will doit | ||
| [2010/07/12 16:00:10] <mackn> i assume is what the book will have you do | ||
| [2010/07/12 16:01:26] @ freshtonic joined channel #puppet | ||
| [2010/07/12 16:01:54] <benkevan> ah.. ok.. so it shouldn't work (yet) .. since no nodes are defined.. check | ||
| [2010/07/12 16:02:43] @ Quit: p3rror: Ping timeout: 276 seconds | ||
| [2010/07/12 16:03:50] <benkevan> maybe I'll skip definitions for now.. and go to nodes.. so I understand classes better.. instead of jumping from classes right into definitions.. without having a working class / node configuration | ||
| [2010/07/12 16:04:11] <mackn> wouldn't hurt | ||
| [2010/07/12 16:04:23] @ Quit: _lucid: Ping timeout: 252 seconds | ||
| [2010/07/12 16:04:55] * benkevan goes to get some postits to mark definitions page | ||
| [2010/07/12 16:06:17] <benkevan> and that's post it's not pos tits | ||
| [2010/07/12 16:06:24] @ Quit: jdcasey: Remote host closed the connection | ||
| [2010/07/12 16:07:12] <benkevan> note to Mr. Turnbull.. you should indicate that these classes / definitions won't work until you assign them to a node configuration (it does say you use them in node configurations.. but doesn't say that it shouldn't work until defined). | ||
| [2010/07/12 16:07:18] @ Determinist joined channel #puppet | ||
| [2010/07/12 16:08:04] <rodjek> benkevan: are you sure the book doesn't suggest running the manifests standalone with puppet at this stage rather than puppetd ? | ||
| [2010/07/12 16:09:00] @ Quit: markus: Ping timeout: 265 seconds | ||
| [2010/07/12 16:09:07] @ Quit: blahdeblah: Ping timeout: 240 seconds | ||
| [2010/07/12 16:09:18] <benkevan> rodjek: I'm sure.. the manifest is stand alone, but within the classes section, it doesn't indicate (that the default site.pp which includes the said class resource) is not functional until defined by a node configuration (which is later in the chapter) | ||
| [2010/07/12 16:09:46] @ Quit: emackn: Quit: Page closed | ||
| [2010/07/12 16:14:24] @ lak joined channel #puppet | ||
| [2010/07/12 16:18:05] @ Quit: lak: Client Quit | ||
| [2010/07/12 16:19:07] @ Quit: tonyskapunk: Quit: ERC Version 5.3 (IRC client for Emacs) | ||
| [2010/07/12 16:23:15] @ jbella joined channel #puppet | ||
| [2010/07/12 16:23:51] <jbella> hello | ||
| [2010/07/12 16:23:51] @ lak joined channel #puppet | ||
| [2010/07/12 16:24:40] <jbella> can anyone tell me if there is an easy way to recursevely set the directories in a path to 1 file mode and the files in that path to another? | ||
| [2010/07/12 16:28:27] <rodjek> find /path -type d -exec chmod <mode> {} \; && find /path -type f -exec chmod <mode> {} \; | ||
| [2010/07/12 16:28:29] @ Quit: paxos: Quit: paxos | ||
| [2010/07/12 16:30:24] @ Quit: jab_doa: Quit: Verlassend | ||
| [2010/07/12 16:31:09] @ bug joined channel #puppet | ||
| [2010/07/12 16:32:22] <tobert> hmm are * imports broken/changed in 2.6? | ||
| [2010/07/12 16:32:24] <tobert> Tonnerre: Could not retrieve catalog from remote server: Could not intern from pson: Could not parse for environment production: No file(s) found for import of 'nodes/*.pp' at /etc/puppet/env/production/site.pp:34 | ||
| [2010/07/12 16:32:35] <tobert> heh that was "err:" at the front | ||
| [2010/07/12 16:33:21] <tobert> site.pp just has: import "ndoes/*.pp" | ||
| [2010/07/12 16:33:33] <Tonnerre> Hi tobert | ||
| [2010/07/12 16:33:38] @ addumb joined channel #puppet | ||
| [2010/07/12 16:33:57] <tobert> sorry Tonenerre, bitchx was being too smart for its own good and changed err: to your nick on me | ||
| [2010/07/12 16:34:21] <Tonnerre> bitchx is, in fact, too dumb for this world, but well | ||
| [2010/07/12 16:34:44] <Tonnerre> tobert, does your site.pp really say ndoes/*.pp ? | ||
| [2010/07/12 16:35:01] <tobert> err nodes.pp - mistyped into irc | ||
| [2010/07/12 16:35:06] <Tonnerre> Ok | ||
| [2010/07/12 16:35:18] <Tonnerre> And manifests/nodes/*.pp exists I presume? | ||
| [2010/07/12 16:36:02] <nicklewis> I believe it should be nodes/* | ||
| [2010/07/12 16:36:44] <Tonnerre> nicklewis, *.pp should work | ||
| [2010/07/12 16:36:57] <tobert> nodes/* gives the same error | ||
| [2010/07/12 16:37:05] <nicklewis> Oh never mind, the patch I saw wasn't implemented the way it was described | ||
| [2010/07/12 16:37:19] * tobert tries importing nodes/default.pp to see if it's globbing biting me | ||
| [2010/07/12 16:37:45] @ Quit: jbella: Ping timeout: 252 seconds | ||
| [2010/07/12 16:37:46] <nicklewis> I was looking at 4206, which is only related enough to confuse me and make me spread falsehoods. | ||
| [2010/07/12 16:38:05] <tobert> ahh it doesn't like the subdirectory at all | ||
| [2010/07/12 16:38:19] <tobert> No file(s) found for import of 'nodes/default.pp' at /etc/puppet/env/production/site.pp:35 | ||
| [2010/07/12 16:38:28] @ Quit: seanos: Ping timeout: 276 seconds | ||
| [2010/07/12 16:38:45] <tobert> classes/*.pp doesn't work either .. weird | ||
| [2010/07/12 16:38:50] <tobert> (this is 2.6.0) | ||
| [2010/07/12 16:39:11] @ jbella joined channel #puppet | ||
| [2010/07/12 16:39:20] @ seanos joined channel #puppet | ||
| [2010/07/12 16:40:08] <jbella> Is there any way using puppet that I can define all the direcotires in a path to have 1 set of permissions and the files another? | ||
| [2010/07/12 16:40:41] <nicklewis> jbella: What permissions are you trying to set? | ||
| [2010/07/12 16:40:47] @ Quit: QuackNL: *.net *.split | ||
| [2010/07/12 16:41:19] <jbella> I want all the directories to be set with the execute permission | ||
| [2010/07/12 16:41:30] <jbella> on "all" | ||
| [2010/07/12 16:41:42] <nicklewis> jbella: Do you want the other permissions the same as the files? | ||
| [2010/07/12 16:41:45] <jbella> 666 | ||
| [2010/07/12 16:41:56] <wilco> beastly! | ||
| [2010/07/12 16:42:00] <jbella> the files I would li ke to set to 664 | ||
| [2010/07/12 16:42:04] <jbella> hehe | ||
| [2010/07/12 16:42:11] <addumb> jbella: You can set File defaults like File { mode => 666, owner => blah, group => blah }, then-... oh my n/m haha | ||
| [2010/07/12 16:42:39] <Volcane> directories automagically get the +x | ||
| [2010/07/12 16:42:52] <nicklewis> If you want files and dirs identical besides execute, Puppet will do that on its own | ||
| [2010/07/12 16:42:52] <addumb> orly? cool | ||
| [2010/07/12 16:43:23] <jbella> Oh thats pretty handy | ||
| [2010/07/12 16:44:00] <jbella> what the general case however... say I wanted all the directories to be owned by x and all the files to be owned by y | ||
| [2010/07/12 16:44:30] <jbella> I'm just kinda curious if there is a good way to set the directories and files seperately | ||
| [2010/07/12 16:45:48] @ Quit: lak: Quit: lak | ||
| [2010/07/12 16:46:46] <addumb> jbella: I think you'd want to subclass (dunno if that's the right word) the File type into a Directory type and treat them all differently. But be careful of auto-requires going up a directory path | ||
| [2010/07/12 16:47:29] <rodjek> jbella: you're probably better off using the posix acls to just set the default permissions on the folders you're after | ||
| [2010/07/12 16:47:30] @ QuackNL joined channel #puppet | ||
| [2010/07/12 16:47:52] <rodjek> eg man setfacl | ||
| [2010/07/12 16:47:58] <jbella> Okay... thanks | ||
| [2010/07/12 16:47:59] @ Quit: benkevan: Quit: leaving | ||
| [2010/07/12 16:48:00] <jbella> I think you are right | ||
| [2010/07/12 16:48:17] <jbella> just wanted to make sure I wasn't missing osmething simple | ||
| [2010/07/12 16:53:34] <fenris02> does puppet have a native type for facl? | ||
| [2010/07/12 16:55:21] <rodjek> unfortunately not | ||
| [2010/07/12 16:55:29] <rodjek> ... yet :D | ||
| [2010/07/12 16:56:02] <fenris02> coming real soon now (tm) ? | ||
| [2010/07/12 16:56:04] <fenris02> :) | ||
| [2010/07/12 16:58:00] @ Quit: bug: Quit: bug | ||
| [2010/07/12 16:58:35] @ Quit: gniks: Quit: Leaving. | ||
| [2010/07/12 16:58:45] @ Quit: radkin: Read error: Connection reset by peer | ||
| [2010/07/12 17:01:50] @ stevenjenkins1 joined channel #puppet | ||
| [2010/07/12 17:04:15] @ Quit: stevenjenkins: Ping timeout: 240 seconds | ||
| [2010/07/12 17:08:42] @ Quit: Spruit_elf: Quit: Spruit_elf | ||
| [2010/07/12 17:11:45] @ FOCer joined channel #puppet | ||
| [2010/07/12 17:15:35] @ stevenjenkins joined channel #puppet | ||
| [2010/07/12 17:18:07] @ Quit: stevenjenkins1: Ping timeout: 265 seconds | ||
| [2010/07/12 17:20:47] @ Quit: jmccune: Ping timeout: 240 seconds | ||
| [2010/07/12 17:21:23] @ Quit: jbella: Ping timeout: 252 seconds | ||
| [2010/07/12 17:27:20] <rodjek> fenris02: as promised: http://github.com/rodjek/puppet-semanage | ||
| [2010/07/12 17:27:39] @ nwp joined channel #puppet | ||
| [2010/07/12 17:27:40] <rodjek> i make no promise that this isn't full of syntax errors, i don't have an selinux enabled machine to test it on :) | ||
| [2010/07/12 17:28:05] <lisa> "selinux manage" ? | ||
| [2010/07/12 17:29:45] <fenris02> rodjek, oooh, if you want to enable it on one, i've got a few commands that'll lock it down pretty tight :) | ||
| [2010/07/12 17:30:09] @ gniks joined channel #puppet | ||
| [2010/07/12 17:32:53] * fenris02 attempts to figure out how this thing works now | ||
| [2010/07/12 17:36:49] <fenris02> popen instead of exec. does that permit --debug flag to show any output? (granted, there should not be any normally) | ||
| [2010/07/12 17:40:38] @ thekad is now known as thekad-afk | ||
| [2010/07/12 17:56:25] @ p3rror joined channel #puppet | ||
| [2010/07/12 17:57:31] <rodjek> fenris02: nope, all the output of that'll be captured unfortunately | ||
| [2010/07/12 18:03:39] @ Quit: \ask: Remote host closed the connection | ||
| [2010/07/12 18:06:08] @ thekad-afk is now known as thekad | ||
| [2010/07/12 18:08:04] @ mbostwick_ left channel #puppet () | ||
| [2010/07/12 18:08:49] @ Quit: WALoeIII: Ping timeout: 276 seconds | ||
| [2010/07/12 18:10:44] @ thekad is now known as thekad-afk | ||
| [2010/07/12 18:11:31] @ Quit: pinoyskull: Ping timeout: 258 seconds | ||
| [2010/07/12 18:20:12] @ Quit: jaredrhine: Quit: Leaving. | ||
| [2010/07/12 18:26:52] @ Quit: nicklewis: Quit: Page closed | ||
| [2010/07/12 18:35:38] @ WALoeIII joined channel #puppet | ||
| [2010/07/12 18:40:07] @ bug joined channel #puppet | ||
| [2010/07/12 18:41:18] @ blahdeblah joined channel #puppet | ||
| [2010/07/12 18:42:44] @ plathrop is now known as plathrop-away | ||
| [2010/07/12 18:50:35] <tmz> Has anyone testing 2.6.0rc{1,2} had errors like: Could not find class mysql::server in namespaces puppet::master at /etc/puppet/modules/puppet/manifests/init.pp:25 on node ... ? | ||
| [2010/07/12 18:51:23] <tmz> class mysql::server is defined in /etc/puppet/modules/mysql/manifests/init.pp and this has worked fine for several releases. | ||
| [2010/07/12 18:53:40] @ BLZbubba_ joined channel #puppet | ||
| [2010/07/12 18:53:41] @ Quit: BLZbubba_: Client Quit | ||
| [2010/07/12 18:57:40] @ Quit: p3rror: Ping timeout: 265 seconds | ||
| [2010/07/12 19:12:29] @ Djelibeybi joined channel #puppet | ||
| [2010/07/12 19:19:31] @ physicspackage joined channel #puppet | ||
| [2010/07/12 19:19:46] @ jaredrhine joined channel #puppet | ||
| [2010/07/12 19:22:16] @ Quit: physicspackage: Client Quit | ||
| [2010/07/12 19:29:17] <pting> where do i look to grab the current architecture? ie, x86 or x64 ... or do i just parse uname? | ||
| [2010/07/12 19:32:45] @ \ask joined channel #puppet | ||
| [2010/07/12 19:34:05] <rodjek> pting: it'll be available in $architecture (via Facter) | ||
| [2010/07/12 19:38:37] @ ohadlevy left channel #puppet () | ||
| [2010/07/12 19:39:05] <pting> rodjek, thanks | ||
| [2010/07/12 19:43:51] @ Quit: Djelibeybi: Quit: Page closed | ||
| [2010/07/12 19:44:36] @ markus joined channel #puppet | ||
| [2010/07/12 19:53:53] @ Quit: \ask: Remote host closed the connection | ||
| [2010/07/12 19:54:28] @ artista_frustrad joined channel #puppet | ||
| [2010/07/12 19:54:33] @ Quit: artista_frustrad: Read error: Connection reset by peer | ||
| [2010/07/12 20:00:15] @ Quit: rcrowley: Quit: rcrowley | ||
| [2010/07/12 20:08:30] @ \ask joined channel #puppet | ||
| [2010/07/12 20:16:12] @ Anon310 joined channel #puppet | ||
| [2010/07/12 20:27:35] @ poison joined channel #puppet | ||
| [2010/07/12 20:29:13] @ Quit: Anon310: Quit: WrongPlanet forever! | ||
| [2010/07/12 20:30:48] @ jmccune joined channel #puppet | ||
| [2010/07/12 20:39:31] @ Reepicheep joined channel #puppet | ||
| [2010/07/12 20:42:15] @ Quit: bug: Quit: bug | ||
| [2010/07/12 20:42:50] @ Quit: jmccune: Ping timeout: 248 seconds | ||
| [2010/07/12 20:43:29] @ bug joined channel #puppet | ||
| [2010/07/12 20:43:53] @ Quit: crdant: Quit: Leaving. | ||
| [2010/07/12 20:44:30] @ Quit: Reepicheep: Ping timeout: 252 seconds | ||
| [2010/07/12 20:47:56] @ Quit: mclarke: Quit: mclarke | ||
| [2010/07/12 20:51:16] @ Reepicheep joined channel #puppet | ||
| [2010/07/12 20:53:31] @ pinoyskull joined channel #puppet | ||
| [2010/07/12 20:54:53] @ alcy joined channel #puppet | ||
| [2010/07/12 20:55:48] <alcy> folks, which rakefile should I use for intitial db setup/migration in foreman ? | ||
| [2010/07/12 20:58:49] @ Quit: toi: Ping timeout: 264 seconds | ||
| [2010/07/12 20:59:47] @ SpamapS left channel #puppet () | ||
| [2010/07/12 20:59:51] @ jmccune joined channel #puppet | ||
| [2010/07/12 21:04:25] @ Quit: pting: Remote host closed the connection | ||
| [2010/07/12 21:07:29] @ ceren joined channel #puppet | ||
| [2010/07/12 21:12:18] @ yakub joined channel #puppet | ||
| [2010/07/12 21:14:23] <yakub> hello. what am i doing wrong? http://pastie.org/1041977 | ||
| [2010/07/12 21:15:09] @ Quit: mikey_p: Quit: mikey_p | ||
| [2010/07/12 21:16:51] <fenris02> what's your fully qualified hostname? | ||
| [2010/07/12 21:17:51] <yakub> i think its app1 ! http://pastie.org/1041978 | ||
| [2010/07/12 21:18:33] <fenris02> what was it when you created your certificate? | ||
| [2010/07/12 21:18:42] @ Quit: jaredrhine: Quit: Leaving. | ||
| [2010/07/12 21:19:14] <yakub> the same. i did the puppetca -c all , and i deleted everything in /var/lib/puppet/ssl/ and restarted puppetmaster, just to make sure | ||
| [2010/07/12 21:19:47] @ gebi joined channel #puppet | ||
| [2010/07/12 21:19:59] @ thekad-afk is now known as thekad | ||
| [2010/07/12 21:25:34] @ Quit: pinoyskull: Ping timeout: 265 seconds | ||
| [2010/07/12 21:35:07] @ Quit: Bass10: Ping timeout: 240 seconds | ||
| [2010/07/12 21:37:14] @ pinoyskull joined channel #puppet | ||
| [2010/07/12 21:40:15] @ lkoranda joined channel #puppet | ||
| [2010/07/12 21:40:30] <alcy> can foreman be used against rack 1.2.1 instead of 1.0.1 ? I fear if I uninstall the 1.2.1 version, which was installed during installation of visage, things might break | ||
| [2010/07/12 21:42:34] @ jaredrhine joined channel #puppet | ||
| [2010/07/12 21:49:44] @ Pupeno- joined channel #puppet | ||
| [2010/07/12 21:50:47] @ Quit: cliff-hm: Ping timeout: 258 seconds | ||
| [2010/07/12 21:52:40] @ Quit: Pupeno: Ping timeout: 260 seconds | ||
| [2010/07/12 21:52:40] @ Pupeno- is now known as Pupeno | ||
| [2010/07/12 21:56:53] @ wilmoore joined channel #puppet | ||
| [2010/07/12 21:59:57] @ Quit: jmccune: Ping timeout: 265 seconds | ||
| [2010/07/12 22:00:47] @ Quit: jaredrhine: Quit: Leaving. | ||
| [2010/07/12 22:01:02] @ jaredrhine joined channel #puppet | ||
| [2010/07/12 22:01:02] @ mclarke joined channel #puppet | ||
| [2010/07/12 22:01:04] @ Quit: EvanCC: Quit: This computer has gone to sleep | ||
| [2010/07/12 22:19:17] @ Quit: justdave: Ping timeout: 265 seconds | ||
| [2010/07/12 22:26:05] @ AimanA is now known as HouseAway | ||
| [2010/07/12 22:27:01] @ justdave joined channel #puppet | ||
| [2010/07/12 22:37:37] @ Quit: wilmoore: Remote host closed the connection | ||
| [2010/07/12 22:37:59] <sejo> hmm user locking not yet available :/ | ||
| [2010/07/12 22:38:37] @ Quit: jaredrhine: Ping timeout: 245 seconds | ||
| [2010/07/12 22:39:45] @ Quit: Pupeno: Quit: http://pupeno.com | ||
| [2010/07/12 22:41:48] @ Pupeno joined channel #puppet | ||
| [2010/07/12 22:42:06] <agaffney> hey sejo :P | ||
| [2010/07/12 22:42:21] <sejo> agaffney: w00t hey mate | ||
| [2010/07/12 22:42:30] <sejo> agaffney: still up? | ||
| [2010/07/12 22:42:45] <agaffney> I'm in CA right now...it's only 22:42 | ||
| [2010/07/12 22:43:08] <sejo> Och cool, btw didn't know you were messing with puppet | ||
| [2010/07/12 22:43:17] <agaffney> yep, been using it over a year | ||
| [2010/07/12 22:43:34] <agaffney> 2 production deployments | ||
| [2010/07/12 22:43:40] <sejo> I like it, just the enterprise distros have bad ruby packages imho | ||
| [2010/07/12 22:44:09] <agaffney> the RHEL/CentOS ruby seems to work fine | ||
| [2010/07/12 22:44:11] @ Quit: Pupeno: Client Quit | ||
| [2010/07/12 22:44:12] <sejo> been implementing the complete NSA guide te hardening RHEL5 in puppet recipes | ||
| [2010/07/12 22:44:24] <agaffney> but I wouldn't know the difference between good and bad ruby packages | ||
| [2010/07/12 22:44:28] <sejo> agaffney: you use the EPEL cight? | ||
| [2010/07/12 22:44:32] <sejo> right? | ||
| [2010/07/12 22:44:36] <agaffney> yes | ||
| [2010/07/12 22:44:42] <agaffney> I'm still in 0.24.8 from EPEL | ||
| [2010/07/12 22:44:55] <sejo> I made my omn rpm's | ||
| [2010/07/12 22:45:31] <yakub> i think i ask this every year, what am i doing wrong ? http://pastie.org/1042035 | ||
| [2010/07/12 22:45:57] <sejo> agaffney: puppet 0.25.5 here | ||
| [2010/07/12 22:46:38] <agaffney> yakub: did you change the hostname of your puppetmaster? | ||
| [2010/07/12 22:46:47] <agaffney> or move it to a different server? | ||
| [2010/07/12 22:46:54] <yakub> nope. this is driving me nuts | ||
| [2010/07/12 22:47:09] <sejo> but he did of the client | ||
| [2010/07/12 22:47:14] <rodjek> ah | ||
| [2010/07/12 22:47:17] <sejo> or it's a new install | ||
| [2010/07/12 22:47:24] <yakub> so what do i do ? | ||
| [2010/07/12 22:47:30] <sejo> yakub: drop the certificate and request a new one (pupetca --clean <hostname>) on the puppetmaster | ||
| [2010/07/12 22:47:38] <sejo> *puppetca | ||
| [2010/07/12 22:47:40] <rodjek> on the puppetmaster, run puppetca --clean app1.<domain> | ||
| [2010/07/12 22:48:05] <yakub> i keep deleting everything in /var/lib/puppet/ssl/ , i wonder where the old stuff is hiding ? | ||
| [2010/07/12 22:48:12] <sejo> agaffney: been toying around with SSD disks in my now laptop,,, Man I mish I switched to SSD a year ago :/ | ||
| [2010/07/12 22:48:34] <sejo> yakub: just use puppetca --clean | ||
| [2010/07/12 22:48:37] <agaffney> sejo: I've got a 30GB SSD in my main workstation...makes a world of difference | ||
| [2010/07/12 22:48:39] <sejo> that should remowe it all | ||
| [2010/07/12 22:49:09] <sejo> agaffney: yeah set up a RHEL in Virtualbox here, only took 7 minutes once I pressed finish :p | ||
| [2010/07/12 22:49:23] <sejo> still not used to the keyboard though | ||
| [2010/07/12 22:50:57] <yakub> sejo: i still get the error: http://pastie.org/1042040 | ||
| [2010/07/12 22:52:04] <agaffney> yakub: run the puppetca command on your puppetmaster | ||
| [2010/07/12 22:52:06] <sejo> yakub remove all ssl keys from the client, run puppetd --test --noop --waitforcert 60 from commandline | ||
| [2010/07/12 22:52:11] <agaffney> but do *not* use --all | ||
| [2010/07/12 22:52:21] <sejo> then puppetco --sign app1 | ||
| [2010/07/12 22:52:34] <agaffney> yakub: did you set certname or something like that in puppet.conf on this client? | ||
| [2010/07/12 22:52:34] <sejo> and indeed --all rewoves all keys! | ||
| [2010/07/12 22:53:32] <yakub> agaffney: i haven't set anything in puppet.conf or /etc/sysinstall/puppet | ||
| [2010/07/12 22:54:09] <yakub> same error. i am frustrated. http://pastie.org/1042042 | ||
| [2010/07/12 22:55:30] <yakub> agaffney: client / server are same machine | ||
| [2010/07/12 22:55:49] <sejo> yakub: btw is appl1 the complete hostname? | ||
| [2010/07/12 22:56:00] <yakub> yes | ||
| [2010/07/12 22:56:30] @ Quit: bgupta: Read error: No route to host | ||
| [2010/07/12 22:56:34] <agaffney> you should probably use FQDN hostnames for consistency | ||
| [2010/07/12 22:56:36] <sejo> run this: puppetmasterd --no-daemonize --debug | ||
| [2010/07/12 22:56:45] <sejo> and paste it please | ||
| [2010/07/12 22:56:55] @ Quit: stevenjenkins: Ping timeout: 265 seconds | ||
| [2010/07/12 22:57:05] <yakub> if i do somethin like set my name to app1.hostname.com , then i can't list node names like app1.hostname.com in site.pp | ||
| [2010/07/12 22:57:23] <agaffney> umm, why not? | ||
| [2010/07/12 22:57:41] @ bgupta joined channel #puppet | ||
| [2010/07/12 22:58:01] <agaffney> yakub: you have to quote the hostname: node 'app1.hostname.com' { | ||
| [2010/07/12 22:58:09] @ stevenjenkins joined channel #puppet | ||
| [2010/07/12 22:58:27] <yakub> http://pastie.org/1042047 | ||
| [2010/07/12 23:01:16] @ Quit: fbe: Ping timeout: 265 seconds | ||
| [2010/07/12 23:02:25] @ Quit: blahdeblah: Ping timeout: 264 seconds | ||
| [2010/07/12 23:06:58] @ lak joined channel #puppet | ||
| [2010/07/12 23:16:06] @ jaredrhine joined channel #puppet | ||
| [2010/07/12 23:16:19] <yakub> i wonder why node 'default' never works for me | ||
| [2010/07/12 23:16:50] @ Quit: lak: Quit: lak | ||
| [2010/07/12 23:19:28] @ shug joined channel #puppet | ||
| [2010/07/12 23:24:50] @ Quit: fredden: Quit: Leaving | ||
| [2010/07/12 23:28:41] @ themroc_375 is now known as themroc | ||
| [2010/07/12 23:30:19] @ blahdeblah joined channel #puppet | ||
| [2010/07/12 23:31:39] @ Quit: Determinist: Remote host closed the connection | ||
| [2010/07/12 23:32:05] @ Quit: gebi: Read error: Operation timed out | ||
| [2010/07/12 23:32:08] @ rcrowley joined channel #puppet | ||
| [2010/07/12 23:32:24] @ sdog joined channel #puppet | ||
| [2010/07/12 23:33:37] @ Quit: sdog: Changing host | ||
| [2010/07/12 23:33:37] @ sdog joined channel #puppet | ||
| [2010/07/12 23:35:56] @ kenneho joined channel #puppet | ||
| [2010/07/12 23:36:04] @ Quit: jaredrhine: Ping timeout: 265 seconds | ||
| [2010/07/12 23:37:41] <alcy> Folks I am having trouble with Foreman not being able to get the reports from puppet. I am using foreman under passenger. Its a 403, but in the vhost defintion I have allowed access to everyone. | ||
| [2010/07/12 23:38:12] <alcy> http://pastie.org/1042067 contains contents of apache side config of foreman as well as foreman.rb in /var/lib/puppet/reports | ||
| [2010/07/12 23:38:38] <alcy> except the reports, everything else works fine in foreman. | ||
| [2010/07/12 23:39:56] @ mikey_p joined channel #puppet | ||
| [2010/07/12 23:42:34] @ ohadlevy joined channel #puppet | ||
| [2010/07/12 23:45:29] @ Quit: WALoeIII: Quit: Bai. | ||
| [2010/07/12 23:46:57] <alcy> anyone ? | ||
| [2010/07/12 23:47:31] <ohadlevy> alcy: whats the q? | ||
| [2010/07/12 23:48:40] <alcy> I am getting the 403 error while accessing reports in foreman running under passenger. http://pastie.org/1042067 | ||
| [2010/07/12 23:49:27] <alcy> so the question is, how to solve this ? :D | ||
| [2010/07/12 23:49:48] <ohadlevy> alcy: whats the relevant log entry from foreman? | ||
| [2010/07/12 23:52:01] <alcy> ohadlevy: nothing about reports | ||
| [2010/07/12 23:52:39] <alcy> ohadlevy: other things like hosts, facts are in the log with OK status. | ||
| [2010/07/12 23:52:55] <ohadlevy> alcy: can you actually see the post request in apache log files? | ||
| [2010/07/12 23:54:47] @ m1nish joined channel #puppet | ||
| [2010/07/12 23:55:21] @ Spruit_elf joined channel #puppet | ||
| [2010/07/12 23:55:22] @ TREllis joined channel #puppet | ||
| [2010/07/12 23:55:27] <alcy> ohadlevy: I have a GET request in th other vhosts_access.log | ||
| [2010/07/12 23:56:34] <alcy> ohadlevy: I haven't mentioned anything about reports in the settings.yaml. | ||
| [2010/07/12 23:56:42] <alcy> ...do i need to ? | ||
| [2010/07/12 23:57:41] <ohadlevy> alcy: no, but it seems like the reports are not being sent, where did you see the 403? |
Generated by irclog2html.py 2.9.2 by Marius Gedminas - find it at mg.pov.lt!