forked from SUNET/soc-ops
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',
|
||||
}
|
||||
|
||||
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':
|
||||
ensure => file,
|
||||
content => file('soc/intelmq/install-intelmq.sh'),
|
||||
|
|
Loading…
Add table
Reference in a new issue