|
4 | 4 | context "on a Debian OS" do |
5 | 5 | let :facts do |
6 | 6 | { |
| 7 | + :id => 'root', |
| 8 | + :kernel => 'Linux', |
| 9 | + :lsbdistcodename => 'squeeze', |
7 | 10 | :osfamily => 'Debian', |
| 11 | + :operatingsystem => 'Debian', |
8 | 12 | :operatingsystemrelease => '6', |
| 13 | + :path => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', |
9 | 14 | :concat_basedir => '/dne', |
10 | 15 | } |
11 | 16 | end |
|
165 | 170 | context "13.10" do |
166 | 171 | let :facts do |
167 | 172 | super().merge({ |
| 173 | + :lsbdistrelease => '13.10', |
168 | 174 | :operatingsystemrelease => '13.10' |
169 | 175 | }) |
170 | 176 | end |
|
173 | 179 | context "12.04" do |
174 | 180 | let :facts do |
175 | 181 | super().merge({ |
| 182 | + :lsbdistrelease => '12.04', |
176 | 183 | :operatingsystemrelease => '12.04' |
177 | 184 | }) |
178 | 185 | end |
|
181 | 188 | context "13.04" do |
182 | 189 | let :facts do |
183 | 190 | super().merge({ |
| 191 | + :lsbdistrelease => '13.04', |
184 | 192 | :operatingsystemrelease => '13.04' |
185 | 193 | }) |
186 | 194 | end |
|
191 | 199 | context "on a RedHat 5 OS" do |
192 | 200 | let :facts do |
193 | 201 | { |
| 202 | + :id => 'root', |
| 203 | + :kernel => 'Linux', |
194 | 204 | :osfamily => 'RedHat', |
| 205 | + :operatingsystem => 'RedHat', |
195 | 206 | :operatingsystemrelease => '5', |
196 | 207 | :concat_basedir => '/dne', |
| 208 | + :path => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', |
197 | 209 | } |
198 | 210 | end |
199 | 211 | it { should contain_class("apache::params") } |
|
444 | 456 | context "on a FreeBSD OS" do |
445 | 457 | let :facts do |
446 | 458 | { |
| 459 | + :id => 'root', |
| 460 | + :kernel => 'FreeBSD', |
447 | 461 | :osfamily => 'FreeBSD', |
| 462 | + :operatingsystem => 'FreeBSD', |
448 | 463 | :operatingsystemrelease => '9', |
449 | 464 | :concat_basedir => '/dne', |
| 465 | + :path => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', |
450 | 466 | } |
451 | 467 | end |
452 | 468 | it { should contain_class("apache::params") } |
|
516 | 532 | context 'on all OSes' do |
517 | 533 | let :facts do |
518 | 534 | { |
| 535 | + :id => 'root', |
| 536 | + :kernel => 'Linux', |
519 | 537 | :osfamily => 'RedHat', |
| 538 | + :operatingsystem => 'RedHat', |
520 | 539 | :operatingsystemrelease => '6', |
521 | 540 | :concat_basedir => '/dne', |
| 541 | + :path => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', |
522 | 542 | } |
523 | 543 | end |
524 | 544 | context 'default vhost defaults' do |
|
0 commit comments