Re-order logic in plugin.sh
- Move collectd installation into install section Change-Id: I3613c6f167e47f70924c00252dcfdde71ed75eed Closes-Bug: #1623992
This commit is contained in:
parent
132158b1bb
commit
b98559c3bc
@ -8,10 +8,12 @@ set -o xtrace
|
|||||||
"stack")
|
"stack")
|
||||||
case $2 in
|
case $2 in
|
||||||
"pre-install")
|
"pre-install")
|
||||||
# install system package
|
# no-op
|
||||||
install_collectd
|
:
|
||||||
;;
|
;;
|
||||||
"install")
|
"install")
|
||||||
|
# install system package
|
||||||
|
install_collectd
|
||||||
# adapt collectd.conf
|
# adapt collectd.conf
|
||||||
adapt_collectd_conf
|
adapt_collectd_conf
|
||||||
;;
|
;;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user