Commits

Peter Eisentraut committed c323786

Only install locales-all on Debian

  • Participants
  • Parent commits 18ac040

Comments (0)

Files changed (1)

File manifests/pgci.pp

   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
 }