summaryrefslogtreecommitdiff
path: root/modules/profiles/manifests/workstation.pp
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2022-01-04 02:53:57 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2022-01-04 02:57:31 +0100
commit43f21715007319b6fac3c417fe5a9985c4246d6d (patch)
tree03ecf3b924adb264d8fde3458883ca0af4c3e1de /modules/profiles/manifests/workstation.pp
parentRemaining stuff on gandalf. (diff)
downloadwebdav_server-43f21715007319b6fac3c417fe5a9985c4246d6d.tar.gz
webdav_server-43f21715007319b6fac3c417fe5a9985c4246d6d.tar.xz
changes
Diffstat (limited to '')
-rw-r--r--modules/profiles/manifests/workstation.pp36
1 files changed, 2 insertions, 34 deletions
diff --git a/modules/profiles/manifests/workstation.pp b/modules/profiles/manifests/workstation.pp
index 2e44016..cfc413e 100644
--- a/modules/profiles/manifests/workstation.pp
+++ b/modules/profiles/manifests/workstation.pp
@@ -1,4 +1,5 @@
-class profiles::workstation {
+class profiles::workstation (
+) {
$os = $facts['os']['name'].downcase()
include "::profiles::workstation::${os}"
@@ -111,39 +112,6 @@ class profiles::workstation {
| EOF
}
- $locales = [
- 'en_DK.UTF-8 UTF-8',
- 'en_US.UTF-8 UTF-8',
- 'en_GB.UTF-8 UTF-8',
- 'sv_SE.UTF-8 UTF-8',
- 'sv_SE.ISO-8859-1 ISO-8859-1',
- '',
- ]
-
- # TODO possibly check in /usr/share/i18n/locales if file exists
- # there
-
- file { '/etc/locale.gen':
- content => $locales.join("\n")
- } ~> exec { 'locale-gen':
- path => [ '/bin', '/usr/bin', ],
- refreshonly => true,
- }
-
- file { 'Default locales':
- path => '/etc/locale.conf',
- content => @(EOF)
- LANG=en_US.UTF-8
- LC_TIME=sv_SE.UTF-8
- | EOF
- }
-
- $timezone = 'Europe/Stockholm'
-
- file { '/etc/localtime':
- ensure => link,
- target => "/usr/share/zoneinfo/${timezone}",
- }
systemd_mount { '/usr/net':
what => 'elrond:/files',