Skip to content

Commit

Permalink
Merge pull request #86 from ftzdomino/patch-1
Browse files Browse the repository at this point in the history
Add schedule arg to composer::selfupdate
  • Loading branch information
tPl0ch committed Nov 12, 2015
2 parents 4fc9d16 + aae818a commit 463bc76
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions manifests/selfupdate.pp
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
$logoutput = false,
$timeout = 300,
$tries = 3,
$schedule = undef,
) {
require ::composer

Expand Down Expand Up @@ -79,9 +80,10 @@
$cmd = "${base_command}${rollback_arg}${clean_backups_arg}${version_arg}"

exec { $exec_name:
command => $cmd,
tries => $tries,
timeout => $timeout,
user => $user,
command => $cmd,
tries => $tries,
timeout => $timeout,
user => $user,
schedule => $schedule,
}
}

0 comments on commit 463bc76

Please sign in to comment.