X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=input%2Fhowto%2Fpuppet-setup.mdwn;h=e15a7ba1f251550153854784896a05adb7fcd4f2;hb=bc8d9d0b9a1feda7b82d2643038b80c9a610b896;hp=1d2ec88e8dc64eeeba7c392e0992038bef0b07f6;hpb=83e272296d6de9197df35a610e997082bebb040b;p=mirror%2Fdsa-wiki.git diff --git a/input/howto/puppet-setup.mdwn b/input/howto/puppet-setup.mdwn index 1d2ec88..e15a7ba 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