summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-01-19 16:22:30 -0200
committerSilvio Rhatto <rhatto@riseup.net>2016-01-19 16:22:30 -0200
commitdcf0809e7923c766b3f7475d4c0e1322398d8492 (patch)
tree27653d53b4faaac15fbf7e1e75f243009d1a3319
parent0c96ca334a3525c86292730b726cf11ca76fc3d8 (diff)
downloadpuppet-wordpress-dcf0809e7923c766b3f7475d4c0e1322398d8492.tar.gz
puppet-wordpress-dcf0809e7923c766b3f7475d4c0e1322398d8492.tar.bz2
Move wordpress script to /usr/local/bin
-rw-r--r--manifests/init.pp4
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,