Merge pull request #5671 from spalger/implement/esvmConfigForShield

Implement esvm config for shield
This commit is contained in:
Spencer 2016-01-15 17:54:29 -07:00
commit 006333fd99
2 changed files with 39 additions and 0 deletions

View file

@ -53,6 +53,7 @@
"precommit": "grunt precommit",
"karma": "karma start",
"elasticsearch": "grunt esvm:dev:keepalive",
"elasticsearchWithPlugins": "grunt esvm:withPlugins:keepalive",
"lint": "grunt eslint:source",
"lintroller": "grunt eslint:fixSource",
"mocha": "mocha --compilers js:babel/register",

View file

@ -62,6 +62,44 @@ module.exports = function (grunt) {
}
}
}
},
withPlugins: {
options: {
version: '2.1.0',
directory: resolve(directory, 'withPlugins'),
plugins: [
'license',
'shield',
'marvel-agent',
'watcher'
],
shield: {
users: [
{
username: 'kibana',
password: 'notsecure',
roles: ['kibana4_server']
},
{
username: 'user',
password: 'notsecure',
roles: ['kibana4', 'marvel']
},
{
username: 'admin',
password: 'notsecure',
roles: ['admin']
}
]
},
config: {
marvel: {
agent: {
interval: '60s'
}
}
}
}
}
};
};