fixed variable naming
moved plugin installation/deinstallation to new define elasticsearch::plugin