puppetclassify 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e9e2eb765598c7b32a3580bc52c8d4bd3ab0a29d
4
- data.tar.gz: 65c93e86f4110fc1d2527d833bc51ecfcf418a81
3
+ metadata.gz: 24cffc7fa8e47a8e736fe56d25a790e3c2a60874
4
+ data.tar.gz: 4d03c7f46734ceb251c63b07b0eeda4b6c6a3381
5
5
  SHA512:
6
- metadata.gz: f07e4e5b91bb7291f0171b68ca15013dde7a63222ca7a9c9015a4e4fa73e92752978e7a68adc64a960c2b415aba4c2b939ceecc5e25ff2ef3dca0a093c51acbe
7
- data.tar.gz: 14f896ca22003d3074766e65b863da8bfa12e9dcc567497c2d7b3678c0aff7918e8ec836d4ab3a489a121ba127168772cc391d25d7993647b15c1dc67318e8a7
6
+ metadata.gz: 0843dcbb300e3596b08dfa42531391182f7f0490b167ea18a6f323f12d125858906559269ae1f1d5c252205876071af8157d22ed6ee384f20a3c458609c2f76d
7
+ data.tar.gz: 91e4466dce0c364f03ae29f8ee79491959ff99e75d3bf9cea32df7561f6fb74a434d780017b44ced948c2cccbc29ac85c230dd2b7529ff411c8f8825ad0eb706
@@ -21,6 +21,7 @@ class Environments
21
21
 
22
22
  unless env_res.code.to_i == 201
23
23
  STDERR.puts "An error occured saving the environment: HTTP #{env_res.code} #{env_res.message}"
24
+ STDERR.puts env_res.body
24
25
  end
25
26
  end
26
27
  end
@@ -54,6 +54,7 @@ class Groups
54
54
 
55
55
  if res.code.to_i >= 400
56
56
  STDERR.puts "An error occured creating the group: HTTP #{res.code} #{res.message}"
57
+ STDERR.puts res.body
57
58
  else
58
59
  unless group_info['id']
59
60
  res['location'].split("/")[-1]
@@ -69,6 +70,7 @@ class Groups
69
70
 
70
71
  unless group_res.code.to_i == 200
71
72
  STDERR.puts "Update Group failed: HTTP #{group_res.code} #{group_res.message}"
73
+ STDERR.puts group_res.body
72
74
  end
73
75
  end
74
76
 
@@ -76,6 +78,7 @@ class Groups
76
78
  group_res = @puppet_https.delete("#{@nc_api_url}/v1/groups/#{group_id}")
77
79
  if group_res.code.to_i != 204
78
80
  STDERR.puts "An error occured deleting the group: HTTP #{group_res.code} #{group_res.message}"
81
+ STDERR.puts group_res.body
79
82
  end
80
83
  end
81
84
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: puppetclassify
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Cain