mirror of
https://ghproxy.net/https://github.com/Chassis/puppet-wp.git
synced 2026-07-26 13:07:45 +08:00
FEAT: Added new parameters php_executable_path, bin_path, executable_filename to the wp class. These now have default values both for Linux and Windows. BUG: On Windows I set the exec user that is used to run the wp-cli command to undef so prevent this bug from happening https://tickets.puppetlabs.com/browse/ENTERPRISE-13. On Windows you can't run an exec as another user. The wp-cli client doesn't complain about this when I tested to run it as the SYSTEM user in Windows, which is the Puppet default. MISC: Respected tab indenting in cli.pp, command.pp, init.pp, params.pp.
3 lines
65 B
Text
3 lines
65 B
Text
@ECHO OFF
|
|
<%= @php_executable_path %> "%~dp0/wp-cli.phar" %*
|
|
|