Commit 00cc2115 authored by Markus Frosch's avatar Markus Frosch
Browse files

autorole: Satisfy puppet-lint

parent 47c6f16e
Pipeline #202 passed with stage
in 44 seconds
...@@ -8,9 +8,10 @@ class icinga2_testing::roles::autorole ...@@ -8,9 +8,10 @@ class icinga2_testing::roles::autorole
notice("Running autorole in instance=${::icingatest_instance} - role=${::icingatest_role} - hostno=${::icingatest_hostno}") notice("Running autorole in instance=${::icingatest_instance} - role=${::icingatest_role} - hostno=${::icingatest_hostno}")
# check config that has to be present in hiera # check config that has to be present in hiera
$_UNUSED_endpoint_config = hiera('icinga2::feature::api::endpoints') # actual values are unused
$_UNUSED_zones_config = hiera('icinga2::feature::api::zones') hiera('icinga2::feature::api::endpoints')
$_UNUSED_repo_version = hiera('icinga2_testing::profiles::repository::version') hiera('icinga2::feature::api::zones')
hiera('icinga2_testing::profiles::repository::version')
if $::icingatest_role == 'master' { if $::icingatest_role == 'master' {
validate_integer($::icingatest_hostno) validate_integer($::icingatest_hostno)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment