ml-puppetdb-terminus 3.2.1 → 3.2.1.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.
Files changed (35) hide show
  1. checksums.yaml +4 -4
  2. data/{puppet/lib → lib}/puppet/application/storeconfigs.rb +0 -0
  3. data/{puppet/lib → lib}/puppet/face/node/deactivate.rb +0 -0
  4. data/{puppet/lib → lib}/puppet/face/node/status.rb +0 -0
  5. data/{puppet/lib → lib}/puppet/face/storeconfigs.rb +0 -0
  6. data/{puppet/lib → lib}/puppet/indirector/catalog/puppetdb.rb +0 -0
  7. data/{puppet/lib → lib}/puppet/indirector/facts/puppetdb.rb +0 -0
  8. data/{puppet/lib → lib}/puppet/indirector/facts/puppetdb_apply.rb +0 -0
  9. data/{puppet/lib → lib}/puppet/indirector/node/puppetdb.rb +0 -0
  10. data/{puppet/lib → lib}/puppet/indirector/resource/puppetdb.rb +0 -0
  11. data/{puppet/lib → lib}/puppet/reports/puppetdb.rb +0 -0
  12. data/{puppet/lib → lib}/puppet/util/puppetdb.rb +0 -0
  13. data/{puppet/lib → lib}/puppet/util/puppetdb/char_encoding.rb +0 -0
  14. data/{puppet/lib → lib}/puppet/util/puppetdb/command.rb +0 -0
  15. data/{puppet/lib → lib}/puppet/util/puppetdb/command_names.rb +0 -0
  16. data/{puppet/lib → lib}/puppet/util/puppetdb/config.rb +0 -0
  17. data/{puppet/lib → lib}/puppet/util/puppetdb/http.rb +0 -0
  18. metadata +17 -48
  19. data/puppet/spec/README.markdown +0 -8
  20. data/puppet/spec/spec.opts +0 -6
  21. data/puppet/spec/spec_helper.rb +0 -38
  22. data/puppet/spec/unit/face/node/deactivate_spec.rb +0 -28
  23. data/puppet/spec/unit/face/node/status_spec.rb +0 -43
  24. data/puppet/spec/unit/face/storeconfigs_spec.rb +0 -199
  25. data/puppet/spec/unit/indirector/catalog/puppetdb_spec.rb +0 -703
  26. data/puppet/spec/unit/indirector/facts/puppetdb_apply_spec.rb +0 -27
  27. data/puppet/spec/unit/indirector/facts/puppetdb_spec.rb +0 -347
  28. data/puppet/spec/unit/indirector/node/puppetdb_spec.rb +0 -61
  29. data/puppet/spec/unit/indirector/resource/puppetdb_spec.rb +0 -199
  30. data/puppet/spec/unit/reports/puppetdb_spec.rb +0 -249
  31. data/puppet/spec/unit/util/puppetdb/char_encoding_spec.rb +0 -212
  32. data/puppet/spec/unit/util/puppetdb/command_spec.rb +0 -98
  33. data/puppet/spec/unit/util/puppetdb/config_spec.rb +0 -227
  34. data/puppet/spec/unit/util/puppetdb/http_spec.rb +0 -138
  35. data/puppet/spec/unit/util/puppetdb_spec.rb +0 -33
@@ -1,33 +0,0 @@
1
- #!/usr/bin/env rspec
2
- # encoding: UTF-8
3
-
4
- require 'spec_helper'
5
- require 'digest/sha1'
6
- require 'puppet/util/puppetdb'
7
- require 'puppet/util/puppetdb/command_names'
8
-
9
- Command = Puppet::Util::Puppetdb::Command
10
-
11
-
12
- describe Puppet::Util::Puppetdb do
13
- subject { Object.new.extend described_class }
14
-
15
- describe "#submit_command" do
16
- let(:payload) { {'resistance' => 'futile', 'opinion' => 'irrelevant'} }
17
- let(:command1) { Command.new("OPEN SESAME", 1, 'foo.localdomain',
18
- payload.merge(:uniqueprop => "command1")) }
19
-
20
- it "should submit the command" do
21
- # careful here... since we're going to stub Command.new, we need to
22
- # make sure we reference command1 first, because it calls Command.new.
23
- command1.expects(:submit).once
24
- Command.expects(:new).once.returns(command1)
25
- subject.submit_command(command1.certname,
26
- command1.payload,
27
- command1.command,
28
- command1.version)
29
- end
30
-
31
- end
32
-
33
- end