File tree 3 files changed +5
-3
lines changed
3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 49
49
"operatingsystem" : " Debian" ,
50
50
"operatingsystemrelease" : [
51
51
" 10" ,
52
- " 11"
52
+ " 11" ,
53
+ " 12"
53
54
]
54
55
},
55
56
{
Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ class { 'apache::mod::php': }
20
20
content => "<?php phpinfo(); ?>\\ n",
21
21
}
22
22
MANIFEST
23
+
23
24
it 'succeeds in puppeting php' do
24
25
apply_manifest ( pp , catch_failures : true )
25
26
end
@@ -36,7 +37,7 @@ class { 'apache::mod::php': }
36
37
describe file ( "#{ apache_hash [ 'mod_dir' ] } /php7.4.conf" ) do
37
38
it { is_expected . to contain 'DirectoryIndex index.php' }
38
39
end
39
- elsif os [ :family ] == 'debian' && os [ :release ] =~ %r{^12\. }
40
+ elsif os [ :family ] == 'debian' && os [ :release ] =~ %r{^12}
40
41
describe file ( "#{ apache_hash [ 'mod_dir' ] } /php8.2.conf" ) do
41
42
it { is_expected . to contain 'DirectoryIndex index.php' }
42
43
end
Original file line number Diff line number Diff line change 91
91
92
92
it {
93
93
expect ( subject ) . to contain_file ( 'php8.2.load' ) . with (
94
- content : "LoadModule php8_module /usr/lib/apache2/modules/libphp8.2.so\n " ,
94
+ content : "LoadModule php_module /usr/lib/apache2/modules/libphp8.2.so\n " ,
95
95
)
96
96
}
97
97
end
You can’t perform that action at this time.
0 commit comments