summaryrefslogtreecommitdiff
path: root/lib/leap_cli/config
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2012-11-24 20:22:45 -0800
committerelijah <elijah@riseup.net>2012-11-24 20:22:45 -0800
commit051675c61937f184c555bac3af07be182f0c6acd (patch)
treefd8f900185b0b82b39f71d7b1ec860a20356d295 /lib/leap_cli/config
parentba80599d9230b63b71bfeca45fc89c7f69987723 (diff)
fixed broken `leap list`
Diffstat (limited to 'lib/leap_cli/config')
-rw-r--r--lib/leap_cli/config/manager.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/leap_cli/config/manager.rb b/lib/leap_cli/config/manager.rb
index 3d09e09..39dbcd2 100644
--- a/lib/leap_cli/config/manager.rb
+++ b/lib/leap_cli/config/manager.rb
@@ -229,6 +229,9 @@ module LeapCli
end
# inherit from tags
+ if node.vagrant?
+ node['tags'] = (node['tags'] || []).to_a + ['local']
+ end
if node['tags']
node['tags'].to_a.sort.each do |node_tag|
tag = @tags[node_tag]