Project

General

Profile

Actions

Bug #19364

open

puppet.conf splay option misplaced in puppet4

Added by Frederic Schaer about 7 years ago. Updated over 6 years ago.

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

Description

Hi,

I just figured out that the “splay” puppet option, set by theforeman/puppet module is “wrong” for puppet4 : this is set in the [agent] section.
However, even if I was unable to find any clue in the puppet docuentation, I just found out that “puppet config print” showed me a “false” value when splay was in the [agent] section, and true when in [main].

This is currently (puppet module version 7.0.2) set in puppet::agent::config, but I believe this should be set in puppet::config where the main section is configured.

(I was hit by clients rushing at the puppetserver after I tried to solve a load issue by restarting all agents... and this off course made things even worse)

Regards

Actions #1

Updated by Frederic Schaer about 7 years ago

update #1 : even if adding the splay option into the main section seems to work better (but I'm not even convinced that's the case .. I manually forced "a splay restart" of my agents using a sleep $RANDOM % 900), it then also causes the manual "puppet apply" subsequent runs to hang apparently because of that splay option... so after all I'm not convinced there is any bug in the modules...

I'm trying to find a way to dump the agent config as it seems to me puppet config print only prints the global config (but not that wich is specific to the agent)...

Actions #2

Updated by Ewoud Kohl van Wijngaarden over 6 years ago

  • Status changed from New to Need more information

Is this still an issue?

Actions #3

Updated by Frederic Schaer over 6 years ago

Hi,

I think so (puppet mod version : 7.1.1, puppetserver-5.1.3-1.el7.noarch) :

# puppet config print splay --section master
false
# puppet config print splay
false
# puppet config print splay --section agent
true

I don’t know if there’s a way to query the running puppetserver for its real config to be 100% sure about this…

Actions

Also available in: Atom PDF