Skip to content

Commit

Permalink
Merge branch 'testing'
Browse files Browse the repository at this point in the history
  • Loading branch information
theseal committed Feb 10, 2025
2 parents 0dd8830 + 4737bef commit 9c0ca3f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion manifests/metadata/mdqp.pp
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,16 @@
include sunet::packages::jq
include sunet::packages::xmlstarlet

$docker_class = $::facts['dockerhost2'] ? {
yes => 'sunet::dockerhost2',
default => 'sunet::dockerhost',
}

$image_tag = "docker.sunet.se/mdqp:${imagetag}"
docker::image { $image_tag : # make it possible to use the same docker image more than once on a node
ensure => 'present',
image => $image_tag,
require => Class['sunet::dockerhost'],
require => Class[$docker_class],
}

file { '/opt/mdqp':
Expand Down

0 comments on commit 9c0ca3f

Please sign in to comment.