From 16bcda50fb5aeca6301f3fe71abf4ddc62e244f0 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sun, 8 Dec 2024 13:03:49 +0200 Subject: add gemspec --- Rakefile | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'Rakefile') diff --git a/Rakefile b/Rakefile index acb3c15..3e7457b 100644 --- a/Rakefile +++ b/Rakefile @@ -29,3 +29,14 @@ task :foo do end end end + +desc 'Set up the /etc/hosts file' +task :hosts do + configure do + only_when { hostname is :earth } + + file '/etc/hosts.test' do + add_line '192.168.1.101 foo' + end + end +end -- cgit v1.2.3