aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'manifests')
-rw-r--r--manifests/composer.pp5
1 files changed, 4 insertions, 1 deletions
diff --git a/manifests/composer.pp b/manifests/composer.pp
index 3f51ecd..8ec77ce 100644
--- a/manifests/composer.pp
+++ b/manifests/composer.pp
@@ -13,7 +13,10 @@ class php::composer(
owner => root,
group => root,
mode => '0755',
- source => 'puppet:///modules/php/getcomposer',
+ source => $provider ? {
+ 'upstream' => undef,
+ default => 'puppet:///modules/php/getcomposer',
+ },
}
if ($provider == 'package') {