diff options
| author | Paul Buetow <paul@buetow.org> | 2024-12-08 13:03:49 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2024-12-08 13:03:49 +0200 |
| commit | 16bcda50fb5aeca6301f3fe71abf4ddc62e244f0 (patch) | |
| tree | 4c0717d6e0778c3a75884c6e150bd09fae6b26dc /Rakefile | |
| parent | f0b0dae5bb2e16cf45223fc31396708bd069d06c (diff) | |
add gemspec
Diffstat (limited to 'Rakefile')
| -rw-r--r-- | Rakefile | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -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 |
