Puppet Class: gitlab_ci_runner::service
- Defined in:
-
manifests/service.pp
Summary
Manages the service of Gitlab runner
Overview
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
# File 'manifests/service.pp', line 5
class gitlab_ci_runner::service (
$package_name = $gitlab_ci_runner::package_name,
) {
assert_private()
if $facts['os']['family'] == 'Suse' {
exec { "${gitlab_ci_runner::binary_path} install -u ${gitlab_ci_runner::user}":
creates => '/etc/systemd/system/gitlab-runner.service',
}
}
service { $package_name:
ensure => running,
enable => true,
}
}
|