added new container for eidastest
This commit is contained in:
parent
8dbf2e2d52
commit
97b532b1ac
2 changed files with 27 additions and 0 deletions
|
@ -31,3 +31,11 @@ eidastest_compose:
|
|||
depends_on:
|
||||
- chrome
|
||||
restart: on-failure
|
||||
scheduler1:
|
||||
image: mcuadros/ofelia:latest
|
||||
container_name: supvervising_standalone-chrome
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- ./config.ini:/etc/ofelia/config.ini
|
||||
depends_on:
|
||||
- chrome
|
||||
|
|
|
@ -444,6 +444,25 @@ class eidastest($version="1.0.0", $hostname="locahost") {
|
|||
path => "${home}",
|
||||
mode => '0755',
|
||||
}
|
||||
file { "${home}/eidastest/scripts":
|
||||
ensure => directory,
|
||||
owner => 'root',
|
||||
group => 'root',
|
||||
path => "${home}/eidastest/scripts",
|
||||
mode => '0755',
|
||||
}
|
||||
file { "${home}/eidastest/config.ini":
|
||||
content => template('eid/eidastest/config.ini.erb'),
|
||||
owner => 'root',
|
||||
group => 'root',
|
||||
mode => '0755',
|
||||
}
|
||||
file { "${home}/eidastest/scripts/supervise_chrome_processes.sh":
|
||||
content => template('eid/eidastest/supervise_chrome_processes.sh.erb'),
|
||||
owner => 'root',
|
||||
group => 'root',
|
||||
mode => '0755',
|
||||
}
|
||||
$compose = hiera("eidastest_compose")
|
||||
sunet::docker_compose {'eidastest_docker_compose':
|
||||
service_name => 'eidastest',
|
||||
|
|
Loading…
Add table
Reference in a new issue