Skip to content

Allow webapp icinga checks to work

Antoine R. Dumont requested to merge staging-fix-icinga-check into production

Currently, icinga refuses to start [1] because it does not know the staging webapp Host object (and other dependencies). It indeed no longer knows since it's no longer puppet managed.

This also adapts the icinga checks for the archive.s.o to work (by mentioning where it runs, moma, currently with this patch, icinga no longer complains about it, it does the same error as [1] otherwise).

octo-diff pergamon
diff origin/production/pergamon.softwareheritage.org current/pergamon.softwareheritage.org
*******************************************
+ Concat::Fragment[icinga2::object::Endpoint::webapp.staging.swh.network] =>
   parameters =>
     "content": "\nobject Endpoint \"webapp.staging.swh.network\" {\n  host = \"1...
     "order": 40,
     "target": "/etc/icinga2/zones.d/master/webapp.staging.swh.network.conf"
*******************************************
+ Concat::Fragment[icinga2::object::Host::webapp.staging.swh.network] =>
   parameters =>
     "content": "\nobject Host \"webapp.staging.swh.network\" {\n  display_name =...
     "order": 50,
     "target": "/etc/icinga2/zones.d/master/webapp.staging.swh.network.conf"
*******************************************
  Concat::Fragment[icinga2::object::Service::swh-webapp content end to end for archive.softwareheritage.org] =>
   parameters =>
     content =>
      @@ -3,5 +3,5 @@
         import "generic-service"
      _
      -  host_name = "archive.softwareheritage.org"
      +  host_name = "moma.softwareheritage.org"
         check_command = "http"
         vars.http_address = "archive.softwareheritage.org"
*******************************************
  Concat::Fragment[icinga2::object::Service::swh-webapp content_known for archive.softwareheritage.org] =>
   parameters =>
     content =>
      @@ -3,5 +3,5 @@
         import "generic-service"
      _
      -  host_name = "archive.softwareheritage.org"
      +  host_name = "moma.softwareheritage.org"
         check_command = "http"
         vars.http_address = "archive.softwareheritage.org"
*******************************************
  Concat::Fragment[icinga2::object::Service::swh-webapp counters for archive.softwareheritage.org] =>
   parameters =>
     content =>
      @@ -3,5 +3,5 @@
         import "generic-service"
      _
      -  host_name = "archive.softwareheritage.org"
      +  host_name = "moma.softwareheritage.org"
         check_command = "http"
         vars.http_address = "archive.softwareheritage.org"
*******************************************
  Concat::Fragment[icinga2::object::Service::swh-webapp directory end to end for archive.softwareheritage.org] =>
   parameters =>
     content =>
      @@ -3,5 +3,5 @@
         import "generic-service"
      _
      -  host_name = "archive.softwareheritage.org"
      +  host_name = "moma.softwareheritage.org"
         check_command = "http"
         vars.http_address = "archive.softwareheritage.org"
*******************************************
  Concat::Fragment[icinga2::object::Service::swh-webapp graphql for archive.softwareheritage.org] =>
   parameters =>
     content =>
      @@ -3,5 +3,5 @@
         import "generic-service"
      _
      -  host_name = "archive.softwareheritage.org"
      +  host_name = "moma.softwareheritage.org"
         check_command = "http"
         vars.http_address = "archive.softwareheritage.org"
*******************************************
  Concat::Fragment[icinga2::object::Service::swh-webapp release end to end for archive.softwareheritage.org] =>
   parameters =>
     content =>
      @@ -3,5 +3,5 @@
         import "generic-service"
      _
      -  host_name = "archive.softwareheritage.org"
      +  host_name = "moma.softwareheritage.org"
         check_command = "http"
         vars.http_address = "archive.softwareheritage.org"
*******************************************
  Concat::Fragment[icinga2::object::Service::swh-webapp revision end to end for archive.softwareheritage.org] =>
   parameters =>
     content =>
      @@ -3,5 +3,5 @@
         import "generic-service"
      _
      -  host_name = "archive.softwareheritage.org"
      +  host_name = "moma.softwareheritage.org"
         check_command = "http"
         vars.http_address = "archive.softwareheritage.org"
*******************************************
  Concat::Fragment[icinga2::object::Service::swh-webapp revision log end to end for archive.softwareheritage.org] =>
   parameters =>
     content =>
      @@ -3,5 +3,5 @@
         import "generic-service"
      _
      -  host_name = "archive.softwareheritage.org"
      +  host_name = "moma.softwareheritage.org"
         check_command = "http"
         vars.http_address = "archive.softwareheritage.org"
*******************************************
  Concat::Fragment[icinga2::object::Service::swh-webapp snapshot end to end for archive.softwareheritage.org] =>
   parameters =>
     content =>
      @@ -3,5 +3,5 @@
         import "generic-service"
      _
      -  host_name = "archive.softwareheritage.org"
      +  host_name = "moma.softwareheritage.org"
         check_command = "http"
         vars.http_address = "archive.softwareheritage.org"
*******************************************
+ Concat::Fragment[icinga2::object::Zone::webapp.staging.swh.network] =>
   parameters =>
     "content": "\nobject Zone \"webapp.staging.swh.network\" {\n  endpoints = [ ...
     "order": 45,
     "target": "/etc/icinga2/zones.d/master/webapp.staging.swh.network.conf"
*******************************************
+ Concat[/etc/icinga2/zones.d/master/webapp.staging.swh.network.conf] =>
   parameters =>
     "backup": "puppet",
     "ensure": "present",
     "ensure_newline": false,
     "force": false,
     "format": "plain",
     "group": "nagios",
     "mode": "0640",
     "notify": [
       "Class[Icinga2::Service]"
     ],
     "order": "alpha",
     "owner": "nagios",
     "path": "/etc/icinga2/zones.d/master/webapp.staging.swh.network.conf",
     "replace": true,
     "show_diff": true,
     "tag": "icinga2::config::file",
     "warn": true
*******************************************
+ Concat_file[/etc/icinga2/zones.d/master/webapp.staging.swh.network.conf] =>
   parameters =>
     "backup": "puppet",
     "ensure_newline": false,
     "force": false,
     "format": "plain",
     "group": "nagios",
     "mode": "0640",
     "order": "alpha",
     "owner": "nagios",
     "replace": true,
     "show_diff": true,
     "tag": "_etc_icinga2_zones.d_master_webapp.staging.swh.network.conf"
*******************************************
+ Concat_fragment[/etc/icinga2/zones.d/master/webapp.staging.swh.network.conf_header] =>
   parameters =>
     "content": "# This file is managed by Puppet. DO NOT EDIT.\n",
     "order": "0",
     "tag": "_etc_icinga2_zones.d_master_webapp.staging.swh.network.conf",
     "target": "/etc/icinga2/zones.d/master/webapp.staging.swh.network.conf"
*******************************************
+ Concat_fragment[icinga2::object::Endpoint::webapp.staging.swh.network] =>
   parameters =>
     "content": "\nobject Endpoint \"webapp.staging.swh.network\" {\n  host = \"1...
     "order": 40,
     "tag": "_etc_icinga2_zones.d_master_webapp.staging.swh.network.conf",
     "target": "/etc/icinga2/zones.d/master/webapp.staging.swh.network.conf"
*******************************************
+ Concat_fragment[icinga2::object::Host::webapp.staging.swh.network] =>
   parameters =>
     "content": "\nobject Host \"webapp.staging.swh.network\" {\n  display_name =...
     "order": 50,
     "tag": "_etc_icinga2_zones.d_master_webapp.staging.swh.network.conf",
     "target": "/etc/icinga2/zones.d/master/webapp.staging.swh.network.conf"
*******************************************
  Concat_fragment[icinga2::object::Service::swh-webapp content end to end for archive.softwareheritage.org] =>
   parameters =>
     content =>
      @@ -3,5 +3,5 @@
         import "generic-service"
      _
      -  host_name = "archive.softwareheritage.org"
      +  host_name = "moma.softwareheritage.org"
         check_command = "http"
         vars.http_address = "archive.softwareheritage.org"
*******************************************
  Concat_fragment[icinga2::object::Service::swh-webapp content_known for archive.softwareheritage.org] =>
   parameters =>
     content =>
      @@ -3,5 +3,5 @@
         import "generic-service"
      _
      -  host_name = "archive.softwareheritage.org"
      +  host_name = "moma.softwareheritage.org"
         check_command = "http"
         vars.http_address = "archive.softwareheritage.org"
*******************************************
  Concat_fragment[icinga2::object::Service::swh-webapp counters for archive.softwareheritage.org] =>
   parameters =>
     content =>
      @@ -3,5 +3,5 @@
         import "generic-service"
      _
      -  host_name = "archive.softwareheritage.org"
      +  host_name = "moma.softwareheritage.org"
         check_command = "http"
         vars.http_address = "archive.softwareheritage.org"
*******************************************
  Concat_fragment[icinga2::object::Service::swh-webapp directory end to end for archive.softwareheritage.org] =>
   parameters =>
     content =>
      @@ -3,5 +3,5 @@
         import "generic-service"
      _
      -  host_name = "archive.softwareheritage.org"
      +  host_name = "moma.softwareheritage.org"
         check_command = "http"
         vars.http_address = "archive.softwareheritage.org"
*******************************************
  Concat_fragment[icinga2::object::Service::swh-webapp graphql for archive.softwareheritage.org] =>
   parameters =>
     content =>
      @@ -3,5 +3,5 @@
         import "generic-service"
      _
      -  host_name = "archive.softwareheritage.org"
      +  host_name = "moma.softwareheritage.org"
         check_command = "http"
         vars.http_address = "archive.softwareheritage.org"
*******************************************
  Concat_fragment[icinga2::object::Service::swh-webapp release end to end for archive.softwareheritage.org] =>
   parameters =>
     content =>
      @@ -3,5 +3,5 @@
         import "generic-service"
      _
      -  host_name = "archive.softwareheritage.org"
      +  host_name = "moma.softwareheritage.org"
         check_command = "http"
         vars.http_address = "archive.softwareheritage.org"
*******************************************
  Concat_fragment[icinga2::object::Service::swh-webapp revision end to end for archive.softwareheritage.org] =>
   parameters =>
     content =>
      @@ -3,5 +3,5 @@
         import "generic-service"
      _
      -  host_name = "archive.softwareheritage.org"
      +  host_name = "moma.softwareheritage.org"
         check_command = "http"
         vars.http_address = "archive.softwareheritage.org"
*******************************************
  Concat_fragment[icinga2::object::Service::swh-webapp revision log end to end for archive.softwareheritage.org] =>
   parameters =>
     content =>
      @@ -3,5 +3,5 @@
         import "generic-service"
      _
      -  host_name = "archive.softwareheritage.org"
      +  host_name = "moma.softwareheritage.org"
         check_command = "http"
         vars.http_address = "archive.softwareheritage.org"
*******************************************
  Concat_fragment[icinga2::object::Service::swh-webapp snapshot end to end for archive.softwareheritage.org] =>
   parameters =>
     content =>
      @@ -3,5 +3,5 @@
         import "generic-service"
      _
      -  host_name = "archive.softwareheritage.org"
      +  host_name = "moma.softwareheritage.org"
         check_command = "http"
         vars.http_address = "archive.softwareheritage.org"
*******************************************
+ Concat_fragment[icinga2::object::Zone::webapp.staging.swh.network] =>
   parameters =>
     "content": "\nobject Zone \"webapp.staging.swh.network\" {\n  endpoints = [ ...
     "order": 45,
     "tag": "_etc_icinga2_zones.d_master_webapp.staging.swh.network.conf",
     "target": "/etc/icinga2/zones.d/master/webapp.staging.swh.network.conf"
*******************************************
  File[/etc/bind/keys/local-update] =>
   parameters =>
     content =>
      @@ -2,4 +2,4 @@
       key local-update {
        algorithm hmac-sha256;
      - secret "8ou4cnh005P+DaP9rEhheMjFZtHvlp5l3t3fZHm5jXwYlBbhJMLPd7Xe6+Amnq3qjpvzR+HZtYjy6fgxM25pEg==";
      + secret "pK03NrIVCZXEwmg6QHiPOkK4pyJ3hdYVtCw+GvuRUnP+kRU1/AuQynFTwQKdluNIlFyfjzu/+YzPxVKRlZWPPA==";
       };
*******************************************
  File[/etc/bind/rndc.key] =>
   parameters =>
     content =>
      @@ -2,4 +2,4 @@
       key rndc-key {
        algorithm hmac-md5;
      - secret "l6/padkUMVrtlU7DmmpJCGhu4qWm7uJqTBrjaOkfpJDmPY92FmfjZzCKV9z3BCe56DPaK9iR0+5rXYx314cToQ==";
      + secret "VkEapjoAVdA9Ljw0cKHE7pdH4OyieWHQKlDM6CcgSNeCMBl8Gs/6kANvVeLFyYiJmSR9KuwPEGCwecy9II27uQ==";
       };
*******************************************
+ Icinga2::Object::Endpoint[webapp.staging.swh.network] =>
   parameters =>
     "endpoint_name": "webapp.staging.swh.network",
     "ensure": "present",
     "host": "192.168.100.29",
     "order": 40,
     "target": "/etc/icinga2/zones.d/master/webapp.staging.swh.network.conf"
*******************************************
+ Icinga2::Object::Host[webapp.staging.swh.network] =>
   parameters =>
     "check_command": "dummy",
     "display_name": "webapp.staging.swh.network",
     "ensure": "present",
     "host_name": "webapp.staging.swh.network",
     "import": [

     ],
     "order": 50,
     "target": "/etc/icinga2/zones.d/master/webapp.staging.swh.network.conf",
     "template": false,
     "vars": {
       "os": "Linux",
       "cores": "4",
       "virtual_machine": "true",
       "distro": "Debian",
       "disks": {
         "disk /": {
           "disk_partitions": "/"
         }
       }
     }
*******************************************
  Icinga2::Object::Service[swh-webapp content end to end for archive.softwareheritage.org] =>
   parameters =>
     host_name =>
      - archive.softwareheritage.org
      + moma.softwareheritage.org
*******************************************
  Icinga2::Object::Service[swh-webapp content_known for archive.softwareheritage.org] =>
   parameters =>
     host_name =>
      - archive.softwareheritage.org
      + moma.softwareheritage.org
*******************************************
  Icinga2::Object::Service[swh-webapp counters for archive.softwareheritage.org] =>
   parameters =>
     host_name =>
      - archive.softwareheritage.org
      + moma.softwareheritage.org
*******************************************
  Icinga2::Object::Service[swh-webapp directory end to end for archive.softwareheritage.org] =>
   parameters =>
     host_name =>
      - archive.softwareheritage.org
      + moma.softwareheritage.org
*******************************************
  Icinga2::Object::Service[swh-webapp graphql for archive.softwareheritage.org] =>
   parameters =>
     host_name =>
      - archive.softwareheritage.org
      + moma.softwareheritage.org
*******************************************
  Icinga2::Object::Service[swh-webapp release end to end for archive.softwareheritage.org] =>
   parameters =>
     host_name =>
      - archive.softwareheritage.org
      + moma.softwareheritage.org
*******************************************
  Icinga2::Object::Service[swh-webapp revision end to end for archive.softwareheritage.org] =>
   parameters =>
     host_name =>
      - archive.softwareheritage.org
      + moma.softwareheritage.org
*******************************************
  Icinga2::Object::Service[swh-webapp revision log end to end for archive.softwareheritage.org] =>
   parameters =>
     host_name =>
      - archive.softwareheritage.org
      + moma.softwareheritage.org
*******************************************
  Icinga2::Object::Service[swh-webapp snapshot end to end for archive.softwareheritage.org] =>
   parameters =>
     host_name =>
      - archive.softwareheritage.org
      + moma.softwareheritage.org
*******************************************
+ Icinga2::Object::Zone[webapp.staging.swh.network] =>
   parameters =>
     "endpoints": [
       "webapp.staging.swh.network"
     ],
     "ensure": "present",
     "global": false,
     "order": 45,
     "parent": "master",
     "target": "/etc/icinga2/zones.d/master/webapp.staging.swh.network.conf",
     "zone_name": "webapp.staging.swh.network"
*******************************************
+ Icinga2::Object[icinga2::object::Endpoint::webapp.staging.swh.network] =>
   parameters =>
     "apply": false,
     "assign": [

     ],
     "attrs": {
       "host": "192.168.100.29"
     },
     "attrs_list": [
       "host",
       "port",
       "log_duration",
       "Acknowledgement",
       "ApiBindHost",
       "ApiBindPort",
       "ApiEnvironment",
       "ApplicationType",
       "Array",
       "AttachDebugger",
       "BuildCompilerName",
       "BuildCompilerVersion",
       "BuildHostName",
       "Checkable",
       "Command",
       "Concurrency",
       "ConfigObject",
       "Configuration",
       "Critical",
       "Custom",
       "CustomVarObject",
       "DateTime",
       "Deprecated",
       "Dictionary",
       "Down",
       "DowntimeEnd",
       "DowntimeRemoved",
       "DowntimeStart",
       "Environment",
       "FlappingEnd",
       "FlappingStart",
       "Function",
       "HostDown",
       "HostUp",
       "IncludeConfDir",
       "Internal",
       "Json",
       "LocalStateDir",
       "LogCritical",
       "LogDebug",
       "Logger",
       "LogInformation",
       "LogNotice",
       "LogWarning",
       "Math",
       "MaxConcurrentChecks",
       "ModAttrPath",
       "Namespace",
       "NodeName",
       "OK",
       "ObjectsPath",
       "PerfdataValue",
       "PidPath",
       "PkgDataDir",
       "PlatformArchitecture",
       "PlatformKernel",
       "PlatformKernelVersion",
       "PlatformName",
       "PlatformVersion",
       "PrefixDir",
       "Problem",
       "Recovery",
       "Reference",
       "RunAsGroup",
       "RunAsUser",
       "RunDir",
       "ServiceCritical",
       "ServiceOK",
       "ServiceUnknown",
       "ServiceWarning",
       "StatePath",
       "StreamLogger",
       "SysconfDir",
       "System",
       "Type",
       "Types",
       "Unknown",
       "Up",
       "UseVfork",
       "VarsPath",
       "Warning",
       "ZonesDir",
       "NodeName",
       "ZoneName",
       "TicketSalt",
       "PluginDir",
       "PluginContribDir",
       "ManubulonPluginDir",
       "name",
       "NodeName",
       "ZoneName",
       "TicketSalt",
       "PluginDir",
       "PluginContribDir",
       "ManubulonPluginDir",
       "name"
     ],
     "ensure": "present",
     "ignore": [

     ],
     "import": [

     ],
     "object_name": "webapp.staging.swh.network",
     "object_type": "Endpoint",
     "order": 40,
     "prefix": false,
     "target": "/etc/icinga2/zones.d/master/webapp.staging.swh.network.conf",
     "template": false
*******************************************
+ Icinga2::Object[icinga2::object::Host::webapp.staging.swh.network] =>
   parameters =>
     "apply": false,
     "assign": [

     ],
     "attrs": {
       "display_name": "webapp.staging.swh.network",
       "check_command": "dummy",
       "vars": {
         "os": "Linux",
         "cores": "4",
         "virtual_machine": "true",
         "distro": "Debian",
         "disks": {
           "disk /": {
             "disk_partitions": "/"
           }
         }
       }
     },
     "attrs_list": [
       "address",
       "address6",
       "groups",
       "display_name",
       "check_command",
       "max_check_attempts",
       "check_period",
       "check_timeout",
       "check_interval",
       "retry_interval",
       "enable_notifications",
       "enable_active_checks",
       "enable_passive_checks",
       "enable_event_handler",
       "enable_flapping",
       "enable_perfdata",
       "event_command",
       "flapping_threshold_low",
       "flapping_threshold_high",
       "volatile",
       "zone",
       "command_endpoint",
       "notes",
       "notes_url",
       "action_url",
       "icon_image",
       "icon_image_alt",
       "vars",
       "Acknowledgement",
       "ApiBindHost",
       "ApiBindPort",
       "ApiEnvironment",
       "ApplicationType",
       "Array",
       "AttachDebugger",
       "BuildCompilerName",
       "BuildCompilerVersion",
       "BuildHostName",
       "Checkable",
       "Command",
       "Concurrency",
       "ConfigObject",
       "Configuration",
       "Critical",
       "Custom",
       "CustomVarObject",
       "DateTime",
       "Deprecated",
       "Dictionary",
       "Down",
       "DowntimeEnd",
       "DowntimeRemoved",
       "DowntimeStart",
       "Environment",
       "FlappingEnd",
       "FlappingStart",
       "Function",
       "HostDown",
       "HostUp",
       "IncludeConfDir",
       "Internal",
       "Json",
       "LocalStateDir",
       "LogCritical",
       "LogDebug",
       "Logger",
       "LogInformation",
       "LogNotice",
       "LogWarning",
       "Math",
       "MaxConcurrentChecks",
       "ModAttrPath",
       "Namespace",
       "NodeName",
       "OK",
       "ObjectsPath",
       "PerfdataValue",
       "PidPath",
       "PkgDataDir",
       "PlatformArchitecture",
       "PlatformKernel",
       "PlatformKernelVersion",
       "PlatformName",
       "PlatformVersion",
       "PrefixDir",
       "Problem",
       "Recovery",
       "Reference",
       "RunAsGroup",
       "RunAsUser",
       "RunDir",
       "ServiceCritical",
       "ServiceOK",
       "ServiceUnknown",
       "ServiceWarning",
       "StatePath",
       "StreamLogger",
       "SysconfDir",
       "System",
       "Type",
       "Types",
       "Unknown",
       "Up",
       "UseVfork",
       "VarsPath",
       "Warning",
       "ZonesDir",
       "NodeName",
       "ZoneName",
       "TicketSalt",
       "PluginDir",
       "PluginContribDir",
       "ManubulonPluginDir",
       "name",
       "NodeName",
       "ZoneName",
       "TicketSalt",
       "PluginDir",
       "PluginContribDir",
       "ManubulonPluginDir",
       "name"
     ],
     "ensure": "present",
     "ignore": [

     ],
     "import": [

     ],
     "object_name": "webapp.staging.swh.network",
     "object_type": "Host",
     "order": 50,
     "prefix": false,
     "target": "/etc/icinga2/zones.d/master/webapp.staging.swh.network.conf",
     "template": false
*******************************************
  Icinga2::Object[icinga2::object::Service::swh-webapp content end to end for archive.softwareheritage.org] =>
   parameters =>
     attrs =>
       host_name =>
        - archive.softwareheritage.org
        + moma.softwareheritage.org
*******************************************
  Icinga2::Object[icinga2::object::Service::swh-webapp content_known for archive.softwareheritage.org] =>
   parameters =>
     attrs =>
       host_name =>
        - archive.softwareheritage.org
        + moma.softwareheritage.org
*******************************************
  Icinga2::Object[icinga2::object::Service::swh-webapp counters for archive.softwareheritage.org] =>
   parameters =>
     attrs =>
       host_name =>
        - archive.softwareheritage.org
        + moma.softwareheritage.org
*******************************************
  Icinga2::Object[icinga2::object::Service::swh-webapp directory end to end for archive.softwareheritage.org] =>
   parameters =>
     attrs =>
       host_name =>
        - archive.softwareheritage.org
        + moma.softwareheritage.org
*******************************************
  Icinga2::Object[icinga2::object::Service::swh-webapp graphql for archive.softwareheritage.org] =>
   parameters =>
     attrs =>
       host_name =>
        - archive.softwareheritage.org
        + moma.softwareheritage.org
*******************************************
  Icinga2::Object[icinga2::object::Service::swh-webapp release end to end for archive.softwareheritage.org] =>
   parameters =>
     attrs =>
       host_name =>
        - archive.softwareheritage.org
        + moma.softwareheritage.org
*******************************************
  Icinga2::Object[icinga2::object::Service::swh-webapp revision end to end for archive.softwareheritage.org] =>
   parameters =>
     attrs =>
       host_name =>
        - archive.softwareheritage.org
        + moma.softwareheritage.org
*******************************************
  Icinga2::Object[icinga2::object::Service::swh-webapp revision log end to end for archive.softwareheritage.org] =>
   parameters =>
     attrs =>
       host_name =>
        - archive.softwareheritage.org
        + moma.softwareheritage.org
*******************************************
  Icinga2::Object[icinga2::object::Service::swh-webapp snapshot end to end for archive.softwareheritage.org] =>
   parameters =>
     attrs =>
       host_name =>
        - archive.softwareheritage.org
        + moma.softwareheritage.org
*******************************************
+ Icinga2::Object[icinga2::object::Zone::webapp.staging.swh.network] =>
   parameters =>
     "apply": false,
     "assign": [

     ],
     "attrs": {
       "endpoints": [
         "webapp.staging.swh.network"
       ],
       "parent": "master"
     },
     "attrs_list": [
       "endpoints",
       "parent",
       "Acknowledgement",
       "ApiBindHost",
       "ApiBindPort",
       "ApiEnvironment",
       "ApplicationType",
       "Array",
       "AttachDebugger",
       "BuildCompilerName",
       "BuildCompilerVersion",
       "BuildHostName",
       "Checkable",
       "Command",
       "Concurrency",
       "ConfigObject",
       "Configuration",
       "Critical",
       "Custom",
       "CustomVarObject",
       "DateTime",
       "Deprecated",
       "Dictionary",
       "Down",
       "DowntimeEnd",
       "DowntimeRemoved",
       "DowntimeStart",
       "Environment",
       "FlappingEnd",
       "FlappingStart",
       "Function",
       "HostDown",
       "HostUp",
       "IncludeConfDir",
       "Internal",
       "Json",
       "LocalStateDir",
       "LogCritical",
       "LogDebug",
       "Logger",
       "LogInformation",
       "LogNotice",
       "LogWarning",
       "Math",
       "MaxConcurrentChecks",
       "ModAttrPath",
       "Namespace",
       "NodeName",
       "OK",
       "ObjectsPath",
       "PerfdataValue",
       "PidPath",
       "PkgDataDir",
       "PlatformArchitecture",
       "PlatformKernel",
       "PlatformKernelVersion",
       "PlatformName",
       "PlatformVersion",
       "PrefixDir",
       "Problem",
       "Recovery",
       "Reference",
       "RunAsGroup",
       "RunAsUser",
       "RunDir",
       "ServiceCritical",
       "ServiceOK",
       "ServiceUnknown",
       "ServiceWarning",
       "StatePath",
       "StreamLogger",
       "SysconfDir",
       "System",
       "Type",
       "Types",
       "Unknown",
       "Up",
       "UseVfork",
       "VarsPath",
       "Warning",
       "ZonesDir",
       "NodeName",
       "ZoneName",
       "TicketSalt",
       "PluginDir",
       "PluginContribDir",
       "ManubulonPluginDir",
       "name",
       "NodeName",
       "ZoneName",
       "TicketSalt",
       "PluginDir",
       "PluginContribDir",
       "ManubulonPluginDir",
       "name"
     ],
     "ensure": "present",
     "ignore": [

     ],
     "import": [

     ],
     "object_name": "webapp.staging.swh.network",
     "object_type": "Zone",
     "order": 45,
     "prefix": false,
     "target": "/etc/icinga2/zones.d/master/webapp.staging.swh.network.conf",
     "template": false
*******************************************
  Profile::Swh::Deploy::Webapp::Icinga_checks[archive.softwareheritage.org] =>
   parameters =>
     create_host_name =>
      + false
     host_name =>
      + moma.softwareheritage.org
*******************************************
  Profile::Swh::Deploy::Webapp::Icinga_checks[webapp.staging.swh.network] =>
   parameters =>
     create_host_name =>
      + true
     host_name =>
      + webapp.staging.swh.network
*******************************************
*** End octocatalog-diff on pergamon.softwareheritage.org
+ set +x
/home/tony/work/inria/repo/swh/puppet-environment/swh-site

Refs. swh/infra/sysadm-environment#5095 (closed)

Edited by Antoine R. Dumont

Merge request reports