Chassis / puppet-wp

This module enables the easy use of WP CLI to control your WordPress site through Puppet manifests
https://chassis.github.io/puppet-wp/
GNU Lesser General Public License v3.0
44 stars 39 forks source link

Download url #28

Closed jconroy closed 10 years ago

jconroy commented 10 years ago

Howdy fellas,

Not sure if I'm just "doing it wrong" (highly likely) but I've got an issue where if use puppet-wp with the current wpcli download url i.e.

https://raw.github.com/wp-cli/builds/gh-pages/phar/wp-cli.phar

located here: https://github.com/rmccue/puppet-wp/blob/master/manifests/cli.pp#L23

I get the following error

http://cl.ly/image/0C1e3G31312u

But if I change it to

https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar

It all works fine.

Just a heads up. As above - I could just be doing it wrong.

rmccue commented 10 years ago

curl doesn't follow redirects; nice catch!

Any chance you could whip up a PR for this? :)