lib/chef-cli/command/export.rb in chef-cli-1.0.3 vs lib/chef-cli/command/export.rb in chef-cli-1.0.6
- old
+ new
@@ -82,9 +82,10 @@
@ui = UI.new
end
def run(params = [])
return 1 unless apply_params!(params)
+
export_service.run
ui.msg("Exported policy '#{export_service.policyfile_lock.name}' to #{export_target}")
unless archive?
ui.msg("")
ui.msg("To converge this system with the exported policy, run:")