filter_plugins / fedmsg: try and make staging only talk to staging hosts
I think the only reason this worked in phx2 was because we also had a firewall rule that was blocking the staging subnet on all prod machines. Instead of doing that here, lets just make fedmsg only deal with the staging hosts in staging. The only thing this might break is things that aren't in staging_friendly that should be. Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
7c245c1acf
commit
74591e19b5
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ def invert_fedmsg_policy(groups, vars, env):
|
|||
"""
|
||||
|
||||
if env == 'staging':
|
||||
hosts = groups['all'] + groups['staging']
|
||||
hosts = groups['staging']
|
||||
else:
|
||||
hosts = [h for h in groups['all'] if h not in groups['staging']]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue