diff options
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 |