This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>{{title}}</title> | |
</head> | |
<body> | |
<div id="intro-container"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
interfaces: | |
file.managed: | |
- name: /etc/network/interfaces | |
- source: salt://network/interfaces | |
- template: jinja | |
hosts: | |
file.managed: | |
- name: /etc/hosts | |
- source: salt://hosts/hosts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## In djconfig.init, I have: | |
{% if grains['current_env'] == 'dev' or grains['current_env'] == 'qa' %} | |
{% set debug_status = True %} | |
{% else %} | |
{% set debug_status = False %} | |
{% endif %} | |
django_local_settings: | |
file.managed: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Contents of pillar/mssql/init.sls | |
# I can connect to some-remote-host with the credentials below | |
# freetds-common and python-pymssql are both installed | |
maint: | |
mssql.server: some-remote-host | |
mssql.port: 1433 | |
mssql.user: maint_user | |
mssql.password: some-password | |
mssql.database: '' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"db": { | |
"connector": "memory", | |
"name": "db" | |
}, | |
"mctAudit": { | |
"connector": "mssql", | |
"port": "{{ grains['audit_dbms_port'] }}", | |
"host": "{{ grains['audit_dbms_hostname'] }}", | |
"database": "{{ grains['audit_dbms_db'] }}", |