Product SiteDocumentation Site

9.5. Customization

The Git module allows several things to be customized.

9.5.1. Customizing git_init_script

You can customize the /usr/local/bin/git_init_script by supplying another file in the domain specific or server specific tree. The File["/usr/local/bin/git_init_script"] resource polls the following sources, and uses the first hit it encounters:
  1. puppet://$server/private/$environment/git/git_init_script,
  2. puppet://$server/files/git/git_init_script
  3. puppet://$server/git/git_init_script
By default, the bash script that comes with the module is used. Customizing the git_init_script bash script requires you to supply the script at either the first (domain-specific) or the second (server specific) location.