summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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,