Commit 4df28c96 authored by Andreas Kempe's avatar Andreas Kempe
Browse files

workstation: move slim to own class

There is no need for slim on Shipon. Move it to its own class.
parent 9455f6b6
......@@ -195,33 +195,11 @@ class freebsd::workstation inherits freebsd::base {
mode => '0644',
}
file { '/usr/local/etc/slim.conf':
ensure => file,
source => 'puppet:///modules/freebsd/workstation/slim.conf',
owner => 'root',
group => 'wheel',
mode => '0644',
}
file { '/usr/local/share/slim-lysator/themes/':
ensure => directory,
recurse => true,
source => 'puppet:///modules/freebsd/workstation/slim.themes/',
owner => 'root',
group => 'wheel',
mode => '0644',
}
file_line { 'Enable D-Bus':
path => '/etc/rc.conf',
line => 'dbus_enable="YES"',
}
file_line { 'Enable slim login manager':
path => '/etc/rc.conf',
line => 'slim_enable="YES"',
}
# Set default Xorg keyboard layout to Swedish.
file { '/usr/local/etc/X11/xorg.conf.d/keyboard.conf':
ensure => file,
......
#
class freebsd::workstation::slim {
file { '/usr/local/etc/slim.conf':
ensure => file,
source => 'puppet:///modules/freebsd/workstation/slim.conf',
owner => 'root',
group => 'wheel',
mode => '0644',
}
file { '/usr/local/share/slim-lysator/themes/':
ensure => directory,
recurse => true,
source => 'puppet:///modules/freebsd/workstation/slim.themes/',
owner => 'root',
group => 'wheel',
mode => '0644',
}
file_line { 'Enable slim login manager':
path => '/etc/rc.conf',
line => 'slim_enable="YES"',
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment