blob: 1e3ba9f314a75dd34e37027d7c59819ed2f83b52 [file] [log] [blame]
{% set server = salt['grains.filter_by']({
'Debian': {
'pkgs': ['mongodb-server', 'mongodb', 'mongodb-clients'],
'service': 'mongodb',
'lock_dir': "/var/lock/mongodb",
'logging': {},
'bind': {
'address': '127.0.0.1',
'port': 27017
},
'authorization': {},
'admin': {
'username': 'root'
}
},
'RedHat': {
'pkgs': ['mongodb-server', 'mongodb', 'mongodb-clients'],
'service': 'mongod',
'lock_dir': "/var/lock/mongodb",
'logging': {},
'bind': {
'address': '127.0.0.1',
'port': 27017
},
'authorization': {},
'admin': {
'username': 'root'
}
},
}, merge=salt['pillar.get']('mongodb:server')) %}