Actions
Bug #8050
closedconfig_version isn't working on directory envs + git repos
Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Foreman modules
Target version:
-
Description
When specifying --puppet-server-git-repo=true on a recent Puppet version that enables directory environments results in this puppet.conf setup:
[master] environmentpath = /etc/puppet/environments basemodulepath = /etc/puppet/environments/common:/etc/puppet/modules:/usr/share/puppet/modules config_version = git --git-dir /etc/puppet/environments/$environment/.git describe --all --long
However using config_version here isn't valid.
Warning: Setting config_version is deprecated in puppet.conf. See http://links.puppetlabs.com/env-settings-deprecations (at /usr/share/ruby/vendor_ruby/puppet/settings.rb:1119:in `issue_deprecation_warning')
I can't see a way to set config_version globally any more, so we may have to generate environment.conf files. If we do, the post-receive should probably copy or generate environment.conf when setting up new environments.
Updated by Dominic Cleal over 9 years ago
- Related to Bug #8616: Warning: Setting config_version is deprecated in puppet.conf. added
Updated by Ewoud Kohl van Wijngaarden over 6 years ago
- Status changed from New to Resolved
Fixed in 97b6a6f1bd0e18c19fe52a92232914debafbb4ef
Actions