AWS settings for XBlocks to have filesystem-like storage

Adds support for S3FS for deployment infrastructure. Tested on sandbox, and works. Waiting for tests. @cpennington @jarv 
It would be nice to put in a small, obvious PR w/ the cleanup, just to
improve the hygene of the repo.


On Wed, Sep 10, 2014 at 12:02 PM, Piotr Mitros <notifications@github.com>
wrote:

> In cms/envs/aws.py:
>
> > @@ -213,6 +213,16 @@
> >  with open(CONFIG_ROOT / CONFIG_PREFIX + "auth.json") as auth_file:
> >      AUTH_TOKENS = json.load(auth_file)
> >
> > +############### XBlock filesystem field config ##########
> > +if 'XBLOCK-FS-STORAGE-BUCKET' in ENV_TOKENS:
> > +    DJFS = {
> > +        'type' : 's3fs',
> > +        'bucket' : ENV_TOKENS.get('XBLOCK-FS-STORAGE-BUCKET', None),
> > +        'prefix' : ENV_TOKENS.get('XBLOCK-FS-STORAGE-PREFIX', '/xblock-storage/')
> > +    }
> > +    DJFS['aws_access_key_id'] = AUTH_TOKENS.get('AWS_ACCESS_KEY_ID', None)
>
> Blah. Code evolution. It'd be clear from the git history, if we didn't
> rewrite. Should be in the dictionary. It got merged a while back, and not
> worth cleanup now.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/edx/edx-platform/pull/5120/files#r17370250>.
>