This repository has been archived by the owner on Aug 22, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
root
committed
Aug 24, 2013
1 parent
5e9f313
commit 7f5c8ef
Showing
24 changed files
with
2,106 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
metadata.json | ||
.vagrant | ||
Berksfile.lock | ||
*~ | ||
*# | ||
.#* | ||
\#*# | ||
.*.sw[a-z] | ||
*.un~ | ||
/cookbooks | ||
|
||
# Bundler | ||
Gemfile.lock | ||
bin/* | ||
.bundle/* | ||
.kitchen/ | ||
.kitchen.local.yml |
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 |
---|---|---|
@@ -0,0 +1,53 @@ | ||
--- | ||
driver_plugin: vagrant | ||
platforms: | ||
- name: ubuntu-12.10 | ||
driver_config: | ||
box: canonical-ubuntu-12.10 | ||
box_url: http://cloud-images.ubuntu.com/vagrant/quantal/current/quantal-server-cloudimg-amd64-vagrant-disk1.box | ||
require_chef_omnibus: 11.4.4 | ||
run_list: ["recipe[apt]"] | ||
- name: ubuntu-12.04 | ||
driver_config: | ||
box: opscode-ubuntu-12.04 | ||
box_url: http://cloud-images.ubuntu.com/vagrant/precise/current/precise-server-cloudimg-amd64-vagrant-disk1.box | ||
require_chef_omnibus: 11.4.4 | ||
run_list: ["recipe[apt]"] | ||
- name: ubuntu-10.04 | ||
driver_config: | ||
box: opscode-ubuntu-10.04 | ||
box_url: http://opscode-vm.s3.amazonaws.com/vagrant/opscode_ubuntu-10.04_chef-11.2.0.box | ||
require_chef_omnibus: 11.4.4 | ||
run_list: ["recipe[apt]"] | ||
- name: debian-6 | ||
driver_config: | ||
box: opscode-debian-6 | ||
box_url: http://opscode-vm.s3.amazonaws.com/vagrant/opscode_debian-6.0.7_chef-11.2.0.box | ||
require_chef_omnibus: 11.4.4 | ||
run_list: ["recipe[apt]"] | ||
- name: centos-5.8 | ||
driver_config: | ||
box: opscode-centos-5.8 | ||
box_url: http://opscode-vm.s3.amazonaws.com/vagrant/opscode_centos-5.8_chef-11.2.0.box | ||
require_chef_omnibus: 11.4.4 | ||
- name: centos-6.3 | ||
driver_config: | ||
box: opscode-centos-6.3 | ||
box_url: http://opscode-vm.s3.amazonaws.com/vagrant/opscode_centos-6.3_chef-11.2.0.box | ||
require_chef_omnibus: 11.4.4 | ||
|
||
suites: | ||
- name: default | ||
run_list: | ||
- recipe[minitest-handler] | ||
- recipe[runit] | ||
- recipe[runit_test] | ||
- recipe[runit-other_test] | ||
attributes: {} | ||
- name: service | ||
run_list: | ||
- recipe[minitest-handler] | ||
- recipe[runit] | ||
- recipe[runit_test::service] | ||
- recipe[runit-other_test] | ||
attributes: {} |
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
site :opscode | ||
|
||
metadata | ||
|
||
group :integration do | ||
cookbook "apt" | ||
cookbook "yum" | ||
cookbook "runit_test", :path => "./test/cookbooks/runit_test" | ||
cookbook "runit-other_test", :path => "./test/cookbooks/runit-other_test" | ||
# Future, when/if minitest support for this cookbook is added | ||
cookbook "minitest-handler" | ||
end |
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 |
---|---|---|
@@ -0,0 +1,106 @@ | ||
## v1.1.6: | ||
|
||
### Bug | ||
|
||
- [COOK-2353]: Runit does not update run template if the service is | ||
already enabled | ||
- [COOK-3013]: Runit install fails on rhel if converge is only | ||
partially successful | ||
|
||
## v1.1.4: | ||
|
||
### Bug | ||
|
||
- [COOK-2549]: cannot enable_service (lwrp) on Gentoo | ||
- [COOK-2567]: Runit doesn't start at boot in Gentoo | ||
- [COOK-2629]: runit tests have ruby 1.9 method chaning syntax | ||
- [COOK-2867]: On debian, runit recipe will follow symlinks from | ||
/etc/init.d, overwrite /usr/bin/sv | ||
|
||
## v1.1.2: | ||
|
||
* [COOK-2477] - runit cookbook should enable EPEL repo for CentOS 5 | ||
* [COOK-2545] - Runit cookbook fails on Amazon Linux | ||
* [COOK-2322] - runit init template is broken on debian | ||
|
||
## v1.1.0: | ||
|
||
* [COOK-2353] - Runit does not update run template if the service is | ||
already enabled | ||
* [COOK-2497] - add :nothing to allowed actions | ||
|
||
## v1.0.6: | ||
|
||
* [COOK-2404] - allow sending sigquit | ||
* [COOK-2431] - gentoo - it should create the runit-start template | ||
before calling it | ||
|
||
## v1.0.4: | ||
|
||
* [COOK-2351] - add `run_template_name` to allow alternate run script | ||
template | ||
|
||
## v1.0.2: | ||
|
||
* [COOK-2299] - runit_service resource does not properly start a | ||
non-running service | ||
|
||
## v1.0.0: | ||
|
||
* [COOK-2254] - (formerly CHEF-154) Convert `runit_service` definition | ||
to a service resource named `runit_service`. | ||
|
||
This version has some backwards incompatible changes (hence the major | ||
version bump). It is recommended that users pin the cookbook to the | ||
previous version where it is a dependency until this version has been | ||
tested in a non-production environment (use version 0.16.2): | ||
|
||
depends "runit", "<= 0.16.2" | ||
|
||
If you use Chef environments, pin the version in the appropriate | ||
environment(s). | ||
|
||
**Changes of note** | ||
|
||
1. The "runit" recipe must be included before the runit_service resource | ||
can be used. | ||
2. The `runit_service` definition created a separate `service` | ||
resource for notification purposes. This is still available, but the | ||
only actions that can be notified are `:start`, `:stop`, and `:restart`. | ||
3. The `:enable` action blocks waiting for supervise/ok after the | ||
service symlink is created. | ||
4. User-controlled services should be created per the runit | ||
documentation; see README.md for an example. | ||
5. Some parameters in the definition have changed names in the | ||
resource. See below. | ||
|
||
The following parameters in the definition are renamed in the resource | ||
to clarify their intent. | ||
|
||
* directory -> sv_dir | ||
* active_directory -> service_dir | ||
* template_name -> use service_name (name attribute) | ||
* nolog -> set "log" to false | ||
* start_command -> unused (was previously in the "service" resource) | ||
* stop_command -> unused (was previously in the "service" resource) | ||
* restart_command -> unused (was previously in the "service" resource) | ||
|
||
## v0.16.2: | ||
|
||
* [COOK-1576] - Do not symlink /etc/init.d/servicename to /usr/bin/sv | ||
on debian | ||
* [COOK-1960] - default_logger still looks for sv-service-log-run | ||
template | ||
* [COOK-2035] - runit README change | ||
|
||
## v0.16.0: | ||
|
||
* [COOK-794] default logger and `no_log` for `runit_service` | ||
definition | ||
* [COOK-1165] - restart functionality does not work right on Gentoo | ||
due to the wrong directory in the attributes | ||
* [COOK-1440] - Delegate service control to normal user | ||
|
||
## v0.15.0: | ||
|
||
* [COOK-1008] - Added parameters for names of different templates in runit |
Oops, something went wrong.