Page MenuHomeDevCentral

Core: set hostname
ClosedPublic

Authored by dereckson on Jun 15 2016, 13:54.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Nov 16, 23:42
Unknown Object (File)
Sat, Nov 16, 23:27
Unknown Object (File)
Thu, Nov 14, 17:45
Unknown Object (File)
Sun, Nov 10, 01:35
Unknown Object (File)
Sat, Nov 9, 17:22
Unknown Object (File)
Thu, Nov 7, 14:34
Unknown Object (File)
Thu, Nov 7, 14:29
Unknown Object (File)
Thu, Nov 7, 12:51
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.