class Chef::Knife::RoleConvert
Public Instance Methods
run()
click to toggle source
# File lib/chef/knife/role_convert.rb, line 39 def run if @name_args.length < 1 ui.error("You must supply the name of the role you wish to convert") exit 1 end role = @name_args[0] converter = Chef::RoleConverter.new(role, config) puts converter.generate_recipe end