Fix self.target_host

This commit is contained in:
Darko Poljak 2016-08-14 22:09:36 +02:00
parent f4c02a9bca
commit d96be90f26
1 changed files with 5 additions and 3 deletions

View File

@ -64,9 +64,11 @@ class Emulator(object):
try: try:
self.global_path = self.env['__global'] self.global_path = self.env['__global']
self.target_host = self.env['__target_host'] self.target_host = (
self.target_hostname = self.env['__target_hostname'] self.env['__target_host'],
self.target_fqdn = self.env['__target_fqdn'] self.env['__target_hostname'],
self.env['__target_fqdn']
)
# Internal variables # Internal variables
self.object_source = self.env['__cdist_manifest'] self.object_source = self.env['__cdist_manifest']