Page MenuHomeDevCentral

Make builder account available where needed
ClosedPublic

Authored by dereckson on Nov 14 2017, 02:33.
Tags
None
Referenced Files
F3782915: D1198.id3066.diff
Tue, Nov 26, 01:39
F3782914: D1198.id3065.diff
Tue, Nov 26, 01:39
F3782913: D1198.id3064.diff
Tue, Nov 26, 01:39
Unknown Object (File)
Sun, Nov 24, 00:08
Unknown Object (File)
Sat, Nov 23, 18:44
Unknown Object (File)
Sat, Nov 23, 06:58
Unknown Object (File)
Sat, Nov 23, 06:52
Unknown Object (File)
Sat, Nov 23, 03:31
Subscribers
None

Details

Summary

Required by D1181 for example.

Ref T1309

Test Plan

Deploy on Ysul, build something with the account

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Passed
Unit
No Test Coverage
Branch
builder-on-ysul
Build Status
Buildable 1889
Build 2137: arc lint + arc unit

Event Timeline

$ salt eglide state.apply roles/builder
eglide:                                
----------                             
          ID: builder_account          
    Function: user.present             
        Name: builder                  
      Result: True                     
     Comment: User builder is present and up to date                           
     Started: 02:36:57.009237          
    Duration: 80.778 ms                
     Changes:                          
----------                             
          ID: builder_sudo_capabilities_file                                   
    Function: file.managed             
        Name: /etc/sudoers.d/builder   
      Result: True                     
     Comment: File /etc/sudoers.d/builder updated                              
     Started: 02:36:57.100025          
    Duration: 172.564 ms               
     Changes:                          
              ----------               
              diff:                    
                  ---                  
                  +++                  
                  @@ -1,10 +1,10 @@    
                   #   -------------------------------------------------------------                                                                           
                   #   Odderon         
                   #   - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -                                                                           
                  -#   Project:        Eglide                                  
                  +#   Project:        Nasqueron                               
                   #   Created:        2017-02-23                              
                   #   License:        Trivial work, not eligible to copyright 
                  -#   Source file:    roles/shellserver/userland-software/files/builder.sudoers                                                               
                  +#   Source file:    roles/builder/account/files/builder.sudoers                                                                             
                   #   -------------------------------------------------------------                                                                           
                   #                   
                   #   <auto-generated>

Summary for eglide                     
------------                           
Succeeded: 2 (changed=1)               
Failed:    0                           
------------                           
Total states run:     2                
Total run time: 253.342 ms             

$ salt-call --local state.apply roles/builder
[WARNING ] Invalid kwargs passed to user.add                                   
local:                                 
----------                             
          ID: builder_account          
    Function: user.present             
        Name: builder                  
      Result: True                     
     Comment: New user builder created 
     Started: 02:37:01.713582          
    Duration: 260.106 ms               
     Changes:                          
              ----------               
              fullname:                
                  Software builder account for configure and make              
              gid:                     
                  3003                 
              groups:                  
                  - deployment         
              home:                    
              homephone:               
                  None                 
              name:                    
                  builder              
              passwd:                  
                  *                    
              roomnumber:              
                  None                 
              shell:                   
                  /bin/sh              
              uid:                     
                  831                  
              workphone:               
                  None                 
----------                             
          ID: builder_sudo_capabilities_file                                   
    Function: file.managed             
        Name: /usr/local/etc/sudoers.d/builder                                 
      Result: True                     
     Comment: File /usr/local/etc/sudoers.d/builder updated                    
     Started: 02:37:01.986274          
    Duration: 117.026 ms               
     Changes:                          
              ----------               
              diff:                    
                  New file             
              mode:                    
                  0644                 

Summary for local                      
------------                           
Succeeded: 2 (changed=2)               
Failed:    0                           
------------                           
Total states run:     2                
Total run time: 377.132 ms             
This revision is now accepted and ready to land.Nov 14 2017, 02:38
This revision was automatically updated to reflect the committed changes.