summaryrefslogtreecommitdiff
path: root/playground
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-02-15 09:25:57 +0200
committerPaul Buetow <paul@buetow.org>2025-02-15 09:25:57 +0200
commit6879b03b2735b082b913ab17e63857f464f53c93 (patch)
tree525b1b78983ba3b3d6f4e218daf0055edf7728a9 /playground
parent463f429166c5ace855998b433e865140f9b737ca (diff)
dsl keyword base class added
Diffstat (limited to 'playground')
-rw-r--r--playground/Rakefile15
1 files changed, 5 insertions, 10 deletions
diff --git a/playground/Rakefile b/playground/Rakefile
index e006960..aff881d 100644
--- a/playground/Rakefile
+++ b/playground/Rakefile
@@ -21,15 +21,6 @@ task :wireguard do
end
end
-desc 'foo task'
-task :foo do
- configure do
- file '/tmp/test.txt' do
- %w[foo bar baz].sort
- end
- end
-end
-
desc 'Set up the /etc/hosts file'
task :hosts do
configure do
@@ -45,7 +36,11 @@ desc 'foo'
task :foo do
configure do
file '/tmp/foo.txt' do
- ensure_line 'foo bar baz'
+ ensure_line 'foo'
+ end
+
+ file '/tmp/bar.txt' do
+ 'bar'
end
end
end