### # 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 include_attribute "deploy::customize"