Page MenuHomeDevCentral

Core: set hostname
ClosedPublic

Authored by dereckson on Jun 15 2016, 13:54.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 22, 03:11
Unknown Object (File)
Fri, Nov 22, 02:07
Unknown Object (File)
Fri, Nov 22, 01:20
Unknown Object (File)
Thu, Nov 21, 21:49
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
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
Lint Not Applicable
Unit
Tests Not Applicable

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.