Skip to content
This repository was archived by the owner on Mar 28, 2019. It is now read-only.

Commit 52e7618

Browse files
committed
Drop thin support
fixes #110
1 parent 471ece0 commit 52e7618

File tree

10 files changed

+6
-169
lines changed

10 files changed

+6
-169
lines changed

.fixtures.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ fixtures:
1616
inifile: "puppetlabs/inifile"
1717
apache: "puppetlabs/apache"
1818
portage: "gentoo/portage"
19-
thin: "danieldreier/thin"
2019
puppetdb: "puppetlabs/puppetdb"
2120
symlinks:
2221
puppet: "#{source_dir}"

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ master similar to running Apache, Nginx, or MySQL using puppet.
3333
Depending on how you use this module, it can touch any of:
3434
* Puppet configuration files
3535
* Nginx or Apache configurations needed for running a master
36-
* Unicorn, Passenger, and thin configurations and init scripts
36+
* Unicorn and Passenger configurations and init scripts
3737
* PuppetDB and PostgreSQL
3838

3939
As far as possible, this module tries to use other general-purpose modules to
@@ -73,9 +73,8 @@ This should get you a puppetmaster running under `webrick` which might scale to
7373
about `10` nodes if the wind doesn't blow too hard.
7474

7575
If, however, the moon is in the next phase then you probably want to use
76-
something that scales a bit more. Your options are nginx/unicorn,
77-
apache/passenger, or nginx/thin (but thin support in this module is deprecated
78-
because nobody seems to be using it).
76+
something that scales a bit more. Your options are nginx/unicorn or
77+
apache/passenger.
7978

8079
#### Nginx/Unicorn Master
8180
The most basic setup would look something like:

manifests/server.pp

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767

6868
$service = $servertype ? {
6969
'passenger' => 'httpd',
70-
/unicorn|thin/ => 'nginx',
70+
'unicorn' => 'nginx',
7171
'standalone' => $puppet::params::master_service,
7272
}
7373

@@ -105,18 +105,11 @@
105105
$ssl_protocols = pick($serverssl_protos, 'TLSv1.2 TLSv1.1 TLSv1 SSLv3')
106106
$ssl_ciphers = pick($serverssl_ciphers, 'HIGH:!aNULL:!MD5')
107107
}
108-
'thin': {
109-
include puppet::server::thin
110-
$ssl_client_header = 'HTTP_X_CLIENT_DN'
111-
$ssl_client_verify_header = 'HTTP_X_CLIENT_VERIFY'
112-
$ssl_protocols = pick($serverssl_protos, 'TLSv1.2 TLSv1.1 TLSv1 SSLv3')
113-
$ssl_ciphers = pick($serverssl_ciphers, 'HIGH:!aNULL:!MD5')
114-
}
115108
'standalone': {
116109
include puppet::server::standalone
117110
}
118111
default: {
119-
err('Only "passenger", "thin", "unicorn" and "standalone" are valid options for servertype')
112+
err('Only "passenger", "unicorn" and "standalone" are valid options for servertype')
120113
fail('Servertype "$servertype" not implemented')
121114
}
122115
}

manifests/server/thin.pp

Lines changed: 0 additions & 88 deletions
This file was deleted.

metadata.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,6 @@
3636
"name": "jfryman/nginx",
3737
"version_requirement": ">= 0.2.0 <1.0.0"
3838
},
39-
{
40-
"name": "danieldreier/thin",
41-
"version_requirement": ">= 0.1.0 <1.0.0"
42-
},
4339
{
4440
"name": "puppetlabs/puppetdb",
4541
"version_requirement": ">= 4.1.0 <5.0.0"

spec/acceptance/thin_server_spec.rb

Lines changed: 0 additions & 32 deletions
This file was deleted.

spec/classes/server_spec.rb

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
let(:facts) { facthash }
2626

2727
context "running on #{name}" do
28-
['standalone','passenger','unicorn','thin'].each do |server_type|
28+
['standalone','passenger','unicorn'].each do |server_type|
2929
context "servertype => #{server_type}" do
3030
let(:params) {{
3131
:servertype => server_type,
@@ -68,14 +68,6 @@
6868
should contain_service('nginx').with({:ensure => "running"})
6969
should contain_service('unicorn_puppetmaster').with({:ensure => "running"})
7070
}
71-
when 'thin'
72-
it {
73-
should contain_class('puppet::server::thin')
74-
should contain_service('puppetmaster').with({ :ensure => "stopped" })
75-
should contain_service('nginx').with({:ensure => "running"})
76-
should contain_service('thin-puppetmaster').with({:ensure => "running"})
77-
should contain_file('/etc/thin.d/puppetmaster.yml')
78-
}
7971
end
8072
end
8173
end

spec/spec_helper_acceptance.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@
5252
mod 'inifile', :git => 'git://github.com/puppetlabs/puppetlabs-inifile.git'
5353
mod 'apache', :git => 'git://github.com/puppetlabs/puppetlabs-apache.git'
5454
mod 'portage', :git => 'git://github.com/gentoo/puppet-portage.git'
55-
mod 'thin', :git => 'git://github.com/danieldreier/puppet-thin.git'
5655
5756
5857
EOS

templates/vhost/nginx/thin.conf.erb

Lines changed: 0 additions & 11 deletions
This file was deleted.

tests/thin.pp

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)