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

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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • PUP 4.3.0
    • None
    • None
    • Not Needed
    • 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

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

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support