diff --git a/chef/api.py b/chef/api.py index 870592f..74a5096 100644 --- a/chef/api.py +++ b/chef/api.py @@ -84,6 +84,8 @@ def from_config_file(cls, path): log.debug('Unable to read config file "%s"', path) return url = key_path = client_name = None + # Set defaults + key_path = '/etc/chef/client.pem' ssl_verify = True for line in open(path): if not line.strip() or line.startswith('#'):