|
23 | 23 |
|
24 | 24 | describe 'for OS-agnostic configuration' do
|
25 | 25 | ['Debian', 'RedHat', 'Archlinux', 'FreeBSD'].each do |osfamily|
|
26 |
| - context "on #{osfamily} family operatingsystems" do |
| 26 | + context "when on #{osfamily} family operatingsystems" do |
27 | 27 | let(:facts) do
|
28 | 28 | { os: { family: osfamily } }.merge default_facts
|
29 | 29 | end
|
|
50 | 50 | end
|
51 | 51 | end
|
52 | 52 |
|
53 |
| - context "on #{osfamily} family specifying a package version" do |
| 53 | + context "when on #{osfamily} family specifying a package version" do |
54 | 54 | let(:facts) do
|
55 | 55 | { os: { family: osfamily } }.merge default_facts
|
56 | 56 | end
|
|
78 | 78 | end
|
79 | 79 |
|
80 | 80 | # C9938
|
81 |
| - context "on #{osfamily} when specifying custom content" do |
| 81 | + context "when on #{osfamily} when specifying custom content" do |
82 | 82 | let(:facts) do
|
83 | 83 | { os: { family: osfamily } }.merge default_facts
|
84 | 84 | end
|
|
97 | 97 |
|
98 | 98 | describe 'for linux operating systems' do
|
99 | 99 | ['Debian', 'RedHat', 'Archlinux'].each do |osfamily|
|
100 |
| - context "on #{osfamily} family operatingsystems" do |
| 100 | + context "when on #{osfamily} family operatingsystems" do |
101 | 101 | let(:facts) do
|
102 | 102 | { os: { family: osfamily } }.merge default_facts
|
103 | 103 | end
|
|
265 | 265 | end
|
266 | 266 | end
|
267 | 267 |
|
268 |
| - context "on #{osfamily} when specifying a restart_command" do |
| 268 | + context "when on #{osfamily} when specifying a restart_command" do |
269 | 269 | let(:facts) do
|
270 | 270 | { os: { family: osfamily } }.merge default_facts
|
271 | 271 | end
|
|
293 | 293 |
|
294 | 294 | describe 'for OS-agnostic configuration' do
|
295 | 295 | ['Debian', 'RedHat', 'Archlinux', 'FreeBSD'].each do |osfamily|
|
296 |
| - context "on #{osfamily} family operatingsystems" do |
| 296 | + context "when on #{osfamily} family operatingsystems" do |
297 | 297 | let(:facts) do
|
298 | 298 | { os: { family: osfamily } }.merge default_facts
|
299 | 299 | end
|
|
331 | 331 | end
|
332 | 332 |
|
333 | 333 | # C9938
|
334 |
| - context "on #{osfamily} when specifying custom content" do |
| 334 | + context "when on #{osfamily} when specifying custom content" do |
335 | 335 | let(:facts) do
|
336 | 336 | { os: { family: osfamily } }.merge default_facts
|
337 | 337 | end
|
|
350 | 350 |
|
351 | 351 | describe 'for linux operating systems' do
|
352 | 352 | ['Debian', 'RedHat', 'Archlinux'].each do |osfamily|
|
353 |
| - context "on #{osfamily} family operatingsystems" do |
| 353 | + context "when on #{osfamily} family operatingsystems" do |
354 | 354 | let(:facts) do
|
355 | 355 | { os: { family: osfamily } }.merge default_facts
|
356 | 356 | end
|
|
419 | 419 | end
|
420 | 420 | end
|
421 | 421 |
|
422 |
| - context "on #{osfamily} family operatingsystems without managing the service" do |
| 422 | + context "when on #{osfamily} family operatingsystems without managing the service" do |
423 | 423 | let(:facts) do
|
424 | 424 | { os: { family: osfamily } }.merge default_facts
|
425 | 425 | end
|
|
503 | 503 | end
|
504 | 504 | end
|
505 | 505 |
|
506 |
| - context "on #{osfamily} when specifying a restart_command" do |
| 506 | + context "when on #{osfamily} when specifying a restart_command" do |
507 | 507 | let(:facts) do
|
508 | 508 | { os: { family: osfamily } }.merge default_facts
|
509 | 509 | end
|
|
0 commit comments