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

PR (2385) naginator not parsing blank parameters

    Details

    • Template:
    • Story Points:
      1
    • Sprint:
      Week 2014-3-12 to 2014-3-19

      Description

      Even though it wrote it, and is valid nagios syntax, The Naginator can not parse this:

          define host {
                  host_name                      gib-proxytest
                  parents
                  hostgroups                     gib
                  use                            linux-server
                  address                        10.3.100.72
                  alias                          proxytest
          }
      

      Where the parents value is blank. It borks with:

          err: Could not prefetch nagios_host provider 'naginator': Could not parse configuration for nagios_host: line 62: syntax error at '
          ' in /etc/nagios/nagios_host.cfg
      

      And then rebuilds the file from scratch every time.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                redmine.exporter redmine.exporter
              • Votes:
                1 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Zendesk Support