components/puppet/files/solaris/lib/puppet/type/address_object.rb
changeset 2038 b64efc6f1fe1
parent 1921 489d0d0f656f
equal deleted inserted replaced
2037:3559e1505b2b 2038:b64efc6f1fe1
    33         isnamevar
    33         isnamevar
    34     end
    34     end
    35 
    35 
    36     newparam(:temporary) do
    36     newparam(:temporary) do
    37         desc "Optional parameter that specifies that the address object is
    37         desc "Optional parameter that specifies that the address object is
    38               temporary.  Temporary aggregation links last until the next
    38               temporary.  Temporary address objects last until the next reboot."
    39               reboot."
       
    40         newvalues(:true, :false)
    39         newvalues(:true, :false)
    41     end
    40     end
    42 
    41 
    43     newproperty(:address_type) do
    42     newproperty(:address_type) do
    44         desc "The type of address object to create.  Valid values are static,
    43         desc "The type of address object to create.  Valid values are static,
    46         # add from_gz as a valid value, even though users should not specify it
    45         # add from_gz as a valid value, even though users should not specify it
    47         newvalues(:static, :dhcp, :addrconf, :from_gz)
    46         newvalues(:static, :dhcp, :addrconf, :from_gz)
    48     end
    47     end
    49 
    48 
    50     newproperty(:enable) do
    49     newproperty(:enable) do
    51         desc "Specifies the address object should be enabled or disabled."
    50         desc "Specifies the address object should be enabled or disabled.
       
    51               This property is only applied temporarily, until next reboot."
    52         newvalues(:true, :false)
    52         newvalues(:true, :false)
    53     end
    53     end
    54 
    54 
    55     newproperty(:address) do
    55     newproperty(:address) do
    56         desc "A literal IP address or a hostname corresponding to the local
    56         desc "A literal IP address or a hostname corresponding to the local