diff options
author | Jeoffrey Bauvin <jeoffrey.bauvin.ext@boursorama.fr> | 2015-10-26 16:03:40 +0100 |
---|---|---|
committer | Jeoffrey Bauvin <jeoffrey.bauvin.ext@boursorama.fr> | 2015-10-26 16:03:40 +0100 |
commit | 5e8435d548be022c83fa9c1895ac294ed700e1bb (patch) | |
tree | bd8a5e9536b424acb6e6a03de791a80806261f27 | |
parent | 86c43f4f127af17861ea874af0a5771cdbedcd44 (diff) |
Add config file
-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], + } } |