Skip to content

Instantly share code, notes, and snippets.

@PredatorVI
Created August 18, 2015 20:10
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 PredatorVI/b54e2ebeba848e8a4ed9 to your computer and use it in GitHub Desktop.
Save PredatorVI/b54e2ebeba848e8a4ed9 to your computer and use it in GitHub Desktop.
base:
#ROLE Assignments:
'E@go-agent\..+':
- go.role_go_agent
'E@dbarmor-(dev|acc).+':
- dbarmor.role_processor
'E@dbarmor-(dev|acc)0[1-2]\..+':
- dbarmor.role_web
'E@dbarmor-(dev|acc)01\..+':
- dbarmor.role_primary_rabbit
'E@dbarmor-(dev|acc)(?!01).+':
- dbarmor.role_secondary_rabbit
#STATE Assignments based on ROLE:
'G@role:dbarmor_processor':
- dbarmor.dbarmor-processor
'G@role:dbarmor_web':
- dbarmor.dbarmor-web
'G@role:dbarmor_primary_rabbit':
- dbarmor.dbarmor-rabbitmq
'G@role:dbarmor_secondary_rabbit':
- dbarmor.dbarmor-rabbitmq
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment