diff --git a/cloudcafe/images/config.py b/cloudcafe/images/config.py index 651ee35f..90d65b2f 100644 --- a/cloudcafe/images/config.py +++ b/cloudcafe/images/config.py @@ -1,5 +1,5 @@ """ -Copyright 2013 Rackspace +Copyright 2014 Rackspace Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -237,6 +237,12 @@ class ImagesConfig(ConfigSectionInterface): """Length of time to wait before giving up on reaching a status""" return int(self.get("task_timeout")) + @property + def do_not_delete_files(self): + """List of files that should not be deleted""" + return ([x.strip() for x in + self.get('do_not_delete_files', "").split(',')]) + @property def image_schema_json(self): """Path to json file which contains the image schema data"""