summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHIGUCHI Daisuke <d-higuchi@creationline.com>2015-06-02 19:41:41 +0900
committerHIGUCHI Daisuke <d-higuchi@creationline.com>2015-06-02 19:41:41 +0900
commit0292930ad07bb48accccfbecd3f413c31db96acf (patch)
tree4b842396c9c8767bd961e94df449f4018db4e2e9
parentfdf63f101fd2810ac9159a61fc34f8bb0697bd12 (diff)
downloadchef-zero-0292930ad07bb48accccfbecd3f413c31db96acf.tar.gz
add normal tags with empty array
-rw-r--r--lib/chef_zero/chef_data/data_normalizer.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef_zero/chef_data/data_normalizer.rb b/lib/chef_zero/chef_data/data_normalizer.rb
index ab45d76..f7e87a6 100644
--- a/lib/chef_zero/chef_data/data_normalizer.rb
+++ b/lib/chef_zero/chef_data/data_normalizer.rb
@@ -157,7 +157,7 @@ module ChefZero
node['chef_type'] ||= 'node'
node['chef_environment'] ||= '_default'
node['override'] ||= {}
- node['normal'] ||= {}
+ node['normal'] ||= {"tags" => []}
node['default'] ||= {}
node['automatic'] ||= {}
node['run_list'] ||= []