From 133d5da118fb67ef3ffbf812393a486d75e6632e Mon Sep 17 00:00:00 2001 From: Xingchao Yu Date: Thu, 3 Apr 2014 10:07:47 +0800 Subject: [PATCH] Update nova::config example description. The original example in nova::config is syntax invalid. Besides fixing that, this patch also gives an example in yaml format. Change-Id: I2f044392becd9e46cc8346030095a029464c5ea0 Closes-bug: #1301700 --- manifests/config.pp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/manifests/config.pp b/manifests/config.pp index abdad7f66..3f0bc2131 100644 --- a/manifests/config.pp +++ b/manifests/config.pp @@ -7,7 +7,15 @@ # [*nova_config*] # (optional) Allow configuration of arbitrary Nova configurations. # The value is an hash of nova_config resources. Example: -# { 'DEFAULT/foo': value => 'fooValue'; 'DEFAULT/bar': value => 'barValue'} +# { 'DEFAULT/foo' => { value => 'fooValue'}, +# 'DEFAULT/bar' => { value => 'barValue'} +# } +# In yaml format, Example: +# nova_config: +# DEFAULT/foo: +# value: fooValue +# DEFAULT/bar: +# value: barValue # # NOTE: The configuration MUST NOT be already handled by this module # or Puppet catalog compilation will fail with duplicate resources.