Need more logic for swap_macs to work
Need more logic for swap_macs to work

swap_macs doesnt work with current code as the condition is happening in compile
time when the bridge interface would not be created, and thus it is breaking the
logic (because even though bridge interface would not be created, the interfaces
file will be created with appropriate config, which break the logic here).

So only create the interfaces file if bridge interface is already exists.

swamireddy/puppet-rjil,rahul1aggarwal/puppet-rjil,JioCloud/puppet-rjil,ajayaa/puppet-rjil,punituee/puppet-rjil,rahul1aggarwal/puppet-rjil,d4devops/puppet-openstack_cloud,roopali8/puppet-rjil,roopali8/puppet-rjil,bafna/puppet-rjil,anshprat/puppet-rjil,sajuptpm/puppet-rjil,bafna/puppet-rjil,punituee/puppet-rjil,rahul1aggarwal/puppet-rjil,bafna/try-dss,vpramo/puppet-rjil,d4devops/puppet-openstack_cloud,sajuptpm/puppet-rjil,bafna/try-dss,anshprat/puppet-rjil,vpramo/puppet-rjil,akash1808/puppet-rjil,vpramo/puppet-rjil,d4devops/puppet-openstack_cloud,ajayaa/puppet-rjil,rohit-k/puppet-rjil,upadhyay-prashant/puppet-rjil,bafna/try-dss,upadhyay-prashant/puppet-rjil,jiocloudDSS/puppet-dss,JioCloud/puppet-rjil-keystone,JioCloud/puppet-rjil,upadhyay-prashant/puppet-rjil,devendermishrajio/puppet-rjil,devendermishrajio/puppet-rjil,sajuptpm/puppet-rjil-temp,roopali8/puppet-rjil,roopali8/puppet-rjil,sajuptpm/puppet-rjil-temp,JioCloud/puppet-rjil,sajuptpm/puppet-rjil-temp,anshprat/puppet-rjil,JioCloud/puppet-rjil-keystone,bafna/try-dss,swamireddy/puppet-rjil,ajayaa/puppet-rjil,akash1808/puppet-rjil,rohit-k/puppet-rjil,jiocloudDSS/puppet-dss,d4devops/puppet-openstack_cloud,upadhyay-prashant/puppet-rjil,devendermishrajio/puppet-rjil,punituee/puppet-rjil,rahul1aggarwal/puppet-rjil,amar266/puppet-rjil,amar266/puppet-rjil,sajuptpm/puppet-rjil,sajuptpm/puppet-rjil,anshprat/puppet-rjil,amar266/puppet-rjil,sajuptpm/puppet-rjil-temp,JioCloud/puppet-rjil,vpramo/puppet-rjil,akash1808/puppet-rjil,rohit-k/puppet-rjil,akash1808/puppet-rjil,rohit-k/puppet-rjil,devendermishrajio/puppet-rjil,amar266/puppet-rjil,bafna/puppet-rjil,swamireddy/puppet-rjil,jiocloudDSS/puppet-dss,punituee/puppet-rjil,swamireddy/puppet-rjil,ajayaa/puppet-rjil,bafna/puppet-rjil,JioCloud/puppet-rjil-keystone,jiocloudDSS/puppet-dss,JioCloud/puppet-rjil-keystone