Merge pull request #85 from boztek/nuke-delete-receipts

Fix script/nuke to properly delete receipts
This commit is contained in:
Will Farrington 2013-02-28 20:02:39 -08:00
commit 3a6e8ee440

View file

@ -54,7 +54,8 @@ end
if all || receipts
warn "-> Removing /var/db/.puppet_*."
system "rm", "-rf", "/var/db/.puppet_*" if force
# can't use a bare system call here, because we need globbing.
system 'sh -c "rm -rf /var/db/.puppet_*"' if force
end
if all || gitconfig