diff options
-rw-r--r-- | manifests/config.pp | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/manifests/config.pp b/manifests/config.pp index f3c3f6c..65b0932 100644 --- a/manifests/config.pp +++ b/manifests/config.pp @@ -2,5 +2,16 @@ # # This class is called from gitlab_ci_multi_runner # -class gitlab_ci_multi_runner::config { +class gitlab_ci_multi_runner::config ( + $concurrent = $gitlab_ci_multi_runner::concurrent, +) { + + file { $::gitlab_ci_multi_runner::config_file: + ensure => present, + owner => $::gitlab_ci_multi_runner::user, + group => $::gitlab_ci_multi_runner::group, + content => template('gitlab_ci_multi_runner/config.toml.erb'), + require => Package[$gitlab_ci_multi_runner::package_name], + notify => Service[$gitlab_ci_multi_runner::service_name], + } } |