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

puppet_enterprise::trapperkeeper::console_services should use dest_license_key_path

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: PE 2016.5.1
    • Fix Version/s: None
    • Component/s: Modules
    • Labels:
      None
    • Environment:

      RHEL 7 x86_64, PE 2016.5 LTS

      RHEL7 x86_64, PE 2017.3.5

    • Template:
    • Master Config:
      Monolithic
    • Master OS:
      RHEL 7 (x86_64)
    • Acceptance Criteria:
      Hide

      Set the license_key_path to a module's path (profile/puppetmaster/license.key) and apply, the PE Console license should report the license correctly.

      Show
      Set the license_key_path to a module's path (profile/puppetmaster/license.key) and apply, the PE Console license should report the license correctly.
    • Method Found:
      Needs Assessment
    • QA Risk Assessment:
      Needs Assessment

      Description

      We set

      puppet_enterprise::license_key_path: profile/puppetmaster/license.key
      

      .. which properly worked for "puppet license" but the PE Console showed as unlicensed. We watched the logs and it was trying to find the license in "profile/puppetmaster/license.key" instead of "/etc/puppetlabs/license.key"

      The file that appears to cause this problem is /opt/puppetlabs/puppet/modules/puppet_enterprise/manifests/trapperkeeper/console_services.pp.

      In the version we had, line 32 was:

      $license_key_path = $puppet_enterprise::license_key_path
      

      ... which is the "source" path, instead it should be set to:

      $license_key_path = $puppet_enterprise::params::dest_license_key_path
      

      Which is where the puppet_enterprise::license module puts the license file.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              tommy.mcneely Tommy McNeely
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:

                  Zendesk Support