Merge pull request #374 from enovance/rename

Rename puppet-cloud to puppet-openstack-cloud
This commit is contained in:
Sebastien Badia 2014-03-21 16:58:34 +01:00
commit 51d3723a54
15 changed files with 26 additions and 26 deletions

View File

@ -1,11 +1,11 @@
name 'enovance-cloud' name 'enovance-openstack-cloud'
version '0.1.0' version '1.0.0'
source 'https://github.com/enovance/puppet-cloud' source 'https://github.com/enovance/puppet-openstack-cloud'
author 'eNovance' author 'eNovance'
license 'Apache License 2.0' license 'Apache License 2.0'
summary 'eNovance Openstack Module' summary 'eNovance Openstack Module'
description 'Puppet module that pulls together all the individual components of Openstack, resulting is a complete and functional stack.' description 'Puppet module that pulls together all the individual components of Openstack, resulting is a complete and functional stack.'
project_page 'https://github.com/enovance/puppet-cloud' project_page 'https://github.com/enovance/puppet-openstack-cloud'
dependency 'puppetlabs/glance', '>= 3.0.0' dependency 'puppetlabs/glance', '>= 3.0.0'
dependency 'puppetlabs/horizon', '>= 3.0.0' dependency 'puppetlabs/horizon', '>= 3.0.0'

View File

@ -61,7 +61,7 @@ mod 'ceph',
:ref => 'cc63bacaef2b1d8949777f58e23698e6bbf87f43' :ref => 'cc63bacaef2b1d8949777f58e23698e6bbf87f43'
#FIXME #FIXME
mod 'cloud', mod 'cloud',
:git => 'git@github.com:enovance/puppet-cloud.git', :git => 'git@github.com:enovance/puppet-openstack-cloud.git',
#:ref => 'stable/havana' #:ref => 'stable/havana'
:ref => 'master' :ref => 'master'
mod 'concat', mod 'concat',

View File

@ -1,11 +1,11 @@
puppet-cloud puppet-openstack-cloud
============ ======================
#### Table of Contents #### Table of Contents
1. [Overview - What is the cloud module?](#overview) 1. [Overview - What is the cloud module?](#overview)
2. [Module Description - What does the module do?](#module-description) 2. [Module Description - What does the module do?](#module-description)
3. [Setup - The basics of getting started with puppet-cloud](#setup) 3. [Setup - The basics of getting started with puppet-openstack-cloud](#setup)
4. [Implementation - An under-the-hood peek at what the module is doing](#implementation) 4. [Implementation - An under-the-hood peek at what the module is doing](#implementation)
5. [Limitations - OS compatibility, etc.](#limitations) 5. [Limitations - OS compatibility, etc.](#limitations)
6. [Getting Involved - How to go deaper](#involved) 6. [Getting Involved - How to go deaper](#involved)
@ -75,7 +75,7 @@ The swift portions of this module needs Puppet's [exported resources](http://doc
### Installing latest unstable cloud module from source ### Installing latest unstable cloud module from source
cd /etc/puppet/modules cd /etc/puppet/modules
git clone git@github.com:enovance/puppet-cloud.git cloud git clone git@github.com:enovance/puppet-openstack-cloud.git cloud
cd cloud cd cloud
gem install --no-ri --no-rdoc r10k gem install --no-ri --no-rdoc r10k
# a debian package is available in jessie # a debian package is available in jessie
@ -86,7 +86,7 @@ The swift portions of this module needs Puppet's [exported resources](http://doc
The things that follow can be handled by Puppet but are out of scope of this document and are not included in the cloud module. The things that follow can be handled by Puppet but are out of scope of this document and are not included in the cloud module.
### Beginning with puppet-cloud ### Beginning with puppet-openstack-cloud
Utlization of this module can come in many forms. It was designed to be capable of deploying all services to a single node or distributed across several. This is not an exhaustive list, we recommend you consult and understand all the manifests included in this module and the [core openstack](http://docs.openstack.org) documentation. Utlization of this module can come in many forms. It was designed to be capable of deploying all services to a single node or distributed across several. This is not an exhaustive list, we recommend you consult and understand all the manifests included in this module and the [core openstack](http://docs.openstack.org) documentation.
@ -116,13 +116,13 @@ The best way to get help with this set of modules is to email the group associat
Issues should be opened here: Issues should be opened here:
https://github.com/enovance/puppet-cloud/issues https://github.com/enovance/puppet-openstack-cloud/issues
Contributors Contributors
------------ ------------
* https://github.com/enovance/puppet-cloud/graphs/contributors * https://github.com/enovance/puppet-openstack-cloud/graphs/contributors
Release Notes Release Notes
------------- -------------

View File

@ -398,7 +398,7 @@ class os_params {
$secret_key = 'secrete' $secret_key = 'secrete'
# RabbitMQ # RabbitMQ
#FIXME: https://github.com/enovance/puppet-cloud/issues/14 #FIXME: https://github.com/enovance/puppet-openstack-cloud/issues/14
$rabbit_names = $mgmt_names $rabbit_names = $mgmt_names
$rabbit_host = $mgmt_internal_ips[0] $rabbit_host = $mgmt_internal_ips[0]
$rabbit_hosts = suffix($mgmt_internal_ips,':5672') $rabbit_hosts = suffix($mgmt_internal_ips,':5672')

View File

@ -13,7 +13,7 @@
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
# #
# This is an example of site.pp to deploy OpenStack using puppet-cloud. # This is an example of site.pp to deploy OpenStack using puppet-openstack-cloud.
# #
# It follow our reference archiecture where we have: # It follow our reference archiecture where we have:
# - 2 load-balancers # - 2 load-balancers
@ -79,7 +79,7 @@ node controller1, controller2, controller3 inherits common {
class {'cloud::object::controller': } class {'cloud::object::controller': }
# Ring build must be activated only on one mgmt # Ring build must be activated only on one mgmt
# please see https://github.com/enovance/puppet-cloud/issues/29 # please see https://github.com/enovance/puppet-openstack-cloud/issues/29
if $::hostname == $os_params::mgmt_names[0] { if $::hostname == $os_params::mgmt_names[0] {
class {'cloud::object::ringbuilder': class {'cloud::object::ringbuilder':
rsyncd_ipaddress => $internal_netif_ip, rsyncd_ipaddress => $internal_netif_ip,

View File

@ -136,7 +136,7 @@ class cloud::compute(
# It's a hack to fit with our setup where we run MySQL/Galera # It's a hack to fit with our setup where we run MySQL/Galera
# TODO(Gonéri) # TODO(Gonéri)
# We have to do this only on the primary node of the galera cluster to avoid race condition # We have to do this only on the primary node of the galera cluster to avoid race condition
# https://github.com/enovance/puppet-cloud/issues/156 # https://github.com/enovance/puppet-openstack-cloud/issues/156
exec {'nova_db_sync': exec {'nova_db_sync':
command => '/usr/bin/nova-manage db sync', command => '/usr/bin/nova-manage db sync',
unless => "/usr/bin/mysql nova -h ${nova_db_host} -u ${encoded_user} -p${encoded_password} -e \"show tables\" | /bin/grep Tables" unless => "/usr/bin/mysql nova -h ${nova_db_host} -u ${encoded_user} -p${encoded_password} -e \"show tables\" | /bin/grep Tables"

View File

@ -227,7 +227,7 @@ class cloud::database::sql (
# TODO(Gonéri): # TODO(Gonéri):
# Here we should do the db_sync. # Here we should do the db_sync.
# https://github.com/enovance/puppet-cloud/issues/156 # https://github.com/enovance/puppet-openstack-cloud/issues/156
Database_user<<| |>> Database_user<<| |>>
} # if $::hostname == $galera_master } # if $::hostname == $galera_master

View File

@ -558,7 +558,7 @@ class cloud::identity (
# It's a hack to fit with our setup where we run MySQL/Galera # It's a hack to fit with our setup where we run MySQL/Galera
# TODO(Gonéri) # TODO(Gonéri)
# We have to do this only on the primary node of the galera cluster to avoid race condition # We have to do this only on the primary node of the galera cluster to avoid race condition
# https://github.com/enovance/puppet-cloud/issues/156 # https://github.com/enovance/puppet-openstack-cloud/issues/156
exec {'keystone_db_sync': exec {'keystone_db_sync':
command => '/usr/bin/keystone-manage db_sync', command => '/usr/bin/keystone-manage db_sync',
unless => "/usr/bin/mysql keystone -h ${keystone_db_host} -u ${encoded_user} -p${encoded_password} -e \"show tables\" | /bin/grep Tables" unless => "/usr/bin/mysql keystone -h ${keystone_db_host} -u ${encoded_user} -p${encoded_password} -e \"show tables\" | /bin/grep Tables"

View File

@ -138,7 +138,7 @@ class cloud::image(
} }
# TODO(EmilienM) Disabled for now # TODO(EmilienM) Disabled for now
# Follow-up: https://github.com/enovance/puppet-cloud/issues/160 # Follow-up: https://github.com/enovance/puppet-openstack-cloud/issues/160
# #
# class { 'glance::notify::rabbitmq': # class { 'glance::notify::rabbitmq':
# rabbit_password => $rabbit_password, # rabbit_password => $rabbit_password,
@ -168,7 +168,7 @@ class cloud::image(
# It's a hack to fit with our setup where we run MySQL/Galera # It's a hack to fit with our setup where we run MySQL/Galera
# TODO(Gonéri) # TODO(Gonéri)
# We have to do this only on the primary node of the galera cluster to avoid race condition # We have to do this only on the primary node of the galera cluster to avoid race condition
# https://github.com/enovance/puppet-cloud/issues/156 # https://github.com/enovance/puppet-openstack-cloud/issues/156
exec {'glance_db_sync': exec {'glance_db_sync':
command => '/usr/bin/glance-manage db_sync', command => '/usr/bin/glance-manage db_sync',
unless => "/usr/bin/mysql glance -h ${glance_db_host} -u ${encoded_glance_user} -p${encoded_glance_password} -e \"show tables\" | /bin/grep Tables" unless => "/usr/bin/mysql glance -h ${glance_db_host} -u ${encoded_glance_user} -p${encoded_glance_password} -e \"show tables\" | /bin/grep Tables"

View File

@ -23,7 +23,7 @@ class cloud(
) { ) {
if ! ($::osfamily in [ 'RedHat', 'Debian' ]) { if ! ($::osfamily in [ 'RedHat', 'Debian' ]) {
fail("OS family unsuppored yet (${::osfamily}), module puppet-cloud only support RedHat or Debian") fail("OS family unsuppored yet (${::osfamily}), module puppet-openstack-cloud only support RedHat or Debian")
} }
# motd # motd

View File

@ -117,7 +117,7 @@ class cloud::network(
# TODO(EmilienM) Temporary, need to be fixed upstream. # TODO(EmilienM) Temporary, need to be fixed upstream.
# There is an issue when using ML2 + OVS: neutron services don't read OVS # There is an issue when using ML2 + OVS: neutron services don't read OVS
# config file, only ML2. I need to patch puppet-neutron. # config file, only ML2. I need to patch puppet-neutron.
# Follow-up: https://github.com/enovance/puppet-cloud/issues/199 # Follow-up: https://github.com/enovance/puppet-openstack-cloud/issues/199
neutron_plugin_ml2 { neutron_plugin_ml2 {
'agent/tunnel_types': value => ['gre']; 'agent/tunnel_types': value => ['gre'];
'agent/l2_population': value => true; 'agent/l2_population': value => true;

View File

@ -144,7 +144,7 @@ class cloud::orchestration(
# It's a hack to fit with our setup where we run MySQL/Galera # It's a hack to fit with our setup where we run MySQL/Galera
# TODO(Gonéri) # TODO(Gonéri)
# We have to do this only on the primary node of the galera cluster to avoid race condition # We have to do this only on the primary node of the galera cluster to avoid race condition
# https://github.com/enovance/puppet-cloud/issues/156 # https://github.com/enovance/puppet-openstack-cloud/issues/156
exec {'heat_db_sync': exec {'heat_db_sync':
command => '/usr/bin/heat-manage --config-file /etc/heat/heat.conf db_sync', command => '/usr/bin/heat-manage --config-file /etc/heat/heat.conf db_sync',
unless => "/usr/bin/mysql heat -h ${heat_db_host} -u ${encoded_user} -p${encoded_password} -e \"show tables\" | /bin/grep Tables" unless => "/usr/bin/mysql heat -h ${heat_db_host} -u ${encoded_user} -p${encoded_password} -e \"show tables\" | /bin/grep Tables"

View File

@ -109,7 +109,7 @@ class cloud::volume(
# It's a hack to fit with our setup where we run MySQL/Galera # It's a hack to fit with our setup where we run MySQL/Galera
# TODO(Gonéri) # TODO(Gonéri)
# We have to do this only on the primary node of the galera cluster to avoid race condition # We have to do this only on the primary node of the galera cluster to avoid race condition
# https://github.com/enovance/puppet-cloud/issues/156 # https://github.com/enovance/puppet-openstack-cloud/issues/156
exec {'cinder_db_sync': exec {'cinder_db_sync':
command => '/usr/bin/cinder-manage db sync', command => '/usr/bin/cinder-manage db sync',
unless => "/usr/bin/mysql cinder -h ${cinder_db_host} -u ${encoded_user} -p${encoded_password} -e \"show tables\" | /bin/grep Tables" unless => "/usr/bin/mysql cinder -h ${cinder_db_host} -u ${encoded_user} -p${encoded_password} -e \"show tables\" | /bin/grep Tables"

View File

@ -83,7 +83,7 @@ describe 'cloud::image' do
end end
# TODO(EmilienM) Disabled for now # TODO(EmilienM) Disabled for now
# Follow-up https://github.com/enovance/puppet-cloud/issues/160 # Follow-up https://github.com/enovance/puppet-openstack-cloud/issues/160
# #
# it 'configure glance notifications with rabbitmq backend' do # it 'configure glance notifications with rabbitmq backend' do
# should contain_class('glance::notify::rabbitmq').with( # should contain_class('glance::notify::rabbitmq').with(

View File

@ -95,7 +95,7 @@ describe 'cloud' do
{ :osfamily => 'Solaris' } { :osfamily => 'Solaris' }
end end
it { should compile.and_raise_error(/module puppet-cloud only support/) } it { should compile.and_raise_error(/module puppet-openstack-cloud only support/) }
end end
end end