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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 049951ef9db93c2170b452c87447f8a0861890fe
4
- data.tar.gz: 59ff8f53b71c207181903b4ba7362bd7bde1a3d0
3
+ metadata.gz: aa838c27b599f963e068ce0237499ac84df6fa86
4
+ data.tar.gz: 103620771c737d722c3d80e00ac8be9f2edcbf9b
5
5
  SHA512:
6
- metadata.gz: 00cfbb19687d2808ce482c3f4ae657593f4a489735ac25e1814a5de718a2ba59e96b9f49ddfa0ee709f471fcfa6f13630591910048fa8c152ebf142c098596a0
7
- data.tar.gz: fe07f387ca07b44d693df4a73d85ce5ea2f7f84e84966df14b12d4b20a652797bed4bbe3ace3faf1d0f6a1107a4f53d911856191a4b998bd87aac87727ce2ec8
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/pghalliday/formatron.svg?branch=master)](https://travis-ci.org/pghalliday/formatron?branch=master)
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
@@ -1,4 +1,4 @@
1
1
  # add version to class
2
2
  class Formatron
3
- VERSION = '0.1.8'
3
+ VERSION = '0.1.9'
4
4
  end
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.8
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-01 00:00:00.000000000 Z
11
+ date: 2015-12-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler