You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
R10K documentation indicates that it is possible to specify git coordinates in the Puppetfile for each module. However, when attempting this, an error occurs and git checkout does not happen.
Expected Behavior
r10k should pull the requested git ref for the module
Steps to Reproduce
Steps to reproduce the behavior:
Install r10k as per documentation
Create a Puppetfile, eg:
# I know that this is redundant, but it also doesn't work with forksmod'puppetlabs-java',:git=>'https://github.com/puppetlabs/puppetlabs-java.git':branch=>'main'
or
# Specifying a hash also does not workmod'puppetlabs-java',:git=>'https://github.com/puppetlabs/puppetlabs-java.git':commit=>'9255a978bc362f21654b9f9edd9d3d94002208f8'# Also does not work
r10k puppetfile install ERROR -> :branch: "main" === :branch does not return true
or ERROR -> :commit: "9255a978bc362f21654b9f9edd9d3d94002208f8" === :commit does not return true
Environment
r10k Version: tested with 5.0.0, 4.1.0 (installed at /opt/puppetlabs/puppet/bin)
Platform: Redhat 9.4
Puppet 8.10.0
Additional Context
The text was updated successfully, but these errors were encountered:
akomakom
changed the title
R10K "does not return true" error if module specifies branch or commit
R10K "does not return true" error for any git-sourced module in Puppetfile
Dec 31, 2024
Uh oh!
There was an error while loading. Please reload this page.
Describe the Bug
R10K documentation indicates that it is possible to specify git coordinates in the
Puppetfile
for each module. However, when attempting this, an error occurs and git checkout does not happen.Expected Behavior
r10k should pull the requested git ref for the module
Steps to Reproduce
Steps to reproduce the behavior:
or
r10k puppetfile install
ERROR -> :branch: "main" === :branch does not return true
or
ERROR -> :commit: "9255a978bc362f21654b9f9edd9d3d94002208f8" === :commit does not return true
Environment
Additional Context
The text was updated successfully, but these errors were encountered: