From 2283d65017b9753ff45c152ea493fd10827be12a Mon Sep 17 00:00:00 2001 From: Stephen Gran Date: Sat, 14 Apr 2012 19:50:42 +0200 Subject: [PATCH] make this fail if domain !d.o Signed-off-by: Stephen Gran --- input/howto/puppet-setup.mdwn | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/input/howto/puppet-setup.mdwn b/input/howto/puppet-setup.mdwn index 1d2ec88..777525d 100644 --- a/input/howto/puppet-setup.mdwn +++ b/input/howto/puppet-setup.mdwn @@ -12,13 +12,13 @@ adjusted. : __handel__ && puppetd -t --environment=production - : ::client:: && apt-get update && + : ::client:: me=$(hostname -f) && [ "$me" != "${me%debian.org}" ] && apt-get update && apt-get install --no-install-recommends puppet libaugeas-ruby1.8 augeas-lenses lsb-release && /etc/init.d/puppet stop && (puppetd -t || true ) && cd /var/lib/puppet/ssl/certificate_requests && echo sha256sum output: && echo && - sha256sum $(hostname -f).pem && + sha256sum $me.pem && echo && echo && cd / This will not overwrite anything yet, since handel has not signed the -- 2.20.1