Puppet Class: helmfile::repository
- Defined in:
- modules/helmfile/manifests/repository.pp
Overview
SPDX-License-Identifier: Apache-2.0
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
# File 'modules/helmfile/manifests/repository.pp', line 2
class helmfile::repository(
String $repository,
Stdlib::Unixpath $srcdir,
) {
git::clone { $repository:
ensure => 'present',
directory => $srcdir,
}
systemd::timer::job { 'git_pull_charts':
ensure => present,
description => 'Pull changes on deployment-charts repo',
working_directory => $srcdir,
command => '/usr/bin/git pull',
interval => {
'start' => 'OnCalendar',
'interval' => '*-*-* *:*:00', # every minute
},
logging_enabled => false,
user => 'root',
}
}
|