stacksondeck 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (6) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +0 -1
  3. data/Readme.md +20 -2
  4. data/VERSION +1 -1
  5. data/stacksondeck.gemspec +1 -0
  6. metadata +15 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5b74bc0768e9bbc1fee2f741b53e37d9b869a712
4
- data.tar.gz: 8c6f2b9d22e9aca61137f0c80285fd9de0e2ac64
3
+ metadata.gz: 55eca50db40b351e136bd69e041ce6b98ec14db2
4
+ data.tar.gz: 715d3fd90c189719ef96a3b001c7f8df7ef3eb20
5
5
  SHA512:
6
- metadata.gz: 1175e07fdff8ba66eee5005467b678d3e153b43cab19927607621b9b0ed06d59b52aaf2edce75d2c91efe19c01944462d70928c601038182da91951edb65788e
7
- data.tar.gz: 38b8e48726f8a8fc4f6495dda9eb49fc95a759f3194577da59ac73a66a0fcbfff1126dcb4815fdcdbca23a9391b3509b988f1170e53ded58d7d10609b14c1041
6
+ metadata.gz: 7df41d4fb8b6c7502a324f3df665894f2f96f0baa2f721f95758b831a675a913f3ff5503acf5cf7149db0438f01b7ab89590430229ebab44865405a08a6936e5
7
+ data.tar.gz: 0dfa7488ee2c88a7c852957414c57815be92966fe2adc4259bd2c17d8de7f63841c3fdba292298a511ba0bcf13f94b5c9b37a653785c11efe6ee4a7ce72549d3
data/Gemfile CHANGED
@@ -3,7 +3,6 @@ source 'https://rubygems.org'
3
3
  gemspec
4
4
 
5
5
  group :development do
6
- gem 'thin'
7
6
  gem 'pry'
8
7
  gem 'rake'
9
8
  gem 'yard'
data/Readme.md CHANGED
@@ -9,6 +9,9 @@ for a configurable amount of time (`--refresh`). SOD is [crash-only software](ht
9
9
  application state is backed up to disk (`--database`). You may also wish to
10
10
  override the Rundeck user name to suit your environment (`--username`).
11
11
 
12
+ **N.B.** SOD merges a Chef node's environments, roles, and tags into Rundeck
13
+ tags. This behavior is not currently configurable.
14
+
12
15
 
13
16
  ## Usage
14
17
 
@@ -19,7 +22,7 @@ override the Rundeck user name to suit your environment (`--username`).
19
22
  sod server # Start application web server
20
23
  sod version # Echo the application version
21
24
 
22
- You're most likely inteterested in `server`:
25
+ You're most likely inteterested in the `server` command:
23
26
 
24
27
  $ sod help server
25
28
  Usage:
@@ -50,7 +53,22 @@ You're most likely inteterested in `server`:
50
53
 
51
54
  ### Node Resources `GET /`
52
55
 
53
- Renders Chef nodes as a Rundeck Resource Model in YAML format.
56
+ Renders Chef nodes as a Rundeck Resource Model in YAML format. Sample response:
57
+
58
+ ---
59
+ example-node:
60
+ hostname: example-node
61
+ description: example-node.example.com
62
+ osArch: x86_64
63
+ osVersion: '12.04'
64
+ osFamily: debian
65
+ osName: ubuntu
66
+ username: "${job.username}"
67
+ remoteUrl: http://chef-server.example.com/nodes/example-node
68
+ editUrl: http://chef-server.example.com/nodes/example-node/edit
69
+ tags:
70
+ - example-node
71
+ - example
54
72
 
55
73
 
56
74
  ## Changelog
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.1
1
+ 1.0.2
data/stacksondeck.gemspec CHANGED
@@ -19,6 +19,7 @@ Gem::Specification.new do |s|
19
19
  s.add_runtime_dependency 'sinatra', '~> 1.4'
20
20
  s.add_runtime_dependency 'daybreak', '~> 0.3'
21
21
  s.add_runtime_dependency 'ridley', '~> 4.1'
22
+ s.add_runtime_dependency 'thin', '~> 1'
22
23
 
23
24
  s.files = `git ls-files`.split("\n")
24
25
  s.test_files = `git ls-files -- test/*`.split("\n")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stacksondeck
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Clemmer
@@ -94,6 +94,20 @@ dependencies:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
96
  version: '4.1'
97
+ - !ruby/object:Gem::Dependency
98
+ name: thin
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '1'
104
+ type: :runtime
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: '1'
97
111
  description: Stupid simple Chef-Rundeck integration.
98
112
  email: sczizzo@gmail.com
99
113
  executables: