diff --git a/Gemfile.lock b/Gemfile.lock index ce26678..62432ec 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -76,6 +76,7 @@ GEM PLATFORMS ruby + x86_64-linux DEPENDENCIES facter (>= 1.7.0) @@ -86,4 +87,4 @@ DEPENDENCIES rspec-puppet BUNDLED WITH - 1.14.6 + 1.16.5 diff --git a/manifests/common.pp b/manifests/common.pp index b0e2b84..d708080 100644 --- a/manifests/common.pp +++ b/manifests/common.pp @@ -26,7 +26,7 @@ # * restrict to the SSH keys having a key matching the users listed in sysadmins::users $auth_keys = parseyaml(inline_template('<%= scope.lookupvar("sysadmins::ssh_keys").select { |k,v| scope.lookupvar("sysadmins::users").keys.find{ |e| k =~ /^#{e}/ } }.to_yaml %>')) # * specialize the options field for these SSH keys - $real_ssh_keys = parseyaml(inline_template('<%= @auth_keys.each{ |k,v| v["options"] = "environment=\"SYSADMIN_USER=#{k.gsub(/@.*/, "")}\" "}.to_yaml %>')) + $real_ssh_keys = parseyaml(inline_template('<%= @auth_keys.each{ |k,v| v["options"] = "environment=\"SYSADMIN_USER=#{k.gsub(/@.*/, "")}\""}.to_yaml %>')) #notice($real_ssh_keys) $real_users = { diff --git a/metadata.json b/metadata.json index 493d65e..538c2dc 100644 --- a/metadata.json +++ b/metadata.json @@ -1,6 +1,6 @@ { "name": "ULHPC/sysadmins", - "version": "0.8.4", + "version": "0.8.5", "author": "UL HPC DevOps Team aka. S. Varrette, H. Cartiaux, V. Plugaru, S. Diehl and C.Parisot", "mail": "hpc-sysadmins@uni.lu", "summary": "Configuration of a single system administrator account (localadmin by default) attached to (potentially) several users",