summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2017-07-11 15:33:32 -0700
committerTim Smith <tsmith@chef.io>2017-07-11 15:33:32 -0700
commit75ea7892786c0729e2ef4993ecfe86ce7730521a (patch)
treef9f8d959aff55fd31d582a072e7810b123400294
parentbfba9bc70755ec8346aae395bf1398f54b01b9ea (diff)
downloadchef-apt_isms.tar.gz
Move apt only properties into the apt resourceapt_isms
These aren't used on any other package resources. In a world where we auto generate docs the previous location generates bogus docs. Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--lib/chef/resource/apt_package.rb2
-rw-r--r--lib/chef/resource/package.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/resource/apt_package.rb b/lib/chef/resource/apt_package.rb
index 069fefcb2b..9deb5388a0 100644
--- a/lib/chef/resource/apt_package.rb
+++ b/lib/chef/resource/apt_package.rb
@@ -26,6 +26,8 @@ class Chef
provides :package, os: "linux", platform_family: [ "debian" ]
property :default_release, String, desired_state: false
+ property :response_file, String, desired_state: false
+ property :response_file_variables, Hash, default: lazy { {} }, desired_state: false
end
end
diff --git a/lib/chef/resource/package.rb b/lib/chef/resource/package.rb
index 5647f203d2..7e76535e0e 100644
--- a/lib/chef/resource/package.rb
+++ b/lib/chef/resource/package.rb
@@ -37,8 +37,6 @@ class Chef
property :version, [ String, Array ]
property :options, [ String, Array ], coerce: proc { |x| x.is_a?(String) ? x.shellsplit : x }
- property :response_file, String, desired_state: false
- property :response_file_variables, Hash, default: lazy { {} }, desired_state: false
property :source, String, desired_state: false
property :timeout, [ String, Integer ], desired_state: false