Skip to content

Commit 8c11821

Browse files
committed
(maint) Add spec structured facts
1 parent 323c8d0 commit 8c11821

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

spec/unit/classes/master/config_spec.rb

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,12 @@
8686
operatingsystemrelease: '7.0',
8787
kernel: 'Linux',
8888
selinux: true,
89+
os: {
90+
family: 'RedHat',
91+
name: 'RedHat',
92+
release: { 'full' => '7.0' },
93+
selinux: { 'enabled' => true },
94+
},
8995
}
9096
end
9197
let(:pre_condition) { 'class { "puppetdb::globals": version => "3.1.1-1.el7", }' }
@@ -102,6 +108,12 @@
102108
operatingsystemrelease: '7.0',
103109
kernel: 'Linux',
104110
selinux: true,
111+
os: {
112+
family: 'RedHat',
113+
name: 'RedHat',
114+
release: { 'full' => '7.0' },
115+
selinux: { 'enabled' => true },
116+
},
105117
}
106118
end
107119

0 commit comments

Comments
 (0)