diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2018-04-12 12:48:31 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2018-04-12 12:48:31 -0300 |
commit | e828f8955fd0a7a457b09d6a99fb9e4db0a11e92 (patch) | |
tree | 39d4e9d9770d1f38908cf8b0f7d878be335b3a47 | |
parent | 6be10162eb293103a71f213a53422eb7135a91b3 (diff) | |
download | puppet-php-e828f8955fd0a7a457b09d6a99fb9e4db0a11e92.tar.gz puppet-php-e828f8955fd0a7a457b09d6a99fb9e4db0a11e92.tar.bz2 |
Manage fpm/conf.d
-rw-r--r-- | manifests/fpm.pp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/manifests/fpm.pp b/manifests/fpm.pp index 25b1ee5..6a80ab8 100644 --- a/manifests/fpm.pp +++ b/manifests/fpm.pp @@ -26,4 +26,12 @@ class php::fpm( ensure => $ensure, require => Package["apache"], } + + file { "${folder}/fpm/conf.d": + ensure => $ensure ? { + 'present' => present, + default => undef, + }, + require => Package['php-fpm'], + } } |