From 56c0d1af05541381b4a5e8dfd78041fc514b16e8 Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Tue, 30 Jan 2018 23:49:22 +0100 Subject: Fix execution order during puppet agent initialization. --- install-itzks-workstation | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'install-itzks-workstation') diff --git a/install-itzks-workstation b/install-itzks-workstation index fcfc1b4..9f06d9f 100644 --- a/install-itzks-workstation +++ b/install-itzks-workstation @@ -192,15 +192,17 @@ invoke-rc.d puppet restart # Install and enable puppet-agent on client echo '! Puppet-Agent wird installiert... ' apt-get install -y --force-yes puppet -puppet agent --test --waitforcert 7200 -puppet agent --enable -read -p '''Nun mit ssh auf den tjener wechseln und dort + +echo 'Nun mit ssh auf den tjener wechseln und dort mit puppet cert --list die am Master angemeldeten Clients auflisten. Anschließend mit puppet cert --sign .intern -den Puppet-Agent des Clients authorisieren. [ENTER] ''' -# ssh tjener +den Puppet-Agent des Clients authorisieren.' + +puppet agent --test --waitforcert 7200 +puppet agent --enable + echo '''! FERTIG Die Installation - des Basissystems mit ITZKS-Anpassungen -- cgit v1.2.3