Skip to content

Commit

Permalink
Merge pull request #18 from jjtorroglosa/master
Browse files Browse the repository at this point in the history
Add refreshonly parameter to exec
  • Loading branch information
andyshinn committed Nov 7, 2013
2 parents fb1fd04 + c2106ec commit b240e04
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions manifests/exec.pp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
$interaction = false,
$dev = false,
$logoutput = false,
$verbose = false
$verbose = false,
$refreshonly = false,
) {
require composer
require git
Expand All @@ -44,8 +45,9 @@
$command = "php ${composer::target_dir}/${composer::composer_file} ${cmd}"

exec { "composer_update_${title}":
command => template('composer/exec.erb'),
cwd => $cwd,
logoutput => $logoutput,
command => template('composer/exec.erb'),
cwd => $cwd,
logoutput => $logoutput,
refreshonly => $refreshonly
}
}

0 comments on commit b240e04

Please sign in to comment.