summaryrefslogtreecommitdiff
path: root/manifests/base.pp
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2010-02-24 20:16:43 +0100
committermh <mh@immerda.ch>2010-02-24 20:18:56 +0100
commit0b488591cadc239ecd1e6beebbc76da63baece2c (patch)
treec8efbe51bc0ed9352755cfec20a65a3e2ce21aa8 /manifests/base.pp
parenta7659da65aeaad7d0c4aaf89e6150b8ed260f751 (diff)
refactoring - no behavior change
- everything goes into its own file -> autolookup - order the params of the define nicer -> debugging! - move nagios stuff to the init class -> configure module at the very first point - move variable version enforcing to init class -> configure module at the very first point
Diffstat (limited to 'manifests/base.pp')
-rw-r--r--manifests/base.pp13
1 files changed, 13 insertions, 0 deletions
diff --git a/manifests/base.pp b/manifests/base.pp
new file mode 100644
index 0000000..3061902
--- /dev/null
+++ b/manifests/base.pp
@@ -0,0 +1,13 @@
+class stunnel::base {
+
+ file { "/etc/stunnel":
+ ensure => directory;
+ }
+
+ service { 'stunnel':
+ name => 'stunnel',
+ enable => true,
+ ensure => running,
+ hasstatus => false;
+ }
+}