-
Bug
-
Resolution: Duplicate
-
Normal
-
None
-
6.15.0
Description of problem:
The option `-puppet-agent-server-hostname` configured in puppet.conf in [main] the server= keyword. This is used both by the puppet-agent and the puppetserver. Based on the naming of the variable 'puppet-agent...' the value has to be configured in [agent] section and not the main section.
Also, in the [server] section the sever= value can be programmed than with the puppetca hostname. 'puppetserver ca' commnd reads the [server] (or fallsback to [main]) section to find the puppet CA server
Version-Release number of selected component (if applicable):
Red Hat Satellite 6.15
How reproducible:
- satellite-installer \
> --enable-foreman-cli-puppet \
> --enable-foreman-plugin-puppet \
> --enable-puppet \
> --foreman-proxy-puppet true \
> --foreman-proxy-puppetca true \
> --puppet-server true
- satellite-installer --puppet-agent-server-hostname satellite.example.com
- cat /etc/puppetlabs/puppet/puppet.conf
- file managed by puppet
[main]
basemodulepath = /etc/puppetlabs/code/environments/common:/etc/puppetlabs/code/modules:/opt/puppetlabs/puppet/modules:/usr/share/puppet/modules
certname = satellite.example.com
codedir = /etc/puppetlabs/code
environmentpath = /etc/puppetlabs/code/environments
hiera_config = $confdir/hiera.yaml
hostprivkey = $privatekeydir/$certname.pem { mode = 640 }
logdir = /var/log/puppetlabs/puppet
pluginfactsource = puppet:///pluginfacts
pluginsource = puppet:///plugins
privatekeydir = $ssldir/private_keys { group = service }reports = foreman
rundir = /var/run/puppetlabs
server = satellite.example.com
show_diff = false
ssldir = /etc/puppetlabs/puppet/ssl
vardir = /opt/puppetlabs/puppet/cache
[agent]
classfile = $statedir/classes.txt
default_schedules = false
environment = production
localconfig = $vardir/localconfig
masterport = 8140
noop = false
report = true
runinterval = 1800
splay = false
splaylimit = 1800
usecacheonfailure = true
[server]
autosign = /etc/puppetlabs/puppet/autosign.conf
ca = true
certname = satellite.example.com
external_nodes = /etc/puppetlabs/puppet/node.rb
logdir = /var/log/puppetlabs/puppetserver
node_terminus = exec
parser = current
rundir = /var/run/puppetlabs/puppetserver
ssldir = /etc/puppetlabs/puppet/ssl
storeconfigs = false
strict_variables = false
vardir = /opt/puppetlabs/server/data/puppetserver
- relates to
-
SAT-25286 [RFE] Allow managing Satellite from an external Puppetserver
- New