summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
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'