Changeset View
Changeset View
Standalone View
Standalone View
site-modules/profile/manifests/swh/deploy/worker/loader_mercurial.pp
# Deployment for swh-loader-mercurial (disk) | # Deployment for swh-loader-mercurial (disk) | ||||
class profile::swh::deploy::worker::loader_mercurial { | class profile::swh::deploy::worker::loader_mercurial { | ||||
$private_tmp = lookup('swh::deploy::worker::loader_mercurial::private_tmp') | $private_tmp = lookup('swh::deploy::worker::loader_mercurial::private_tmp') | ||||
$packages = ['python3-swh.loader.mercurial'] | $packages = ['python3-swh.loader.mercurial'] | ||||
package {$packages: | package {$packages: | ||||
ensure => 'latest', | ensure => 'present', | ||||
} | } | ||||
::profile::swh::deploy::worker::instance {'loader_mercurial': | ::profile::swh::deploy::worker::instance {'loader_mercurial': | ||||
ensure => running, | ensure => running, | ||||
private_tmp => $private_tmp, | private_tmp => $private_tmp, | ||||
require => [ | require => [ | ||||
Package[$packages], | Package[$packages], | ||||
], | ], | ||||
} | } | ||||
} | } |