forked from aws/opsworks-cookbooks
-
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.
Introduce customize.rb in all cookbooks.
Conflicts: passenger_apache2/attributes/passenger.rb runit/attributes/default.rb
- Loading branch information
Showing
60 changed files
with
853 additions
and
7 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,7 @@ | ||
### | ||
# This is the place to override the agent_version cookbook's default attributes. | ||
# | ||
# Do not edit THIS file directly. Instead, create | ||
# "agent_version/attributes/customize.rb" in your cookbook repository and | ||
# put the overrides in YOUR customize.rb file. | ||
### |
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 +1,18 @@ | ||
### | ||
# Do not use this file to override the agent_version cookbook's default | ||
# attributes. Instead, please use the customize.rb attributes file, | ||
# which will keep your adjustments separate from the AWS OpsWorks | ||
# codebase and make it easier to upgrade. | ||
# | ||
# However, you should not edit customize.rb directly. Instead, create | ||
# "agent_version/attributes/customize.rb" in your cookbook repository and | ||
# put the overrides in YOUR customize.rb file. | ||
# | ||
# Do NOT create an 'agent_version/attributes/apache.rb' in your cookbooks. Doing so | ||
# would completely override this file and might cause upgrade issues. | ||
# | ||
# See also: http://docs.aws.amazon.com/opsworks/latest/userguide/customizing.html | ||
### | ||
|
||
include_attribute 'opsworks_initial_setup::default' | ||
include_attribute 'agent_version::customize' |
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,11 @@ | ||
### | ||
# This is the place to override the dependencies cookbook's default attributes. | ||
# | ||
# Do not edit THIS file directly. Instead, create | ||
# "dependencies/attributes/customize.rb" in your cookbook repository and | ||
# put the overrides in YOUR customize.rb file. | ||
### | ||
|
||
# The following shows how to override the gem binary: | ||
# | ||
#normal[:dependencies][:gem_binary] = '/my/gem/binary' |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
### | ||
# This is the place to override the deploy cookbook's default attributes. | ||
# | ||
# Do not edit THIS file directly. Instead, create | ||
# "deploy/attributes/customize.rb" in your cookbook repository and | ||
# put the overrides in YOUR customize.rb file. | ||
### | ||
|
||
# The following shows how to override the deploy user and shell: | ||
# | ||
#normal[:opsworks][:deploy_user][:shell] = '/bin/zsh' | ||
#normal[:opsworks][:deploy_user][:user] = 'deploy' |
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 +1,18 @@ | ||
### | ||
# Do not use this file to override the deploy cookbook's default | ||
# attributes. Instead, please use the customize.rb attributes file, | ||
# which will keep your adjustments separate from the AWS OpsWorks | ||
# codebase and make it easier to upgrade. | ||
# | ||
# However, you should not edit customize.rb directly. Instead, create | ||
# "deploy/attributes/customize.rb" in your cookbook repository and | ||
# put the overrides in YOUR customize.rb file. | ||
# | ||
# Do NOT create an 'deploy/attributes/default.rb' in your cookbooks. Doing so | ||
# would completely override this file and might cause upgrade issues. | ||
# | ||
# See also: http://docs.aws.amazon.com/opsworks/latest/userguide/customizing.html | ||
### | ||
|
||
include_attribute "deploy::deploy" | ||
include_attribute "deploy::customize" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,20 @@ | ||
### | ||
# Do not use this file to override the deploy cookbook's default | ||
# attributes. Instead, please use the customize.rb attributes file, | ||
# which will keep your adjustments separate from the AWS OpsWorks | ||
# codebase and make it easier to upgrade. | ||
# | ||
# However, you should not edit customize.rb directly. Instead, create | ||
# "deploy/attributes/customize.rb" in your cookbook repository and | ||
# put the overrides in YOUR customize.rb file. | ||
# | ||
# Do NOT create an 'deploy/attributes/logrotate.rb' in your cookbooks. Doing so | ||
# would completely override this file and might cause upgrade issues. | ||
# | ||
# See also: http://docs.aws.amazon.com/opsworks/latest/userguide/customizing.html | ||
### | ||
|
||
default[:logrotate][:rotate] = 30 | ||
default[:logrotate][:dateformat] = false # set to '-%Y%m%d' to have date formatted logs | ||
default[:logrotate][:dateformat] = false # set to '-%Y%m%d' to have date formatted logs | ||
|
||
include_attribute "deploy::customize" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
### | ||
# This is the place to override the ebs cookbook's default attributes. | ||
# | ||
# Do not edit THIS file directly. Instead, create | ||
# "ebs/attributes/customize.rb" in your cookbook repository and | ||
# put the overrides in YOUR customize.rb file. | ||
### | ||
|
||
# The following shows how to override the mdadm chunk size: | ||
# | ||
#normal[:ebs][:mdadm_chunk_size] = '512' |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
### | ||
# This is the place to override the haproxy cookbook's default attributes. | ||
# | ||
# Do not edit THIS file directly. Instead, create | ||
# "haproxy/attributes/customize.rb" in your cookbook repository and | ||
# put the overrides in YOUR customize.rb file. | ||
### | ||
|
||
# The following shows how to override the HA-Proxy stats url and user: | ||
# | ||
#normal[:haproxy][:stats_url] = '/haproxy?stats' | ||
#normal[:haproxy][:stats_user] = 'opsworks' |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
### | ||
# This is the place to override the memcached cookbook's default attributes. | ||
# | ||
# Do not edit THIS file directly. Instead, create | ||
# "memcached/attributes/customize.rb" in your cookbook repository and | ||
# put the overrides in YOUR customize.rb file. | ||
### | ||
|
||
# The following shows how to override the memcached max connections: | ||
# | ||
#normal[:memcached][:max_connections] = "8192" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
### | ||
# This is the place to override the mod_php5_apache2 cookbook's default attributes. | ||
# | ||
# Do not edit THIS file directly. Instead, create | ||
# "mod_php5_apache2/attributes/customize.rb" in your cookbook repository and | ||
# put the overrides in YOUR customize.rb file. | ||
### | ||
|
||
# The following shows how to override the mod_php5_apache2 packages: | ||
# | ||
#normal[:mod_php5_apache2][:packages] = [ 'php-xml', | ||
# 'php-common', | ||
# 'php-xmlrpc', | ||
# 'php-devel', | ||
# 'php-gd', | ||
# 'php-cli', | ||
# 'php-pear-Auth-SASL', | ||
# 'php-mysql', | ||
# 'php-mcrypt' ] |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
### | ||
# This is the place to override the mysql cookbook's default attributes. | ||
# | ||
# Do not edit THIS file directly. Instead, create | ||
# "mysql/attributes/customize.rb" in your cookbook repository and | ||
# put the overrides in YOUR customize.rb file. | ||
### | ||
|
||
# The following shows how to override the MySQL max_connections settings: | ||
# | ||
#normal[:mysql][:tunable][:max_connections] = '512' |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
### | ||
# This is the place to override the nginx cookbook's default attributes. | ||
# | ||
# Do not edit THIS file directly. Instead, create | ||
# "nginx/attributes/customize.rb" in your cookbook repository and | ||
# put the overrides in YOUR customize.rb file. | ||
### | ||
|
||
# The following shows how to disable NGinx compression: | ||
# | ||
#normal[:nginx][:gzip] = 'off' | ||
#normal[:nginx][:gzip_static] = 'off' |
Oops, something went wrong.