Files
388a02960419006ffc20b56c45c3f4528bb262b4
puppet-openstack-integration /fixtures /scenario004.pp

65 lines
1.8 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.
#
#DisableSSL(workaroundforXenial)
if$::operatingsystem=='Ubuntu'{
$ipv6=false
#WatcherpackagesarenotavailableinUbunturepository.
$watcher_enabled=false
$ipv6=true
include::openstack_integration
class{'::openstack_integration::config':
ssl=>$ssl_enabled,
include::openstack_integration::cacert
include::openstack_integration::memcached
include::openstack_integration::rabbitmq
include::openstack_integration::mysql
class{'::openstack_integration::keystone':
token_provider=>'fernet',
}
class{'::openstack_integration::glance':
backend=>'swift',
}
include::openstack_integration::neutron
class{'::openstack_integration::nova':
libvirt_rbd=>true,
}
class{'::openstack_integration::ceph':
deploy_rgw=>true,
swift_dropin=>true,
}
include::openstack_integration::watcher
}
include::openstack_integration::provision
#Don't test swift, radosgw won'tpassthecurrenttests
#Glance,nova,neutronaretruebydefault.
watcher=>$watcher_enabled,
}