From ad27f5dac1870369abe10e88fbb034ffa391f12c Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 24 Jan 2013 13:18:39 -0200 Subject: Lots of subsystem refactoring; minor node changes --- manifests/subsystems/xorg.pp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'manifests/subsystems/xorg.pp') 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" ], } } -- cgit v1.2.3