diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2020-07-29 09:37:42 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2020-07-29 09:37:42 -0700 |
commit | 29206b767a3ada3bb8d07d9429b2409e133d3235 (patch) | |
tree | 17918f04949d4207963ebcdd63a793c14f12c469 | |
parent | 57aa4db67f6c47909cd1b56148ca09eac184764a (diff) | |
download | chef-29206b767a3ada3bb8d07d9429b2409e133d3235.tar.gz |
mark the crazy node cache here as not a public API very clearly
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
-rw-r--r-- | lib/chef/resource/windows_feature_powershell.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/chef/resource/windows_feature_powershell.rb b/lib/chef/resource/windows_feature_powershell.rb index b8a7956358..d165dca959 100644 --- a/lib/chef/resource/windows_feature_powershell.rb +++ b/lib/chef/resource/windows_feature_powershell.rb @@ -182,6 +182,12 @@ class Chef # @return [void] def reload_cached_powershell_data Chef::Log.debug("Caching Windows features available via Get-WindowsFeature.") + + # + # FIXME FIXME FIXME + # The node object should not be used for caching state like this and this is not a public API and may break. + # FIXME FIXME FIXME + # node.override["powershell_features_cache"] = Mash.new node.override["powershell_features_cache"]["enabled"] = [] node.override["powershell_features_cache"]["disabled"] = [] |