diff options
author | elijah <elijah@riseup.net> | 2013-02-08 23:42:07 -0800 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2013-02-08 23:42:07 -0800 |
commit | b8c25277760e209bff866b70e1b1cc996ed2b806 (patch) | |
tree | 4e4da32560980f58304d69297683272256a38804 /lib/leap_cli/config | |
parent | ea02733096ae1460df7cf24af3aeec9fc594e4d8 (diff) |
improve `leap node add` by auto creating cert and validating ip_address
Diffstat (limited to 'lib/leap_cli/config')
-rw-r--r-- | lib/leap_cli/config/manager.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/leap_cli/config/manager.rb b/lib/leap_cli/config/manager.rb index 5a82526..79a5c0e 100644 --- a/lib/leap_cli/config/manager.rb +++ b/lib/leap_cli/config/manager.rb @@ -158,6 +158,10 @@ module LeapCli nodes.each_node &block end + def reload_node(node) + @nodes[node.name] = apply_inheritance(node) + end + private def load_all_json(pattern, object_class) |