Skip to content

Instantly share code, notes, and snippets.

Created August 11, 2016 05:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/89a858c0e047ac1f251c40e74c39f152 to your computer and use it in GitHub Desktop.
Save anonymous/89a858c0e047ac1f251c40e74c39f152 to your computer and use it in GitHub Desktop.
{#
Ensure the id's in this file are in alphabetical order.
#}
a-batch_remove_requiretty:
local.cmd.run:
- tgt: {{ data['name'] }}
- arg:
- sed -i '/requiretty/d' /etc/sudoers
b-batch_oracle_prereqs:
local.state.apply:
- tgt: {{ data['name'] }} and G@servertype:db
- expr_form: compound
- arg:
- batch.oracle_prereqs
c-batch_oracle_software:
local.state.apply:
- tgt: {{ data['name'] }} and G@servertype:db
- expr_form: compound
- arg:
- batch.oracle_software
d-batch_oracle_container:
local.state.apply:
- tgt: {{ data['name'] }} and G@servertype:db
- expr_form: compound
- arg:
- batch.container_db
e-batch_oracle_pluggable:
local.state.apply:
- tgt: {{ data['name'] }} and G@servertype:db
- expr_form: compound
- arg:
- batch.pluggable_dbs
f-batch_oracle_datapump:
local.state.apply:
- tgt: {{ data['name'] }} and G@servertype:db
- expr_form: compound
- arg:
- batch.oracle_datapumps
g-batch_oracle_patches:
local.state.apply:
- tgt: {{ data['name'] }} and G@servertype:db
- expr_form: compound
- arg:
- batch.oracle.patches.12c
h-batch_app_prereq:
local.state.apply:
- tgt: {{ data['name'] }} and G@servertype:app
- expr_form: compound
- arg:
- batch.app_prereqs
i-batch_app_install:
local.state.apply:
- tgt: {{ data['name'] }} and G@servertype:app
- expr_form: compound
- arg:
- batch.app_install
j-db_huge_pages:
local.state.apply:
- tgt: {{ data['name'] }} and G@servertype:db
- expr_form: compound
- arg:
- oracle.hugepages
reactor:
- 'salt/minion/*/start':
- /srv/reactor/sync_all.sls
- 'salt/cloud/*/created':
- /srv/reactor/oracle-install.sls
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment