Sha256: 11b9c0a74f2c9843ab09345406673598ad7e926f7291105cf22664543c01f7c0

Contents?: true

Size: 784 Bytes

Versions: 43

Compression:

Stored size: 784 Bytes

Contents

#!/bin/bash
#
# Make sure that old puppet cruft is removed
# This also allows us to downgrade puppet as
# it's more likely that installing old versions
# over new will cause issues.
#
# ${3} is the destination volume so that this works correctly
# when being installed to volumes other than the current OS.

/bin/rm -Rf "${3}{SITELIBDIR}/puppet"
/bin/rm -Rf "${3}{SITELIBDIR}/puppet.rb"

# remove old doc files

/bin/rm -Rf "${3}/usr/share/doc/puppet"

# In puppet 0.24.x these executables lived in bindir, but in 0.25.x they
# have been moved to sbindir. This cleans out old ones before installing.
/bin/rm -Rf "${3}{BINDIR}/puppetca"
/bin/rm -Rf "${3}{BINDIR}/puppetd"
/bin/rm -Rf "${3}{BINDIR}/puppetmasterd"
/bin/rm -Rf "${3}{BINDIR}/puppetqd"
/bin/rm -Rf "${3}{BINDIR}/puppetrun"

Version data entries

43 entries across 43 versions & 2 rubygems

Version Path
puppet-2.6.18 conf/osx/preflight
supply_drop-0.11.0 examples/vendored-puppet/vendor/puppet-2.7.8/conf/osx/preflight
supply_drop-0.10.2 examples/vendored-puppet/vendor/puppet-2.7.8/conf/osx/preflight
puppet-2.6.17 conf/osx/preflight
supply_drop-0.10.1 examples/vendored-puppet/vendor/puppet-2.7.8/conf/osx/preflight
supply_drop-0.10.0 examples/vendored-puppet/vendor/puppet-2.7.8/conf/osx/preflight
puppet-2.6.16 conf/osx/preflight
puppet-2.7.13 conf/osx/preflight
puppet-2.6.15 conf/osx/preflight
supply_drop-0.9.0 examples/vendored-puppet/vendor/puppet-2.7.8/conf/osx/preflight
supply_drop-0.8.1 examples/vendored-puppet/vendor/puppet-2.7.8/conf/osx/preflight
supply_drop-0.8.0 examples/vendored-puppet/vendor/puppet-2.7.8/conf/osx/preflight
puppet-2.7.12 conf/osx/preflight
puppet-2.7.11 conf/osx/preflight
puppet-2.6.14 conf/osx/preflight
supply_drop-0.7.0 examples/vendored-puppet/vendor/puppet-2.7.8/conf/osx/preflight
supply_drop-0.6.1 examples/vendored-puppet/vendor/puppet-2.7.8/conf/osx/preflight
supply_drop-0.6.0 examples/vendored-puppet/vendor/puppet-2.7.8/conf/osx/preflight
puppet-2.6.13 conf/osx/preflight
puppet-2.7.9 conf/osx/preflight