We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90e0ef5 commit 97778a6Copy full SHA for 97778a6
spec/classes/puppet_agent_spec.rb
@@ -549,4 +549,30 @@
549
}
550
end
551
552
+ describe 'puppetagentstringifyfacts' do
553
+ let(:facts) do
554
+ {
555
+ :osfamily => 'RedHat',
556
+ :operatingsystem => 'RedHat',
557
+ :kernel => 'Linux'
558
+ }
559
+ end
560
+ context 'with stringify_facts set' do
561
+ let(:params) do
562
563
+ :stringify_facts => true,
564
565
566
+
567
+ it{
568
+ should contain_ini_setting('puppetagentstringifyfacts').with(
569
+ :ensure => 'present',
570
+ :section => 'agent',
571
+ :setting => 'stringify_facts',
572
+ :value => 'true',
573
+ :path => '/etc/puppet/puppet.conf'
574
+ )
575
576
577
578
0 commit comments