summaryrefslogtreecommitdiff
path: root/manifests/service.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/service.pp')
-rw-r--r--manifests/service.pp14
1 files changed, 14 insertions, 0 deletions
diff --git a/manifests/service.pp b/manifests/service.pp
new file mode 100644
index 0000000..8ac2727
--- /dev/null
+++ b/manifests/service.pp
@@ -0,0 +1,14 @@
+# == Class gitlab_ci_multi_runner::service
+#
+# This class is meant to be called from gitlab_ci_multi_runner
+# It ensure the service is running
+#
+class gitlab_ci_multi_runner::service {
+
+ service { $gitlab_ci_multi_runner::service_name:
+ ensure => running,
+ enable => true,
+ hasstatus => true,
+ hasrestart => true,
+ }
+}