This website requires JavaScript.
Explore
Help
Register
Sign in
opuppet
/
module-postgresql
Watch
5
Star
0
Fork
You've already forked module-postgresql
0
Code
Issues
Pull requests
Releases
Wiki
Activity
50fcd43883
module-postgresql
/
.gitignore
7 lines
90 B
Text
Raw
Normal View
History
Unescape
Escape
Ignore .vagrant
2012-05-02 17:35:42 +02:00
.vagrant
Add unit tests and travis-ci support This patch includes some very basic and initial unit testing using rspec-puppet and for the case of facts, just normal rspec. I've taken a very light approach here as rspec-puppet can be quite combinatorial when one gets carried away. For now I've just added basic compile failure detection effectively for classes and defined resources. As we continue to work on the code and find regressions this work can be expanded. For facts and functions I've also taken a basic approach for now. One little thing I did change, was the strange string that the fact returns when the default version is undefined. Instead of an error message I've just returned the string 'unknown' which is more in line with other facts I've seen in the wild, and to be quite honest 'unknown' is fairly self-explantory. Since a fact isn't an error reporting message this seemed more appropriate, and looked nicer in the rspec test. As far as travis-ci support, I've added the same configuration that @jmmcune came up with for stdlib which is pretty light and reasonable standard now we propogated that to 4 or so other modules in the puppetlabs/ namespace. It should work out of the box. Signed-off-by: Ken Barber <ken@bob.sh>
2013-02-03 18:25:53 +01:00
# This is a library, so don't pin
Gemfile.lock
Provide new defined resources for managing pg_hba.conf This patch provides a more advanced way of managing pg_hba rules, by providing a defined resource to manage a pg_hba file, and a defined resource for managing rules within such a file (pg_hba_rule). These new resources are wrappers around ripinaar-concat, and utilise file assemblies instead of a template to compose the pg_hba.conf file. I've provided a function that interprets the old ip4|6acl arrays and converts them to this new format for backwards compatibility as well. I slightly reformatted our documentation to allow for better documentation of defined resources in 'Usage' as well, and provided examples of how to use this new resource. This hopefully should go a long way to solving the PR's related to lack of full functionality for pg_hba.conf. Signed-off-by: Ken Barber <ken@bob.sh>
2013-02-10 01:36:12 +01:00
spec/fixtures
Fix module file, remove extra README.md and fix some docs The module file had the wrong revision in it for starters. And there was some missing items from the .gitignore. The extra README.md in spec/system was getting extracted as the main README on the forge so I remove it, moving the content that was not duplicated already into README.md. I took the opportunity also to finish the documentation in the Reference section of the README to make sure all classes and defined resources are documented. Signed-off-by: Ken Barber <ken@bob.sh>
2013-02-20 13:45:21 +01:00
pkg/
Fix the non-defaults test failing to use UTF8 The non-default tests try to set UTF8 when UTF8 is not installed on the en_US machine. These are non-default settings anyway, but one should presume the correct locale should be set before this is attempted, this patch includes that step. In an ideal world we would use a locale module to do this. This patch also fixes an Ubuntu 10.04 issue where you need to be absolute about the locale and encoding as well. Signed-off-by: Ken Barber <ken@bob.sh>
2013-06-14 19:43:09 +02:00
.rspec_system/
Reference in a new issue
Copy permalink