- change libevent source url (cf_remote_file does not support download from https and redirect yet).
- add checksums (for cf_remote_file).
- use dev_setup cache.
Change-Id: I3ef634af15d99d44e12287427f8e4dbaf8153509
This change switches to downloading the source from github to avoid
outage of lua-cjson's author's homepage.
Test plan:
Run dev_setup on a vanilla VM and pass BVTs
Change-Id: I8068a5060014b46847cfa288916e282de22fb88a
Correcting my stupidity of commenting out the ownership and permission
attributes in commit 2abb03a9.
Change-Id: I7ddc6b070cb167d3285ece9aba3390a837fe4114
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
- Configure sasldb and lib event when going dev setup for memcached
- Addressed CR comments
- Updated vcap to remove couchdb from optional services, this change will be made later
- Cleaned up memcache dev setup recipie (in place edit of saslauthd config file)
- Configured neo4j and memcached to be excluded by default, use environment variable to override
- Config files corrections from CR comments
- Deleted unused file, added default 16M memory for memcached instance
Change-Id: I3f28d4b42989af6dc56ca1757daff93b43b5f6d7
Newer versions of Chef varies its behavior based on the type of GID.
This patch (kudos to Doug MacEachern) makes both new and old versions
happy.
Change-Id: Ib7f05899d2e2e04ca34385512efcad8509d9cc5d
This change fixes a bug in Change Id22dbb00 (commit 8e5838b8).
dev_setup will now install the bundle for UAA wrapper script.
Change-Id: I8077709bedaf210904dab519ca8ee200f12ea77d
This change removes the assumption that Rake is available at the time
of installation and only uses "find" to remove bundler settings.
Users can use vcap_dev_setup -a to skip the prompt (DANGEROUS)
Change-Id: Ibbf62b739452abc47709d5cb84e9b620ae1e5b1b
This fixes a bug in I575c76ff , I3bd5e089 and Id1b8e362 that tried
decompressing the source tarballs from /tmp instead of the cache
location.
Test plan: run dev_setup with no cached tarball and no built rubies,
node.js or erlang.
Change-Id: I97d0595bdf3e1f85335a5e8841e28433028219f9
Test plan: run dev_setup with a cached tarball, without one, and with
a corrupt tarball.
And to pass BVTs, without doubt.
Change-Id: Iefd2172c8966cef08838e70e6207dbb6c39a4fd2
This change clears all bundler remembered settings before attempting
an installation.
Probably due to the huge repository size, a lot of users try copying
their repos around, despite the recommended best practice of only
copying the bare repo. This change should solve the problem of a
conflict between the dev / test group of gems and production gems for
components, say the Cloud Controller.
The installer now prompts the user before purging those .bundle
directories, or if you want to run non-interactively, pass --all or -a
to it.
Change-Id: I04b6b9ad462546b51ab1ee11e7e8de91263372bd
This removes the dependency of wget on adding Opscode packaging PGP
key.
This also fixes a bug in previous commit of omitting a space before
the closing bracket.
Test plan: manually remove the key and apt source and run dev_setup.
Change-Id: I445c62b718373f6da61ca9270b9ee1a04544a53f
Wget is not included in `ubuntu-minimal'. Installing wget before
proceeding enables us to run dev_setup in a debootstrap chroot / jail.
Change-Id: Iff012208f58f9946c64ce27448294af42e558a57
Double equal sign is Bashism for String pattern matching. Bang equal
is also for string pattern matching.
Change-Id: Ic5196a098e0cf44c1ed38ddf0ca6f1260bd8a76e
Node.js source tarballs are now cached to speed up repeated
installations.
Test plan: run dev_setup without cache, with cache, and with a
corrupted cached tarball.
Change-Id: Id1b8e3626cd9491cfd26e9b338dbbc75eca742cc
Ruby source tarballs are now cached to speed up repeated
installations.
Test plan: run dev_setup without cache, with cache, and with a
corrupted cached tarball.
Change-Id: I3bd5e089d60ac9b51193f80efffa916d63fdba36
- run npm install on stager to recompile native modules
- provide modules based on package.json dependencies
- install npm on dev setup
Change-Id: I3e95aaf0982aea77fc280b58fcf965d1342b2ecf
for filtered email addresses
Updated gem md5: fed9927968957574e8002ac9b8f67997
Bumped the uaa submodule pointer
Tested on dev_setup and bosh.
Change-Id: I95765c7a969c8ad1efb9fb40e24b70591ec6c984