aboutsummaryrefslogtreecommitdiff
path: root/manifests/base/desktop.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/base/desktop.pp')
-rw-r--r--manifests/base/desktop.pp9
1 files changed, 9 insertions, 0 deletions
diff --git a/manifests/base/desktop.pp b/manifests/base/desktop.pp
index bf9d2fe..7dd969c 100644
--- a/manifests/base/desktop.pp
+++ b/manifests/base/desktop.pp
@@ -4,4 +4,13 @@ class nodo::base::desktop inherits nodo::base::personal {
class { [ 'nodo::subsystem::fstab', 'nodo::subsystem::crypttab' ]:
type => 'desktop',
}
+
+ # Allow regular users to power off the machine (overrides policy kit default configuration)
+ file { '/usr/share/polkit-1/actions/org.freedesktop.consolekit.policy':
+ ensure => present,
+ owner => root,
+ group => root,
+ mode => 0644,
+ source => 'puppet:///modules/nodo/polkit/org.freedesktop.consolekit.policy',
+ }
}