puppet-gnocchi/examples/site.pp
Tobias Urdin 3a2a519bb2 Convert all class usage to relative names
Change-Id: Id33f4d13a4547734f36a6437e0d0e6b1db37a9a1
2019-12-08 23:07:12 +01:00

28 lines
735 B
Puppet

# This is an example of site.pp to deploy Gnocchi
class { 'gnocchi::keystone::auth':
admin_url => 'http://10.0.0.1:8041',
internal_url => 'http://10.0.0.1:8041',
public_url => 'http://10.0.0.1:8041',
password => 'verysecrete',
region => 'OpenStack'
}
class { 'gnocchi':
database_connection => 'mysql+pymysql://gnocchi:secrete@10.0.0.1/gnocchi?charset=utf8',
}
class { 'gnocchi::api':
bind_host => '10.0.0.1',
identity_uri => 'https://identity.openstack.org:5000',
keystone_password => 'verysecrete'
}
class { 'gnocchi::statsd':
resource_id => '07f26121-5777-48ba-8a0b-d70468133dd9',
archive_policy_name => 'high',
flush_delay => '100',
}
include gnocchi::client