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