Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
immerda
Puppet Modules
monit
Commits
20d34c2b
Commit
20d34c2b
authored
Oct 01, 2012
by
mh
Browse files
make it fit the distro default
parent
b87d6fbe
Changes
1
Hide whitespace changes
Inline
Side-by-side
manifests/init.pp
View file @
20d34c2b
...
...
@@ -18,14 +18,14 @@
#
# alert: Who should get the email notifications?
# Example: root@localhost
# Default:
'absent'
# Default:
Cenots: 'absent', Debian: root@localhost
#
# mailserver: Where should monit be sending mail?
# Set this to your mailserver
# Monit will disable alert notification if no mailserver is
# present.
# Example: 'localhost'
# Default:
'absen
t'
# Default:
CentOS: 'absent', Debian: 'localhos
t'
#
# enable_httpd: Should the httpd daemon be enabled?
# Set this to 'yes' to enable it, be sure
...
...
@@ -46,8 +46,14 @@
#
class
monit
(
$secret
=
'This is not very secret, is it?'
,
$alert
=
'absent'
,
$mailserver
=
'absent'
,
$alert
=
$::operatingsystem
?
{
centos
=>
'absent'
,
default
=>
'root@localhost'
},
$mailserver
=
$::operatingsystem
?
{
centos
=>
'absent'
,
default
=>
'localhost'
},
$pool_interval
=
'120'
,
$enable_httpd
=
'no'
,
$httpd_port
=
2812
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment