Module: Landrush::Cap::Linux::CreateDnsmasqConfig
- Defined in:
- lib/landrush/cap/host/linux/create_dnsmasq_config.rb
Class Method Summary collapse
Class Method Details
.create_dnsmasq_config(env, _ip, tld) ⇒ Object
6 7 8 9 10 11 12 13 14 15 |
# File 'lib/landrush/cap/host/linux/create_dnsmasq_config.rb', line 6 def create_dnsmasq_config(env, _ip, tld) @env = env @tld = tld if contents_match? info 'Host dnsmasq config looks good.' else info 'Need to configure dnsmasq on host.' write_config! end end |