lib/supply_drop.rb in supply_drop-0.10.1 vs lib/supply_drop.rb in supply_drop-0.10.2
- old
+ new
@@ -134,11 +134,11 @@
def _lock
if puppet_lock_file
run <<-GETLOCK
if [ ! -f #{puppet_lock_file} ]; then
touch #{puppet_lock_file};
- mkdir -p #{remote_puppet_destination};
- chmod o+w #{remote_puppet_destination};
+ mkdir -p #{puppet_destination};
+ chmod o+w #{puppet_destination};
else
stat -c "#{_red_text("Puppet in progress, #{puppet_lock_file} owned by %U since %x")}" #{puppet_lock_file} >&2;
exit 1;
fi
GETLOCK