vagrant works
This commit is contained in:
60
ops/cookbooks/vendor/postgresql/README.md
vendored
60
ops/cookbooks/vendor/postgresql/README.md
vendored
@ -2,10 +2,16 @@
|
||||
|
||||
[](https://supermarket.chef.io/cookbooks/postgresql)
|
||||
[](https://circleci.com/gh/sous-chefs/postgresql)
|
||||
[](https://pullreminders.com?ref=badge)
|
||||
[](#backers)
|
||||
[](#sponsors)
|
||||
[](https://opensource.org/licenses/Apache-2.0)
|
||||
|
||||
Installs and configures PostgreSQL as a client or a server.
|
||||
|
||||
## Maintainers
|
||||
|
||||
This cookbook is maintained by the Sous Chefs. The Sous Chefs are a community of Chef cookbook maintainers working together to maintain important cookbooks. If you’d like to know more please visit [sous-chefs.org](https://sous-chefs.org/) or come chat with us on the Chef Community Slack in [#sous-chefs](https://chefcommunity.slack.com/messages/C2V7B88SF).
|
||||
|
||||
## Upgrading
|
||||
|
||||
If you are wondering where all the recipes went in v7.0+, or how on earth I use this new cookbook please see upgrading.md for a full description.
|
||||
@ -18,7 +24,6 @@ If you are wondering where all the recipes went in v7.0+, or how on earth I use
|
||||
- Debian 7+
|
||||
- Ubuntu 14.04+
|
||||
- Red Hat/CentOS/Scientific 6+
|
||||
- Fedora
|
||||
|
||||
### PostgreSQL version
|
||||
|
||||
@ -51,7 +56,7 @@ Name | Types | Description
|
||||
`hba_file` | String | | `#{conf_dir}/main/pg_hba.conf` | no
|
||||
`ident_file` | String | | `#{conf_dir}/main/pg_ident.conf` | no
|
||||
`external_pid_file` | String | | `/var/run/postgresql/#{version}-main.pid` | no
|
||||
`password` | String, nil | Pass in a password, or have the cookbook generate one for you | <random string> | no
|
||||
`password` | String, nil | Pass in a password, or have the cookbook generate one for you | random string | no
|
||||
|
||||
#### Examples
|
||||
|
||||
@ -211,14 +216,14 @@ end
|
||||
|
||||
This generates the following line in the `pg_hba.conf`:
|
||||
|
||||
```
|
||||
```config
|
||||
# Local postgres superuser access
|
||||
local all postgres ident
|
||||
```
|
||||
|
||||
**Note**: The template by default generates a local access for Unix domain sockets only to support running the SQL execute resources. In Postgres version 9.1 and higher, the method is 'peer' instead of 'ident' which is identical. It looks like this:
|
||||
|
||||
```
|
||||
```config
|
||||
# "local" is for Unix domain socket connections only
|
||||
local all all peer
|
||||
```
|
||||
@ -257,7 +262,7 @@ end
|
||||
|
||||
This generates the following line in the `pg_ident.conf`:
|
||||
|
||||
```
|
||||
```config
|
||||
# MAPNAME SYSTEM-USERNAME PG-USERNAME
|
||||
|
||||
# John Mapping
|
||||
@ -279,7 +284,7 @@ end
|
||||
|
||||
This generates the following line in the `pg_hba.conf`:
|
||||
|
||||
```
|
||||
```config
|
||||
# Local postgres superuser access
|
||||
host all foo 127.0.0.1/32 ident
|
||||
```
|
||||
@ -400,34 +405,27 @@ postgresql_server_conf 'PostgreSQL Config' do
|
||||
end
|
||||
```
|
||||
|
||||
## Contributing
|
||||
## Contributors
|
||||
|
||||
Please refer to each project's style guidelines and guidelines for submitting patches and additions. In general, we follow the "fork-and-pull" Git workflow.
|
||||
This project exists thanks to all the people who [contribute.](https://opencollective.com/sous-chefs/contributors.svg?width=890&button=false)
|
||||
|
||||
1. **Fork** the repo on GitHub
|
||||
2. **Clone** the project to your own machine
|
||||
3. **Commit** changes to your own branch
|
||||
4. **Push** your work back up to your fork
|
||||
5. Submit a **Pull request** so that we can review your changes
|
||||
### Backers
|
||||
|
||||
NOTE: Be sure to merge the latest from "upstream" before making a pull request!
|
||||
Thank you to all our backers!
|
||||
|
||||
[Contribution informations for this project](CONTRIBUTING.md)
|
||||

|
||||
|
||||
## License
|
||||
### Sponsors
|
||||
|
||||
Copyright 2010-2017, Chef Software, Inc.
|
||||
Support this project by becoming a sponsor. Your logo will show up here with a link to your website.
|
||||
|
||||
```text
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
```
|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||

|
||||
|
Reference in New Issue
Block a user