Sha256: 34100b48efcdba8cc2486ec5d1cebe580583868563158abb7007cc26770ba783
Contents?: true
Size: 284 Bytes
Versions: 28
Compression:
Stored size: 284 Bytes
Contents
require 'itamae' module Itamae module Resource class Execute < Base define_attribute :action, default: :run define_attribute :command, type: String, default_name: true def run_action run_command(command) updated! end end end end
Version data entries
28 entries across 28 versions & 1 rubygems