Skip to content

Commit

Permalink
Merge "Bump to latest versions of openstack modules" into upstream-ma…
Browse files Browse the repository at this point in the history
…ster
  • Loading branch information
xbezdick authored and gerritforge-ltd committed Jan 7, 2016
2 parents a858693 + edbf05d commit 7bbd603
Show file tree
Hide file tree
Showing 176 changed files with 2,858 additions and 2,095 deletions.
38 changes: 19 additions & 19 deletions Puppetfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
mod 'aodh',
:commit => '86d3e7e214a536a88ee4f4c4e26b9e1e36d09ea8',
:commit => '9e3e5aa160bdc8445835a198246256d47255c60a',
:git => 'https://github.com/openstack/puppet-aodh.git'

mod 'apache',
Expand All @@ -15,7 +15,7 @@ mod 'cassandra',
:git => 'https://github.com/locp/cassandra.git'

mod 'ceilometer',
:commit => 'be054317ef0f2b760bf5ecf43c58faa22a26cc19',
:commit => 'a38d8b40885012b4b56adff0b5655eafb4c569c5',
:git => 'https://github.com/openstack/puppet-ceilometer.git'

mod 'ceph',
Expand All @@ -27,7 +27,7 @@ mod 'certmonger',
:git => 'https://github.com/rcritten/puppet-certmonger.git'

mod 'cinder',
:commit => 'fbcd3d7e0c574865753b51bfab144afe0ded488c',
:commit => 'a52d4bce05d6f183796c314cad40ba307e54f273',
:git => 'https://github.com/openstack/puppet-cinder.git'

mod 'common',
Expand Down Expand Up @@ -71,27 +71,27 @@ mod 'git',
:git => 'https://github.com/puppetlabs/puppetlabs-git.git'

mod 'glance',
:commit => 'c3b685ba0dfd4a0ac78642844d9c16e5f472a78f',
:commit => 'aa3be4910522c45fcd09360ea8725c803eafbe2a',
:git => 'https://github.com/openstack/puppet-glance.git'

mod 'gluster',
:commit => '23b1055314bb435b4725134a9055c8676ccdfcff',
:git => 'https://github.com/purpleidea/puppet-gluster.git'

mod 'gnocchi',
:commit => '3b46e6845a7caf355b870ad0cb4b21eb83ef0cbc',
:commit => '8ec5fbc3e9e471bad02bc63649e65ccfcdf3ad41',
:git => 'https://github.com/openstack/puppet-gnocchi.git'

mod 'haproxy',
:commit => 'a1cd826990bb7e5d015418b679755aa6606ec13b',
:git => 'https://github.com/puppetlabs/puppetlabs-haproxy.git'

mod 'heat',
:commit => '057649984af58c5dec0d0466547d993792f42e18',
:commit => 'b898edf90ae5814f32e6303b733468673970ddfd',
:git => 'https://github.com/openstack/puppet-heat.git'

mod 'horizon',
:commit => 'c6c0d1aa9b45cb4763d5e43810618e720908b5c7',
:commit => '1a52b5bb0d92becfbf87158c830f2327b6a6c4e6',
:git => 'https://github.com/openstack/puppet-horizon.git'

mod 'inifile',
Expand All @@ -103,7 +103,7 @@ mod 'ipa',
:git => 'https://github.com/xbezdick/puppet-ipa-1.git'

mod 'ironic',
:commit => '12e15ba21a296ac9778754ff3db6187a9c503045',
:commit => '401a1e144975821d7223a07ff804934968fe4bc6',
:git => 'https://github.com/openstack/puppet-ironic.git'

mod 'java',
Expand All @@ -119,15 +119,15 @@ mod 'keepalived',
:git => 'https://github.com/Unyonsys/puppet-module-keepalived.git'

mod 'keystone',
:commit => '62f3f6e0fcbfef4563d632867d4a0d8592c6d1a2',
:commit => '759c626987749f030087ddcd9689f19a6608279d',
:git => 'https://github.com/openstack/puppet-keystone.git'

mod 'kibana3',
:commit => '6ca9631fbe82766134f98e2e8780bb91e7cd3f0e',
:git => 'https://github.com/thejandroman/puppet-kibana3.git'

mod 'manila',
:commit => 'b3667a28e570e3889bb5a8a3859808dd3ca88f30',
:commit => '2b3aa4ebe15476e07e004be4b87b441b7c8a6178',
:git => 'https://github.com/openstack/puppet-manila.git'

mod 'memcached',
Expand Down Expand Up @@ -163,11 +163,11 @@ mod 'nagios',
:git => 'https://github.com/gildub/puppet-nagios-openstack.git'

mod 'neutron',
:commit => '23875c218f802e3cc8f2f8f6fa09d89e97194878',
:commit => 'c5777e0ce761870473a7703bd36e403bd0e155f8',
:git => 'https://github.com/openstack/puppet-neutron.git'

mod 'nova',
:commit => 'd93b9709af1786ad3b2401c2de2fef9f96bd6827',
:commit => 'd7389d44beb9c14a236a480e8c9f423574f6466b',
:git => 'https://github.com/openstack/puppet-nova.git'

mod 'nssdb',
Expand All @@ -187,7 +187,7 @@ mod 'openstack_extras',
:git => 'https://github.com/openstack/puppet-openstack_extras.git'

mod 'openstacklib',
:commit => 'f84baa1f695a94c6357468fcac1309066d11e06d',
:commit => 'bad1c6514a896532114703bdc2abd59edbf124a1',
:git => 'https://github.com/openstack/puppet-openstacklib.git'

mod 'pacemaker',
Expand Down Expand Up @@ -219,7 +219,7 @@ mod 'rsync',
:git => 'https://github.com/puppetlabs/puppetlabs-rsync.git'

mod 'sahara',
:commit => '0c465a03331b45ad2f8606e202d1b1d3a54ed9f3',
:commit => 'a8dc766476954c48f1c02bae78d969b56511ae02',
:git => 'https://github.com/openstack/puppet-sahara.git'

mod 'sensu',
Expand All @@ -243,15 +243,15 @@ mod 'stdlib',
:git => 'https://github.com/puppetlabs/puppetlabs-stdlib.git'

mod 'swift',
:commit => '772bba90f179e71e24b2e26511e57be3897cefc8',
:commit => '318b900706bedb7fba53b72cf0bb434eeeab0bdf',
:git => 'https://github.com/openstack/puppet-swift.git'

mod 'sysctl',
:commit => 'c4486acc2d66de857dbccd8b4b945ea803226705',
:git => 'https://github.com/puppetlabs/puppetlabs-sysctl.git'

mod 'tempest',
:commit => '9d2f18df7df8cfb361cffeca9ba0c31151915567',
:commit => 'e9692e3805a27f37ca2859976ffdccf6e479ab3b',
:git => 'https://github.com/openstack/puppet-tempest.git'

mod 'timezone',
Expand All @@ -263,11 +263,11 @@ mod 'tomcat',
:git => 'https://github.com/puppetlabs/puppetlabs-tomcat.git'

mod 'tripleo',
:commit => 'd7e457b8af855b2ecc08d94776532660ef56b736',
:commit => '4a5f1bc6bc5fe28c2f2f64a3485bac2a697de0ac',
:git => 'https://github.com/openstack/puppet-tripleo.git'

mod 'trove',
:commit => 'f712a483ff8449c5cd0f094f13be127b09727604',
:commit => 'd87726b6d76046dfc961912819a94ffcb018df6d',
:git => 'https://github.com/openstack/puppet-trove'

mod 'tuskar',
Expand All @@ -287,7 +287,7 @@ mod 'vlan',
:git => 'https://github.com/derekhiggins/puppet-vlan.git'

mod 'vswitch',
:commit => 'd3924b0d4d7fe53ec29e11250d9ef597dba8f8c7',
:commit => '150567e501e800fdf8575d20a42e8efaf5840475',
:git => 'https://github.com/openstack/puppet-vswitch.git'

mod 'xinetd',
Expand Down
21 changes: 9 additions & 12 deletions aodh/spec/classes/aodh_keystone_auth_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,12 @@
:roles => ['admin']
)}

it { is_expected.to contain_keystone_service('aodh').with(
it { is_expected.to contain_keystone_service('aodh::alarming').with(
:ensure => 'present',
:type => 'alarming',
:description => 'OpenStack Alarming Service'
) }

it { is_expected.to contain_keystone_endpoint('RegionOne/aodh').with(
it { is_expected.to contain_keystone_endpoint('RegionOne/aodh::alarming').with(
:ensure => 'present',
:public_url => 'http://127.0.0.1:8042',
:admin_url => 'http://127.0.0.1:8042',
Expand All @@ -48,7 +47,7 @@
:admin_url => 'http://10.10.10.12:81' }
end

it { is_expected.to contain_keystone_endpoint('RegionOne/aodh').with(
it { is_expected.to contain_keystone_endpoint('RegionOne/aodh::alarming').with(
:ensure => 'present',
:public_url => 'https://10.10.10.10:80',
:internal_url => 'http://10.10.10.11:81',
Expand All @@ -64,8 +63,8 @@

it { is_expected.to contain_keystone_user('aodhany') }
it { is_expected.to contain_keystone_user_role('aodhany@services') }
it { is_expected.to contain_keystone_service('aodhany') }
it { is_expected.to contain_keystone_endpoint('RegionOne/aodhany') }
it { is_expected.to contain_keystone_service('aodhany::alarming') }
it { is_expected.to contain_keystone_endpoint('RegionOne/aodhany::alarming') }
end

describe 'when overriding service name' do
Expand All @@ -77,8 +76,8 @@

it { is_expected.to contain_keystone_user('aodh') }
it { is_expected.to contain_keystone_user_role('aodh@services') }
it { is_expected.to contain_keystone_service('aodh_service') }
it { is_expected.to contain_keystone_endpoint('RegionOne/aodh_service') }
it { is_expected.to contain_keystone_service('aodh_service::alarming') }
it { is_expected.to contain_keystone_endpoint('RegionOne/aodh_service::alarming') }
end

describe 'when disabling user configuration' do
Expand All @@ -92,9 +91,8 @@

it { is_expected.not_to contain_keystone_user('aodh') }
it { is_expected.to contain_keystone_user_role('aodh@services') }
it { is_expected.to contain_keystone_service('aodh').with(
it { is_expected.to contain_keystone_service('aodh::alarming').with(
:ensure => 'present',
:type => 'alarming',
:description => 'OpenStack Alarming Service'
) }

Expand All @@ -112,9 +110,8 @@

it { is_expected.not_to contain_keystone_user('aodh') }
it { is_expected.not_to contain_keystone_user_role('aodh@services') }
it { is_expected.to contain_keystone_service('aodh').with(
it { is_expected.to contain_keystone_service('aodh::alarming').with(
:ensure => 'present',
:type => 'alarming',
:description => 'OpenStack Alarming Service'
) }

Expand Down
6 changes: 2 additions & 4 deletions ceilometer/examples/site.pp
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,8 @@
class { '::ceilometer::alarm::evaluator':
}

# Purge 1 month old meters
class { '::ceilometer::expirer':
time_to_live => '2592000'
}
# Purge old meters
class { '::ceilometer::expirer': }

# Install notification agent
class { '::ceilometer::agent::notification':
Expand Down
6 changes: 5 additions & 1 deletion ceilometer/manifests/agent/notification.pp
Original file line number Diff line number Diff line change
Expand Up @@ -42,18 +42,21 @@
# [*disable_non_metric_meters*]
# (optional) Disable or enable the collection of non-metric meters.
# Default to $::os_service_default
# [*notification_workers*]
# (optional) Number of workers for notification service (integer value).
# Defaults to $::os_service_default
#
# [*package_ensure*]
# (optional) ensure state for package.
# Defaults to 'present'
#

class ceilometer::agent::notification (
$manage_service = true,
$enabled = true,
$ack_on_event_error = true,
$store_events = false,
$disable_non_metric_meters = $::os_service_default,
$notification_workers = $::os_service_default,
$package_ensure = 'present',
) {

Expand Down Expand Up @@ -92,6 +95,7 @@
'notification/ack_on_event_error' : value => $ack_on_event_error;
'notification/store_events' : value => $store_events;
'notification/disable_non_metric_meters': value => $disable_non_metric_meters;
'DEFAULT/notification_workers' : value => $notification_workers;
}

}
Loading

0 comments on commit 7bbd603

Please sign in to comment.