diff options
| author | elijah <elijah@riseup.net> | 2012-11-04 11:30:16 -0800 | 
|---|---|---|
| committer | elijah <elijah@riseup.net> | 2012-11-04 11:30:16 -0800 | 
| commit | 08b03669c262fd7ea67c7e2e5e5448a98db4ceef (patch) | |
| tree | 6d08a0ae0fe6e7f8baf49fa58c52e7c0a23911cd /lib/leap_cli/commands | |
| parent | b561a3eadd43218a59650b6255f8d12266b38884 (diff) | |
added automatic secret generation in secrets.json
Diffstat (limited to 'lib/leap_cli/commands')
| -rw-r--r-- | lib/leap_cli/commands/compile.rb | 8 | 
1 files changed, 6 insertions, 2 deletions
| diff --git a/lib/leap_cli/commands/compile.rb b/lib/leap_cli/commands/compile.rb index c5bb93e..9882e6a 100644 --- a/lib/leap_cli/commands/compile.rb +++ b/lib/leap_cli/commands/compile.rb @@ -5,8 +5,12 @@ module LeapCli      desc 'Compile json files to hiera configs'      command :compile do |c|        c.action do |global_options,options,args| -        update_compiled_ssh_configs                     # this must come first, hiera configs import these files. -        manager.export Path.named_path(:hiera_dir)      # generate a hiera .yaml config for each node +        # these must come first +        update_compiled_ssh_configs + +        # export generated files +        manager.export_nodes +        manager.export_secrets        end      end | 
