diff options
author | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-11-16 21:47:50 +0000 |
---|---|---|
committer | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-11-16 21:47:50 +0000 |
commit | 185ba8cc77bb90ac566ed2b6fe9132ae5c78d378 (patch) | |
tree | 7b12b785b0f951ea3b5432f11e40c74fc8e22b0b /lib/puppet | |
parent | 5f5417aada66f65d9aeb924f64aebb28077286cf (diff) | |
download | puppet-185ba8cc77bb90ac566ed2b6fe9132ae5c78d378.tar.gz puppet-185ba8cc77bb90ac566ed2b6fe9132ae5c78d378.tar.xz puppet-185ba8cc77bb90ac566ed2b6fe9132ae5c78d378.zip |
Fixing backwards compatibility in mounts -- they were not correctly copying the path over to the name
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1888 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'lib/puppet')
-rw-r--r-- | lib/puppet/provider/mount.rb | 2 | ||||
-rwxr-xr-x | lib/puppet/type/mount.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/puppet/provider/mount.rb b/lib/puppet/provider/mount.rb index d3597ef15..d1ba79c7c 100644 --- a/lib/puppet/provider/mount.rb +++ b/lib/puppet/provider/mount.rb @@ -36,4 +36,4 @@ module Puppet::Provider::Mount end end -# $Id$
\ No newline at end of file +# $Id$ diff --git a/lib/puppet/type/mount.rb b/lib/puppet/type/mount.rb index 4ec6d3516..884b86c00 100755 --- a/lib/puppet/type/mount.rb +++ b/lib/puppet/type/mount.rb @@ -133,7 +133,7 @@ module Puppet newparam(:path) do desc "The deprecated name for the mount point. Please use ``name`` now." - def should=(value) + def value=(value) warning "'path' is deprecated for mounts. Please use 'name'." @parent[:name] = value super |