Page MenuHomeDevCentral

Make builder account available where needed
ClosedPublic

Authored by dereckson on Nov 14 2017, 02:33.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Nov 18, 06:34
Unknown Object (File)
Thu, Nov 7, 12:22
Unknown Object (File)
Thu, Nov 7, 11:47
Unknown Object (File)
Tue, Nov 5, 09:29
Unknown Object (File)
Tue, Nov 5, 09:22
Unknown Object (File)
Tue, Nov 5, 06:54
Unknown Object (File)
Sat, Oct 26, 02:01
Unknown Object (File)
Oct 17 2024, 22:29
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 Not Applicable
Unit
Tests Not Applicable

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.