Puppet scripts to manage servers
Puppet HTML Ruby ApacheConf Shell Pascal
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
fog
manifests
modules
vagrant
.gitignore
.gitkeep
README.md
bootstrap.sh
puppet-apply.sh

README.md

Puppet library to manage servers

How to install puppet on a server?

To install puppet, you can use automatic installer. Ssh to the server and run this command:

curl -Lo- https://raw.github.com/fragallia/puppet/master/bootstrap.sh | bash

How to run puppet script?

To run puppet script run this command:

curl -Lo- https://raw.github.com/fragallia/puppet/master/puppet-apply.sh | bash

Script will clone the repository and run puppet apply on it.

Proplem solving

Puppet

Warning: Could not retreive fact fqdn

Change your /etc/hosts file:

127.0.1.1       some-host-name

to

127.0.1.1       some-host-name.dev.local some-host-name

Testing

Puppet & Vagrant

To run puppet script do this:

sudo puppet apply /vagrant/puppet/manifests/site.pp --modulepath=/vagrant/puppet/modules/ -v