Commit fa680b6
Changed files (1)
recipes
recipes/postgres.rb
@@ -67,9 +67,10 @@ cron 'pg_backups' do
action :create
command "#{backups_dir}/pg_backup_rotated.sh -c /etc/postgresql/pg_backup.config"
environment({
+ "AWS_ACCESS_KEY_ID" => node['stronglifters']['aws']['profiles']['default']['aws_access_key_id'],
+ "AWS_SECRET_ACCESS_KEY" => node['stronglifters']['aws']['profiles']['default']['aws_secret_access_key'],
"PGPASSFILE" => "/var/lib/postgresql/.pgpass",
"PGPASSWORD" => node["postgresql"]["password"]["postgres"],
- "AWS_KEY" => "",
})
hour '1'
minute '0'