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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6a2052b10003c3a63395281ac33811900acf2f9a
4
- data.tar.gz: 63c12430435b5780d06deb55ccedf58c8d0a8c44
3
+ metadata.gz: 20233fc709a01d51184b10215692e54d696c171d
4
+ data.tar.gz: a8e52b9ba661dc78b8d2fe84bfa43651fe2f1d69
5
5
  SHA512:
6
- metadata.gz: 9c1f4d189022e00370658084a5b8f818d6d36e0fa4e8b7a597559d41e3d8ef17403f7c7925ab8b04c2cbc0daaf07f07da7526d372cbfc28974b97fe5ed101ec1
7
- data.tar.gz: 20691eaf4dc7c983536a69ab4aaef28994be31e12f86cad8ecde2916c9381da1843fe8cadc92ee96d8aa6441d9d37a7966bfff885863c62960ac2e4b98068a1b
6
+ metadata.gz: 7f9f4415dacc1480ce243593fbcc96cdf9abf02faf7d8c9feb31237daaf1b20a83005be5a61b97903053dc88c4fe52e2f50e7d4f253101e1fefb93c73f326064
7
+ data.tar.gz: 4485600f5a8475979367893ea7978d0b5fc7e60cfae6f8b9c396f50cfd38b7f1d68d1001cfcc335143b6e8f68a73b51f34559feb58de7f48cc7b50880cc4a549
data/.travis.yml CHANGED
@@ -3,3 +3,5 @@ language: ruby
3
3
  rvm:
4
4
  - 2.2.3
5
5
  before_install: gem install bundler -v 1.12.5
6
+ notifications:
7
+ email: false
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.last
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', Socket.gethostname.downcase]
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
@@ -1,3 +1,3 @@
1
1
  module Ncio
2
- VERSION = '1.2.0'.freeze
2
+ VERSION = '2.0.0'.freeze
3
3
  end
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: 1.2.0
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: 2016-11-21 00:00:00.000000000 Z
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.2.5
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