Uploaded image for project: 'Puppet Enterprise'
  1. Puppet Enterprise
  2. ENTERPRISE-1164

Not possible to configure jruby_jar setting for pe-puppetserver

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Normal
    • Resolution: Cannot Reproduce
    • None
    • None
    • None
    • None
    • Needs Assessment

    Description

      There is currently no way of setting the JRUBY_JAR setting for pe-puppetserver.

      Currently, the code is set to remove any setting not managed by 

      For example, I set the JRUBY_JAR setting with the following `ini_file` code:

      ini_setting { "Change jruby to 9k":
          ensure  => present,
          setting => 'JRUBY_JAR',
          path    => "/etc/default/pe-puppetserver",
          key_val_separator => '=',
          section => '',
          value   => '"/opt/puppetlabs/server/apps/puppetserver/jruby-9k.jar"',
          show_diff => true,
        } 

      Which sets it correctly:

      Notice: /Stage[main]/Main/Ini_setting[Change jruby to 9k]/ensure: created 

      But then the PE code kicks in, and removes the setting:

      Notice: /Stage[main]/Puppet_enterprise::Master::Puppetserver/Puppet_enterprise::Trapperkeeper::Init_defaults[puppetserver]/Pe_ini_setting[puppetserver initconf jruby_jar]/ensure: removed
      Info: /Stage[main]/Puppet_enterprise::Master::Puppetserver/Puppet_enterprise::Trapperkeeper::Init_defaults[puppetserver]/Pe_ini_setting[puppetserver initconf jruby_jar]: Scheduling refresh of Exec[pe-puppetserver service full restart]
      

      This setting should be exposed via a parameter so it can be set with Puppet code

      Attachments

        Issue Links

          Activity

            People

              ryan Ryan Coleman
              petems Peter Souter
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support