summaryrefslogtreecommitdiff
path: root/lib/chef/resource
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-10-13 12:38:03 -0700
committerTim Smith <tsmith84@gmail.com>2020-10-13 12:38:03 -0700
commitdd2dbe928b3536a66b69b028846524f43c26470e (patch)
treeedef4abed493b767c850c32862cfd881ea532c0e /lib/chef/resource
parenta204032f13d058b643691ffc7df49c0b5285ba8e (diff)
downloadchef-dd2dbe928b3536a66b69b028846524f43c26470e.tar.gz
Remove run_path
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib/chef/resource')
-rw-r--r--lib/chef/resource/chef_client_config.rb4
-rw-r--r--lib/chef/resource/support/client.erb1
2 files changed, 0 insertions, 5 deletions
diff --git a/lib/chef/resource/chef_client_config.rb b/lib/chef/resource/chef_client_config.rb
index c1b3ba7ccc..b6862dfc91 100644
--- a/lib/chef/resource/chef_client_config.rb
+++ b/lib/chef/resource/chef_client_config.rb
@@ -215,9 +215,6 @@ class Chef
property :file_backup_path, String,
description: "The location in which backup files are stored. If this value is empty, backup files are stored in the directory of the target file"
- property :run_path, String,
- description: "The location where #{ChefUtils::Dist::Infra::PRODUCT} should write the PID file."
-
property :file_staging_uses_destdir, String,
description: "How file staging (via temporary files) is done. When `true`, temporary files are created in the directory in which files will reside. When `false`, temporary files are created under `ENV['TMP']`"
@@ -268,7 +265,6 @@ class Chef
policy_group: new_resource.policy_group,
policy_name: new_resource.policy_name,
report_handlers: format_handler(new_resource.report_handlers),
- run_path: new_resource.run_path,
ssl_verify_mode: new_resource.ssl_verify_mode,
start_handlers: format_handler(new_resource.start_handlers),
additional_config: new_resource.additional_config
diff --git a/lib/chef/resource/support/client.erb b/lib/chef/resource/support/client.erb
index 02e08b4d02..592717b98e 100644
--- a/lib/chef/resource/support/client.erb
+++ b/lib/chef/resource/support/client.erb
@@ -19,7 +19,6 @@
@pid_file
@policy_group
@policy_name
- @run_path
@ssl_verify_mode).each do |prop| -%>
<% next if eval(prop).nil? || eval(prop).empty? -%>
<%=prop.delete_prefix("@") %> = <%= eval(prop).inspect %>