class Chef::Knife::ConfigGetProfile
Public Instance Methods
configure_chef()
click to toggle source
Disable normal config loading since this shouldn't fail if the profile doesn't exist of the config is otherwise corrupted.
# File lib/chef/knife/config_get_profile.rb, line 27 def configure_chef apply_computed_config end
run()
click to toggle source
# File lib/chef/knife/config_get_profile.rb, line 31 def run ui.msg(self.class.config_loader.credentials_profile(config[:profile])) end