File tree Expand file tree Collapse file tree 3 files changed +26
-1
lines changed Expand file tree Collapse file tree 3 files changed +26
-1
lines changed Original file line number Diff line number Diff line change @@ -1376,6 +1376,7 @@ The following parameters are available in the `sssd::domain` defined type:
13761376* [ ` proxy_pam_target ` ] ( #-sssd--domain--proxy_pam_target )
13771377* [ ` proxy_lib_name ` ] ( #-sssd--domain--proxy_lib_name )
13781378* [ ` ldap_user_search_filter ` ] ( #-sssd--domain--ldap_user_search_filter )
1379+ * [ ` custom_options ` ] ( #-sssd--domain--custom_options )
13791380
13801381##### <a name =" -sssd--domain--name " ></a >` name `
13811382
@@ -1728,7 +1729,17 @@ Default value: `undef`
17281729
17291730Data type: ` Optional[String] `
17301731
1732+ ##### <a name =" -sssd--domain--custom_options " ></a >` custom_options `
17311733
1734+ Data type: ` Optional[Hash] `
1735+
1736+ If defined, this hash will be used to create the service
1737+ section instead of the parameters. You must provide all options
1738+ in the section you want to add. Each entry in the hash will be
1739+ added as a simple init pair
1740+ key = value
1741+ under the section in the sssd.conf file.
1742+ No error checking will be performed.
17321743
17331744Default value: ` undef `
17341745
Original file line number Diff line number Diff line change 6666# @param proxy_lib_name
6767# @param ldap_user_search_filter
6868#
69+ # @param custom_options
70+ # If defined, this hash will be used to create the service
71+ # section instead of the parameters. You must provide all options
72+ # in the section you want to add. Each entry in the hash will be
73+ # added as a simple init pair key = value under the section in
74+ # the sssd.conf file.
75+ # No error checking will be performed.
76+ #
6977# @author https://github.com/simp/pupmod-simp-sssd/graphs/contributors
7078#
7179define sssd::domain (
112120 Optional[String] $realmd_tags = undef ,
113121 Optional[String] $proxy_pam_target = undef ,
114122 Optional[String] $proxy_lib_name = undef ,
115- Optional[String] $ldap_user_search_filter = undef
123+ Optional[String] $ldap_user_search_filter = undef ,
124+ Optional[Hash] $custom_options = undef
116125) {
117126
118127 sssd::config::entry { "puppet_domain_${name}" :
Original file line number Diff line number Diff line change @@ -107,3 +107,8 @@ proxy_pam_target = <%= @proxy_pam_target %>
107107<% if @proxy_lib_name %>
108108proxy_lib_name = <%= @proxy_lib_name %>
109109<% end -%>
110+ <% if @custom_options -%>
111+ <% @custom_options.each do |opt,value| -%>
112+ <%= opt %> = <%= value %>
113+ <% end -%>
114+ <% end -%>
You can’t perform that action at this time.
0 commit comments