Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PE 2023.8.0 uses legacy master section in puppet.conf #55

Open
bastelfreak opened this issue Sep 18, 2024 · 0 comments
Open

PE 2023.8.0 uses legacy master section in puppet.conf #55

bastelfreak opened this issue Sep 18, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@bastelfreak
Copy link

bastelfreak commented Sep 18, 2024

Describe the Bug

The [master] section in puppet.conf is deprecated, [server] is the successor. Given the following puppet.conf [server] section without [master] section:

[server]
node_terminus = classifier
storeconfigs = true
storeconfigs_backend = puppetdb
reports = puppetdb
certname = ***
always_retry_plugins = false
disable_i18n = false
versioned_environment_dirs = true
report_configured_environmentpath = true

running the puppet agent produces:

[server]
node_terminus = classifier
storeconfigs = true
storeconfigs_backend = puppetdb
reports = puppetdb
certname = ***
always_retry_plugins = false
disable_i18n = false
versioned_environment_dirs = true
report_configured_environmentpath = true

[master]
node_terminus = classifier
storeconfigs = true
storeconfigs_backend = puppetdb
reports = puppetdb
always_retry_plugins = false
disable_i18n = false
versioned_environment_dirs = true
report_configured_environmentpath = true

agent output:

Notice: /Stage[main]/Puppet_enterprise::Profile::Master::Classifier/Pe_ini_setting[node_terminus]/ensure: created (corrective)
Info: /Stage[main]/Puppet_enterprise::Profile::Master::Classifier/Pe_ini_setting[node_terminus]: Scheduling refresh of Service[pe-puppetserver]
Info: Class[Puppet_enterprise::Profile::Master::Classifier]: Scheduling refresh of Service[pe-puppetserver]
Notice: /Stage[main]/Puppet_enterprise::Profile::Master::Puppetdb/Pe_ini_setting[storeconfigs]/ensure: created (corrective)
Notice: /Stage[main]/Puppet_enterprise::Profile::Master::Puppetdb/Pe_ini_setting[storeconfigs_backend]/ensure: created (corrective)
Notice: /Stage[main]/Puppet_enterprise::Profile::Master::Puppetdb/Pe_ini_subsetting[reports_puppetdb]/ensure: created (corrective)
Info: Class[Puppet_enterprise::Profile::Master::Puppetdb]: Scheduling refresh of Service[pe-puppetserver]
Notice: /Stage[main]/Puppet_enterprise::Master/Pe_ini_setting[puppetserver puppetconf always_retry_plugins]/ensure: created (corrective)
Info: /Stage[main]/Puppet_enterprise::Master/Pe_ini_setting[puppetserver puppetconf always_retry_plugins]: Scheduling refresh of Service[pe-puppetserver]
Notice: /Stage[main]/Puppet_enterprise::Master/Pe_ini_setting[puppetconf disable_i18n setting]/ensure: created (corrective)
Info: /Stage[main]/Puppet_enterprise::Master/Pe_ini_setting[puppetconf disable_i18n setting]: Scheduling refresh of Service[pe-puppetserver]
Notice: /Stage[main]/Puppet_enterprise::Profile::Master/Pe_ini_setting[toggle versioned environment dirs]/ensure: created (corrective)
Info: /Stage[main]/Puppet_enterprise::Profile::Master/Pe_ini_setting[toggle versioned environment dirs]: Scheduling refresh of Service[pe-puppetserver]
Notice: /Stage[main]/Puppet_enterprise::Profile::Master/Pe_ini_setting[set report_configured_environmentpath]/ensure: created (corrective)
Info: /Stage[main]/Puppet_enterprise::Profile::Master/Pe_ini_setting[set report_configured_environmentpath]: Scheduling refresh of Service[pe-puppetserver]
Notice: /Stage[main]/Puppet_enterprise::Master::Puppetserver/Puppet_enterprise::Trapperkeeper::Pe_service[puppetserver]/Service[pe-puppetserver]: Triggered 'refresh' from 7 events

Expected Behavior

Don't write into deprecated sections.

Steps to Reproduce

  • Install PE 2023.8.0
  • rename master section or delete it
  • run puppet agent

Environment

  • EL8
  • PE 2023.8.0

Additional Context

The master section is hardcoded. I would have provided a patch or pull request, but the license doesn't allow it and the git repo is private.

@bastelfreak bastelfreak added the bug Something isn't working label Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant