From 91159c7c48c1c8d9a2c4f74bbf3eaf61e660a862 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 18 May 2010 22:43:00 -0300 Subject: Introducing $xorg --- manifests/subsystems/xorg.pp | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'manifests/subsystems') diff --git a/manifests/subsystems/xorg.pp b/manifests/subsystems/xorg.pp index ff4f5e4..5c27bd8 100644 --- a/manifests/subsystems/xorg.pp +++ b/manifests/subsystems/xorg.pp @@ -1,11 +1,13 @@ class xorg { # xorg - file { "/etc/X11/xorg.conf": - ensure => present, - owner => root, - group => root, - mode => 0644, - source => [ "puppet://$server/files/etc/X11/xorg.conf/$hostname", - "puppet://$server/files/etc/X11/xorg.conf.default" ], + if $xorg != false { + file { "/etc/X11/xorg.conf": + ensure => present, + owner => root, + group => root, + mode => 0644, + source => [ "puppet://$server/files/etc/X11/xorg.conf/$hostname", + "puppet://$server/files/etc/X11/xorg.conf.default" ], + } } } -- cgit v1.2.3