boxen/puppet-boxen

Error: Could not remove existing file

Closed this issue · 2 comments

marr commented

I receive the following notice and errors when I run boxen:

Notice: /Stage[main]//Node[default]/File[/Users/dmarr/src/our-boxen]: Not removing directory; use 'force' to override
Notice: /Stage[main]//Node[default]/File[/Users/dmarr/src/our-boxen]: Not removing directory; use 'force' to override
Error: Could not remove existing file
Error: /Stage[main]//Node[default]/File[/Users/dmarr/src/our-boxen]/ensure: change from directory to link failed: Could not remove existing file

This happens when I run from /opt/boxen/bin/boxen and also from $HOME/src/our-boxen/script. The /opt repo doesn't know about ~/src AFAIK, so what is the cause of this message?

Thanks

How can I reproduce this?

Hi, sorry this languished for so long. If this still an issue, please re-open.