summaryrefslogtreecommitdiff
path: root/lib/leap_cli/commands/node.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/leap_cli/commands/node.rb')
-rw-r--r--lib/leap_cli/commands/node.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/leap_cli/commands/node.rb b/lib/leap_cli/commands/node.rb
index 142c0766..a23661b3 100644
--- a/lib/leap_cli/commands/node.rb
+++ b/lib/leap_cli/commands/node.rb
@@ -29,7 +29,7 @@ module LeapCli; module Commands
assert_files_missing! [:node_config, name]
# create and seed new node
- node = Config::Node.new(manager)
+ node = Config::Node.new(manager.env)
if options[:local]
node['ip_address'] = pick_next_vagrant_ip_address
end
@@ -118,7 +118,6 @@ module LeapCli; module Commands
# values in the template will not override existing node values.
#
def seed_node_data_from_template(node)
- return unless manager.respond_to?(:template)
node.inherit_from!(manager.template('common'))
[node['services']].flatten.each do |service|
if service