summaryrefslogtreecommitdiff
path: root/lib/leap_cli/commands/deploy.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/leap_cli/commands/deploy.rb')
-rw-r--r--lib/leap_cli/commands/deploy.rb8
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