RETIRED, Chef Cookbook - OpenStack client Resources
Go to file
Henrique Santos 6fd801ac2a Fixes user and project search by name in openstack_user resource
As project and user names are only unique for each domain and some
Keystone settings may filter user listing, any user or project search by
name needs to include the associated domain.

This change fixes any search done by name of a project or user in the
openstack_user resource. It is
assumed that if no domain is specified and there are multiple elements
with the same name, the first search result is
chosen.

Closes-Bug: #1871144

Change-Id: I0ed3ffabab5f8b0959c3b2c50a3619f378e59c9e
Signed-off-by: Henrique Santos <hfigueiredosantos@tecnico.ulisboa.pt>
(cherry picked from commit 3085252eab)
2020-06-01 17:34:21 -07:00
.delivery Style and lint fixes, add helpers 2018-05-28 09:05:53 -07:00
libraries Fixes user and project search by name in openstack_user resource 2020-06-01 17:34:21 -07:00
spec Fixes user and project search by name in openstack_user resource 2020-06-01 17:34:21 -07:00
.gitignore stable/rocky release patch 2019-12-11 12:16:41 +00:00
.gitreview stable/rocky release patch 2019-12-11 12:16:41 +00:00
.rubocop.yml initial commit 2016-08-30 09:44:21 +02:00
.rubocop_todo.yml starting rocky development patch 2018-08-03 06:26:33 -07:00
.travis.yml update travis ci config with newes chefdk and adapt to cookstyle 2018-02-12 13:13:40 +01:00
.zuul.yaml Rename openstack-chef-repo references to openstack-chef 2018-08-06 21:49:11 -07:00
Berksfile Style and lint fixes, add helpers 2018-05-28 09:05:53 -07:00
LICENSE Fix metadata and LICENSE for foodcritic 2018-02-12 07:41:50 -08:00
README.rst Updates for rocky 2019-12-06 11:33:15 -08:00
Rakefile Style and lint fixes, add helpers 2018-05-28 09:05:53 -07:00
metadata.rb Fixes user and project search by name in openstack_user resource 2020-06-01 17:34:21 -07:00

README.rst

OpenStack Chef Cookbook - openstackclient

image

Description

Installs the fog-openstack gem and offers custom resources to use it.

Requirements

  • Chef 14 or higher
  • ChefDK 3.2.30 for testing (also includes Berkshelf for cookbook dependency resolution)
  • gem 'fog-openstack'

Resources

openstack_domain

  • creates or deletes an openstack domain
  • example recipe can be found here

openstack_endpoint

  • creates or deletes an openstack endpoint
  • example recipe can be found here

openstack_project

  • creates or deletes an openstack project
  • example recipe can be found here

openstack_role

  • creates or deletes an openstack role
  • example recipe can be found here

openstack_service

  • creates or deletes an openstack service
  • example recipe can be found here

openstack_user

  • creates or deletes an openstack user
  • grants or revokes role to user in project
  • grants or revokes domain to user
  • example recipe can be found here

License and Author

Author Jan Klare (j.klare@x-ion.de)
Author Lance Albertson (lance@osuosl.org)
Copyright Copyright (c) 2016-2018, cloudbau GmbH
Copyright Copyright (c) 2016-2019, x-ion GmbH
Copyright Copyright (c) 2019, Oregon State University

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.