aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystems/xorg.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/subsystems/xorg.pp')
-rw-r--r--manifests/subsystems/xorg.pp6
1 files changed, 3 insertions, 3 deletions
diff --git a/manifests/subsystems/xorg.pp b/manifests/subsystems/xorg.pp
index 0d92cec..f90feff 100644
--- a/manifests/subsystems/xorg.pp
+++ b/manifests/subsystems/xorg.pp
@@ -1,12 +1,12 @@
-class xorg {
- # xorg
+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",
+ 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" ],
}
}