Module Expr Str ImportFrom alias Import alias Import alias Import alias Assign NameStore Call AttributeLoad NameLoad attr NameLoad FunctionDef arguments args defaults body Expr Str If Call AttributeLoad AttributeLoad NameLoad attr attr body Return TupleLoad NameLoad Str Return NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Str Assign NameStore Call AttributeLoad Call SubscriptLoad NameLoad Index Str NameLoad attr Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index Num attr Return SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Str Assign NameStore Call AttributeLoad Call SubscriptLoad NameLoad Index Str NameLoad attr Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index Num attr Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index Num attr Return Dict Str Str NameLoad SubscriptLoad NameLoad Slice Num decorator_list FunctionDef arguments args NameParam NameParam defaults Str NameLoad kwarg body Expr Str Assign NameStore Call NameLoad NameLoad Assign NameStore ListLoad NameLoad If BoolOpAnd CompareIs NameLoad NameLoad CompareIn Str NameLoad body For NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str body If Call AttributeLoad NameLoad attr Str body Continue If Call AttributeLoad NameLoad attr Str body Continue If Call AttributeLoad NameLoad attr Str body Continue If BoolOpAnd Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str body Continue Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr SubscriptLoad NameLoad Index Str NameLoad For NameStore NameLoad body If CompareIn NameLoad NameLoad body If Call NameLoad SubscriptLoad NameLoad Index NameLoad NameLoad body For NameStore NameLoad body Expr Call SubscriptLoad NameLoad Index Str keyword NameLoad keyword Call AttributeLoad Str attr NameLoad keyword Call AttributeLoad Str attr NameLoad SubscriptLoad NameLoad Index NameLoad orelse Expr Call SubscriptLoad NameLoad Index Str NameLoad Call AttributeLoad Str attr NameLoad SubscriptLoad NameLoad Index NameLoad orelse Expr Call SubscriptLoad NameLoad Index Str NameLoad Call AttributeLoad Str attr NameLoad SubscriptLoad NameLoad Index NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults Str body Expr Str Assign NameStore Call NameLoad NameLoad If CompareIn Str NameLoad body For NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str body If Call AttributeLoad NameLoad attr Str body Continue If Call AttributeLoad NameLoad attr Str body Continue If BoolOpAnd Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str body Continue Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad Str attr SubscriptLoad NameLoad Index Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Dict With Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str NameStore body For NameStore NameLoad body If UnaryOpNot Call AttributeLoad NameLoad attr body Continue If Call AttributeLoad NameLoad attr Str body Continue If CompareIn Str NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str If CompareIn SubscriptLoad NameLoad Index Num NameLoad body If Call NameLoad SubscriptLoad NameLoad Index SubscriptLoad NameLoad Index Num NameLoad body Assign NameStore SubscriptLoad NameLoad Index SubscriptLoad NameLoad Index Num Assign SubscriptStore NameLoad Index SubscriptLoad NameLoad Index Num ListLoad NameLoad Expr Call AttributeLoad SubscriptLoad NameLoad Index SubscriptLoad NameLoad Index Num attr Call AttributeLoad SubscriptLoad NameLoad Index Num attr orelse Assign SubscriptStore NameLoad Index SubscriptLoad NameLoad Index Num Call AttributeLoad SubscriptLoad NameLoad Index Num attr orelse If CompareNotIn Str NameLoad body Assign SubscriptStore NameLoad Index Str ListLoad Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr NameLoad Return NameLoad decorator_list
N/A N/A 
Module for managing dnsmasq
 __future__ absolute_import N/A salt.utils N/A os N/A logging N/A log N/A N/A logging getLogger __name__ __virtual__ N/A N/A N/A N/A N/A 
    Only work on POSIX-like systems.
     N/A N/A N/A N/A salt utils is_windows N/A N/A N/A False dnsmasq execution module cannot be loaded: only works on non-Windows systems. N/A True N/A version N/A N/A N/A N/A N/A 
    Shows installed version of dnsmasq.

    CLI Example:

    .. code-block:: bash

        salt '*' dnsmasq.version
     N/A cmd dnsmasq -v N/A out N/A N/A N/A N/A __salt__ N/A cmd.run cmd splitlines N/A comps N/A N/A N/A out N/A 0 split N/A N/A comps N/A 2 N/A fullversion N/A N/A N/A N/A N/A 
    Shows installed version of dnsmasq and compile options.

    CLI Example:

    .. code-block:: bash

        salt '*' dnsmasq.fullversion
     N/A cmd dnsmasq -v N/A out N/A N/A N/A N/A __salt__ N/A cmd.run cmd splitlines N/A comps N/A N/A N/A out N/A 0 split N/A version_num N/A comps N/A 2 N/A comps N/A N/A N/A out N/A 1 split N/A N/A version compile options version_num N/A comps N/A 3 N/A set_config N/A N/A config_file follow N/A /etc/dnsmasq.conf True kwargs N/A N/A 
    Sets a value or a set of values in the specified file. By default, if
    conf-dir is configured in this file, salt will attempt to set the option
    in any file inside the conf-dir where it has already been enabled. If it
    does not find it inside any files, it will append it to the main config
    file. Setting follow to False will turn off this behavior.

    If a config option currently appears multiple times (such as dhcp-host,
    which is specified at least once per host), the new option will be added
    to the end of the main config file (and not to any includes). If you need
    an option added to a specific include file, specify it as the config_file.

    CLI Examples:

    .. code-block:: bash

        salt '*' dnsmasq.set_config domain=mydomain.com
        salt '*' dnsmasq.set_config follow=False domain=mydomain.com
        salt '*' dnsmasq.set_config file=/etc/dnsmasq.conf domain=mydomain.com
     N/A dnsopts N/A get_config config_file N/A includes N/A config_file N/A N/A N/A follow True N/A conf-dir dnsopts N/A N/A filename N/A N/A os listdir N/A dnsopts N/A conf-dir N/A N/A N/A N/A filename startswith . N/A N/A N/A N/A N/A filename endswith ~ N/A N/A N/A N/A N/A filename endswith bak N/A N/A N/A N/A N/A N/A filename endswith # N/A N/A filename endswith # N/A N/A N/A N/A N/A includes append N/A N/A {0}/{1} format N/A dnsopts N/A conf-dir filename N/A key kwargs N/A N/A N/A key dnsopts N/A N/A N/A isinstance N/A dnsopts N/A key str N/A N/A config includes N/A N/A N/A N/A __salt__ N/A file.sed path config before N/A N/A ^{0}=.* format key after N/A N/A {0}={1} format key N/A kwargs N/A key N/A N/A N/A N/A __salt__ N/A file.append config_file N/A N/A {0}={1} format key N/A kwargs N/A key N/A N/A N/A N/A __salt__ N/A file.append config_file N/A N/A {0}={1} format key N/A kwargs N/A key N/A kwargs N/A get_config N/A N/A config_file N/A /etc/dnsmasq.conf N/A N/A 
    Dumps all options from the config file.

    CLI Examples:

    .. code-block:: bash

        salt '*' dnsmasq.get_config
        salt '*' dnsmasq.get_config file=/etc/dnsmasq.conf
     N/A dnsopts N/A _parse_dnamasq config_file N/A N/A conf-dir dnsopts N/A N/A filename N/A N/A os listdir N/A dnsopts N/A conf-dir N/A N/A N/A N/A filename startswith . N/A N/A N/A N/A N/A filename endswith ~ N/A N/A N/A N/A N/A N/A filename endswith # N/A N/A filename endswith # N/A N/A N/A N/A N/A dnsopts update N/A _parse_dnamasq N/A N/A {0}/{1} format N/A dnsopts N/A conf-dir filename N/A dnsopts N/A _parse_dnamasq N/A N/A filename N/A N/A N/A 
    Generic function for parsing dnsmasq files including includes.
     N/A fileopts N/A N/A N/A N/A N/A salt utils fopen filename r fp_ N/A N/A line fp_ N/A N/A N/A N/A N/A line strip N/A N/A N/A N/A N/A line startswith # N/A N/A N/A N/A = line N/A N/A comps N/A N/A line split = N/A N/A N/A comps N/A 0 fileopts N/A N/A N/A isinstance N/A fileopts N/A N/A comps N/A 0 str N/A N/A temp N/A fileopts N/A N/A comps N/A 0 N/A N/A fileopts N/A N/A comps N/A 0 N/A temp N/A N/A N/A N/A fileopts N/A N/A comps N/A 0 append N/A N/A N/A comps N/A 1 strip N/A N/A N/A fileopts N/A N/A comps N/A 0 N/A N/A N/A comps N/A 1 strip N/A N/A N/A unparsed fileopts N/A N/A N/A fileopts N/A unparsed N/A N/A N/A N/A N/A fileopts N/A unparsed append line N/A fileopts N/A