aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystems/xorg.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-05-18 22:43:00 -0300
committerSilvio Rhatto <rhatto@riseup.net>2010-05-18 22:43:00 -0300
commit91159c7c48c1c8d9a2c4f74bbf3eaf61e660a862 (patch)
treea504dda9d8274370a8b561f870228d21661a0dd8 /manifests/subsystems/xorg.pp
parenteda407ab3dff534d04a37c1c783081a39c4d0492 (diff)
downloadpuppet-nodo-91159c7c48c1c8d9a2c4f74bbf3eaf61e660a862.tar.gz
puppet-nodo-91159c7c48c1c8d9a2c4f74bbf3eaf61e660a862.tar.bz2
Introducing $xorg
Diffstat (limited to 'manifests/subsystems/xorg.pp')
-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" ],
+ }
}
}