poolparty 1.4.0 → 1.4.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION.yml +1 -1
- data/bin/cloud-contract +1 -0
- data/bin/cloud-expand +1 -2
- data/bin/cloud-reboot +0 -2
- data/bin/cloud-rsync +28 -0
- data/bin/cloud-show +2 -1
- data/examples/chef_cloud.rb +4 -9
- data/examples/simple.rb +1 -1
- data/lib/cloud_providers/cloud_provider.rb +5 -15
- data/lib/cloud_providers/connections.rb +1 -9
- data/lib/cloud_providers/ec2/ec2.rb +47 -39
- data/lib/cloud_providers/ec2/ec2_instance.rb +5 -1
- data/lib/cloud_providers/ec2/helpers/authorize.rb +2 -2
- data/lib/core/object.rb +23 -1
- data/lib/poolparty/cloud.rb +16 -9
- data/vendor/gems/xml-simple/lib/xmlsimple.rb +1028 -0
- metadata +184 -189
- data/README.rdoc +0 -117
- data/examples/chef_cloud/chef-repo/site-cookbooks/collectd/README.rdoc +0 -9
- data/examples/chef_cloud/chef-repo/site-cookbooks/collectd/attributes/collectd.rb +0 -3
- data/examples/chef_cloud/chef-repo/site-cookbooks/collectd/files/ubuntu/collectd.default +0 -17
- data/examples/chef_cloud/chef-repo/site-cookbooks/collectd/metadata.rb +0 -6
- data/examples/chef_cloud/chef-repo/site-cookbooks/collectd/recipes/default.rb +0 -62
- data/examples/chef_cloud/chef-repo/site-cookbooks/collectd/templates/default/collectd.conf.erb +0 -107
- data/examples/chef_cloud/chef-repo/site-cookbooks/collectd/templates/default/collection.conf.erb +0 -2
- data/examples/chef_cloud/chef-repo/site-cookbooks/collectd/templates/default/collection3.conf.erb +0 -4
- /data/examples/chef_cloud/{chef-repo → chef_repo}/README +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/Rakefile +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/certificates/README +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/config/client.rb.example +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/config/rake.rb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/config/server.rb.example +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/config/solo.rb.example +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/README +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/README.rdoc +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/attributes/apache.rb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/definitions/apache_conf.rb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/definitions/apache_module.rb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/definitions/apache_site.rb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/definitions/web_app.rb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/files/default/apache2_module_conf_generate.pl +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/metadata.json +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/metadata.rb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/recipes/default.rb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/recipes/god_monitor.rb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/recipes/mod_alias.rb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/recipes/mod_auth_basic.rb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/recipes/mod_auth_digest.rb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/recipes/mod_authn_file.rb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/recipes/mod_authnz_ldap.rb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/recipes/mod_authz_default.rb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/recipes/mod_authz_groupfile.rb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/recipes/mod_authz_host.rb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/recipes/mod_authz_user.rb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/recipes/mod_autoindex.rb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/recipes/mod_cgi.rb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/recipes/mod_dav.rb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/recipes/mod_dav_svn.rb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/recipes/mod_deflate.rb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/recipes/mod_dir.rb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/recipes/mod_env.rb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/recipes/mod_expires.rb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/recipes/mod_fcgid.rb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/recipes/mod_headers.rb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/recipes/mod_ldap.rb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/recipes/mod_log_config.rb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/recipes/mod_mime.rb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/recipes/mod_negotiation.rb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/recipes/mod_php5.rb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/recipes/mod_proxy.rb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/recipes/mod_proxy_ajp.rb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/recipes/mod_proxy_balancer.rb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/recipes/mod_proxy_connect.rb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/recipes/mod_proxy_http.rb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/recipes/mod_python.rb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/recipes/mod_rails.rb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/recipes/mod_rewrite.rb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/recipes/mod_setenvif.rb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/recipes/mod_ssl.rb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/recipes/mod_status.rb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/templates/default/a2dismod.erb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/templates/default/a2dissite.erb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/templates/default/a2enmod.erb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/templates/default/a2ensite.erb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/templates/default/apache2.conf.erb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/templates/default/apache2.god.erb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/templates/default/charset.erb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/templates/default/default-site.erb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/templates/default/mods/README +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/templates/default/mods/alias.conf.erb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/templates/default/mods/autoindex.conf.erb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/templates/default/mods/deflate.conf.erb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/templates/default/mods/dir.conf.erb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/templates/default/mods/fcgid.conf.erb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/templates/default/mods/mime.conf.erb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/templates/default/mods/negotiation.conf.erb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/templates/default/mods/proxy.conf.erb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/templates/default/mods/setenvif.conf.erb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/templates/default/mods/ssl.conf.erb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/templates/default/mods/status.conf.erb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/templates/default/port_apache.erb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/templates/default/ports.conf.erb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/templates/default/security.erb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/templates/default/web_app.conf.erb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apt/files/default/apt-cacher +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apt/files/default/apt-cacher.conf +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apt/files/default/apt-proxy-v2.conf +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apt/metadata.json +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apt/metadata.rb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apt/recipes/cacher.rb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apt/recipes/default.rb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apt/recipes/proxy.rb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/bootstrap/README.rdoc +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/bootstrap/attributes/bootstrap.rb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/bootstrap/metadata.json +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/bootstrap/metadata.rb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/bootstrap/recipes/client.rb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/bootstrap/recipes/default.rb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/bootstrap/recipes/server.rb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/bootstrap/templates/default/client.rb.erb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/bootstrap/templates/default/server.rb.erb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/bootstrap/templates/default/sv-chef-client-log-run.erb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/bootstrap/templates/default/sv-chef-client-run.erb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/bootstrap/templates/default/sv-chef-indexer-log-run.erb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/bootstrap/templates/default/sv-chef-indexer-run.erb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/bootstrap/templates/default/sv-chef-server-log-run.erb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/bootstrap/templates/default/sv-chef-server-run.erb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/chef/README.rdoc +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/chef/attributes/chef.rb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/chef/metadata.json +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/chef/metadata.rb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/chef/recipes/client.rb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/chef/recipes/default.rb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/chef/recipes/server.rb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/chef/recipes/server_proxy.rb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/chef/templates/default/chef_server.conf.erb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/chef/templates/default/client.rb.erb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/chef/templates/default/server.rb.erb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/ec2/attributes/ec2_metadata.rb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/ec2/attributes/ec2_recipe_options.rb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/ec2/metadata.rb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/ec2/recipes/default.rb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/ganglia/README.rdoc +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/ganglia/attributes/default.rb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/ganglia/metadata.rb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/ganglia/recipes/default.rb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/ganglia/recipes/gmetad.rb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/ganglia/recipes/monitor_sshd.rb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/ganglia/recipes/monitor_watson.rb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/ganglia/recipes/web.rb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/ganglia/templates/default/bin/gmetad.erb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/ganglia/templates/default/bin/gmond.erb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/ganglia/templates/default/bin/monitors/sshd_ganglia.sh.erb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/ganglia/templates/default/bin/monitors/watson_channels.sh.erb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/ganglia/templates/default/ganglia-web-conf.php.erb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/ganglia/templates/default/gmetad.conf.erb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/ganglia/templates/default/gmond.conf.erb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/ganglia/templates/default/jaunty.sources.list.erb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/ntp/attributes/ntp.rb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/ntp/metadata.json +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/ntp/metadata.rb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/ntp/recipes/default.rb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/ntp/templates/default/ntp.conf.erb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/rsyslog/README.rdoc +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/rsyslog/attributes/rsyslog.rb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/rsyslog/files/default/rsyslog.default +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/rsyslog/files/ubuntu-8.04/rsyslog.default +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/rsyslog/files/ubuntu-9.10/rsyslog.default +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/rsyslog/metadata.json +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/rsyslog/metadata.rb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/rsyslog/recipes/client.rb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/rsyslog/recipes/default.rb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/rsyslog/recipes/server.rb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/rsyslog/templates/default/remote.conf.erb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/rsyslog/templates/default/rsyslog.conf.erb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/rsyslog/templates/default/server.conf.erb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/rsyslog/templates/ubuntu-9.10/50-default.conf.erb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/rsyslog/templates/ubuntu-9.10/remote.conf.erb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/rsyslog/templates/ubuntu-9.10/server.conf.erb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/runit/attributes/sv_bin.rb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/runit/definitions/runit_service.rb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/runit/files/ubuntu-6.10/runsvdir +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/runit/files/ubuntu-7.04/runsvdir +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/runit/files/ubuntu-7.10/runsvdir +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/runit/files/ubuntu-8.04/runsvdir +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/runit/metadata.json +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/runit/metadata.rb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/runit/recipes/default.rb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/roles/README +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/roles/chef-upgrade.rb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/site-cookbooks/README +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/site-cookbooks/hosts/attributes/hosts.rb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/site-cookbooks/hosts/metadata.rb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/site-cookbooks/hosts/recipes/default.rb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/site-cookbooks/hosts/templates/default/hosts.erb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/site-cookbooks/sysadmin/recipes/default.rb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/site-cookbooks/ubuntu/metadata.json +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/site-cookbooks/ubuntu/metadata.rb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/site-cookbooks/ubuntu/recipes/default.rb +0 -0
- /data/examples/chef_cloud/{chef-repo → chef_repo}/site-cookbooks/ubuntu/templates/default/sources.list.erb +0 -0
- /data/examples/chef_cloud/{sample → user_data} +0 -0
@@ -1,62 +0,0 @@
|
|
1
|
-
# Cookbook Name:: collectd
|
2
|
-
# Recipe:: default
|
3
|
-
#
|
4
|
-
# Copyright 2009, AT&T Interactive
|
5
|
-
#
|
6
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
7
|
-
# you may not use this file except in compliance with the License.
|
8
|
-
# You may obtain a copy of the License at
|
9
|
-
#
|
10
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
11
|
-
#
|
12
|
-
# Unless required by applicable law or agreed to in writing, software
|
13
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
14
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
15
|
-
# See the License for the specific language governing permissions and
|
16
|
-
# limitations under the License.
|
17
|
-
#
|
18
|
-
|
19
|
-
package "collectd" do
|
20
|
-
action :install
|
21
|
-
end
|
22
|
-
|
23
|
-
directory node[:collectd][:data_dir] do
|
24
|
-
action :create
|
25
|
-
end
|
26
|
-
|
27
|
-
template "/etc/collectd/collectd.conf" do
|
28
|
-
source "collectd.conf.erb"
|
29
|
-
if node[:collectd][:listen]==true
|
30
|
-
variables :server => node[:collectd][:server], :listen =>node.ipaddress, :data_dir => node[:collectd][:data_dir]
|
31
|
-
else
|
32
|
-
variables :server => node[:collectd][:server]
|
33
|
-
end
|
34
|
-
owner "root"
|
35
|
-
group "root"
|
36
|
-
mode 0644
|
37
|
-
end
|
38
|
-
|
39
|
-
template "/etc/collectd/collection.conf" do
|
40
|
-
source "collection.conf.erb"
|
41
|
-
owner "root"
|
42
|
-
group "root"
|
43
|
-
mode 0644
|
44
|
-
end
|
45
|
-
|
46
|
-
service "collectd" do
|
47
|
-
supports :restart => true, :status=>true
|
48
|
-
action [:enable, :start]
|
49
|
-
action [:restart] # To ensure configuration is reloaded
|
50
|
-
end
|
51
|
-
|
52
|
-
if true || recipie?(:apache)
|
53
|
-
execute "copy collecion3 directory to www dir" do
|
54
|
-
command "cp -R /usr/share/doc/collectd/examples/collection3 /var/www/ && chmod -R www-data /var/www/collecion3"
|
55
|
-
action :run
|
56
|
-
not_if "[ -d /var/www/collecion3 ] "
|
57
|
-
end
|
58
|
-
|
59
|
-
template "/etc/apache2/conf.d/collection3.conf" do
|
60
|
-
source 'collection3.conf.erb'
|
61
|
-
end
|
62
|
-
end
|
data/examples/chef_cloud/chef-repo/site-cookbooks/collectd/templates/default/collectd.conf.erb
DELETED
@@ -1,107 +0,0 @@
|
|
1
|
-
# Config file for collectd(1).
|
2
|
-
#
|
3
|
-
# Some plugins need additional configuration and are disabled by default.
|
4
|
-
# Please read collectd.conf(5) for details.
|
5
|
-
#
|
6
|
-
# You should also read /usr/share/doc/collectd/README.Debian.plugins before
|
7
|
-
# enabling any more plugins.
|
8
|
-
|
9
|
-
#Hostname "localhost"
|
10
|
-
FQDNLookup true
|
11
|
-
BaseDir "<%= @data_dir || "/var/lib/collectd"%>"
|
12
|
-
#PluginDir "/usr/lib/collectd"
|
13
|
-
#TypesDB "/usr/lib/collectd/types.db" "/etc/collectd/my_types.db"
|
14
|
-
#Interval 10
|
15
|
-
#ReadThreads 5
|
16
|
-
|
17
|
-
#LoadPlugin logfile
|
18
|
-
LoadPlugin syslog
|
19
|
-
|
20
|
-
#<Plugin logfile>
|
21
|
-
# LogLevel "info"
|
22
|
-
# File STDOUT
|
23
|
-
# Timestamp true
|
24
|
-
#</Plugin>
|
25
|
-
|
26
|
-
<Plugin syslog>
|
27
|
-
LogLevel info
|
28
|
-
</Plugin>
|
29
|
-
|
30
|
-
#LoadPlugin apache
|
31
|
-
#LoadPlugin apcups
|
32
|
-
#LoadPlugin ascent
|
33
|
-
LoadPlugin battery
|
34
|
-
#LoadPlugin bind
|
35
|
-
LoadPlugin cpu
|
36
|
-
#LoadPlugin cpufreq
|
37
|
-
#LoadPlugin csv
|
38
|
-
#LoadPlugin curl
|
39
|
-
#LoadPlugin dbi
|
40
|
-
LoadPlugin df
|
41
|
-
LoadPlugin disk
|
42
|
-
#LoadPlugin dns
|
43
|
-
#LoadPlugin email
|
44
|
-
LoadPlugin entropy
|
45
|
-
#LoadPlugin exec
|
46
|
-
#LoadPlugin filecount
|
47
|
-
#LoadPlugin hddtemp
|
48
|
-
LoadPlugin interface
|
49
|
-
#LoadPlugin ipmi
|
50
|
-
#LoadPlugin iptables
|
51
|
-
#LoadPlugin ipvs
|
52
|
-
LoadPlugin irq
|
53
|
-
#LoadPlugin libvirt
|
54
|
-
LoadPlugin load
|
55
|
-
#LoadPlugin mbmon
|
56
|
-
#LoadPlugin memcached
|
57
|
-
LoadPlugin memory
|
58
|
-
#LoadPlugin multimeter
|
59
|
-
#LoadPlugin mysql
|
60
|
-
#LoadPlugin netlink
|
61
|
-
<%= (@server ||@listen) ? "LoadPlugin network" : "#LoadPlugin network" %>
|
62
|
-
#LoadPlugin nfs
|
63
|
-
#LoadPlugin nginx
|
64
|
-
#LoadPlugin notify_desktop
|
65
|
-
#LoadPlugin notify_email
|
66
|
-
#LoadPlugin ntpd
|
67
|
-
#LoadPlugin nut
|
68
|
-
#LoadPlugin openvpn
|
69
|
-
#LoadPlugin perl
|
70
|
-
#LoadPlugin ping
|
71
|
-
#LoadPlugin postgresql
|
72
|
-
#LoadPlugin powerdns
|
73
|
-
LoadPlugin processes
|
74
|
-
LoadPlugin rrdtool
|
75
|
-
#LoadPlugin sensors
|
76
|
-
#LoadPlugin serial
|
77
|
-
#LoadPlugin snmp
|
78
|
-
LoadPlugin swap
|
79
|
-
#LoadPlugin tail
|
80
|
-
#LoadPlugin tcpconns
|
81
|
-
#LoadPlugin teamspeak2
|
82
|
-
#LoadPlugin thermal
|
83
|
-
#LoadPlugin unixsock
|
84
|
-
LoadPlugin users
|
85
|
-
#LoadPlugin uuid
|
86
|
-
#LoadPlugin vmem
|
87
|
-
#LoadPlugin vserver
|
88
|
-
#LoadPlugin wireless
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
<Plugin network>
|
93
|
-
# Server "ff18::efc0:4a42" "25826"
|
94
|
-
<%= "Listen '#{@listen}'" if @listen %>
|
95
|
-
<%= "Server '#{@server}'" if @server %>
|
96
|
-
# Server "ff18::efc0:4a42" "25826"
|
97
|
-
# Server "239.192.74.66" "25826"
|
98
|
-
# Listen "ff18::efc0:4a42" "25826"
|
99
|
-
# Listen "239.192.74.66" "25826"
|
100
|
-
# TimeToLive "128"
|
101
|
-
# Forward false
|
102
|
-
# CacheFlush 1800
|
103
|
-
</Plugin>
|
104
|
-
|
105
|
-
|
106
|
-
Include "/etc/collectd/filters.conf"
|
107
|
-
Include "/etc/collectd/thresholds.conf"
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
/data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/definitions/apache_conf.rb
RENAMED
File without changes
|
/data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/definitions/apache_module.rb
RENAMED
File without changes
|
/data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/definitions/apache_site.rb
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
/data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/recipes/mod_auth_basic.rb
RENAMED
File without changes
|
/data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/recipes/mod_auth_digest.rb
RENAMED
File without changes
|
/data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/recipes/mod_authn_file.rb
RENAMED
File without changes
|
/data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/recipes/mod_authnz_ldap.rb
RENAMED
File without changes
|
/data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/recipes/mod_authz_default.rb
RENAMED
File without changes
|
/data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/recipes/mod_authz_groupfile.rb
RENAMED
File without changes
|
/data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/recipes/mod_authz_host.rb
RENAMED
File without changes
|
/data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/recipes/mod_authz_user.rb
RENAMED
File without changes
|
/data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/recipes/mod_autoindex.rb
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
/data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/recipes/mod_log_config.rb
RENAMED
File without changes
|
File without changes
|
/data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/recipes/mod_negotiation.rb
RENAMED
File without changes
|
File without changes
|
File without changes
|
/data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/recipes/mod_proxy_ajp.rb
RENAMED
File without changes
|
/data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/recipes/mod_proxy_balancer.rb
RENAMED
File without changes
|
/data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/recipes/mod_proxy_connect.rb
RENAMED
File without changes
|
/data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/recipes/mod_proxy_http.rb
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
/data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/templates/default/a2dismod.erb
RENAMED
File without changes
|
/data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/templates/default/a2dissite.erb
RENAMED
File without changes
|
/data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/templates/default/a2enmod.erb
RENAMED
File without changes
|
/data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/templates/default/a2ensite.erb
RENAMED
File without changes
|
File without changes
|
File without changes
|
/data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/templates/default/charset.erb
RENAMED
File without changes
|
File without changes
|
/data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/templates/default/mods/README
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
/data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/templates/default/ports.conf.erb
RENAMED
File without changes
|
/data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apache2/templates/default/security.erb
RENAMED
File without changes
|
File without changes
|
File without changes
|
/data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apt/files/default/apt-cacher.conf
RENAMED
File without changes
|
/data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/apt/files/default/apt-proxy-v2.conf
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
/data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/bootstrap/attributes/bootstrap.rb
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
/data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/chef/templates/default/client.rb.erb
RENAMED
File without changes
|
/data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/chef/templates/default/server.rb.erb
RENAMED
File without changes
|
File without changes
|
/data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/ec2/attributes/ec2_recipe_options.rb
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
/data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/ganglia/recipes/monitor_watson.rb
RENAMED
File without changes
|
File without changes
|
/data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/ganglia/templates/default/bin/gmetad.erb
RENAMED
File without changes
|
/data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/ganglia/templates/default/bin/gmond.erb
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
/data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/ganglia/templates/default/gmond.conf.erb
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
/data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/ntp/templates/default/ntp.conf.erb
RENAMED
File without changes
|
File without changes
|
File without changes
|
/data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/rsyslog/files/default/rsyslog.default
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
/data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/runit/definitions/runit_service.rb
RENAMED
File without changes
|
/data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/runit/files/ubuntu-6.10/runsvdir
RENAMED
File without changes
|
/data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/runit/files/ubuntu-7.04/runsvdir
RENAMED
File without changes
|
/data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/runit/files/ubuntu-7.10/runsvdir
RENAMED
File without changes
|
/data/examples/chef_cloud/{chef-repo → chef_repo}/cookbooks/runit/files/ubuntu-8.04/runsvdir
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|