Puppet Class: profile::openstack::base::observerenv

Defined in:
modules/profile/manifests/openstack/base/observerenv.pp

Overview

Access credentials for the keystone 'novaobserver' account

Parameters:

  • region (String) (defaults to: lookup('profile::openstack::base::region'))
  • keystone_api_fqdn (Stdlib::Fqdn) (defaults to: lookup('profile::openstack::base::keystone_api_fqdn'))
  • os_user (String) (defaults to: lookup('profile::openstack::base::observer_user'))
  • os_password (String) (defaults to: lookup('profile::openstack::base::observer_password'))
  • os_project (String) (defaults to: lookup('profile::openstack::base::observer_project'))


2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# File 'modules/profile/manifests/openstack/base/observerenv.pp', line 2

class profile::openstack::base::observerenv(
    String       $region            = lookup('profile::openstack::base::region'),
    Stdlib::Fqdn $keystone_api_fqdn = lookup('profile::openstack::base::keystone_api_fqdn'),
    String       $os_user           = lookup('profile::openstack::base::observer_user'),
    String       $os_password       = lookup('profile::openstack::base::observer_password'),
    String       $os_project        = lookup('profile::openstack::base::observer_project'),
  ) {

    openstack::util::envscript { 'novaobserver':
        region                 => $region,
        keystone_api_fqdn      => $keystone_api_fqdn,
        keystone_api_port      => 25000,
        keystone_api_interface => 'public',
        os_user                => $os_user,
        os_password            => $os_password,
        os_project             => $os_project,
        scriptpath             => '/usr/local/bin/observerenv.sh',
        yaml_mode              => '0444',
    }
}