Skip to content

Commit 276a55b

Browse files
authored
r10k add -t to timeout (#127)
1 parent ae9f4e8 commit 276a55b

5 files changed

Lines changed: 8 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ numbering uses [semantic versioning](http://semver.org).
55

66
NOTE: The change log until version `v0.2.4` is auto-generated.
77

8+
## [v6.5.1](https://github.com/puppetlabs/puppetserver-helm-chart/tree/v6.5.1) (2022-08-17)
9+
10+
- fix: add -t flag to timeout for r10k:3.14.0 and below
11+
812
## [v6.5.0](https://github.com/puppetlabs/puppetserver-helm-chart/tree/v6.5.0) (2022-07-29)
913

1014
- feat: optional deployment of the puppetdb component (default true)

Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: v2
22
name: puppetserver
3-
version: 6.5.0
3+
version: 6.5.1
44
appVersion: 7.4.2
55
description: Puppet automates the delivery and operation of software.
66
keywords: ["puppet", "puppetserver", "automation", "iac", "infrastructure", "cm", "ci", "cd"]

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -436,3 +436,4 @@ kill %[job_numbers_above]
436436
* [Aidan](https://github.com/artificial-aidan), Contributor
437437
* [Aurélien Le Clainche](https://www.linkedin.com/in/aurelien-le-clainche/), Contributor
438438
* [Simon Fuhrer](https://github.com/simonfuhrer), Contributor
439+
* [Kevin Harrington](https://github.com/ke5C2Fin), Contributor

templates/r10k-code.configmap.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ data:
2424
{{- if .Values.r10k.code.cronJob.splay }}
2525
sleep $(( RANDOM % {{ int .Values.r10k.code.cronJob.splayLimit }} ))
2626
{{- end }}
27-
{{ with .Values.r10k.code.cronJob.timeout }}timeout -s 9 {{ int . }} {{ end }}/docker-entrypoint.sh deploy environment --config /etc/puppetlabs/puppet/r10k_code.yaml \
27+
{{ with .Values.r10k.code.cronJob.timeout }}timeout -s 9 -t {{ int . }} {{ end }}/docker-entrypoint.sh deploy environment --config /etc/puppetlabs/puppet/r10k_code.yaml \
2828
--puppetfile {{ template "r10k.code.args" . }} > ~/.r10k_code_cronjob.out 2>&1
2929
retVal=$?
3030
if [ "$retVal" -eq "0" ]; then

templates/r10k-hiera.configmap.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ data:
2626
{{- if .Values.r10k.hiera.cronJob.splay }}
2727
sleep $(( RANDOM % {{ int .Values.r10k.hiera.cronJob.splayLimit }} ))
2828
{{- end }}
29-
{{ with .Values.r10k.hiera.cronJob.timeout }}timeout -s 9 {{ int . }} {{ end }}/docker-entrypoint.sh deploy environment --config /etc/puppetlabs/puppet/r10k_hiera.yaml \
29+
{{ with .Values.r10k.hiera.cronJob.timeout }}timeout -s 9 -t {{ int . }} {{ end }}/docker-entrypoint.sh deploy environment --config /etc/puppetlabs/puppet/r10k_hiera.yaml \
3030
--puppetfile {{ template "r10k.hiera.args" . }} > ~/.r10k_hiera_cronjob.out 2>&1
3131
retVal=$?
3232
if [ "$retVal" -eq "0" ]; then

0 commit comments

Comments
 (0)