Commit b469af92 authored by Hugo Hörnquist's avatar Hugo Hörnquist

Lysenvironment.

parent cfa79879
Pipeline #567 canceled with stages
--- {}
---
workstation::environment::environment:
MPD_HOST: jukebox
class workstation::environment (
Hash[String, String] $environment = undef,
){
file { '/etc/profile.d/lysator-env.sh':
ensure => file,
content => $environment.each |$k, $v| { "export ${k}='${v}'\n" }.join()
}
}
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