Changeset 536


Ignore:
Timestamp:
Feb 15, 2010, 11:31:12 PM (12 years ago)
Author:
sebas
Message:

cambio de formato de los if : todos iguales + doc de variables

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/puppet/modules/puppet-dnsmasq/templates/my.dnsmasq.conf.erb

    r513 r536  
    1212<% end -%>
    1313
    14 <% if has_variable?("dhcp_authoritative") -%>
     14<% if dhcp_authoritative != 'absent' -%>
    1515# Set the DHCP server to authoritative mode. In this mode it will barge in
    1616# and take over the lease for any client which broadcasts on the network,
     
    2727
    2828<% if dhcp_nameservers != 'absent' -%>
     29# upstream nameserver
    2930server=<%= dhcp_nameservers %>
    3031<% end -%>
    3132
    32 <% if has_variable?("read_ethers") -%>
     33<% if read_ethers != 'absent' -%>
     34# Dnsmasq will read /etc/ethers and act
     35# on the ethernet-address/IP pairs found there just as if they had
     36# been given as --dhcp-host options. Useful if you keep
     37# MAC-address/host mappings there for other purposes.
    3338read-ethers
    3439<% end -%>
Note: See TracChangeset for help on using the changeset viewer.