Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
puppet-icinga2_testing
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
15
Issues
15
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
testing
puppet-icinga2_testing
Commits
8c759b26
Commit
8c759b26
authored
Dec 08, 2016
by
Markus Frosch
📣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
autorole: Avoid problems with future parser
Facts are not comparable to integers, they are strings...
parent
403aef33
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
manifests/roles/autorole.pp
manifests/roles/autorole.pp
+3
-1
No files found.
manifests/roles/autorole.pp
View file @
8c759b26
...
...
@@ -12,8 +12,10 @@ class icinga2_testing::roles::autorole
$repo_version
=
hiera
(
'icinga2_testing::profiles::repository::version'
)
if
$::icingatest_role
==
'master'
{
validate_integer
(
$::icingatest_hostno
)
include
::icinga2_testing::roles::master
if
$::icingatest_hostno
==
1
{
if
$::icingatest_hostno
==
'1'
or
$::icingatest_hostno
==
1
{
include
::icinga2_testing::roles::master_config
}
}
...
...
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