puppet-classroom-manager 0.0.6 → 0.0.7

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: 6ab528818d203f5c8e0ae7a0b496b36113bb10af
4
- data.tar.gz: 21784fd8dab254f73ffe4f62a96348a0bd896a0f
3
+ metadata.gz: e902e78cd12a8be8292806065e9aa41c92cca153
4
+ data.tar.gz: c10d300c5bb991f60b1e40d2f3caea2dc5712804
5
5
  SHA512:
6
- metadata.gz: 7a93fd6703a0ee8e0e7686a1aca0501a8e1ad846006b0dda98ad04d0dd2d1b88433a2a5ee6ef3120ba32925a8a36aaeb6bc765d48cde43da14620ed0d53d9e9a
7
- data.tar.gz: ad67c74b62309558dabf3ec4282a23da34b5842f4d2b73a74d3de5fd0c198ee91f56a83daa699533e9c23fe0de952c1ac93fda9cc42b492d6b01f0ca197cf76a
6
+ metadata.gz: fb61eb16c05429bd338dc963ad171d4e287cbe3b640e9b1d3ec6b84462722f972b4588db7c6a7ffc24fcd4ceaa7b23aa882edb03be029bf8f6f8dacdca3583c8
7
+ data.tar.gz: 2c5488434731e2cb7905203e813b4beaaf862b2221e665bd71bead572d95f08aee6217614d156b307cbdda0dff94b12af5294f1464dab1a7c093531207acea09
@@ -1,3 +1,6 @@
1
+ ## v0.0.7
2
+ * Updated paths and script names for PE 2018.1.0 LTS
3
+
1
4
  ## v0.0.6
2
5
  * Corrected troubleshooting task
3
6
 
@@ -13,7 +13,7 @@ class Classroom
13
13
  exit 1
14
14
  end
15
15
 
16
- puts "--------- You're about to page and possibly wake somone up. ---------"
16
+ puts "--------- You're about to page and possibly wake someone up. ---------"
17
17
  puts "Please check the Troubleshooting Guide for solutions to common problems."
18
18
  puts
19
19
  puts "https://github.com/puppetlabs/courseware/blob/master/TroubleshootingGuide.md"
@@ -49,7 +49,7 @@ EOF
49
49
  ssldir = '/etc/puppetlabs/puppet/ssl'
50
50
  puppetdbcerts = '/etc/puppetlabs/puppetdb/ssl'
51
51
  consolecerts = '/opt/puppetlabs/server/data/console-services/certs'
52
- pgsqlcerts = '/opt/puppetlabs/server/data/postgresql/9.4/data/certs'
52
+ pgsqlcerts = '/opt/puppetlabs/server/data/postgresql/9.6/data/certs'
53
53
  orchcerts = '/etc/puppetlabs/orchestration-services/ssl'
54
54
 
55
55
  ["puppet", "puppetdb", "console-services", "postgresql", "orchestration"].each do |path|
@@ -9,7 +9,7 @@ class Classroom
9
9
  certname = `puppet master --configprint certname`.strip
10
10
  master = `puppet agent --configprint server`.strip
11
11
  classifier = "http://#{master}:4433/classifier-api"
12
- known_groups = [ 'All Nodes', 'Agent-specified environment', 'Production environment', /PE / ]
12
+ known_groups = [ 'All Nodes', 'Agent-specified environment', 'Production environment', /^PE / ]
13
13
  known_users = [ 'admin', 'api_user', 'deployer' ]
14
14
  auth_info = {
15
15
  'ca_certificate_path' => `puppet master --configprint localcacert`.strip,
@@ -127,9 +127,8 @@ class Classroom
127
127
  puts ' * journalctl -eu abalone'
128
128
  puts ' * journalctl -eu puppetfactory'
129
129
  puts ' * journalctl -eu showoff-courseware'
130
- puts ' * reset_ssl_certificates.sh'
131
- puts ' * restart_classroom_services.rb'
132
- puts ' * dependency_nuke.rb'
130
+ puts ' * classroom reset certificates'
131
+ puts ' * classroom restart ${1}'
133
132
  puts
134
133
  puts 'Have you searched the Troubleshooting Guide for your issue?'
135
134
  puts "If you're still stuck, page the on-call support with 'classroom page'"
@@ -140,7 +139,7 @@ class Classroom
140
139
  ssldir = '/etc/puppetlabs/puppet/ssl'
141
140
  puppetdbcerts = '/etc/puppetlabs/puppetdb/ssl'
142
141
  consolecerts = '/opt/puppetlabs/server/data/console-services/certs'
143
- pgsqlcerts = '/opt/puppetlabs/server/data/postgresql/9.4/data/certs'
142
+ pgsqlcerts = '/opt/puppetlabs/server/data/postgresql/9.6/data/certs'
144
143
  orchcerts = '/etc/puppetlabs/orchestration-services/ssl'
145
144
 
146
145
  cert = same_file("#{ssldir}/certs/#{certname}.pem", [
@@ -1,3 +1,3 @@
1
1
  class Classroom
2
- VERSION = '0.0.6'
2
+ VERSION = '0.0.7'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: puppet-classroom-manager
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Ford
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-03-12 00:00:00.000000000 Z
11
+ date: 2018-06-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk
@@ -142,7 +142,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
142
142
  version: '0'
143
143
  requirements: []
144
144
  rubyforge_project:
145
- rubygems_version: 2.6.10
145
+ rubygems_version: 2.2.2
146
146
  signing_key:
147
147
  specification_version: 4
148
148
  summary: Manage Puppet classroom VMs and updating courseware.