aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'manifests')
-rw-r--r--manifests/subsystems/xorg.pp16
1 files changed, 9 insertions, 7 deletions
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" ],
+ }
}
}