aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2018-07-11 09:51:32 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2018-07-11 09:51:32 +0200
commit7e8517ec66c39c508142aad729deca96b58d560a (patch)
tree8d30f3cdbfb8603a66bc179ca35e5859c346d478 /modules
parent7cf7f179e94d8a172ec00d14d31e6e2053398823 (diff)
downloadPuppet-7e8517ec66c39c508142aad729deca96b58d560a.tar.gz
Puppet-7e8517ec66c39c508142aad729deca96b58d560a.tar.zst
Puppet-7e8517ec66c39c508142aad729deca96b58d560a.zip
Update boinc
Diffstat (limited to 'modules')
-rw-r--r--modules/profile/manifests/boinc.pp6
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/profile/manifests/boinc.pp b/modules/profile/manifests/boinc.pp
index 79aa85f..b8d77cf 100644
--- a/modules/profile/manifests/boinc.pp
+++ b/modules/profile/manifests/boinc.pp
@@ -3,7 +3,7 @@ class profile::boinc (
3 Optional[String] $rpc_host = undef, 3 Optional[String] $rpc_host = undef,
4) { 4) {
5 unless empty($rpc_host) or empty($rpc_password) { 5 unless empty($rpc_host) or empty($rpc_password) {
6 ensure_packages(["boinc-nox", "lib32-glibc", "lib32-glib2"]) 6 ensure_packages(["boinc-nox", "lib32-glibc", "lib32-glib2"], { ensure => latest })
7 7
8 file { "/var/lib/boinc/gui_rpc_auth.cfg": 8 file { "/var/lib/boinc/gui_rpc_auth.cfg":
9 ensure => present, 9 ensure => present,
@@ -23,6 +23,10 @@ class profile::boinc (
23 } 23 }
24 -> 24 ->
25 service { "boinc": 25 service { "boinc":
26 enable => false,
27 ensure => "stopped",
28 } ->
29 service { "boinc-client":
26 enable => true, 30 enable => true,
27 ensure => "running", 31 ensure => "running",
28 } 32 }