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

masterport not honoured when is configured in other section than main

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • PUP 6.19.0
    • PUP 6.19.1
    • None
    • Needs Assessment
    • Bug Fix
    • Hide
      Version `6.19.0` added the `serverport` config as an alias for `masterport`. That change introduced a regression where `masterport` was ignored and set to default value after upgrading to `6.19.0` whenever `masterport` was set in any other section of `puppet.conf` but `main`. This was fixed by making both `masterport` and `serverport` visible in the other sections.
      Show
      Version `6.19.0` added the `serverport` config as an alias for `masterport`. That change introduced a regression where `masterport` was ignored and set to default value after upgrading to `6.19.0` whenever `masterport` was set in any other section of `puppet.conf` but `main`. This was fixed by making both `masterport` and `serverport` visible in the other sections.
    • Needs Assessment

    Description

      https://tickets.puppetlabs.com/browse/PUP-10670 introduced the `serverport` alias for `masterport` and changed Puppet to use it internally instead of `masterport`.

      This introduced the following change in behaviour:

      • when setting `masterport` in any section different than `main`(eg. agent), this is ignored and the default `serverport` value is used.
      • users that have `masterport` set in their configuration, in a different section than `main`(eg. agent), are also affected as Puppet will not pick up the value set for `masterport` and it will use the default `serverport` value.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              gheorghe.popescu Gheorghe Popescu
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support