diff --git a/manifests/service.pp b/manifests/service.pp index d1d08bf..5f73cf7 100644 --- a/manifests/service.pp +++ b/manifests/service.pp @@ -7,6 +7,11 @@ ) { 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,