Skip to content

Instantly share code, notes, and snippets.

@stefhen
Created May 5, 2017 15:58
Show Gist options
  • Save stefhen/b145b41869bd22e42fbfe41d6e51caa2 to your computer and use it in GitHub Desktop.
Save stefhen/b145b41869bd22e42fbfe41d6e51caa2 to your computer and use it in GitHub Desktop.
Provision CAT resources but do not launch
concurrent do
sub do
$server_obj = to_object(@server_1)
@server_1 = rs_cm.servers.create(server: $server_obj["fields"])
end
sub do
$array_obj = to_object(@server_array_1)
@server_array_1 = rs_cm.server_arrays.create(server_array: $array_obj["fields"])
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment