ncio 1.2.0 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.travis.yml +2 -0
- data/CHANGELOG.md +9 -0
- data/lib/ncio/support/option_parsing.rb +2 -2
- data/lib/ncio/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 20233fc709a01d51184b10215692e54d696c171d
|
4
|
+
data.tar.gz: a8e52b9ba661dc78b8d2fe84bfa43651fe2f1d69
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7f9f4415dacc1480ce243593fbcc96cdf9abf02faf7d8c9feb31237daaf1b20a83005be5a61b97903053dc88c4fe52e2f50e7d4f253101e1fefb93c73f326064
|
7
|
+
data.tar.gz: 4485600f5a8475979367893ea7978d0b5fc7e60cfae6f8b9c396f50cfd38b7f1d68d1001cfcc335143b6e8f68a73b51f34559feb58de7f48cc7b50880cc4a549
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,12 @@
|
|
1
|
+
Version 2.0.0
|
2
|
+
===
|
3
|
+
|
4
|
+
* Make fqdn certificate the default if it exists, fall back to
|
5
|
+
pe-internal-orchestrator if not. This makes ncio more robust when the SSL
|
6
|
+
directory is copied from a PE install which had the orchestrator enabled and
|
7
|
+
the new PE install does not have the orchestrator enabled. In such a
|
8
|
+
situation only the FQDN certificate is listed in the whitelist.
|
9
|
+
|
1
10
|
Version 1.2.0
|
2
11
|
===
|
3
12
|
|
@@ -174,7 +174,7 @@ module Ncio
|
|
174
174
|
end
|
175
175
|
|
176
176
|
def certname
|
177
|
-
NAMES.find { |n| Ncio::Support::OptionParsing.pem_exists?(n) } || NAMES.
|
177
|
+
NAMES.find { |n| Ncio::Support::OptionParsing.pem_exists?(n) } || NAMES.first
|
178
178
|
end
|
179
179
|
|
180
180
|
def cert_default
|
@@ -209,7 +209,7 @@ Global options: (Note, command line arguments supersede ENV vars in {}'s)
|
|
209
209
|
EOBANNER
|
210
210
|
|
211
211
|
# Names used to look for the default client certificate
|
212
|
-
NAMES = ['pe-internal-orchestrator'
|
212
|
+
NAMES = [Socket.gethostname.downcase, 'pe-internal-orchestrator']
|
213
213
|
|
214
214
|
SSLDIR = '/etc/puppetlabs/puppet/ssl'.freeze
|
215
215
|
|
data/lib/ncio/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ncio
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jeff McCune
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-04-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -177,7 +177,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
177
177
|
version: '0'
|
178
178
|
requirements: []
|
179
179
|
rubyforge_project:
|
180
|
-
rubygems_version: 2.
|
180
|
+
rubygems_version: 2.4.5.1
|
181
181
|
signing_key:
|
182
182
|
specification_version: 4
|
183
183
|
summary: Puppet Node Classifier backup / restore / transform
|