File tree Expand file tree Collapse file tree 7 files changed +7
-48
lines changed Expand file tree Collapse file tree 7 files changed +7
-48
lines changed Original file line number Diff line number Diff line change 126126 )
127127
128128 # Join all configuration lines
129- $content = $ config_lines .join(" \n " )
129+ $content = " # sssd::config \n [sssd] \n ${ $ config_lines .join(" \n" )} \n "
130130
131131 file { '/etc/sssd/sssd.conf' :
132132 owner => ' root' ,
133133 group => ' root' ,
134134 mode => ' 0600' ,
135- content => epp(" ${module_name} /content_only.epp" , {
136- ' content' => " # sssd::config\n [sssd]\n ${content} " ,
137- }),
135+ content => $content ,
138136 notify => Class[" ${module_name} ::service" ],
139137 }
140138}
Original file line number Diff line number Diff line change 7575 # Combine all configuration entries in the expected order
7676 $_all_entries = $_base_content + $_description_entries + $_debug_level_entries + $_debug_timestamps_entries + $_debug_microseconds_entries + $_autofs_negative_timeout_entries
7777
78- $_final_content = " ${_all_entries.join(" \n" )}"
79-
80- $_content = epp(
81- " ${module_name} /content_only.epp" ,
82- {
83- ' content' => $_final_content,
84- },
85- )
78+ $_content = " ${_all_entries.join(" \n" )}\n "
8679 }
8780
8881 sssd::config::entry { 'puppet_service_autofs' :
Original file line number Diff line number Diff line change 9292 # Combine all configuration entries in the expected order
9393 $_all_entries = $_base_content + $_description_entries + $_debug_level_entries + $_debug_timestamps_entries + $_debug_microseconds_entries + $_allowed_uids_entries + $_user_attributes_entries + $_wildcard_limit_entries
9494
95- $_final_content = " ${_all_entries.join(" \n" )}"
96-
97- $_content = epp(
98- " ${module_name} /content_only.epp" ,
99- {
100- ' content' => $_final_content,
101- },
102- )
95+ $_content = " ${_all_entries.join(" \n" )}\n "
10396 }
10497
10598 sssd::config::entry { 'puppet_service_ifp' :
Original file line number Diff line number Diff line change 7474 # Combine all configuration entries in the expected order
7575 $_all_entries = $_base_content + $_description_entries + $_debug_level_entries + $_debug_timestamps_entries + $_debug_microseconds_entries + $_allowed_uids_entries
7676
77- $_final_content = " ${_all_entries.join(" \n" )}"
78-
79- $_content = epp(
80- " ${module_name} /content_only.epp" ,
81- {
82- ' content' => $_final_content,
83- },
84- )
77+ $_content = " ${_all_entries.join(" \n" )}\n "
8578 }
8679
8780 sssd::config::entry { 'puppet_service_pac' :
Original file line number Diff line number Diff line change 8282 # Combine all configuration entries in the expected order
8383 $_all_entries = $_base_content + $_description_entries + $_debug_level_entries + $_debug_timestamps_entries + $_debug_microseconds_entries + $_ssh_hash_known_hosts_entries + $_ssh_known_hosts_timeout_entries
8484
85- $_final_content = " ${_all_entries.join(" \n" )}"
86-
87- $_content = epp(
88- " ${module_name} /content_only.epp" ,
89- {
90- ' content' => $_final_content,
91- },
92- )
85+ $_content = " ${_all_entries.join(" \n" )}\n "
9386 }
9487
9588 sssd::config::entry { 'puppet_service_ssh' :
Original file line number Diff line number Diff line change 7777 # Combine all configuration entries in the expected order
7878 $_all_entries = $_base_content + $_description_entries + $_debug_level_entries + $_debug_timestamps_entries + $_debug_microseconds_entries + $_sudo_timed_entries
7979
80- $_final_content = " ${_all_entries.join(" \n" )}"
81-
82- $_content = epp(
83- " ${module_name} /content_only.epp" ,
84- {
85- ' content' => $_final_content,
86- },
87- )
80+ $_content = " ${_all_entries.join(" \n" )}\n "
8881 }
8982
9083 sssd::config::entry { 'puppet_service_sudo' :
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments