summaryrefslogtreecommitdiffstats
path: root/lib/puppet
diff options
context:
space:
mode:
authorDaniel Pittman <daniel@rimspace.net>2011-03-01 20:33:56 -0800
committerDaniel Pittman <daniel@rimspace.net>2011-03-03 15:23:38 -0800
commitaf2c85b5a98ba062a9a58c6c92279f3371d59bb4 (patch)
tree864b6edc9571246040f8db99fb1a96778c6e4b18 /lib/puppet
parentc1d7881c9255d6470fda7c27e800b4caa061b7c0 (diff)
downloadpuppet-af2c85b5a98ba062a9a58c6c92279f3371d59bb4.tar.gz
puppet-af2c85b5a98ba062a9a58c6c92279f3371d59bb4.tar.xz
puppet-af2c85b5a98ba062a9a58c6c92279f3371d59bb4.zip
(#6551) remove deprecated 'env' parameter to the 'exec' type
We deprecated this back in 0.24, so we can eliminate it in the next release. We ran through our deprecation period full of constant complaints to the users. Now we just fail.
Diffstat (limited to 'lib/puppet')
-rwxr-xr-xlib/puppet/type/exec.rb9
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/puppet/type/exec.rb b/lib/puppet/type/exec.rb
index daa49e223..033183ae7 100755
--- a/lib/puppet/type/exec.rb
+++ b/lib/puppet/type/exec.rb
@@ -211,15 +211,6 @@ module Puppet
end
end
- newparam(:env) do
- desc "This parameter is deprecated. Use 'environment' instead."
-
- munge do |value|
- warning "'env' is deprecated on exec; use 'environment' instead."
- resource[:environment] = value
- end
- end
-
newparam(:environment) do
desc "Any additional environment variables you want to set for a
command. Note that if you use this to set PATH, it will override