From 22e79acd8038fe134d217cff09b88b51a65bf12d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= <ismael.bouya@normalesup.org>
Date: Sun, 17 Sep 2017 22:59:01 +0200
Subject: Prevent Gettext warning

---
 modules/base_installation/manifests/puppet.pp | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/modules/base_installation/manifests/puppet.pp b/modules/base_installation/manifests/puppet.pp
index cd5697a..6ad4b22 100644
--- a/modules/base_installation/manifests/puppet.pp
+++ b/modules/base_installation/manifests/puppet.pp
@@ -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")
-- 
cgit v1.2.3