formatron 0.1.8 → 0.1.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/formatron/cloud_formation/scripts.rb +11 -1
- data/lib/formatron/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aa838c27b599f963e068ce0237499ac84df6fa86
|
4
|
+
data.tar.gz: 103620771c737d722c3d80e00ac8be9f2edcbf9b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 00c35229a64d78d4102cdd0822787710f793d88e16a92545d247a80b92094450015710d1db5c31def0baa8684fa2f76d354f503557c909485adb8c98279218d0
|
7
|
+
data.tar.gz: a78ce02b19afc19339f8923b5df1a04f01e48a2abd0994ec15d315bc2badbb5adce3377fafe1d48e779fc60dac7996cef5d48dfb7e17effc6ea3d9f9bdcec876
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Formatron
|
2
2
|
|
3
|
-
[![Build Status](https://travis-ci.org/
|
3
|
+
[![Build Status](https://travis-ci.org/formatron/formatron.svg?branch=master)](https://travis-ci.org/formatron/formatron?branch=master)
|
4
4
|
[![Coverage Status](https://coveralls.io/repos/pghalliday/formatron/badge.svg?branch=master&service=github)](https://coveralls.io/github/pghalliday/formatron?branch=master)
|
5
5
|
[![Dependency Status](https://gemnasium.com/pghalliday/formatron.svg)](https://gemnasium.com/pghalliday/formatron)
|
6
6
|
|
@@ -81,14 +81,24 @@ class Formatron
|
|
81
81
|
region = ${REGION}
|
82
82
|
EOF
|
83
83
|
|
84
|
-
mkdir -p /etc/opscode
|
84
|
+
mkdir -p /etc/opscode/chef-server.rb.d
|
85
|
+
|
85
86
|
cat << EOF > /etc/opscode/chef-server.rb
|
87
|
+
Dir[File.dirname(__FILE__) + '/chef-server.rb.d/*.rb'].each do |file|
|
88
|
+
self.instance_eval File.read(file), file
|
89
|
+
end
|
90
|
+
EOF
|
91
|
+
|
92
|
+
cat << EOF > /etc/opscode/chef-server.rb.d/s3_cookbooks_bucket.rb
|
86
93
|
bookshelf['enable'] = false
|
87
94
|
bookshelf['external_url'] = 'https://s3-${REGION}.amazonaws.com'
|
88
95
|
bookshelf['vip'] = 's3-${REGION}.amazonaws.com'
|
89
96
|
bookshelf['access_key_id'] = '${ACCESS_KEY_ID}'
|
90
97
|
bookshelf['secret_access_key'] = '${SECRET_ACCESS_KEY}'
|
91
98
|
opscode_erchef['s3_bucket'] = '#{cookbooks_bucket}'
|
99
|
+
EOF
|
100
|
+
|
101
|
+
cat << EOF > /etc/opscode/chef-server.rb.d/ssl_certificate.rb
|
92
102
|
nginx['ssl_certificate'] = '/etc/nginx/ssl/chef.crt'
|
93
103
|
nginx['ssl_certificate_key'] = '/etc/nginx/ssl/chef.key'
|
94
104
|
EOF
|
data/lib/formatron/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: formatron
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Peter Halliday
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-12-
|
11
|
+
date: 2015-12-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|