diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2019-05-23 13:08:33 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2019-05-23 13:11:06 -0700 |
commit | ace17c29b95c118b76f3d5440b614c0075992e0c (patch) | |
tree | 90bf327569cf15aa48f354623464e04f9f666815 /lib/chef/resource/apt_package.rb | |
parent | f5de2c58ea3705a20a6784251a3cd8a58618f24d (diff) | |
download | chef-ace17c29b95c118b76f3d5440b614c0075992e0c.tar.gz |
Better target mode shell_outlcg/better-target-mode-shell-out
- integrates target-mode fully with shell_out
- removes the train_or_shellout mixin
- apt_package is now fully supported in target-mode
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'lib/chef/resource/apt_package.rb')
-rw-r--r-- | lib/chef/resource/apt_package.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/chef/resource/apt_package.rb b/lib/chef/resource/apt_package.rb index c142c142ce..dace0add45 100644 --- a/lib/chef/resource/apt_package.rb +++ b/lib/chef/resource/apt_package.rb @@ -22,7 +22,8 @@ class Chef class Resource class AptPackage < Chef::Resource::Package resource_name :apt_package - provides :package, platform_family: "debian" + provides :apt_package, target_mode: true + provides :package, platform_family: "debian", target_mode: true description "Use the apt_package resource to manage packages on Debian and Ubuntu platforms." |