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")
|
||||
case $2 in
|
||||
"pre-install")
|
||||
# install system package
|
||||
install_collectd
|
||||
# no-op
|
||||
:
|
||||
;;
|
||||
"install")
|
||||
# install system package
|
||||
install_collectd
|
||||
# adapt collectd.conf
|
||||
adapt_collectd_conf
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user