diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2016-01-19 16:22:30 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2016-01-19 16:22:30 -0200 |
commit | dcf0809e7923c766b3f7475d4c0e1322398d8492 (patch) | |
tree | 27653d53b4faaac15fbf7e1e75f243009d1a3319 | |
parent | 0c96ca334a3525c86292730b726cf11ca76fc3d8 (diff) | |
download | puppet-wordpress-dcf0809e7923c766b3f7475d4c0e1322398d8492.tar.gz puppet-wordpress-dcf0809e7923c766b3f7475d4c0e1322398d8492.tar.bz2 |
Move wordpress script to /usr/local/bin
-rw-r--r-- | manifests/init.pp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index 8c4881a..c0bb622 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -2,6 +2,10 @@ class wordpress { $wp_cli = 'https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar' file { "/usr/local/sbin/wordpress": + ensure => absent, + } + + file { "/usr/local/bin/wordpress": ensure => present, source => "puppet:///modules/wordpress/wordpress.sh", owner => root, |