diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2018-01-30 23:49:22 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2018-01-30 23:49:22 +0100 |
commit | 56c0d1af05541381b4a5e8dfd78041fc514b16e8 (patch) | |
tree | df215b636d197095c40ef5dfc8739c91e4d008bf | |
parent | 65445272a3430e92d3ab09a1022f07d7098dfe7b (diff) | |
download | itzks-install-script-56c0d1af05541381b4a5e8dfd78041fc514b16e8.tar.gz itzks-install-script-56c0d1af05541381b4a5e8dfd78041fc514b16e8.tar.bz2 itzks-install-script-56c0d1af05541381b4a5e8dfd78041fc514b16e8.zip |
Fix execution order during puppet agent initialization.
-rw-r--r-- | install-itzks-workstation | 12 |
1 files changed, 7 insertions, 5 deletions
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 <myhost>.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 |