diff options
author | Axel Amigo Arnold <axl89@users.noreply.github.com> | 2020-12-19 13:03:19 +0100 |
---|---|---|
committer | Axel Amigo Arnold <axl89@users.noreply.github.com> | 2020-12-19 13:39:51 +0100 |
commit | 172dfbea5995a39da3842f6e340b4c8b5640fa8b (patch) | |
tree | efa5d8a6f09de50513ceec9517a603cd0d8a9cd8 | |
parent | 571133125620669c4477c3a6c8bd7bfa36b58231 (diff) | |
download | chef-172dfbea5995a39da3842f6e340b4c8b5640fa8b.tar.gz |
Fixed cron_d resource ignoring sensitive property
Signed-off-by: Axel Amigo <axl89@users.noreply.github.com>
(cherry picked from commit fcb06a126aae91e65ea9e050c8ad8d0c6f5be06e)
-rw-r--r-- | lib/chef/resource/cron/cron_d.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/chef/resource/cron/cron_d.rb b/lib/chef/resource/cron/cron_d.rb index 6262ef453a..7fea6ac76d 100644 --- a/lib/chef/resource/cron/cron_d.rb +++ b/lib/chef/resource/cron/cron_d.rb @@ -160,6 +160,7 @@ class Chef source ::File.expand_path("../support/cron.d.erb", __dir__) local true mode new_resource.mode + sensitive new_resource.sensitive variables( name: sanitized_name, predefined_value: new_resource.predefined_value, |