diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2018-06-22 18:27:05 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2018-06-22 18:27:05 -0300 |
commit | 567d81c23d9a5f09658c09c3666d7a6f65b34f18 (patch) | |
tree | 92f9ec9e16db4c448b969feab383f0c73ae71df9 /manifests/packages.pp | |
parent | bcf5086deca96bf802a8fbf83aceca1b5a5135c3 (diff) | |
download | puppet-php-567d81c23d9a5f09658c09c3666d7a6f65b34f18.tar.gz puppet-php-567d81c23d9a5f09658c09c3666d7a6f65b34f18.tar.bz2 |
Support multiple PHP series at the same time, currently only 5 and 7
Diffstat (limited to 'manifests/packages.pp')
-rw-r--r-- | manifests/packages.pp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/manifests/packages.pp b/manifests/packages.pp new file mode 100644 index 0000000..0ea9292 --- /dev/null +++ b/manifests/packages.pp @@ -0,0 +1,6 @@ +class php::packages { + package { [ 'php', 'php-imagick', 'php-mysql', 'php-sqlite3', 'php-gd', 'php-curl' ]: + ensure => installed, + require => File['/etc/apt/sources.list.d/php.list'], + } +} |