File tree 1 file changed +14
-5
lines changed
1 file changed +14
-5
lines changed Original file line number Diff line number Diff line change 30
30
it do
31
31
is_expected . to contain_file ( '/var/puppet_db2/universal' ) . with (
32
32
:ensure => :absent ,
33
+ :backup => :false ,
33
34
:purge => :true ,
34
35
:force => :true
35
36
) . that_requires ( 'Exec[db2::install::11.1]' )
36
37
end
37
38
38
39
it do
39
40
is_expected . to contain_file ( '/var/puppet_db2/v11.1_linux64_expc.tar.gz' ) . with (
40
- :ensure => :absent
41
+ :ensure => :absent ,
42
+ :backup => :false
41
43
) . that_requires ( 'Exec[db2::install::11.1]' )
42
44
end
43
45
end
64
66
it do
65
67
is_expected . to contain_file ( '/var/puppet_db2/universal' ) . with (
66
68
:ensure => :absent ,
69
+ :backup => :false ,
67
70
:purge => :true ,
68
71
:force => :true
69
72
) . that_requires ( 'Exec[db2::install::12.1]' )
70
73
end
71
74
72
75
it do
73
76
is_expected . to contain_file ( '/var/puppet_db2/v12.1_linux64_expc.tar.gz' ) . with (
74
- :ensure => :absent
77
+ :ensure => :absent ,
78
+ :backup => :false
75
79
) . that_requires ( 'Exec[db2::install::12.1]' )
76
80
end
77
81
end
99
103
it do
100
104
is_expected . to contain_file ( '/var/puppet_db2/universal' ) . with (
101
105
:ensure => :absent ,
106
+ :backup => false ,
102
107
:purge => :true ,
103
108
:force => :true
104
109
) . that_requires ( 'Exec[db2::install::db2_install]' )
105
110
end
106
111
107
112
it do
108
113
is_expected . to contain_file ( '/var/puppet_db2/v12.1_linux64_expc.tar.gz' ) . with (
109
- :ensure => :absent
114
+ :ensure => :absent ,
115
+ :backup => false
110
116
) . that_requires ( 'Exec[db2::install::db2_install]' )
111
117
end
112
118
end
122
128
is_expected . to contain_file ( '/var/puppet_db2/server_t' ) . with (
123
129
:ensure => :absent ,
124
130
:purge => :true ,
131
+ :backup => :false ,
125
132
:force => :true
126
133
) . that_requires ( 'Exec[db2::install::11.1]' )
127
134
end
146
153
is_expected . to contain_file ( '/var/puppet_db2/universal' ) . with (
147
154
:ensure => :absent ,
148
155
:purge => :true ,
149
- :force => :true
156
+ :force => :true ,
157
+ :backup => :false ,
150
158
) . that_requires ( 'Exec[db2::install::11.1]' )
151
159
end
152
160
153
161
it do
154
162
is_expected . to contain_file ( '/var/puppet_db2/db2.tar.gz' ) . with (
155
- :ensure => :absent
163
+ :ensure => :absent ,
164
+ :backup => false ,
156
165
) . that_requires ( 'Exec[db2::install::11.1]' )
157
166
end
158
167
end
You can’t perform that action at this time.
0 commit comments