aboutsummaryrefslogtreecommitdiff
path: root/manifests/base/desktop.pp
blob: 7dd969ce228db4d96eba73d51025f54b8b7bccfb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
class nodo::base::desktop inherits nodo::base::personal {
  include nodo::utils::desktop

  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',
  }
}