|
18 | 18 | :puppet_master_service => 'puppetmaster',
|
19 | 19 | :modulepath => '/etc/puppet/modules',
|
20 | 20 | :manifest => '/etc/puppet/manifests/site.pp',
|
| 21 | + :external_nodes => '/usr/local/bin/puppet_node_classifier', |
| 22 | + :node_terminus => 'exec', |
21 | 23 | :autosign => 'true',
|
22 | 24 | :certname => 'test.example.com',
|
23 | 25 | :storeconfigs => 'true',
|
|
94 | 96 | :value => params[:manifest],
|
95 | 97 | :require => 'File[/etc/puppet/puppet.conf]'
|
96 | 98 | )
|
| 99 | + should contain_ini_setting('puppetmasterencconfig').with( |
| 100 | + :ensure => 'present', |
| 101 | + :section => 'master', |
| 102 | + :setting => 'external_nodes', |
| 103 | + :path => '/etc/puppet/puppet.conf', |
| 104 | + :value => params[:external_nodes], |
| 105 | + :require => 'File[/etc/puppet/puppet.conf]' |
| 106 | + ) |
| 107 | + should contain_ini_setting('puppetmasternodeterminus').with( |
| 108 | + :ensure => 'present', |
| 109 | + :section => 'master', |
| 110 | + :setting => 'node_terminus', |
| 111 | + :path => '/etc/puppet/puppet.conf', |
| 112 | + :value => params[:node_terminus], |
| 113 | + :require => 'File[/etc/puppet/puppet.conf]' |
| 114 | + ) |
97 | 115 | should contain_ini_setting('puppetmasterautosign').with(
|
98 | 116 | :ensure => 'present',
|
99 | 117 | :section => 'master',
|
|
163 | 181 | :puppet_master_service => 'puppetmaster',
|
164 | 182 | :modulepath => '/etc/puppet/modules',
|
165 | 183 | :manifest => '/etc/puppet/manifests/site.pp',
|
| 184 | + :external_nodes => '/usr/local/bin/puppet_node_classifier', |
| 185 | + :node_terminus => 'exec', |
166 | 186 | :autosign => 'true',
|
167 | 187 | :certname => 'test.example.com',
|
168 | 188 | :storeconfigs => 'true',
|
|
237 | 257 | :value => params[:manifest],
|
238 | 258 | :require => 'File[/etc/puppet/puppet.conf]'
|
239 | 259 | )
|
| 260 | + should contain_ini_setting('puppetmasterencconfig').with( |
| 261 | + :ensure => 'present', |
| 262 | + :section => 'master', |
| 263 | + :setting => 'external_nodes', |
| 264 | + :path => '/etc/puppet/puppet.conf', |
| 265 | + :value => params[:external_nodes], |
| 266 | + :require => 'File[/etc/puppet/puppet.conf]' |
| 267 | + ) |
| 268 | + should contain_ini_setting('puppetmasternodeterminus').with( |
| 269 | + :ensure => 'present', |
| 270 | + :section => 'master', |
| 271 | + :setting => 'node_terminus', |
| 272 | + :path => '/etc/puppet/puppet.conf', |
| 273 | + :value => params[:node_terminus], |
| 274 | + :require => 'File[/etc/puppet/puppet.conf]' |
| 275 | + ) |
240 | 276 | should contain_ini_setting('puppetmasterautosign').with(
|
241 | 277 | :ensure => 'present',
|
242 | 278 | :section => 'master',
|
|
0 commit comments