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:
Vladimir Sharshov (warpc) 2014-11-13 13:41:50 +03:00
parent ba0b301064
commit 41932d168e
2 changed files with 1 additions and 2 deletions

View File

@ -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',

View File

@ -1 +0,0 @@
1234567890