Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-5197

app_management feature switch has no effect when running under puppet-server

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: PUP 4.3.0
    • Component/s: None
    • Labels:
      None
    • Release Notes:
      Not Needed
    • Release Notes Summary:
      Part of new feature

      Description

      When running the master under puppet-server, setting app_management in puppet.conf has no effect, because Puppet::Pops::Parser::Lexer2 is loaded before Puppet[:app_management] has been properly initialized. Therefore, the lexer always behaves as if app mgmt was turned off.

      The proximate cause for this is that puppet-server's puppet/server/master.rb, which is loaded as one of the first things when a JRuby container is initialized, loads puppet/info_service before loading the Puppet config. The info_service in turn instantiates a compiler, and things go sideways from there.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                lutter David Lutterkort
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Zendesk Support