File: puppet-module-swift.postinst

package info (click to toggle)
puppet-module-swift 17.4.1-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,672 kB
  • sloc: ruby: 7,904; sh: 47; python: 37; makefile: 10
file content (13 lines) | stat: -rwxr-xr-x 324 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

set -e

if [ "${1}" = "configure" ] ; then
	update-alternatives --install /usr/share/puppet/modules/swift puppet-module-swift /usr/share/puppet/modules.available/swift 500
	chmod +x /etc/facter/facts.d/swift_blockdevs_names_to_uuid.sh
	chmod +x /etc/facter/facts.d/swift_fstab_dev_list.sh
fi

#DEBHELPER#

exit 0