talos 0.1.4 → 0.1.5

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: dab3a4d04cdbaf2341a864339844d4d50f802306
4
- data.tar.gz: bd03b9ac3160f2d8fbfe2739ad35a664b603861f
3
+ metadata.gz: b90c35ec3dc7403cb4e22821dbef69b585e274d4
4
+ data.tar.gz: 1bff4ea4d6372fefc7022b975360453780db53e4
5
5
  SHA512:
6
- metadata.gz: 82674e70f3223c42862fceef23d0a3c3a30624f459b4a992824da9ba0e85064a0f4b0ca7ec78a3608b4fd5798e63fefbd6b10ae4494ca56012cc59ad1f2ed6ad
7
- data.tar.gz: 56ca8ed739df572e59ce4ea9f96a9f4a93ca0313c3f5b2d59c2b7c8a8861ebda0119dc438efe67a3d006d24b98e7bb01e79cfed3764c406d516fb00b85c66f16
6
+ metadata.gz: 0cadf5930f2b9b1e07c03b23bba3de8da837d1d8521051b47927ac9ccbc8bec33cfa3415b7295b19c679392c72d67e26e03b94e36728ff729fe0518eb7209f54
7
+ data.tar.gz: 9a3d28f07c8ee1e26a4dae7967c643b324919519116f2b62771a6ec560b8ec922379bd6f9e33fadcac9eb337047e1acd3d4eea5a4ab20c8e983dcce769659e2e
@@ -0,0 +1,13 @@
1
+ language: ruby
2
+ rvm:
3
+ - 1.9.3
4
+ - 2.3.0
5
+ - jruby-19mode
6
+ - rbx-3
7
+ deploy:
8
+ provider: rubygems
9
+ on:
10
+ tags: true
11
+ api_key:
12
+ secure: XFUKxH18R6lT5In7phyVsL3a5mcESrssD2dlNrQvC2TXeBGif+0sSSt7ZfRuFve5XB0Wa8ruClFxRr0uMXRqUZUKc1/VbLM2DnLLkruK8pwdu2oQI3JMdcDtMmVsVxvJViAAy3ibuKuCTF2NbU+Yg/VrwMNU+aN63zsDR44t1IU=
13
+ dist: trusty
data/README.md CHANGED
@@ -5,7 +5,8 @@ Talos
5
5
  [![Build Status](https://travis-ci.org/spotify/talos.png?branch=master)](https://travis-ci.org/spotify/talos)
6
6
 
7
7
  Talos is a rack application which servers Hiera yaml files over HTTP.
8
- It authorizes clients based on the SSL certificates issued by the Puppet CA and returns only the files in the Hiera scope.
8
+ It authorizes clients based on the SSL certificates issued by the Puppet CA and returns only the files in the
9
+ [Hiera scope](https://docs.puppetlabs.com/hiera/3.0/command_line.html#json-and-yaml-scopes).
9
10
 
10
11
  Talos is used to store and distribute secrets via Hiera to the masterless puppet clients.
11
12
 
@@ -98,6 +99,11 @@ will return only the files that match the Hiera scope of the clients.
98
99
  Installing
99
100
  ----------
100
101
 
102
+ You can use [spotify/talos](https://github.com/spotify/puppet-talos)
103
+ puppet module to install Talos.
104
+
105
+ ### Manual installation
106
+
101
107
  First, install talos using rubygems:
102
108
 
103
109
  $ gem install talos
@@ -125,7 +131,7 @@ You can run Talos using Passenger or any other application server. Make
125
131
  sure you use Puppet SSL keys to validate the client certificates and to
126
132
  forward `SSL_CLIENT_S_DN_CN` header:
127
133
 
128
- ```
134
+ ```apacheconf
129
135
  <VirtualHost *:443>
130
136
  DocumentRoot "/var/lib/talos/public"
131
137
 
@@ -159,7 +165,7 @@ participating, you are expected to honor this code.
159
165
  https://github.com/spotify/code-of-conduct/blob/master/code-of-conduct.md
160
166
 
161
167
  License
162
- -----------------
168
+ -------
163
169
  ```text
164
170
  Copyright 2013-2016 Spotify AB
165
171
 
@@ -36,7 +36,7 @@ class Talos < Sinatra::Base
36
36
  end
37
37
  end
38
38
 
39
- configure :development do
39
+ configure :development, :test do
40
40
  require 'sinatra/reloader'
41
41
  register Sinatra::Reloader
42
42
  set :hiera, Hiera::Config::load(File.expand_path('spec/fixtures/hiera.yaml'))
@@ -0,0 +1 @@
1
+ spec/fixtures/master.3fa3fd97848a72ae539b75bccd6028cd1d4e92e3
@@ -1,5 +1,5 @@
1
1
  Gem::Specification.new do |s|
2
- s.version = '0.1.4'
2
+ s.version = '0.1.5'
3
3
  s.name = 'talos'
4
4
  s.authors = ['Alexey Lapitsky', 'Johan Haals']
5
5
  s.email = 'alexey@spotify.com'
@@ -14,9 +14,9 @@ Gem::Specification.new do |s|
14
14
  s.require_paths = ['lib']
15
15
 
16
16
  s.add_dependency 'rack', '< 1.6'
17
- s.add_dependency 'sinatra'
18
- s.add_dependency 'hiera'
19
- s.add_dependency 'archive-tar-minitar'
17
+ s.add_dependency 'sinatra', '~> 1.4.7'
18
+ s.add_dependency 'hiera', '~> 3.2.0'
19
+ s.add_dependency 'archive-tar-minitar', '~> 0.5.2'
20
20
  s.add_development_dependency 'rake'
21
21
  s.add_development_dependency 'sinatra-contrib'
22
22
  s.add_development_dependency 'rspec', '>= 2.9'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: talos
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexey Lapitsky
@@ -9,104 +9,104 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-01-07 00:00:00.000000000 Z
12
+ date: 2017-12-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rack
16
16
  requirement: !ruby/object:Gem::Requirement
17
17
  requirements:
18
- - - <
18
+ - - "<"
19
19
  - !ruby/object:Gem::Version
20
20
  version: '1.6'
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
- - - <
25
+ - - "<"
26
26
  - !ruby/object:Gem::Version
27
27
  version: '1.6'
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: sinatra
30
30
  requirement: !ruby/object:Gem::Requirement
31
31
  requirements:
32
- - - '>='
32
+ - - "~>"
33
33
  - !ruby/object:Gem::Version
34
- version: '0'
34
+ version: 1.4.7
35
35
  type: :runtime
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
- - - '>='
39
+ - - "~>"
40
40
  - !ruby/object:Gem::Version
41
- version: '0'
41
+ version: 1.4.7
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: hiera
44
44
  requirement: !ruby/object:Gem::Requirement
45
45
  requirements:
46
- - - '>='
46
+ - - "~>"
47
47
  - !ruby/object:Gem::Version
48
- version: '0'
48
+ version: 3.2.0
49
49
  type: :runtime
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
- - - '>='
53
+ - - "~>"
54
54
  - !ruby/object:Gem::Version
55
- version: '0'
55
+ version: 3.2.0
56
56
  - !ruby/object:Gem::Dependency
57
57
  name: archive-tar-minitar
58
58
  requirement: !ruby/object:Gem::Requirement
59
59
  requirements:
60
- - - '>='
60
+ - - "~>"
61
61
  - !ruby/object:Gem::Version
62
- version: '0'
62
+ version: 0.5.2
63
63
  type: :runtime
64
64
  prerelease: false
65
65
  version_requirements: !ruby/object:Gem::Requirement
66
66
  requirements:
67
- - - '>='
67
+ - - "~>"
68
68
  - !ruby/object:Gem::Version
69
- version: '0'
69
+ version: 0.5.2
70
70
  - !ruby/object:Gem::Dependency
71
71
  name: rake
72
72
  requirement: !ruby/object:Gem::Requirement
73
73
  requirements:
74
- - - '>='
74
+ - - ">="
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  type: :development
78
78
  prerelease: false
79
79
  version_requirements: !ruby/object:Gem::Requirement
80
80
  requirements:
81
- - - '>='
81
+ - - ">="
82
82
  - !ruby/object:Gem::Version
83
83
  version: '0'
84
84
  - !ruby/object:Gem::Dependency
85
85
  name: sinatra-contrib
86
86
  requirement: !ruby/object:Gem::Requirement
87
87
  requirements:
88
- - - '>='
88
+ - - ">="
89
89
  - !ruby/object:Gem::Version
90
90
  version: '0'
91
91
  type: :development
92
92
  prerelease: false
93
93
  version_requirements: !ruby/object:Gem::Requirement
94
94
  requirements:
95
- - - '>='
95
+ - - ">="
96
96
  - !ruby/object:Gem::Version
97
97
  version: '0'
98
98
  - !ruby/object:Gem::Dependency
99
99
  name: rspec
100
100
  requirement: !ruby/object:Gem::Requirement
101
101
  requirements:
102
- - - '>='
102
+ - - ">="
103
103
  - !ruby/object:Gem::Version
104
104
  version: '2.9'
105
105
  type: :development
106
106
  prerelease: false
107
107
  version_requirements: !ruby/object:Gem::Requirement
108
108
  requirements:
109
- - - '>='
109
+ - - ">="
110
110
  - !ruby/object:Gem::Version
111
111
  version: '2.9'
112
112
  description: Distribute compressed hiera yaml files to authenticated puppet clients
@@ -116,8 +116,9 @@ executables: []
116
116
  extensions: []
117
117
  extra_rdoc_files: []
118
118
  files:
119
- - .gitignore
120
- - .rspec
119
+ - ".gitignore"
120
+ - ".rspec"
121
+ - ".travis.yml"
121
122
  - Gemfile
122
123
  - LICENSE
123
124
  - README.md
@@ -125,6 +126,7 @@ files:
125
126
  - config.ru
126
127
  - lib/talos.rb
127
128
  - spec/fixtures/hiera.yaml
129
+ - spec/fixtures/master
128
130
  - spec/fixtures/master.3fa3fd97848a72ae539b75bccd6028cd1d4e92e3/common.yaml
129
131
  - spec/fixtures/master.3fa3fd97848a72ae539b75bccd6028cd1d4e92e3/fqdn/foo.bar.yaml
130
132
  - spec/fixtures/master.3fa3fd97848a72ae539b75bccd6028cd1d4e92e3/role/foobar/testing.yaml
@@ -145,22 +147,23 @@ require_paths:
145
147
  - lib
146
148
  required_ruby_version: !ruby/object:Gem::Requirement
147
149
  requirements:
148
- - - '>='
150
+ - - ">="
149
151
  - !ruby/object:Gem::Version
150
152
  version: '0'
151
153
  required_rubygems_version: !ruby/object:Gem::Requirement
152
154
  requirements:
153
- - - '>='
155
+ - - ">="
154
156
  - !ruby/object:Gem::Version
155
157
  version: '0'
156
158
  requirements: []
157
159
  rubyforge_project:
158
- rubygems_version: 2.0.14
160
+ rubygems_version: 2.6.8
159
161
  signing_key:
160
162
  specification_version: 4
161
163
  summary: Hiera secrets distribution over HTTP
162
164
  test_files:
163
165
  - spec/fixtures/hiera.yaml
166
+ - spec/fixtures/master
164
167
  - spec/fixtures/master.3fa3fd97848a72ae539b75bccd6028cd1d4e92e3/common.yaml
165
168
  - spec/fixtures/master.3fa3fd97848a72ae539b75bccd6028cd1d4e92e3/fqdn/foo.bar.yaml
166
169
  - spec/fixtures/master.3fa3fd97848a72ae539b75bccd6028cd1d4e92e3/role/foobar/testing.yaml