| [2011/12/07 00:01:03] @ Log started by gepetto | ||
| [2011/12/07 00:01:03] @ jeremy joined channel #puppet | ||
| [2011/12/07 00:01:03] @ Quit: jeremy: Changing host | ||
| [2011/12/07 00:01:03] @ jeremy joined channel #puppet | ||
| [2011/12/07 00:05:00] @ brtl joined channel #puppet | ||
| [2011/12/07 00:06:47] @ d3c joined channel #puppet | ||
| [2011/12/07 00:08:32] @ Ramonster joined channel #puppet | ||
| [2011/12/07 00:09:07] @ adimania joined channel #puppet | ||
| [2011/12/07 00:14:50] @ Quit: jimmy1980: Ping timeout: 252 seconds | ||
| [2011/12/07 00:17:17] @ dissipate_ joined channel #puppet | ||
| [2011/12/07 00:20:52] @ jimmy1980 joined channel #puppet | ||
| [2011/12/07 00:20:55] @ Quit: dwalu: Quit: dwalu | ||
| [2011/12/07 00:23:45] @ larstobi joined channel #puppet | ||
| [2011/12/07 00:26:33] @ Quit: nevyn: Ping timeout: 268 seconds | ||
| [2011/12/07 00:28:16] @ nevyn joined channel #puppet | ||
| [2011/12/07 00:33:58] @ joe-mac joined channel #puppet | ||
| [2011/12/07 00:39:10] @ Quit: pll_work: Ping timeout: 244 seconds | ||
| [2011/12/07 00:40:23] @ Quit: sumsuch: Quit: sumsuch | ||
| [2011/12/07 00:40:27] @ trickyf joined channel #puppet | ||
| [2011/12/07 00:40:56] @ trickyf left channel #puppet () | ||
| [2011/12/07 00:41:49] @ trickyf joined channel #puppet | ||
| [2011/12/07 00:42:52] @ verwilst joined channel #puppet | ||
| [2011/12/07 00:46:55] @ Vasik|work joined channel #puppet | ||
| [2011/12/07 00:47:24] @ Quit: miche: Quit: Computer has gone to sleep. | ||
| [2011/12/07 00:48:08] @ Quit: larsar: Remote host closed the connection | ||
| [2011/12/07 00:56:55] @ Quit: ezmobius|zoning|: Quit: peace out | ||
| [2011/12/07 01:03:13] @ Quit: choonming: Quit: Leaving | ||
| [2011/12/07 01:03:54] @ inecas joined channel #puppet | ||
| [2011/12/07 01:04:32] @ lkoranda joined channel #puppet | ||
| [2011/12/07 01:05:29] @ ezryx joined channel #puppet | ||
| [2011/12/07 01:08:19] @ drnexus joined channel #puppet | ||
| [2011/12/07 01:12:07] @ EL84 joined channel #puppet | ||
| [2011/12/07 01:13:16] @ Quit: Volcane: Quit: bbiab | ||
| [2011/12/07 01:15:11] @ Stenbryggen joined channel #puppet | ||
| [2011/12/07 01:15:49] <matchaw> Hi all. | ||
| [2011/12/07 01:15:58] <matchaw> Is it possible to do this : require => $::operatingsystem ? { } | ||
| [2011/12/07 01:16:27] <matchaw> as I am getting error : Parameter require failed: No title provided and "[Class[puppet::repo]" is not a valid resource reference | ||
| [2011/12/07 01:17:52] @ Quit: clustermagnet: Ping timeout: 255 seconds | ||
| [2011/12/07 01:20:30] @ daysmen joined channel #puppet | ||
| [2011/12/07 01:21:31] <NuclearLucifer> matchaw, Why don't you move it to some variable and don't use variable instead of selector in require definition? | ||
| [2011/12/07 01:22:05] <joe-mac> matchaw: yea, it is possible, your syntax is probably wromng thogh | ||
| [2011/12/07 01:22:15] @ ben_duyujie left channel #puppet () | ||
| [2011/12/07 01:22:39] @ the_ramink joined channel #puppet | ||
| [2011/12/07 01:23:05] @ Volcane joined channel #puppet | ||
| [2011/12/07 01:23:06] <matchaw> ok it seems it doesn't like the quotes | ||
| [2011/12/07 01:23:32] <matchaw> i.e ubuntu => [Class[puppet::repo] | ||
| [2011/12/07 01:23:43] <matchaw> instead of | ||
| [2011/12/07 01:23:48] <matchaw> ubuntu => "[Class[puppet::repo]" | ||
| [2011/12/07 01:23:52] <matchaw> seems to work | ||
| [2011/12/07 01:26:08] @ clustermagnet joined channel #puppet | ||
| [2011/12/07 01:26:49] @ Quit: salajand1r: Read error: No route to host | ||
| [2011/12/07 01:27:53] @ fff joined channel #puppet | ||
| [2011/12/07 01:27:59] <fff> hello | ||
| [2011/12/07 01:28:27] @ Quit: antony_: Ping timeout: 265 seconds | ||
| [2011/12/07 01:28:39] @ nul0op joined channel #puppet | ||
| [2011/12/07 01:30:16] @ Quit: clustermagnet: Ping timeout: 240 seconds | ||
| [2011/12/07 01:31:24] @ salajander joined channel #puppet | ||
| [2011/12/07 01:31:39] @ duerF joined channel #puppet | ||
| [2011/12/07 01:32:09] @ fff left channel #puppet () | ||
| [2011/12/07 01:32:09] @ feylya-puppet joined channel #puppet | ||
| [2011/12/07 01:37:01] @ walterheck joined channel #puppet | ||
| [2011/12/07 01:37:43] <walterheck> hey guys, I wrote a blog post on why we love using puppet, thought maybe some of you would be interested :) http://tribily.com/blog/2011/12/07/8-reasons-implement-configuration-management-using-puppet | ||
| [2011/12/07 01:38:48] @ Quit: jimmy1980: Ping timeout: 252 seconds | ||
| [2011/12/07 01:39:57] @ Quit: jsurfer: Quit: jsurfer | ||
| [2011/12/07 01:41:46] @ Quit: jbraeuer: Quit: jbraeuer | ||
| [2011/12/07 01:44:52] @ Quit: dissipate_: Ping timeout: 268 seconds | ||
| [2011/12/07 01:45:47] @ jimmy1980 joined channel #puppet | ||
| [2011/12/07 01:58:35] @ marcus__ is now known as marcus | ||
| [2011/12/07 01:58:56] @ Quit: csanchez: Quit: csanchez | ||
| [2011/12/07 01:59:01] <nevyn> walterheck: nice. | ||
| [2011/12/07 01:59:10] <nevyn> are you using the git branch -> environment stuff? | ||
| [2011/12/07 01:59:17] <walterheck> nevyn: yup | ||
| [2011/12/07 01:59:22] <nevyn> nice | ||
| [2011/12/07 01:59:29] <walterheck> it's not super ideal though | ||
| [2011/12/07 01:59:35] <nevyn> oh? | ||
| [2011/12/07 01:59:38] <walterheck> I wish the environment stuff was even lazier | ||
| [2011/12/07 01:59:44] <nevyn> howso? | ||
| [2011/12/07 02:00:14] <walterheck> right now, if you need a few things different for a module in some environment, you need to copy the whole module over to that environment | ||
| [2011/12/07 02:00:34] <nevyn> mmm... | ||
| [2011/12/07 02:00:34] <walterheck> I wish it would just need that one file that was different, or even that one resource (would make more sense I guess) | ||
| [2011/12/07 02:00:54] <nevyn> so git branch -b newenvironmet change file? | ||
| [2011/12/07 02:01:08] <walterheck> so it would take my main resources, and if we're not in the main environment, check for every resource if it happens to be redefined for that environment | ||
| [2011/12/07 02:01:40] <walterheck> ah no, we keep environments in $confdir/environments/$environment/ | ||
| [2011/12/07 02:01:50] <walterheck> so you have double modules to maintain | ||
| [2011/12/07 02:01:56] <nevyn> right.. | ||
| [2011/12/07 02:02:08] <nevyn> but automatically so when you make a new branch it is a new environment right? | ||
| [2011/12/07 02:02:18] <walterheck> luckily you only need to keep modules that are different, but still, that could be more finegrained | ||
| [2011/12/07 02:02:29] <walterheck> ah no, we don't have that | ||
| [2011/12/07 02:02:44] <walterheck> would be cool, with a git hook or something? | ||
| [2011/12/07 02:02:57] <nevyn> http://puppetlabs.com/blog/git-workflow-and-puppet-environments/ | ||
| [2011/12/07 02:03:48] <nevyn> so you push a new branch to your gitolite box and then just change the environment of your test box and run puppet agent -t | ||
| [2011/12/07 02:04:05] <nevyn> no touching the puppetmaster required | ||
| [2011/12/07 02:05:25] <walterheck> interesting idea.. reading.. | ||
| [2011/12/07 02:06:16] <nevyn> walterheck: but environment inheritances is an interesting idea | ||
| [2011/12/07 02:06:38] <walterheck> nevyn: yeah, I should probably post a feature request | ||
| [2011/12/07 02:06:40] @ csanchez joined channel #puppet | ||
| [2011/12/07 02:06:41] <walterheck> let me do that | ||
| [2011/12/07 02:07:42] <nevyn> walterheck: I dunno that it's sensible tho | ||
| [2011/12/07 02:07:53] <walterheck> why not? | ||
| [2011/12/07 02:08:29] <nevyn> you can't point to a set of manifests and say that's the definition of the infrastructure for this environment | ||
| [2011/12/07 02:08:42] <nevyn> inheritance get's scary about accountability | ||
| [2011/12/07 02:09:39] <walterheck> well, case in point: our DNS module is only different in a few places in the staging environment, yet we have to duplicate the whole module. That makes it easy to forget to adjust either one of those when you make a change to them | ||
| [2011/12/07 02:10:08] <walterheck> (our workflow allows small changes to go straight into production) | ||
| [2011/12/07 02:10:18] <ewoud> how do I define an exec that is executed when notified? | ||
| [2011/12/07 02:10:36] <nevyn> walterheck: so in my world the code for staging and production would converge. | ||
| [2011/12/07 02:10:52] <nevyn> so staging is exactly the code that will be in production after it's authorised | ||
| [2011/12/07 02:11:29] <nevyn> so you implement the different business requirements as different puppet selectors or something | ||
| [2011/12/07 02:11:48] <ewoud> more specific, I now have http://pastebin.com/hdBcxVsb, but the exec is executed every run | ||
| [2011/12/07 02:11:49] <walterheck> nevyn: explain what you mean by that last comment? | ||
| [2011/12/07 02:12:02] <ewoud> now that doesn't hurt, but is a waste of resources | ||
| [2011/12/07 02:12:34] <nevyn> walterheck: so if your staging dns servers and production dns servers need different stuff have that difference as puppet logic not as different code | ||
| [2011/12/07 02:13:12] @ artis joined channel #puppet | ||
| [2011/12/07 02:13:22] <nevyn> so use something like... | ||
| [2011/12/07 02:13:31] <walterheck> nevyn: yeah, I mean I could keep it all in the main module and put if $environment checks around it, but that would be nasty imho | ||
| [2011/12/07 02:13:54] <nevyn> not if eww.. | ||
| [2011/12/07 02:14:31] <nevyn> walterheck: we talking about managing resolv.conf or the actual bind instances? | ||
| [2011/12/07 02:14:48] <walterheck> ewoud: use unless/ifonly: http://docs.puppetlabs.com/references/stable/type.html#exec | ||
| [2011/12/07 02:15:12] <walterheck> resolv.conf, hosts file, hosts.deny | ||
| [2011/12/07 02:15:21] <ewoud> walterheck: the only if isn't used when you notify it? | ||
| [2011/12/07 02:17:19] @ Quit: feylya-puppet: Quit: feylya-puppet | ||
| [2011/12/07 02:17:44] <nevyn> so a patern more like this: http://paste.debian.net/148444/ | ||
| [2011/12/07 02:17:52] <nevyn> that probably doesn't parse btw | ||
| [2011/12/07 02:19:00] <walterheck> nevyn: yes, I could do that, but it's not cool. I want to open source my modules, and that involves not having environments in the module code imho | ||
| [2011/12/07 02:20:00] <nevyn> walterheck: so managing difference like this is why puppet has these capabilities | ||
| [2011/12/07 02:20:40] <nevyn> in my world environments are used for things like differing change control processes... | ||
| [2011/12/07 02:20:41] <walterheck> nevyn: I understand that, but I just consider it not as clean as inheritance on resource level would be | ||
| [2011/12/07 02:21:17] <nevyn> or managing change control processes. | ||
| [2011/12/07 02:21:33] <nevyn> so all code must hit staging before it hits production | ||
| [2011/12/07 02:22:24] @ danikov joined channel #puppet | ||
| [2011/12/07 02:23:00] <nevyn> walterheck: so you can inherit and override resources. | ||
| [2011/12/07 02:23:20] @ choonming joined channel #puppet | ||
| [2011/12/07 02:23:47] <walterheck> right, I understand your difference now. Whatever is in production has been in staging beforehand | ||
| [2011/12/07 02:24:00] <nevyn> right | ||
| [2011/12/07 02:24:09] <walterheck> so you can't not use conditionals for environments | ||
| [2011/12/07 02:24:29] <walterheck> ok, fair enough, but does that make my workflow a bad one? | ||
| [2011/12/07 02:24:38] <nevyn> no. just different | ||
| [2011/12/07 02:24:39] @ Quit: brtl: Ping timeout: 252 seconds | ||
| [2011/12/07 02:24:47] <walterheck> k, just checking :) | ||
| [2011/12/07 02:25:23] <walterheck> I can see why you'd pick your version for a larger environment indeed | ||
| [2011/12/07 02:25:26] <nevyn> I think that the whole point of having staging/testing prior to production is very powerful when used with puppet | ||
| [2011/12/07 02:25:40] <nevyn> walterheck: we have 16 customers each with different change processes | ||
| [2011/12/07 02:25:55] <nevyn> the plan is to have one set of puppet code and push all changes to all environments | ||
| [2011/12/07 02:26:04] <nevyn> eventually | ||
| [2011/12/07 02:26:07] @ brtl joined channel #puppet | ||
| [2011/12/07 02:26:39] <walterheck> me too, but since we usually make small changes, and we're our own customer things can be done a bit more in a shortcut way: our changes are usually only affecting one or two modules at a time | ||
| [2011/12/07 02:27:03] <walterheck> well, having different puppet repo's is a whole different story that I haven't made up my mind about yet | ||
| [2011/12/07 02:27:03] <nevyn> so the plan is to have small modifications (add a box etc) be a standard change | ||
| [2011/12/07 02:27:19] <nevyn> different puppet repos? | ||
| [2011/12/07 02:27:28] <nevyn> there's one puppet repo. lots of branches. | ||
| [2011/12/07 02:27:33] <nevyn> lots of environments | ||
| [2011/12/07 02:27:50] <walterheck> I'm in charge of 5 different customers right now, with environments in different infra's that cannot easily be brought together | ||
| [2011/12/07 02:27:55] <nevyn> right. | ||
| [2011/12/07 02:28:01] <nevyn> that's a harder problem | ||
| [2011/12/07 02:28:09] <walterheck> no central puppet master or anything | ||
| [2011/12/07 02:28:20] <nevyn> our customers have the same security and identity policies | ||
| [2011/12/07 02:28:21] <walterheck> i'm considering git sub projects or whatever they are called | ||
| [2011/12/07 02:28:30] <nevyn> and are departments of a sigle organisation | ||
| [2011/12/07 02:29:04] <walterheck> so I put each module in it's own git repo, then clone a specific version of that into each customer's repo | ||
| [2011/12/07 02:29:08] @ mapope joined channel #puppet | ||
| [2011/12/07 02:29:09] @ Quit: mapope: Remote host closed the connection | ||
| [2011/12/07 02:29:15] <nevyn> hrm | ||
| [2011/12/07 02:29:37] <nevyn> walterheck: git can do that... | ||
| [2011/12/07 02:29:41] <walterheck> whenever I work on a customer again, I can script it so that it updates all their modules to the latest versions | ||
| [2011/12/07 02:29:42] <nevyn> with submodules | ||
| [2011/12/07 02:29:55] <nevyn> don't you need to go through change control to do that? | ||
| [2011/12/07 02:29:59] <walterheck> s/subprojects/submodules ;) | ||
| [2011/12/07 02:30:12] * nevyn lives in a very ITILv3 world. (wrong as that is. | ||
| [2011/12/07 02:30:30] @ Quit: scobal: Read error: Connection reset by peer | ||
| [2011/12/07 02:30:37] * walterheck lives in an i-make-the-rules world. Can be dangerous sometimes :) | ||
| [2011/12/07 02:30:52] @ artis left channel #puppet () | ||
| [2011/12/07 02:31:39] <nevyn> walterheck: so I strongly suggest having a plan to have customers code converged to some sort of mainline | ||
| [2011/12/07 02:31:46] <walterheck> The way I see it in the future is that I'd start working on a client (once every few weeks or so), get the latest versions of all their modules from the submodules, make sure they work properly in their staging environment and then push to production | ||
| [2011/12/07 02:32:12] <nevyn> so you're adopting the staging then production bit of my model? or you mean something else? | ||
| [2011/12/07 02:32:21] @ Quit: inecas: Ping timeout: 268 seconds | ||
| [2011/12/07 02:32:23] <walterheck> yeah, that bit I do adopt | ||
| [2011/12/07 02:32:41] <walterheck> i already have that mostly, I just have the option to skip it, and do so for small changes | ||
| [2011/12/07 02:32:46] <nevyn> right. | ||
| [2011/12/07 02:33:08] <nevyn> so are you using gitolite? | ||
| [2011/12/07 02:33:18] <nevyn> or you just have a bunch of git repos? | ||
| [2011/12/07 02:33:33] @ Quit: countskm: Read error: Operation timed out | ||
| [2011/12/07 02:33:51] <walterheck> github business account for tribily's stuff, and self hosted git repo's on different customers' servers | ||
| [2011/12/07 02:34:07] <nevyn> ok. | ||
| [2011/12/07 02:35:47] <ewoud> gitolite++ | ||
| [2011/12/07 02:35:56] * nevyn likes gitolite | ||
| [2011/12/07 02:35:59] <nevyn> a lot | ||
| [2011/12/07 02:36:01] <ewoud> same | ||
| [2011/12/07 02:36:01] <walterheck> tbh I had never heard of gitolite until now :) | ||
| [2011/12/07 02:36:19] <ewoud> and I think I'm going to set up gerrit to handle the merges through code reviews | ||
| [2011/12/07 02:36:24] <BrickBag> +2 for gitolite | ||
| [2011/12/07 02:36:32] <nevyn> walterheck: it lets you do some fancy access controls stuff to git | ||
| [2011/12/07 02:36:35] <ewoud> (http://code.google.com/p/gerrit/) | ||
| [2011/12/07 02:36:56] <nevyn> walterheck: like the newb can edit site.pp but not modules/oracle/manifests/oraclepreinst.pp | ||
| [2011/12/07 02:37:09] <ewoud> I particularly like how it auto creates git repos if you have the permission | ||
| [2011/12/07 02:37:12] <walterheck> nevyn: like the sound of that :) | ||
| [2011/12/07 02:37:36] <nevyn> so if they want to change that they send you a patch. | ||
| [2011/12/07 02:38:06] <nevyn> walterheck: or the dba's can edit modules/users/manifests/dbteam.pp but not sysadmins.pp | ||
| [2011/12/07 02:38:09] <nevyn> or whatever | ||
| [2011/12/07 02:38:39] <ewoud> walterheck: btw, about the exec with onlyif; is the onlyif also evaluated with a notify? | ||
| [2011/12/07 02:38:42] <walterheck> I can see that be useful where we allow clients to administer their own users module, but not mess around with the more crucial ones | ||
| [2011/12/07 02:39:05] <walterheck> ewoud: honestly, I wouldn't know. try it out with puppet -tdv? | ||
| [2011/12/07 02:39:37] * walterheck goes back to work, pondering some new insights.. | ||
| [2011/12/07 02:39:43] <nevyn> walterheck: so it also does things like "only releasemanager can push to the production branch" | ||
| [2011/12/07 02:39:49] <walterheck> thanks nevyn for those ;) | ||
| [2011/12/07 02:39:53] <nevyn> which probably doesn't matter for you but matters for me | ||
| [2011/12/07 02:41:25] <nevyn> walterheck: http://sitaramc.github.com/gitolite/ | ||
| [2011/12/07 02:43:16] <nevyn> the author also hangs out on #git and there's a module for managing gitolite from puppet https://github.com/bkero/puppet-gitolite | ||
| [2011/12/07 02:43:59] <bkero> hi | ||
| [2011/12/07 02:44:14] <nevyn> :) | ||
| [2011/12/07 02:44:23] <walterheck> haha | ||
| [2011/12/07 02:44:48] <walterheck> that module is RHEL only, but I can use it as a basis for a debian version | ||
| [2011/12/07 02:44:52] <bkero> If you're interested in features, I can push my latest changes up to github, I just implemented per-repository hooks | ||
| [2011/12/07 02:44:54] <nevyn> which I keep meaning to fork and write types and providers for. | ||
| [2011/12/07 02:46:02] <nevyn> so there's a gitolite server (which needs a user account and the setup for that) | ||
| [2011/12/07 02:46:34] <nevyn> and a git repo which belongs to a gitolite server (I think this needs to be an exported resource. | ||
| [2011/12/07 02:51:36] <walterheck> nevyn: http://projects.puppetlabs.com/issues/11250 | ||
| [2011/12/07 02:52:39] <nevyn> bkero: btw for sysadmin fail search for puppet-gitolite on github | ||
| [2011/12/07 02:52:41] @ erthad joined channel #puppet | ||
| [2011/12/07 02:53:14] <bkero> nevyn: 'eh? | ||
| [2011/12/07 02:53:40] <nevyn> 4 versions | ||
| [2011/12/07 02:53:46] <nevyn> none of which are forks of each other. | ||
| [2011/12/07 02:53:58] <bkero> nevyn: Yea. | ||
| [2011/12/07 02:54:01] <bkero> Mine's not the oldest either :P | ||
| [2011/12/07 02:54:05] <nevyn> :) | ||
| [2011/12/07 02:54:16] <bkero> but the rest suck | ||
| [2011/12/07 02:54:30] <bkero> and are hugely incomplete | ||
| [2011/12/07 02:54:33] <nevyn> I think I did do that review before settling on yours being the least bad ;) | ||
| [2011/12/07 02:54:35] <nevyn> :) | ||
| [2011/12/07 02:55:06] <bkero> Well, it depends on how bad you think RHEL-only is | ||
| [2011/12/07 02:55:23] <bkero> I think it's pretty awful, but hey that's how we roll at work. | ||
| [2011/12/07 02:55:40] <nevyn> meh that's survivable/fixable | ||
| [2011/12/07 02:56:17] <nevyn> so the question is how to model a access control system sensibly | ||
| [2011/12/07 02:56:31] <nevyn> with a different definition of user than a user resource | ||
| [2011/12/07 02:56:45] <bkero> We're using ldap, so we don't access users directly | ||
| [2011/12/07 02:57:26] @ skm joined channel #puppet | ||
| [2011/12/07 02:57:27] <bkero> we poll ldap groups from ldap and just add every user's SSH key and trust gl-authkeys to sort perms out | ||
| [2011/12/07 02:57:37] <nevyn> right. | ||
| [2011/12/07 02:57:56] @ Quit: pmorillon: Quit: pmorillon | ||
| [2011/12/07 02:57:57] <nevyn> but that doesn't account for domain specific application users | ||
| [2011/12/07 02:58:12] <nevyn> like the readonly puppet key | ||
| [2011/12/07 02:58:22] <nevyn> so that the puppetmaster can pull the puppet repo | ||
| [2011/12/07 02:58:27] <nevyn> or similar | ||
| [2011/12/07 02:59:30] @ Quit: Enf: Quit: Leaving | ||
| [2011/12/07 02:59:59] <bkero> it just means you get to stuff all that crap into ldap :P | ||
| [2011/12/07 03:00:02] <bkero> or redesign it slightly :) | ||
| [2011/12/07 03:01:22] <nevyn> so where in ldap do you store privkeys? | ||
| [2011/12/07 03:01:27] <nevyn> bleh pubkeys rather | ||
| [2011/12/07 03:01:54] <nevyn> and do you generate them for users as part of initiation/onboarding? | ||
| [2011/12/07 03:02:04] <nevyn> or do users create them and send them to you? | ||
| [2011/12/07 03:02:18] @ octane- joined channel #puppet | ||
| [2011/12/07 03:03:08] <bkero> users create them and send them to us | ||
| [2011/12/07 03:03:21] <nevyn> things I found out this week | ||
| [2011/12/07 03:03:24] <bkero> they're just a field in their ldap name | ||
| [2011/12/07 03:03:43] <nevyn> sun sshd doesn't deal with rsa keys bigger than 4096bits | ||
| [2011/12/07 03:08:37] @ rabbit7_ joined channel #puppet | ||
| [2011/12/07 03:09:36] <rabbit7_> hey having problem with my puppetmaster when i try to run puppet, i am getting following error message: "err: Could not retrieve catalog from remote server: Error 400 on SERVER: You cannot save facts to the code store; it is only used for getting facts from Facter" any idea what the problem could be ? | ||
| [2011/12/07 03:10:37] <nevyn> are you trying to set a variable named the same as a stadard fact? | ||
| [2011/12/07 03:11:08] @ Quit: csanchez: Ping timeout: 240 seconds | ||
| [2011/12/07 03:11:36] <nevyn> rabbit7_: or set something in the facter:: namespace? | ||
| [2011/12/07 03:12:46] <rabbit7_> you mean in the facts... | ||
| [2011/12/07 03:14:24] <nevyn> in your puppet manifest | ||
| [2011/12/07 03:15:17] <nevyn> ok you know what facter is right? | ||
| [2011/12/07 03:18:07] @ Holocaine joined channel #puppet | ||
| [2011/12/07 03:20:47] <rabbit7_> hmm yeah, i disabled all custom facts and the error still occurs | ||
| [2011/12/07 03:25:14] <nevyn> so in your puppet code are you trying to set a varible that's got the same name as a fact? | ||
| [2011/12/07 03:25:19] @ inecas joined channel #puppet | ||
| [2011/12/07 03:27:03] @ scobal joined channel #puppet | ||
| [2011/12/07 03:29:29] <rabbit7_> you mean in my custom facts ? | ||
| [2011/12/07 03:29:47] <rabbit7_> i just updated a minor version update and now i get those erros | ||
| [2011/12/07 03:29:50] <rabbit7_> at a loss right nw | ||
| [2011/12/07 03:34:41] @ jbraeuer joined channel #puppet | ||
| [2011/12/07 03:35:03] <nevyn> no. | ||
| [2011/12/07 03:35:11] <nevyn> in your puppet manifests | ||
| [2011/12/07 03:35:30] @ Quit: erthad: Changing host | ||
| [2011/12/07 03:35:30] @ erthad joined channel #puppet | ||
| [2011/12/07 03:35:30] <nevyn> that error to me is saying you have in a .pp file somewhere | ||
| [2011/12/07 03:35:42] <nevyn> hostname => fred | ||
| [2011/12/07 03:35:48] <nevyn> or something like it. | ||
| [2011/12/07 03:35:54] <nevyn> which attempts to overwrite a fact | ||
| [2011/12/07 03:36:08] <nevyn> but maybe I'm reading the error wrong | ||
| [2011/12/07 03:40:29] <rabbit7_> dont know if the error is there, since all i did was updating the version... | ||
| [2011/12/07 03:41:02] @ omry_ joined channel #puppet | ||
| [2011/12/07 03:41:38] <nevyn> update what versio? | ||
| [2011/12/07 03:41:55] <nevyn> you updated puppet and facter? | ||
| [2011/12/07 03:42:12] @ Quit: d3c: Ping timeout: 252 seconds | ||
| [2011/12/07 03:43:11] @ kelseyhightower joined channel #puppet | ||
| [2011/12/07 03:46:21] @ dylants joined channel #puppet | ||
| [2011/12/07 03:47:54] <rabbit7_> im at 0.25.6 now, i updated facter puppet-server and puppet | ||
| [2011/12/07 03:49:00] @ vorlon2261 joined channel #puppet | ||
| [2011/12/07 03:50:52] <zykes-> has anyone used nginx as a front for puppetmaster ? | ||
| [2011/12/07 03:51:08] <nevyn> so did facter add new standard facts that collide with varible names you're using? | ||
| [2011/12/07 03:51:09] @ antony_ joined channel #puppet | ||
| [2011/12/07 03:52:23] <antony_> Hello, is there a pacemaker's ocf to manage puppet ? | ||
| [2011/12/07 03:53:57] @ bonhoffer joined channel #puppet | ||
| [2011/12/07 03:54:56] <NuclearLucifer> Didn't see any but why dont you manage it as apache as lsb resource? | ||
| [2011/12/07 03:55:23] <rabbit7_> i think its a bug in 25.6.1 and thats the only package available for rhel4 it seems | ||
| [2011/12/07 03:59:03] @ Quit: fcami: Excess Flood | ||
| [2011/12/07 04:01:20] @ ezryx_ joined channel #puppet | ||
| [2011/12/07 04:01:22] @ Quit: ezryx: Read error: No route to host | ||
| [2011/12/07 04:02:30] @ Quit: Holocaine: | ||
| [2011/12/07 04:07:45] @ _flex joined channel #puppet | ||
| [2011/12/07 04:08:12] @ Quit: adimania: Quit: Leaving | ||
| [2011/12/07 04:27:18] @ Quit: bonhoffer: Quit: bonhoffer | ||
| [2011/12/07 04:27:43] @ bonhoffer joined channel #puppet | ||
| [2011/12/07 04:30:07] @ Quit: kolla: Remote host closed the connection | ||
| [2011/12/07 04:30:15] @ Quit: bonhoffer: Client Quit | ||
| [2011/12/07 04:30:25] @ kolla joined channel #puppet | ||
| [2011/12/07 04:32:18] @ pmorillon joined channel #puppet | ||
| [2011/12/07 04:35:04] @ Quit: Vulcan[OMNI]: Ping timeout: 268 seconds | ||
| [2011/12/07 04:38:46] @ Quit: inecas: Ping timeout: 268 seconds | ||
| [2011/12/07 04:40:15] @ Quit: digr1: Quit: Leaving. | ||
| [2011/12/07 04:45:07] @ Quit: msaum: Quit: Leaving. | ||
| [2011/12/07 04:45:18] @ msaum joined channel #puppet | ||
| [2011/12/07 04:48:16] @ Quit: these_pants: Remote host closed the connection | ||
| [2011/12/07 04:51:03] @ feylya-puppet joined channel #puppet | ||
| [2011/12/07 04:55:25] @ Quit: AshishH: Remote host closed the connection | ||
| [2011/12/07 04:58:56] @ Quit: rubic: Quit: Leaving. | ||
| [2011/12/07 04:59:43] @ zorg1 joined channel #puppet | ||
| [2011/12/07 05:00:11] @ natewalck joined channel #puppet | ||
| [2011/12/07 05:01:18] @ blentz joined channel #puppet | ||
| [2011/12/07 05:01:46] @ e1mer joined channel #puppet | ||
| [2011/12/07 05:01:46] @ Quit: e1mer: Changing host | ||
| [2011/12/07 05:01:46] @ e1mer joined channel #puppet | ||
| [2011/12/07 05:01:58] @ Quit: skm: Ping timeout: 244 seconds | ||
| [2011/12/07 05:02:33] @ skm joined channel #puppet | ||
| [2011/12/07 05:04:41] @ Quit: jimmy1980: Ping timeout: 240 seconds | ||
| [2011/12/07 05:06:36] @ Quit: msaum: Quit: Leaving. | ||
| [2011/12/07 05:06:36] <natewalck> lollllll | ||
| [2011/12/07 05:06:37] <natewalck> :) | ||
| [2011/12/07 05:06:43] <natewalck> wrong channel ;) | ||
| [2011/12/07 05:07:57] @ AshishH joined channel #puppet | ||
| [2011/12/07 05:08:13] @ msaum joined channel #puppet | ||
| [2011/12/07 05:11:29] <leifmadsen> so I've got RabbitMQ setup alongside Mcollective, and everything is working when I start up the mcollective servers to connecto to my rabbitmq server. However, after a period of time it looks like they timeout, and I need to restart mcollective in order to be able to access them again via the mcollective client. Is there a refresh or ping setting I need to enable on the servers? | ||
| [2011/12/07 05:11:59] @ Quit: zorg1: Quit: Leaving | ||
| [2011/12/07 05:12:13] <Volcane> do you have firewalls/ec2 thats dropping idle connections? | ||
| [2011/12/07 05:13:21] <leifmadsen> which side would that most effect? I just have iptables on the rabbitmq server, and I don't think it handles idle connections at all, but there is a NAT on the server side | ||
| [2011/12/07 05:13:26] <leifmadsen> mcollective server side* | ||
| [2011/12/07 05:13:51] @ vorlon2261 left channel #puppet ("Ex-Chat") | ||
| [2011/12/07 05:14:04] <Volcane> its the nat - enable mcollective registration so it sends some data every few minutes | ||
| [2011/12/07 05:14:22] <Volcane> you dont need to make anything that will receive the registration data - just sending is fine | ||
| [2011/12/07 05:15:56] <leifmadsen> gotcha, ya that sounds like what I want, but hadn't found any options like that in the docs yet | ||
| [2011/12/07 05:16:35] @ rgsteele joined channel #puppet | ||
| [2011/12/07 05:21:25] @ Quit: antony_: Ping timeout: 265 seconds | ||
| [2011/12/07 05:23:28] <Volcane> just set "registerinterval=360" | ||
| [2011/12/07 05:23:31] <Volcane> in server.cfg | ||
| [2011/12/07 05:24:43] <leifmadsen> Volcane: found the registration.rb plugin, installed, and it looks all setup now. Thanks for the tip! | ||
| [2011/12/07 05:24:53] <Volcane> dont need the registration.rb | ||
| [2011/12/07 05:25:09] <Volcane> thats the recieing bit - you really just need to set the option above | ||
| [2011/12/07 05:25:26] <leifmadsen> ah gotcha | ||
| [2011/12/07 05:25:38] <leifmadsen> ok cool, I'll try on the other server without installing the plugin | ||
| [2011/12/07 05:26:12] <leifmadsen> thanks again | ||
| [2011/12/07 05:28:36] @ Quit: msaum: Quit: Leaving. | ||
| [2011/12/07 05:28:55] @ inecas joined channel #puppet | ||
| [2011/12/07 05:29:27] @ Quit: RoyK: Ping timeout: 252 seconds | ||
| [2011/12/07 05:29:52] @ RoyK joined channel #puppet | ||
| [2011/12/07 05:29:59] @ Quit: kore: Ping timeout: 252 seconds | ||
| [2011/12/07 05:30:21] @ kore joined channel #puppet | ||
| [2011/12/07 05:30:28] @ msaum joined channel #puppet | ||
| [2011/12/07 05:31:26] @ clustermagnet joined channel #puppet | ||
| [2011/12/07 05:33:33] @ ldlework joined channel #puppet | ||
| [2011/12/07 05:34:31] @ MarkN1 joined channel #puppet | ||
| [2011/12/07 05:37:02] @ comptona joined channel #puppet | ||
| [2011/12/07 05:38:58] @ comptona is now known as comptona[W1] | ||
| [2011/12/07 05:39:27] @ rgarrigue joined channel #puppet | ||
| [2011/12/07 05:40:10] @ sdog joined channel #puppet | ||
| [2011/12/07 05:42:31] <rgarrigue> Hi guys | ||
| [2011/12/07 05:42:57] <rgarrigue> Is it possible to convert "puppet:///modules/ntp/${conf_file}" to an absolute path in a manifest, so I can use it in an exec ? | ||
| [2011/12/07 05:43:37] <Volcane> exec are run on the nodes | ||
| [2011/12/07 05:43:46] <Volcane> the puppet:/... refer to a remote file source | ||
| [2011/12/07 05:43:55] <Volcane> so mostly your question just doesnt make sense | ||
| [2011/12/07 05:44:13] <Volcane> you'd see the source like that in a file block that would show you where the file would be installed | ||
| [2011/12/07 05:46:14] <rgarrigue> Hm, okay | ||
| [2011/12/07 05:48:47] @ hicham joined channel #puppet | ||
| [2011/12/07 05:48:56] @ Quit: AshishH: Ping timeout: 240 seconds | ||
| [2011/12/07 05:49:51] @ Quit: msaum: Quit: Leaving. | ||
| [2011/12/07 05:51:30] <hicham> puppetd fails to connect to puppet master | ||
| [2011/12/07 05:51:43] @ msaum joined channel #puppet | ||
| [2011/12/07 05:52:48] <hicham> http://fpaste.org/LzCG/ | ||
| [2011/12/07 05:52:55] <hicham> can anyone help me debug this ? | ||
| [2011/12/07 05:54:06] <erthad> hiall | ||
| [2011/12/07 05:54:38] @ sdog1 joined channel #puppet | ||
| [2011/12/07 05:55:00] <erthad> does 'require' keyword mean auto-adding require metaparameter with the same value for all resources in scope? | ||
| [2011/12/07 05:55:24] @ Quit: sdog: Read error: Connection reset by peer | ||
| [2011/12/07 05:55:31] @ Quit: bobra: Ping timeout: 255 seconds | ||
| [2011/12/07 05:55:41] @ PedroGomes_ joined channel #puppet | ||
| [2011/12/07 05:58:21] @ Quit: londo: Ping timeout: 252 seconds | ||
| [2011/12/07 05:58:44] @ Kurin is now known as Kurin[W2] | ||
| [2011/12/07 05:59:04] @ Kurin[W2] left channel #puppet () | ||
| [2011/12/07 05:59:16] <walkeran> erthad: you mean the require function? Like when you use "require class::sub-class" in another class? | ||
| [2011/12/07 05:59:22] <erthad> yes | ||
| [2011/12/07 05:59:24] @ londo joined channel #puppet | ||
| [2011/12/07 06:00:05] <walkeran> erthad: Then yes, that creates explicit relationships between each resource in each of those classes | ||
| [2011/12/07 06:00:53] <erthad> thx, it is quite tricky to understand the way it works as you mentioned some time ago | ||
| [2011/12/07 06:01:57] <walkeran> Yeah, that's a strange one... I always have to refer back to the Pro Puppet book to re-read that paragraph :P | ||
| [2011/12/07 06:03:07] @ Quit: nul0op: Ping timeout: 240 seconds | ||
| [2011/12/07 06:03:27] <erthad> actually there arises a problem of what is to use to group classes (except for creating metaclass only for that) as both 'include' and 'require' are unsafe but each is in its own way | ||
| [2011/12/07 06:03:40] <erthad> *what to use | ||
| [2011/12/07 06:03:59] @ Quit: larstobi: Read error: Connection reset by peer | ||
| [2011/12/07 06:04:12] @ larstobi joined channel #puppet | ||
| [2011/12/07 06:06:07] <ehebert> hi all, reposting a quick question now that more people are on this morning, what's the most common way to purge | ||
| [2011/12/07 06:06:07] <ehebert> 'dead hosts'? e.g. a node that has been killed and removed from ldap, still shows up in exported resources and would like that to have that nodes' info purged as soon as | ||
| [2011/12/07 06:06:07] <ehebert> possible. been doing 'manual' clean up via https://github.com/puppetlabs/puppet/blob/master/ext/puppetstoredconfigclean.rb ... but would like these to go away semi-automagically | ||
| [2011/12/07 06:06:08] <ehebert> | ||
| [2011/12/07 06:07:26] <erthad> ehebert: actually the above script still does not cleanup the node fully from the db as it leaves that uncleaned in inventory | ||
| [2011/12/07 06:07:47] @ marrusl joined channel #puppet | ||
| [2011/12/07 06:09:08] @ Quit: skm: Ping timeout: 244 seconds | ||
| [2011/12/07 06:09:10] @ astrostl joined channel #puppet | ||
| [2011/12/07 06:09:20] <ehebert> erthad: hmm. what would you recommend for fully cleaning up the node? extending that script to clean the inventory as well? or is there a more common solution to the dead host problem? | ||
| [2011/12/07 06:09:29] <erthad> if there is already a working solution for this I'd like to know about it too as I'm about writing the script for that and wonder if there is any already | ||
| [2011/12/07 06:09:43] @ skm joined channel #puppet | ||
| [2011/12/07 06:11:06] @ Quit: msaum: Quit: Leaving. | ||
| [2011/12/07 06:11:08] <ehebert> Ah, well, if you do cobble that up, would love to see. | ||
| [2011/12/07 06:11:43] <ehebert> I'm a novice when it comes to Ruby, and some of the indirection required to get access to the puppet libs has been head scratching | ||
| [2011/12/07 06:11:46] <erthad> ehebert: for now I've quick-patched puppetstoredconfigclean.rb on my box with adding the block similar to cleaning Puppet::Rails::Host (in the very bottom of the script) but do that for Puppet::Rails::InventoryNode also | ||
| [2011/12/07 06:12:10] <ehebert> ah, cool | ||
| [2011/12/07 06:12:21] <ehebert> I need to figure out a way to check LDAP from within that script as well | ||
| [2011/12/07 06:12:58] @ msaum joined channel #puppet | ||
| [2011/12/07 06:13:01] <erthad> something like that: http://dumpz.org/111012/ | ||
| [2011/12/07 06:13:19] <ehebert> So that I can loop through all the nodes found with Puppet::Rails::Host.find(:all) and do the clean if not found | ||
| [2011/12/07 06:13:54] @ ben_duyujie joined channel #puppet | ||
| [2011/12/07 06:13:59] <PedroGomes_> Hi, I have a puppet module that copies a folder to the client and executes some minor commands but it is running very slowly . | ||
| [2011/12/07 06:14:01] @ cliff-hm joined channel #puppet | ||
| [2011/12/07 06:14:02] <PedroGomes_> For what I saw in google the problem is that I'm copying the folder with " source => "puppet:///modules/... , recurse => true" | ||
| [2011/12/07 06:14:15] <PedroGomes_> any other way of copying it? | ||
| [2011/12/07 06:15:02] <erthad> PedroGomes_: compress that and untar on client if you have tons of binary files to copy | ||
| [2011/12/07 06:15:10] @ Quit: _flex: Remote host closed the connection | ||
| [2011/12/07 06:15:12] <erthad> or better create a package like deb or rpm for that | ||
| [2011/12/07 06:15:38] <walkeran> +1 for packaging an rpm/deb | ||
| [2011/12/07 06:15:57] @ Quit: zwi: Quit: Leaving. | ||
| [2011/12/07 06:16:43] <PedroGomes_> erthad: never tried deb or rpm, but ok, untar seems a reasonable option | ||
| [2011/12/07 06:16:47] <PedroGomes_> erthad: thanks | ||
| [2011/12/07 06:16:47] <ehebert> erthad: thanks, putting that in my configclean | ||
| [2011/12/07 06:17:50] @ Quit: fragfutter: Ping timeout: 252 seconds | ||
| [2011/12/07 06:18:33] <erthad> ehebert: you'd better check that first on test setup as I've learned about that just yesterday and didn't yet have much time to play with that to advice that for sure | ||
| [2011/12/07 06:18:50] <PedroGomes_> erthad: on puppet question, you do a file to copy the tar/deb, you execute the comand to extract and then to remove? execute a rm operation to remove the archive? | ||
| [2011/12/07 06:19:17] <PedroGomes_> *a puppet question | ||
| [2011/12/07 06:19:50] <erthad> PedroGomes_: I'd not remove the tarball or you'll get downloading it each time your agent applies catalog | ||
| [2011/12/07 06:20:14] <PedroGomes_> erthad: ...., no way to remove the garbage then? | ||
| [2011/12/07 06:21:35] <erthad> PedroGomes_: create the package then | ||
| [2011/12/07 06:23:56] <PedroGomes_> erthad: ?, but I have to copy the package too no? | Same applies to scripts I use to execute commands in the machine | ||
| [2011/12/07 06:24:22] @ Quit: sdog1: Quit: Leaving. | ||
| [2011/12/07 06:24:35] <erthad> you can put the package in your own repository and install it through regular 'package' puppet type | ||
| [2011/12/07 06:24:59] <toobulkeh> I'm attempting to do some ordering of a package to be installed, several exec commands to be run, and a service to be started. By several I mean about 20 commands. While the order of the commands don't matter, I'd like those 3 groups to run in that order. Package then commands then service. | ||
| [2011/12/07 06:25:15] <toobulkeh> I was wondering if there's a better way then subclassing and using stages | ||
| [2011/12/07 06:25:32] <toobulkeh> or definitely better than creating a bunch of before/after commands | ||
| [2011/12/07 06:26:07] @ Quit: gaveen: Remote host closed the connection | ||
| [2011/12/07 06:26:13] @ spiette joined channel #puppet | ||
| [2011/12/07 06:26:37] <toobulkeh> Is there a way to do arbitrary groupings or weights or something that might be less typing? | ||
| [2011/12/07 06:26:49] <walkeran> toobulkeh: Without knowing more about the process you are trying to accomplish/automate, I'd suggest maybe shipping a script to do the heavy lifting, instead of relying on a big pile of execs | ||
| [2011/12/07 06:27:48] <PedroGomes_> erthad: oh, it was a noob question then. Thanks for the help | ||
| [2011/12/07 06:27:58] @ nul0op joined channel #puppet | ||
| [2011/12/07 06:28:25] <erthad> toobulkeh: sometimes you can use defaults in a base class and inherit that in your further classes | ||
| [2011/12/07 06:28:38] @ car|0s joined channel #puppet | ||
| [2011/12/07 06:29:08] <erthad> I personally use Package { require => Exec['apt_update'] } in a baseclass for example | ||
| [2011/12/07 06:30:14] <ali3n0> hi folks. I upgraded puppet via gem and removed old version, but puppet —version still gives me the old one | ||
| [2011/12/07 06:30:21] <ali3n0> same for facter | ||
| [2011/12/07 06:31:08] <BrickBag> ali3n0: do you also have a puppet package installed? | ||
| [2011/12/07 06:31:16] @ gniks joined channel #puppet | ||
| [2011/12/07 06:31:17] <BrickBag> could be an issue with you $PATH | ||
| [2011/12/07 06:31:19] <ali3n0> BrickBag: nope | ||
| [2011/12/07 06:31:22] <erthad> ali3n0: try looking at the output of gem list --local | ||
| [2011/12/07 06:31:31] @ lborda joined channel #puppet | ||
| [2011/12/07 06:31:36] <erthad> gem allows several versions of the same package to be installed at the same time | ||
| [2011/12/07 06:31:54] <ali3n0> erthad: yeah, the point is I removed old version via gem uninstall -v | ||
| [2011/12/07 06:32:11] <erthad> then `which puppet` might help | ||
| [2011/12/07 06:32:15] @ fragfutter joined channel #puppet | ||
| [2011/12/07 06:32:35] <ali3n0> # gem list |grep puppet | ||
| [2011/12/07 06:32:36] <ali3n0> puppet (2.7.6) | ||
| [2011/12/07 06:32:37] @ Quit: msaum: Quit: Leaving. | ||
| [2011/12/07 06:32:45] <ali3n0> # puppet --version | ||
| [2011/12/07 06:32:46] <ali3n0> 2.7.3 | ||
| [2011/12/07 06:32:57] <Volcane> you probably still have puppet installed from rpm/deb or whatever | ||
| [2011/12/07 06:33:10] <Volcane> or worse from source | ||
| [2011/12/07 06:33:19] @ Quit: j^2: Ping timeout: 255 seconds | ||
| [2011/12/07 06:33:32] <walkeran> try a `which -a puppet` and see if there are multiple puppet binaries in your path | ||
| [2011/12/07 06:33:59] @ j^2 joined channel #puppet | ||
| [2011/12/07 06:34:08] @ msaum joined channel #puppet | ||
| [2011/12/07 06:35:12] <ali3n0> Volcane: nope never installed via apt quite sure of that | ||
| [2011/12/07 06:35:17] <ali3n0> puppet is in /usr/bin/puppet | ||
| [2011/12/07 06:35:36] * ali3n0 never installed puppet from source too | ||
| [2011/12/07 06:35:48] @ Quit: Bryce: Quit: Leaving. | ||
| [2011/12/07 06:35:57] @ tomben[T13] is now known as tomben[W1] | ||
| [2011/12/07 06:36:09] <ali3n0> quite strange | ||
| [2011/12/07 06:36:10] @ kermit joined channel #puppet | ||
| [2011/12/07 06:36:22] @ sdog joined channel #puppet | ||
| [2011/12/07 06:36:30] <erthad> try `readlink /usr/bin/puppet` | ||
| [2011/12/07 06:36:32] <walkeran> Wouldn't gem be installing that in /usr/local/bin/puppet? | ||
| [2011/12/07 06:36:53] @ Quit: nul0op: Quit: Leaving | ||
| [2011/12/07 06:36:54] <ali3n0> erthad: void. it's an actual binary | ||
| [2011/12/07 06:37:13] <ali3n0> walkeran: nothing under /usr/local/bin | ||
| [2011/12/07 06:37:17] @ ToKy joined channel #puppet | ||
| [2011/12/07 06:37:28] <ali3n0> look, I try to remove this gem and install again | ||
| [2011/12/07 06:37:28] <erthad> ali3n0: dpkg-query -S /usr/bin/puppet | ||
| [2011/12/07 06:37:59] <ali3n0> erthad: dpkg: /usr/bin/puppet not found. | ||
| [2011/12/07 06:38:13] <ali3n0> erthad: that was the 1st thing I checked | ||
| [2011/12/07 06:38:19] <erthad> walkeran: gem installs to /var/lib/gems/$RUBY_VERSION/bin or something like that (at least on Ubuntu) | ||
| [2011/12/07 06:38:43] <ali3n0> erthad: yeah, it's in /var/lib/gems/1.8/gems/puppet-2.7.6 | ||
| [2011/12/07 06:38:45] @ Quit: ckauhaus: Quit: Leaving. | ||
| [2011/12/07 06:38:53] <ali3n0> don't know why it didn't update the /usr/bin exec though | ||
| [2011/12/07 06:39:10] <erthad> gem doesn't do that | ||
| [2011/12/07 06:39:18] <ali3n0> ok, runned ruby install.rb and it's ok | ||
| [2011/12/07 06:39:25] @ Quit: sdog: Changing host | ||
| [2011/12/07 06:39:25] @ sdog joined channel #puppet | ||
| [2011/12/07 06:39:26] @ Quit: sdog: Changing host | ||
| [2011/12/07 06:39:26] @ sdog joined channel #puppet | ||
| [2011/12/07 06:39:28] <ali3n0> erthad: ah, now I see | ||
| [2011/12/07 06:39:55] <ali3n0> all cool now | ||
| [2011/12/07 06:40:39] <erthad> ali3n0: I'd you checked /usr/lib/ruby/1.8/puppet* also | ||
| [2011/12/07 06:41:00] <ali3n0> what do you mean erthad? | ||
| [2011/12/07 06:41:16] <erthad> not sure which one will be used if the libraries are both in $RUBY_LIB path and gems | ||
| [2011/12/07 06:41:29] <ali3n0> there's just one puppet-{version} there | ||
| [2011/12/07 06:42:14] <amoe> Hey, if I am using modules how can I use a class defined in a .pp file that has a different name from the class? | ||
| [2011/12/07 06:42:49] <walkeran> amoe: Rename the file | ||
| [2011/12/07 06:43:15] <amoe> walkeran: without doing that. is it impossible? | ||
| [2011/12/07 06:43:17] <erthad> ali3n0: if you installed puppet from source earlier you'll have its libraries in /usr/lib/ruby/1.8/puppet.rb and /usr/lib/ruby/1.8/puppet/* which might lead to odd behaviour | ||
| [2011/12/07 06:43:30] <ali3n0> erthad: never installed from sources | ||
| [2011/12/07 06:43:44] <walkeran> amoe: You can use "import" but that's frowned upon, and I'd never suggest it | ||
| [2011/12/07 06:43:48] <ali3n0> I've checked, no puppet* under /usr/lib/ruby/1.8 | ||
| [2011/12/07 06:44:45] @ rcrowley joined channel #puppet | ||
| [2011/12/07 06:45:17] <erthad> ali3n0: not sure where 2.7.3 could appear from then | ||
| [2011/12/07 06:45:38] <ali3n0> erthad: I think the previous gem installed /usr/bin/puppet | ||
| [2011/12/07 06:45:49] <ali3n0> then upgrading that exec didn't get replaced | ||
| [2011/12/07 06:46:05] <ali3n0> forcing install.rb to be run from the new puppet dir, it replaced it | ||
| [2011/12/07 06:46:09] <ali3n0> same for facter | ||
| [2011/12/07 06:46:13] <amoe> walkeran, thanks. | ||
| [2011/12/07 06:46:24] <walkeran> amoe: Yep | ||
| [2011/12/07 06:46:24] <ali3n0> so maybe gem install runs the install.rb script | ||
| [2011/12/07 06:46:29] <ali3n0> gem update doesn't | ||
| [2011/12/07 06:48:06] @ Quit: mattr: Ping timeout: 252 seconds | ||
| [2011/12/07 06:50:58] @ mattr joined channel #puppet | ||
| [2011/12/07 06:51:45] @ Bass10 joined channel #puppet | ||
| [2011/12/07 06:51:55] @ Quit: Stenbryggen: Quit: Leaving. | ||
| [2011/12/07 06:52:20] @ Quit: Bass10: Read error: Connection reset by peer | ||
| [2011/12/07 06:54:17] @ Bass10 joined channel #puppet | ||
| [2011/12/07 06:55:53] @ Quit: Bass10: Max SendQ exceeded | ||
| [2011/12/07 06:56:35] @ kaptk2 joined channel #puppet | ||
| [2011/12/07 06:57:07] @ Quit: nevyn: Ping timeout: 240 seconds | ||
| [2011/12/07 06:58:36] @ feylya-puppet_ joined channel #puppet | ||
| [2011/12/07 06:58:54] @ Quit: feylya-puppet: Read error: Connection reset by peer | ||
| [2011/12/07 06:58:55] @ feylya-puppet_ is now known as feylya-puppet | ||
| [2011/12/07 06:59:13] @ nevyn joined channel #puppet | ||
| [2011/12/07 07:00:55] @ ckauhaus joined channel #puppet | ||
| [2011/12/07 07:01:50] @ aherzog joined channel #puppet | ||
| [2011/12/07 07:03:10] <toobulkeh> walkeran: thanks for the obvious tip :) I agree that would be a much better trivial solution | ||
| [2011/12/07 07:03:30] <toobulkeh> another question though, my nodes.pp in /etc/puppet/manifests was getting long, so i want to separate it out into separate files | ||
| [2011/12/07 07:03:59] <toobulkeh> but it doesn't appear that i can include it from nodes.pp, but instead have to include it from site.pp itself... is this by design or am I missing something? | ||
| [2011/12/07 07:04:04] <walkeran> toobulkeh: you can either use import to import different nodes files, or go all-out, and set up an ENC | ||
| [2011/12/07 07:04:28] <toobulkeh> I'm not familiar with "ENC", what is it? | ||
| [2011/12/07 07:04:52] <walkeran> External node classifier. Basically just a script that, when passed a node/host name, it will return a list of classes and parameters | ||
| [2011/12/07 07:04:55] @ jsm joined channel #puppet | ||
| [2011/12/07 07:05:02] @ Quit: joe-mac: Remote host closed the connection | ||
| [2011/12/07 07:05:13] @ nadavoid joined channel #puppet | ||
| [2011/12/07 07:05:30] @ Quit: Vasik|work: Remote host closed the connection | ||
| [2011/12/07 07:05:47] <toobulkeh> http://docs.puppetlabs.com/guides/external_nodes.html - thans | ||
| [2011/12/07 07:05:48] <toobulkeh> thanks* | ||
| [2011/12/07 07:06:14] <walkeran> toobulkeh: Puppet Dashboard and Foreman come with ENC scripts that will query the database that's managed by the frontend... so you can manage your nodes configuration from the web interface | ||
| [2011/12/07 07:06:44] <toobulkeh> Unfortunately we're not using dashboard | ||
| [2011/12/07 07:06:46] <walkeran> toobulkeh: If you don't want to go that all-out, you can just do something like creating nodes_foo.pp, and nodes_bar.pp, and then in your site.pp do an "import nodes_*.pp" | ||
| [2011/12/07 07:07:10] @ Quit: larstobi: Quit: Leaving. | ||
| [2011/12/07 07:08:25] <toobulkeh> yup, that's basically what I'm doing now | ||
| [2011/12/07 07:08:34] <toobulkeh> it's just odd that i can't do an include from nodes.pp itself | ||
| [2011/12/07 07:08:52] <walkeran> You should be able to... you are using "import" and not "include" though, right? | ||
| [2011/12/07 07:08:53] <toobulkeh> like node definitions are only read in the first hop file | ||
| [2011/12/07 07:08:54] @ Quit: Wolfspyre: Quit: Leaving. | ||
| [2011/12/07 07:09:17] <toobulkeh> I was, yes | ||
| [2011/12/07 07:10:17] <walkeran> Hrm. I guess I've never personally tried it, but in theory, that should work just fine | ||
| [2011/12/07 07:11:19] <toobulkeh> I assumed so but it didn't for me, let me reproduce it to get the error... iirc it had something to do with the code which seemed like another error | ||
| [2011/12/07 07:12:11] @ Elessar joined channel #puppet | ||
| [2011/12/07 07:12:14] @ brandon_dacrib joined channel #puppet | ||
| [2011/12/07 07:13:18] <Elessar> hi | ||
| [2011/12/07 07:14:16] <toobulkeh> and it seems my report processor is down? - Report processor failed: Connection refused - connect(2) | ||
| [2011/12/07 07:14:19] <toobulkeh> Elessar: hi | ||
| [2011/12/07 07:18:20] @ dnjaramba joined channel #puppet | ||
| [2011/12/07 07:20:10] @ Quit: nevyn: Ping timeout: 252 seconds | ||
| [2011/12/07 07:21:50] @ Quit: feylya-puppet: Quit: feylya-puppet | ||
| [2011/12/07 07:22:03] @ nevyn joined channel #puppet | ||
| [2011/12/07 07:24:56] @ Quit: jaydg: Quit: Verlassend | ||
| [2011/12/07 07:26:03] @ ghg joined channel #puppet | ||
| [2011/12/07 07:27:10] @ Mi-Go joined channel #puppet | ||
| [2011/12/07 07:27:24] @ Quit: nuknad: Quit: nuknad | ||
| [2011/12/07 07:27:44] @ Quit: jodok: Ping timeout: 268 seconds | ||
| [2011/12/07 07:29:32] @ jcrim joined channel #puppet | ||
| [2011/12/07 07:30:16] @ Quit: jcrim: Remote host closed the connection | ||
| [2011/12/07 07:30:23] @ Quit: Elessar: Quit: Konversation terminated! | ||
| [2011/12/07 07:30:26] @ dwalu joined channel #puppet | ||
| [2011/12/07 07:31:51] @ Quit: sdog: Remote host closed the connection | ||
| [2011/12/07 07:32:39] <clustermagnet> hey guys :) ready for a yaml question? :) | ||
| [2011/12/07 07:33:11] <clustermagnet> should i have a single yaml file which includes ALL my websites data, etc | ||
| [2011/12/07 07:33:35] <clustermagnet> or should i have a separate yaml file for each website, then bind them all in hiera.yaml somehow? :) | ||
| [2011/12/07 07:33:36] @ Quit: comptona[W1]: Quit: Leaving. | ||
| [2011/12/07 07:33:44] @ riha left channel #puppet () | ||
| [2011/12/07 07:34:14] <neilh> I need to create lots of resources all of the same type. I have all the details in a csv and can convert that into whatever format is required. I've found create_resources, and I thought I could combine that and the generate function to do just what i need. Yet generate seems to only return a string, rather than the hash of hashes that create_resources requires. Am I missing something, or am I going about this the wrong way? | ||
| [2011/12/07 07:36:01] @ neonflux joined channel #puppet | ||
| [2011/12/07 07:36:08] @ zwi joined channel #puppet | ||
| [2011/12/07 07:36:21] @ shaunster joined channel #puppet | ||
| [2011/12/07 07:37:23] <toobulkeh> clustermagnet: I'd suggest the latter for readability | ||
| [2011/12/07 07:38:18] @ dan__t joined channel #puppet | ||
| [2011/12/07 07:38:32] <shaunster> Could someone tell me what is wrong with this .pp file: | ||
| [2011/12/07 07:38:42] <shaunster> class mysql::service { service { "mysqld": ensure => running, hasstatus => true, hasrestart => true, enabled => true, require => Class["mysql::config"], } } | ||
| [2011/12/07 07:38:59] <shaunster> sorry about the missing crs | ||
| [2011/12/07 07:39:03] <clustermagnet> toobulkeh: k, so many yaml sites bound together, ok :) | ||
| [2011/12/07 07:39:17] @ jodok joined channel #puppet | ||
| [2011/12/07 07:39:17] @ Quit: jodok: Changing host | ||
| [2011/12/07 07:39:17] @ jodok joined channel #puppet | ||
| [2011/12/07 07:39:27] <clustermagnet> toobulkeh: once i have a decent structure, do you mind if i pastebin for a quick peer review? :) | ||
| [2011/12/07 07:40:32] <unixdaemon> am i being dense or does the break down really not add up to the catalog run notice - http://pastie.org/2980962 | ||
| [2011/12/07 07:41:01] <walkeran> shaunster: Looks fine to me, but I didn't copy/paste it and fix the indentation and all of that so I could be missing something. It would probably be better to pastie it, as well as letting us know what about it doesn't work | ||
| [2011/12/07 07:41:10] <toobulkeh> shaunster: try pastebin please | ||
| [2011/12/07 07:41:48] <shaunster> Soryy I am newbie how do I use pastebin? | ||
| [2011/12/07 07:43:08] <walkeran> 1) Go there, 2) paste your stuff, 3) click the button, 4) give us the link | ||
| [2011/12/07 07:43:52] @ Quit: car|0s: Ping timeout: 244 seconds | ||
| [2011/12/07 07:44:57] @ sduchesneau joined channel #puppet | ||
| [2011/12/07 07:45:48] <shaunster> http://pastebin.com/LCDqaL7E | ||
| [2011/12/07 07:46:33] <walkeran> shaunster: Use "enable" not "enabled" | ||
| [2011/12/07 07:46:34] @ Quit: artkrz: Quit: Linkinus - http://linkinus.com | ||
| [2011/12/07 07:47:45] <shaunster> Thank you! | ||
| [2011/12/07 07:47:51] <walkeran> you're welcome | ||
| [2011/12/07 07:48:13] <shaunster> Very kind cheers for now..... | ||
| [2011/12/07 07:49:29] <flipwork> wow, Suse finally moved to 2.6 | ||
| [2011/12/07 07:49:41] <flipwork> hello modern world | ||
| [2011/12/07 07:50:06] <PedroGomes_> Hi, the cwd in a execute instruction is equivalent to "cd folder, execute command" or "execute command folder" ? | ||
| [2011/12/07 07:51:33] <BrickBag> PedroGomes_: first one | ||
| [2011/12/07 07:51:53] @ Wolfspyre joined channel #puppet | ||
| [2011/12/07 07:52:46] @ Quit: Wolfspyre: Client Quit | ||
| [2011/12/07 07:53:04] @ Wolfspyre joined channel #puppet | ||
| [2011/12/07 07:54:17] @ bluemustard joined channel #puppet | ||
| [2011/12/07 07:54:57] <PedroGomes_> BrickBag: I'm getting an error on a tar extraction, "change from notrun to 0 failed: tar -zxvf archive.tar.gz /usr/lib/folder " | ||
| [2011/12/07 07:55:58] <PedroGomes_> BrickBag: forget it, stupid mistake | ||
| [2011/12/07 07:56:13] <PedroGomes_> BrickBag: thanks for the answer anyway | ||
| [2011/12/07 07:56:19] <BrickBag> ok | ||
| [2011/12/07 07:56:19] @ d3c joined channel #puppet | ||
| [2011/12/07 07:56:20] <BrickBag> np | ||
| [2011/12/07 07:56:24] @ kangman joined channel #puppet | ||
| [2011/12/07 07:56:33] <rocket> Is there a document on how puppet manages class/module containment? I am trying to require=>Class["foo"] or use the notation Class['foo'] -> Class['bar'] but some elements inside the classes are not being executed based on that relationship setup .. | ||
| [2011/12/07 08:00:07] @ hobbeswalsh joined channel #puppet | ||
| [2011/12/07 08:00:25] <toobulkeh> Does anyone have a good example on how to use a class definition with variables? Maybe even one that inherits another class? | ||
| [2011/12/07 08:00:31] @ Quit: ckauhaus: Quit: Leaving. | ||
| [2011/12/07 08:00:59] <toobulkeh> The website has the syntax for declaration but not for using that definition | ||
| [2011/12/07 08:01:17] @ bosszaru joined channel #puppet | ||
| [2011/12/07 08:02:01] @ comptona joined channel #puppet | ||
| [2011/12/07 08:03:20] @ Quit: _at0S: Ping timeout: 265 seconds | ||
| [2011/12/07 08:04:08] @ lak joined channel #puppet | ||
| [2011/12/07 08:04:09] @ Quit: lak: Changing host | ||
| [2011/12/07 08:04:09] @ lak joined channel #puppet | ||
| [2011/12/07 08:04:11] @ comptona is now known as comptona[W1] | ||
| [2011/12/07 08:04:16] @ Diranged joined channel #puppet | ||
| [2011/12/07 08:04:33] <Diranged> anyone have a script or tool to validate that a .pp puppet manifest has a properly formatted documentation header? | ||
| [2011/12/07 08:04:47] @ Quit: shaunster: Ping timeout: 265 seconds | ||
| [2011/12/07 08:05:22] @ Quit: bluemustard: Quit: bluemustard | ||
| [2011/12/07 08:07:42] <walkeran> rocket: When you say some elements aren't being executed based on that relationship setup... do you mean that those resources aren't being included at all? Or they aren't being applied in the correct order? | ||
| [2011/12/07 08:08:14] @ Quit: brunix: Remote host closed the connection | ||
| [2011/12/07 08:09:34] <rocket> they are not being applied in the correct order | ||
| [2011/12/07 08:09:47] @ Quit: hobbeswalsh: Quit: hobbeswalsh | ||
| [2011/12/07 08:10:01] <rocket> eg I am getting a foo::mount operation that is happening after the class[mysql] operation happens | ||
| [2011/12/07 08:10:05] @ Quit: raphdg: Remote host closed the connection | ||
| [2011/12/07 08:10:32] <rocket> yet parts of class[foo] do run before class[mysql] | ||
| [2011/12/07 08:11:07] @ cwarden joined channel #puppet | ||
| [2011/12/07 08:12:06] @ Quit: verwilst: Quit: Ex-Chat | ||
| [2011/12/07 08:12:25] @ shanlar joined channel #puppet | ||
| [2011/12/07 08:12:52] <walkeran> Hrmm. AFAIK, when you require => Class['foo'], it sets up a relationship between that resource and all of the resources in Class[foo] | ||
| [2011/12/07 08:13:13] <walkeran> Did you try graphing the relationships to see if you could find anything funky? | ||
| [2011/12/07 08:13:31] @ sumsuch joined channel #puppet | ||
| [2011/12/07 08:13:42] <walkeran> I'm not really being much help, am I :P | ||
| [2011/12/07 08:14:38] @ Quit: shanlar-: Ping timeout: 240 seconds | ||
| [2011/12/07 08:15:24] <rocket> I have looked at the graph .. unfortunately I see these components do fall outside of the relationship and I am trying to figure out what I am doing wrong with my understanding of how it works | ||
| [2011/12/07 08:15:39] @ Quit: nevyn: Ping timeout: 240 seconds | ||
| [2011/12/07 08:15:43] @ Quit: danikov: Quit: danikov | ||
| [2011/12/07 08:15:50] <rocket> I know I am making an assumption that classes inside a module should all be contained together .. :/ | ||
| [2011/12/07 08:16:09] @ benjiedmund joined channel #puppet | ||
| [2011/12/07 08:17:04] @ Quit: sumsuch: Client Quit | ||
| [2011/12/07 08:17:07] @ Quit: ben_duyujie: Remote host closed the connection | ||
| [2011/12/07 08:17:22] @ nevyn joined channel #puppet | ||
| [2011/12/07 08:18:41] @ car|0s joined channel #puppet | ||
| [2011/12/07 08:18:42] @ jsurfer joined channel #puppet | ||
| [2011/12/07 08:20:00] @ iw_work joined channel #puppet | ||
| [2011/12/07 08:25:26] @ Quit: scobal: Remote host closed the connection | ||
| [2011/12/07 08:29:41] @ Quit: skm: Quit: Computer has gone to sleep. | ||
| [2011/12/07 08:31:55] <jsm> rocket, do you include the classes before you define their relationship? | ||
| [2011/12/07 08:36:10] @ Quit: rgarrigue: Ping timeout: 244 seconds | ||
| [2011/12/07 08:36:17] @ Quit: pmorillon: Quit: pmorillon | ||
| [2011/12/07 08:36:26] @ kenperkins joined channel #puppet | ||
| [2011/12/07 08:36:49] @ madasi joined channel #puppet | ||
| [2011/12/07 08:37:51] <rocket> jsm: I am calling the parameterized class before doing the -> relationship | ||
| [2011/12/07 08:37:58] <rocket> but I am not using the include keyword | ||
| [2011/12/07 08:38:38] <jsm> ah, you are doing it a bit differently than i | ||
| [2011/12/07 08:38:53] @ tyoobop joined channel #puppet | ||
| [2011/12/07 08:39:57] <kenperkins> morning | ||
| [2011/12/07 08:40:00] <jsm> rocket: i've gotten it to work by using includes.. wasn't aware you could do it with parameterized classes | ||
| [2011/12/07 08:41:43] <rocket> jsm: maybe you cant and that might be my problem | ||
| [2011/12/07 08:42:17] <rocket> I will have to think about it and test it and I hope I dont have to redesign them again ... :/ | ||
| [2011/12/07 08:43:16] @ tyoobop left channel #puppet () | ||
| [2011/12/07 08:43:54] @ Quit: dwalu: Quit: dwalu | ||
| [2011/12/07 08:44:20] @ scobal joined channel #puppet | ||
| [2011/12/07 08:45:52] @ Quit: tsykoduk: Ping timeout: 244 seconds | ||
| [2011/12/07 08:45:53] @ Quit: lak: Ping timeout: 240 seconds | ||
| [2011/12/07 08:46:32] @ alfism joined channel #puppet | ||
| [2011/12/07 08:47:07] @ seanh-ansca joined channel #puppet | ||
| [2011/12/07 08:47:12] @ newtMcKerr joined channel #puppet | ||
| [2011/12/07 08:48:22] <kenperkins> so can anyone help me diagnose why I'm not having passwords set by useradd even when I've got libshadow-ruby1.8 installed | ||
| [2011/12/07 08:48:34] @ trickyf left channel #puppet () | ||
| [2011/12/07 08:49:02] @ Quit: _nalle: Read error: Operation timed out | ||
| [2011/12/07 08:49:25] <jsm> rocket: so basically i have an abstract class that includes some parameterized classes | ||
| [2011/12/07 08:49:55] <jsm> sorry, it includes some classes that make calls to parameterized classes | ||
| [2011/12/07 08:49:57] <jsm> if that makes any sense | ||
| [2011/12/07 08:50:27] <rocket> I am doing the same thing .. but I am not doing an include on the parameterized class | ||
| [2011/12/07 08:50:35] <rocket> err abstract class | ||
| [2011/12/07 08:50:38] <rocket> I will try that next | ||
| [2011/12/07 08:50:44] @ Quit: ehebert: Read error: Connection reset by peer | ||
| [2011/12/07 08:50:46] <rocket> thanks jsm for the possible pointer | ||
| [2011/12/07 08:51:32] <comptona[W1]> kenperkins: does —debug mention those resources at all? | ||
| [2011/12/07 08:52:11] @ jantman joined channel #puppet | ||
| [2011/12/07 08:52:17] <kenperkins> what am I looking for in the --debug spew | ||
| [2011/12/07 08:53:15] @ _nalle joined channel #puppet | ||
| [2011/12/07 08:53:16] <comptona[W1]> something about the User[username] resource that may mention working with the password | ||
| [2011/12/07 08:54:04] @ joe-mac joined channel #puppet | ||
| [2011/12/07 08:54:18] <kenperkins> here's one notice that I see | ||
| [2011/12/07 08:54:19] <kenperkins> info: /User[greg]: Provider useradd does not support features manages_passwords; not managing attribute password | ||
| [2011/12/07 08:54:22] <kenperkins> I get that for all my users | ||
| [2011/12/07 08:54:47] <jantman> kenperkins: sorry I just got here. what OS? | ||
| [2011/12/07 08:54:49] @ maes_` joined channel #puppet | ||
| [2011/12/07 08:54:53] <kenperkins> 10.04 | ||
| [2011/12/07 08:55:09] <jantman> solaris? | ||
| [2011/12/07 08:55:15] <jantman> i think... | ||
| [2011/12/07 08:55:26] <kenperkins> ubuntu | ||
| [2011/12/07 08:55:29] <jantman> ah ok | ||
| [2011/12/07 08:55:31] <kenperkins> sorry thought that was obvious :) | ||
| [2011/12/07 08:56:05] <jantman> sorry. maybe I missed something, I just saw your last few messages | ||
| [2011/12/07 08:56:12] <comptona[W1]> kenperkins: yep, that'd be what to look for :) | ||
| [2011/12/07 08:56:16] <kenperkins> no prob | ||
| [2011/12/07 08:56:27] <jantman> are you sure that ruby-shadow is installed and working? | ||
| [2011/12/07 08:56:31] <comptona[W1]> perhaps puppet isn't able to find the gem? | ||
| [2011/12/07 08:56:34] <kenperkins> how would you validate? | ||
| [2011/12/07 08:57:25] <comptona[W1]> irb, "require 'shadow'" or whatever the name of the gem is | ||
| [2011/12/07 08:57:33] @ Quit: maes_: Ping timeout: 258 seconds | ||
| [2011/12/07 08:57:44] <jantman> I honestly don't know... my guess is usually that password-related problems == ruby-shadow issues... but I'm usually on centos/rhel or solaris, so that usually means it just isn't installed | ||
| [2011/12/07 08:57:55] <jantman> "yea, what he said" | ||
| [2011/12/07 08:58:11] <kenperkins> ah! | ||
| [2011/12/07 08:58:14] <kenperkins> bingo | ||
| [2011/12/07 08:58:23] <kenperkins> doing gem install ruby-shadow works | ||
| [2011/12/07 08:58:29] <kenperkins> apt-get install libshadow-ruby1.8 doesn't | ||
| [2011/12/07 08:58:31] <kenperkins> who knew | ||
| [2011/12/07 08:58:36] <comptona[W1]> lol | ||
| [2011/12/07 08:58:41] <kenperkins> fucking package managers | ||
| [2011/12/07 08:58:49] @ ccaum joined channel #puppet | ||
| [2011/12/07 08:58:57] <kenperkins> all they manage to do is piss you off | ||
| [2011/12/07 08:59:11] <jantman> agreed | ||
| [2011/12/07 09:00:25] <jantman> so i'm just about to start a totally fresh puppet infrastructure with current versions. anyone know if there happen to be any modules/manifests to bootstrap a puppetmaster on centos? couldn't find anything in the forge | ||
| [2011/12/07 09:01:42] <kenperkins> don't know cent at all | ||
| [2011/12/07 09:02:00] <jantman> ok... perhaps disregarding the cent part? | ||
| [2011/12/07 09:02:14] @ Quit: lkoranda: Quit: Ex-Chat | ||
| [2011/12/07 09:02:22] <jantman> essentially I'm thinking of doing a clean base install with puppet and then "puppet apply makeMeAPuppetmaster.pp" | ||
| [2011/12/07 09:05:32] @ Quit: Ramonster: Quit: So Long and thanks for all the fish | ||
| [2011/12/07 09:05:35] @ langworthy joined channel #puppet | ||
| [2011/12/07 09:06:48] @ Quit: joe-mac: Remote host closed the connection | ||
| [2011/12/07 09:09:04] @ Quit: octane-: Quit: octane- | ||
| [2011/12/07 09:10:10] @ hobbeswalsh joined channel #puppet | ||
| [2011/12/07 09:11:40] @ Quit: ali3n0: Quit: Leaving. | ||
| [2011/12/07 09:12:17] @ Quit: Mi-Go: Ping timeout: 240 seconds | ||
| [2011/12/07 09:14:12] @ Quit: mogitaff: Quit: Leaving | ||
| [2011/12/07 09:14:39] <kenperkins> that sounds like a good idea | ||
| [2011/12/07 09:14:52] <kenperkins> I didn't even take advantage of puppet apply until I started using puppet on my local dev box | ||
| [2011/12/07 09:15:22] <kenperkins> that's what I'm working on now: moving all of our dev environments from home grown dependency scripts and osx binaries to vagrant, ubuntu and our production puppet modules | ||
| [2011/12/07 09:17:19] @ octane- joined channel #puppet | ||
| [2011/12/07 09:18:23] @ Quit: jbraeuer: Quit: jbraeuer | ||
| [2011/12/07 09:18:31] <jantman> cool | ||
| [2011/12/07 09:18:41] @ jbraeuer joined channel #puppet | ||
| [2011/12/07 09:21:29] @ Quit: d3c: Ping timeout: 240 seconds | ||
| [2011/12/07 09:21:46] <benjiedmund> quick question - I am building some directory structures with puppet and then doing a mount --bind on that. The problem is that I am building them on ephemeral storage so that directory structure is lost on every stop/start. With that directory gone the system won't boot because the mount definition writes the fstab and puppet hasn't created the directories yet. Does doing a require FILE[dir] help me with this, or is | ||
| [2011/12/07 09:22:03] <benjiedmund> that fstab always going to be written? | ||
| [2011/12/07 09:23:02] @ mrwacky42 joined channel #puppet | ||
| [2011/12/07 09:25:04] @ williemach joined channel #puppet | ||
| [2011/12/07 09:26:01] @ miche joined channel #puppet | ||
| [2011/12/07 09:26:06] @ Quit: jbraeuer: Quit: jbraeuer | ||
| [2011/12/07 09:27:37] @ Quit: comptona[W1]: Quit: Leaving. | ||
| [2011/12/07 09:27:54] @ bizarrobrian joined channel #puppet | ||
| [2011/12/07 09:28:25] @ Quit: dofr: Quit: leaving | ||
| [2011/12/07 09:28:40] @ Quit: jodok: Quit: jodok | ||
| [2011/12/07 09:30:24] @ Quit: hicham: Remote host closed the connection | ||
| [2011/12/07 09:35:19] @ Quit: langworthy: Quit: langworthy | ||
| [2011/12/07 09:36:01] @ csanchez joined channel #puppet | ||
| [2011/12/07 09:36:15] @ pcarlisle joined channel #puppet | ||
| [2011/12/07 09:36:24] @ Quit: the_ramink: Quit: leaving | ||
| [2011/12/07 09:37:04] @ Quit: inecas: Quit: Leaving | ||
| [2011/12/07 09:37:32] @ Quit: lborda: Quit: Ex-Chat | ||
| [2011/12/07 09:37:37] @ Quit: msaum: Quit: Leaving. | ||
| [2011/12/07 09:37:50] @ lborda joined channel #puppet | ||
| [2011/12/07 09:37:59] @ csanchez_ joined channel #puppet | ||
| [2011/12/07 09:39:15] @ msaum joined channel #puppet | ||
| [2011/12/07 09:39:36] @ motomike joined channel #puppet | ||
| [2011/12/07 09:39:40] @ dwalu joined channel #puppet | ||
| [2011/12/07 09:40:12] @ jhelwig_ joined channel #puppet | ||
| [2011/12/07 09:40:22] @ Quit: jhelwig_: Client Quit | ||
| [2011/12/07 09:40:33] @ Quit: csanchez: Ping timeout: 252 seconds | ||
| [2011/12/07 09:40:33] @ csanchez_ is now known as csanchez | ||
| [2011/12/07 09:41:01] @ ckauhaus joined channel #puppet | ||
| [2011/12/07 09:42:14] <kenperkins> can someone tell me what's wrong with this block of puppet code? | ||
| [2011/12/07 09:42:15] <kenperkins> https://gist.github.com/1443761 | ||
| [2011/12/07 09:42:17] @ larstobi joined channel #puppet | ||
| [2011/12/07 09:42:23] <kenperkins> it's not parsing the variables | ||
| [2011/12/07 09:45:09] <eric0> kenperkins: you have them singlequoted, which turns off variable expansion | ||
| [2011/12/07 09:45:35] @ bag__ joined channel #puppet | ||
| [2011/12/07 09:45:37] <eric0> same as shell, perl, ruby, etc | ||
| [2011/12/07 09:46:02] <kenperkins> oh I'm dumb | ||
| [2011/12/07 09:46:03] <kenperkins> ty | ||
| [2011/12/07 09:46:52] @ Quit: Boltsky: Quit: Computer has gone to sleep. | ||
| [2011/12/07 09:47:55] @ MiGo joined channel #puppet | ||
| [2011/12/07 09:48:06] @ MiGo left channel #puppet () | ||
| [2011/12/07 09:49:13] @ ryancoleman joined channel #puppet | ||
| [2011/12/07 09:49:32] @ jodok joined channel #puppet | ||
| [2011/12/07 09:49:32] @ Quit: jodok: Changing host | ||
| [2011/12/07 09:49:32] @ jodok joined channel #puppet | ||
| [2011/12/07 09:51:39] @ maxmartin joined channel #puppet | ||
| [2011/12/07 09:52:37] @ paxos joined channel #puppet | ||
| [2011/12/07 09:54:05] @ Quit: paxos: Client Quit | ||
| [2011/12/07 09:54:18] <hajile> hey, i'm trying to wrap my head around parameterized classes | ||
| [2011/12/07 09:54:19] @ paxos joined channel #puppet | ||
| [2011/12/07 09:54:44] <hajile> the example on docs.puppetlabs.com is super confusing to me, does anyone have a nice clean example of a parameterized class? | ||
| [2011/12/07 09:56:38] @ Quit: daysmen: Ping timeout: 240 seconds | ||
| [2011/12/07 09:58:21] @ nfagerlund joined channel #puppet | ||
| [2011/12/07 09:59:07] @ Quit: msaum: Quit: Leaving. | ||
| [2011/12/07 10:00:27] <mrwacky42> https://gist.github.com/1443844 | ||
| [2011/12/07 10:00:54] <mrwacky42> Puppet 2.6 syntax parser ba-roken | ||
| [2011/12/07 10:01:12] @ msaum joined channel #puppet | ||
| [2011/12/07 10:01:20] <mrwacky42> anybody have another method to parse in 2.6.x ? | ||
| [2011/12/07 10:01:41] <hajile> did you try a newer version of 2.6? | ||
| [2011/12/07 10:01:55] <hajile> no idea if it would help, but 2.6.2 is pretty old | ||
| [2011/12/07 10:02:52] <eric0> mrwacky42: 2.6.9 gives me the same syntax error as 2.7 on | ||
| [2011/12/07 10:03:01] <eric0> mrwacky42: err... 'on that input' | ||
| [2011/12/07 10:03:36] @ wilmoore joined channel #puppet | ||
| [2011/12/07 10:04:05] @ althara joined channel #puppet | ||
| [2011/12/07 10:04:41] @ Quit: e1mer: Ping timeout: 240 seconds | ||
| [2011/12/07 10:05:26] @ Quit: marcus: Ping timeout: 244 seconds | ||
| [2011/12/07 10:06:02] <mrwacky42> hajile: yeah, but that's the version that ships with Debian Squeeze | ||
| [2011/12/07 10:06:51] <hajile> ohh gotcha | ||
| [2011/12/07 10:07:13] <mrwacky42> I'm working on getting 2.6.latest | ||
| [2011/12/07 10:07:17] <hajile> i feel your old software pain.. we use centos :/ | ||
| [2011/12/07 10:07:20] <mrwacky42> to test there, but I don't have high hopes | ||
| [2011/12/07 10:07:42] <mrwacky42> we use all centos & debian, yep | ||
| [2011/12/07 10:07:56] <hajile> painful when you want to use more current sw | ||
| [2011/12/07 10:09:12] @ danikov joined channel #puppet | ||
| [2011/12/07 10:09:30] @ l0n joined channel #puppet | ||
| [2011/12/07 10:13:02] @ sumsuch joined channel #puppet | ||
| [2011/12/07 10:13:24] <mrwacky42> We're working on upgrading from 0.25 to 2.6 | ||
| [2011/12/07 10:13:31] <mrwacky42> so our buildserver is almost ready to give me a 2.6.12 package | ||
| [2011/12/07 10:13:38] <hajile> ahh | ||
| [2011/12/07 10:13:45] <hajile> i just upgraded from 0.25.5 -> 2.7.6 | ||
| [2011/12/07 10:14:02] <hajile> it wasn't terrible, but it took a fair amount of module rewrites and tweaking | ||
| [2011/12/07 10:14:09] <mrwacky42> yeah | ||
| [2011/12/07 10:14:15] <hajile> i'm so happy i did it though | ||
| [2011/12/07 10:14:16] @ labrown joined channel #puppet | ||
| [2011/12/07 10:14:23] @ Quit: miche: Quit: Computer has gone to sleep. | ||
| [2011/12/07 10:14:33] <mrwacky42> yeah, we're having very weird issues testing the 2.6 upgrade | ||
| [2011/12/07 10:14:40] <mrwacky42> and are discussing skipping 2.6 entirely | ||
| [2011/12/07 10:14:51] <hajile> i'm pretty happy with 2.7 | ||
| [2011/12/07 10:14:58] <hajile> i never used 2.6 | ||
| [2011/12/07 10:15:48] <neek> methinks puppet moves major revisions to fast with not enough sane backwards compatability. we failed to get updated to .25 (because our stuff didn't work with the bugs in .25), failed to get to 2.6 because of a whole nother set of bugs, and somehow I suspect by the time we get a chance to try 2.7...well...the cycle continues. | ||
| [2011/12/07 10:16:25] @ daysmen joined channel #puppet | ||
| [2011/12/07 10:16:31] <hajile> i didn't run into too many bugs with my existing modules | ||
| [2011/12/07 10:16:37] <hajile> at least nothing that prevented me from upgrading | ||
| [2011/12/07 10:17:08] @ Quit: ccaum: Ping timeout: 240 seconds | ||
| [2011/12/07 10:17:13] @ langworthy joined channel #puppet | ||
| [2011/12/07 10:17:15] <hajile> it probably took 20 hours of work to get my config into a place where i wasn't getting warnings or any sort of errors | ||
| [2011/12/07 10:17:36] <hajile> which i think is pretty good considering it was 2 full major versions | ||
| [2011/12/07 10:18:07] @ Quit: cwarden: Ping timeout: 240 seconds | ||
| [2011/12/07 10:18:08] @ Quit: pcarlisle: Ping timeout: 240 seconds | ||
| [2011/12/07 10:18:21] @ Quit: newtMcKerr: Ping timeout: 244 seconds | ||
| [2011/12/07 10:18:46] @ Quit: maxmartin: Ping timeout: 255 seconds | ||
| [2011/12/07 10:18:52] @ Quit: nfagerlund: Ping timeout: 244 seconds | ||
| [2011/12/07 10:20:16] <mrwacky42> hajile: we seem to have lots of scoping issues | ||
| [2011/12/07 10:20:30] <hajile> mrwacky42: that was the majority of what i fixed | ||
| [2011/12/07 10:20:36] <mrwacky42> I'm scared | ||
| [2011/12/07 10:20:37] <mrwacky42> hold me. | ||
| [2011/12/07 10:20:40] <hajile> hahaha | ||
| [2011/12/07 10:20:43] <hajile> it's not so bad :) | ||
| [2011/12/07 10:20:53] @ the_ramink joined channel #puppet | ||
| [2011/12/07 10:21:02] <hajile> you're just now forced to be very specific with regard to where your variables are coming from | ||
| [2011/12/07 10:21:16] <hajile> which is good practice anyways | ||
| [2011/12/07 10:22:07] @ Quit: msaum: Quit: Leaving. | ||
| [2011/12/07 10:22:27] @ ccaum joined channel #puppet | ||
| [2011/12/07 10:22:39] @ marcus joined channel #puppet | ||
| [2011/12/07 10:23:15] @ labrown is now known as labrown[LISALobb | ||
| [2011/12/07 10:23:20] @ labrown[LISALobb is now known as labrown[LISA] | ||
| [2011/12/07 10:23:35] @ msaum joined channel #puppet | ||
| [2011/12/07 10:25:18] @ saysjonathan joined channel #puppet | ||
| [2011/12/07 10:26:36] @ Quit: sumsuch: Quit: sumsuch | ||
| [2011/12/07 10:26:48] @ Boltsky joined channel #puppet | ||
| [2011/12/07 10:28:00] @ Quit: ba6: Quit: Leaving | ||
| [2011/12/07 10:28:58] @ loxo joined channel #puppet | ||
| [2011/12/07 10:30:08] <hajile> parameterized classes make my brain hurt | ||
| [2011/12/07 10:30:14] <hajile> at least the implementation does | ||
| [2011/12/07 10:32:57] <Spads> hajile: That's a sign that you're paying attention, unfortunately. | ||
| [2011/12/07 10:33:12] <hajile> haha | ||
| [2011/12/07 10:33:31] <hajile> i guess i just don't understand how it's better than just using node-scoped variables | ||
| [2011/12/07 10:33:42] <hajile> when it's a single variable | ||
| [2011/12/07 10:34:05] <hajile> the implementation of parameterized classes makes it appear to be much more painful than just using a single node-scoped variable | ||
| [2011/12/07 10:34:40] <hajile> what i expected to find was something along the lines of "include class_name($parameter)" | ||
| [2011/12/07 10:34:47] <hajile> instead, i found pain. | ||
| [2011/12/07 10:35:00] <hajile> haha | ||
| [2011/12/07 10:38:44] @ langworthy_ joined channel #puppet | ||
| [2011/12/07 10:41:10] @ Quit: ezryx_: Remote host closed the connection | ||
| [2011/12/07 10:41:16] @ Quit: langworthy: Ping timeout: 240 seconds | ||
| [2011/12/07 10:41:16] @ langworthy_ is now known as langworthy | ||
| [2011/12/07 10:41:19] @ comptona joined channel #puppet | ||
| [2011/12/07 10:41:45] @ Stenbryggen joined channel #puppet | ||
| [2011/12/07 10:41:53] @ Quit: labrown[LISA]: Ping timeout: 240 seconds | ||
| [2011/12/07 10:42:21] <mrwacky42> hajile: I just did a glorified wc -l.. | ||
| [2011/12/07 10:42:29] <mrwacky42> We have ~30000 lines of puppet manifests | ||
| [2011/12/07 10:42:49] <hajile> wow | ||
| [2011/12/07 10:42:52] <Theory> ouch | ||
| [2011/12/07 10:42:56] <Theory> all hand written? | ||
| [2011/12/07 10:43:02] <hajile> i have ~8000 lines | ||
| [2011/12/07 10:43:06] <jsm> we only have 3k | ||
| [2011/12/07 10:43:16] <jsm> that was easy enough to re-write :) | ||
| [2011/12/07 10:43:23] @ Quit: msaum: Quit: Leaving. | ||
| [2011/12/07 10:43:27] <hajile> mostly the result of some very poorly written manifests | ||
| [2011/12/07 10:43:48] <hajile> i'm slowly cleaning it up | ||
| [2011/12/07 10:44:53] @ msaum joined channel #puppet | ||
| [2011/12/07 10:46:11] <mrwacky42> yep, we use a lot of puppets | ||
| [2011/12/07 10:46:18] @ Quit: lborda: Quit: Ex-Chat | ||
| [2011/12/07 10:46:20] @ Quit: MattyM: Remote host closed the connection | ||
| [2011/12/07 10:47:44] @ jantman left channel #puppet () | ||
| [2011/12/07 10:48:46] @ PedroGomes_ left channel #puppet () | ||
| [2011/12/07 10:48:50] @ sdog joined channel #puppet | ||
| [2011/12/07 10:49:11] @ Quit: sdog: Changing host | ||
| [2011/12/07 10:49:11] @ sdog joined channel #puppet | ||
| [2011/12/07 10:49:12] @ Quit: sdog: Changing host | ||
| [2011/12/07 10:49:12] @ sdog joined channel #puppet | ||
| [2011/12/07 10:50:38] @ comptona is now known as comptona[W1] | ||
| [2011/12/07 10:50:49] @ nfagerlund joined channel #puppet | ||
| [2011/12/07 10:51:11] @ lborda joined channel #puppet | ||
| [2011/12/07 10:53:02] @ pcarlisle joined channel #puppet | ||
| [2011/12/07 10:54:18] @ Quit: jhelwig: Quit: Zoom! | ||
| [2011/12/07 10:55:27] @ ghanima joined channel #puppet | ||
| [2011/12/07 10:55:47] <mrwacky42> updated! | ||
| [2011/12/07 10:55:47] <mrwacky42> https://gist.github.com/1443844 | ||
| [2011/12/07 10:55:54] <mrwacky42> 2.6.12 does parse correctly.. *golf clap* | ||
| [2011/12/07 10:56:04] @ jhelwig joined channel #puppet | ||
| [2011/12/07 10:56:06] @ Quit: jhelwig: Excess Flood | ||
| [2011/12/07 10:56:28] @ Quit: jsurfer: Remote host closed the connection | ||
| [2011/12/07 10:56:45] @ jsurfer joined channel #puppet | ||
| [2011/12/07 10:57:14] @ metcalfc joined channel #puppet | ||
| [2011/12/07 10:57:29] @ Quit: lborda: Quit: Ex-Chat | ||
| [2011/12/07 10:57:48] @ lborda joined channel #puppet | ||
| [2011/12/07 10:58:17] @ Quit: ^conner: Ping timeout: 240 seconds | ||
| [2011/12/07 10:59:25] <hajile> this is the sound of one hand clapping | ||
| [2011/12/07 10:59:26] @ lilmatt joined channel #puppet | ||
| [2011/12/07 10:59:33] <mrwacky42> Hey, where's your other hand ? | ||
| [2011/12/07 10:59:42] @ jhelwig joined channel #puppet | ||
| [2011/12/07 10:59:48] @ Boltsky- joined channel #puppet | ||
| [2011/12/07 11:01:06] @ Quit: Boltsky: Ping timeout: 268 seconds | ||
| [2011/12/07 11:01:06] @ Boltsky- is now known as Boltsky | ||
| [2011/12/07 11:01:33] @ erthad left channel #puppet () | ||
| [2011/12/07 11:02:27] <clustermagnet> guys, in puppet report…. Failed to apply catalog: Could not find a default provider for cron | ||
| [2011/12/07 11:02:27] <clustermagnet> :) | ||
| [2011/12/07 11:02:33] <clustermagnet> whats that ? :) | ||
| [2011/12/07 11:02:51] <agaffney> do you have a cron daemon installed? | ||
| [2011/12/07 11:03:07] <agaffney> does `which crontab` show anything on your client? | ||
| [2011/12/07 11:03:28] <mrwacky42> clustermagnet: the cron provider is shit anyway | ||
| [2011/12/07 11:03:37] <mrwacky42> We just use file resources in /etc/cron.d/ | ||
| [2011/12/07 11:03:56] <nlew> mrwacky42: I'm late to the party, but I think 2.6.2 was parsing your site.pp, ignoring the argument you gave it | ||
| [2011/12/07 11:04:33] <clustermagnet> fixed lol | ||
| [2011/12/07 11:04:37] @ Quit: msaum: Quit: Leaving. | ||
| [2011/12/07 11:04:38] <clustermagnet> nvm, sorry pplz | ||
| [2011/12/07 11:04:42] @ Quit: astrostl: | ||
| [2011/12/07 11:04:51] <mrwacky42> nlew: Ha! that's silly | ||
| [2011/12/07 11:04:57] @ bmahe joined channel #puppet | ||
| [2011/12/07 11:04:57] @ Quit: bmahe: Changing host | ||
| [2011/12/07 11:04:57] @ bmahe joined channel #puppet | ||
| [2011/12/07 11:05:48] <mrwacky42> nlew: you appear to be correct: | ||
| [2011/12/07 11:05:48] <mrwacky42> strace -f -e open puppet --parseonly --ignoreimport /tmp/test.pp 2>&1 |grep -c tmp | ||
| [2011/12/07 11:05:51] <mrwacky42> 0 | ||
| [2011/12/07 11:06:00] @ Quit: cliff-hm: Ping timeout: 244 seconds | ||
| [2011/12/07 11:06:32] @ msaum joined channel #puppet | ||
| [2011/12/07 11:11:19] <kenperkins> so why shouldn't my modules be in the same repository as the code? | ||
| [2011/12/07 11:11:23] <kenperkins> can someone re-educate me | ||
| [2011/12/07 11:11:24] @ ^conner joined channel #puppet | ||
| [2011/12/07 11:11:51] <comptona[W1]> I'd be curious too; $work does it that way | ||
| [2011/12/07 11:12:28] <comptona[W1]> that way we can get a single git hash that unambiguously represents the config on a machine at a given point in time | ||
| [2011/12/07 11:12:31] <kenperkins> what we've found, annecdotaly is that considering the code requires the config to be a certain way makes a strong case to keep them in sync | ||
| [2011/12/07 11:12:40] @ maxmartin joined channel #puppet | ||
| [2011/12/07 11:14:39] <mrwacky42> Well, we install all our puppet modules as .debs on the puppet masters | ||
| [2011/12/07 11:14:42] @ sumsuch joined channel #puppet | ||
| [2011/12/07 11:14:46] <mrwacky42> and all our code as debs/rpms on the servers | ||
| [2011/12/07 11:14:58] @ rodjek joined channel #puppet | ||
| [2011/12/07 11:15:02] <mrwacky42> So it's easier for us to keep it all separate and package separatley | ||
| [2011/12/07 11:15:12] <mrwacky42> vs splitting a repo into two packages.. | ||
| [2011/12/07 11:15:17] <mrwacky42> iff i'm understanding the question | ||
| [2011/12/07 11:15:19] <kenperkins> but I guess what I'm saying, lets say code change x requires config change y | ||
| [2011/12/07 11:15:27] <comptona[W1]> ah; I always forget modules usually only run on a master server | ||
| [2011/12/07 11:15:28] @ Quit: daysmen: Ping timeout: 255 seconds | ||
| [2011/12/07 11:15:35] <kenperkins> if they're in different repositories, how do you possibly coordinate/guarantee they're in sync | ||
| [2011/12/07 11:15:35] @ cliff-hm joined channel #puppet | ||
| [2011/12/07 11:15:41] <comptona[W1]> $work distributes manifests + local puppet apply | ||
| [2011/12/07 11:15:42] <kenperkins> and then imagine a rollback | ||
| [2011/12/07 11:19:43] <Evolution> stupid newbie question, but I can't find the answer in the doco. the pro puppet book refers to moduledir, the website refers to modulepath | ||
| [2011/12/07 11:19:54] <Evolution> which is more correct/preferred? | ||
| [2011/12/07 11:20:04] <jokajak> really? | ||
| [2011/12/07 11:20:09] <Evolution> (for puppet.conf configuration) | ||
| [2011/12/07 11:20:12] <jokajak> seriously Evolution, that's your question? | ||
| [2011/12/07 11:20:32] @ langworthy_ joined channel #puppet | ||
| [2011/12/07 11:20:32] <Evolution> jokajak: sometimes it's the simple shit you want to know.... | ||
| [2011/12/07 11:20:37] <jokajak> modulepath is what is what I'm using in my puppet.conf | ||
| [2011/12/07 11:20:40] <eric0> jokajak: why the sarcasm? | ||
| [2011/12/07 11:20:44] @ Quit: langworthy_: Read error: Connection reset by peer | ||
| [2011/12/07 11:20:51] @ langworthy_ joined channel #puppet | ||
| [2011/12/07 11:21:07] <Evolution> eric0: because he's in like 8 other channels I"m in.... and I give him shit too. | ||
| [2011/12/07 11:21:31] @ Quit: langworthy: Read error: Connection reset by peer | ||
| [2011/12/07 11:21:31] @ langworthy_ is now known as langworthy | ||
| [2011/12/07 11:21:32] <jokajak> Evolution: seriously though, I think they could both be correct | ||
| [2011/12/07 11:21:33] <Evolution> jokajak: we're a cfengine(2) shop... and I'm trying to change that with puppet/foreman. | ||
| [2011/12/07 11:21:43] <jokajak> Evolution: modulepath refers to the list of moduledirs | ||
| [2011/12/07 11:21:45] <comptona[W1]> modulepath/templatedir used to confuse me until I grokked module loading | ||
| [2011/12/07 11:21:58] @ Quit: csanchez: Remote host closed the connection | ||
| [2011/12/07 11:22:07] <Evolution> jokajak: ah. that makes sense. | ||
| [2011/12/07 11:22:13] @ csanchez joined channel #puppet | ||
| [2011/12/07 11:22:25] <jokajak> where moduledir can be thought of as being scoped to the current module/class or whatever lingo is correct | ||
| [2011/12/07 11:22:35] <eric0> Evolution: i think moduledir is an error, try 'puppet master --configprint moduledir' | ||
| [2011/12/07 11:23:20] <Evolution> invalid parameter. so... error in the book then | ||
| [2011/12/07 11:23:37] <Evolution> jokajak: SEE!?!?! NOT SUCH A DUMB QUESTION AFTER ALL | ||
| [2011/12/07 11:23:41] * Evolution nurses his ego | ||
| [2011/12/07 11:23:48] <jokajak> Evolution: but doesn't it depend on the context? | ||
| [2011/12/07 11:24:12] @ csanchez_ joined channel #puppet | ||
| [2011/12/07 11:24:16] <jokajak> oh, I just saw the context | ||
| [2011/12/07 11:24:20] <jokajak> yea, it's modulepath | ||
| [2011/12/07 11:24:21] <Evolution> jokajak: I think your explanation is correct, it's just not a valid option. | ||
| [2011/12/07 11:24:39] <jokajak> and this is why printing books is a terrible idea | ||
| [2011/12/07 11:24:54] <jokajak> Evolution: now you should white-out the moduledir in the book and write modulepath | ||
| [2011/12/07 11:24:58] <Evolution> because clearly everything on the web is correct. | ||
| [2011/12/07 11:25:01] <jokajak> Evolution: lest your successor runs in to the same problem | ||
| [2011/12/07 11:25:21] <Evolution> jokajak: that's his problem not mine. | ||
| [2011/12/07 11:25:33] <Evolution> >;-) | ||
| [2011/12/07 11:25:53] @ Quit: msaum: Quit: Leaving. | ||
| [2011/12/07 11:28:11] @ msaum joined channel #puppet | ||
| [2011/12/07 11:28:31] @ Quit: csanchez: Ping timeout: 255 seconds | ||
| [2011/12/07 11:28:31] @ csanchez_ is now known as csanchez | ||
| [2011/12/07 11:28:44] @ Quit: Diranged: Ping timeout: 244 seconds | ||
| [2011/12/07 11:29:34] @ autojack joined channel #puppet | ||
| [2011/12/07 11:30:31] <autojack> I'm interested in playing aroud with Hiera, to see if it would be useful for simplifying our Puppet setup. anyone have any thoughts or tips about it? | ||
| [2011/12/07 11:30:34] @ lak joined channel #puppet | ||
| [2011/12/07 11:30:35] @ Quit: lak: Changing host | ||
| [2011/12/07 11:30:35] @ lak joined channel #puppet | ||
| [2011/12/07 11:31:32] @ labrown joined channel #puppet | ||
| [2011/12/07 11:32:15] @ tremble joined channel #puppet | ||
| [2011/12/07 11:33:15] @ Quit: hobbeswalsh: Quit: hobbeswalsh | ||
| [2011/12/07 11:35:58] @ InsolentDreams joined channel #puppet | ||
| [2011/12/07 11:37:53] @ Quit: tremble: Ping timeout: 240 seconds | ||
| [2011/12/07 11:38:15] @ jwwatts joined channel #puppet | ||
| [2011/12/07 11:38:29] @ KaiserBeto1 joined channel #puppet | ||
| [2011/12/07 11:38:34] @ jwwatts left channel #puppet () | ||
| [2011/12/07 11:38:51] @ tremble joined channel #puppet | ||
| [2011/12/07 11:38:52] @ Quit: tremble: Changing host | ||
| [2011/12/07 11:38:52] @ tremble joined channel #puppet | ||
| [2011/12/07 11:39:15] @ KaiserBeto1 left channel #puppet () | ||
| [2011/12/07 11:39:54] @ Quit: ergonlogic: Read error: Operation timed out | ||
| [2011/12/07 11:40:06] @ Quit: omry_: Ping timeout: 248 seconds | ||
| [2011/12/07 11:40:12] @ Quit: maxmartin: Quit: Computer has gone to sleep. | ||
| [2011/12/07 11:40:17] @ Quit: duerF: Ping timeout: 240 seconds | ||
| [2011/12/07 11:40:29] @ lance joined channel #puppet | ||
| [2011/12/07 11:40:38] @ Quit: labrown: Ping timeout: 240 seconds | ||
| [2011/12/07 11:40:51] @ lance is now known as Guest22666 | ||
| [2011/12/07 11:41:19] @ juggernaut joined channel #puppet | ||
| [2011/12/07 11:42:33] <juggernaut> Hi, good morning. Trying to connect to our puppet master and we're getting "connection refused" when doing from localhost. we have puppet master running, do we need a default port open? I thought it ran over ssh | ||
| [2011/12/07 11:43:05] <juggernaut> puppet agent --test --server=127.0.0.1 we get "expecting cert xxxx.com" | ||
| [2011/12/07 11:43:30] @ Quit: aherzog: Quit: aherzog | ||
| [2011/12/07 11:43:42] <lisa> err, wha? no it doesn't run over ssh. | ||
| [2011/12/07 11:43:45] <lisa> it uses port 8140 | ||
| [2011/12/07 11:44:04] <juggernaut> ok, so that's part one of the issue then | ||
| [2011/12/07 11:44:26] @ maxmartin joined channel #puppet | ||
| [2011/12/07 11:45:06] @ omry_ joined channel #puppet | ||
| [2011/12/07 11:45:13] <lisa> you also need to use the FQDN of the puppet master | ||
| [2011/12/07 11:45:36] <juggernaut> then two: why do I get "Server hostname '127.0.0.1' did not match server certificate; expected xxx.com" when I run over localhost | ||
| [2011/12/07 11:45:36] @ Quit: paxos: Quit: Leaving. | ||
| [2011/12/07 11:47:08] @ Quit: msaum: Quit: Leaving. | ||
| [2011/12/07 11:47:29] <lisa> because you need to use the FQDN, not 127.0.0.1 | ||
| [2011/12/07 11:47:37] <diq> re-read what you just typed. use the FQDN. | ||
| [2011/12/07 11:48:07] <diq> don't use localhost juggalo | ||
| [2011/12/07 11:48:12] @ ergonlogic joined channel #puppet | ||
| [2011/12/07 11:48:37] @ msaum joined channel #puppet | ||
| [2011/12/07 11:48:38] @ Quit: Guest22666: Ping timeout: 248 seconds | ||
| [2011/12/07 11:49:07] <juggernaut> ok, so we have a couple of issues on our end, stuff we need to resolve. even w/ ip tables off, I still cannot connect to port 8140 on this box. | ||
| [2011/12/07 11:49:41] <juggernaut> thanks for your help | ||
| [2011/12/07 11:49:50] <snk> is the puppet master even running? | ||
| [2011/12/07 11:49:53] @ DbT_ joined channel #puppet | ||
| [2011/12/07 11:50:09] <juggernaut> puppet 32414 1 0 11:25 ? 00:00:00 /usr/bin/ruby /usr/bin/puppet master --mkusers | ||
| [2011/12/07 11:50:39] @ d3c joined channel #puppet | ||
| [2011/12/07 11:50:45] <juggernaut> yes. but telnet xxxx 8140 is coming up w/ connection refused | ||
| [2011/12/07 11:50:53] <snk> hmm, interesting | ||
| [2011/12/07 11:51:10] <juggernaut> I can telnet to that port locally but not outside. I think it's a firewall issue | ||
| [2011/12/07 11:51:14] <d3c> can puppet source/dot a file containing "export PS1='foo'"? I'm trying to set the PS1 when running via puppet apply. | ||
| [2011/12/07 11:52:22] <comptona[W1]> whose PS1? | ||
| [2011/12/07 11:54:21] <jsm> my puppet master crashed and now fails to start.. not a clue what to do: http://fpaste.org/txQg/ | ||
| [2011/12/07 11:54:59] @ Quit: HCoyote: Quit: leaving | ||
| [2011/12/07 11:55:03] @ Quit: car|0s: Remote host closed the connection | ||
| [2011/12/07 11:55:11] @ HCoyote joined channel #puppet | ||
| [2011/12/07 11:55:18] @ abetterlie joined channel #puppet | ||
| [2011/12/07 11:56:47] @ Quit: comptona[W1]: Quit: Leaving. | ||
| [2011/12/07 11:56:50] @ TylerWalts joined channel #puppet | ||
| [2011/12/07 11:56:55] <diq> jsm, I take it that you installed puppet through gem> | ||
| [2011/12/07 11:56:58] <diq> ? | ||
| [2011/12/07 11:57:07] <jsm> diq: no, via an rpm | ||
| [2011/12/07 11:57:38] @ Quit: maxmartin: Quit: Computer has gone to sleep. | ||
| [2011/12/07 11:57:53] <diq> that's a gem error | ||
| [2011/12/07 11:58:20] <diq> did your init script change? | ||
| [2011/12/07 11:58:49] <jsm> /usr/lib/ruby/site_ruby/1.8/puppet/network/server.rb exists… | ||
| [2011/12/07 11:59:01] <diq> sounds like maybe your libdir changed? | ||
| [2011/12/07 11:59:06] <diq> or version of ruby | ||
| [2011/12/07 11:59:12] <diq> maybe something along those lines? | ||
| [2011/12/07 11:59:24] <diq> I'm just educated guessing here | ||
| [2011/12/07 11:59:28] <jsm> it's possible, but i don't think so... | ||
| [2011/12/07 11:59:34] <jsm> it's still on 1.8 | ||
| [2011/12/07 11:59:35] <diq> something probably changed but puppet was never restarted | ||
| [2011/12/07 11:59:54] <diq> so when the server crashed, it tried to start with the wrong settings | ||
| [2011/12/07 12:00:07] @ ped joined channel #puppet | ||
| [2011/12/07 12:00:25] <jsm> that's a good theory | ||
| [2011/12/07 12:00:41] <jsm> so what do you think is a good way to fix it? | ||
| [2011/12/07 12:01:33] <diq> look at your puppetmaster init script and see which ruby/ruby libdir it's using | ||
| [2011/12/07 12:01:44] <diq> list all that action out and follow the clues | ||
| [2011/12/07 12:02:21] <ped> Hello. I'm merging two puppetmasters serving different clients into a single puppetmaster with multiple environments. One of the puppetmasters is running on a different domain. I want to combine all clients into a single domain. Can anyone let me know what kind of problems I'm going to be looking at ssl cert wise? Will I have to regenerate them for the domain change | ||
| [2011/12/07 12:03:23] <ped> the pool with the domain change is ~800 clients unfortunately, so i'm trying to avoid that if at all possible | ||
| [2011/12/07 12:03:50] @ fredden joined channel #puppet | ||
| [2011/12/07 12:03:52] @ Quit: fredden: Remote host closed the connection | ||
| [2011/12/07 12:04:27] <ped> so 2 servers, 2 different domains.com going to one new server | ||
| [2011/12/07 12:04:38] @ Quit: ccaum: Ping timeout: 248 seconds | ||
| [2011/12/07 12:04:53] <jsm> diq: the init script doesn't seem to reference ruby: http://fpaste.org/PwXF/ | ||
| [2011/12/07 12:04:53] <WALoeIII> does puppet provide an apt repo with current builds | ||
| [2011/12/07 12:04:56] <WALoeIII> ideally for lucid | ||
| [2011/12/07 12:06:54] <WALoeIII> ohhh apt.puppetlabs.com | ||
| [2011/12/07 12:06:56] <WALoeIII> when did that show up! | ||
| [2011/12/07 12:07:01] @ Asako joined channel #puppet | ||
| [2011/12/07 12:07:10] <Asako> hello | ||
| [2011/12/07 12:09:08] @ Quit: TylerWalts: Quit: Page closed | ||
| [2011/12/07 12:09:21] <Asako> is it normal for dashboard to use a ton of RAM? | ||
| [2011/12/07 12:09:38] @ Quit: msaum: Quit: Leaving. | ||
| [2011/12/07 12:09:53] <WALoeIII> Asako: what is a ton | ||
| [2011/12/07 12:09:55] <WALoeIII> its a Rails app | ||
| [2011/12/07 12:10:06] <WALoeIII> each worker will use tens of megs | ||
| [2011/12/07 12:10:21] <Asako> 500 MB right now | ||
| [2011/12/07 12:10:25] <WALoeIII> thats a leak | ||
| [2011/12/07 12:10:36] <Asako> was 1.2 G until I restarted apache | ||
| [2011/12/07 12:10:46] <WALoeIII> yeah, it shouldn't do that | ||
| [2011/12/07 12:10:47] @ Quit: crs: Ping timeout: 240 seconds | ||
| [2011/12/07 12:10:52] <WALoeIII> ~100mb is what I expdct | ||
| [2011/12/07 12:10:58] @ skm joined channel #puppet | ||
| [2011/12/07 12:11:05] <Asako> eventually it grows to 6G every day | ||
| [2011/12/07 12:11:16] <WALoeIII> your version must have a memory leak | ||
| [2011/12/07 12:11:22] <WALoeIII> I would see if there is an upgrade | ||
| [2011/12/07 12:11:24] <Asako> I'm just using apache/mod_passenger | ||
| [2011/12/07 12:11:26] <WALoeIII> or file a bug | ||
| [2011/12/07 12:11:31] @ msaum joined channel #puppet | ||
| [2011/12/07 12:11:56] <Asako> I'm using 1.2.2 for dashboard | ||
| [2011/12/07 12:13:55] <Asako> I could upgrade to 1.2.3 | ||
| [2011/12/07 12:14:20] @ Quit: DbT_: Quit: So long. | ||
| [2011/12/07 12:14:31] <toobulkeh> Is there a best practice to undo what puppet does? | ||
| [2011/12/07 12:14:59] <toobulkeh> A way to write code that, when others are removed, that puppet undos or removes files that are old/outdated/unneeded? | ||
| [2011/12/07 12:15:32] @ Quit: InsolentDreams: Read error: Connection reset by peer | ||
| [2011/12/07 12:16:25] <Asako> the changelog doesn't show any fixes for memory usage though | ||
| [2011/12/07 12:16:27] <the_ramink> Asako: in the short term you could set PassengerMaxRequests 10000 in your Passenger conf file. That should recycle the rack processes often enough | ||
| [2011/12/07 12:17:02] <Asako> hmm | ||
| [2011/12/07 12:17:08] @ Quit: omry_: Ping timeout: 240 seconds | ||
| [2011/12/07 12:17:38] <Asako> I thought that's what IdleTime does? | ||
| [2011/12/07 12:17:53] <Asako> PassengerMaxPoolSize 12 | ||
| [2011/12/07 12:17:54] <Asako> PassengerPoolIdleTime 60 | ||
| [2011/12/07 12:17:54] <Asako> PassengerStatThrottleRate 120 | ||
| [2011/12/07 12:18:01] <Asako> already tried that any way | ||
| [2011/12/07 12:18:45] @ Quit: nfagerlund: Remote host closed the connection | ||
| [2011/12/07 12:19:31] <the_ramink> if you never hit the idle time it'll never recycle | ||
| [2011/12/07 12:19:38] @ Quit: Boltsky: Quit: Textual IRC Client: http://www.textualapp.com/ | ||
| [2011/12/07 12:20:11] @ comptona joined channel #puppet | ||
| [2011/12/07 12:20:35] @ Djelibeybi joined channel #puppet | ||
| [2011/12/07 12:21:53] @ langworthy_ joined channel #puppet | ||
| [2011/12/07 12:22:47] @ Quit: langworthy: Ping timeout: 240 seconds | ||
| [2011/12/07 12:22:47] @ langworthy_ is now known as langworthy | ||
| [2011/12/07 12:23:28] @ newtMcKerr joined channel #puppet | ||
| [2011/12/07 12:23:59] @ maxmartin joined channel #puppet | ||
| [2011/12/07 12:25:07] @ crs joined channel #puppet | ||
| [2011/12/07 12:26:48] <WALoeIII> what is the preferred method in current puppet land to generate a memcache client config file that exposes all the instances running memcached | ||
| [2011/12/07 12:26:53] @ Quit: csanchez: Quit: csanchez | ||
| [2011/12/07 12:26:53] <WALoeIII> exported resources? | ||
| [2011/12/07 12:28:31] <WALoeIII> basically how can I collect the hostname/ips of all nodes exporting the memcached service | ||
| [2011/12/07 12:28:40] @ Quit: d3c: Ping timeout: 244 seconds | ||
| [2011/12/07 12:29:23] @ Quit: rgsteele: Quit: ChatZilla 0.9.86.1 [Firefox 3.0.7/2009030423] | ||
| [2011/12/07 12:30:12] @ Quit: sdog: Ping timeout: 252 seconds | ||
| [2011/12/07 12:30:54] @ Quit: msaum: Quit: Leaving. | ||
| [2011/12/07 12:31:01] @ omry_ joined channel #puppet | ||
| [2011/12/07 12:32:23] @ msaum joined channel #puppet | ||
| [2011/12/07 12:33:43] @ hobbeswalsh joined channel #puppet | ||
| [2011/12/07 12:34:00] @ ccaum joined channel #puppet | ||
| [2011/12/07 12:35:43] @ Quit: skm: Quit: Computer has gone to sleep. | ||
| [2011/12/07 12:36:25] @ Quit: localhost: Remote host closed the connection | ||
| [2011/12/07 12:37:39] @ localhost joined channel #puppet | ||
| [2011/12/07 12:38:56] @ nfagerlund joined channel #puppet | ||
| [2011/12/07 12:39:07] @ Quit: madasi: Remote host closed the connection | ||
| [2011/12/07 12:39:23] @ comptona is now known as comptona[W1] | ||
| [2011/12/07 12:43:01] @ tblamer joined channel #puppet | ||
| [2011/12/07 12:45:06] @ madasi joined channel #puppet | ||
| [2011/12/07 12:48:02] @ Quit: omry_: Read error: Connection timed out | ||
| [2011/12/07 12:48:04] @ zanefactory joined channel #puppet | ||
| [2011/12/07 12:48:35] @ rektide_ is now known as rektide | ||
| [2011/12/07 12:49:46] @ Quit: tblamer: Remote host closed the connection | ||
| [2011/12/07 12:49:50] @ omry_ joined channel #puppet | ||
| [2011/12/07 12:51:31] @ Quit: ckauhaus: Quit: Leaving. | ||
| [2011/12/07 12:52:09] @ Quit: msaum: Quit: Leaving. | ||
| [2011/12/07 12:53:29] @ tilgovi joined channel #puppet | ||
| [2011/12/07 12:54:32] @ msaum joined channel #puppet | ||
| [2011/12/07 12:56:16] @ labrown joined channel #puppet | ||
| [2011/12/07 12:57:32] @ MarkN1 left channel #puppet () | ||
| [2011/12/07 12:58:24] @ Quit: pcarlisle: Quit: Computer has gone to sleep. | ||
| [2011/12/07 13:00:15] @ ali3n0 joined channel #puppet | ||
| [2011/12/07 13:00:38] @ Quit: tremble: Ping timeout: 248 seconds | ||
| [2011/12/07 13:04:48] @ Quit: bradm: Ping timeout: 248 seconds | ||
| [2011/12/07 13:05:24] @ Quit: omry_: Ping timeout: 252 seconds | ||
| [2011/12/07 13:06:36] @ Quit: natewalck: Quit: Outta here | ||
| [2011/12/07 13:06:48] <zykes-> anyone here running puppet dashboard as a "Alias" in apache ? | ||
| [2011/12/07 13:06:50] @ Quit: motomike: Remote host closed the connection | ||
| [2011/12/07 13:07:10] @ Quit: ali3n0: Quit: Leaving. | ||
| [2011/12/07 13:07:20] @ omry_ joined channel #puppet | ||
| [2011/12/07 13:07:24] @ ali3n0 joined channel #puppet | ||
| [2011/12/07 13:08:09] @ motomike joined channel #puppet | ||
| [2011/12/07 13:11:59] <Asako> the_ramink, thanks | ||
| [2011/12/07 13:12:27] <Asako> will PassengerMaxRequests conflict with PassengerPoolIdleTime ? | ||
| [2011/12/07 13:13:40] @ Quit: msaum: Quit: Leaving. | ||
| [2011/12/07 13:13:49] @ Vulcan[OMNI] joined channel #puppet | ||
| [2011/12/07 13:14:00] @ Quit: cliff-hm: Ping timeout: 252 seconds | ||
| [2011/12/07 13:15:09] @ msaum joined channel #puppet | ||
| [2011/12/07 13:19:02] <gepetto> ::redmine:: Wiki edit: Downloading_Puppet (#130) @ http://projects.puppetlabs.com/projects/puppet/wiki/Downloading_Puppet?version=130 (by Matthaus Litteken) | ||
| [2011/12/07 13:19:31] @ bradm joined channel #puppet | ||
| [2011/12/07 13:20:01] <jsm> i've seemed to graduate my puppet problem to this: Starting puppetmaster: /usr/lib/ruby/site_ruby/1.8/puppet/util/settings.rb:731:in `initialize': Permission denied - /var/lib/puppet/ssl/ca/ca_key.pem (Errno::EACCES) | ||
| [2011/12/07 13:20:30] <walkeran> Asako: Nope... you can use them both at the same time | ||
| [2011/12/07 13:23:35] <Asako> sweet | ||
| [2011/12/07 13:24:17] @ siezer is now known as siezer[opscode] | ||
| [2011/12/07 13:29:06] @ Quit: bradm: Ping timeout: 268 seconds | ||
| [2011/12/07 13:29:20] @ Quit: newtMcKerr: Quit: Leaving. | ||
| [2011/12/07 13:29:43] @ nul0op joined channel #puppet | ||
| [2011/12/07 13:30:47] @ newtMcKerr joined channel #puppet | ||
| [2011/12/07 13:31:17] @ Quit: rcrowley: Quit: Textual IRC Client: http://www.textualapp.com/ | ||
| [2011/12/07 13:31:40] @ rcrowley joined channel #puppet | ||
| [2011/12/07 13:32:16] <Asako> can puppet run system commands as part of an in statement? | ||
| [2011/12/07 13:32:20] <Asako> if | ||
| [2011/12/07 13:32:33] <nevyn> nope | ||
| [2011/12/07 13:32:38] @ bradm joined channel #puppet | ||
| [2011/12/07 13:32:55] <nevyn> if is evaluated on the puppetmaster. so it has to be based on facts. | ||
| [2011/12/07 13:33:10] <Asako> hmm | ||
| [2011/12/07 13:33:17] <Asako> there aren't any facts that help me | ||
| [2011/12/07 13:33:42] @ Quit: ^conner: Ping timeout: 248 seconds | ||
| [2011/12/07 13:33:57] @ Holocaine joined channel #puppet | ||
| [2011/12/07 13:34:12] <Asako> I need to detect if a /boot partition exists | ||
| [2011/12/07 13:34:59] <comptona[W1]> Asako: inline template might help: http://docs.puppetlabs.com/references/stable/function.html#inlinetemplate | ||
| [2011/12/07 13:35:08] <comptona[W1]> you can run ruby and assign the result to a variable | ||
| [2011/12/07 13:35:18] <comptona[W1]> or, writing custom facts is really dead-simple | ||
| [2011/12/07 13:35:41] <Asako> yeah, we have a bunch of them | ||
| [2011/12/07 13:38:11] @ Quit: comptona[W1]: Quit: Leaving. | ||
| [2011/12/07 13:38:30] <Asako> may have to make one | ||
| [2011/12/07 13:38:34] @ hoban joined channel #puppet | ||
| [2011/12/07 13:38:39] @ pcarlisle joined channel #puppet | ||
| [2011/12/07 13:39:31] <hoban> Good afternoon. I've googled around and haven't been able to find an answer (perhaps it's not possible): | ||
| [2011/12/07 13:39:31] <hoban> In a manifest, I want to be able to store the output of shell commands to a variable but I can't figure out how to do so | ||
| [2011/12/07 13:39:40] <hoban> for example, I want to be able to do this: | ||
| [2011/12/07 13:39:46] <hoban> $gw_addr=$(/sbin/route -en | /bin/awk '/UG/ {print \$2}') | ||
| [2011/12/07 13:42:08] <hoban> I should have mentioned I'm using puppet 2.7.6 | ||
| [2011/12/07 13:43:53] <Asako> that's exactly what I'm trying to do. lol | ||
| [2011/12/07 13:44:07] <hoban> :) | ||
| [2011/12/07 13:44:37] <Asako> wish there was something like perl backticks | ||
| [2011/12/07 13:45:17] @ ^conner joined channel #puppet | ||
| [2011/12/07 13:45:45] <Asako> we use custom facts or extlookup for stuff like that | ||
| [2011/12/07 13:46:16] <hoban> extlookup? | ||
| [2011/12/07 13:46:17] <Asako> http://projects.puppetlabs.com/projects/1/wiki/Adding_Facts | ||
| [2011/12/07 13:46:26] <Asako> extlookup is a custom parser class | ||
| [2011/12/07 13:46:44] <Asako> so we keep certain facts in csv files | ||
| [2011/12/07 13:46:58] <hoban> sweet | ||
| [2011/12/07 13:47:08] * hoban looks at Adding_Facts | ||
| [2011/12/07 13:47:59] <hoban> hmm...we sync over puppet manifests to machines and apply them manually (no puppet master) | ||
| [2011/12/07 13:48:01] @ drewrm joined channel #puppet | ||
| [2011/12/07 13:49:47] @ miche joined channel #puppet | ||
| [2011/12/07 13:50:00] @ Quit: bizarrobrian: Quit: leaving | ||
| [2011/12/07 13:50:09] <Asako> that kind of defeats the purpose of using puppet | ||
| [2011/12/07 13:50:29] * jamesog has heard of many people doing this | ||
| [2011/12/07 13:50:32] <hoban> not really | ||
| [2011/12/07 13:50:39] <jamesog> Some use git to push to nodes | ||
| [2011/12/07 13:51:03] <hoban> we can still take advantage of the scripting & idempotence of puppet | ||
| [2011/12/07 13:51:26] <hoban> we may sometime transition to using puppet master but I doubt it. | ||
| [2011/12/07 13:51:30] <Asako> yeah | ||
| [2011/12/07 13:51:41] <hoban> I work for a SaaS company and many broken nodes at once would be catastrophic | ||
| [2011/12/07 13:51:57] <Asako> same here | ||
| [2011/12/07 13:52:45] <zykes-> can I run puppetmaster under a Alias setting in Apache on port 443 ? | ||
| [2011/12/07 13:53:57] @ Quit: dwalu: Quit: dwalu | ||
| [2011/12/07 13:54:12] <the_ramink> zykes-: what are you trying to accomplish. fwiw puppet expects the master to be on port 8140 so it shouldn't conflict with vhosts on port 443 | ||
| [2011/12/07 13:55:16] <zykes-> the_ramink: just wondering in general, cause trying atm to run puppet-dashboard under a /Alias | ||
| [2011/12/07 13:56:52] @ dwalu joined channel #puppet | ||
| [2011/12/07 13:59:24] @ Quit: uphillian: Quit: Leaving. | ||
| [2011/12/07 13:59:29] @ Quit: salajander: Quit: leaving | ||
| [2011/12/07 13:59:59] @ salajander joined channel #puppet | ||
| [2011/12/07 14:00:26] @ salajander is now known as jander | ||
| [2011/12/07 14:00:38] <the_ramink> zykes-: I think the correct way to do that is to specify a sub URI. http://www.modrails.com/documentation/Users%20guide%20Apache.html#deploying_rails_to_sub_uri | ||
| [2011/12/07 14:00:43] @ jander is now known as salajander | ||
| [2011/12/07 14:01:14] @ Quit: salajander: Client Quit | ||
| [2011/12/07 14:01:45] @ skm joined channel #puppet | ||
| [2011/12/07 14:03:03] @ salajander joined channel #puppet | ||
| [2011/12/07 14:03:18] <zykes-> don't think so the_ramink, i've tried it without luck | ||
| [2011/12/07 14:03:27] @ Quit: adrient: Ping timeout: 258 seconds | ||
| [2011/12/07 14:03:47] <zykes-> i know for php apps you can do like Alias /phpmyadmin /some_path_to_phpmyadmin | ||
| [2011/12/07 14:04:45] <the_ramink> zykes-: the problem is that you need Passenger to know that you're trying to run a seperate app so it'll spawn a Rack: dashboard process and not try to reuse a Rack: puppet process | ||
| [2011/12/07 14:05:05] <zykes-> :( | ||
| [2011/12/07 14:05:08] @ Quit: jodok: Remote host closed the connection | ||
| [2011/12/07 14:05:24] @ jodok joined channel #puppet | ||
| [2011/12/07 14:05:24] @ Quit: jodok: Changing host | ||
| [2011/12/07 14:05:24] @ jodok joined channel #puppet | ||
| [2011/12/07 14:05:24] @ adrient joined channel #puppet | ||
| [2011/12/07 14:05:50] <hoban> a custom facter won't work with the way we're deploying and executing puppet manifests. :( | ||
| [2011/12/07 14:06:00] <hoban> is there really no way to assign subshell output to a variable in a manifest? | ||
| [2011/12/07 14:06:30] @ Quit: salajander: Client Quit | ||
| [2011/12/07 14:06:57] @ salajander joined channel #puppet | ||
| [2011/12/07 14:07:19] @ avleen_ is now known as avleen | ||
| [2011/12/07 14:11:22] @ Quit: kermit: Ping timeout: 244 seconds | ||
| [2011/12/07 14:11:48] @ Quit: dissipate: Quit: Leaving | ||
| [2011/12/07 14:13:46] <jbaldridge> maybe an inline template? | ||
| [2011/12/07 14:15:15] <hoban> jbaldridge: I'll look for the documentation for that | ||
| [2011/12/07 14:15:16] <hoban> thanks | ||
| [2011/12/07 14:15:27] @ kermit joined channel #puppet | ||
| [2011/12/07 14:15:43] <hoban> or do you have a link by chance? | ||
| [2011/12/07 14:19:25] <the_ramink> hoban: why won't a custom fact work? IIRC whack had them working in his masterless setup | ||
| [2011/12/07 14:20:10] @ Quit: gniks: Quit: Leaving. | ||
| [2011/12/07 14:20:32] <hoban> probably just a failing in our process. puppet is installed by kickstart, then we log into the new system, check out the latest svn branch that has the puppet manifests, and manually apply the manifest | ||
| [2011/12/07 14:20:43] <hoban> the repository only has manifests | ||
| [2011/12/07 14:21:44] @ Quit: labrown: Ping timeout: 252 seconds | ||
| [2011/12/07 14:21:56] <the_ramink> so where is the module code? | ||
| [2011/12/07 14:22:29] <hoban> I'm new to puppet, what kind of file are you referring to? | ||
| [2011/12/07 14:22:38] @ Dantman is now known as ChaosDan | ||
| [2011/12/07 14:23:26] <hoban> rb files I assume? | ||
| [2011/12/07 14:23:56] <Evolution> can variables be used in auth.conf? | ||
| [2011/12/07 14:23:56] <Phibs> man what does this mean: Dec 7 17:23:41 nexus puppet-agent[3677]: Could not retrieve catalog from remote server: hostname was not match with the server certificate | ||
| [2011/12/07 14:23:57] <hoban> if so, those are all installed by our puppet rpm to /usr/lib/ruby/site_ruby/1.8/puppet | ||
| [2011/12/07 14:24:10] <hoban> the_ramink: ^^ | ||
| [2011/12/07 14:24:14] @ Quit: lborda: Quit: Ex-Chat | ||
| [2011/12/07 14:25:17] <the_ramink> where I'm going is that you can put facts in your puppet repo, modules/networking/lib/facter/myfact.rb | ||
| [2011/12/07 14:25:37] @ Quit: Vulcan[OMNI]: Quit: Vulcan[OMNI] | ||
| [2011/12/07 14:25:49] <Phibs> server cert is fine, client cert is fine, why the issue? | ||
| [2011/12/07 14:26:56] <hoban> the_ramink: that's probably the cleanest solution | ||
| [2011/12/07 14:26:58] <eric0> Phibs: means the name you're specifying with '--server foo' or 'server=foo' isn't in the cert presented by host foo | ||
| [2011/12/07 14:27:02] <hoban> I'll investigate that. Thanks | ||
| [2011/12/07 14:27:15] <jbaldridge> hoban: sorry, I don't know the link off the top of my head, but it should be as simple as $foo = inline_template("<%= %x{hostname} %>") | ||
| [2011/12/07 14:27:18] <jbaldridge> or similar | ||
| [2011/12/07 14:27:31] <hoban> jbaldridge: interesting.. | ||
| [2011/12/07 14:27:36] <Phibs> eric0: hmm I set server=blah in puppet.conf on the client and it still bitches | ||
| [2011/12/07 14:27:46] <hoban> no need for a template file then jbaldridge? | ||
| [2011/12/07 14:27:51] @ Quit: brandon_dacrib: Quit: brandon_dacrib | ||
| [2011/12/07 14:27:53] <jbaldridge> not for an inline template | ||
| [2011/12/07 14:27:56] <jbaldridge> hence the inline bit | ||
| [2011/12/07 14:28:07] <hoban> sure | ||
| [2011/12/07 14:28:15] <jbaldridge> you might also need to chomp a newline or something | ||
| [2011/12/07 14:28:15] <hoban> so hostname in your example could be any arbitrary command? | ||
| [2011/12/07 14:28:19] <jbaldridge> right | ||
| [2011/12/07 14:28:42] <eric0> Phibs: the server name you tell the client to connect to has to either be (a) the server cert's Subject or (b) the server cert's subjectAltNames attribute | ||
| [2011/12/07 14:28:44] <hoban> thanks, I'll look into that | ||
| [2011/12/07 14:28:46] <jbaldridge> I haven't actually tested this myself, but I think that would work for what you're trying to do. | ||
| [2011/12/07 14:28:50] <jbaldridge> gl | ||
| [2011/12/07 14:29:25] @ Quit: ldlework: Ping timeout: 255 seconds | ||
| [2011/12/07 14:30:58] <hoban> good to know & thanks again | ||
| [2011/12/07 14:31:27] @ Quit: leifmadsen: Ping timeout: 240 seconds | ||
| [2011/12/07 14:31:39] @ Quit: Asako: Quit: Client exiting | ||
| [2011/12/07 14:32:44] <jbaldridge> actually | ||
| [2011/12/07 14:32:54] <jbaldridge> thinking about it, that may not work | ||
| [2011/12/07 14:33:19] <jbaldridge> err... you're not using a puppetmaster, right? | ||
| [2011/12/07 14:33:28] <hoban> correct | ||
| [2011/12/07 14:33:41] <hoban> puppet apply foo.pp | ||
| [2011/12/07 14:34:11] <jbaldridge> ok, ignore my comment about it not working then | ||
| [2011/12/07 14:34:20] <hoban> what were you thinking? | ||
| [2011/12/07 14:35:17] @ Quit: Soahc: Quit: Leaving. | ||
| [2011/12/07 14:36:02] <jbaldridge> that the manifest would be evaluated on the puppetmaster, causing the value of your variable to come from the puppetmaster, not the node | ||
| [2011/12/07 14:36:23] <hoban> ah! | ||
| [2011/12/07 14:36:25] <hoban> good point | ||
| [2011/12/07 14:37:07] <hajile> is volcane around? | ||
| [2011/12/07 14:37:38] @ Quit: drewrm: Remote host closed the connection | ||
| [2011/12/07 14:40:36] @ Mike7744 joined channel #puppet | ||
| [2011/12/07 14:43:04] <chadh> Are there any known problems with puppet on fedora16? I am getting a complaint of unknown os version | ||
| [2011/12/07 14:43:39] <Jeff_S> chadh: I'm using it here ok... | ||
| [2011/12/07 14:44:15] <chadh> Jeff_S: thanks. I am not sure what my problem is | ||
| [2011/12/07 14:44:31] <limed> do you have lsb installed? heh | ||
| [2011/12/07 14:45:21] @ jab_doa joined channel #puppet | ||
| [2011/12/07 14:45:27] <Mike7744> Hi all... Is it possible to run Puppet in an 'agentless' configuration? ie. just a central instance of puppet/puppet master | ||
| [2011/12/07 14:45:57] <jforman> Mike7744: yes. puppet apply --help | ||
| [2011/12/07 14:46:33] <chadh> limed: well, I guess I didn't. But that doesn't seem to have made the problem go away. | ||
| [2011/12/07 14:47:01] <limed> that would be the only thing that i can think of that will cause it to not know the os version | ||
| [2011/12/07 14:47:46] <chadh> (Scope(Class[main])) Unknown OS version | ||
| [2011/12/07 14:49:04] @ w0f joined channel #puppet | ||
| [2011/12/07 14:49:16] @ mosen joined channel #puppet | ||
| [2011/12/07 14:49:52] <limed> what does facter operatingsystem give you? | ||
| [2011/12/07 14:50:17] @ zaphod42 joined channel #puppet | ||
| [2011/12/07 14:50:22] <chadh> Fedora | ||
| [2011/12/07 14:50:27] <nlew> chadh: That's not a message from Puppet or Facter. | ||
| [2011/12/07 14:50:36] <nlew> chadh: Check to see if you're using a module that doesn't support your platform | ||
| [2011/12/07 14:50:55] <chadh> nlew: thanks. I didn't check hard enough. Let me look around some more | ||
| [2011/12/07 14:51:00] <chadh> nlew: (wouldn't be surprised) | ||
| [2011/12/07 14:51:30] <loxo> Hello, I'm receiving an error on PE-Activemq: Failed to start ActiveMQ JMS Message Broker. Reason: java.io.IOException: | ||
| [2011/12/07 14:51:45] <loxo> i can't seem to keep activemq running | ||
| [2011/12/07 14:52:07] <loxo> there's more to the log but its a pretty long error | ||
| [2011/12/07 14:52:46] <Mike7744> jforman: k thanks | ||
| [2011/12/07 14:53:54] @ Ben_ joined channel #puppet | ||
| [2011/12/07 14:54:39] <Ben_> hello there! just a short question: has some part of MCollective feature being brought into PE2.0??? | ||
| [2011/12/07 14:54:40] <chadh> nlew, limed : that was it. thanks. typo in the error message or it would have been a little more helpful | ||
| [2011/12/07 14:54:55] @ Quit: lynxman: Quit: leaving | ||
| [2011/12/07 14:55:17] @ lynxman joined channel #puppet | ||
| [2011/12/07 14:56:55] @ jense joined channel #puppet | ||
| [2011/12/07 14:57:16] @ Quit: lynxman: Client Quit | ||
| [2011/12/07 14:57:17] @ Quit: j^2: Quit: leaving | ||
| [2011/12/07 14:58:16] @ lynxman joined channel #puppet | ||
| [2011/12/07 15:00:05] @ Quit: jab_doa: Quit: Verlassend | ||
| [2011/12/07 15:00:28] @ Quit: dfamorato: Read error: Connection reset by peer | ||
| [2011/12/07 15:00:50] @ dfamorato joined channel #puppet | ||
| [2011/12/07 15:01:47] @ nitram_macair joined channel #puppet | ||
| [2011/12/07 15:04:06] <pabelanger> anybody have a suggestion about a puppet command that takes a while to complete? EG: I'm checking to see if a pbuilder .tgz image exists, if not I run pbuilder create, however the command might take a while. | ||
| [2011/12/07 15:04:14] @ Quit: jodok: Read error: Connection reset by peer | ||
| [2011/12/07 15:04:25] <agaffney> pabelanger: you can modify the timeout for that particular Exec | ||
| [2011/12/07 15:04:39] @ Quit: dfamorato: Remote host closed the connection | ||
| [2011/12/07 15:04:42] @ jodok joined channel #puppet | ||
| [2011/12/07 15:04:43] @ Quit: jodok: Changing host | ||
| [2011/12/07 15:04:43] @ jodok joined channel #puppet | ||
| [2011/12/07 15:05:16] @ comptona joined channel #puppet | ||
| [2011/12/07 15:05:34] @ Quit: Ben_: Quit: Page closed | ||
| [2011/12/07 15:05:42] <pabelanger> agaffney: Ya, I had that though, however that would imply a static timeout value. Honestly, I'm not sure how long the command would take, since it would depend on multiple factors. internet, HDD speed. | ||
| [2011/12/07 15:05:50] <hoban> jbaldridge: I've never done anything with ruby and am experiencing some strangeness when I try the inline_template. would you mind a PM? | ||
| [2011/12/07 15:06:34] <agaffney> pabelanger: timeout => 0 | ||
| [2011/12/07 15:06:38] <agaffney> that disables the timeout | ||
| [2011/12/07 15:06:42] <agaffney> but I don't recommend that | ||
| [2011/12/07 15:06:47] * pabelanger nods | ||
| [2011/12/07 15:06:58] <pabelanger> I don't think that would be good either | ||
| [2011/12/07 15:07:15] <pabelanger> I guess I'd have to just pick some sort of max timeout | ||
| [2011/12/07 15:10:55] @ gniks joined channel #puppet | ||
| [2011/12/07 15:11:17] @ loxo left channel #puppet () | ||
| [2011/12/07 15:11:42] @ jodok_ joined channel #puppet | ||
| [2011/12/07 15:11:46] @ Quit: jodok_: Changing host | ||
| [2011/12/07 15:11:46] @ jodok_ joined channel #puppet | ||
| [2011/12/07 15:12:03] @ Quit: zaphod42: Ping timeout: 265 seconds | ||
| [2011/12/07 15:12:08] @ Quit: mosen: Ping timeout: 240 seconds | ||
| [2011/12/07 15:14:27] @ Quit: PWizard: Remote host closed the connection | ||
| [2011/12/07 15:14:30] @ Quit: comptona: Quit: Leaving. | ||
| [2011/12/07 15:14:41] @ Quit: jodok: Ping timeout: 240 seconds | ||
| [2011/12/07 15:14:41] @ PWizard joined channel #puppet | ||
| [2011/12/07 15:14:53] @ j^2 joined channel #puppet | ||
| [2011/12/07 15:16:06] @ Quit: jodok_: Ping timeout: 252 seconds | ||
| [2011/12/07 15:16:12] @ Quit: Stenbryggen: Quit: Leaving. | ||
| [2011/12/07 15:16:14] @ cwarden joined channel #puppet | ||
| [2011/12/07 15:16:56] @ mosen joined channel #puppet | ||
| [2011/12/07 15:17:46] @ Quit: Mike7744: Quit: Page closed | ||
| [2011/12/07 15:18:02] @ Quit: kangman: Remote host closed the connection | ||
| [2011/12/07 15:19:13] @ Quit: marrusl: Quit: Ex-Chat | ||
| [2011/12/07 15:20:21] @ Quit: ryancoleman: Quit: Leaving. | ||
| [2011/12/07 15:21:19] @ Quit: Wolfspyre: Quit: Leaving. | ||
| [2011/12/07 15:21:49] @ Quit: ^conner: Read error: Operation timed out | ||
| [2011/12/07 15:23:58] @ Quit: iFire`: Read error: Connection reset by peer | ||
| [2011/12/07 15:24:13] @ Quit: kaptk2: Quit: Leaving. | ||
| [2011/12/07 15:26:01] @ hoban left channel #puppet () | ||
| [2011/12/07 15:28:12] @ emergion joined channel #puppet | ||
| [2011/12/07 15:28:17] @ Quit: emergion: Remote host closed the connection | ||
| [2011/12/07 15:31:34] @ Quit: lak: Quit: Leaving. | ||
| [2011/12/07 15:32:09] @ Quit: ghg: Quit: Computer has gone to sleep. | ||
| [2011/12/07 15:32:10] @ duerF joined channel #puppet | ||
| [2011/12/07 15:32:26] @ rubic joined channel #puppet | ||
| [2011/12/07 15:34:31] @ Quit: alfism: Quit: alfism | ||
| [2011/12/07 15:34:50] @ autojack left channel #puppet () | ||
| [2011/12/07 15:35:18] @ ^conner joined channel #puppet | ||
| [2011/12/07 15:36:18] <Phibs> can't get gem install mysql to work on centos 6+CR, anyone done this ? | ||
| [2011/12/07 15:41:22] <the_ramink> Phibs: you'll need ruby and mysql devel packages in order for it to build | ||
| [2011/12/07 15:41:39] @ Quit: mosen: Ping timeout: 240 seconds | ||
| [2011/12/07 15:42:40] <Phibs> I needed other headers apparently | ||
| [2011/12/07 15:42:50] <Phibs> but thx | ||
| [2011/12/07 15:44:40] @ Quit: brtl: Quit: Leaving. | ||
| [2011/12/07 15:46:44] @ mosen joined channel #puppet | ||
| [2011/12/07 15:47:25] @ oatsport1__ joined channel #puppet | ||
| [2011/12/07 15:48:19] @ ryancoleman joined channel #puppet | ||
| [2011/12/07 15:48:41] @ Quit: msaum: Quit: Leaving. | ||
| [2011/12/07 15:49:56] @ Quit: stick_zz: Quit: ZNC - http://znc.sourceforge.net | ||
| [2011/12/07 15:50:03] <eskp> hey guys, i just started using puppetlabs-firewall module, a bit confused about where i should define the rules? | ||
| [2011/12/07 15:50:28] @ Quit: sduchesneau: Remote host closed the connection | ||
| [2011/12/07 15:50:34] @ stick joined channel #puppet | ||
| [2011/12/07 15:50:39] <eskp> in a separate class something like internal-firewall, nodes.pp, or somewhere else? | ||
| [2011/12/07 15:50:47] @ Quit: oatsport1_: Ping timeout: 258 seconds | ||
| [2011/12/07 15:50:48] @ Quit: steven43126: Ping timeout: 258 seconds | ||
| [2011/12/07 15:51:07] @ msaum joined channel #puppet | ||
| [2011/12/07 15:51:33] @ steven43126 joined channel #puppet | ||
| [2011/12/07 15:51:33] @ Quit: chetan-: Ping timeout: 258 seconds | ||
| [2011/12/07 15:52:02] @ chetan- joined channel #puppet | ||
| [2011/12/07 15:52:07] <eskp> maybe all the common rules in a class and exceptions in node.pp with the node? | ||
| [2011/12/07 15:54:01] @ Quit: spiette: Ping timeout: 268 seconds | ||
| [2011/12/07 16:00:03] <jense> I try to bootstrap a fresh machine. while using --noop first, all augeas calls throw errors because of missing files. (because of --noop prevent package installation) | ||
| [2011/12/07 16:00:57] <jense> is there a way to prevent these errors or better just ignore them and do the actual run? :) | ||
| [2011/12/07 16:01:51] @ Quit: DJClean: Read error: Operation timed out | ||
| [2011/12/07 16:01:55] @ Quit: neonflux: Quit: Leaving. | ||
| [2011/12/07 16:03:18] @ danblack joined channel #puppet | ||
| [2011/12/07 16:03:43] @ Quit: j^2: Remote host closed the connection | ||
| [2011/12/07 16:05:03] @ Quit: nadavoid: Remote host closed the connection | ||
| [2011/12/07 16:06:05] <rodjek> jense: Augeas { require => [<array of resource they're all depending on], } | ||
| [2011/12/07 16:06:24] @ Quit: social: Read error: Operation timed out | ||
| [2011/12/07 16:07:32] <rodjek> alternatively, what i do is install augeas as part of my bootstrap process | ||
| [2011/12/07 16:07:38] <rodjek> at the same time it's installing puppet | ||
| [2011/12/07 16:08:30] <jense> rodjek: I already have a require, this is how myaugeas call looks like: http://pastie.org/2983368 | ||
| [2011/12/07 16:09:12] <rodjek> so it's erroring that php.ini is missing? | ||
| [2011/12/07 16:09:17] <jense> running with --noop I get: "err: /Stage[main]/Php/Augeas[php.cli.ini]: Could not evaluate: Save failed with return code false" | ||
| [2011/12/07 16:09:27] @ Quit: kubicek: Excess Flood | ||
| [2011/12/07 16:09:32] @ kubicek joined channel #puppet | ||
| [2011/12/07 16:09:33] @ Quit: kubicek: Excess Flood | ||
| [2011/12/07 16:09:53] <rodjek> does that package actually create /etc/php/cli-php5.3/php.ini? | ||
| [2011/12/07 16:10:01] <rodjek> or is there a cli-php package that does? | ||
| [2011/12/07 16:10:02] @ Quit: zwi: Quit: Leaving. | ||
| [2011/12/07 16:10:03] <jense> yeah, because its a fresh os install and with --noop no packages are being installed | ||
| [2011/12/07 16:10:18] @ Wolfspyre joined channel #puppet | ||
| [2011/12/07 16:10:29] <rodjek> oh, yeah, you can't get around that | ||
| [2011/12/07 16:10:31] <jense> if I would install php manually before, then no puppet error would occour | ||
| [2011/12/07 16:10:40] <rodjek> it's trying to fetch the state of the resources | ||
| [2011/12/07 16:10:41] @ kubicek joined channel #puppet | ||
| [2011/12/07 16:10:41] <jense> oh :/ | ||
| [2011/12/07 16:10:52] @ social joined channel #puppet | ||
| [2011/12/07 16:11:09] <rodjek> so it's trying to read the file and see what changes it should have made assuming php was installed | ||
| [2011/12/07 16:12:11] <rodjek> if you really want to get rid of the errors, i'd create a custom type that confines to the existence of php.ini | ||
| [2011/12/07 16:12:29] <rodjek> probably not worth the effort | ||
| [2011/12/07 16:13:00] @ Quit: seanh-ansca: Quit: Leaving. | ||
| [2011/12/07 16:13:08] <jense> hmm, that would be my first custom type. I probably will live with these (bootstrap) errors | ||
| [2011/12/07 16:13:27] <jense> thanks a lot for your thoughts, rodjek | ||
| [2011/12/07 16:13:47] @ comptona joined channel #puppet | ||
| [2011/12/07 16:14:33] @ seanh-ansca joined channel #puppet | ||
| [2011/12/07 16:14:44] @ comptona is now known as comptona[puppet] | ||
| [2011/12/07 16:14:53] <rodjek> jense: no worries | ||
| [2011/12/07 16:17:00] @ rideh joined channel #puppet | ||
| [2011/12/07 16:17:44] @ Quit: ali3n0: Quit: Leaving. | ||
| [2011/12/07 16:20:01] @ Kazuhiro joined channel #puppet | ||
| [2011/12/07 16:24:51] @ Quit: social: Ping timeout: 268 seconds | ||
| [2011/12/07 16:25:59] @ Quit: nul0op: Quit: Leaving | ||
| [2011/12/07 16:26:18] @ social joined channel #puppet | ||
| [2011/12/07 16:30:49] @ labrown joined channel #puppet | ||
| [2011/12/07 16:34:29] @ Quit: saysjonathan: Ping timeout: 244 seconds | ||
| [2011/12/07 16:35:15] @ Quit: kermit: Quit: Leaving. | ||
| [2011/12/07 16:35:29] @ kermit joined channel #puppet | ||
| [2011/12/07 16:39:46] @ Quit: dan__t: Ping timeout: 244 seconds | ||
| [2011/12/07 16:40:23] @ _flex joined channel #puppet | ||
| [2011/12/07 16:41:16] @ Quit: benjiedmund: Ping timeout: 240 seconds | ||
| [2011/12/07 16:43:33] @ Quit: luckman212: Read error: Connection reset by peer | ||
| [2011/12/07 16:44:11] @ e1mer joined channel #puppet | ||
| [2011/12/07 16:47:31] @ Quit: zleslie: Changing host | ||
| [2011/12/07 16:47:31] @ zleslie joined channel #puppet | ||
| [2011/12/07 16:48:54] @ kolla_ joined channel #puppet | ||
| [2011/12/07 16:51:05] @ Quit: althara: Ping timeout: 240 seconds | ||
| [2011/12/07 16:57:26] @ paravoid joined channel #puppet | ||
| [2011/12/07 17:00:20] <^conner> should the user type have an implicit dependancy on the gid? | ||
| [2011/12/07 17:02:08] <paravoid> is there a way of telling puppet to purge unmanaged group memberships (useradd/groupadd provider) | ||
| [2011/12/07 17:02:26] @ astrostl joined channel #puppet | ||
| [2011/12/07 17:02:34] <^conner> paravoid, no, they have to be declared with ensure => absent | ||
| [2011/12/07 17:02:53] <paravoid> as in, user { 'foo': groups => ['wheel'] }, user { 'bar': groups => ['wheel'] } and then removing all other members of wheel besides foo/bar | ||
| [2011/12/07 17:02:57] <^conner> paravoid, in general, puppet won't touch anything that hasn't been delcared | ||
| [2011/12/07 17:02:58] @ Quit: the_ramink: Quit: leaving | ||
| [2011/12/07 17:03:25] <paravoid> ^conner: file { } has purge => true, and there's also resource { } | ||
| [2011/12/07 17:03:40] <^conner> paravoid, 'in general' | ||
| [2011/12/07 17:05:41] <^conner> paravoid, your not trying to purge groups, your trying to purge users from a group... I think you'll have to resort to augeas | ||
| [2011/12/07 17:06:24] <paravoid> handling /etc/group with augeas? that sounds like a terrible idea. | ||
| [2011/12/07 17:06:48] <^conner> it's better than file {} | ||
| [2011/12/07 17:06:49] <paravoid> (let alone that you can't pick things up from multiple classes without tricks like concatfiles) | ||
| [2011/12/07 17:07:17] @ leifmadsen joined channel #puppet | ||
| [2011/12/07 17:07:26] <paravoid> oh no, I wasn't suggesting doing this with file { }, I was merely replying to your "puppet doesn't purge unmanaged resources" claim :) | ||
| [2011/12/07 17:08:49] <^conner> paravoid, in general, it doesn't. you have to declare a file type to have it recursivly purge. resources {} is a special case but I don't think it helps you. | ||
| [2011/12/07 17:09:12] <paravoid> no it doesn't ;) | ||
| [2011/12/07 17:10:27] <paravoid> gah, I guess I can always use libnss-extrausers and file { } resources... | ||
| [2011/12/07 17:11:31] <^conner> I don't think that will be enough | ||
| [2011/12/07 17:11:48] <^conner> users can have the gid as their primary and not be declared in /etc/group | ||
| [2011/12/07 17:11:58] @ Quit: highclasshole: Ping timeout: 252 seconds | ||
| [2011/12/07 17:12:23] @ ben_duyujie joined channel #puppet | ||
| [2011/12/07 17:13:29] <^conner> paravoid, I guess if you purge all accounts you haven't declared, that would fix /etc/group too | ||
| [2011/12/07 17:13:50] <^conner> paravoid, rather, purge all users and groups you haven't declared | ||
| [2011/12/07 17:13:51] @ Quit: zanefactory: Quit: zanefactory | ||
| [2011/12/07 17:14:49] <^conner> paravoid, meh, no, that still won't work completely. I think the group type needs to be patched | ||
| [2011/12/07 17:16:14] <^conner> paravoid, needs something like purge_unmanaged | ||
| [2011/12/07 17:19:39] @ saysjonathan joined channel #puppet | ||
| [2011/12/07 17:20:36] @ Quit: social: Ping timeout: 252 seconds | ||
| [2011/12/07 17:21:00] @ social joined channel #puppet | ||
| [2011/12/07 17:21:23] @ msaum1 joined channel #puppet | ||
| [2011/12/07 17:21:52] @ Quit: msaum: Read error: Connection reset by peer | ||
| [2011/12/07 17:23:56] @ Quit: saysjonathan: Ping timeout: 240 seconds | ||
| [2011/12/07 17:25:21] @ saysjonathan joined channel #puppet | ||
| [2011/12/07 17:25:29] @ Quit: newtMcKerr: Quit: Leaving. | ||
| [2011/12/07 17:25:37] @ alanevans joined channel #puppet | ||
| [2011/12/07 17:26:31] @ Quit: labrown: Ping timeout: 268 seconds | ||
| [2011/12/07 17:28:23] @ Quit: comptona[puppet]: Quit: Leaving. | ||
| [2011/12/07 17:29:46] @ Quit: saysjonathan: Ping timeout: 244 seconds | ||
| [2011/12/07 17:32:07] @ Quit: msaum1: Ping timeout: 240 seconds | ||
| [2011/12/07 17:33:59] @ labrown joined channel #puppet | ||
| [2011/12/07 17:35:13] @ Quit: williemach: Quit: Leaving. | ||
| [2011/12/07 17:39:46] @ Quit: wilmoore: Remote host closed the connection | ||
| [2011/12/07 17:44:38] @ msaum joined channel #puppet | ||
| [2011/12/07 17:47:01] @ sdog joined channel #puppet | ||
| [2011/12/07 17:47:36] @ Quit: sdog: Changing host | ||
| [2011/12/07 17:47:36] @ sdog joined channel #puppet | ||
| [2011/12/07 17:47:37] @ Quit: sdog: Changing host | ||
| [2011/12/07 17:47:37] @ sdog joined channel #puppet | ||
| [2011/12/07 17:48:47] @ Quit: msaum: Ping timeout: 240 seconds | ||
| [2011/12/07 17:49:38] @ ldlework joined channel #puppet | ||
| [2011/12/07 17:51:49] @ Quit: riftman: Quit: leaving | ||
| [2011/12/07 17:53:21] @ Quit: metcalfc: Ping timeout: 252 seconds | ||
| [2011/12/07 17:53:29] @ gaveen joined channel #puppet | ||
| [2011/12/07 17:53:40] @ msaum joined channel #puppet | ||
| [2011/12/07 17:54:03] @ Quit: e1mer: Ping timeout: 244 seconds | ||
| [2011/12/07 17:54:15] @ comptona joined channel #puppet | ||
| [2011/12/07 17:57:10] @ Quit: dwalu: Quit: dwalu | ||
| [2011/12/07 17:57:11] @ Quit: pcarlisle: Quit: Computer has gone to sleep. | ||
| [2011/12/07 17:58:10] @ Quit: mosen: Quit: Leaving | ||
| [2011/12/07 18:01:34] @ Quit: juggernaut: Quit: Leaving. | ||
| [2011/12/07 18:01:58] @ xizhendu joined channel #puppet | ||
| [2011/12/07 18:02:07] @ Quit: cwarden: Ping timeout: 240 seconds | ||
| [2011/12/07 18:02:29] @ Quit: ryancoleman: Read error: Connection reset by peer | ||
| [2011/12/07 18:02:48] @ ryancoleman joined channel #puppet | ||
| [2011/12/07 18:03:35] @ dgillies joined channel #puppet | ||
| [2011/12/07 18:03:36] @ Quit: dgillies: Client Quit | ||
| [2011/12/07 18:06:32] @ Quit: maxmartin: Quit: Computer has gone to sleep. | ||
| [2011/12/07 18:08:09] @ nitram_macair left channel #puppet () | ||
| [2011/12/07 18:12:37] @ Quit: seanh-ansca: Ping timeout: 255 seconds | ||
| [2011/12/07 18:14:28] @ Quit: kenperkins: Quit: Computer has gone to sleep. | ||
| [2011/12/07 18:14:55] @ dbgster joined channel #puppet | ||
| [2011/12/07 18:16:11] @ MarkN1 joined channel #puppet | ||
| [2011/12/07 18:17:01] @ Vulcan[OMNI] joined channel #puppet | ||
| [2011/12/07 18:17:30] @ Quit: comptona: Quit: Leaving. | ||
| [2011/12/07 18:18:32] @ newtMcKerr joined channel #puppet | ||
| [2011/12/07 18:19:29] @ Quit: newtMcKerr: Client Quit | ||
| [2011/12/07 18:21:49] @ bonhoffer joined channel #puppet | ||
| [2011/12/07 18:22:06] <bonhoffer> if i have a vagrant server working well, can i easily get it to a linode | ||
| [2011/12/07 18:22:09] <gepetto> ::redmine:: Wiki edit: Release_Notes (#151) @ http://projects.puppetlabs.com/projects/puppet/wiki/Release_Notes?version=151 (by Nick Fagerlund) | ||
| [2011/12/07 18:23:39] @ Quit: ccaum: Quit: ccaum | ||
| [2011/12/07 18:26:27] @ Quit: hobbeswalsh: Quit: hobbeswalsh | ||
| [2011/12/07 18:27:56] @ Quit: miche: Quit: Computer has gone to sleep. | ||
| [2011/12/07 18:31:55] @ Quit: l0n: | ||
| [2011/12/07 18:32:36] @ Quit: nfagerlund: Remote host closed the connection | ||
| [2011/12/07 18:33:05] @ Quit: labrown: Ping timeout: 240 seconds | ||
| [2011/12/07 18:33:19] @ Quit: sdog: Ping timeout: 244 seconds | ||
| [2011/12/07 18:35:01] @ labrown joined channel #puppet | ||
| [2011/12/07 18:35:25] @ neonflux joined channel #puppet | ||
| [2011/12/07 18:36:40] @ jroid joined channel #puppet | ||
| [2011/12/07 18:37:23] @ MarkN1 left channel #puppet () | ||
| [2011/12/07 18:39:50] @ sdog joined channel #puppet | ||
| [2011/12/07 18:40:40] <bonhoffer> so is there an active puppet community? | ||
| [2011/12/07 18:42:47] @ Quit: langworthy: Quit: langworthy | ||
| [2011/12/07 18:44:44] <jforman> i'm trying to populate the authorized_keys of a user, but it seems whenever puppet restarts, or grabs the updated catalog from the puppetmaster, its appending the same key to the authorized_keys file, over and over again. am i missing something here? | ||
| [2011/12/07 18:45:07] @ gniks1 joined channel #puppet | ||
| [2011/12/07 18:46:45] @ Quit: gniks: Ping timeout: 244 seconds | ||
| [2011/12/07 18:48:22] <Callek> jforman: I've never used that resource yet, but been meaning to, can you pastebin your code for that (if you don't mind) and I'll run it on my VM and try to figure it out | ||
| [2011/12/07 18:48:31] <jforman> surely | ||
| [2011/12/07 18:48:51] <Callek> I don't mind using your public key you are trying, just ftr :-) | ||
| [2011/12/07 18:49:01] <jforman> heh understood | ||
| [2011/12/07 18:49:38] <jforman> http://dpaste.com/668083/ | ||
| [2011/12/07 18:50:04] <jforman> the user is created, every iteration of the agent hitting the master, the key is recopied into the authorized_keys file | ||
| [2011/12/07 18:50:06] @ Quit: exceion_: Read error: Connection reset by peer | ||
| [2011/12/07 18:50:16] @ exceion joined channel #puppet | ||
| [2011/12/07 18:50:30] @ Quit: ghanima: Quit: Leaving. | ||
| [2011/12/07 18:50:36] <jforman> master and agent are on the same host, running 2.7.1 to complete the loop | ||
| [2011/12/07 18:51:15] @ digr1 joined channel #puppet | ||
| [2011/12/07 18:52:41] <Callek> jforman: for the record I do get; |Parameter key failed: Key must not contain whitespace:| | ||
| [2011/12/07 18:52:49] * Callek goes and grabs a key he has | ||
| [2011/12/07 18:52:50] @ Quit: choonming: Quit: Leaving | ||
| [2011/12/07 18:53:22] @ daysmen joined channel #puppet | ||
| [2011/12/07 18:53:35] @ digr11 joined channel #puppet | ||
| [2011/12/07 18:54:30] @ Quit: exceion: Ping timeout: 244 seconds | ||
| [2011/12/07 18:55:43] <Callek> jforman: ok, looks like what you want is: http://dpaste.com/668085/ | ||
| [2011/12/07 18:56:44] <jforman> difference being the name of the key, testuser_key -> jforman@merlot ? | ||
| [2011/12/07 18:56:47] @ Quit: digr1: Ping timeout: 240 seconds | ||
| [2011/12/07 18:56:49] <Callek> I'm getting no duplication this way (I wasn't able to reproduce that problem) but putting the user email there appends it to the authorized key thing like it seems you intended | ||
| [2011/12/07 18:57:04] @ seanh-ansca joined channel #puppet | ||
| [2011/12/07 18:57:07] <jforman> heh yeah, its the appending that i DONT want. i end up with 4 lines of the same key | ||
| [2011/12/07 18:57:10] <Callek> as I said, you had a space there in the key which was causing it to fail | ||
| [2011/12/07 18:57:22] <Callek> yea I re-ran it a few times, and only have the one key added | ||
| [2011/12/07 18:57:27] <jforman> weird. /me retests | ||
| [2011/12/07 18:57:50] <Callek> (failed at least in my version of puppet 2.7.6 | ||
| [2011/12/07 18:58:04] <Callek> I tested with |puppet apply| as well, incase that matters | ||
| [2011/12/07 18:58:30] <jforman> definitely still repeating the key in my case. sigh. i will need to dig into what is going on | ||
| [2011/12/07 18:59:00] <Callek> what version of puppet? | ||
| [2011/12/07 18:59:04] <jforman> 2.7.1 | ||
| [2011/12/07 18:59:10] <jforman> standard ubuntu 11.10 install | ||
| [2011/12/07 18:59:46] <jforman> ah, bingo! http://www.mail-archive.com/puppet-users@googlegroups.com/msg11385.html | ||
| [2011/12/07 19:00:31] @ Quit: sumsuch: Quit: sumsuch | ||
| [2011/12/07 19:02:26] <jforman> Callek: wow, that was obscure. as that link states, simply put the key in there, NOT the user@host from the end of it. | ||
| [2011/12/07 19:02:57] <Callek> jforman: yea, in 2.7.6 at least, the user@host part errors | ||
| [2011/12/07 19:03:13] <Callek> which is what I had to fixup on my end for your example | ||
| [2011/12/07 19:03:35] <jforman> sounds like they added an error in the few revisions between yours and mine. cheers, thanks for the help | ||
| [2011/12/07 19:03:46] <Callek> no problem, glad I could be of help | ||
| [2011/12/07 19:06:53] @ skullone joined channel #puppet | ||
| [2011/12/07 19:07:35] <skullone> anyone seen a case where only 1 node gets an error from the puppet file server about not finding file_metadata, yet all other nodes work fine? | ||
| [2011/12/07 19:07:46] <skullone> puppetmaster log: info: Could not find file_metadata for 'modules/base/el6-login.defs' | ||
| [2011/12/07 19:08:10] <skullone> and the puppet client states it couldnt retrieve the file from the source | ||
| [2011/12/07 19:08:36] @ exceion joined channel #puppet | ||
| [2011/12/07 19:08:37] @ highclasshole joined channel #puppet | ||
| [2011/12/07 19:08:40] <skullone> but other nodes work perfect | ||
| [2011/12/07 19:08:55] @ Quit: blast_hardcheese: Quit: ZNC - http://znc.sourceforge.net | ||
| [2011/12/07 19:08:57] <bonhoffer> does puppet make life easier or harder for a one server application? | ||
| [2011/12/07 19:10:01] @ blast_hardcheese joined channel #puppet | ||
| [2011/12/07 19:10:13] <bonhoffer> is it worth it? | ||
| [2011/12/07 19:10:23] <tobert> long-term, probably | ||
| [2011/12/07 19:10:43] @ Quit: sdog: Ping timeout: 252 seconds | ||
| [2011/12/07 19:10:46] <tobert> in the weeks to a couple months range, it'll feel like extra work | ||
| [2011/12/07 19:14:02] <bonhoffer> good to know -- i want a new server up by tomorrow -- prob a bad idea | ||
| [2011/12/07 19:15:14] @ Quit: lilmatt: Quit: lilmatt | ||
| [2011/12/07 19:17:28] @ Quit: seanh-ansca: Quit: Leaving. | ||
| [2011/12/07 19:19:53] <tobert> bonhoffer: unless you're already good at puppet, yeah | ||
| [2011/12/07 19:20:11] @ lak joined channel #puppet | ||
| [2011/12/07 19:20:12] @ Quit: lak: Changing host | ||
| [2011/12/07 19:20:12] @ lak joined channel #puppet | ||
| [2011/12/07 19:20:14] <bonhoffer> got it -- thanks! | ||
| [2011/12/07 19:20:27] <bonhoffer> don't really see the benefit unless you are using multiple servers | ||
| [2011/12/07 19:22:34] @ lak1 joined channel #puppet | ||
| [2011/12/07 19:22:54] @ Quit: danikov: Read error: Connection timed out | ||
| [2011/12/07 19:24:06] @ Quit: lak: Read error: Connection reset by peer | ||
| [2011/12/07 19:25:03] @ langworthy joined channel #puppet | ||
| [2011/12/07 19:25:05] @ Quit: highclasshole: Ping timeout: 240 seconds | ||
| [2011/12/07 19:25:23] @ keibaker joined channel #puppet | ||
| [2011/12/07 19:25:38] <nevyn> bonhoffer: is there such a thing as a 1 server business? | ||
| [2011/12/07 19:25:59] <bonhoffer> dunno | ||
| [2011/12/07 19:26:29] <keibaker> If I subscribe a service to an entire Class what does that mean? does it mean if any resource within the class changes the service will be notified? | ||
| [2011/12/07 19:27:07] @ Quit: labrown: Ping timeout: 240 seconds | ||
| [2011/12/07 19:27:59] @ druonysus joined channel #puppet | ||
| [2011/12/07 19:30:25] @ Quit: mrwacky42: Read error: Operation timed out | ||
| [2011/12/07 19:32:27] <druonysus> I am trying to set up puppet 0.25.4 on ubuntu 10.04 LTS. I am trying to follow the documentation but puppetca doesnt seem to be on my system... is there another package I need? | ||
| [2011/12/07 19:33:29] <druonysus> ? | ||
| [2011/12/07 19:34:16] <stew> druonysus: puppetmaster | ||
| [2011/12/07 19:35:11] @ choonming joined channel #puppet | ||
| [2011/12/07 19:36:00] <druonysus> stew: okay, thanks... I must have misunderstood what the documentation ment. :) | ||
| [2011/12/07 19:36:14] <checkers> is there a builtin puppet type called "config"? | ||
| [2011/12/07 19:36:34] @ Quit: gaveen: Remote host closed the connection | ||
| [2011/12/07 19:36:43] <checkers> I have some postfix module of dubious origin that allows per-line main.cf editing which in the end uses a "config" type where I would expect file | ||
| [2011/12/07 19:42:52] @ Quit: gniks1: Quit: Leaving. | ||
| [2011/12/07 19:45:28] <nevyn> postfix provides postconf which changes main.cf and enforces sanity and stuff | ||
| [2011/12/07 19:49:43] @ KaiserBeto1 joined channel #puppet | ||
| [2011/12/07 19:49:47] @ highclasshole joined channel #puppet | ||
| [2011/12/07 19:51:05] <keibaker> ok, yes it does, played around enough to answer that one... seems it even works it you put a subscribe on the service itself too | ||
| [2011/12/07 19:51:06] <keibaker> cool | ||
| [2011/12/07 19:51:11] @ Quit: keibaker: Quit: Page closed | ||
| [2011/12/07 19:51:51] @ Quit: Callek: Ping timeout: 244 seconds | ||
| [2011/12/07 19:53:27] @ Quit: ryancoleman: Ping timeout: 252 seconds | ||
| [2011/12/07 19:53:38] @ ryancoleman joined channel #puppet | ||
| [2011/12/07 19:55:05] @ dissipate_ joined channel #puppet | ||
| [2011/12/07 19:56:24] @ Quit: motomike: Quit: Leaving. | ||
| [2011/12/07 19:57:16] @ Quit: druonysus: Read error: Operation timed out | ||
| [2011/12/07 19:58:46] @ Quit: highclasshole: Ping timeout: 248 seconds | ||
| [2011/12/07 19:59:54] @ sumsuch joined channel #puppet | ||
| [2011/12/07 20:00:03] @ Callek joined channel #puppet | ||
| [2011/12/07 20:01:08] @ Quit: tilgovi: Read error: Connection reset by peer | ||
| [2011/12/07 20:06:38] @ newtMcKerr joined channel #puppet | ||
| [2011/12/07 20:07:55] @ highclasshole joined channel #puppet | ||
| [2011/12/07 20:08:30] @ Quit: dbgster: Quit: dbgster | ||
| [2011/12/07 20:09:17] @ mosen joined channel #puppet | ||
| [2011/12/07 20:09:52] @ ccaum joined channel #puppet | ||
| [2011/12/07 20:11:14] @ Quit: skm: Quit: Leaving... | ||
| [2011/12/07 20:12:46] @ bobra joined channel #puppet | ||
| [2011/12/07 20:12:47] @ Quit: emsearcy: Quit: Changing server | ||
| [2011/12/07 20:14:22] @ Quit: ryancoleman: Quit: Leaving. | ||
| [2011/12/07 20:15:18] @ Quit: sumsuch: Quit: sumsuch | ||
| [2011/12/07 20:15:54] @ kenperkins joined channel #puppet | ||
| [2011/12/07 20:16:33] @ Quit: ccaum: Quit: ccaum | ||
| [2011/12/07 20:16:33] @ seanh-ansca joined channel #puppet | ||
| [2011/12/07 20:17:45] @ AshishH joined channel #puppet | ||
| [2011/12/07 20:21:07] <checkers> to answer my own question: the config type is from the ancestor of our postfix module by example42 | ||
| [2011/12/07 20:23:01] @ Quit: bonhoffer: Quit: bonhoffer | ||
| [2011/12/07 20:23:32] @ nadavoid joined channel #puppet | ||
| [2011/12/07 20:24:21] @ gaveen joined channel #puppet | ||
| [2011/12/07 20:25:32] @ ocherno joined channel #puppet | ||
| [2011/12/07 20:30:29] @ Quit: seanh-ansca: Quit: Leaving. | ||
| [2011/12/07 20:31:58] <Callek> anyone who normally reviews code changes (pull requests) or otherwise works for puppetlabs around atm? | ||
| [2011/12/07 20:32:22] <Callek> errr rather I suppose we can get a bug on file for what I am thinking (later) | ||
| [2011/12/07 20:33:01] @ Quit: rideh: Quit: rideh | ||
| [2011/12/07 20:35:03] @ dwalu joined channel #puppet | ||
| [2011/12/07 20:36:16] @ Quit: dissipate_: Ping timeout: 240 seconds | ||
| [2011/12/07 20:40:27] @ Quit: KaiserBeto1: Ping timeout: 240 seconds | ||
| [2011/12/07 20:42:27] @ Quit: jroid: Ping timeout: 252 seconds | ||
| [2011/12/07 20:45:11] @ labrown joined channel #puppet | ||
| [2011/12/07 20:46:09] @ Quit: dwalu: Quit: dwalu | ||
| [2011/12/07 20:50:31] @ hobbeswalsh joined channel #puppet | ||
| [2011/12/07 20:51:37] @ MarkN1 joined channel #puppet | ||
| [2011/12/07 20:52:41] @ johnbatch joined channel #puppet | ||
| [2011/12/07 20:56:03] @ KaiserBeto1 joined channel #puppet | ||
| [2011/12/07 20:59:09] @ ryancoleman joined channel #puppet | ||
| [2011/12/07 20:59:41] @ Wolfspyre1 joined channel #puppet | ||
| [2011/12/07 21:00:14] @ Quit: Wolfspyre1: Client Quit | ||
| [2011/12/07 21:00:28] @ Wolfspyre1 joined channel #puppet | ||
| [2011/12/07 21:00:55] @ dwalu joined channel #puppet | ||
| [2011/12/07 21:01:02] @ Quit: KaiserBeto1: Read error: Connection reset by peer | ||
| [2011/12/07 21:01:42] @ Quit: johnbatch: Quit: Leaving. | ||
| [2011/12/07 21:02:40] @ Quit: bmahe: Quit: Leaving | ||
| [2011/12/07 21:02:40] <checkers> how do I find what provider puppet has found for the service type on my platform? | ||
| [2011/12/07 21:03:02] <checkers> I'm on ubuntu, and want to ensure it's found the upstart script for rsyslog, so that refreshes do a reload not restart | ||
| [2011/12/07 21:03:07] <ptman> --verbose ? | ||
| [2011/12/07 21:03:12] <ptman> or was it --debug | ||
| [2011/12/07 21:03:47] @ Quit: ldlework: Ping timeout: 240 seconds | ||
| [2011/12/07 21:03:47] <ptman> anyone, one of those makes it spew out messages about looking for service types and finding some | ||
| [2011/12/07 21:03:57] <ptman> bah, anyway | ||
| [2011/12/07 21:04:37] <checkers> i'll try both :) | ||
| [2011/12/07 21:05:19] <ptman> and you should be able to read the value of the service parameter as well | ||
| [2011/12/07 21:06:14] <ptman> argh, provider parameter | ||
| [2011/12/07 21:06:40] <ptman> clearly I should not be doing anything technical just after waking up | ||
| [2011/12/07 21:08:58] @ Wolfspyre1 left channel #puppet () | ||
| [2011/12/07 21:10:10] @ EddieTheJedi joined channel #puppet | ||
| [2011/12/07 21:11:35] @ drew_rm joined channel #puppet | ||
| [2011/12/07 21:22:21] @ ccaum joined channel #puppet | ||
| [2011/12/07 21:25:12] @ Quit: rcrowley: Quit: Computer has gone to sleep. | ||
| [2011/12/07 21:25:45] @ Quit: ccaum: Client Quit | ||
| [2011/12/07 21:27:59] @ Quit: langworthy: Quit: langworthy | ||
| [2011/12/07 21:31:28] @ rcrowley joined channel #puppet | ||
| [2011/12/07 21:32:02] @ Quit: CosmicRay: Read error: Operation timed out | ||
| [2011/12/07 21:32:15] @ Quit: devicenull: Read error: Operation timed out | ||
| [2011/12/07 21:32:37] @ Quit: apollo13: Ping timeout: 252 seconds | ||
| [2011/12/07 21:32:43] @ johnbatch joined channel #puppet | ||
| [2011/12/07 21:32:50] @ Quit: magicaltrout: Read error: Operation timed out | ||
| [2011/12/07 21:33:07] @ Quit: rcrowley: Client Quit | ||
| [2011/12/07 21:33:22] @ MarkN1 left channel #puppet () | ||
| [2011/12/07 21:33:27] @ Quit: labrown: Ping timeout: 240 seconds | ||
| [2011/12/07 21:33:36] @ Quit: schimmi: Ping timeout: 248 seconds | ||
| [2011/12/07 21:33:36] @ Quit: Will|: Ping timeout: 252 seconds | ||
| [2011/12/07 21:34:08] @ Quit: Dyresen: Ping timeout: 248 seconds | ||
| [2011/12/07 21:34:09] @ Quit: daff: Ping timeout: 252 seconds | ||
| [2011/12/07 21:34:09] @ Quit: jasiek: Ping timeout: 252 seconds | ||
| [2011/12/07 21:34:40] @ Quit: zorzar: Ping timeout: 248 seconds | ||
| [2011/12/07 21:34:40] @ Quit: Bardack: Ping timeout: 248 seconds | ||
| [2011/12/07 21:34:42] @ Quit: octe: Ping timeout: 248 seconds | ||
| [2011/12/07 21:34:42] @ Quit: Guest52670: Ping timeout: 248 seconds | ||
| [2011/12/07 21:34:42] @ Quit: nico: Ping timeout: 252 seconds | ||
| [2011/12/07 21:34:44] @ Quit: CoolCold: Ping timeout: 252 seconds | ||
| [2011/12/07 21:34:45] @ Quit: wereHamster: Ping timeout: 252 seconds | ||
| [2011/12/07 21:34:46] @ Quit: Treibholz: Ping timeout: 252 seconds | ||
| [2011/12/07 21:34:51] @ Quit: patcon: Ping timeout: 240 seconds | ||
| [2011/12/07 21:34:52] @ Quit: leepa: Ping timeout: 240 seconds | ||
| [2011/12/07 21:34:53] @ Quit: kesor: Ping timeout: 244 seconds | ||
| [2011/12/07 21:34:54] @ Quit: fpletz: Ping timeout: 252 seconds | ||
| [2011/12/07 21:35:07] @ Quit: lusis: Ping timeout: 255 seconds | ||
| [2011/12/07 21:35:12] @ Quit: WALoeIII: Ping timeout: 248 seconds | ||
| [2011/12/07 21:35:12] @ Quit: arnihermann: Ping timeout: 248 seconds | ||
| [2011/12/07 21:35:13] @ Quit: cparedes: Ping timeout: 248 seconds | ||
| [2011/12/07 21:35:14] @ Quit: EddieTheJedi: | ||
| [2011/12/07 21:35:14] @ Stenbryggen joined channel #puppet | ||
| [2011/12/07 21:35:15] @ Quit: tswicegood: Ping timeout: 252 seconds | ||
| [2011/12/07 21:35:18] @ Quit: Espen-_o: Ping timeout: 244 seconds | ||
| [2011/12/07 21:35:20] @ Quit: ocherno: Quit: Leaving | ||
| [2011/12/07 21:35:33] @ Quit: rutger_: Ping timeout: 252 seconds | ||
| [2011/12/07 21:36:16] @ Quit: codec: Ping timeout: 268 seconds | ||
| [2011/12/07 21:36:26] @ Quit: trulsa: Ping timeout: 259 seconds | ||
| [2011/12/07 21:36:26] @ EddieTheJedi joined channel #puppet | ||
| [2011/12/07 21:36:34] @ fpletz joined channel #puppet | ||
| [2011/12/07 21:36:41] @ Quit: |Mike|: Read error: Operation timed out | ||
| [2011/12/07 21:36:43] @ daff joined channel #puppet | ||
| [2011/12/07 21:36:45] @ CosmicRay joined channel #puppet | ||
| [2011/12/07 21:37:03] @ magicaltrout joined channel #puppet | ||
| [2011/12/07 21:37:17] @ daff_ joined channel #puppet | ||
| [2011/12/07 21:37:31] @ rcrowley joined channel #puppet | ||
| [2011/12/07 21:37:41] @ octe joined channel #puppet | ||
| [2011/12/07 21:37:50] @ ccaum joined channel #puppet | ||
| [2011/12/07 21:38:22] @ davey79 joined channel #puppet | ||
| [2011/12/07 21:38:34] @ schimmi joined channel #puppet | ||
| [2011/12/07 21:38:40] @ jasiek joined channel #puppet | ||
| [2011/12/07 21:38:50] @ lusis joined channel #puppet | ||
| [2011/12/07 21:39:13] @ apollo13 joined channel #puppet | ||
| [2011/12/07 21:39:33] @ |Mike| joined channel #puppet | ||
| [2011/12/07 21:39:41] @ devicenull joined channel #puppet | ||
| [2011/12/07 21:41:33] @ CoolCold joined channel #puppet | ||
| [2011/12/07 21:41:36] @ codec joined channel #puppet | ||
| [2011/12/07 21:41:49] @ nico joined channel #puppet | ||
| [2011/12/07 21:42:15] @ wereHamster joined channel #puppet | ||
| [2011/12/07 21:42:19] @ Treibholz joined channel #puppet | ||
| [2011/12/07 21:42:20] @ Will| joined channel #puppet | ||
| [2011/12/07 21:42:24] @ trulsa joined channel #puppet | ||
| [2011/12/07 21:42:39] @ Dyresen joined channel #puppet | ||
| [2011/12/07 21:42:46] @ Quit: lak1: Quit: Leaving. | ||
| [2011/12/07 21:44:21] @ kesor joined channel #puppet | ||
| [2011/12/07 21:44:38] @ Quit: neonflux: Quit: Leaving. | ||
| [2011/12/07 21:45:23] @ sumsuch joined channel #puppet | ||
| [2011/12/07 21:45:43] @ Quit: |Mike|: Read error: Operation timed out | ||
| [2011/12/07 21:46:08] @ Quit: n0ts: Ping timeout: 268 seconds | ||
| [2011/12/07 21:46:45] @ Quit: apollo13: Ping timeout: 268 seconds | ||
| [2011/12/07 21:46:47] @ |Mike| joined channel #puppet | ||
| [2011/12/07 21:47:22] @ Quit: CoolCold: Ping timeout: 268 seconds | ||
| [2011/12/07 21:47:44] @ apollo13 joined channel #puppet | ||
| [2011/12/07 21:47:46] @ rutger_ joined channel #puppet | ||
| [2011/12/07 21:49:38] @ Quit: Treibholz: Ping timeout: 240 seconds | ||
| [2011/12/07 21:49:53] @ Treibholz joined channel #puppet | ||
| [2011/12/07 21:50:07] @ Quit: devicenull: Ping timeout: 240 seconds | ||
| [2011/12/07 21:50:23] @ n0ts joined channel #puppet | ||
| [2011/12/07 21:50:27] @ Quit: kesor: Ping timeout: 240 seconds | ||
| [2011/12/07 21:51:58] @ arnihermann joined channel #puppet | ||
| [2011/12/07 21:52:35] @ adimania joined channel #puppet | ||
| [2011/12/07 21:53:19] @ ccaum_ joined channel #puppet | ||
| [2011/12/07 21:54:03] @ CoolCold joined channel #puppet | ||
| [2011/12/07 21:54:03] @ devicenull joined channel #puppet | ||
| [2011/12/07 21:55:13] @ Wolfspyre1 joined channel #puppet | ||
| [2011/12/07 21:55:22] @ kesor joined channel #puppet | ||
| [2011/12/07 22:02:03] @ Quit: EddieTheJedi: | ||
| [2011/12/07 22:03:26] @ Quit: ryancoleman: Quit: Leaving. | ||
| [2011/12/07 22:03:51] @ Quit: Djelibeybi: Quit: Textual IRC Client: http://www.textualapp.com/ | ||
| [2011/12/07 22:05:09] @ ccaum` joined channel #puppet | ||
| [2011/12/07 22:08:16] @ nitram_macair joined channel #puppet | ||
| [2011/12/07 22:09:33] @ Quit: Holocaine: | ||
| [2011/12/07 22:11:47] @ ccaum left channel #puppet () | ||
| [2011/12/07 22:12:16] @ Quit: drew_rm: Ping timeout: 240 seconds | ||
| [2011/12/07 22:13:04] @ Quit: rcrowley: Quit: Computer has gone to sleep. | ||
| [2011/12/07 22:13:36] @ WALoeIII joined channel #puppet | ||
| [2011/12/07 22:13:38] @ ccaum joined channel #puppet | ||
| [2011/12/07 22:13:47] @ Quit: ccaum: Client Quit | ||
| [2011/12/07 22:13:50] @ ccaum_ is now known as ccaum | ||
| [2011/12/07 22:16:58] @ Quit: nadavoid: Ping timeout: 255 seconds | ||
| [2011/12/07 22:17:09] @ ccaum left channel #puppet () | ||
| [2011/12/07 22:18:28] @ dissipate_ joined channel #puppet | ||
| [2011/12/07 22:21:12] @ ccaum joined channel #puppet | ||
| [2011/12/07 22:21:18] <tobert> nice error message: err: Could not run Puppet configuration client: Could not retrieve local facts: wrong number of arguments (0 for 2) | ||
| [2011/12/07 22:21:25] <tobert> I think puppet is telling me to go fuck myself | ||
| [2011/12/07 22:22:42] @ ram___ joined channel #puppet | ||
| [2011/12/07 22:24:17] @ Quit: gaveen: Ping timeout: 240 seconds | ||
| [2011/12/07 22:25:37] @ jedi4ever joined channel #puppet | ||
| [2011/12/07 22:25:40] @ Quit: ccaum: Client Quit | ||
| [2011/12/07 22:26:16] @ Quit: Wolfspyre1: Quit: Leaving. | ||
| [2011/12/07 22:26:53] @ Quit: ram___: Client Quit | ||
| [2011/12/07 22:27:35] @ Wolfspyre1 joined channel #puppet | ||
| [2011/12/07 22:27:39] @ Quit: ccaum`: Quit: Coyote finally caught me | ||
| [2011/12/07 22:27:47] <Callek> tobert: what version of factor, almost sounds like a mismatch in puppet and facter versions | ||
| [2011/12/07 22:27:53] <tobert> awesome, an error in a fact can break all agents after flipping on pluginsync | ||
| [2011/12/07 22:27:55] <Callek> s/factor/facter/ | ||
| [2011/12/07 22:28:06] <Callek> oooo a custom fact | ||
| [2011/12/07 22:28:08] @ Quit: Wolfspyre1: Client Quit | ||
| [2011/12/07 22:28:13] <tobert> yeah bad fact, just found it after a half hour of dinking around | ||
| [2011/12/07 22:28:17] @ ccaum joined channel #puppet | ||
| [2011/12/07 22:28:20] <tobert> because that error message is useless | ||
| [2011/12/07 22:29:08] @ Quit: nevyn: Ping timeout: 252 seconds | ||
| [2011/12/07 22:31:05] @ nevyn joined channel #puppet | ||
| [2011/12/07 22:34:36] @ newbie_fresh joined channel #puppet | ||
| [2011/12/07 22:35:00] @ Quit: mosen: Quit: Leaving | ||
| [2011/12/07 22:35:45] @ Quit: dissipate_: Quit: Leaving | ||
| [2011/12/07 22:35:50] @ dissipate_ joined channel #puppet | ||
| [2011/12/07 22:36:06] @ Quit: dissipate_: Remote host closed the connection | ||
| [2011/12/07 22:36:06] @ riha joined channel #puppet | ||
| [2011/12/07 22:37:44] @ jaydg joined channel #puppet | ||
| [2011/12/07 22:40:36] @ Quit: newbie_fresh: Quit: Page closed | ||
| [2011/12/07 22:47:14] @ drew_rm joined channel #puppet | ||
| [2011/12/07 22:47:57] @ Quit: drew_rm: Remote host closed the connection | ||
| [2011/12/07 22:49:20] @ Quit: kubicek: Excess Flood | ||
| [2011/12/07 22:49:29] @ kubicek joined channel #puppet | ||
| [2011/12/07 22:50:30] @ nuknad joined channel #puppet | ||
| [2011/12/07 22:59:19] @ csanchez joined channel #puppet | ||
| [2011/12/07 23:02:48] @ Quit: falsch: Ping timeout: 258 seconds | ||
| [2011/12/07 23:03:12] @ Quit: spikebike: Ping timeout: 248 seconds | ||
| [2011/12/07 23:03:27] @ hardcore joined channel #puppet | ||
| [2011/12/07 23:03:41] @ Quit: Vulcan[OMNI]: Quit: Vulcan[OMNI] | ||
| [2011/12/07 23:05:55] @ artkrz joined channel #puppet | ||
| [2011/12/07 23:06:13] @ ben_duyujie left channel #puppet () | ||
| [2011/12/07 23:08:47] @ falsch joined channel #puppet | ||
| [2011/12/07 23:10:40] @ Quit: msaum: Quit: Leaving. | ||
| [2011/12/07 23:11:58] @ spikebike joined channel #puppet | ||
| [2011/12/07 23:12:18] @ msaum joined channel #puppet | ||
| [2011/12/07 23:16:13] @ Bardack joined channel #puppet | ||
| [2011/12/07 23:17:06] <hardcore> hi! i want to setup a puppet-master with puppet someone doing that in the past? | ||
| [2011/12/07 23:17:07] <hardcore> :) | ||
| [2011/12/07 23:22:26] @ ccaum_ joined channel #puppet | ||
| [2011/12/07 23:23:11] @ ckauhaus joined channel #puppet | ||
| [2011/12/07 23:23:14] <Callek> hardcore: its been done in the past, and you can even puppetize your master WITH puppet if you like ;-) | ||
| [2011/12/07 23:23:30] <Callek> just depends on your use-case. | ||
| [2011/12/07 23:24:02] @ Quit: ccaum_: Client Quit | ||
| [2011/12/07 23:24:04] <Callek> in-fact I know the book Pro Puppet even describes just how to do that, and it is a book I certainly would recommend (and I haven't even finished it yet). The authors are puppetlabs employees as well :-) | ||
| [2011/12/07 23:24:35] @ ccaum_ joined channel #puppet | ||
| [2011/12/07 23:25:46] <hardcore> Callek: sounds good so i hope i can find some docu in the internetz :=) | ||
| [2011/12/07 23:26:23] @ Quit: johnbatch: Quit: Leaving. | ||
| [2011/12/07 23:27:03] <Callek> hardcore: in short the basic info aiui is to treat it like any other node, and setup the config like you believe you'll need | ||
| [2011/12/07 23:27:47] <Callek> the *only* hard part with using the same machine as a node and the puppet master that controls that node, is that if you break something you have to *manually* fix it.... | ||
| [2011/12/07 23:31:46] @ zorzar joined channel #puppet | ||
| [2011/12/07 23:32:03] @ DJClean joined channel #puppet | ||
| [2011/12/07 23:32:10] @ Quit: msaum: Quit: Leaving. | ||
| [2011/12/07 23:33:50] <hardcore> Callek: i have a QS system where i setup a puppetmaster. i need the same setup in LIVE so thats the reason why i want to setup puppetmaster with puppet vom the QS machine to the LIVE machine | ||
| [2011/12/07 23:34:03] @ msaum joined channel #puppet | ||
| [2011/12/07 23:34:26] @ Quit: larstobi: Quit: Leaving. | ||
| [2011/12/07 23:34:42] @ Quit: Raboo: Read error: Connection reset by peer | ||
| [2011/12/07 23:34:46] @ Raboo joined channel #puppet | ||
| [2011/12/07 23:36:14] @ Kazuhiro left channel #puppet () | ||
| [2011/12/07 23:38:07] @ espent joined channel #puppet | ||
| [2011/12/07 23:44:17] @ Quit: nitram_macair: Quit: nitram_macair | ||
| [2011/12/07 23:45:22] @ nitram_macair joined channel #puppet | ||
| [2011/12/07 23:47:19] @ Quit: csanchez: Quit: csanchez | ||
| [2011/12/07 23:49:59] @ MattyM joined channel #puppet | ||
| [2011/12/07 23:53:25] @ Quit: msaum: Quit: Leaving. | ||
| [2011/12/07 23:55:03] @ msaum joined channel #puppet | ||
| [2011/12/07 23:56:24] @ verwilst joined channel #puppet | ||
| [2011/12/07 23:57:45] @ Quit: dwalu: Quit: dwalu |
Generated by irclog2html.py 2.9.2 by Marius Gedminas - find it at mg.pov.lt!