Closed ageis closed 7 years ago
I'm inclined to agree here. For testing OSSEC notifications, the prod VMs are more appropriate, and there's no sense hammering away at an external machine with credentials we know don't work.
Will require changes to the spec tests, as well, so let's block on this until we have the playbooks reorganized to use groups, in which case the "staging" hosts will be much clearer and easier to configure specially.
The cleanest solution here would be a group_var disable_postfix: false
that can be overridden only on the staging hosts. Serverspec tests will need to be yanked around a bit as well.
As with #1704, I'm making this change manually quite frequently while testing in local VMs, so assigning to myself for resolution. (Specifically I'm testing #2152 right now.)
Otherwise our staging environment is always sending mad failed login attempts to Google's SMTP servers, which is not a big deal but not really cool either.