Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
testing
puppet-icinga2_testing
Commits
00cc2115
Commit
00cc2115
authored
Jan 04, 2017
by
Markus Frosch
Browse files
autorole: Satisfy puppet-lint
parent
47c6f16e
Pipeline
#202
passed with stage
in 44 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
manifests/roles/autorole.pp
View file @
00cc2115
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment