puppetserver-ca 1.3.0 → 1.3.1

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: 868261be07fde8ea3c45c865fe605f378543c754
4
- data.tar.gz: a8e814826e1bffaa95372f8ff32e199a44ad71c6
3
+ metadata.gz: 620bfa6c11518623fbd5070910a6c119d7597f3d
4
+ data.tar.gz: e68bb09956a5248ee1644a719a04f46c23bfaabe
5
5
  SHA512:
6
- metadata.gz: a5bff259ba4ab4ead91759dbb5413273a3241127b4f48b2bb953e1554340edbfa6feb19fc8e861bec558fe7e25e2c0b9732644e63da05695c51892b70cb6c16e
7
- data.tar.gz: 4d0b7fbcc5854b2e217b8242393dfc9cb104b9bbe0e4ad8c7e8802d7fd5c32b95675a82b53d3a47469ceb460f8cf9b93b01395aee170a6384e134af889518427
6
+ metadata.gz: 4b4b9ac60fccc7b4229f8763602cdef31dd0fc031caadc822901ef15980a167e54cd7c1b434d2b6766be38bf191220e6e835a321124a5277fe79c3799e47df63
7
+ data.tar.gz: 05c098c24279c5418a5a84f62b81084694167be9d1313eec2314b5410a2f0a36914af84cfc164146c643fa86131f561e6845fceec58c20e81b9204c225a544d9
@@ -26,8 +26,8 @@ Description:
26
26
  Creates auxiliary files necessary to use the infrastructure-only CRL.
27
27
  Assumes the existence of an `infra_inventory.txt` file in the CA
28
28
  directory listing the certnames of the infrastructure nodes in the
29
- Puppet installation. Generates the `infra_serials` file and the empty
30
- CRL to be populated with revoked infrastructure nodes.
29
+ Puppet installation. Generates the the empty CRL to be populated with
30
+ revoked infrastructure nodes.
31
31
 
32
32
  Options:
33
33
  BANNER
@@ -67,14 +67,11 @@ ERR
67
67
  return [error]
68
68
  end
69
69
 
70
- serial_file = File.join(settings[:cadir], 'infra_serials')
71
70
  infra_crl = File.join(settings[:cadir], 'infra_crl.pem')
72
71
 
73
- file_errors = check_for_existing_infra_files([serial_file, infra_crl])
72
+ file_errors = check_for_existing_infra_files(infra_crl)
74
73
  return file_errors if !file_errors.empty?
75
74
 
76
- FileSystem.write_file(serial_file, '', 0644)
77
-
78
75
  errors = create_infra_crl_chain(settings)
79
76
  return errors if !errors.empty?
80
77
 
@@ -1,5 +1,5 @@
1
1
  module Puppetserver
2
2
  module Ca
3
- VERSION = "1.3.0"
3
+ VERSION = "1.3.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: puppetserver-ca
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Puppet, Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-01-16 00:00:00.000000000 Z
11
+ date: 2019-03-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: facter