labs-vcap/dev_setup/cookbooks/neo4j/recipes
Jesse Zhang 2abb03a932 [dev_setup] Fix Chef regression
This change replaces the use of remote_file with cf_remote_file to
work around two limitations in Chef 0.10:
  - Chef shares its downloading logic of remote_file with its REST
    client.  The REST client decompresses archives when it sees the
    header "Content-Encoding: gzip", which is an undesirable behavior
    for remote_file.
  - Chef only uses the specified checksum to trigger update, but it does
    no validation after new remote files are downloaded.

  Our requirement of cf_remote_file:
  - Don't do content decoding magic
  - checksum required and *always* validates the checksum

  Test plan: remove locally compiled ruby and the cached tarballs, run
dev_setup.

Change-Id: Ifb91188ec7ec2f77fafc671d128625ec0f8f1c77
2012-05-21 12:41:30 -07:00
..
default.rb [dev_setup] Fix Chef regression 2012-05-21 12:41:30 -07:00
gateway.rb Add neo4j support + Misc changes 2011-09-21 16:21:33 -07:00
node.rb Add neo4j support + Misc changes 2011-09-21 16:21:33 -07:00