Re-order logic in plugin.sh

- Move collectd installation into install section

Change-Id: I3613c6f167e47f70924c00252dcfdde71ed75eed
Closes-Bug: #1623992
This commit is contained in:
Petr Fortelny 2016-12-12 13:15:43 -05:00
parent 132158b1bb
commit b98559c3bc

View File

@ -8,10 +8,12 @@ set -o xtrace
"stack")
case $2 in
"pre-install")
# install system package
install_collectd
# no-op
:
;;
"install")
# install system package
install_collectd
# adapt collectd.conf
adapt_collectd_conf
;;