Ask Your Question

r10k and dynamic local environment with file:/// remote

asked 2014-09-03 14:13:23 -0600

Falkor gravatar image

Hi all,

I'm new to r10k and within a vagrant box, I would like to link one of the environment to a local directory i.e NOT a git branch of the source repository to simplify the tests. I was thus expecting the following syntax to work:

:cachedir: /var/cache/r10k
        basedir: /etc/puppet/environments
        prefix: false
        basedir: /etc/puppet/environments
        prefix: true
        remote: file:///vagrant
        - /etc/puppet/environments

Yet it seems the file:// protocol is not supported.

Is there a way to enable this?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2014-09-05 11:41:51 -0600

Falkor gravatar image

short temporary fix: use a symlink .local which is not purged upon r10k invocation...

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2014-09-03 14:13:23 -0600

Seen: 319 times

Last updated: Sep 05 '14