Stephen Gran [Sun, 15 Mar 2009 16:32:26 +0000 (16:32 +0000)]
short name?
Signed-off-by: Stephen Gran <steve@lobefin.net>
Stephen Gran [Sun, 15 Mar 2009 16:31:32 +0000 (16:31 +0000)]
Test of templating
Signed-off-by: Stephen Gran <steve@lobefin.net>
Stephen Gran [Sun, 15 Mar 2009 16:19:31 +0000 (16:19 +0000)]
Some new facts
Signed-off-by: Stephen Gran <steve@lobefin.net>
Stephen Gran [Sun, 15 Mar 2009 15:39:21 +0000 (15:39 +0000)]
Whitespace
Signed-off-by: Stephen Gran <steve@lobefin.net>
Stephen Gran [Sun, 15 Mar 2009 15:22:58 +0000 (15:22 +0000)]
Add default File template and remove lots of boilerplate
Signed-off-by: Stephen Gran <steve@lobefin.net>
Stephen Gran [Sun, 15 Mar 2009 15:16:29 +0000 (15:16 +0000)]
We want templates in the git tree
Signed-off-by: Stephen Gran <steve@lobefin.net>
Stephen Gran [Sun, 15 Mar 2009 12:51:35 +0000 (12:51 +0000)]
Ignore the pdiffs file we ship now
Signed-off-by: Stephen Gran <steve@lobefin.net>
Stephen Gran [Sun, 15 Mar 2009 12:13:28 +0000 (12:13 +0000)]
Also add local-pdiffs
Signed-off-by: Stephen Gran <steve@lobefin.net>
Stephen Gran [Sun, 15 Mar 2009 00:42:49 +0000 (00:42 +0000)]
And another
Signed-off-by: Stephen Gran <steve@lobefin.net>
Stephen Gran [Sun, 15 Mar 2009 00:07:51 +0000 (00:07 +0000)]
Another fs type to ignore
Signed-off-by: Stephen Gran <steve@lobefin.net>
Stephen Gran [Sat, 14 Mar 2009 23:22:47 +0000 (23:22 +0000)]
Include fuse-ey type filesystems so we ignore weasel's mad symlink tree
of doom
Signed-off-by: Stephen Gran <steve@lobefin.net>
Stephen Gran [Sat, 14 Mar 2009 22:13:46 +0000 (22:13 +0000)]
Really, try not to die, you silly thing
Signed-off-by: Stephen Gran <steve@lobefin.net>
Stephen Gran [Sat, 14 Mar 2009 22:11:35 +0000 (22:11 +0000)]
Don't exit
Signed-off-by: Stephen Gran <steve@lobefin.net>
Stephen Gran [Sat, 14 Mar 2009 21:37:37 +0000 (21:37 +0000)]
ruby was getting confused over too many negations - add some brackets to
make it clear to the poor little dear
Signed-off-by: Stephen Gran <steve@lobefin.net>
Stephen Gran [Sat, 14 Mar 2009 21:22:18 +0000 (21:22 +0000)]
Don't blow up if module load fails
Signed-off-by: Stephen Gran <steve@lobefin.net>
Stephen Gran [Sat, 14 Mar 2009 20:32:22 +0000 (20:32 +0000)]
A mounts fact. This will hopefully let us compare what we currently
monitor to what is actually on the system
Signed-off-by: Stephen Gran <steve@lobefin.net>
Stephen Gran [Sat, 14 Mar 2009 20:09:15 +0000 (20:09 +0000)]
We need a ruby module for a fact that I'm writing
Signed-off-by: Stephen Gran <steve@lobefin.net>
Stephen Gran [Tue, 10 Mar 2009 01:03:32 +0000 (01:03 +0000)]
and fix the typo
Signed-off-by: Stephen Gran <steve@lobefin.net>
Stephen Gran [Tue, 10 Mar 2009 01:01:23 +0000 (01:01 +0000)]
OK, it's a bit of a grotesque hack - we see if DNS matches for a service
matches one of our IP addresses, and if so, we set a fact to true.
I'm sure there's a better way to do this.
Signed-off-by: Stephen Gran <steve@lobefin.net>
Stephen Gran [Mon, 9 Mar 2009 20:12:08 +0000 (20:12 +0000)]
Revert "I hate pdiffs"
This reverts commit
5b480a7849d309ee257c5254bfbd92c4b353c003.
Stephen Gran [Mon, 9 Mar 2009 20:03:36 +0000 (20:03 +0000)]
I hate pdiffs
Signed-off-by: Stephen Gran <steve@lobefin.net>
Stephen Gran [Mon, 9 Mar 2009 19:40:21 +0000 (19:40 +0000)]
and fix the syntax error
Signed-off-by: Stephen Gran <steve@lobefin.net>
Stephen Gran [Mon, 9 Mar 2009 19:39:22 +0000 (19:39 +0000)]
revert the manifest
Signed-off-by: Stephen Gran <steve@lobefin.net>
Stephen Gran [Mon, 9 Mar 2009 19:34:48 +0000 (19:34 +0000)]
Try to use booleans instead of strings - this can't possibly go wrong
Signed-off-by: Stephen Gran <steve@lobefin.net>
Stephen Gran [Mon, 9 Mar 2009 19:26:44 +0000 (19:26 +0000)]
Add software raid test
Signed-off-by: Stephen Gran <steve@lobefin.net>
Stephen Gran [Mon, 9 Mar 2009 19:02:57 +0000 (19:02 +0000)]
New set of facts to tell us about installed software
Signed-off-by: Stephen Gran <steve@lobefin.net>
Peter Palfrader [Mon, 9 Mar 2009 18:09:28 +0000 (19:09 +0100)]
sgran sometimes has weird ideas
Peter Palfrader [Mon, 9 Mar 2009 18:08:30 +0000 (19:08 +0100)]
Unbreak preferences, the 3rd
Peter Palfrader [Mon, 9 Mar 2009 18:01:57 +0000 (19:01 +0100)]
Add work in progress buildd module
Peter Palfrader [Mon, 9 Mar 2009 17:53:43 +0000 (18:53 +0100)]
Fix pinning
Peter Palfrader [Mon, 9 Mar 2009 17:40:20 +0000 (18:40 +0100)]
Add buildd.d.o pin entries
Peter Palfrader [Mon, 9 Mar 2009 10:49:14 +0000 (11:49 +0100)]
Use experimental security.geo.debian.org
Peter Palfrader [Sun, 8 Mar 2009 10:00:49 +0000 (11:00 +0100)]
Merge apt/preferences ignoring patch into the handel per-host file for samhainrc
Peter Palfrader [Sun, 8 Mar 2009 01:01:30 +0000 (02:01 +0100)]
samhain ignore etc/apt directory changes from puppet
Peter Palfrader [Sun, 8 Mar 2009 00:57:57 +0000 (01:57 +0100)]
Merge branch 'master' of ssh://handel.debian.org/srv/puppet.debian.org/git/dsa-puppet
Peter Palfrader [Sun, 8 Mar 2009 00:57:51 +0000 (01:57 +0100)]
samhain ignore preferences file from puppet
Peter Palfrader [Sun, 8 Mar 2009 00:57:16 +0000 (01:57 +0100)]
make apt files from puppet mode u-w
Peter Palfrader [Sun, 8 Mar 2009 00:56:54 +0000 (01:56 +0100)]
Ship etc/apt/preferences with puppet
Stephen Gran [Thu, 5 Mar 2009 20:44:14 +0000 (20:44 +0000)]
Hopefully now we can install puppet on postfix systems without hosing
the mta setup
Signed-off-by: Stephen Gran <steve@lobefin.net>
Peter Palfrader [Thu, 5 Mar 2009 15:41:54 +0000 (16:41 +0100)]
Do not use security.us.debian.org everywhere - use security.d.o
Stephen Gran [Tue, 3 Mar 2009 22:17:39 +0000 (22:17 +0000)]
Merge branch 'master' of ssh://handel.debian.org/srv/puppet.debian.org/git/dsa-puppet
Stephen Gran [Tue, 3 Mar 2009 22:17:26 +0000 (22:17 +0000)]
More samhain updates (does it never end?)
Signed-off-by: Stephen Gran <steve@lobefin.net>
Peter Palfrader [Tue, 3 Mar 2009 20:35:59 +0000 (21:35 +0100)]
also install arrayprobe, cpqarrayd on proliants
Stephen Gran [Tue, 3 Mar 2009 20:10:17 +0000 (20:10 +0000)]
A few more packages for everywhere
Signed-off-by: Stephen Gran <steve@lobefin.net>
Stephen Gran [Tue, 3 Mar 2009 11:55:09 +0000 (11:55 +0000)]
update samhain ignores for changes to nagios
Signed-off-by: Stephen Gran <steve@lobefin.net>
Peter Palfrader [Mon, 2 Mar 2009 21:05:10 +0000 (22:05 +0100)]
Add exim4/locals to manifest
Stephen Gran [Mon, 2 Mar 2009 13:54:54 +0000 (13:54 +0000)]
One more samhain ignore for nrpe/nagios
Signed-off-by: Stephen Gran <steve@lobefin.net>
Stephen Gran [Mon, 2 Mar 2009 00:45:18 +0000 (00:45 +0000)]
typo
Signed-off-by: Stephen Gran <steve@lobefin.net>
Stephen Gran [Mon, 2 Mar 2009 00:36:42 +0000 (00:36 +0000)]
Bring in some more changes from dsa-exim
Signed-off-by: Stephen Gran <steve@lobefin.net>
Stephen Gran [Mon, 2 Mar 2009 00:30:38 +0000 (00:30 +0000)]
More ignores for samhain based on automatically upgrading dsa-nagios
Signed-off-by: Stephen Gran <steve@lobefin.net>
Stephen Gran [Sun, 1 Mar 2009 20:14:34 +0000 (20:14 +0000)]
auto upgrade nagios
Signed-off-by: Stephen Gran <steve@lobefin.net>
Stephen Gran [Sun, 1 Mar 2009 15:08:50 +0000 (15:08 +0000)]
Handel's samhainrc has fallen behind
Signed-off-by: Stephen Gran <steve@lobefin.net>
Stephen Gran [Sun, 1 Mar 2009 15:02:41 +0000 (15:02 +0000)]
Make sure proliants get hpacucli installed (should we also install
hpasm?)
Signed-off-by: Stephen Gran <steve@lobefin.net>
Stephen Gran [Sun, 1 Mar 2009 14:46:11 +0000 (14:46 +0000)]
Better name for smart array check
Signed-off-by: Stephen Gran <steve@lobefin.net>
Stephen Gran [Sun, 1 Mar 2009 14:31:42 +0000 (14:31 +0000)]
Add 3ware test
Signed-off-by: Stephen Gran <steve@lobefin.net>
Stephen Gran [Sun, 1 Mar 2009 14:21:47 +0000 (14:21 +0000)]
Fix the mpt check so that it is actually useful
Signed-off-by: Stephen Gran <steve@lobefin.net>
Stephen Gran [Sun, 1 Mar 2009 14:04:03 +0000 (14:04 +0000)]
another try at auto fact distribution (and incidentally test for mpt
arrays)
Signed-off-by: Stephen Gran <steve@lobefin.net>
Stephen Gran [Sun, 1 Mar 2009 13:48:01 +0000 (13:48 +0000)]
Another try at serving facts directly
Signed-off-by: Stephen Gran <steve@lobefin.net>
Stephen Gran [Sun, 1 Mar 2009 13:37:09 +0000 (13:37 +0000)]
We want to ignore puppet.conf at this level of the tree
Signed-off-by: Stephen Gran <steve@lobefin.net>
Martin Zobel-Helas [Sun, 1 Mar 2009 13:05:04 +0000 (14:05 +0100)]
fix typo
Martin Zobel-Helas [Sun, 1 Mar 2009 12:45:24 +0000 (13:45 +0100)]
add puppet disclaimer
Martin Zobel-Helas [Sun, 1 Mar 2009 12:26:16 +0000 (13:26 +0100)]
add puppet disclaimer
Martin Zobel-Helas [Sun, 1 Mar 2009 12:13:36 +0000 (13:13 +0100)]
add own virtualdomain handling for wiki/widor
Stephen Gran [Sun, 1 Mar 2009 00:28:19 +0000 (00:28 +0000)]
And some other files I missed earlier
Signed-off-by: Stephen Gran <steve@lobefin.net>
Stephen Gran [Sun, 1 Mar 2009 00:26:11 +0000 (00:26 +0000)]
And another
Signed-off-by: Stephen Gran <steve@lobefin.net>
Stephen Gran [Sun, 1 Mar 2009 00:25:38 +0000 (00:25 +0000)]
Add the new changes to samhain as well
Signed-off-by: Stephen Gran <steve@lobefin.net>
Stephen Gran [Sun, 1 Mar 2009 00:16:18 +0000 (00:16 +0000)]
And for no reason that I can see, quote the value in the case statement
Signed-off-by: Stephen Gran <steve@lobefin.net>
Stephen Gran [Sun, 1 Mar 2009 00:11:33 +0000 (00:11 +0000)]
And actually push out that change
Signed-off-by: Stephen Gran <steve@lobefin.net>
Stephen Gran [Sun, 1 Mar 2009 00:09:32 +0000 (00:09 +0000)]
Use the right path to the extra facts, so that puppet can report the new
facts we provide
Signed-off-by: Stephen Gran <steve@lobefin.net>
Stephen Gran [Sat, 28 Feb 2009 23:56:33 +0000 (23:56 +0000)]
Arg. lenny release with a puppet that can't do complex conditionals.
Use case instead.
Signed-off-by: Stephen Gran <steve@lobefin.net>
Stephen Gran [Sat, 28 Feb 2009 23:53:58 +0000 (23:53 +0000)]
This should adjust sources.list.d for all proliant machines
Signed-off-by: Stephen Gran <steve@lobefin.net>
Stephen Gran [Sat, 28 Feb 2009 23:50:32 +0000 (23:50 +0000)]
Duh. == and = are not the same thing
Signed-off-by: Stephen Gran <steve@lobefin.net>
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:16:40 +0000 (22:16 +0000)]
We need to restart, not reload, puppet for /etc/default changes so they
get added to the command line
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 19:28:42 +0000 (19:28 +0000)]
Rename the fact directory
Signed-off-by: Stephen Gran <steve@lobefin.net>
Stephen Gran [Sat, 28 Feb 2009 19:25:12 +0000 (19:25 +0000)]
Another shot at this facts thing
Signed-off-by: Stephen Gran <steve@lobefin.net>
Stephen Gran [Sat, 28 Feb 2009 19:12:23 +0000 (19:12 +0000)]
Move plugins around
Signed-off-by: Stephen Gran <steve@lobefin.net>
Stephen Gran [Sat, 28 Feb 2009 19:07:29 +0000 (19:07 +0000)]
Some tweaks to make sure there is a facter directory installed. Why is
this not in the package?
Signed-off-by: Stephen Gran <steve@lobefin.net>
Stephen Gran [Sat, 28 Feb 2009 18:54:41 +0000 (18:54 +0000)]
Make clients sync new facter from server.
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>
Stephen Gran [Sat, 28 Feb 2009 14:13:17 +0000 (14:13 +0000)]
Merge branch 'master' of ssh://handel.debian.org/srv/puppet.debian.org/git/dsa-puppet
Stephen Gran [Sat, 28 Feb 2009 14:12:01 +0000 (14:12 +0000)]
Update puppet config to match what's in exim.git
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 23:02:48 +0000 (23:02 +0000)]
Yes another try at making it quiet
Signed-off-by: Stephen Gran <steve@lobefin.net>
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 17:51:50 +0000 (17:51 +0000)]
Add logrotate handling for the exim module
Signed-off-by: Stephen Gran <steve@lobefin.net>
Stephen Gran [Tue, 24 Feb 2009 17:45:09 +0000 (17:45 +0000)]
Make samhain stuff per host, so handel can stop complaining
Signed-off-by: Stephen Gran <steve@lobefin.net>
Stephen Gran [Tue, 24 Feb 2009 17:12:39 +0000 (17:12 +0000)]
Copy and paste is not always my friend
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 [Tue, 24 Feb 2009 16:56:37 +0000 (16:56 +0000)]
Typo
Signed-off-by: Stephen Gran <steve@lobefin.net>
Stephen Gran [Tue, 24 Feb 2009 16:54:24 +0000 (16:54 +0000)]
And update samhain for same
Signed-off-by: Stephen Gran <steve@lobefin.net>
Stephen Gran [Tue, 24 Feb 2009 16:53:23 +0000 (16:53 +0000)]
Is it wrong to configure puppet with puppet?
Signed-off-by: Stephen Gran <steve@lobefin.net>
Stephen Gran [Tue, 24 Feb 2009 16:51:19 +0000 (16:51 +0000)]
Some day I'll get the hang of samhain
Signed-off-by: Stephen Gran <steve@lobefin.net>
Stephen Gran [Tue, 24 Feb 2009 16:47:59 +0000 (16:47 +0000)]
And update the samhain config file for the new apt files
Signed-off-by: Stephen Gran <steve@lobefin.net>
Stephen Gran [Tue, 24 Feb 2009 16:46:21 +0000 (16:46 +0000)]
Make sure the files have correct ownership
Signed-off-by: Stephen Gran <steve@lobefin.net>
Stephen Gran [Tue, 24 Feb 2009 16:42:53 +0000 (16:42 +0000)]
Add some apt autoconfig magic
Signed-off-by: Stephen Gran <steve@lobefin.net>
Stephen Gran [Tue, 24 Feb 2009 15:19:30 +0000 (15:19 +0000)]
We need a better path for the init scripts to work
Signed-off-by: Stephen Gran <steve@lobefin.net>