Stephen Gran [Sat, 28 Feb 2009 23:47:21 +0000 (23:47 +0000)]
For some reason facter doesn't do booleans the way I expected, and we're
just getting uninitialized constants errors. Just use strings instead
for now. Signed-off-by: Stephen Gran <steve@lobefin.net>
Stephen Gran [Sat, 28 Feb 2009 23:30:58 +0000 (23:30 +0000)]
Actually, I don't want an array of controllers, nice as that might be
for other things. All I really care about is if the machine has
something that looks an HP SmartArray controller, so we can make sure
the extra software is installed. Signed-off-by: Stephen Gran <steve@lobefin.net>
Stephen Gran [Sat, 28 Feb 2009 23:29:39 +0000 (23:29 +0000)]
This should prevent apt from installing packages before it sets up the
local file turning off recommends, so the initial install doesn't end up
pulling in all sorts of extra nonsense. Thanks to weasel for pointing
out the issue to me. Signed-off-by: Stephen Gran <steve@lobefin.net>
Stephen Gran [Sat, 28 Feb 2009 22:13:04 +0000 (22:13 +0000)]
So, this works slightly differently than I had thought. In addition to
the server serving facts, the client has to actually request them as
well. This commit sets up /etc/default/puppet so that clients do
request new facts, as well as setting up fileserver.conf so that clients
are allowed to retrieve new facts. Signed-off-by: Stephen Gran <steve@lobefin.net>
Stephen Gran [Sat, 28 Feb 2009 18:51:27 +0000 (18:51 +0000)]
Add attempt at custom fact to interrogate what raid controllers are on a
given system (first step to making sure HP software is installed on
Proliants). Signed-off-by: Stephen Gran <steve@lobefin.net>
Peter Palfrader [Wed, 25 Feb 2009 07:11:45 +0000 (08:11 +0100)]
Fix exim4's logrotate files to match what we have in the exim git - it is whitespace changes only but those make git update complain for now and samhain to whine
Stephen Gran [Tue, 24 Feb 2009 22:56:03 +0000 (22:56 +0000)]
I think this might be right. On handel, we want to ignore everything
below /etc/puppet, unlike other hosts where we just want to ignore the
files we manage. Signed-off-by: Stephen Gran <steve@lobefin.net>
Stephen Gran [Tue, 24 Feb 2009 16:59:56 +0000 (16:59 +0000)]
And reload puppet when it's config changes - maybe all the puppet config
stuff should go out into a seperate module, but we'll get there. Signed-off-by: Stephen Gran <steve@lobefin.net>
Stephen Gran [Sun, 22 Feb 2009 15:49:42 +0000 (15:49 +0000)]
Add some stuff that we can do as automatic setup - maybe the package way
is cleaner, I don't know - should we instead depend on the package? Signed-off-by: Stephen Gran <steve@lobefin.net>