From 51163ca3a3b551c649d205df3d413eeddc2f9bf9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A2u=20Cao?= Date: Fri, 21 Oct 2022 10:46:16 +0200 Subject: [PATCH] Whitelist Chef attributes for newer client versions --- .chef/config.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.chef/config.rb b/.chef/config.rb index 0609bb3..d2935d0 100644 --- a/.chef/config.rb +++ b/.chef/config.rb @@ -25,6 +25,9 @@ knife[:automatic_attribute_whitelist] = %w[ cloud_v2 chef_packages ] + knife[:default_attribute_whitelist] = [] -knife[:normal_attribute_whitelist] = ['knife_zero','kosmos-ejabberd'] +knife[:normal_attribute_whitelist] = ['knife_zero', 'kosmos_kvm', 'kosmos-ejabberd'] knife[:override_attribute_whitelist] = [] + +knife[:allowed_normal_attributes] = ['knife_zero', 'kosmos_kvm', 'kosmos-ejabberd']