Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ sudo gem install puppet-herald
Configuration
-----

###PostgreSQL
### PostgreSQL

PostgreSQL is recommended database backend for Herald. If you like to use PostgreSQL database to hold reports, you will need to configure it. By default, Herald will use a sqlite file that he tries to create in your home directory. Check out `puppet-herald --help` for description.

###Prerequisites for PostgreSQL
### Prerequisites for PostgreSQL

* `libpq-dev` system package
* `pg` gem package
Expand All @@ -57,7 +57,7 @@ sudo apt-get install libpq-dev
sudo gem install pg
```

###Create a database
### Create a database

Just create a database for Herald (this is just a sample for PostgreSQL):

Expand Down Expand Up @@ -153,7 +153,7 @@ Then edit your `puppet.conf` file and set `herald` as your report processor in s
reports = puppetdb,herald
```

###Testing a ruby code
### Testing ruby code

There are two types of tests distributed with the module. Unit tests and integration tests that uses sqlite as database backend in memory.

Expand Down Expand Up @@ -182,7 +182,7 @@ bundle exec rspec spec/unit/puppet-herald/version_spec.rb

You can also run all test with `test` target

###Testing a javascript code
### Testing a javascript code

To test javascript code, make sure you have:

Expand All @@ -207,7 +207,7 @@ bundle exec rake rucocop
bundle exec rake inch
```

###Contributing
### Contributing

Contributions are welcome!

Expand Down