OpenStack Trove Puppet Module
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Go to file
Takashi Kajinami bc209cda05 Remove support for Puppet 6
... because Puppet 6 reached its EOL in February 2023.

Change-Id: I2d6c7d82eb12bd38592840ccadb81b71005fb78a
1 week ago
doc Update openstackdocstheme to the latest version 2 years ago
examples Use service credential parameters to define keystone v3 auth 3 years ago
lib/puppet trove_datastore_version: Validate status 3 months ago
manifests Replace legacy facts and use fact hash 3 months ago
releasenotes Remove support for Puppet 6 1 week ago
spec Replace legacy facts and use fact hash 3 months ago
templates Remove deprecated rabbit_hosts 5 years ago
.gitignore Dissuade .gitignore references to personal tools 5 years ago
.gitreview OpenDev Migration Patch 4 years ago
.zuul.yaml Add Puppet Litmus 3 years ago
CHANGELOG.md Modify http to https. 5 years ago
CONTRIBUTING.rst [ussuri][goal] Add CONTRIBUTING.rst 3 years ago
Gemfile Use openstack_spec_helper from zuul checkout 3 years ago
LICENSE First commit 9 years ago
README.md Remove resource types for per-daemon config files 11 months ago
Rakefile Use puppet-openstack_spec_helper for Rakefile & spec_helper_acceptance 7 years ago
bindep.txt modulesync: sync and add nodepool-bionic for beaker 5 years ago
metadata.json Remove support for Puppet 6 1 week ago
setup.cfg Add information technology in the setup.cfg 2 years ago
setup.py setuptools: Disable auto discovery 1 year ago
tox.ini Stop configuring install_command in tox. 2 years ago

README.md

Team and repository tags

Team and repository tags

puppet-trove

Table of Contents

  1. Overview - What is the trove module?
  2. Module Description - What does the module do?
  3. Setup - The basics of getting started with trove
  4. Implementation - An under-the-hood peek at what the module is doing
  5. Limitations - OS compatibility, etc.
  6. Development - Guide for contributing to the module
  7. Contributors - Those with commits
  8. Release Notes - Release notes for the project
  9. Repository - The project source code repository

Overview

The trove module is a part of OpenStack, an effort by the OpenStack infrastructure team to provide continuous integration testing and code review for OpenStack and OpenStack community projects as part of the core software. The module itself is used to flexibly configure and manage the database service for OpenStack.

Module Description

Setup

What the trove module affects:

  • trove, the database service for OpenStack.

Installing trove

puppet module install openstack/trove

Implementation

trove

trove is a combination of Puppet manifest and ruby code to delivery configuration and extra functionality through types and providers.

Types

trove_config

The trove_config provider is a child of the ini_setting provider. It allows one to write an entry in the /etc/trove/trove.conf file.

trove_config { 'DEFAULT/backlog' :
  value => 4096,
}

This will write backlog=4096 in the [DEFAULT] section.

name

Section/setting name to manage from trove.conf

value

The value of the setting to be defined.

secret

Whether to hide the value from Puppet logs. Defaults to false.

ensure_absent_val

If value is equal to ensure_absent_val then the resource will behave as if ensure => absent was specified. Defaults to <SERVICE DEFAULT>

trove_guestagent_config

The trove_guestagent_config provider is a children of the ini_setting provider. It allows one to write an entry in the /etc/trove/trove-guestagent.conf file.

trove_guestagent_config { 'DEFAULT/trove_auth_url' :
  value => http://localhost:5000/v3,
}

This will write trove_auth_url=http://localhost:5000/v3 in the [DEFAULT] section.

name

Section/setting name to manage from trove.conf

value

The value of the setting to be defined.

secret

Whether to hide the value from Puppet logs. Defaults to false.

ensure_absent_val

If value is equal to ensure_absent_val then the resource will behave as if ensure => absent was specified. Defaults to <SERVICE DEFAULT>

Limitations

Security

For security reasons, a separate in-cloud RabbitMQ cluster should be set up for trove to use. The reason for this is that the guest agent needs to communicate with RabbitMQ, so it is not advisable to give instances access to the same RabbitMQ server that the core OpenStack services are using for communication.

Please note that puppet-trove cannot check if this rule is being followed, so it is the deployer's responsibility to do it.

Development

Developer documentation for the entire puppet-openstack project.

Contributors

Release Notes

Repository