diff options
| author | lutter <lutter@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-07-07 18:50:39 +0000 |
|---|---|---|
| committer | lutter <lutter@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-07-07 18:50:39 +0000 |
| commit | 0c96fc607d32f9e68634d1c838fa8a6af71c5ad3 (patch) | |
| tree | 86aca1b23de2b9c183a6e4d16c8c93fe2a09ec6d /lib | |
| parent | 67dab0e978e537af9d85a84e481624da74a5dfeb (diff) | |
| download | puppet-0c96fc607d32f9e68634d1c838fa8a6af71c5ad3.tar.gz puppet-0c96fc607d32f9e68634d1c838fa8a6af71c5ad3.tar.xz puppet-0c96fc607d32f9e68634d1c838fa8a6af71c5ad3.zip | |
Doc change: explain what the values for ensure do
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1376 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'lib')
| -rwxr-xr-x | lib/puppet/type/parsedtype/mount.rb | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/lib/puppet/type/parsedtype/mount.rb b/lib/puppet/type/parsedtype/mount.rb index f21348131..45c95a135 100755 --- a/lib/puppet/type/parsedtype/mount.rb +++ b/lib/puppet/type/parsedtype/mount.rb @@ -6,7 +6,12 @@ require 'puppet/type/state' module Puppet newtype(:mount, Puppet::Type::ParsedType) do ensurable do - desc "Create, remove, or mount a filesystem mount." + desc "Control what to do with this mount. If the value is + ``present``, the mount is entered into the mount table, + but not mounted, if it is ``absent``, the entry is removed + from the mount table and the filesystem is unmounted if + currently mounted, if it is ``mounted``, the filesystem + is entered into the mount table and mounted." newvalue(:present) do @parent.create() @@ -101,7 +106,8 @@ module Puppet end @doc = "Manages mounted mounts, including putting mount - information into the mount table." + information into the mount table. The actual behavior depends + on the value of the 'ensure' parameter." def self.init @platform = Facter["operatingsystem"].value |
