]> git.immae.eu Git - perso/Immae/Projets/Puppet.git/commitdiff
Prevent Gettext warning
authorIsmaël Bouya <ismael.bouya@normalesup.org>
Sun, 17 Sep 2017 20:59:01 +0000 (22:59 +0200)
committerIsmaël Bouya <ismael.bouya@normalesup.org>
Sun, 17 Sep 2017 22:22:19 +0000 (00:22 +0200)
modules/base_installation/manifests/puppet.pp

index cd5697ac5bf783e069705e1dbd2bc284cfb01291..6ad4b22691c42e5f950b27757f07df06933cb499 100644 (file)
@@ -13,6 +13,20 @@ class base_installation::puppet (
     environment => "RANDFILE=/dev/null",
   }
 
+  ### Until puppet fixes hist gettext-setup gem use
+  package { 'gem:gettext-setup':
+    name            => "gettext-setup",
+    ensure          => present,
+    provider        => "gem",
+    install_options => "--no-user-install"
+  }
+
+  file { '/usr/lib/ruby/vendor_ruby/locales/':
+    ensure => link,
+    target => "/opt/puppetlabs/puppet/share/locale/",
+  }
+  ###
+
   unless empty(find_file($password_seed)) {
     $ldap_password = generate_password(24, $password_seed, "ldap")
     $ssha_ldap_seed = generate_password(5, $password_seed, "ldap_seed")