1. Peter Eisentraut
  2. pgci

Commits

Peter Eisentraut  committed c323786

Only install locales-all on Debian

  • Participants
  • Parent commits 18ac040
  • Branches master

Comments (0)

Files changed (1)

File manifests/pgci.pp

View file
   source => "file:///usr/share/zoneinfo/Etc/UTC",
 }
 
-package { 'locales-all': }
 
-file { '/etc/default/locale':
-  content => "LANG=en_US.UTF-8\n",
-  require => Package['locales-all'],
+if $operatingsystem == 'Debian' {
+  package { 'locales-all': }
+
+  file { '/etc/default/locale':
+    content => "LANG=en_US.UTF-8\n",
+    require => Package['locales-all'],
+  }
+
+  # FIXME: needs alternative way to set locale on other OS
 }