Thursday, August 17

Tag: vagrant

Automating Barman with Puppet: it2ndq/barman (part three)

Automating Barman with Puppet: it2ndq/barman (part three)

Francesco's PlanetPostgreSQL
In the second part of the Automating Barman with Puppet series we configured, via Puppet, two virtual machines: a PostgreSQL server and a Barman server to back it up. However, human intervention was required to perform the SSH key exchange and most of the manifest was written to allow the servers to access each other. In this third and final part of the series, we will look at how to configure a third VM that will act as the Puppet Master and use it to simplify the configuration of PostgreSQL and Barman.  (more…)
Automating Barman with Puppet: <code>it2ndq/barman</code> (part two)

Automating Barman with Puppet: it2ndq/barman (part two)

Barman, Francesco's PlanetPostgreSQL, PostgreSQL
In the first part of this article we configured Vagrant to execute two Ubuntu 14.04 Trusty Tahr virtual machines, respectively called pg and backup. In this second part we will look at how to use Puppet to set up and configure a PostgreSQL server on pg and back it up via Barman from the backup box. Puppet: configuration After defining the machines as per the previous article, we need to specify the required Puppet modules that librarian-puppet will manage for us. Two modules are required: puppetlabs/postgresql (https://github.com/puppetlabs/puppetlabs-postgresql/) to install PostgreSQL on the pg VM it2ndq/barman (https://github.com/2ndquadrant-it/puppet-barman) to install Barman on backup Both modules will be installed from Puppet Forge. For the puppetlabs/postgresql (more…)
Automating Barman with Puppet: it2ndq/barman (part one)

Automating Barman with Puppet: it2ndq/barman (part one)

Barman, Francesco's PlanetPostgreSQL, PostgreSQL
This is not the first time that 2ndQuadrant has looked at Puppet. Gabriele Bartolini has already written an article in two parts on how to rapidly configure a PostgreSQL server through Puppet and Vagrant, accompanied by the release of the code used in the example on GitHub (https://github.com/2ndquadrant-it/vagrant-puppet-postgresql). (more…)
Postgres and devops: testing 9.3 with Vagrant and Puppet – part one

Postgres and devops: testing 9.3 with Vagrant and Puppet – part one

Gabriele's PlanetPostgreSQL
My top #1 open source tool that I have discovered in the last year is definitely Vagrant. Vagrant is a software that helps you build and configure virtual environments for development and testing purposes. Vagrant relies on virtual machine providers such as VirtualBox, VMWare and AWS, as well as provisioning tools such as Chef and Puppet, allowing developers to clearly define their boxes using text files (which then can be easily versioned). (more…)