Skip to content
Snippets Groups Projects
Commit 82085242 authored by Marin Jankovski's avatar Marin Jankovski
Browse files

Old recipes for opsworks are integrated into current ones.

parent 295b39b5
No related branches found
No related tags found
No related merge requests found
#
# Cookbook Name:: gitlab
# Recipe:: opsworks_gitlab_deploy
#
# Used for AWS OpsWorks configure section
gitlab = node['gitlab']
# Merge environmental variables
gitlab = Chef::Mixin::DeepMerge.merge(gitlab,gitlab[gitlab['env']])
# Fetch GitLab shell source code
include_recipe "gitlab::gitlab_shell_source"
# Configure GitLab shell
include_recipe "gitlab::gitlab_shell"
# Fetch GitLab source code
include_recipe "gitlab::gitlab_source"
# Install required gems
include_recipe "gitlab::gems"
# Configure GitLab
include_recipe "gitlab::gitlab"
# Start GitLab if in production
include_recipe "gitlab::start"
# Setup and configure nginx
include_recipe "gitlab::nginx" if gitlab['env'] == 'production'
\ No newline at end of file
#
# Cookbook Name:: gitlab
# Recipe:: opsworks_setup
#
# Used for AWS OpsWorks setup section
gitlab = node['gitlab']
# Merge environmental variables
gitlab = Chef::Mixin::DeepMerge.merge(gitlab,gitlab[gitlab['env']])
# Setup all package, user, etc. requirements of GitLab
include_recipe "gitlab::initial"
# Setup chosen database
include_recipe "gitlab::database_#{gitlab['database_adapter']}"
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment