# in the ceilometer config.
# Defaults to false.
#
+# [*host*]
+# (Optional) Name of this node. This is typically a hostname, FQDN, or
+# IP address.
+# Defaults to $::os_service_default.
+#
+#
# === DEPRECATED PARAMETERS:
# [*metering_secret*]
# (optional) Secret key for signing messages.
$snmpd_readonly_username = $::os_service_default,
$snmpd_readonly_user_password = $::os_service_default,
$purge_config = false,
+ $host = $::os_service_default,
# DEPRECATED PARAMETERS
$alarm_history_time_to_live = undef,
$metering_secret = undef,
# Once we got here, we can act as an honey badger on the rpc used.
ceilometer_config {
'DEFAULT/http_timeout' : value => $http_timeout;
+ 'DEFAULT/host' : value => $host;
'publisher/telemetry_secret' : value => $telemetry_secret_real, secret => true;
'database/event_time_to_live' : value => $event_time_to_live;
'database/metering_time_to_live' : value => $metering_time_to_live;
:log_dir => '/var/log/ceilometer',
:use_stderr => 'True',
:purge_config => false,
+ :host => 'foo.domain'
}
end
is_expected.to contain_ceilometer_config('DEFAULT/http_timeout').with_value(params[:http_timeout])
end
+ it 'configures host name' do
+ is_expected.to contain_ceilometer_config('DEFAULT/host').with_value(params[:host])
+ end
+
context 'with rabbit_host parameter' do
before { params.merge!( rabbit_params ) }
it_configures 'a ceilometer base installation'