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

hiera_http backend: variable changes are not recognized without puppet server restart

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: PUP 3.7.4, PUP 3.7.5, PUP 3.8.1, PUP 4.1.0
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:

      Tested in RHEL6 with Puppet 3.7.4, 3.7.5., 3.8.1 and RHEL7 with Puppet 4.1.0

    • Template:

      Description

      When using hiera_http backend as a datasource, changes of variable values are not recognized in agent / server mode. Only after a puppet server restart the correct value is returned to the calling module.
      Using hiera directly from the command line works fine, using puppet apply also.

      hiera.yaml:

      :backends:

      • http

      :http:
      :host: 192.168.0.205
      :port: 80
      :output: json
      :failure: graceful
      :paths:

      • /wsa/services/rest/% {fqdn}/classes.html
        - /wsa/services/rest/%{fqdn}

        /instances.html

      • /wsa/services/rest/% {fqdn}/customfacts.html
        - /wsa/services/rest/%{fqdn}

        /%

        {appservername}

        .html

      • /wsa/services/rest/% {appservertype}_%{instance_size}.html
        - /wsa/services/rest/%{appservertype}

        .html

      • /wsa/services/rest/common.html

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            jschramm Juergen Schramm
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support