From dcf0809e7923c766b3f7475d4c0e1322398d8492 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 19 Jan 2016 16:22:30 -0200 Subject: Move wordpress script to /usr/local/bin --- manifests/init.pp | 4 ++++ 1 file changed, 4 insertions(+) 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, -- cgit v1.2.3