puppet-wp/manifests/init.pp
John Ericson 0f5a0a294d FEAT: Module install wp-cli fine on Ubuntu Linux 18.04. You can run the wp command both from the symlink in /usr/local/bin and the real installation direcyory specificed with parameter install_path to the wp::cli class.
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.
2021-03-17 17:19:38 +01:00

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 {
# ...
}