aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2020-07-24 16:44:00 -0300
committerSilvio Rhatto <rhatto@riseup.net>2020-07-24 16:44:00 -0300
commit779ce12c02b9abbbb0089f46b42d2ece001f498e (patch)
tree21878d20e9fdde93c36e1e8c859f24d25cad6a7b /manifests
parent92010b852f0d353c81fdd969368912dddb730e5d (diff)
downloadpuppet-php-779ce12c02b9abbbb0089f46b42d2ece001f498e.tar.gz
puppet-php-779ce12c02b9abbbb0089f46b42d2ece001f498e.tar.bz2
Updates getcomposer (2)
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') {