-
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.
* updating berksfile * updating metadata * updating metadata * updating version * addin marker * modifying version in metadata.rb * adding berksfile * updating Berksfile to include rs-base, using new Gemfile * updating travis build info * adding rakefile * updating files for cookstyle * adding base gitignore * updating so tests will pass * add .rspec * updating mysql2 gem * adding in secrets to fake recipe * fixing for cookstyle * uncommenting fake * adding in curl * updating to listen from listen_ports * fixing cookstyle * updating Berksfile for chef-12-migration * updating metadata to remove application_php dep lock * pinning to 2.0.2 * updating ruby-version * changing from node.set to node.override * removing server_aliases * updating server_aliases and kitchen.yml * updating berksfile and cookstyling default.rb * trying to add in server_port * making override variable * updating for allowoverride * fixing metadata for allow_override input * adding loggin * updating rakefile and berks to remove pin * updating Berkfile for branch on contrib * updating to new travis setup * cleaning up Gemfile * removing Thorfile, Changelog, Readme, and metadata per peer review * adding Berksfile.lock * adding bundle install to setup * updating to 7.2 * removing rhel * updating Helper#get_bind_ip_address to use cloud_v2, and node['ipaddress'] * updating Helper#get_bind_ip_address to use cloud_v2, and node['ipaddress'] for public address * updating for cookstyle * Use helper to obtain bind IP for loadbalancer backend connectivity * fixing the database tests * running cookstyle against libraries/helper.rb * fixing end alignment * updating to rightscale_tag -> 2.0.1 * updating mysql_chef_gem error * fixing cookstyle * updating to chef-dk 1.2.22 * fixing version number * updating tests * fixing tests for centos6, ubuntu12,ubuntu14 * adding mysql files * fixing cookstyle * fixing centos-7 test
- Loading branch information
Showing
29 changed files
with
197 additions
and
59 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
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,3 +1,4 @@ | ||
# frozen_string_literal: true | ||
source 'https://supermarket.chef.io' | ||
|
||
metadata | ||
|
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
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,3 +1,4 @@ | ||
# frozen_string_literal: true | ||
source 'https://rubygems.org' | ||
|
||
gem 'rake' | ||
|
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
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,3 +1,4 @@ | ||
# frozen_string_literal: true | ||
# | ||
# Cookbook Name:: rs-application_php | ||
# Attribute:: default | ||
|
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,10 +1,11 @@ | ||
# frozen_string_literal: true | ||
name 'rs-application_php' | ||
maintainer 'RightScale, Inc.' | ||
maintainer_email '[email protected]' | ||
license 'Apache 2.0' | ||
description 'Installs/Configures a PHP application server' | ||
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md')) | ||
version '2.0.0' | ||
version '2.0.1' | ||
source_url 'https://github.com/rightscale-cookbooks/rs-application_php' if respond_to?(:source_url) | ||
issues_url 'https://github.com/rightscale-cookbooks/rs-application_php/issues' if respond_to?(:issues_url) | ||
chef_version '>= 12.0' if respond_to?(:chef_version) | ||
|
@@ -47,7 +48,7 @@ | |
recipes: [ | ||
'rs-application_php::default', | ||
'rs-application_php::tags', | ||
'rs-application_php::application_backend' | ||
'rs-application_php::application_backend', | ||
] | ||
|
||
attribute 'rs-application_php/scm/repository', | ||
|
@@ -79,7 +80,7 @@ | |
'rs-application_php::default', | ||
'rs-application_php::tags', | ||
'rs-application_php::application_backend', | ||
'rs-application_php::application_backend_detached' | ||
'rs-application_php::application_backend_detached', | ||
] | ||
|
||
attribute 'rs-application_php/vhost_path', | ||
|
@@ -91,7 +92,7 @@ | |
required: 'required', | ||
recipes: [ | ||
'rs-application_php::tags', | ||
'rs-application_php::application_backend' | ||
'rs-application_php::application_backend', | ||
] | ||
|
||
attribute 'rs-application_php/app_root', | ||
|
@@ -101,7 +102,7 @@ | |
required: 'optional', | ||
recipes: [ | ||
'rs-application_php::default', | ||
'rs-application_php::tags' | ||
'rs-application_php::tags', | ||
] | ||
|
||
attribute 'rs-application_php/bind_network_interface', | ||
|
@@ -113,7 +114,7 @@ | |
required: 'optional', | ||
recipes: [ | ||
'rs-application_php::default', | ||
'rs-application_php::tags' | ||
'rs-application_php::tags', | ||
] | ||
|
||
attribute 'rs-application_php/migration_command', | ||
|
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,3 +1,4 @@ | ||
# frozen_string_literal: true | ||
# | ||
# Cookbook Name:: rs-application_php | ||
# Recipe:: application_backend_detached | ||
|
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,3 +1,4 @@ | ||
# frozen_string_literal: true | ||
# | ||
# Cookbook Name:: rs-application_php | ||
# Recipe:: collectd | ||
|
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,3 +1,4 @@ | ||
# frozen_string_literal: true | ||
# | ||
# Cookbook Name:: rs-application_php | ||
# Recipe:: tags | ||
|
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,3 +1,4 @@ | ||
# frozen_string_literal: true | ||
require_relative 'spec_helper' | ||
require_relative '../libraries/helper' | ||
|
||
|
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,3 +1,4 @@ | ||
# frozen_string_literal: true | ||
# | ||
# Cookbook Name:: rs-haproxy | ||
# Spec:: spec_helper | ||
|
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,3 +1,4 @@ | ||
# frozen_string_literal: true | ||
source 'https://supermarket.chef.io' | ||
|
||
metadata |
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,3 +1,4 @@ | ||
# frozen_string_literal: true | ||
# | ||
# Cookbook Name:: fake | ||
# Attribute:: default | ||
|
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,2 @@ | ||
[client] | ||
socket = /var/run/mysql-default/mysqld.sock |
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,2 @@ | ||
[mysql] | ||
mysql.default_socket = '/var/run/mysql-default/mysqld.sock' |
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,3 +1,4 @@ | ||
# frozen_string_literal: true | ||
name 'fake' | ||
maintainer 'RightScale, Inc.' | ||
maintainer_email '[email protected]' | ||
|
@@ -6,6 +7,9 @@ | |
version '0.1.0' | ||
|
||
depends 'database' | ||
depends 'mysql', '~> 8.2' | ||
depends 'mysql2_chef_gem' | ||
depends 'yum-mysql-community' | ||
|
||
recipe 'fake::database_mysql', 'Prepares the test mysql database' | ||
recipe 'fake::create_secrets', 'creates rightlink secrets' |
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,3 +1,4 @@ | ||
# frozen_string_literal: true | ||
directory '/var/run/rightlink' do | ||
owner 'root' | ||
group 'root' | ||
|
Oops, something went wrong.