Playground to learn Puppet
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
01-resources
02-coding-standards
03-modules
04-hiera
05-custom-facts
lib/puppet/parser/functions
.gitignore
.gitmodules
README.md
Vagrantfile
centos.md
debian.md
fedora.md
freebsd.md
puppet-avatar.png
puppet-avatar.xcf
ubuntu.md

README.md

Puppet by examples

Puppet Documentation - References

Puppet Documentation - Learning

Testing

http://docs.puppetlabs.com/guides/tests_smoke.html

Commands

Applying manifests that don't require root's privileges:

puppet apply filename.pp

Applying manifests that require root's privileges:

sudo puppet apply git.pp

Build in manual:

puppet describe --list
puppet describe user

List resources:

puppet resource user
puppet resource user root
puppet resource file /etc

##Boxes

Updating Puppet

sudo wget https://apt.puppetlabs.com/puppetlabs-release-precise.deb
sudo dpkg -i puppetlabs-release-precise.deb
sudo apt-get update -y
sudo apt-get install puppet -y

Debugging

puppet --debug --verbose test.pp puppet --parseonly test.pp

Functions

https://docs.puppetlabs.com/references/latest/function.html https://forge.puppetlabs.com/puppetlabs/stdlib