Skip to content

Commit

Permalink
Fixes #17637: error at install of rudder 6.1 server on debian 9
Browse files Browse the repository at this point in the history
  • Loading branch information
ncharles committed Jun 5, 2020
1 parent ae85e7a commit 5fa0421
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions share/lib/common.sh
Expand Up @@ -144,6 +144,12 @@ modification_time() {

# Check that a bootstrap is necessary
bootstrap_check() {
# create folder if it doesn't exist
if [ ! -d "/var/rudder/cfengine-community/inputs" ]
then
mkdir -p /var/rudder/cfengine-community/inputs
fi

if [ "$(ls -A /var/rudder/cfengine-community/inputs)" = "" ]
then
cp /opt/rudder/share/bootstrap-promises/* /var/rudder/cfengine-community/inputs/
Expand Down

0 comments on commit 5fa0421

Please sign in to comment.