fuel-library/deployment/mcollective/astute/setup-env.sh
U-GRIDDYNAMICS\ibondar eea165caf5 FUEL-23
basic mcollective orchestration with astute
2012-11-28 16:49:13 +04:00

11 lines
509 B
Bash
Executable File

#!/bin/bash
for agent in `ls ../mcagent/`; do
echo "Linking agent $agent of mcollective.."
ln -sf `readlink -f ../mcagent/$agent` /usr/libexec/mcollective/mcollective/agent/$agent
done
ln -sfT `readlink -f ../puppet/nailytest` /etc/puppet/modules/nailytest
ln -sf `readlink -f ../puppet/nailytest/examples/site.pp` /etc/puppet/manifests/site.pp
ln -sf `readlink -f ../bootstrap/sync/usr/bin/net_probe.py` /usr/bin/net_probe.py
uuidgen > /etc/bootif # for net_probe plugin
service mcollective restart