aboutsummaryrefslogtreecommitdiff
path: root/app/controllers/backends
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/backends')
-rw-r--r--app/controllers/backends/terraform_libvirt_controller.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/backends/terraform_libvirt_controller.rb b/app/controllers/backends/terraform_libvirt_controller.rb
index 34081ad..bbc5e08 100644
--- a/app/controllers/backends/terraform_libvirt_controller.rb
+++ b/app/controllers/backends/terraform_libvirt_controller.rb
@@ -26,6 +26,7 @@ class Backends::TerraformLibvirtController < ApplicationController
def create
backend = Backends::TerraformLibvirt.create(create_params)
+ Backends::DeployTerraformLibvirtJob.enqueue(backend.id)
flash[:success] = "Backend #{backend.label} created"