diff options
Diffstat (limited to 'manifests/fpm.pp')
-rw-r--r-- | manifests/fpm.pp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/manifests/fpm.pp b/manifests/fpm.pp index 1fb3d0c..054b27f 100644 --- a/manifests/fpm.pp +++ b/manifests/fpm.pp @@ -1,4 +1,5 @@ -class php::fpm( +define php::fpm( + $series, $ensure = 'present', ) { $series = $::php::series @@ -12,7 +13,7 @@ class php::fpm( $folder = $::php::series7::folder } - package { 'php-fpm': + package { "php${version}-fpm": ensure => $ensure, } |