Merge pull request #7 from pycontribs/add-template-dir
Allow Molecule to load the cookiecutter correctly
This commit is contained in:
commit
e5d69b0ebd
@ -141,6 +141,12 @@ class HetznerCloud(Driver):
|
||||
# instance_config is not on disk.
|
||||
return {}
|
||||
|
||||
def template_dir(self):
|
||||
return os.path.join(
|
||||
os.path.dirname(__file__),
|
||||
"cookiecutter/scenario/driver/{}".format(self.name),
|
||||
)
|
||||
|
||||
def _get_instance_config(self, instance_name):
|
||||
instance_config_dict = util.safe_load_file(self._config.driver.instance_config)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user