summaryrefslogtreecommitdiff
path: root/manifests/service.pp
diff options
context:
space:
mode:
authorJeoffrey Bauvin <jeoffrey.bauvin.ext@boursorama.fr>2015-10-26 11:52:35 +0100
committerJeoffrey Bauvin <jeoffrey.bauvin.ext@boursorama.fr>2015-10-26 11:52:35 +0100
commit9e34914cc75d5c8199538abcae59a486a2282eb3 (patch)
tree862e2ad188985ab31cfbfc17ec0f6d2f2a732e00 /manifests/service.pp
parente1146e11669136fb06e53112a8db9d674130a6f9 (diff)
Add skeleton
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,
+ }
+}