aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystems/xorg.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-01-24 13:18:39 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-01-24 13:18:39 -0200
commitad27f5dac1870369abe10e88fbb034ffa391f12c (patch)
tree2ec4be14af75dbc7508d490ed552288973e3a006 /manifests/subsystems/xorg.pp
parent9c64cff37985a26f7aac5474928403f2605c588f (diff)
downloadpuppet-nodo-ad27f5dac1870369abe10e88fbb034ffa391f12c.tar.gz
puppet-nodo-ad27f5dac1870369abe10e88fbb034ffa391f12c.tar.bz2
Lots of subsystem refactoring; minor node changes
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" ],
}
}