mongodb module wants bind_ip to be a list
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| Packstack |
Fix Released
|
Undecided
|
Unassigned | ||
Bug Description
packstack generates a mongodb manifest from this template:
class { 'mongodb::server':
smallfiles => true,
bind_ip => '%(CONFIG_
before => Class['
}
But the mongodb puppet module wants bind_ip to be a list. E.g., in manifests/
$bind_ip = pick($bind_ip, ['127.0.0.1'])
With the existing template, installing mongodb fails with:
Error: Failed to parse template mongodb/
And in the manifest log:
Error: Failed to parse template mongodb/
Filepath: /var/tmp/
Line: 10
Detail: undefined method `join' for "10.0.0.2":String
at /var/tmp/
Error: Failed to parse template mongodb/
Filepath: /var/tmp/
Line: 10
Detail: undefined method `join' for "10.0.0.2":String
at /var/tmp/
Fix proposed in https:/ /review. openstack. org/83153