Commit e4633fdb by source_reader

use profile.d for path update

parent fb454de0
Showing with 6 additions and 16 deletions
......@@ -4,19 +4,10 @@ class python_venvs::config{
} else {
$nilmdb = false
}
if $facts['platform'] == 'ubuntu'{
file {'/etc/environment.d/90venvs.conf':
content => template('python_venvs/90venvs.conf.erb'),
owner => root,
group => root,
mode => '0644'
}
} else {
file {'/etc/profile.d/venvs.sh':
content => template('python_venvs/venvs.sh.erb'),
owner => root,
group => root,
mode => '0644'
}
file {'/etc/profile.d/venvs.sh':
content => template('python_venvs/venvs.sh.erb'),
owner => root,
group => root,
mode => '0644'
}
}
\ No newline at end of file
}
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 sign in to comment