puppet-aodh/examples/aodh.pp
Iury Gregory Melo Ferreira 75161dd0ca Move aodh to authtoken
In aodh::api, use keystone::resource::authtoken to configure
keystone_authtoken section in aodh.conf, with all parameters
required to configure keystonemiddleware.
This patch will allow to deploy aodh to use Keystone v3 authentification.

Some deprecations:
- aodh::api::keystone_tenant is deprecated in favor of
  aodh::keystone::authtoken::project_name.
- aodh::api::keystone_user is deprecated in favor of
  aodh::keystone::authtoken::username.
- aodh::api::keystone_password is deprecated in favor of
  aodh::keystone::authtoken::password.
- aodh::api::keystone_project_domain_name is deprecated in favor of
  aodh::keystone::authtoken::project_domain_name
- aodh::api::keystone_user_domain_name is deprecated in favor of
  aodh::keystone::authtoken::user_domain_name
- aodh::api::keystone_auth_type is deprecated in favor of
  aodh::keystone::authtoken::auth_type
- aodh::api::keystone_auth_uri is deprecated in favor of
  aodh::keystone::authtoken::auth_uri
- aodh::api::keystone_identity_uri is deprecated in favor of
  aodh::keystone::authtoken::auth_url
- aodh::api::keystone_auth_url is deprecated in favor of
  aodh::keystone::authtoken::auth_url
- aodh::api::memcached_servers is deprecated in favor of
  aodh::keystone::authtoken::memcached_servers

Change-Id: Id8b3d8265f3554865fd77b291f235219b147efb9
Related-Bug: #1604463
2016-08-19 04:27:46 +00:00

20 lines
414 B
Puppet

class { '::aodh': }
class { '::aodh::keystone::authtoken':
password => 'a_big_secret',
}
class { '::aodh::api':
enabled => true,
service_name => 'httpd',
}
include ::apache
class { '::aodh::wsgi::apache':
ssl => false,
}
class { '::aodh::auth':
auth_password => 'a_big_secret',
}
class { '::aodh::evaluator': }
class { '::aodh::notifier': }
class { '::aodh::listener': }
class { '::aodh::client': }