-
-
Notifications
You must be signed in to change notification settings - Fork 243
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #42 from johntdyer/master
Update for 0.4.0
- Loading branch information
Showing
5 changed files
with
37 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
# 0.4.2 | ||
Bumps default version of Consul to 0.4.0 | ||
|
||
# 0.4.1 | ||
Bumps default version of Consul to 0.3.1. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -234,6 +234,31 @@ Include `consul::ui` in your node's `run_list`: | |
} | ||
``` | ||
|
||
### LWRP | ||
|
||
#### Adding service without check | ||
consul_service "voice1" do | ||
port 5060 | ||
tags: ["_sip._udp"] | ||
end | ||
|
||
#### Adding service with check | ||
|
||
consul_service "voice1" do | ||
port 5060 | ||
tags: ["_sip._udp"] | ||
check ( | ||
interval: '10s', | ||
script: 'echo ok' | ||
) | ||
end | ||
|
||
#### Removing service | ||
|
||
consul_service "voice1" do | ||
action :delete | ||
end | ||
|
||
## Authors | ||
|
||
Created and maintained by [John Bellone][3] [@johnbellone][2] (<[email protected]>) and a growing community of [contributors][4]. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters