Env fixes.
This commit is contained in:
parent
09414e033a
commit
cb88daafaa
1 changed files with 5 additions and 0 deletions
|
@ -55,6 +55,11 @@ class soc::intelmq(
|
||||||
creates => '/opt/intelmq/venv',
|
creates => '/opt/intelmq/venv',
|
||||||
}
|
}
|
||||||
|
|
||||||
|
exec 'Always active venv for IntelMQ':
|
||||||
|
command => 'echo ". venv/bin/activate >> /opt/intelmq/.profile',
|
||||||
|
unless => 'grep -q activate /opt/intelmq/.profile 2> /dev/null',
|
||||||
|
}
|
||||||
|
|
||||||
file { '/opt/intelmq/install-intelmq.sh':
|
file { '/opt/intelmq/install-intelmq.sh':
|
||||||
ensure => file,
|
ensure => file,
|
||||||
content => file('soc/intelmq/install-intelmq.sh'),
|
content => file('soc/intelmq/install-intelmq.sh'),
|
||||||
|
|
Loading…
Add table
Reference in a new issue