aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystem/xorg.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/subsystem/xorg.pp')
-rw-r--r--manifests/subsystem/xorg.pp13
1 files changed, 13 insertions, 0 deletions
diff --git a/manifests/subsystem/xorg.pp b/manifests/subsystem/xorg.pp
new file mode 100644
index 0000000..575ec69
--- /dev/null
+++ b/manifests/subsystem/xorg.pp
@@ -0,0 +1,13 @@
+class nodo::subsystem::xorg($enable = hiera('nodo::subsystem::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}.${::lsbdistcodename}",
+ "puppet:///modules/site_nodo/X11/xorg.conf/${::hostname}",
+ "puppet:///modules/site_nodo/X11/xorg.conf.default" ],
+ }
+ }
+}