summaryrefslogtreecommitdiff
path: root/manifests/params.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/params.pp')
-rw-r--r--manifests/params.pp20
1 files changed, 20 insertions, 0 deletions
diff --git a/manifests/params.pp b/manifests/params.pp
new file mode 100644
index 0000000..775c3ef
--- /dev/null
+++ b/manifests/params.pp
@@ -0,0 +1,20 @@
+# == Class gitlab_ci_multi_runner::params
+#
+# This class is meant to be called from gitlab_ci_multi_runner
+# It sets variables according to platform
+#
+class gitlab_ci_multi_runner::params {
+ case $::osfamily {
+ 'Debian': {
+ $package_name = 'gitlab_ci_multi_runner'
+ $service_name = 'gitlab_ci_multi_runner'
+ }
+ 'RedHat', 'Amazon': {
+ $package_name = 'gitlab_ci_multi_runner'
+ $service_name = 'gitlab_ci_multi_runner'
+ }
+ default: {
+ fail("${::operatingsystem} not supported")
+ }
+ }
+}