Use generated key instead of hardcoded
Use mongodb key which generate and upload by Astute Path: /var/lib/astute/mongodb/mongodb.key Destination: /etc/mongodb.key Change-Id: Ib710e26ba3c5a1eb63e1cc1dcc4216da0b213626 Closes-Bug: #1314200
This commit is contained in:
parent
ba0b301064
commit
41932d168e
@ -69,7 +69,7 @@ class mongodb::server::config {
|
||||
}
|
||||
if $keyfile {
|
||||
file { $keyfile:
|
||||
content => template('mongodb/mongodb.key.erb'),
|
||||
content => file('/var/lib/astute/mongodb/mongodb.key'),
|
||||
owner => 'mongodb',
|
||||
group => 'root',
|
||||
mode => '0600',
|
||||
|
@ -1 +0,0 @@
|
||||
1234567890
|
Loading…
Reference in New Issue
Block a user