summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorThom May <thom@may.lt>2016-07-19 18:25:15 +0100
committerGitHub <noreply@github.com>2016-07-19 18:25:15 +0100
commit1090da1b34b6bbff51bbac88a575bbbc753f3072 (patch)
tree871d009aa692c166115082ed9c2c457b52bddbca /lib
parent1b1bc10628de4e109e3451a90069798ce7a2da98 (diff)
parent0292930ad07bb48accccfbecd3f413c31db96acf (diff)
downloadchef-zero-1090da1b34b6bbff51bbac88a575bbbc753f3072.tar.gz
Merge pull request #139 from cl-lab-k/add_normal_tags
add normal tags with empty array
Diffstat (limited to 'lib')
-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 da3802d..e819f1d 100644
--- a/lib/chef_zero/chef_data/data_normalizer.rb
+++ b/lib/chef_zero/chef_data/data_normalizer.rb
@@ -163,7 +163,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'] ||= []