aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystem/xorg.pp
blob: da8a06976926f7f59747039d5b3646c5244c57d9 (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 $enable != 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" ],
    }
  }
}