Merge "Added -p flag to mkdir"
This commit is contained in:
commit
a5df9666fb
@ -31,7 +31,7 @@ function install_collectd {
|
||||
# Add conf file for plugin
|
||||
function adapt_collectd_conf {
|
||||
if [ ! -d "$COLLECTD_CONF_DIR" ]; then
|
||||
sudo mkdir "$COLLECTD_CONF_DIR"
|
||||
sudo mkdir -p "$COLLECTD_CONF_DIR"
|
||||
fi
|
||||
|
||||
sudo cp $COLLECTD_CEILOMETER_DIR/etc/collectd.conf.d/collectd-ceilometer-plugin.conf $COLLECTD_CONF_DIR/
|
||||
|
5
releasenotes/notes/bug-1648554-0ff5f085f4e0f999.yaml
Normal file
5
releasenotes/notes/bug-1648554-0ff5f085f4e0f999.yaml
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
fixes:
|
||||
- Fixes 'bug 1648554 https://bugs.launchpad.net/collectd-ceilometer-plugin/+bug/1648554'.
|
||||
Added -p flag to "mkdir /etc/collectd/collectd.conf.d" to allow all
|
||||
directories to be created.
|
Loading…
x
Reference in New Issue
Block a user