aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystem/xorg.pp
blob: 575ec69a8133f439b831311fd937d580d070c618 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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" ],
    }
  }
}