aboutsummaryrefslogtreecommitdiff
path: root/modules/profile/manifests/boinc.pp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/profile/manifests/boinc.pp')
-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 }