Closed jconroy closed 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.
curl doesn't follow redirects; nice catch!
curl
Any chance you could whip up a PR for this? :)
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.