Skip to content

Commit 7394cb5

Browse files
authored
Merge pull request #160 from ProblemSetters/preinstalled-ceph-jenkins-git-fixes
Preinstalled Ceph, Jenkins fixes
2 parents fd0a324 + d59d327 commit 7394cb5

3 files changed

Lines changed: 6 additions & 5 deletions

File tree

framework/inventory/jenkins.inventory

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ blackbox.framework.inventory.jenkins() {
2727

2828
{
2929
# preinstalled setup fix: the existing jenkins installation is outdated for Ubuntu 24.04
30-
apt remove --purge jenkins
30+
apt remove -y --purge jenkins
3131
}
3232

3333
if ( dpkg-query -L "$package_name" "${with_packages[@]}" &>/dev/null ); then

framework/inventory/microceph.inventory

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@ blackbox.framework.inventory.microceph() {
2525

2626
sed "s/\x1b\[[0-9;]*m//g" <(dpkg-query -W "$package_name" "${with_packages[@]}" 2>&1)
2727

28+
{
29+
# preinstalled setup fix: the existing jenkins installation is outdated for Ubuntu 24.04
30+
snap remove microceph
31+
}
32+
2833
if ( dpkg-query -L "$package_name" "${with_packages[@]}" &>/dev/null ); then
2934
false
3035

@@ -43,8 +48,6 @@ blackbox.framework.inventory.microceph() {
4348

4449
{
4550
rm -rf /etc/ceph
46-
# preinstalled setup fix
47-
snap restart microceph.daemon
4851
ln -s /var/snap/microceph/current/conf /etc/ceph
4952
}
5053
}

module/jenkins-stdl/setup/provision.step

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ blackbox.module.jenkins-stdl.setup.provision() {
2626
blackbox.framework.inventory.provision jenkins
2727

2828
{
29-
systemctl stop jenkins
30-
systemctl daemon-reload
3129
systemctl start jenkins
3230
}
3331

0 commit comments

Comments
 (0)