diff --git a/files/auth/on_update.sh b/files/auth/on_update.sh index 4ee42b75b8abd397680fbbf3582ea202a3d16210..7a13654e474b977a29cc3f2e1af013a944d5bf46 100644 --- a/files/auth/on_update.sh +++ b/files/auth/on_update.sh @@ -4,6 +4,11 @@ run_as_broker=$(cat <<'EOF' cd # To make sure we have a decent GCC in our path. source /opt/rh/devtoolset-7/enable + +# Use a newer Boost. +export LIBRARY_PATH=/usr/lib64/boost169 +export CPATH=/usr/include/boost169 + cd src/auth make clean make -j4 diff --git a/files/broker/on_update.sh b/files/broker/on_update.sh index 433cee0e1c3621010939bffc473f17ed8a1e9b0a..1e6a62c2563fc353ed58fd4c00cb75e0d90d9409 100644 --- a/files/broker/on_update.sh +++ b/files/broker/on_update.sh @@ -4,6 +4,11 @@ run_as_broker=$(cat <<'EOF' cd # To make sure we have a decent GCC in our path. source /opt/rh/devtoolset-7/enable + +# Use a newer Boost. +export LIBRARY_PATH=/usr/lib64/boost169 +export CPATH=/usr/include/boost169 + cd src/broker make clean make -j4 diff --git a/manifests/broker.pp b/manifests/broker.pp index bd8891bbef2471c54ad1052d0c263d242e61cd23..15fbfd0e3ad4b2a53bed434f6a7f0ca290508433 100644 --- a/manifests/broker.pp +++ b/manifests/broker.pp @@ -5,15 +5,12 @@ class aes::broker { $broker_home = "/srv/${broker_user}" $broker_service = "aes_broker" - # Sadly, it does not seem like we can only install asio, so we need + # Sadly, it does not seem like we can not only install asio, so we need # to install the Boost as a whole. - # It is easiest to install just "boost", even if that is a bit older - # than what is available (others require modifying the include path). - # It is still enough for the broker. package { [ - 'boost', - 'boost-devel', + 'boost169', + 'boost169-devel', ]: ensure => installed, }