Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/attachmentgenie/vagrant-puppetmaster
A simple vagrant setup exposing all permutations of puppetmaster roles
https://github.com/attachmentgenie/vagrant-puppetmaster
bolt foreman postgresql puppet puppetdb puppetmaster vagrant
Last synced: 4 months ago
JSON representation
A simple vagrant setup exposing all permutations of puppetmaster roles
- Host: GitHub
- URL: https://github.com/attachmentgenie/vagrant-puppetmaster
- Owner: attachmentgenie
- Created: 2015-04-10T15:02:49.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2023-03-28T21:58:37.000Z (almost 2 years ago)
- Last Synced: 2024-10-09T10:39:58.650Z (4 months ago)
- Topics: bolt, foreman, postgresql, puppet, puppetdb, puppetmaster, vagrant
- Language: Ruby
- Homepage:
- Size: 189 KB
- Stars: 20
- Watchers: 2
- Forks: 13
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# vagrant-puppetserver
A vagrant setup that creates puppetservers
## Requirements
Virtualbox => https://www.virtualbox.org
Vagrant => http://www.vagrantup.com
vagrant-hostmanager => vagrant plugin install vagrant-hostmanager
vagrant-puppet-install => vagrant plugin install vagrant-puppet-install
vagrant-cachier (optional) => vagrant plugin install vagrant-cachier
## Preparationgit submodule update --init
bundle install
## Setupvagrant up
## Inspec tests
bundle exec rake
bundle exec rake inspec[centos7]## TLDR
### (G)UI interfaces
## Environments### XXS
2 nodes => puppetserver (puppet + puppetserver) + node (puppet)cd vagrant/xxs
vagrant up### XS
2 nodes => puppetserver (puppet + puppetserver + postgresql + puppetdb + bolt) + node (puppet)cd vagrant/xs
vagrant up
puppetdb => http://puppetserver.xs.vagrant:8080### S
2 nodes => puppetserver (puppet + puppetserver + postgresql + puppetdb + puppetboard + bolt) + node (puppet)cd vagrant/s
vagrant up
puppetboard => http://puppetserver.s.vagrant:8088
puppetdb => http://puppetserver.s.vagrant:8080### M
2 nodes => puppetserver (puppet + puppetserver + postgresql + puppetdb + foreman + bolt) + node (puppet)cd vagrant/s
vagrant up
foreman => https://puppetserver.m.vagrant
username: admin
passwd : secret
puppetdb => http://puppetserver.m.vagrant:8080### L
3 nodes => puppetserver (puppet + puppetserver + postgresql + puppetdb + foreman + bolt) + compile (puppet + puppetserver) + node (puppet)cd vagrant/l
vagrant up
foreman => https://puppetserver.l.vagrant
username: admin
passwd : secret
puppetdb => http://puppetserver.l.vagrant:8080
### XL
5 nodes => puppetserver (puppet + puppetserver + bolt) + puppetdb (puppet + postgresql + puppetdb) + foreman (puppet + postgresql + foreman) + compile (puppet + puppetserver) + node (puppet)
cd vagrant/xl
vagrant up puppetserver puppetdb foreman compile
uncomment the additional section in xl/hieradata/{environment/xl.yaml,node/{puppetserver,compile}.yaml}
comment the additional foreman section in xl/hieradata/environment/xl.yaml
vagrant provision puppetserver puppetdb foreman compile
vagrant up node
foreman => https://foreman.xl.vagrant
username: admin
passwd : secret
puppetdb => http://puppetdb.xl.vagrant:8080
### XXL
6 nodes => puppetserver (puppet + puppetserver + bolt) + db (puppet + postgresql) + puppetdb (puppet + puppetdb) + foreman (puppet + foreman) + compile (puppet + puppetserver) + node (puppet)cd vagrant/xxl
comment the additional db section in xxl/hieradata/node/foreman.yaml}
vagrant up puppetserver db puppetdb foreman compile
uncomment the additional section in xxl/hieradata/{environment/xxl.yaml,node/{puppetserver,compile}.yaml}
comment the additional foreman section in xl/hieradata/environment/xl.yaml
vagrant provision puppetserver db puppetdb foreman compile
vagrant up node
foreman => https://foreman.xxl.vagrant
username: admin
passwd : secret
puppetdb => http://puppetdb.xxl.vagrant:8080