This cookbook installs the pg_repack postgres extension from github
- paths
- Postgres already being installed in
$PATH
Add the pg_repack::default
recipe to a node.
pg_repack 'install for postgres 9.4' do
postgres_bin_dir '/opt/local/postgres-9.4.5/bin'
end
If postgres_bin_dir is not set, then a pg_config
binary existing in the PATH will be used
to find it. PATH is defined by node['paths']['bin_path']
.
- Fork the repository on Github
- Create a named feature branch (like
add_component_x
) - Write your change
- Write tests for your change (if applicable)
- Run the tests, ensuring they all pass
- Submit a Pull Request using Github