diff options
author | elijah <elijah@riseup.net> | 2014-06-27 17:19:51 -0700 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2014-06-27 17:19:51 -0700 |
commit | 09a82209f3a40e75caf966ba41b17da1a9ced146 (patch) | |
tree | 586cfdff7b8d42736ab6559c917b9d2fce4b130c /lib/leap_cli/commands/pre.rb | |
parent | 6da0270db08f734f2d586a0fc957875e86485549 (diff) |
leap list improvements: lazy evaluation; don't bomb on ConfigError; remove requirements.rb
Diffstat (limited to 'lib/leap_cli/commands/pre.rb')
-rw-r--r-- | lib/leap_cli/commands/pre.rb | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/lib/leap_cli/commands/pre.rb b/lib/leap_cli/commands/pre.rb index 4b62b5b..835eada 100644 --- a/lib/leap_cli/commands/pre.rb +++ b/lib/leap_cli/commands/pre.rb @@ -32,11 +32,6 @@ module LeapCli; module Commands # set verbosity # LeapCli.log_level = global[:verbose].to_i - if LeapCli.log_level > 1 - ENV['GLI_DEBUG'] = "true" - else - ENV['GLI_DEBUG'] = "false" - end # # load Leapfile @@ -68,18 +63,7 @@ module LeapCli; module Commands log_version LeapCli.log_in_color = global[:color] - # - # load all the nodes everything - # - manager - - # - # check requirements - # - REQUIREMENTS.each do |key| - assert_config! key - end - + true end private |