This repository was archived by the owner on Apr 8, 2021. It is now read-only.
File tree 4 files changed +38
-9
lines changed
4 files changed +38
-9
lines changed Original file line number Diff line number Diff line change 1
- # x.y.z
1
+ # 0.1.2
2
2
3
3
* Added more specific platform version specification.
4
+ * Get boulder git revision from attribute
4
5
5
6
# 0.1.1
6
7
9
10
# 0.1.0
10
11
11
12
* Initial release of ` letsencrypt-boulder-server ` , based off
12
- [ ` acme_server ` test
13
- cookbook] ( https://github.com/schubergphilis/letsencrypt/tree/master/test/fixtures/cookbooks/acme_server ) .
13
+ [ ` acme_server ` test cookbook] ( https://github.com/schubergphilis/letsencrypt/tree/master/test/fixtures/cookbooks/acme_server ) .
Original file line number Diff line number Diff line change
1
+ #
2
+ # Author:: Thijs Houtenbos <[email protected] >
3
+ # Cookbook:: chef-letsencrypt-boulder-server
4
+ # Attribute:: default
5
+ #
6
+ # Copyright 2015 Schuberg Philis
7
+ #
8
+ # Licensed under the Apache License, Version 2.0 (the "License");
9
+ # you may not use this file except in compliance with the License.
10
+ # You may obtain a copy of the License at
11
+ #
12
+ # http://www.apache.org/licenses/LICENSE-2.0
13
+ #
14
+ # Unless required by applicable law or agreed to in writing, software
15
+ # distributed under the License is distributed on an "AS IS" BASIS,
16
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17
+ # See the License for the specific language governing permissions and
18
+ # limitations under the License.
19
+ #
20
+
21
+ default [ 'boulder' ] [ 'revision' ] = 'master'
22
+
1
23
default [ 'boulder' ] [ 'config' ] [ 'boulder-config' ] [ 'va' ] [ 'portConfig' ] [ 'httpPort' ] = 80
2
24
default [ 'boulder' ] [ 'config' ] [ 'boulder-config' ] [ 'va' ] [ 'portConfig' ] [ 'httpsPort' ] = 443
3
25
default [ 'boulder' ] [ 'config' ] [ 'boulder-config' ] [ 'va' ] [ 'portConfig' ] [ 'tlsPort' ] = 443
Original file line number Diff line number Diff line change 6
6
long_description IO . read ( File . join ( File . dirname ( __FILE__ ) , 'README.md' ) )
7
7
issues_url 'https://github.com/patcon/chef-letsencrypt-boulder-server/issues'
8
8
source_url 'https://github.com/patcon/chef-letsencrypt-boulder-server'
9
- version '0.1.1 '
9
+ version '0.1.2 '
10
10
11
11
supports 'ubuntu' , '= 14.04'
12
12
supports 'centos' , '~> 7'
16
16
depends 'mariadb'
17
17
depends 'build-essential'
18
18
depends 'yum'
19
+ depends 'hostsfile'
Original file line number Diff line number Diff line change 1
1
#
2
2
# Author:: Thijs Houtenbos <[email protected] >
3
- # Cookbook:: acme_server
3
+ # Cookbook:: chef-letsencrypt-boulder-server
4
4
# Recipe:: default
5
5
#
6
6
# Copyright 2015 Schuberg Philis
33
33
end
34
34
35
35
node . default [ 'mariadb' ] [ 'use_default_repository' ] = true
36
- node . default [ 'mariadb' ] [ 'install' ] [ 'version' ] = '10.0 '
36
+ node . default [ 'mariadb' ] [ 'install' ] [ 'version' ] = '10.1 '
37
37
38
38
include_recipe 'build-essential'
39
39
include_recipe 'mariadb::server'
45
45
compile_time false
46
46
end
47
47
48
+ hostsfile_entry '127.0.0.1' do
49
+ hostname 'localhost'
50
+ aliases [ 'boulder' , 'boulder-rabbitmq' , 'boulder-mysql' ]
51
+ action :create
52
+ end
53
+
48
54
boulderdir = "#{ node [ 'go' ] [ 'gopath' ] } /src/github.com/letsencrypt/boulder"
49
55
50
56
directory ::File . dirname boulderdir do
53
59
54
60
git boulderdir do
55
61
repository 'https://github.com/letsencrypt/boulder'
56
- revision '8e6f13f189d7e7feb0f5407a9a9c63f3b644f730'
62
+ revision node [ 'boulder' ] [ 'revision' ]
57
63
action :checkout
58
64
end
59
65
80
86
bash 'boulder_setup' do
81
87
live_stream true
82
88
cwd boulderdir
83
- code 'source /etc/profile.d/golang.sh && ./test/setup.sh 2>&1 && touch setup.done'
89
+ code 'source /etc/profile.d/golang.sh && GO15VENDOREXPERIMENT=1 ./test/setup.sh 2>&1 && touch setup.done'
84
90
creates "#{ boulderdir } /setup.done"
85
91
end
86
92
87
93
bash 'run_boulder' do
88
94
live_stream true
89
95
cwd boulderdir
90
- code 'source /etc/profile.d/golang.sh && screen -LdmS boulder ./start.py'
96
+ code 'source /etc/profile.d/golang.sh && GO15VENDOREXPERIMENT=1 screen -LdmS boulder ./start.py'
91
97
not_if 'screen -list boulder | /bin/grep 1\ Socket\ in'
92
98
end
93
99
You can’t perform that action at this time.
0 commit comments