Skip to content

Commit 25ec8ae

Browse files
author
Deepak Tiwari
committed
feat: Enable gitlab_runner alerts
1 parent 838af19 commit 25ec8ae

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# gitlab_runner Error
2+
class monitor::system::service::gitlab_runner (
3+
Boolean $enable = true,
4+
) {
5+
6+
@@monitor::alert { "${title}::error":
7+
enable => $enable,
8+
tag => $::trusted['certname'],
9+
}
10+
}

modules/enableit/profile/manifests/projectmanagement/gitlab_ci_runner.pp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
Eit_types::IPPort $listen_address = '127.254.254.254:63384',
1818
) {
1919

20+
contain monitor::system::service::gitlab_runner
21+
2022
$runners.each |$runner_name, $config| {
2123
$_config = $runner_defaults + $config
2224

0 commit comments

Comments
 (0)