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

r10k ignores PUPPETFILE variable #110

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

r10k ignores PUPPETFILE variable #110

wants to merge 3 commits into from

Conversation

cbergmann
Copy link

Hi,

I tried to change my Puppetfile and the commit hook failed with No such file or directory @ rb_sysopen - /opt/puppetlabs/puppet/cache/puppet.git/Puppetfile. where /opt/puppetlabs/puppet/cache/puppet.git is the pwd of the hook. It also showed a deprecation warning that PUPPETFILE variable is deprected. It seems that it ignores this Variable altogether. I did not find any commandline switch to forcefully give a puppetfile to check. Therefore I used pushd to change to the temporary workingdir and called r10k without parameter to use the default $(pwd)/Puppetfile.

@pillarsdotnet
Copy link

Alternatively, you can run r10k from a subshell.

@yakatz
Copy link
Contributor

yakatz commented Oct 30, 2020

r10k supports a --puppetfile argument now (added a while ago puppetlabs/r10k@a7a8fe0)

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

Successfully merging this pull request may close these issues.

3 participants