Actions
Bug #15130
closedPuppet environment retriever set to config_file, not API when using "environmentpath"
Description
On a Puppet 3.8.7 installation using directory environments (and environmentpath
), the config file environment retriever is being selected instead of the API retriever.
D, [2016-05-23T07:21:38.659910 #10700] DEBUG -- : 'puppet' settings: 'enabled': https, 'puppet_version': 3.8.7, 'use_provider': [:puppet_proxy_legacy] D, [2016-05-23T07:21:38.660065 #10700] DEBUG -- : Providers ['puppet_proxy_legacy'] are going to be configured for 'puppet' D, [2016-05-23T07:21:39.046652 #10700] DEBUG -- : 'puppet_proxy_legacy' settings: 'classes_retriever': cached_legacy_parser, 'environments_retriever': config_file, 'puppet_conf': /etc/puppet/puppet.conf, 'puppet_ssl_ca': /var/lib/puppet/ssl/certs/ca.pem, 'puppet_ssl_cert ': /var/lib/puppet/ssl/certs/foreman.example.com.pem, 'puppet_ssl_key': /var/lib/puppet/ssl/private_keys/foreman.example.com.pem, 'puppet_url': https://foreman.example.com:8140, 'puppet_version': 3.8.7, 'use_cache': true, 'use_provider': [:puppet_proxy_legacy] ... W, [2016-05-23T07:20:37.269494 #8521] WARN -- : No environments found - falling back to defaults (production - /etc/puppet/modules) I, [2016-05-23T07:20:37.270246 #8521] INFO -- : 127.0.0.1 - - [23/May/2016:07:20:37 +0000] "GET /puppet/environments HTTP/1.1" 200 14 0.0110 W, [2016-05-23T07:20:37.370079 #8521] WARN -- : No environments found - falling back to defaults (production - /etc/puppet/modules) I, [2016-05-23T07:20:37.370830 #8521] INFO -- : 127.0.0.1 - - [23/May/2016:07:20:37 +0000] "GET /puppet/environments/production/classes HTTP/1.1" 200 2 0.0140
puppet.conf:
[main] # Where Puppet's general dynamic and/or growing data is kept vardir = /var/lib/puppet # The Puppet log directory. # The default value is '$vardir/log'. logdir = /var/log/puppet # Where Puppet PID files are kept. # The default value is '$vardir/run'. rundir = /var/run/puppet # Where SSL certificates are kept. # The default value is '$confdir/ssl'. ssldir = /var/lib/puppet/ssl # Allow services in the 'puppet' group to access key (Foreman + proxy) privatekeydir = $ssldir/private_keys { group = service } hostprivkey = $privatekeydir/$certname.pem { mode = 640 } show_diff = false ## Server config reports = foreman environmentpath = /etc/puppet/environments basemodulepath = /etc/puppet/environments/common:/etc/puppet/modules:/usr/share/puppet/modules hiera_config = $confdir/hiera.yaml [..]
Updated by Dominic Cleal over 8 years ago
- Related to Feature #13667: puppet_proxy and puppetca modules load puppet gem in puppet 4.0 and higher environments added
Updated by Anonymous over 8 years ago
- Status changed from New to Assigned
- Assignee set to Anonymous
Updated by The Foreman Bot over 8 years ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/smart-proxy/pull/422 added
Updated by Anonymous over 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 185cfbb776aa272699895258a8d3e90a3d15dfaa.
Actions