diff options
author | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-03-03 22:34:38 +0000 |
---|---|---|
committer | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-03-03 22:34:38 +0000 |
commit | df74b62ad473c72906ddb5e72a500fd1a97dfa50 (patch) | |
tree | 98cc5a984911ca91913f8fcbd9aa23294cee3d76 | |
parent | 8c0a07a1c4b8f0139fc1d9ce4bcad72e0e15342d (diff) | |
download | puppet-df74b62ad473c72906ddb5e72a500fd1a97dfa50.tar.gz puppet-df74b62ad473c72906ddb5e72a500fd1a97dfa50.tar.xz puppet-df74b62ad473c72906ddb5e72a500fd1a97dfa50.zip |
fixing deprecation notice about services using "ensure" instead of "running"
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@979 980ebf18-57e1-0310-9a29-db15c13687c0
-rw-r--r-- | lib/puppet/type/service.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/puppet/type/service.rb b/lib/puppet/type/service.rb index 5cf0f9fc4..7fe185bee 100644 --- a/lib/puppet/type/service.rb +++ b/lib/puppet/type/service.rb @@ -148,9 +148,9 @@ module Puppet of this, but using this will still work, albeit with a warning." - def should=(values) + munge do |value| @parent.warning "'running' is deprecated; please use 'ensure'" - @parent[:ensure] = values + @parent[:ensure] = value end end |