aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystem/xorg.pp
blob: d6d394caccef10b612fdbe476341f320e1841a6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
class nodo::subsystem::xorg(
  $enable = hiera('nodo::subsystem::xorg::enable', false)
) {
  if $xorg != false {
    file { "/etc/X11/xorg.conf":
      ensure  => present,
      owner   => root,
      group   => root,
      mode    => 0644,
      source  => [ "puppet:///modules/site_nodo/X11/xorg.conf/${::hostname}.${::lsbdistcodename}",
                   "puppet:///modules/site_nodo/X11/xorg.conf/${::hostname}",
                   "puppet:///modules/site_nodo/X11/xorg.conf.default" ],
    }
  }
}