Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
wattsworth
/
puppet
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
e4633fdb
authored
Jan 18, 2022
by
source_reader
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
use profile.d for path update
parent
fb454de0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
16 deletions
modules/python_venvs/manifests/config.pp
modules/python_venvs/manifests/config.pp
View file @
e4633fdb
...
...
@@ -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
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment