-
Notifications
You must be signed in to change notification settings - Fork 52
Description
Hello,
It's me again! :-)
Looking at the code it appears g10k doesn't support a default_branch keyword nor using a fallback to the control_branch as per:
https://docs.puppet.com/pe/latest/cmgmt_puppetfile.html#set-a-default-branch-for-content-deployment
Set a default branch for content deployment
You can set a default_branch option, which specifies what branch to deploy content from if the given ref, tag, commit, or branch option cannot be resolved and deployed. This is mostly useful when you set branch to the :control_branch value.
If the desired content cannot be resolved and no default branch is given, or if the default branch cannot be resolved, an error is logged and the content is not deployed or updated.
As such, they give the following example (which is pretty much how I use it):
mod 'hieradata',
:git => '[email protected]:organization/hieradata.git',
:branch => :control_branch,
:default_branch => 'master'
Let me know if this is something you plan to support.
Cheers,
Mathieu