22
22
it 'has the correct systemd-override drop file' do
23
23
is_expected . to contain_file ( '/etc/systemd/system/postgresql.service.d/postgresql.conf' ) . with (
24
24
ensure : 'file' , owner : 'root' , group : 'root' ,
25
- ) . that_requires ( 'File[/etc/systemd/system/postgresql.service.d]' )
25
+ ) . that_requires ( 'File[/etc/systemd/system/postgresql.service.d]' )
26
26
end
27
27
28
28
it 'has the correct systemd-override file #regex' do
@@ -59,7 +59,7 @@ class { 'postgresql::server': }
59
59
end
60
60
61
61
it 'has the correct systemd-override file #regex' do
62
- is_expected . to contain_file ( '/etc/systemd/system/postgresql-10.service.d/postgresql-10.conf' ) . without_content ( %r{\. include} )
62
+ is_expected . to contain_file ( '/etc/systemd/system/postgresql-10.service.d/postgresql-10.conf' ) . without_content ( %r{\. include} )
63
63
end
64
64
end
65
65
end
@@ -79,7 +79,7 @@ class { 'postgresql::server': }
79
79
it 'has the correct systemd-override drop file' do
80
80
is_expected . to contain_file ( '/etc/systemd/system/postgresql.service.d/postgresql.conf' ) . with (
81
81
ensure : 'file' , owner : 'root' , group : 'root' ,
82
- ) . that_requires ( 'File[/etc/systemd/system/postgresql.service.d]' )
82
+ ) . that_requires ( 'File[/etc/systemd/system/postgresql.service.d]' )
83
83
end
84
84
85
85
it 'has the correct systemd-override file #regex' do
@@ -103,7 +103,7 @@ class { 'postgresql::server': }
103
103
)
104
104
end
105
105
it 'has the correct systemd-override file #regex' do
106
- is_expected . to contain_file ( '/etc/systemd/system/postgresql-14.service.d/postgresql-14.conf' ) . without_content ( %r{\. include} )
106
+ is_expected . to contain_file ( '/etc/systemd/system/postgresql-14.service.d/postgresql-14.conf' ) . without_content ( %r{\. include} )
107
107
end
108
108
end
109
109
end
@@ -123,7 +123,7 @@ class { 'postgresql::server': }
123
123
it 'has the correct systemd-override drop file' do
124
124
is_expected . to contain_file ( '/etc/systemd/system/postgresql.service.d/postgresql.conf' ) . with (
125
125
ensure : 'file' , owner : 'root' , group : 'root' ,
126
- ) . that_requires ( 'File[/etc/systemd/system/postgresql.service.d]' )
126
+ ) . that_requires ( 'File[/etc/systemd/system/postgresql.service.d]' )
127
127
end
128
128
129
129
it 'has the correct systemd-override file #regex' do
@@ -148,7 +148,7 @@ class { 'postgresql::server': }
148
148
end
149
149
150
150
it 'has the correct systemd-override file #regex' do
151
- is_expected . to contain_file ( '/etc/systemd/system/postgresql-13.service.d/postgresql-13.conf' ) . without_content ( %r{\. include} )
151
+ is_expected . to contain_file ( '/etc/systemd/system/postgresql-13.service.d/postgresql-13.conf' ) . without_content ( %r{\. include} )
152
152
end
153
153
end
154
154
end
0 commit comments