Skip to content

Commit 9e65ed6

Browse files
Update st0346a_bash_herd_resolver.sh (#79)
Added full path to puppet
1 parent 74737e8 commit 9e65ed6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tasks/st0346a_bash_herd_resolver.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
# This task is to be run on operating systems using a bash shell
55
# It will randomise the restart of the puppet agent based on the current value of runinterval
66

7-
sleep $(( ( RANDOM % $(puppet agent --configprint runinterval) ) + 1 ))s
8-
puppet resource service puppet ensure=stopped
9-
puppet resource service puppet ensure=running
7+
sleep $(( ( RANDOM % $(/opt/puppetlabs/bin/puppet agent --configprint runinterval) ) + 1 ))s
8+
/opt/puppetlabs/bin/puppet resource service puppet ensure=stopped
9+
/opt/puppetlabs/bin/puppet resource service puppet ensure=running

0 commit comments

Comments
 (0)