summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2024-12-06 13:16:39 +0200
committerPaul Buetow <paul@buetow.org>2024-12-06 13:16:39 +0200
commit9abea6c57e018f6033dfa8ffc6cdcdfc86ece969 (patch)
treee1bf81620f326e69a2be904a9973b61b9f578173 /Rakefile
parentdbc25d5e39625045536dd5ab502babaf6993ed6b (diff)
fix options
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/Rakefile b/Rakefile
index f41f084..5b2ec0e 100644
--- a/Rakefile
+++ b/Rakefile
@@ -1,12 +1,10 @@
require_relative 'rcm/rcm'
desc 'Set up wireguard mesh'
-task :wireguard do |t|
- rcm do
+task :wireguard do
+ make_it_so do
p option :verbose
- conditions do
- hostname is :earth
- end
+ only_when { hostname is :earth }
file '/etc/wg/wg0.conf' do
content 'the content'