Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support for folder created on provision #22

Open
cloutierjo opened this issue May 27, 2014 · 0 comments
Open

support for folder created on provision #22

cloutierjo opened this issue May 27, 2014 · 0 comments

Comments

@cloutierjo
Copy link

I want to mount a folder that is created by the provisionner (puppet) but sshfs is setup before the provisionner.

I then get an error:
==> ssq-ca-liferay: Mounting SSHFS for /opt/liferay-portal to mount
ssq-ca-liferay: Source folder /opt/liferay-portal does not exist, create?
y
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!
mkdir -p /opt/app

Stdout from the command:

Stderr from the command:

mkdir: cannot create directory `/opt/app': Permission denied

What I'd need is the sshfs to kickoff after provisionning. As an alternative having a setting to force the creation of the folder if it didn't exist AND have it created by root if needed would also work.

As a work arround, I currently deactivate sshfs on first vagrant up.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant