summaryrefslogtreecommitdiff
path: root/Rakefile
blob: 4e7f68bc155c409a0dd51a3720d05d47a012825b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
require_relative 'lib/rcm'

desc 'Set up wireguard mesh'
task :wireguard do
  make_it_so do
    p option :verbose
    dump_config
    only_when { hostname is :earth }

    file '/tmp/test/wg/wg0.conf' do
      create_parent
      content 'the content is here'
    end
  end
end