Skip to content

Commit

Permalink
Streamline metadata.
Browse files Browse the repository at this point in the history
  • Loading branch information
githuesch committed Jan 13, 2014
1 parent 38fabca commit 416b7a7
Show file tree
Hide file tree
Showing 36 changed files with 245 additions and 278 deletions.
6 changes: 6 additions & 0 deletions agent_version/metadata.rb
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
name "agent_version"
description "Prepares the OpsWorks agent version to be installed"
maintainer "AWS OpsWorks"
license "Apache 2.0"
version "1.0.0"

depends 'opsworks_initial_setup'
85 changes: 41 additions & 44 deletions apache2/metadata.rb
Original file line number Diff line number Diff line change
@@ -1,47 +1,44 @@
maintainer "Opscode, Inc."
maintainer_email "[email protected]"
license "Apache 2.0"
description "Installs and configures all aspects of apache2 using Debian style symlinks with helper definitions"
long_description IO.read(File.join(File.dirname(__FILE__), 'README.rdoc'))
version "0.9"
recipe "apache2", "Main Apache configuration"
recipe "apache2::service", "Install and control Apache system service"
recipe "apache2::mod_alias", "Apache module 'alias' with config file"
recipe "apache2::mod_auth_basic", "Apache module 'auth_basic'"
recipe "apache2::mod_auth_digest", "Apache module 'auth_digest'"
recipe "apache2::mod_authn_file", "Apache module 'authn_file'"
recipe "apache2::mod_authnz_ldap", "Apache module 'authnz_ldap'"
recipe "apache2::mod_authz_default", "Apache module 'authz_default'"
recipe "apache2::mod_authz_groupfile", "Apache module 'authz_groupfile'"
recipe "apache2::mod_authz_host", "Apache module 'authz_host'"
recipe "apache2::mod_authz_user", "Apache module 'authz_user'"
recipe "apache2::mod_autoindex", "Apache module 'autoindex' with config file"
recipe "apache2::mod_cgi", "Apache module 'cgi'"
recipe "apache2::mod_dav", "Apache module 'dav'"
recipe "apache2::mod_dav_svn", "Apache module 'dav_svn'"
recipe "apache2::mod_deflate", "Apache module 'deflate' with config file"
recipe "apache2::mod_dir", "Apache module 'dir' with config file"
recipe "apache2::mod_env", "Apache module 'env'"
recipe "apache2::mod_expires", "Apache module 'expires'"
recipe "apache2::mod_fcgid", "Apache module 'fcgid', package on ubuntu/debian, rhel/centos, compile source on suse; with config file"
recipe "apache2::mod_headers", "Apache module 'headers'"
recipe "apache2::mod_ldap", "Apache module 'ldap'"
recipe "apache2::mod_log_config", "Apache module 'log_config'"
recipe "apache2::mod_mime", "Apache module 'mime' with config file"
recipe "apache2::mod_negotiation", "Apache module 'negotiation' with config file"
recipe "apache2::mod_php5", "Apache module 'php5'"
recipe "apache2::mod_proxy", "Apache module 'proxy' with config file"
recipe "apache2::mod_proxy_http", "Apache module 'proxy_http'"
recipe "apache2::mod_python", "Apache module 'python'"
recipe "apache2::mod_rewrite", "Apache module 'rewrite'"
recipe "apache2::mod_setenvif", "Apache module 'setenvif' with config file"
recipe "apache2::mod_ssl", "Apache module 'ssl' with config file, adds port 443 to listen_ports"
recipe "apache2::mod_status", "Apache module 'status' with config file"
recipe "apache2::logrotate", "Apache Logrotate configuration"

['centos','redhat','fedora','amazon','debian','ubuntu'].each do |os|
supports os
end
name "apache2"
description "Installs and configures all aspects of apache2 using Debian style symlinks with helper definitions"
long_description IO.read(File.join(File.dirname(__FILE__), 'README.rdoc'))
maintainer "AWS OpsWorks"
license "Apache 2.0"
version "1.0.0"

recipe "apache2", "Main Apache configuration"
recipe "apache2::service", "Install and control Apache system service"
recipe "apache2::mod_alias", "Apache module 'alias' with config file"
recipe "apache2::mod_auth_basic", "Apache module 'auth_basic'"
recipe "apache2::mod_auth_digest", "Apache module 'auth_digest'"
recipe "apache2::mod_authn_file", "Apache module 'authn_file'"
recipe "apache2::mod_authnz_ldap", "Apache module 'authnz_ldap'"
recipe "apache2::mod_authz_default", "Apache module 'authz_default'"
recipe "apache2::mod_authz_groupfile", "Apache module 'authz_groupfile'"
recipe "apache2::mod_authz_host", "Apache module 'authz_host'"
recipe "apache2::mod_authz_user", "Apache module 'authz_user'"
recipe "apache2::mod_autoindex", "Apache module 'autoindex' with config file"
recipe "apache2::mod_cgi", "Apache module 'cgi'"
recipe "apache2::mod_dav", "Apache module 'dav'"
recipe "apache2::mod_dav_svn", "Apache module 'dav_svn'"
recipe "apache2::mod_deflate", "Apache module 'deflate' with config file"
recipe "apache2::mod_dir", "Apache module 'dir' with config file"
recipe "apache2::mod_env", "Apache module 'env'"
recipe "apache2::mod_expires", "Apache module 'expires'"
recipe "apache2::mod_fcgid", "Apache module 'fcgid', package on ubuntu/debian, rhel/centos, compile source on suse; with config file"
recipe "apache2::mod_headers", "Apache module 'headers'"
recipe "apache2::mod_ldap", "Apache module 'ldap'"
recipe "apache2::mod_log_config", "Apache module 'log_config'"
recipe "apache2::mod_mime", "Apache module 'mime' with config file"
recipe "apache2::mod_negotiation", "Apache module 'negotiation' with config file"
recipe "apache2::mod_php5", "Apache module 'php5'"
recipe "apache2::mod_proxy", "Apache module 'proxy' with config file"
recipe "apache2::mod_proxy_http", "Apache module 'proxy_http'"
recipe "apache2::mod_python", "Apache module 'python'"
recipe "apache2::mod_rewrite", "Apache module 'rewrite'"
recipe "apache2::mod_setenvif", "Apache module 'setenvif' with config file"
recipe "apache2::mod_ssl", "Apache module 'ssl' with config file, adds port 443 to listen_ports"
recipe "apache2::mod_status", "Apache module 'status' with config file"
recipe "apache2::logrotate", "Apache Logrotate configuration"

attribute "apache",
:display_name => "Apache Hash",
Expand Down
10 changes: 7 additions & 3 deletions dependencies/metadata.rb
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
maintainer "Amazon Web Services"
name "dependencies"
description "Install .gem and .deb depencencies"
version "0.1"
recipe "dependencies::update", "Update all packages and gems"
maintainer "AWS OpsWorks"
license "Apache 2.0"
version "1.0.0"

depends "ruby_enterprise"
depends "ruby"
depends "gem_support"
depends "packages"
depends "opsworks_nodejs"

recipe "dependencies::update", "Update all packages and gems"

attribute "dependencies/gems",
:display_name => "Gems to install",
Expand Down
23 changes: 13 additions & 10 deletions deploy/metadata.rb
Original file line number Diff line number Diff line change
@@ -1,14 +1,8 @@
maintainer "Amazon Web Services"
name "deploy"
description "Deploy applications"
version "0.1"
recipe "deploy::scm", "Install and setup the source code management system"
recipe "deploy::rails", "Deploy a Rails application"
recipe "deploy::php", "Deploy a PHP application"
recipe "deploy::rails-undeploy", "Remove a Rails application"
recipe "deploy::mysql", "Create the MySQL database for an app"
recipe "deploy::mysql-configure", "Reconfigure the database"
recipe "deploy::logrotate", "Logrotate configuration for log files in shared/log/"
recipe "deploy::java", "Deploy a Java application"
maintainer "AWS OpsWorks"
license "Apache 2.0"
version "1.0.0"

depends "dependencies"
depends "apache2"
Expand All @@ -19,3 +13,12 @@
depends "passenger_apache2"
depends "unicorn"
depends "opsworks_java"

recipe "deploy::scm", "Install and setup the source code management system"
recipe "deploy::rails", "Deploy a Rails application"
recipe "deploy::php", "Deploy a PHP application"
recipe "deploy::rails-undeploy", "Remove a Rails application"
recipe "deploy::mysql", "Create the MySQL database for an app"
recipe "deploy::mysql-configure", "Reconfigure the database"
recipe "deploy::logrotate", "Logrotate configuration for log files in shared/log/"
recipe "deploy::java", "Deploy a Java application"
7 changes: 5 additions & 2 deletions ebs/metadata.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
maintainer "Amazon Web Services"
name "ebs"
description "Mounts attached EBS volumes"
version "0.1"
maintainer "AWS OpsWorks"
license "Apache 2.0"
version "1.0.0"

recipe "ebs::volumes", "Mounts attached EBS volumes"
recipe "ebs::raids", "Mounts attached EBS RAIDs"
8 changes: 5 additions & 3 deletions gem_support/metadata.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
maintainer "Amazon Web Services"
description "Offers a few library functions to simplify dealing with RubyGems"
version "0.1"
name "gem_support"
description "Offers a few library functions to simplify dealing with RubyGems"
maintainer "AWS OpsWorks"
license "Apache 2.0"
version "1.0.0"
19 changes: 9 additions & 10 deletions haproxy/metadata.rb
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
maintainer 'Opscode, Inc.'
maintainer_email '[email protected]'
license 'Apache 2.0'
description 'Installs and configures haproxy'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.rdoc'))
version '0.7'
name "haproxy"
description 'Installs and configures haproxy'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.rdoc'))
maintainer "AWS OpsWorks"
license "Apache 2.0"
version "1.0.0"

depends 'opsworks_commons'

recipe 'haproxy', 'Install and configure a HAProxy instance'
recipe 'haproxy::configure', 'reconfigure and restart HAProxy'

['debian','ubuntu'].each do |os|
supports os
end

attribute 'haproxy/backend',
:display_name => 'Backend',
:description => 'List of backend services to load balance',
Expand Down
7 changes: 4 additions & 3 deletions memcached/metadata.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
maintainer "Amazon Web Services"
name "memcached"
description "Installs Memcached"
version "0.1"
supports "ubuntu"
maintainer "AWS OpsWorks"
license "Apache 2.0"
version "1.0.0"

depends "opsworks_agent_monit"

Expand Down
11 changes: 5 additions & 6 deletions mod_php5_apache2/metadata.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
maintainer "Amazon Web Services"
license "Apache 2.0"
description "Installs/Configures Apache with mod_php5"
version "0.1"

supports "ubuntu"
name "mod_php5_apache2"
description "Installs/Configures Apache with mod_php5"
maintainer "AWS OpsWorks"
license "Apache 2.0"
version "1.0.0"

depends "apache2"
16 changes: 7 additions & 9 deletions mysql/metadata.rb
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
maintainer "Amazon Web Services"
license "Apache 2.0"
description "Installs and configures MySQL"
version "0.1"
recipe "mysql::client", "Installs MySQL"
recipe "mysql::server", "Installs MySQL"
name "mysql"
description "Installs and configures MySQL"
maintainer "AWS OpsWorks"
license "Apache 2.0"
version "1.0.0"

['centos','redhat','fedora','amazon','debian','ubuntu'].each do |os|
supports os
end
recipe "mysql::client", "Installs MySQL"
recipe "mysql::server", "Installs MySQL"
14 changes: 5 additions & 9 deletions nginx/metadata.rb
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
maintainer "Opscode, Inc."
maintainer_email "[email protected]"
license "Apache 2.0"
description "Installs and configures nginx"
version "0.8"

%w{ ubuntu debian }.each do |os|
supports os
end
name "nginx"
description "Installs and configures nginx"
maintainer "AWS OpsWorks"
license "Apache 2.0"
version "1.0.0"

attribute "nginx/dir",
:display_name => "Nginx Directory",
Expand Down
8 changes: 6 additions & 2 deletions opsworks_agent_monit/metadata.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
maintainer "Amazon Web Services"
name "opsworks_agent_monit"
description "Configures monit for the OpsWorks-Agent"
version "0.1"
maintainer "AWS OpsWorks"
license "Apache 2.0"
version "1.0.0"

depends 'opsworks_initial_setup'
5 changes: 5 additions & 0 deletions opsworks_bundler/metadata.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
name "opsworks_bundler"
description "Installs Bundler"
maintainer "AWS OpsWorks"
license "Apache 2.0"
version "1.0.0"
6 changes: 4 additions & 2 deletions opsworks_cleanup/metadata.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
maintainer "Amazon Web Services"
name "opsworks_cleanup"
description "Cleans up Chef run"
version "0.1"
maintainer "AWS OpsWorks"
license "Apache 2.0"
version "1.0.0"

depends 'opsworks_initial_setup'
7 changes: 4 additions & 3 deletions opsworks_commons/metadata.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name "opsworks_commons"
maintainer "Amazon Web Services"
name "opsworks_commons"
description "Common recipes and libraries"
version "0.1"
maintainer "AWS OpsWorks"
license "Apache 2.0"
version "1.0.0"

depends "dependencies"
7 changes: 5 additions & 2 deletions opsworks_custom_cookbooks/metadata.rb
Original file line number Diff line number Diff line change
@@ -1,13 +1,16 @@
maintainer "Amazon Web Services"
name "opsworks_custom_cookbooks"
description "Supports custom user cookbooks"
version "0.1"
maintainer "AWS OpsWorks"
license "Apache 2.0"
version "1.0.0"

recipe "opsworks_custom_cookbooks::checkout", "Checkout custom Cookbooks"
recipe "opsworks_custom_cookbooks::load", "Load custom Cookbooks"
recipe "opsworks_custom_cookbooks::execute", "Execute custom Cookbooks"
recipe "opsworks_custom_cookbooks::update", "Update custom Cookbooks"

depends "scm_helper"
depends "opsworks_initial_setup"

attribute "opsworks_custom_cookbooks/repository",
:display_name => "URL to you Chef cookbooks",
Expand Down
16 changes: 9 additions & 7 deletions opsworks_ganglia/metadata.rb
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
maintainer "Amazon Web Services"
version "0.2"
supports "ubuntu"
name "opsworks_ganglia"
description "Installs Ganglia"
maintainer "AWS OpsWorks"
license "Apache 2.0"
version "1.0.0"

depends 'apache2'
depends 'opsworks_commons'
depends 'opsworks_initial_setup'

recipe "opsworks_ganglia::server", "Ganglia server"
recipe "opsworks_ganglia::configure-server", "Reconfigure Ganglia server with correct clients"
recipe "opsworks_ganglia::client", "Ganglia client"
recipe "opsworks_ganglia::configure-client", "Reconfigure Ganglia client with correct server"

recipe "opsworks_ganglia::monitor-memcached", "Monitor Memcached"
recipe "opsworks_ganglia::monitor-mysql", "Monitor MySQL"
recipe "opsworks_ganglia::monitor-fd-and-sockets", "Monitor File Descriptors and Sockets"
recipe "opsworks_ganglia::monitor-disk", "Monitor Disk Stats"
recipe "opsworks_ganglia::monitor-apache", "Monitor Apache Stats"

depends 'apache2'
depends 'opsworks_commons'
6 changes: 4 additions & 2 deletions opsworks_initial_setup/metadata.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
maintainer "Amazon Web Services"
name "opsworks_initial_setup"
description "Initial Setup for EC2 instances"
version "0.1"
maintainer "AWS OpsWorks"
license "Apache 2.0"
version "1.0.0"

depends "opsworks_commons"

Expand Down
11 changes: 6 additions & 5 deletions opsworks_java/metadata.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
maintainer 'Amazon Web Services'
license 'Apache 2.0'
description 'Installs and configures a Java application server'
version '0.1'
name "opsworks_java"
description 'Installs and configures a Java application server'
maintainer "AWS OpsWorks"
license "Apache 2.0"
version "1.0.0"

depends 'apache2'
depends 'apache2'
8 changes: 8 additions & 0 deletions opsworks_nodejs/metadata.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
name "opsworks_nodejs"
description 'Installs and configures a Node.js application server'
maintainer "AWS OpsWorks"
license "Apache 2.0"
version "1.0.0"

depends 'deploy'
depends 'opsworks_commons'
7 changes: 7 additions & 0 deletions opsworks_rubygems/metadata.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
name "opsworks_rubygems"
description "Installs Rubygems"
maintainer "AWS OpsWorks"
license "Apache 2.0"
version "1.0.0"

depends 'opsworks_initial_setup'
5 changes: 5 additions & 0 deletions opsworks_shutdown/metadata.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
name "opsworks_shutdown"
description "Cleans up before an instance as actually shut down on EC2"
maintainer "AWS OpsWorks"
license "Apache 2.0"
version "1.0.0"
5 changes: 5 additions & 0 deletions opsworks_stack_state_sync/metadata.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
name "opsworks_stack_state_sync"
description "Populates /etc/hosts and /etc/motd"
maintainer "AWS OpsWorks"
license "Apache 2.0"
version "1.0.0"
Loading

0 comments on commit 416b7a7

Please sign in to comment.