Project

General

Profile

Actions

Bug #8050

closed

config_version isn't working on directory envs + git repos

Added by Dominic Cleal over 9 years ago. Updated over 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Foreman modules
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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.


Related issues 1 (0 open1 closed)

Related to Installer - Bug #8616: Warning: Setting config_version is deprecated in puppet.conf.Resolved12/08/2014Actions
Actions #1

Updated by Dominic Cleal over 9 years ago

  • Related to Bug #8616: Warning: Setting config_version is deprecated in puppet.conf. added
Actions #2

Updated by Ewoud Kohl van Wijngaarden over 6 years ago

  • Status changed from New to Resolved

Fixed in 97b6a6f1bd0e18c19fe52a92232914debafbb4ef

Actions

Also available in: Atom PDF