From: Silvio Rhatto Date: Wed, 19 May 2010 01:43:00 +0000 (-0300) Subject: Introducing $xorg X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=91159c7c48c1c8d9a2c4f74bbf3eaf61e660a862;p=puppet-nodo.git Introducing $xorg --- 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" ], + } } }