diff options
Diffstat (limited to 'lib/chef/api_client.rb')
-rw-r--r-- | lib/chef/api_client.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/chef/api_client.rb b/lib/chef/api_client.rb index 32e1eee017..4fdac03754 100644 --- a/lib/chef/api_client.rb +++ b/lib/chef/api_client.rb @@ -127,6 +127,11 @@ class Chef api_client.reregister end + def self.reregister(name) + api_client = load(name) + api_client.reregister + end + def self.list(inflate=false) if inflate response = Hash.new |