Fix setting bgpd password with puppet
The bgpd.conf file created by puppet was malformed, due to using the default key_val_seperator '=' which is wrong. This commit makes the ini_setting resource use the right separator for quagga, which is a space. Change-Id: I9dd1cf17f9056ec63d42ac254ffb6f6a1884873b Signed-off-by: Romanos Skiadas <rski@intracom-telecom.com>
This commit is contained in:
parent
0ff4ebdbfe
commit
694ec577fb
|
@ -1,7 +1,7 @@
|
|||
class opendaylight::quagga (
|
||||
){
|
||||
package { ['opnfv-quagga', 'libcapnp-0.5.99', 'python-pycapnp', 'python-thriftpy']:
|
||||
ensure => installed,
|
||||
ensure => installed,
|
||||
}
|
||||
service {'opnfv-quagga':
|
||||
ensure => running
|
||||
|
@ -9,11 +9,12 @@ class opendaylight::quagga (
|
|||
|
||||
$config_path = '/usr/lib/quagga/qthrift/bgpd.conf'
|
||||
ini_setting { 'bgp_password':
|
||||
ensure => present,
|
||||
setting => 'password',
|
||||
value => 'sdncbgpc',
|
||||
path => $config_path,
|
||||
require => Package['opnfv-quagga'],
|
||||
notify => Service['opnfv-quagga']
|
||||
ensure => present,
|
||||
setting => 'password',
|
||||
value => 'sdncbgpc',
|
||||
path => $config_path,
|
||||
key_val_separator => ' ',
|
||||
require => Package['opnfv-quagga'],
|
||||
notify => Service['opnfv-quagga']
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue