Merge "Update to most recent version of openstack modules"
This commit is contained in:
14
.gitmodules
vendored
14
.gitmodules
vendored
@@ -1,24 +1,24 @@
|
|||||||
[submodule "packstack/puppet/modules/glance"]
|
[submodule "packstack/puppet/modules/glance"]
|
||||||
path = packstack/puppet/modules/glance
|
path = packstack/puppet/modules/glance
|
||||||
url = https://github.com/puppetlabs/puppetlabs-glance.git
|
url = https://github.com/stackforge/puppet-glance.git
|
||||||
[submodule "packstack/puppet/modules/horizon"]
|
[submodule "packstack/puppet/modules/horizon"]
|
||||||
path = packstack/puppet/modules/horizon
|
path = packstack/puppet/modules/horizon
|
||||||
url = https://github.com/packstack/puppetlabs-horizon.git
|
url = https://github.com/stackforge/puppet-horizon.git
|
||||||
[submodule "packstack/puppet/modules/keystone"]
|
[submodule "packstack/puppet/modules/keystone"]
|
||||||
path = packstack/puppet/modules/keystone
|
path = packstack/puppet/modules/keystone
|
||||||
url = https://github.com/packstack/puppetlabs-keystone.git
|
url = https://github.com/stackforge/puppet-keystone.git
|
||||||
[submodule "packstack/puppet/modules/nova"]
|
[submodule "packstack/puppet/modules/nova"]
|
||||||
path = packstack/puppet/modules/nova
|
path = packstack/puppet/modules/nova
|
||||||
url = https://github.com/packstack/puppetlabs-nova.git
|
url = https://github.com/stackforge/puppet-nova.git
|
||||||
[submodule "packstack/puppet/modules/openstack"]
|
[submodule "packstack/puppet/modules/openstack"]
|
||||||
path = packstack/puppet/modules/openstack
|
path = packstack/puppet/modules/openstack
|
||||||
url = https://github.com/puppetlabs/puppetlabs-openstack.git
|
url = https://github.com/stackforge/puppet-openstack.git
|
||||||
[submodule "packstack/puppet/modules/swift"]
|
[submodule "packstack/puppet/modules/swift"]
|
||||||
path = packstack/puppet/modules/swift
|
path = packstack/puppet/modules/swift
|
||||||
url = https://github.com/packstack/puppetlabs-swift.git
|
url = https://github.com/stackforge/puppet-swift.git
|
||||||
[submodule "packstack/puppet/modules/cinder"]
|
[submodule "packstack/puppet/modules/cinder"]
|
||||||
path = packstack/puppet/modules/cinder
|
path = packstack/puppet/modules/cinder
|
||||||
url = https://github.com/packstack/puppetlabs-cinder.git
|
url = https://github.com/stackforge/puppet-cinder.git
|
||||||
[submodule "packstack/puppet/modules/stdlib"]
|
[submodule "packstack/puppet/modules/stdlib"]
|
||||||
path = packstack/puppet/modules/stdlib
|
path = packstack/puppet/modules/stdlib
|
||||||
url = https://github.com/puppetlabs/puppetlabs-stdlib.git
|
url = https://github.com/puppetlabs/puppetlabs-stdlib.git
|
||||||
|
|||||||
Submodule packstack/puppet/modules/cinder updated: d9f9efac3d...fa28def3fb
Submodule packstack/puppet/modules/glance updated: 1cf25907eb...44a82aa06a
Submodule packstack/puppet/modules/horizon updated: 3f32b84c2b...bdcf7470de
Submodule packstack/puppet/modules/keystone updated: 611ba80472...f7f2ef7d45
Submodule packstack/puppet/modules/nova updated: 44b29a871f...3eac0fd0cc
Submodule packstack/puppet/modules/openstack updated: c18670270a...7bdab85f35
Submodule packstack/puppet/modules/swift updated: 295b8a347b...ee4a9d4859
@@ -1,18 +1,19 @@
|
|||||||
|
|
||||||
class {'cinder::base':
|
class {'cinder':
|
||||||
rabbit_password => '',
|
rpc_backend => 'cinder.openstack.common.rpc.impl_qpid',
|
||||||
|
qpid_hostname => "%(CONFIG_QPID_HOST)s",
|
||||||
|
qpid_password => "notused",
|
||||||
sql_connection => "mysql://cinder:%(CONFIG_CINDER_DB_PW)s@%(CONFIG_MYSQL_HOST)s/cinder"
|
sql_connection => "mysql://cinder:%(CONFIG_CINDER_DB_PW)s@%(CONFIG_MYSQL_HOST)s/cinder"
|
||||||
}
|
}
|
||||||
|
|
||||||
cinder_config{
|
cinder_config{
|
||||||
"DEFAULT/rpc_backend": value => "cinder.openstack.common.rpc.impl_qpid";
|
|
||||||
"DEFAULT/qpid_hostname": value => "%(CONFIG_QPID_HOST)s";
|
|
||||||
"DEFAULT/glance_host": value => "%(CONFIG_GLANCE_HOST)s";
|
"DEFAULT/glance_host": value => "%(CONFIG_GLANCE_HOST)s";
|
||||||
}
|
}
|
||||||
|
|
||||||
package {'python-keystone':
|
package {'python-keystone':
|
||||||
notify => Class['cinder::api'],
|
notify => Class['cinder::api'],
|
||||||
}
|
}
|
||||||
|
|
||||||
class {'cinder::api':
|
class {'cinder::api':
|
||||||
keystone_password => '%(CONFIG_CINDER_KS_PW)s',
|
keystone_password => '%(CONFIG_CINDER_KS_PW)s',
|
||||||
keystone_tenant => "services",
|
keystone_tenant => "services",
|
||||||
|
|||||||
@@ -17,12 +17,9 @@ class {'horizon':
|
|||||||
|
|
||||||
class {'memcached':}
|
class {'memcached':}
|
||||||
|
|
||||||
class {'apache':}
|
|
||||||
class {'apache::mod::php': }
|
class {'apache::mod::php': }
|
||||||
class {'apache::mod::wsgi':}
|
|
||||||
# The apache module purges files it doesn't know about
|
# The apache module purges files it doesn't know about
|
||||||
# avoid this be referencing them here
|
# avoid this be referencing them here
|
||||||
file { '/etc/httpd/conf.d/openstack-dashboard.conf':}
|
|
||||||
file { '/etc/httpd/conf.d/nagios.conf':}
|
file { '/etc/httpd/conf.d/nagios.conf':}
|
||||||
|
|
||||||
firewall { '001 horizon incoming':
|
firewall { '001 horizon incoming':
|
||||||
|
|||||||
@@ -3,10 +3,6 @@ class {"keystone":
|
|||||||
sql_connection => "mysql://keystone_admin:%(CONFIG_KEYSTONE_DB_PW)s@%(CONFIG_MYSQL_HOST)s/keystone",
|
sql_connection => "mysql://keystone_admin:%(CONFIG_KEYSTONE_DB_PW)s@%(CONFIG_MYSQL_HOST)s/keystone",
|
||||||
}
|
}
|
||||||
|
|
||||||
keystone_config {
|
|
||||||
'signing/token_format': value => "UUID";
|
|
||||||
}
|
|
||||||
|
|
||||||
class {"keystone::roles::admin":
|
class {"keystone::roles::admin":
|
||||||
email => "test@test.com",
|
email => "test@test.com",
|
||||||
password => "%(CONFIG_KEYSTONE_ADMIN_PW)s",
|
password => "%(CONFIG_KEYSTONE_ADMIN_PW)s",
|
||||||
@@ -25,11 +21,3 @@ firewall { '001 keystone incoming':
|
|||||||
action => 'accept',
|
action => 'accept',
|
||||||
}
|
}
|
||||||
|
|
||||||
Package['keystone'] -> File['keystone.log'] -> Service['keystone']
|
|
||||||
file{'keystone.log':
|
|
||||||
path => '/var/log/keystone/keystone.log',
|
|
||||||
ensure => present,
|
|
||||||
mode => 640,
|
|
||||||
owner => 'keystone',
|
|
||||||
group => 'keystone',
|
|
||||||
}
|
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
|
|
||||||
|
|
||||||
if $::is_virtual_packstack == "true" {
|
if $::is_virtual_packstack == "true" {
|
||||||
$libvirt_type = "qemu"
|
$libvirt_type = "qemu"
|
||||||
nova_config{
|
nova_config{
|
||||||
@@ -71,17 +69,3 @@ exec {'tuned-virtual-host':
|
|||||||
require => Service['tuned'],
|
require => Service['tuned'],
|
||||||
}
|
}
|
||||||
|
|
||||||
# Need to start dbus for libvirt
|
|
||||||
if($::operatingsystem == 'Fedora') {
|
|
||||||
service { 'messagebus':
|
|
||||||
name => 'dbus',
|
|
||||||
ensure => running,
|
|
||||||
enable => true,
|
|
||||||
}
|
|
||||||
} else {
|
|
||||||
service { 'messagebus':
|
|
||||||
ensure => running,
|
|
||||||
enable => true,
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Package['libvirt'] -> Service['messagebus'] -> Service['libvirt']
|
|
||||||
|
|||||||
Reference in New Issue
Block a user