Sha256: 996d3f01bb65780cf47a7d799d7facd05ab9367b18842d8e84f901a3b1244af5
Contents?: true
Size: 367 Bytes
Versions: 24
Compression:
Stored size: 367 Bytes
Contents
require 'itamae' module Itamae module Resource class Execute < Base define_attribute :action, default: :run define_attribute :command, type: String, default_name: true define_attribute :cwd, type: String def action_run(options) run_command(attributes.command, cwd: attributes.cwd) updated! end end end end
Version data entries
24 entries across 24 versions & 1 rubygems