# Manage global environment variables. # TODO this should be moved to its own module, and provide propper # resource types. class profiles::environment { concat { '/etc/environment': ensure => 'present', } $user_environment = lookup('environment', undef, 'hash', {}) concat::fragment { 'User environment': target => '/etc/environment', content => epp('profiles/keyvalue.epp', { values => $user_environment }), } }