Force recreate puppet module symlinks

It's useful for this script to be re-runnable when developing locally
and for things like applying elements via instack. Force recreating the
symlinks shouldn't have any ill effect.

Change-Id: Ia2f45824a6f53853f8d2bd1d2d901170b910f1ec
This commit is contained in:
James Slagle 2015-02-05 13:52:19 -05:00
parent 6929d62fbe
commit 4b20834b70
2 changed files with 2 additions and 2 deletions
elements/puppet-modules/install.d
puppet-modules-package-install
puppet-modules-source-install

@ -4,4 +4,4 @@ set -eux
install-packages -m puppet-modules puppet_modules_package
ln -s /usr/share/openstack-puppet/modules/* /etc/puppet/modules/
ln -f -s /usr/share/openstack-puppet/modules/* /etc/puppet/modules/

@ -1,4 +1,4 @@
#!/bin/bash
set -eux
ln -s /opt/stack/puppet-modules/* /etc/puppet/modules/
ln -f -s /opt/stack/puppet-modules/* /etc/puppet/modules/