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 puppetfile install ... always runs in force mode, no matter if --force flag is set or not. With this all local modifications will be overwritten by r10k.
Expected Behavior
Refering to the documention, r10k should not overwrite local modifications by default, so I expect modules with local modifications to be skipped from sync.
Steps to Reproduce
Steps to reproduce the behavior:
Modify a local modul
Run r10k puppetfile install --verbose=notice
Environment
3.14.0 (installed via puppet gem)
CentOS7
Additional Context
I'm updating from 3.8.0 to 3.14.0.
After some quick debugging I guess this is the cause. @overrides.dig(:modules, :force) returns nil because the key :modules does not exists in @overrides Hash when using r10k puppetfile install. So force is nil and @force will be set to true.
The text was updated successfully, but these errors were encountered:
Describe the Bug
r10k puppetfile install ...
always runs in force mode, no matter if--force
flag is set or not. With this all local modifications will be overwritten by r10k.Expected Behavior
Refering to the documention, r10k should not overwrite local modifications by default, so I expect modules with local modifications to be skipped from sync.
Steps to Reproduce
Steps to reproduce the behavior:
r10k puppetfile install --verbose=notice
Environment
Additional Context
I'm updating from 3.8.0 to 3.14.0.
After some quick debugging I guess this is the cause.
@overrides.dig(:modules, :force)
returnsnil
because the key:modules
does not exists in@overrides
Hash when using r10k puppetfile install. So force is nil and @force will be set to true.The text was updated successfully, but these errors were encountered: