diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2020-07-24 16:44:00 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2020-07-24 16:44:00 -0300 |
commit | 779ce12c02b9abbbb0089f46b42d2ece001f498e (patch) | |
tree | 21878d20e9fdde93c36e1e8c859f24d25cad6a7b | |
parent | 92010b852f0d353c81fdd969368912dddb730e5d (diff) | |
download | puppet-php-779ce12c02b9abbbb0089f46b42d2ece001f498e.tar.gz puppet-php-779ce12c02b9abbbb0089f46b42d2ece001f498e.tar.bz2 |
Updates getcomposer (2)
-rw-r--r-- | manifests/composer.pp | 5 |
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') { |