summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2021-11-09 12:22:55 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2021-11-09 12:22:55 -0800
commit58a96c583495c1da8073525af718addff7a533b6 (patch)
tree774b1e1cfc6896ff3ec06612bbc1a9ccbe7f382f
parent46abf6cd18175c625babff84043c75be2b81dc64 (diff)
downloadchef-lcg/rekey-resource.tar.gz
Uniq the requested_reporterslcg/rekey-resource
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
-rw-r--r--lib/chef/resource/rekey.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/chef/resource/rekey.rb b/lib/chef/resource/rekey.rb
index f0fedaebc0..e83f99145f 100644
--- a/lib/chef/resource/rekey.rb
+++ b/lib/chef/resource/rekey.rb
@@ -78,6 +78,7 @@ class Chef
action :rekey do
assert_destination_writable!
+ pp put_data
run_context.rest.put("clients/#{node_name}", put_data)
write_key
end