File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3737 $database_max_pool_size = undef
3838
3939 # These settings manage the various auto-deactivation and auto-purge settings
40- $node_ttl = ' 0s '
41- $node_purge_ttl = ' 0s '
40+ $node_ttl = ' 7d '
41+ $node_purge_ttl = ' 14d '
4242 $report_ttl = ' 14d'
4343
4444 $gc_interval = ' 60'
Original file line number Diff line number Diff line change 7676 'path' => '/etc/puppetlabs/puppetdb/conf.d/database.ini' ,
7777 'section' => 'database' ,
7878 'setting' => 'node-ttl' ,
79- 'value' => '0s '
79+ 'value' => '7d '
8080 ) }
8181 it { should contain_ini_setting ( 'puppetdb_node_purge_ttl' ) .
8282 with (
8383 'ensure' => 'present' ,
8484 'path' => '/etc/puppetlabs/puppetdb/conf.d/database.ini' ,
8585 'section' => 'database' ,
8686 'setting' => 'node-purge-ttl' ,
87- 'value' => '0s '
87+ 'value' => '14d '
8888 ) }
8989 it { should contain_ini_setting ( 'puppetdb_report_ttl' ) .
9090 with (
185185 'path' => '/etc/puppetdb/conf.d/database.ini' ,
186186 'section' => 'database' ,
187187 'setting' => 'node-ttl' ,
188- 'value' => '0s '
188+ 'value' => '7d '
189189 ) }
190190 it { should contain_ini_setting ( 'puppetdb_node_purge_ttl' ) .
191191 with (
192192 'ensure' => 'present' ,
193193 'path' => '/etc/puppetdb/conf.d/database.ini' ,
194194 'section' => 'database' ,
195195 'setting' => 'node-purge-ttl' ,
196- 'value' => '0s '
196+ 'value' => '14d '
197197 ) }
198198 it { should contain_ini_setting ( 'puppetdb_report_ttl' ) .
199199 with (
You can’t perform that action at this time.
0 commit comments