Sha256: 28517154b100b4a45024d323760683380d18800ad03ea711755127e09bb026ac

Contents?: true

Size: 785 Bytes

Versions: 9

Compression:

Stored size: 785 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

9 entries across 9 versions & 2 rubygems

Version Path
librarian-puppet-0.9.4 vendor/gems/ruby/1.8/gems/puppet-2.7.18/conf/osx/preflight
puppet-3.0.0.rc5 conf/osx/preflight
puppet-3.0.0.rc4 conf/osx/preflight
puppet-2.7.19 conf/osx/preflight
librarian-puppet-0.9.3 vendor/gems/ruby/1.8/gems/puppet-2.7.18/conf/osx/preflight
puppet-2.7.18 conf/osx/preflight
puppet-2.7.17 conf/osx/preflight
puppet-2.7.16 conf/osx/preflight
puppet-2.7.14 conf/osx/preflight