@@ -875,7 +875,7 @@ def __create_ws_security(self, location):
875
875
self .logger .exiting (class_name = self .__class_name , method_name = _method_name )
876
876
return
877
877
878
- def __create_machines (self , location ):
878
+ def __create_machines (self , location , delete_now = True ):
879
879
"""
880
880
Create the /Machine and /UnixMachine folder objects, if any.
881
881
:param location: the location to use
@@ -888,9 +888,10 @@ def __create_machines(self, location):
888
888
unix_machine_nodes = dictionary_utils .get_dictionary_element (self ._topology , UNIX_MACHINE )
889
889
890
890
if len (machine_nodes ) > 0 :
891
- self ._create_named_mbeans (MACHINE , machine_nodes , location , log_created = True )
891
+ self ._create_named_mbeans (MACHINE , machine_nodes , location , log_created = True , delete_now = delete_now )
892
892
if len (unix_machine_nodes ) > 0 :
893
- self ._create_named_mbeans (UNIX_MACHINE , unix_machine_nodes , location , log_created = True )
893
+ self ._create_named_mbeans (UNIX_MACHINE , unix_machine_nodes , location , log_created = True ,
894
+ delete_now = delete_now )
894
895
self .logger .exiting (class_name = self .__class_name , method_name = _method_name )
895
896
return
896
897
@@ -907,7 +908,7 @@ def __create_machines_clusters_and_servers(self, delete_now=True):
907
908
location .add_name_token (domain_name_token , self ._domain_name )
908
909
self .logger .entering (str_helper .to_string (location ), class_name = self .__class_name , method_name = _method_name )
909
910
910
- self .__create_machines (location )
911
+ self .__create_machines (location , delete_now = delete_now )
911
912
#
912
913
# In order for source domain provisioning to work with dynamic clusters, we have to provision
913
914
# the ServerTemplates. There is a cyclical dependency between Server Template and Clusters so we
0 commit comments