Commit 2b13488b authored by Scotty Logan's avatar Scotty Logan
Browse files

using charset variable instead of fixing it as UTF-8

parent cfce1274
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -61,6 +61,7 @@ class base (
  }

  if ($::osfamily != 'Darwin') {

    file { '/etc/localtime':
      ensure  => link,
      owner   => 0,
@@ -77,6 +78,7 @@ class base (
      mode   => '0444',
      source => "puppet:///modules/${module_name}/etc/default/locale",
    }

  } else {

    file { '/etc/localtime':
@@ -95,7 +97,7 @@ class base (
      owner   => 0,
      group   => 0,
      mode    => '0444',
      content => "${locale} UTF-8",
      content => "${locale} ${charset}",
    }

    exec { 'locale-gen':