This repository was archived by the owner on Feb 21, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 173
173
}
174
174
->
175
175
exec { 'remove-old-versions-of-sonarqube' :
176
- command => " /tmp/cleanup-old-sonarqube-versions.sh ${installroot} ${version} " ,
177
- path => ' /usr/bin:/usr/sbin:/bin:/sbin:/usr/local/bin' ,
176
+ command => " /tmp/cleanup-old-sonarqube-versions.sh ${installroot} ${version} " ,
177
+ path => ' /usr/bin:/usr/sbin:/bin:/sbin:/usr/local/bin' ,
178
+ refreshonly => true ,
179
+ subscribe => File [" ${installroot} /${package_name} -${version} " ],
178
180
}
179
181
180
182
# The plugins directory. Useful to later reference it from the plugin definition
Original file line number Diff line number Diff line change 36
36
before => File [$plugin ],
37
37
require => File [$sonarqube::plugin_dir ],
38
38
}
39
- - >
39
+ ~ >
40
40
exec { "remove-old-versions-of-${artifactid}" :
41
- command => " /tmp/cleanup-old-plugin-versions.sh ${sonarqube::plugin_dir} ${artifactid} ${version} " ,
42
- path => ' /usr/bin:/usr/sbin:/bin:/sbin:/usr/local/bin' ,
41
+ command => " /tmp/cleanup-old-plugin-versions.sh ${sonarqube::plugin_dir} ${artifactid} ${version} " ,
42
+ path => ' /usr/bin:/usr/sbin:/bin:/sbin:/usr/local/bin' ,
43
+ refreshonly => true ,
43
44
}
44
45
->
45
46
file { $plugin:
You can’t perform that action at this time.
0 commit comments