summaryrefslogtreecommitdiff
path: root/playground/Rakefile
diff options
context:
space:
mode:
Diffstat (limited to 'playground/Rakefile')
-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'