Puppet-сервер – 192.168.1.42-puppet-server.kamaok.org.ua — Centos7 Puppet-клиент — 192.168.1.43-puppet-client.kamaok.org.ua — Centos7 Настройка временной зоны и времени на сервере и на клиенте
1 |
# timedatectl set-timezone Europe/Kiev |
1 |
# yum install ntpdate |
1 |
# ntpdate 0.ua.pool.ntp.org |
1 |
# yum install ntp |
1 |
# systemctl enable ntpd |
Установка имени хоста На сервере
1 |
# nano /etc/hosts |
1 2 |
127.0.0.1 localhost puppet-server 192.168.1.42 puppet-server.kamaok.org.ua puppet-server |
1 |
# hostname puppet-server.kamaok.org.ua |
На клиенте
1 |
# nano /etc/hosts |
1 2 3 |
127.0.0.1 localhost puppet-client 192.168.1.43 puppet-client.kamaok.org.ua puppet-client 192.168.1.42 puppet-server.kamaok.org.ua puppet-server |
1 |
# hostname puppet-client.kamaok.org.ua |
Установка Puppet-сервера Установка Puppet-репозитария
1 |
# rpm -ihv http://yum.puppetlabs.com/puppetlabs-release-el-7.noarch.rpm |
1 |
# yum repolist enabled | grep puppet |
1 2 |
puppetlabs-deps/x86_64 Puppet Labs Dependencies El 7 - x86_64 17 puppetlabs-products/x86_64 Puppet Labs Products El 7 - x86_64 225 |
1 |
# yum install puppet-server |
1 |
# puppet --version |
1 |
3.8.7 |
1 |
# rpm -qa | grep puppet |
1 2 3 |
puppetlabs-release-22.0-2.noarch puppet-server-3.8.7-1.el7.noarch puppet-3.8.7-1.el7.noarch |
Установка Puppet-клиента […]