summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2012-06-26 14:22:08 -0300
committerSilvio Rhatto <rhatto@riseup.net>2012-06-26 14:22:08 -0300
commit1ae3d5f61324eed1922e44d6de15c587b4eaac47 (patch)
tree4b8433eda0684b6eec44fb9a03e040cadeda8163 /manifests
parent0d1dcfcfd51c53555cf736cd944ce3a3bf475b7b (diff)
downloadpuppet-wordpress-1ae3d5f61324eed1922e44d6de15c587b4eaac47.tar.gz
puppet-wordpress-1ae3d5f61324eed1922e44d6de15c587b4eaac47.tar.bz2
Adding wp-cli support for wordpress script
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp8
1 files changed, 8 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index e144c1d..d3a162b 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -22,4 +22,12 @@ class wordpress {
mode => 755,
}
+ vcsrepo { "/usr/local/share/wp-cli":
+ ensure => present,
+ provider => git,
+ source => 'git://github.com/wp-cli/wp-cli.git',
+ revision => '0d8487b771afbaf1acd8c086e088f9d3601c3395',
+ owner => 'root',
+ group => 'root',
+ }
}