a5da52ec52
This code moves all deps to an external class so that Keystone can be installed with mechanisms besides packages (like venv or docker). This also cleans-up the dependency tree by removing false or confusing dependencies. Change-Id: If69cd7cba267f75faad51fdbc80a58b24d2095d8 Co-Author: Clayton O'Neill <clayton.oneill@twcable.com>
30 lines
652 B
Puppet
30 lines
652 B
Puppet
# == Class: keystone::client
|
|
#
|
|
# Installs Keystone client.
|
|
#
|
|
# === Parameters
|
|
#
|
|
# [*client_package_name*]
|
|
# (optional) The name of python keystone client package
|
|
# Defaults to $keystone::params::client_package_name
|
|
#
|
|
# [*ensure*]
|
|
# (optional) Ensure state of the package.
|
|
# Defaults to 'present'.
|
|
#
|
|
class keystone::client (
|
|
$client_package_name = $keystone::params::client_package_name,
|
|
$ensure = 'present'
|
|
) inherits keystone::params {
|
|
|
|
include ::keystone::deps
|
|
|
|
package { 'python-keystoneclient':
|
|
ensure => $ensure,
|
|
name => $client_package_name,
|
|
tag => 'openstack',
|
|
}
|
|
|
|
include '::openstacklib::openstackclient'
|
|
}
|