Initial kilo updates

Change-Id: I0531dff91ca923fb9f908324428b327dbc913db0
Partial-Bug: #1426424
This commit is contained in:
Mark Vanderwiel 2015-02-27 13:26:51 -06:00
parent e861e1e98b
commit 89b36103f0
6 changed files with 80 additions and 132 deletions

View File

@ -1,3 +1,5 @@
inherit_from: .rubocop_todo.yml
AllCops:
Include:
- metadata.rb
@ -8,12 +10,15 @@ AllCops:
- recipes/**
- resources/**
- spec/**
Exclude:
- .cookbooks/**/*
- berks-cookbooks/**/*
- .bundle/**/*
Encoding:
Exclude:
- metadata.rb
- Gemfile
- berks-cookbooks/**
NumericLiterals:
Enabled: false

53
.rubocop_todo.yml Normal file
View File

@ -0,0 +1,53 @@
# This configuration was generated by `rubocop --auto-gen-config`
# on 2015-02-27 13:24:24 -0600 using RuboCop version 0.29.1.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
# versions of RuboCop, may require this file to be generated again.
# Offense count: 4
# Cop supports --auto-correct.
Lint/StringConversionInInterpolation:
Enabled: false
# Offense count: 1
# Cop supports --auto-correct.
Lint/UnusedBlockArgument:
Enabled: false
# Offense count: 1
Metrics/AbcSize:
Max: 19
# Offense count: 3
# Configuration parameters: EnforcedStyle, SupportedStyles.
Style/ClassAndModuleChildren:
Enabled: false
# Offense count: 6
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
Style/EmptyLinesAroundBlockBody:
Enabled: false
# Offense count: 10
# Configuration parameters: EnforcedStyle, SupportedStyles.
Style/FormatString:
Enabled: false
# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles.
Style/IndentHash:
Enabled: false
# Offense count: 6
# Cop supports --auto-correct.
# Configuration parameters: PreferredDelimiters.
Style/PercentLiteralDelimiters:
Enabled: false
# Offense count: 32
# Cop supports --auto-correct.
Style/SingleSpaceBeforeFirstArg:
Enabled: false

View File

@ -1,93 +0,0 @@
# CHANGELOG for cookbook-openstack-identity
This file is used to list changes made in each version of cookbook-openstack-identity.
## 10.0.1
* Update keystone.conf from mode 0644 to 0640
* Allow hash_algorithm to be configurable
* Raise exceptions when register provider keystone command fails
* Allow admin_bind_host to be settable in the keystone.conf template
* Add attributes for saml
* Allow attributes for domain specific drivers
* Allow existing users to have their passwords updated properly
* Bump Chef gem to 11.16
* Add test to verify each endpoint can be configured seperatly
* Update endpoint when endpoint for one service type exists
* Add attributes for pipeline of API
* Add create user idempotent password check
* Cleanup deprecated sql token attribute
* Fix token expiration default value
* Use common specific_endpoint routines (bug 1412919)
## 10.0.0
* Upgrading to Juno
* Upgrading berkshelf from 2.0.18 to 3.1.5
* Fix the internal endpoint URL by using the InternalURL variable rather than AdminURL
* Sync conf files with Juno
* Allow admin and public workers to be configured
* Allow list_limit to be configurable
* Fix registration issue by adding '--insecure' to keystone command
## 9.3.1
* Add support for a templated keystone-paste.ini
as well as support misc_paste options inserted
* bump berkshelf to 2.0.18 to allow Supermarket support
* fix fauxhai version for suse and redhat
## 9.3.0
* python_packages database client attributes have been migrated to the -common cookbook
## 9.2.1
* Add support for TLS in [ldap]
## 9.2.0
* Add support for miscellaneous options (like in Compute)
## 9.1.1
* Fix package action to allow updates
## 9.1.0
* Add token flushing cronjob
## 9.0.0
* Upgrade to Icehouse
## 8.1.3
* Remove duplicate service and admin ports attributes that are in Common LP1281108
## 8.1.2
### Bug
* Fix the DB2 ODBC driver issue
## 8.1.1
* Adding guard on register LWRP (:create_service) to not run if backend is 'templated'
* Adding guard on register LWRP (:create_endpoint) to not run if backend is 'templated'
## 8.1.0
* Add client recipe
## 8.0.0
* Updating to Havana
* Updating cookbook-openstack-common dep from 0.3.0 to 0.4.7
## 7.2.0:
* Allow orchestration and cloudformation as service/endpoint types.
## 7.1.0:
* Add new attribute default["openstack"]["identity"]["policy"]["backend"], default is 'sql'.
## 7.0.2:
### Bug
* Do not delete the sqlite database when node.openstack.db.identity.db_type is set to sqlite.
* Added `does not delete keystone.db when configured to use sqlite` test case for this scenario
## 7.0.1:
* Fixed <db_type>_python_packages issue when setting node.openstack.db.identity.db_type to sqlite.
* Added `converges when configured to use sqlite db backend` test case for this scenario.
## 7.0.0:
* Initial release of cookbook-openstack-identity.
- - -
Check the [Markdown Syntax Guide](http://daringfireball.net/projects/markdown/syntax) for help with Markdown.
The [Github Flavored Markdown page](http://github.github.com/github-flavored-markdown/) describes the differences between markdown on github and standard markdown.

View File

@ -1,10 +1,10 @@
source 'https://rubygems.org'
gem 'chef', '~> 11.16.0'
gem 'chef', '~> 11.18.6'
gem 'json', '<= 1.7.7' # chef 11 dependency
gem 'berkshelf', '~> 3.1.5'
gem 'berkshelf', '~> 3.2.1'
gem 'hashie', '~> 2.0'
gem 'chefspec', '~> 4.0.0'
gem 'rspec', '~> 3.0.0'
gem 'foodcritic', '~> 3.0.3'
gem 'rubocop', '~> 0.18.1'
gem 'foodcritic', '~> 4.0'
gem 'rubocop', '~> 0.29.1'

View File

@ -274,38 +274,21 @@ default['openstack']['identity']['ldap']['user_enabled_emulation'] = false
default['openstack']['identity']['ldap']['user_enabled_emulation_dn'] = nil
# LDAP backend tenant related settings
# NOTE! tenant_xxxx has been deprecated in Juno, please use project_xxxx below
default['openstack']['identity']['ldap']['tenant_tree_dn'] = nil
default['openstack']['identity']['ldap']['tenant_filter'] = nil
default['openstack']['identity']['ldap']['tenant_objectclass'] = 'groupOfNames'
default['openstack']['identity']['ldap']['tenant_id_attribute'] = 'cn'
default['openstack']['identity']['ldap']['tenant_member_attribute'] = 'member'
default['openstack']['identity']['ldap']['tenant_name_attribute'] = 'ou'
default['openstack']['identity']['ldap']['tenant_desc_attribute'] = 'description'
default['openstack']['identity']['ldap']['tenant_enabled_attribute'] = 'enabled'
default['openstack']['identity']['ldap']['tenant_domain_id_attribute'] = 'businessCategory'
default['openstack']['identity']['ldap']['tenant_attribute_ignore'] = nil
default['openstack']['identity']['ldap']['tenant_allow_create'] = true
default['openstack']['identity']['ldap']['tenant_allow_update'] = true
default['openstack']['identity']['ldap']['tenant_allow_delete'] = true
default['openstack']['identity']['ldap']['tenant_enabled_emulation'] = false
default['openstack']['identity']['ldap']['tenant_enabled_emulation_dn'] = nil
default['openstack']['identity']['ldap']['project_tree_dn'] = node['openstack']['identity']['ldap']['tenant_tree_dn']
default['openstack']['identity']['ldap']['project_filter'] = node['openstack']['identity']['ldap']['tenant_filter']
default['openstack']['identity']['ldap']['project_objectclass'] = node['openstack']['identity']['ldap']['tenant_objectclass']
default['openstack']['identity']['ldap']['project_id_attribute'] = node['openstack']['identity']['ldap']['tenant_id_attribute']
default['openstack']['identity']['ldap']['project_member_attribute'] = node['openstack']['identity']['ldap']['tenant_member_attribute']
default['openstack']['identity']['ldap']['project_name_attribute'] = node['openstack']['identity']['ldap']['tenant_name_attribute']
default['openstack']['identity']['ldap']['project_desc_attribute'] = node['openstack']['identity']['ldap']['tenant_desc_attribute']
default['openstack']['identity']['ldap']['project_enabled_attribute'] = node['openstack']['identity']['ldap']['tenant_enabled_attribute']
default['openstack']['identity']['ldap']['project_domain_id_attribute'] = node['openstack']['identity']['ldap']['tenant_domain_id_attribute']
default['openstack']['identity']['ldap']['project_attribute_ignore'] = node['openstack']['identity']['ldap']['tenant_attribute_ignore']
default['openstack']['identity']['ldap']['project_allow_create'] = node['openstack']['identity']['ldap']['tenant_allow_create']
default['openstack']['identity']['ldap']['project_allow_update'] = node['openstack']['identity']['ldap']['tenant_allow_update']
default['openstack']['identity']['ldap']['project_allow_delete'] = node['openstack']['identity']['ldap']['tenant_allow_delete']
default['openstack']['identity']['ldap']['project_enabled_emulation'] = node['openstack']['identity']['ldap']['tenant_enabled_emulation']
default['openstack']['identity']['ldap']['project_enabled_emulation_dn'] = node['openstack']['identity']['ldap']['tenant_enabled_emulation_dn']
default['openstack']['identity']['ldap']['project_tree_dn'] = nil
default['openstack']['identity']['ldap']['project_filter'] = nil
default['openstack']['identity']['ldap']['project_objectclass'] = 'groupOfNames'
default['openstack']['identity']['ldap']['project_id_attribute'] = 'cn'
default['openstack']['identity']['ldap']['project_member_attribute'] = 'member'
default['openstack']['identity']['ldap']['project_name_attribute'] = 'ou'
default['openstack']['identity']['ldap']['project_desc_attribute'] = 'description'
default['openstack']['identity']['ldap']['project_enabled_attribute'] = 'enabled'
default['openstack']['identity']['ldap']['project_domain_id_attribute'] = 'businessCategory'
default['openstack']['identity']['ldap']['project_attribute_ignore'] = nil
default['openstack']['identity']['ldap']['project_allow_create'] = true
default['openstack']['identity']['ldap']['project_allow_update'] = true
default['openstack']['identity']['ldap']['project_allow_delete'] = true
default['openstack']['identity']['ldap']['project_enabled_emulation'] = false
default['openstack']['identity']['ldap']['project_enabled_emulation_dn'] = nil
# LDAP backend role related settings
default['openstack']['identity']['ldap']['role_tree_dn'] = nil

View File

@ -4,7 +4,7 @@ maintainer_email 'opscode-chef-openstack@googlegroups.com'
license 'Apache 2.0'
description 'The OpenStack Identity service Keystone.'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version '10.0.1'
version '11.0.0'
recipe 'openstack-identity::client', 'Install packages required for keystone client'
recipe 'openstack-identity::server', 'Installs and Configures Keystone Service'
@ -14,4 +14,4 @@ recipe 'openstack-identity::registration', 'Adds user, tenant, role an
supports os
end
depends 'openstack-common', '>= 10.2.0'
depends 'openstack-common', '>= 11.0.0'