components/puppet/files/solaris/lib/puppet/type/nsswitch.rb
branchs11-update
changeset 2771 8e4227dc2fc4
child 1427 0b76fc564cd2
child 2928 43b3da52b84a
equal deleted inserted replaced
2767:82fe1f1d5d8d 2771:8e4227dc2fc4
       
     1 #
       
     2 # CDDL HEADER START
       
     3 #
       
     4 # The contents of this file are subject to the terms of the
       
     5 # Common Development and Distribution License (the "License").
       
     6 # You may not use this file except in compliance with the License.
       
     7 #
       
     8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
       
     9 # or http://www.opensolaris.org/os/licensing.
       
    10 # See the License for the specific language governing permissions
       
    11 # and limitations under the License.
       
    12 #
       
    13 # When distributing Covered Code, include this CDDL HEADER in each
       
    14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
       
    15 # If applicable, add the following below this CDDL HEADER, with the
       
    16 # fields enclosed by brackets "[]" replaced with your own identifying
       
    17 # information: Portions Copyright [yyyy] [name of copyright owner]
       
    18 #
       
    19 # CDDL HEADER END
       
    20 #
       
    21 
       
    22 #
       
    23 # Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
       
    24 #
       
    25 
       
    26 Puppet::Type.newtype(:nsswitch) do
       
    27     @doc = "Name service switch configuration data"
       
    28 
       
    29     newparam(:name) do
       
    30         desc "The symbolic name for the nsswitch settings to use.  This name
       
    31               is used for human reference only."
       
    32         isnamevar
       
    33     end
       
    34 
       
    35     newproperty(:default) do
       
    36         desc "The default configuration entry"
       
    37     end
       
    38 
       
    39     newproperty(:host) do
       
    40         desc "The host database lookup override"
       
    41     end
       
    42 
       
    43     newproperty(:password) do
       
    44         desc "The password database lookup override"
       
    45     end
       
    46 
       
    47     newproperty(:group) do
       
    48         desc "The group database lookup override"
       
    49     end
       
    50 
       
    51     newproperty(:network) do
       
    52         desc "The network database lookup override"
       
    53     end
       
    54 
       
    55     newproperty(:rpc) do
       
    56         desc "The rpc database lookup override"
       
    57     end
       
    58 
       
    59     newproperty(:ether) do
       
    60         desc "The ether database lookup override"
       
    61     end
       
    62 
       
    63     newproperty(:netmask) do
       
    64         desc "The netmask database lookup override"
       
    65     end
       
    66 
       
    67     newproperty(:bootparam) do
       
    68         desc "The bootparam database lookup override"
       
    69     end
       
    70 
       
    71     newproperty(:publickey) do
       
    72         desc "The publickey database lookup override"
       
    73     end
       
    74 
       
    75     newproperty(:netgroup) do
       
    76         desc "The netgroup database lookup override"
       
    77     end
       
    78 
       
    79     newproperty(:automount) do
       
    80         desc "The automount database lookup override"
       
    81     end
       
    82 
       
    83     newproperty(:alias) do
       
    84         desc "The alias database lookup override"
       
    85     end
       
    86 
       
    87     newproperty(:servicde) do
       
    88         desc "The servicde database lookup override"
       
    89     end
       
    90 
       
    91     newproperty(:project) do
       
    92         desc "The project database lookup override"
       
    93     end
       
    94 
       
    95     newproperty(:auth_attr) do
       
    96         desc "The auth_attr database lookup override"
       
    97     end
       
    98 
       
    99     newproperty(:prof_attr) do
       
   100         desc "The prof_attr database lookup override"
       
   101     end
       
   102 
       
   103     newproperty(:tnrhtp) do
       
   104         desc "The tnrhtp database lookup override.  Requires trusted extensions"
       
   105     end
       
   106 
       
   107     newproperty(:tnrhdb) do
       
   108         desc "The tnrhdb database lookup override.  Requires trusted extensions"
       
   109     end
       
   110 
       
   111     newproperty(:sudoer) do
       
   112         desc "The sudoer database lookup override.  Used with sudo only"
       
   113     end
       
   114 end