diff options
author | elijah <elijah@riseup.net> | 2012-11-27 01:40:01 -0800 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2012-11-27 01:40:01 -0800 |
commit | b5bf2fe3874f9ce97b36dc37b17ce66270260f03 (patch) | |
tree | 7af8ccce2a3862545f04d91a60fcd8f3104e1342 /lib/leap_cli/commands | |
parent | 051675c61937f184c555bac3af07be182f0c6acd (diff) |
improved logging all around.
Diffstat (limited to 'lib/leap_cli/commands')
-rw-r--r-- | lib/leap_cli/commands/deploy.rb | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/leap_cli/commands/deploy.rb b/lib/leap_cli/commands/deploy.rb index 84c7846..63e6c73 100644 --- a/lib/leap_cli/commands/deploy.rb +++ b/lib/leap_cli/commands/deploy.rb @@ -24,9 +24,11 @@ module LeapCli ssh.leap.chown_root("/srv/leap") # sync hiera conf - ssh.leap.rsync_update do |server| - node = manager.node(server.host) - {:source => Path.named_path([:hiera, node.name]), :dest => "/etc/leap/hiera.yaml"} + ssh.leap.log :updating, "hiera.yaml" do + ssh.leap.rsync_update do |server| + node = manager.node(server.host) + {:source => Path.named_path([:hiera, node.name]), :dest => "/etc/leap/hiera.yaml"} + end end # sync puppet |