summaryrefslogtreecommitdiff
path: root/lib/leap_cli/config/manager.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/leap_cli/config/manager.rb')
-rw-r--r--lib/leap_cli/config/manager.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/leap_cli/config/manager.rb b/lib/leap_cli/config/manager.rb
index b35251a..432ba0b 100644
--- a/lib/leap_cli/config/manager.rb
+++ b/lib/leap_cli/config/manager.rb
@@ -85,6 +85,13 @@ module LeapCli
return node_list
end
+ #
+ # returns a single Config::Object that corresponds to a Node.
+ #
+ def node(name)
+ nodes[name]
+ end
+
private
def load_all_json(pattern, config_type = :class)