deployment-deploy04 applies role::aptly::server to host a project-local Apt repository, which I believe was used to host the latest development Scap release a while ago. That's no longer in use, and the role in question hasn't been updated since Debian Stretch and is not used anywhere else. So let's just drop that role entirely?
Description
Description
Details
Details
Related Changes in Gerrit:
| Subject | Repo | Branch | Lines +/- | |
|---|---|---|---|---|
| O:aptly::server: Remove unused role | operations/puppet | production | +0 -12 |
Related Objects
Related Objects
Event Timeline
Comment Actions
@dancy Is this apt repo dead tech? It seems likely to me, but seemed worth double checking with you.
Comment Actions
It was indeed used to host scap debs in the past but that changed long ago so it's good to remove.
Comment Actions
diff --git a/deployment-prep/deployment-deploy04.deployment-prep.eqiad1.wikimedia.cloud.roles b/deployment-prep/deployment-deploy04.deployment-prep.eqiad1.wikimedia.cloud.roles index 1ca6d1f..9662652 100644 --- a/deployment-prep/deployment-deploy04.deployment-prep.eqiad1.wikimedia.cloud.roles +++ b/deployment-prep/deployment-deploy04.deployment-prep.eqiad1.wikimedia.cloud.roles @@ -1,4 +1,3 @@ - role::beta::deploymentserver - role::deployment_server -- role::aptly::server - profile::ci::slave::labs::common
Comment Actions
Mentioned in SAL (#wikimedia-releng) [2025-07-09T16:02:59Z] <bd808> removed role::aptly::server from deployment-deploy04 (T399076)
Comment Actions
bd808@deployment-deploy04:~$ sudo apt purge aptly Reading package lists... Done Building dependency tree... Done Reading state information... Done The following packages will be REMOVED: aptly* 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. After this operation, 18.9 MB disk space will be freed. Do you want to continue? [Y/n] y (Reading database ... 55407 files and directories currently installed.) Removing aptly (1.4.0+ds1-4+b4) ... Processing triggers for man-db (2.9.4-2) ... bd808@deployment-deploy04:~$ sudo rm -r /srv/packages bd808@deployment-deploy04:~$ sudo rm /etc/aptly.conf
Comment Actions
I think I got all the important bits cleaned up. Feel free to reopen if you feel like there is something that was missed.
Comment Actions
diff --git a/deployment-prep/_.yaml b/deployment-prep/_.yaml index 9d0878f..b5f3398 100644 --- a/deployment-prep/_.yaml +++ b/deployment-prep/_.yaml @@ -526,7 +526,6 @@ restbase::deploy::public_key_file: puppet:///private/ssh/tin/servicedeploy_rsa.pub restbase::deploy::scap::public_key_file: puppet:///private/ssh/tin/servicedeploy_rsa.pub restbase::deployment: scap -role::aptly::client::servername: deployment-deploy04.deployment-prep.eqiad1.wikimedia.cloud role::cache::text::cluster: cache_text role::deployment::repo_config: abacist/abacist:
Comment Actions
Change #1189395 had a related patch set uploaded (by Majavah; author: Majavah):
[operations/puppet@production] O:aptly::server: Remove unused role
Comment Actions
Change #1189395 merged by Majavah:
[operations/puppet@production] O:aptly::server: Remove unused role