From 351ac75e9f5498ca17b237dafc04a8232cdf3cde Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Wed, 4 Oct 2006 22:14:53 +0000 Subject: fix mismerge --- rc.d/rc.sysinit | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'rc.d') diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit index 453b11fd..d9d84047 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -591,14 +591,15 @@ if [ "$READONLY" = "yes" -o "$TEMPORARY_STATE" = "yes" ]; then # state on an NFS server. mount -t nfs $CLIENTSTATE/$HOSTNAME $STATE_MOUNT -o rw,nolock - if [ -d $STATE_MOUNT/etc ]; then - touch $STATE_MOUNT/files - mount -t nfs $CLIENTSTATE/files $STATE_MOUNT/files -o rw,nolock - fi - fi if [ -d $STATE_MOUNT/etc ]; then + # Copy the puppet CA's cert from the r/o image into the + # state directory so that we can create a bind mount on + # the ssl directory for storing the client cert. I'd really + # rather have a unionfs to deal with this stuff + cp --parents -f -p /var/lib/puppet/ssl/certs/ca.pem $STATE_MOUNT 2>/dev/null + # In the future this will be handled by puppet for i in $(grep -v "^#" $STATE_MOUNT/files); do if [ -e $i ]; then -- cgit v1.2.1