Page MenuHomeDevCentral

Set hostnames for Ysul and Equatower
ClosedPublic

Authored by dereckson on Oct 20 2017, 12:21.
Tags
None
Referenced Files
F3765777: D1071.diff
Fri, Nov 22, 14:14
Unknown Object (File)
Wed, Nov 13, 04:41
Unknown Object (File)
Sat, Nov 9, 08:03
Unknown Object (File)
Tue, Nov 5, 21:17
Unknown Object (File)
Tue, Nov 5, 21:12
Unknown Object (File)
Tue, Nov 5, 16:17
Unknown Object (File)
Mon, Nov 4, 10:08
Unknown Object (File)
Fri, Nov 1, 19:34
Subscribers
None

Details

Summary

Ref T1273

Test Plan

salt-call --local state.apply roles/core/hostname

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Passed
Unit
No Test Coverage
Branch
hostname
Build Status
Buildable 1688
Build 1936: arc lint + arc unit

Event Timeline

Ysul
$ salt-call --local state.apply roles/core/hostname
local:                     
----------                 
          ID: hostname     
    Function: file.managed 
        Name: /etc/hostname
      Result: True         
     Comment: File /etc/hostname updated              
     Started: 12:22:19.073128                         
    Duration: 32.849 ms                                                                                      
     Changes:                                         
              ----------   
              diff:        
                  New file 
----------                 
          ID: after_hostname_change                   
    Function: cmd.run      
        Name: hostname `cat /etc/hostname`            
      Result: True         
     Comment: Command "hostname `cat /etc/hostname`" run                                                     
     Started: 12:22:19.109831                         
    Duration: 77.982 ms    
     Changes:              
              ----------   
              pid:         
                  83739    
              retcode:     
                  0        
              stderr:      
              stdout:      

Summary for local          
------------               
Succeeded: 2 (changed=2)   
Failed:    0               
------------               
Total states run:     2    
Total run time: 110.831 ms 

$ salt-call --local state.apply roles/core/hostname
local:                                 
----------                             
          ID: hostname                 
    Function: file.managed             
        Name: /etc/hostname            
      Result: True                     
     Comment: File /etc/hostname is in the correct state                       
     Started: 12:22:32.416941          
    Duration: 27.992 ms                
     Changes:                          
----------                             
          ID: after_hostname_change    
    Function: cmd.run                  
        Name: hostname `cat /etc/hostname`                                     
      Result: True                     
     Comment: State was not run because none of the onchanges reqs changed     
     Changes:                          

Summary for local                      
------------                           
Succeeded: 2                           
Failed:    0                           
------------                           
Total states run:     2                
Total run time:  27.992 ms

$ cat /etc/hostname
ysul.nasqueron.org
This revision is now accepted and ready to land.Oct 20 2017, 12:27
This revision was automatically updated to reflect the committed changes.