Page MenuHomeDevCentral

Provision PostgreSQL containers
ClosedPublic

Authored by dereckson on Nov 10 2018, 17:34.
Tags
None
Referenced Files
F2743137: D1998.id.diff
Thu, Mar 28, 08:11
Unknown Object (File)
Thu, Mar 21, 05:32
Unknown Object (File)
Thu, Mar 21, 05:31
Unknown Object (File)
Mon, Mar 18, 18:47
Unknown Object (File)
Fri, Mar 1, 21:06
Unknown Object (File)
Feb 17 2024, 15:59
Unknown Object (File)
Feb 17 2024, 01:47
Unknown Object (File)
Feb 16 2024, 22:16
Subscribers
None

Details

Summary

Like for MySQL and Redis, the version/image can be set
with image/version keys.

Test Plan

Deploy a container for Sentry

Diff Detail

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

Event Timeline

dereckson created this revision.
This revision is now accepted and ready to land.Nov 10 2018, 17:38
$ salt equatower state.sls roles/paas-docker/containers/postgresql
equatower:
----------
          ID: /srv/sentry_db/postgresql
    Function: file.directory
      Result: True                                                                                                                                            
     Comment: Directory /srv/sentry_db/postgresql updated
     Started: 17:35:40.024081
    Duration: 49.16 ms
     Changes:   
              ----------
              /srv/sentry_db/postgresql:
                  New Dir
----------
          ID: selinux_context_sentry_db_postgresql_data
    Function: selinux.fcontext_policy_present
        Name: /srv/sentry_db/postgresql
      Result: True
     Comment: 
     Started: 17:35:40.076026
    Duration: 7766.184 ms
     Changes:   
              ----------
              new:
                  ----------
                  /srv/sentry_db/postgresql:
                      ----------
                      filetype:
                          all files
                      sel_type:
                          container_file_t
              old:
                  ----------
----------
          ID: selinux_context_sentry_db_postgresql_data_applied
    Function: selinux.fcontext_policy_applied
        Name: /srv/sentry_db/postgresql
      Result: True
     Comment: 
     Started: 17:35:47.843316
    Duration: 60.945 ms
     Changes:   
              ----------
              /srv/sentry_db/postgresql:
                  ----------
                  new:
                      ----------
                      sel_type:
                          container_file_t
                  old:
                      ----------
                      sel_type:
                          unlabeled_t
----------
          ID: sentry_db
    Function: docker_container.running
      Result: True
     Comment: Created container 'sentry_db'
     Started: 17:35:47.942555
    Duration: 8136.003 ms
     Changes:   
              ----------
              container_id:
                  ----------
                  added:
                      9514e74ecec76fcfed55a89b2297afe42a73ab732bec794bd9c8221d4d91b4b8                                                                        
              state:
                  ----------
                  new:
                      running
                  old:
                      None

Summary for equatower
------------
Succeeded: 4 (changed=4)
Failed:    0
------------
Total states run:     4
Total run time:  16.012 s
This revision was automatically updated to reflect the committed changes.