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
RE: #53
This seems to bug purging if multiple sources share the same basedir directory and one has disabled prefixing, seems the non-prefixed source remains and the prefixed one gets deleted:
:cachedir: '/var/cache/r10k'
:sources:
:hieradata:
remote: 'git@blabla1.git'
basedir: '/etc/puppet/environments'
prefix: true
:modules:
remote: 'git@blabla2.git'
basedir: '/etc/puppet/environments'
prefix: false
:purgedirs:
- '/etc/puppet/environments'
# Results in:
[R10K::Task::Deployment::PurgeEnvironments - INFO] Purging stale environments from /etc/puppet/environments
[R10K::Task::Deployment::PurgeEnvironments - DEBUG] Stale modules in /etc/puppet/environments: hieradata_dev, hieradata_prod, hieradata_master
[R10K::Task::Deployment::PurgeEnvironments - DEBUG] No stale environments in /etc/puppet/environments
# Leaving:
$ ls /etc/puppet/environments/
dev master prod
I only bring this up because I had trouble getting a modulepath with a prefix working like: [master] modulepath = /etc/puppet/environments/modules_$environment/modules
RE: #53
This seems to bug purging if multiple sources share the same basedir directory and one has disabled prefixing, seems the non-prefixed source remains and the prefixed one gets deleted:
I only bring this up because I had trouble getting a modulepath with a prefix working like:
[master] modulepath = /etc/puppet/environments/modules_$environment/modules
(running latest master version through bundle)
The text was updated successfully, but these errors were encountered: