Novas boxes vagrant publicadas
Publiquei novas boxes vagrant em meu repositório do atlas, são elas GitLab-CE, Puppetserver e PCP.
https://atlas.hashicorp.com/gutocarvalho
Essas boxes foram criadas utilizando Packer 0.12.2, Virtualbox 5.14.1, Vagrant 1.9.0 e CentOS 7.3.1611.
Box GitLab CE v1.0.0
Essa box é traz o GitLab CE instalado em um CentOS 7 para facilitar testes do GitLab.
https://atlas.hashicorp.com/gutocarvalho/boxes/centos7x64-gitlab-ce/versions/1.0.0
Versões:
- CentOS 7.3.1611
- Puppet Agent 1.9.0
- GitLab CE 8.16.4
Para instalar a box digite o comando abaixo no terminal
vagrant box add gutocarvalho/centos7x64-gitlab-ce
Crie um diretório para o projeto
mkdir gitlab-ce; cd gitlab-ce
Crie um arquivo Vagrantfile no diretorio com o conteúdo abaixo
# -*- mode: ruby -*-
# vi: set ft=ruby :
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.hostname = "gitlab.hacklab"
config.vm.box = "gutocarvalho/centos7x64-gitlab-ce"
config.vm.network "private_network", ip: "192.168.250.45"
config.vm.provider "virtualbox" do |virtualbox|
virtualbox.customize [ "modifyvm", :id, "--cpus", "2" ]
virtualbox.customize [ "modifyvm", :id, "--memory", "2048" ]
end
end
Suba a vm
vagrant up
Depois que a VM subir acesse o endereço e siga as instruções.
Info sobre o projeto
https://gitlab.com/gutocarvalho/packer-centos-gitlab-ce
Box PuppetServer v2.0.0
Essa box é traz o Puppet Server 2.7 instalado em um CentOS 7 para facilitar testes do Puppet e Puppetserver.
https://atlas.hashicorp.com/gutocarvalho/boxes/centos7x64-puppetserver/versions/2.0.0
Versões:
- CentOS 7.3.1611
- Puppet Server 2.7.2
- Puppet Agent 1.9.0
Para instalar a box digite o comando abaixo no terminal
vagrant box add gutocarvalho/centos7x64-puppetserver
Crie um diretório para o projeto
mkdir puppetserver; cd puppetserver
Crie um arquivo Vagrantfile no diretorio com o conteúdo abaixo
# -*- mode: ruby -*-
# vi: set ft=ruby :
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.hostname = "puppetserver.hacklab"
config.vm.box = "gutocarvalho/centos7x64-puppetserver"
config.vm.network "private_network", ip: "192.168.250.46"
config.vm.provider "virtualbox" do |virtualbox|
virtualbox.customize [ "modifyvm", :id, "--cpus", "2" ]
virtualbox.customize [ "modifyvm", :id, "--memory", "4096" ]
end
end
Info sobre o projeto
https://gitlab.com/gutocarvalho/packer-centos7-puppetserver
Box PCP v3.0.0
Essa box contém o projeto PCP que traz uma implementação completa do Puppet 4 com todos os serviços integrados.
https://atlas.hashicorp.com/gutocarvalho/boxes/centos7x64-pcp/versions/3.0.0
Versões:
- CentOS 7.3.1611
- Puppet Server 2.7.2
- Puppet Agent 1.9.0
- Mcollective 2.10.0
- Hiera 3.3.0
- Facter 3.6.0
- PuppetDB 4.2.4
- PostgreSQL 9.5.5
- Puppet Explorer 2.0.0
- Puppet Board 0.2.0
- ActiveMQ 5.14.0
- R10k 2.5.2
Para instalar a box digite o comando abaixo no terminal
vagrant box add gutocarvalho/centos7x64-pcp
Crie um diretório para o projeto
mkdir pcp; cd pcp
Crie um arquivo Vagrantfile no diretorio com o conteúdo abaixo
# -*- mode: ruby -*-
# vi: set ft=ruby :
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
if Vagrant.has_plugin?("vagrant-hosts")
config.vm.provision :hosts do |provisioner|
provisioner.add_localhost_hostnames = false
provisioner.autoconfigure = true
provisioner.sync_hosts = true
provisioner.add_host '192.168.250.35', ['puppet']
provisioner.add_host '192.168.250.35', ['puppetdb']
end
end
config.vm.box = "gutocarvalho/centos7x64-pcp"
# puppet server + puppet agent
config.vm.define "puppetserver" do |puppetserver|
puppetserver.vm.hostname = "puppet-pcpm.hacklab"
puppetserver.vm.network :private_network, ip: "192.168.250.35"
puppetserver.hostsupdater.aliases = ["puppetboard.hacklab", "puppetexplorer.hacklab"]
puppetserver.vm.provider "virtualbox" do |v|
v.customize [ "modifyvm", :id, "--cpus", "2" ]
v.customize [ "modifyvm", :id, "--memory", "6144" ]
v.customize [ "modifyvm", :id, "--name", "puppet-pcpm.hacklab" ]
end
end
end
Instale os seguintes plugins
vagrant plugin install vagrant-hosts vagrant plugin install vagrant-hostsupdater
Inicie o projeto
vagrant up
Acesse a vm
vagrant ssh
Info sobre o projeto
https://gitlab.com/gutocarvalho/packer-centos-pcp https://gitlab.com/puppet-br/pcp https://gitlab.com/puppet-br/pcp-controlrepo
Gostou do conteúdo?
Você também me encontra nessas redes!
Mastodon
PixelFed
Lemmy
WriteFreely
@gutocarvalho@bolha.blog @notamental@bolha.blog @poesias@bolha.blog @contos@bolha.blog
Bookwyrm
Peertube
Friendica
Quer saber mais sobre mim?
Visite meus sites!
E meus blogs:
- https://blogs.gutocarvalho.net
- https://blogs.gutocarvalho.net/falagutera
- https://blogs.gutocarvalho.net/infra
- https://blogs.gutocarvalho.net/opiniao
- https://blogs.gutocarvalho.net/contos
- https://blogs.gutocarvalho.net/poesias
- https://blogs.gutocarvalho.net/lives
- https://blogs.gutocarvalho.net/orixas
- https://blogs.gutocarvalho.net/archives
Conhece o Coletivo Bolha?
Então vem conhecer o bolha.io ou bolhaverso!
- fediverso
- mastodon, https://bolha.us
- pixelfed, https://bolha.photos
- lemmy, https://bolha.forum
- bookwyrnm, https://bolha.review
- writefreely, https://bolha.blog
- peertube, https://bolha.tube
- castopod, https://bolha.studio
- owncast, https://bolha.stream
- friendica, https://bolha.network
- chat
- mattermost, https://mattermost.bolha.chat
- zulip, https://zulip.bolha.chat
- vídeo
- jitsi, https://bolha.video
- jitsi, https://bolha.video
- frontends
- lingva, https://translate.bolha.tools
- libremdb, https://libremdb.bolha.tools
- translations
- libretranslate, https://libretranslate.bolha.tools
- editors
- hedgedoc, https://notes.bolha.tools
- draw.io, https://draw.bolha.tools
- excalidraw, https://excalidraw.bolha.tools
- pdf stirling, https://spdf.bolha.tools
- wisemaping, https://mindmap.bolha.tools
- mermaid, https://mermaid.bolha.tools
- cryptpad, https://cryptad.bolha.tools
- secrets sharing
- yopass, https://yopass.bolha.tools
- password pusher, https://pusher.bolha.tools
- pastbin
- yabin, https://yabin.bolha.tools
- terminal recorder
- ascinnema, https://ascinemma.bolha.tools
- anti paywall
- 13ft, https://open.bolha.tools
Nós temos muito mais para compartilhar contigo!
Quer apoiar nosso trabalho? Você pode!
- https://www.patreon.com/bolha
- https://apoia.se/bolha
- pix@bolha.us
Te vejo no mastodon da bolha.us!
[s]