summaryrefslogtreecommitdiffstats
path: root/lib/puppet/type/selmodule.rb
diff options
context:
space:
mode:
authornfagerlund <nick.fagerlund@gmail.com>2011-03-04 17:46:25 -0800
committernfagerlund <nick.fagerlund@gmail.com>2011-03-04 17:59:49 -0800
commit7a00d6b4b7428145ab774f76c7433bda07c81f99 (patch)
treeffeb8861d3f0ee96b9ee970e7b545ae74f8dc5d9 /lib/puppet/type/selmodule.rb
parente8145f91debc863b341a270e1d8cff6c43d93ef5 (diff)
downloadpuppet-7a00d6b4b7428145ab774f76c7433bda07c81f99.tar.gz
puppet-7a00d6b4b7428145ab774f76c7433bda07c81f99.tar.xz
puppet-7a00d6b4b7428145ab774f76c7433bda07c81f99.zip
(#6606) Inline docs: Document all autorequire relationships
This patch appends **Autorequires:** notes to the @doc string of every type whose instances can autorequire other resources. This will put autorequire info right on the types reference where it can do the most good.
Diffstat (limited to 'lib/puppet/type/selmodule.rb')
-rw-r--r--lib/puppet/type/selmodule.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/puppet/type/selmodule.rb b/lib/puppet/type/selmodule.rb
index 60be8a855..e76c18cc0 100644
--- a/lib/puppet/type/selmodule.rb
+++ b/lib/puppet/type/selmodule.rb
@@ -5,7 +5,9 @@
Puppet::Type.newtype(:selmodule) do
@doc = "Manages loading and unloading of SELinux policy modules
on the system. Requires SELinux support. See man semodule(8)
- for more information on SELinux policy modules."
+ for more information on SELinux policy modules.
+
+ **Autorequires:** If Puppet is managing the file containing this SELinux policy module (which is either explicitly specified in the `selmodulepath` attribute or will be found at {`selmoduledir`}/{`name`}.pp), the selmodule resource will autorequire that file."
ensurable