From 61b1f29e849df28f2892efc5f98318611e99eeeb Mon Sep 17 00:00:00 2001 From: Stephen Gran Date: Mon, 16 Apr 2012 13:22:14 +0100 Subject: [PATCH] some sample rdoc Signed-off-by: Stephen Gran --- modules/dacs/manifests/init.pp | 8 ++++++++ modules/ferm/manifests/init.pp | 8 ++++++++ modules/hosts/manifests/init.pp | 8 ++++++++ modules/monit/manifests/init.pp | 8 ++++++++ modules/motd/manifests/init.pp | 8 ++++++++ modules/raidmpt/manifests/init.pp | 8 ++++++++ modules/samhain/manifests/init.pp | 8 ++++++++ modules/unbound/manifests/init.pp | 8 ++++++++ 8 files changed, 64 insertions(+) diff --git a/modules/dacs/manifests/init.pp b/modules/dacs/manifests/init.pp index cd52af86..8c865df6 100644 --- a/modules/dacs/manifests/init.pp +++ b/modules/dacs/manifests/init.pp @@ -1,3 +1,11 @@ +# = Class: dacs +# +# This class installs and configures dacs for web auth +# +# == Sample Usage: +# +# include dacs +# class dacs { package { 'dacs': ensure => installed, diff --git a/modules/ferm/manifests/init.pp b/modules/ferm/manifests/init.pp index 048ce4e0..62ad5737 100644 --- a/modules/ferm/manifests/init.pp +++ b/modules/ferm/manifests/init.pp @@ -1,3 +1,11 @@ +# = Class: ferm +# +# This class installs ferm and sets up rules +# +# == Sample Usage: +# +# include ferm +# class ferm { # realize (i.e. enable) all @ferm::rule virtual resources Ferm::Rule <| |> diff --git a/modules/hosts/manifests/init.pp b/modules/hosts/manifests/init.pp index 47616af6..e7bb587a 100644 --- a/modules/hosts/manifests/init.pp +++ b/modules/hosts/manifests/init.pp @@ -1,3 +1,11 @@ +# = Class: hosts +# +# This class fixes up broken /etc/hosts files +# +# == Sample Usage: +# +# include hosts +# class hosts { file { '/etc/hosts': content => template('hosts/etc-hosts.erb') diff --git a/modules/monit/manifests/init.pp b/modules/monit/manifests/init.pp index 8b29f48d..8b9880ff 100644 --- a/modules/monit/manifests/init.pp +++ b/modules/monit/manifests/init.pp @@ -1,3 +1,11 @@ +# = Class: monit +# +# This class installs and configures monit +# +# == Sample Usage: +# +# include monit +# class monit { package { 'monit': diff --git a/modules/motd/manifests/init.pp b/modules/motd/manifests/init.pp index ffa85733..e8e6bcc0 100644 --- a/modules/motd/manifests/init.pp +++ b/modules/motd/manifests/init.pp @@ -1,3 +1,11 @@ +# = Class: motd +# +# This class configures a sensible motd +# +# == Sample Usage: +# +# include motd +# class motd { file { '/etc/motd.tail': diff --git a/modules/raidmpt/manifests/init.pp b/modules/raidmpt/manifests/init.pp index c6884aa8..2d84af15 100644 --- a/modules/raidmpt/manifests/init.pp +++ b/modules/raidmpt/manifests/init.pp @@ -1,3 +1,11 @@ +# = Class: raidmpt +# +# This class installs mpt-status and ensures the daemon is not running +# +# == Sample Usage: +# +# include raidmpt +# class raidmpt { package { 'mpt-status': diff --git a/modules/samhain/manifests/init.pp b/modules/samhain/manifests/init.pp index bf20d577..f659fb80 100644 --- a/modules/samhain/manifests/init.pp +++ b/modules/samhain/manifests/init.pp @@ -1,3 +1,11 @@ +# = Class: samhain +# +# This class installs and configures samhain +# +# == Sample Usage: +# +# include samhain +# class samhain { package { 'samhain': diff --git a/modules/unbound/manifests/init.pp b/modules/unbound/manifests/init.pp index 13a6adba..f94d4739 100644 --- a/modules/unbound/manifests/init.pp +++ b/modules/unbound/manifests/init.pp @@ -1,3 +1,11 @@ +# = Class: unbound +# +# This class installs and configures unbound +# +# == Sample Usage: +# +# include unbound +# class unbound { package { 'unbound': -- 2.39.2