Page MenuHomeSoftware Heritage

cloud-init: disable the /etc/hosts upgrade on boot
ClosedPublic

Authored by vsellier on Dec 17 2021, 9:29 AM.

Details

Summary

The configuration is only applied if a cloudinit_enabled fact
is present

Related to T2655

Test Plan

If the fact if present:

diff origin/production/objstorage0.internal.staging.swh.network current/objstorage0.internal.staging.swh.network
*******************************************
+ File[/etc/cloud/cloud.cfg.d/99_modules.cfg] =>
   parameters =>
     "content": "# Managed by Puppet (class profile::cloud-int), changes will be ...
     "ensure": "present",
     "group": "root",
     "mode": "0644",
     "notify": "Service[cloud-init]",
     "owner": "root"
*******************************************
+ Service[cloud-init] =>
   parameters =>
     "enable": true,
     "ensure": "running"
*******************************************
*** End octocatalog-diff on objstorage0.internal.staging.swh.network

no changes if not

Diff Detail

Repository
rSPSITE puppet-swh-site
Branch
staging
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 25727
Build 40210: arc lint + arc unit

Event Timeline

vsellier created this revision.

fix a typo on the commit message

vsellier retitled this revision from cloud-init: disable the /etc/host upgrade on boot to cloud-init: disable the /etc/hosts upgrade on boot.Dec 17 2021, 2:22 PM
This revision is now accepted and ready to land.Dec 17 2021, 2:40 PM