The example is puppet server and agent both in docker
- build docker for puppet master
$ cd puppet-master-docker/
$ make install
- verify puppetserver running
$ make status
or
$ docker exec -it puppet-master netstat -tunlp
- install apache2
# site.pp
node default {
package { 'apache2':
ensure => present,
}
}
$ make deploy
or
$ docker exec -it puppet-master puppet agent -t
$ docker pull shazi7804/puppet-master