Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fall back to json file loader

  • Loading branch information...
commit a20ce4eea707a34bfbe8ba16fe7dd60fec388a50 1 parent 4f1ebc9
@jtimberman authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/chef/knife/dwim.rb
View
2  lib/chef/knife/dwim.rb
@@ -58,7 +58,7 @@ def run
when /^data.bags\/(\w+)\/.*\.ya?ml$/
run_knife(Chef::Knife::DataBagFromYaml, $1, path.basename)
when /^data.bags\/(\w+)\//
- run_knife(Chef::Knife::DataBagFromYaml, $1, path.basename)
+ run_knife(Chef::Knife::DataBagFromFile, $1, path.basename)
else
ui.error "Don't know what to do with #{pn}."
end

1 comment on commit a20ce4e

@miketheman

+1 for this. Any update?

Please sign in to comment.
Something went wrong with that request. Please try again.