Skip to content
Snippets Groups Projects
Paul Wise's avatar
Paul Wise authored
The substitution was using the wrong match group.

Fixes: commit eef0d122
3ce41982

dsa-puppet

Reference Documentation

HOWTOs

how to deploy a development environment

apt-get install facter   # >= 1.6.2
apt-get install puppet   # >= 2.7.6
apt-get install pcregrep
apt-get install puppet-lint
git clone ssh://username@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git /path/to/local/repo
make -C /path/to/local/repo git_hooks  # CRITICAL

how to validate manifest files

puppet parser validate </path/to/manifest/file>
puppet-lint --no-2sp_soft_tabs-check --no-hard_tabs-check --no-80chars-check </path/to/manifest/file>

how to test changes

Once you commit your changes and push them to the primary repository, you can test your changes on a Debian machine using:

puppet agent --test --noop

Note, however, that once the changes are pushed, the changes are live to all Debian machines and it is only a matter of time for the agent to run.

how to configure vim

For Vim users, tools/vim contains some files that make life easier. You may install them into your ~/.vim using:

make -C /path/to/local/repo vim_helpers

Alternately, use gmarik/vundle or tpope/pathogen to install rodjek/vim-puppet.