class MStrap::DNSMasq

Included Modules

Defined in:

mstrap/supports/dnsmasq.cr

Instance Method Summary

Instance methods inherited from module MStrap::DSL::System

cmd(env : Hash | Nil, command : String, args : Array(String) | Nil, **kwargs) cmd, has_command?(command_name : String, **kwargs) : Bool has_command?

Instance methods inherited from module MStrap::DSL::Logging

log(msg) log, logc(msg) logc, logd(msg) logd, logn(msg) logn, logw(msg) logw, success(msg) success

Instance Method Detail

def install! #

Runs dnsmasq install process and adds resolver for .localhost


[View source]
def installed? #

Returns whether dnsmasq is installed


[View source]