summaryrefslogtreecommitdiff
path: root/playground
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-02-19 01:29:01 +0200
committerPaul Buetow <paul@buetow.org>2025-02-19 01:29:01 +0200
commite37f1d7dfeb3ff40ee80c6e097cae30b9ec512c4 (patch)
tree2e9f9a63b799f1e8901fdd6d08f09b7665cd6ab5 /playground
parent13657c3c13dc62d6aba6e0633fc7f99e44170c06 (diff)
more on this
Diffstat (limited to 'playground')
-rw-r--r--playground/Rakefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/playground/Rakefile b/playground/Rakefile
index ed08f26..63961ed 100644
--- a/playground/Rakefile
+++ b/playground/Rakefile
@@ -5,7 +5,7 @@ task :wireguard do
configure do
# p option :verbose
# dump_config
- only_when { hostname is :earth }
+ given { hostname is :earth }
file '/tmp/test/wg/wg0.conf' do
manage directory
@@ -26,7 +26,7 @@ end
desc 'Set up the /etc/hosts file'
task :hosts do
configure do
- only_when { hostname is :earth }
+ given { hostname is :earth }
file '/etc/hosts.test' do
line '192.168.1.101 foo'