Class: Caco::Debian::ServiceInstall

Inherits:
Trailblazer::Operation
  • Object
show all
Defined in:
lib/caco/debian/service_install.rb

Instance Method Summary collapse

Instance Method Details

#generate_template_content(ctx, description: nil, environment_file: nil, environment_vars: nil, command:) ⇒ Object



22
23
24
25
26
27
28
29
# File 'lib/caco/debian/service_install.rb', line 22

def generate_template_content(ctx, description: nil, environment_file: nil, environment_vars: nil, command:, **)
  ctx[:template_content] = Caco::Debian::Cell::Service.(
    command: command,
    description: description,
    environment_file: environment_file,
    environment_vars: environment_vars,
  ).to_s
end