Page MenuHomeDevCentral

Core: set hostname
ClosedPublic

Authored by dereckson on Jun 15 2016, 13:54.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Dec 8, 04:05
Unknown Object (File)
Sat, Dec 7, 22:38
Unknown Object (File)
Mon, Dec 2, 14:58
Unknown Object (File)
Mon, Dec 2, 12:26
Unknown Object (File)
Mon, Dec 2, 09:36
Unknown Object (File)
Fri, Nov 29, 19:06
Unknown Object (File)
Fri, Nov 29, 19:06
Unknown Object (File)
Wed, Nov 27, 20:52
Subscribers
None

Details

Summary

We always and for all OS set hostname to /etc/hostname.

When this file is modified, we run hostname, then
other OS specific commands.

Fixes T794.

Test Plan

Tested on Eglide with the following:

  • remove /etc/hostname, apply Salt state, read /etc/hostname
  • apply Salt state when file won't be modified, see commands don't run

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
No Lint Coverage
Unit
No Test Coverage
Branch
hostname
Build Status
Buildable 564
Build 679: arc lint + arc unit

Event Timeline

dereckson retitled this revision from to Core: set hostname.
dereckson updated this object.
dereckson edited the test plan for this revision. (Show Details)
dereckson added a reviewer: Sandlayth.
Sandlayth edited edge metadata.
This revision is now accepted and ready to land.Jun 15 2016, 14:03
This revision was automatically updated to reflect the committed changes.