summaryrefslogtreecommitdiff
path: root/lib/dsl.rb
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-02-15 10:22:50 +0200
committerPaul Buetow <paul@buetow.org>2025-02-15 10:22:50 +0200
commit8729aafe5bca25d0f7e94bd3c7ee1e0f60f99035 (patch)
tree2a88726109ad3482f79937d0b87f6fc05be43c6c /lib/dsl.rb
parent6879b03b2735b082b913ab17e63857f464f53c93 (diff)
add depends_on syntax
Diffstat (limited to 'lib/dsl.rb')
-rw-r--r--lib/dsl.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/dsl.rb b/lib/dsl.rb
index f3ccfc3..caed790 100644
--- a/lib/dsl.rb
+++ b/lib/dsl.rb
@@ -4,6 +4,7 @@ require_relative 'log'
require_relative 'dslkeywords/file'
require_relative 'dslkeywords/only_when'
+require_relative 'dslkeywords/notify'
# Ruby Configiration Management system
module RCM
@@ -24,7 +25,7 @@ module RCM
def initialize(reset)
DSL.reset! if reset
- @id = "DSL[#{@@rcm_counter += 1}]"
+ @id = "dsl[#{@@rcm_counter += 1}]"
@conds_met = true
@scheduled = []
yield self if block_given?