diff options
| author | Luke Kanies <luke@madstop.com> | 2007-11-23 19:18:20 -0600 |
|---|---|---|
| committer | Luke Kanies <luke@madstop.com> | 2007-11-23 19:18:20 -0600 |
| commit | 72c0e7bd73e9185a04f141a142dc79202f5ff441 (patch) | |
| tree | 0bdc075021b9bcaea5dcd4afe48691ea6b1d7de6 /debian/puppet.postinst | |
| parent | 56aad69f8cdf8b0b08fdb7985014986223fa4455 (diff) | |
Adding the debian directory via patch 20070831052721-6856b-b90bb56a4ed37ea420f10352a0a366068cddc7e4.patch from womble
Diffstat (limited to 'debian/puppet.postinst')
| -rw-r--r-- | debian/puppet.postinst | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/debian/puppet.postinst b/debian/puppet.postinst new file mode 100644 index 000000000..ac765ba85 --- /dev/null +++ b/debian/puppet.postinst @@ -0,0 +1,9 @@ +#!/bin/sh -e + +if [ "$1" = "configure" ]; then + if [ -d /etc/puppet/ssl ] && [ ! -e /var/lib/puppet/ssl ] && grep -q 'ssldir=/var/lib/puppet/ssl' /etc/puppet/puppet.conf; then + mv /etc/puppet/ssl /var/lib/puppet/ssl + fi +fi + +#DEBHELPER# |
