Sawyer

Results 2 issues of Sawyer

``` if should_update and created_file(lock): try: d = urllib2.urlopen(endpoint).read() with open(cache, 'w') as f: f.write(d) except Exception as e: print e if os.path.exists(lock): os.remove(lock) ``` **This will always remove lock...

[all] hosts: - { ip: '10.0.0.1', domain: 'mq1' } - { ip: '10.0.0.2', domain: 'mq2' } - { ip: '10.0.0.3', domain: 'mq3' } - { ip: '10.0.0.4', domain: 'mq4' }