make sure to create /etc/bigswitch directory
Change-Id: I82128737b91613dac4a9cbc15d986a09cb2a3dde
This commit is contained in:
parent
5250aff27a
commit
832d4b234b
|
@ -13,7 +13,7 @@
|
|||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
#
|
||||
notice('MODULAR: bigswitch compute-network-config')
|
||||
notice('MODULAR: bigswitch compute-network-config')
|
||||
include bcf::params
|
||||
if $bcf::params::openstack::bcf_mode == 'P-Only' {
|
||||
include bcf::p_only::compute_network_config
|
||||
|
|
|
@ -277,9 +277,14 @@ class bcf::p_v::reconfigure_neutron {
|
|||
enable => true,
|
||||
}
|
||||
|
||||
file { '/etc/bigswitch':
|
||||
ensure => 'directory',
|
||||
require => Exec['bsnstacklib'],
|
||||
}
|
||||
file { '/etc/bigswitch/bcf_rest_client.py':
|
||||
ensure => 'file',
|
||||
source => 'puppet:///modules/bcf/p_v/bcf_rest_client.py',
|
||||
require => File['/etc/bigswitch'],
|
||||
}
|
||||
exec { 'Openstack segment membership':
|
||||
command => "python /etc/bigswitch/bcf_rest_client.py -u ${bcf::params::openstack::bcf_username} -p ${bcf::params::openstack::bcf_password} -c ${rest_server} -m ${bcf::params::openstack::bcf_os_mgmt_tenant} -f ${bcf::deployment_id} -b ${bcf::params::openstack::bcf_version}",
|
||||
|
|
Loading…
Reference in New Issue