Works for me!


On Tue, May 13, 2014 at 10:41 AM, Justin Slattery
<notifications@github.com>wrote:

> In salt/pillar/s3.py:
>
> > +log = logging.getLogger(__name__)
> > +
> > +_s3_cache_expire = 30  # cache for 30 seconds
> > +_s3_sync_on_update = True  # sync cache on update rather than jit
> > +
> > +
> > +class S3Credentials(object):
> > +    def __init__(self, key, keyid, bucket, service_url, verify_ssl=True):
> > +        self.key = key
> > +        self.keyid = keyid
> > +        self.bucket = bucket
> > +        self.service_url = service_url
> > +        self.verify_ssl = verify_ssl
> > +
> > +
> > +def __init__(__opts__):
>
> What if we just move the directory check/create to _get_cache_dir() on 161
> and leave init empty?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/saltstack/salt/pull/12386/files#r12593807>
> .
>