Last active
June 27, 2019 21:06
-
-
Save runswithd6s/203724f3b0884402e6540f3c6f08ffeb to your computer and use it in GitHub Desktop.
Failing salt state formula
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
# Salt 2017.07 | |
{% if pillar['db_reports_host'] %} | |
replace-db-reports-sugar-config-overrides-file: | |
file.blockreplace: | |
- path: /vol/sugar_shared_files/config_override.php | |
- content: | | |
$sugar_config['db']['reports'] = array( | |
'db_host_name' => '{{ pillar['db_reports_host'] }}', | |
'db_user_name' => '{{ pillar['db_reports_user'] }}', | |
'db_password' => '{{ pillar['db_reports_password'] }}', | |
'db_name' => '{{ pillar['db_reports_name'] }}', | |
'db_type' => 'mysql' ); | |
- marker_start: '/*** SALT DB_REPORTS BEGIN BLOCK ***/' | |
- marker_end: '/*** SALT DB_REPORTS END BLOCK ***/' | |
- require: | |
- sls: sugar.efs | |
{% endif %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This formula fails with