aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystems/xorg.pp
blob: f90feff7008eef2f5273d0d9d835ffa41aa92a97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
class xorg($enable = hiera('nodo::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" ],
    }
  }
}