Skip to content

Commit

Permalink
Merge pull request #10 from shunyata/master
Browse files Browse the repository at this point in the history
Support Ubuntu 12.10
  • Loading branch information
uggedal committed Feb 22, 2013
2 parents db617c4 + 573cc9d commit 502b6ca
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@
case $::lsbdistrelease {
"10.10": { $default_conf_tpl = 'monit.default.conf.ubuntu.maverick.erb' }
"12.04": { $default_conf_tpl = 'monit.default.conf.ubuntu.precise.erb'}
"12.10": { $default_conf_tpl = 'monit.default.conf.ubuntu.quantal.erb'}
default: { fail("Unsupported osfamily: ${::lsbdistid} / ${::lsbdistrelease}") }
}
}
Expand Down
10 changes: 10 additions & 0 deletions templates/monit.default.conf.ubuntu.quantal.erb
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# /etc/default/monit

# Defaults for monit initscript. This file is sourced by
# /bin/sh from /etc/init.d/monit.

# You must set this variable to yes for monit to start
START=yes

# Options to pass to monit
#MONIT_OPTS=

0 comments on commit 502b6ca

Please sign in to comment.