summaryrefslogtreecommitdiff
path: root/manifests/init.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/init.pp')
-rw-r--r--manifests/init.pp15
1 files changed, 5 insertions, 10 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index b1437d2..270540d 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -17,17 +17,12 @@
# TODO: warn on cert/key issues, fail on false accept?
-class stunnel {
-
- case $stunnel_ensure_version {
- '': { $stunnel_ensure_version = 'present' }
- default: { $stunnel_ensure_version = 'present' }
- }
-
+class stunnel ( $ensure_version = 'present', $startboot = '1', $default_extra )
+{
case $::operatingsystem {
- debian: { include stunnel::debian }
- centos: { include stunnel::centos }
- default: { include stunnel::default }
+ debian: { class { 'stunnel::debian': } }
+ centos: { class { 'stunnel::centos': } }
+ default: { class { 'stunnel::default': } }
}
if $use_nagios {