lib/gogetit/util.rb in gogetit-0.9.0 vs lib/gogetit/util.rb in gogetit-0.10.0

- old
+ new

@@ -70,15 +70,17 @@ item_file = data_bags_dir+'/'+bag+'/'+item item = item.gsub('.json', '') if JSON.parse(File.read(item_file))['vault'] if items_as_is.include? item run_command( - "knife vault update #{bag} #{item} --json #{item_file} --search '*:*' -M client", + "knife vault update #{bag} #{item} --json #{item_file}"\ + " --search '*:*' -M client", logger ) else run_command( - "knife vault create #{bag} #{item} --json #{item_file} --search '*:*' -M client", + "knife vault create #{bag} #{item} --json #{item_file}"\ + " --search '*:*' -M client", logger ) end run_command( "knife vault refresh #{bag} #{item} --clean-unknown-clients -M client",