Files
790dc6ac6fe62a15ee3cd7e4ce0768b2a46f7238
puppet-openstack-integration /fixtures /scenario004.pp

109 lines
3.0 KiB
ObjectPascal
Raw Normal View History

#Copyright2016RedHat,Inc.
#
#LicensedundertheApacheLicense,Version2.0(the"License");
#youmaynotusethisfileexceptincompliancewiththeLicense.
#YoumayobtainacopyoftheLicenseat
#
#http://www.apache.org/licenses/LICENSE-2.0
#
#Unlessrequiredbyapplicablelaworagreedtoinwriting,software
#distributedundertheLicenseisdistributedonan"AS IS"BASIS,
#WITHOUTWARRANTIESORCONDITIONSOFANYKIND,eitherexpressorimplied.
#SeetheLicenseforthespecificlanguagegoverningpermissionsand
#limitationsundertheLicense.
#
}else{
$ssl=true
}
'Debian':{
$ipv6=false
#TODO(tkajinam):Needadditionalworktoloadtheplugins
$bgpvpn_enabled=false
$l2gw_enabled=false
$bgp_dragent_enabled=false
$vpnaas_enabled=false
$taas_enabled=false
}
'RedHat':{
$ipv6=true
$bgpvpn_enabled=true
$l2gw_enabled=true
$bgp_dragent_enabled=true
$vpnaas_enabled=true
$taas_enabled=true
}
default:{
fail("Unsupported osfamily (${facts['os']['family']})")
}
class{'openstack_integration::config':
includeopenstack_integration::rabbitmq
includeopenstack_integration::mysql
class{'openstack_integration::glance':
l2gw_enabled=>$l2gw_enabled,
class{'openstack_integration::nova':
create_cephfs=>true,
octavia_enabled=>true
}
backend=>'cephfsnative'
}
#Glance,nova,neutronaretruebydefault.
l2gw=>$l2gw_enabled,
l2gw_switch=>'cell08-5930-01::FortyGigE1/0/1|100',
dr=>$bgp_dragent_enabled,
manila=>true,
share_protocol=>'CEPHFS',
octavia=>true,
#RADOSGatewaydoesnotsupportResellerAdminrolebydefault
reseller_admin_role=>'admin',
swift=>true,