This repository has been archived by the owner on Oct 11, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #91 from schkovich/master
params on php::fpm are not used #81
- Loading branch information
Showing
4 changed files
with
33 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,15 @@ | ||
class php::fpm::service( | ||
$service_name = $php::fpm::params::service_name, | ||
$ensure = $php::fpm::params::service_ensure, | ||
$enable = $php::fpm::params::service_enable, | ||
$has_status = $php::fpm::params::service_has_status | ||
) inherits php::fpm::params { | ||
$service_name, | ||
$ensure, | ||
$enable, | ||
$has_status, | ||
) { | ||
|
||
service { $service_name: | ||
ensure => $ensure, | ||
enable => $enable, | ||
restart => "service ${service_name} reload", | ||
hasstatus => $has_status, | ||
require => Package[$package] | ||
hasstatus => $has_status | ||
} | ||
|
||
} |