-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathmetadata.rb
44 lines (32 loc) · 1.28 KB
/
metadata.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name "osops-utils"
maintainer "Rackspace US, Inc"
license "Apache 2.0"
description "Installs and configures osops-utils."
long_description IO.read(File.join(File.dirname(__FILE__), "README.md"))
version IO.read(File.join(File.dirname(__FILE__), 'VERSION'))
%w{ amazon centos debian fedora oracle redhat scientific ubuntu }.each do |os|
supports os
end
%w{ apt sysctl yum }.each do |dep|
depends dep
end
recipe "osops-utils::default",
"Installs rabbitmq related tcp settings in sysctl"
recipe "osops-utils::packages",
"Installs various apt/yum repos"
recipe "osops-utils::autoetchosts",
"Installs host file entries for all nodes in current chef environment"
attribute "osops/apply_patches",
:description => "Enable/disable the application of patches",
:default => "false"
attribute "osops/do_package_upgrades",
:description => "Enable/disable automatic package upgrades",
:default => "false"
attribute "osops/yum_repos",
:description => "Hash of Yum repos to configure"
attribute "osops/yum_testing_repos",
:description => "Hash of Yum STAGING repos to configure"
attribute "osops/apt_repos",
:description => "Hash of Apt repos to configure"
attribute "osops/apt_testing_repos",
:description => "Hash of Apt STAGING repos to configure"