Page MenuHomeDevCentral

Set hostnames for Ysul and Equatower
ClosedPublic

Authored by dereckson on Oct 20 2017, 12:21.
Tags
None
Referenced Files
F2831003: D1071.id2736.diff
Fri, Apr 19, 14:39
Unknown Object (File)
Thu, Apr 18, 01:07
Unknown Object (File)
Wed, Apr 17, 11:20
Unknown Object (File)
Mon, Apr 15, 05:24
Unknown Object (File)
Sun, Apr 14, 12:32
Unknown Object (File)
Sat, Apr 13, 05:18
Unknown Object (File)
Wed, Apr 10, 16:43
Unknown Object (File)
Wed, Apr 10, 13:16
Subscribers
None

Details

Summary

Ref T1273

Test Plan

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

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.