mirror of
https://gh.wpcy.net/https://github.com/Chassis/puppet-wp.git
synced 2026-05-08 22:46:56 +08:00
FEAT: Added class parameters manage_php_package, manage_curl_package and manage_git_package to be able to set that the module won't ensure these packages are installed. MISC: Simplified params.pp code.
13 lines
480 B
Puppet
Executable file
13 lines
480 B
Puppet
Executable file
# Our base Puppet WP Class.
|
|
class wp (
|
|
$user = $::wp::params::user,
|
|
$php_package = $::wp::params::php_package,
|
|
$php_executable_path = $::wp::params::php_executable_path,
|
|
$bin_path = $::wp::params::bin_path,
|
|
$executable_filename = $::wp::params::executable_filename,
|
|
$manage_php_package = $::wp::params::manage_php_package,
|
|
$manage_curl_package = $::wp::params::manage_curl_package,
|
|
$manage_git_package = $::wp::params::manage_git_package,
|
|
) inherits wp::params {
|
|
# ...
|
|
}
|