Moving elastisearch methods to module
879094 - Fixing passphrase permissions for upgrades