Puppet How To
2017-02-14. Category & Tags: Puppet, Ansible, Automation
Ref: DigitalOcean tutorial of puppet
Ansible is very easy to use, just need master, no need to install on slaves. Instead, SSH (usually with pub keys) are used in Ansible.
Puppet is more complex, Ansible can be used to assist the installation.
Puppet requires firewall to open port nr 8140.
ansibleall 'apt-get install -y puppet' # for clients (nodes) sudo apt-get install -y puppetmaster # On server (master)
ansibleall 'echo "192.168.1.194 [email protected]" >> /etc/hosts'
- change “example.com” to the actual domain that we can control.