Skip to content

Install smart monitoring tools on physical machines only

This will purge those tools from virtual machines.

Related to T3497

Test Plan

octo diff - Expectedly, it wants to purge the package on vm, respectively install it on machine:

$ bin/octocatalog-diff --octocatalog-diff-args --no-truncate-details --to staging pompidou
...
*** Running octocatalog-diff on host pompidou.internal.softwareheritage.org
I, [2021-08-27T16:12:30.275826 #25489]  INFO -- : Catalogs compiled for pompidou.internal.softwareheritage.org
I, [2021-08-27T16:12:31.440736 #25489]  INFO -- : Diffs computed for pompidou.internal.softwareheritage.org
diff origin/production/pompidou.internal.softwareheritage.org current/pompidou.internal.softwareheritage.org
*******************************************
+ Package[smartmontools] =>
   parameters =>
      "ensure": "installed"
*******************************************
*** End octocatalog-diff on pompidou.internal.softwareheritage.org
$ bin/octocatalog-diff --octocatalog-diff-args --no-truncate-details --to staging worker01
...
*** Running octocatalog-diff on host worker01.softwareheritage.org
I, [2021-08-27T16:13:01.237093 #30400]  INFO -- : Catalogs compiled for worker01.softwareheritage.org
I, [2021-08-27T16:13:02.658434 #30400]  INFO -- : Diffs computed for worker01.softwareheritage.org
diff origin/production/worker01.softwareheritage.org current/worker01.softwareheritage.org
*******************************************
+ Package[smartmontools] =>
   parameters =>
      "ensure": "purged"
*******************************************
*** End octocatalog-diff on worker01.softwareheritage.org

Migrated from D6154 (view on Phabricator)

Merge request reports