diff options
author | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2007-07-20 15:12:34 +0000 |
---|---|---|
committer | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2007-07-20 15:12:34 +0000 |
commit | 2e14ea4294fb520a95bfa9f8930a1ed47e71e7de (patch) | |
tree | ae4a3883171f4531fe1b0eac9428386d00c64116 /lib | |
parent | 7401adac175c23fc404f691f7837c11f9cfbf80f (diff) | |
download | puppet-2e14ea4294fb520a95bfa9f8930a1ed47e71e7de.tar.gz puppet-2e14ea4294fb520a95bfa9f8930a1ed47e71e7de.tar.xz puppet-2e14ea4294fb520a95bfa9f8930a1ed47e71e7de.zip |
Attempting to clean up the mount documentation as in #727.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2721 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/puppet/type/mount.rb | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/lib/puppet/type/mount.rb b/lib/puppet/type/mount.rb index 784d1bbf8..b2686a20e 100755 --- a/lib/puppet/type/mount.rb +++ b/lib/puppet/type/mount.rb @@ -6,8 +6,7 @@ module Puppet on the value of the 'ensure' parameter. Note that if a ``mount`` receives an event from another resource, - it will try to remount the filesystems if ``ensure => mounted`` is - set." + it will try to remount the filesystems if ``ensure`` is set to ``mounted``." feature :refreshable, "The provider can remount the filesystem.", :methods => [:remount] @@ -15,12 +14,12 @@ module Puppet # Use the normal parent class, because we actually want to # call code when sync() is called. newproperty(:ensure) do - 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." + desc "Control what to do with this mount. Set this attribute to + ``present`` to make sure the filesystem is in the filesystem table + but not mounted (if the filesystem is currently mounted, it will be + unmounted). Set it to ``absent`` to unmount (if necessary) and remove + the filesystem from the fstab. Set to ``mounted`` to add it to the + fstab and mount it." newvalue(:present) do if provider.mounted? |