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

After upgrade from 3.3.2-1 to 3.4.2-1 naginator fails to create config from exported resources taken from hiera

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • PUP 3.4.2
    • PUP 3.7.0
    • None
    • ubuntu 12.04
      hiera 1.3.1-1
      puppet / puppetmaster 3.4.2-1

    • 0
    • 2014-09-03

    Description

      gtAfter upgrade from 3.3.2-1 to 3.4.2-1 naginator fails to create config from exported resources, data taken from hiera.

      When hiera has the following data:
      "check_apt_security" :

      { "check_command" : "check_nrpe_1arg!check_apt_security", "contact_groups" : "sladmins", "normal_check_interval" : 10, "retry_check_interval" : 30, "max_check_attempts" : 3, "notification_interval" : 1440, "notifications_enabled" : 1 }

      Error: /Stage[main]/Nagios::Base/Nagios_service[xxxx]: Could not evaluate: private method `sub' called for 1:Fixnum
      Which clearly indicates that variable is not a string.

      When I quote integers in the hiera json file everything works fine, not sure if this is hiera or puppet naginator problem.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              fluential Michał Czerwiński
              Eric Thompson Eric Thompson
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support