Ask Your Question
0

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

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

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
:sources:
    puppet:
        basedir: /etc/puppet/environments
        prefix: false
        remote: https://github.com/ULHPC/puppet-public_infrastructure.git
    local
        basedir: /etc/puppet/environments
        prefix: true
        remote: file:///vagrant
    :purgedirs:
        - /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
0

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

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

Stats

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

Seen: 282 times

Last updated: Sep 05 '14