Commit 373973df authored by Filip Polbratt's avatar Filip Polbratt

Update environment.pp

parent 69f4f500
Pipeline #572 canceled with stages
class workstation::environment (
Hash[String, String] $environment = undef,
$environment = undef,
){
file { '/etc/profile.d/lysator-env.sh':
ensure => file,
content => $environment.map |$k, $v| { "export ${k}='${v}'" }.join("\n")
content => $environment.map |$v| { "export ${v}" }.join("\n")
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment