simp-cli 1.0.12

Sign up to get free protection for your applications and to get access to all the features.
Files changed (150) hide show
  1. checksums.yaml +15 -0
  2. data/LICENSE +27 -0
  3. data/README.md +48 -0
  4. data/Rakefile +142 -0
  5. data/bin/simp +5 -0
  6. data/lib/simp/cli.rb +88 -0
  7. data/lib/simp/cli/commands/bootstrap.rb +275 -0
  8. data/lib/simp/cli/commands/check.rb +163 -0
  9. data/lib/simp/cli/commands/cleancerts.rb +114 -0
  10. data/lib/simp/cli/commands/config.rb +235 -0
  11. data/lib/simp/cli/commands/doc.rb +14 -0
  12. data/lib/simp/cli/commands/passgen.rb +128 -0
  13. data/lib/simp/cli/commands/puppeteval.rb +82 -0
  14. data/lib/simp/cli/commands/runpuppet.rb +95 -0
  15. data/lib/simp/cli/config/item.rb +456 -0
  16. data/lib/simp/cli/config/item/add_ldap_to_hiera.rb +43 -0
  17. data/lib/simp/cli/config/item/answers_yaml_file_writer.rb +58 -0
  18. data/lib/simp/cli/config/item/certificates.rb +39 -0
  19. data/lib/simp/cli/config/item/client_nets.rb +65 -0
  20. data/lib/simp/cli/config/item/common_runlevel_default.rb +32 -0
  21. data/lib/simp/cli/config/item/dns_search.rb +48 -0
  22. data/lib/simp/cli/config/item/dns_servers.rb +57 -0
  23. data/lib/simp/cli/config/item/failover_log_servers.rb +27 -0
  24. data/lib/simp/cli/config/item/gateway.rb +32 -0
  25. data/lib/simp/cli/config/item/grub_password.rb +51 -0
  26. data/lib/simp/cli/config/item/hostname.rb +24 -0
  27. data/lib/simp/cli/config/item/hostname_conf.rb +48 -0
  28. data/lib/simp/cli/config/item/ipaddress.rb +46 -0
  29. data/lib/simp/cli/config/item/is_master_yum_server.rb +23 -0
  30. data/lib/simp/cli/config/item/ldap_base_dn.rb +38 -0
  31. data/lib/simp/cli/config/item/ldap_bind_dn.rb +34 -0
  32. data/lib/simp/cli/config/item/ldap_bind_hash.rb +28 -0
  33. data/lib/simp/cli/config/item/ldap_bind_pw.rb +24 -0
  34. data/lib/simp/cli/config/item/ldap_master.rb +33 -0
  35. data/lib/simp/cli/config/item/ldap_root_dn.rb +42 -0
  36. data/lib/simp/cli/config/item/ldap_root_hash.rb +35 -0
  37. data/lib/simp/cli/config/item/ldap_sync_dn.rb +24 -0
  38. data/lib/simp/cli/config/item/ldap_sync_hash.rb +28 -0
  39. data/lib/simp/cli/config/item/ldap_sync_pw.rb +26 -0
  40. data/lib/simp/cli/config/item/ldap_uri.rb +43 -0
  41. data/lib/simp/cli/config/item/log_servers.rb +27 -0
  42. data/lib/simp/cli/config/item/netmask.rb +39 -0
  43. data/lib/simp/cli/config/item/network_conf.rb +63 -0
  44. data/lib/simp/cli/config/item/network_dhcp.rb +27 -0
  45. data/lib/simp/cli/config/item/network_interface.rb +41 -0
  46. data/lib/simp/cli/config/item/network_setup_nic.rb +28 -0
  47. data/lib/simp/cli/config/item/ntp_servers.rb +69 -0
  48. data/lib/simp/cli/config/item/puppet_autosign.rb +66 -0
  49. data/lib/simp/cli/config/item/puppet_ca.rb +31 -0
  50. data/lib/simp/cli/config/item/puppet_ca_port.rb +28 -0
  51. data/lib/simp/cli/config/item/puppet_conf.rb +98 -0
  52. data/lib/simp/cli/config/item/puppet_fileserver.rb +104 -0
  53. data/lib/simp/cli/config/item/puppet_hosts_entry.rb +44 -0
  54. data/lib/simp/cli/config/item/puppet_server.rb +30 -0
  55. data/lib/simp/cli/config/item/puppet_server_ip.rb +25 -0
  56. data/lib/simp/cli/config/item/puppetdb_port.rb +25 -0
  57. data/lib/simp/cli/config/item/puppetdb_server.rb +26 -0
  58. data/lib/simp/cli/config/item/remove_ldap_from_hiera.rb +47 -0
  59. data/lib/simp/cli/config/item/rename_fqdn_yaml.rb +40 -0
  60. data/lib/simp/cli/config/item/rsync_base.rb +37 -0
  61. data/lib/simp/cli/config/item/rsync_server.rb +44 -0
  62. data/lib/simp/cli/config/item/rsync_timeout.rb +26 -0
  63. data/lib/simp/cli/config/item/set_grub_password.rb +19 -0
  64. data/lib/simp/cli/config/item/simp_yum_servers.rb +30 -0
  65. data/lib/simp/cli/config/item/use_auditd.rb +19 -0
  66. data/lib/simp/cli/config/item/use_fips.rb +46 -0
  67. data/lib/simp/cli/config/item/use_iptables.rb +22 -0
  68. data/lib/simp/cli/config/item/use_ldap.rb +19 -0
  69. data/lib/simp/cli/config/item/use_selinux.rb +32 -0
  70. data/lib/simp/cli/config/item/yum_repositories.rb +75 -0
  71. data/lib/simp/cli/config/item_list_factory.rb +236 -0
  72. data/lib/simp/cli/config/questionnaire.rb +86 -0
  73. data/lib/simp/cli/config/utils.rb +128 -0
  74. data/lib/simp/cli/lib/utils.rb +114 -0
  75. data/lib/simp/simp.rb +77 -0
  76. data/spec/lib/simp/cli/commands/config_spec.rb +42 -0
  77. data/spec/lib/simp/cli/config/item/add_ldap_to_hiera_spec.rb +58 -0
  78. data/spec/lib/simp/cli/config/item/answers_yaml_file_writer_spec.rb +86 -0
  79. data/spec/lib/simp/cli/config/item/certificates_spec.rb +50 -0
  80. data/spec/lib/simp/cli/config/item/client_nets_spec.rb +66 -0
  81. data/spec/lib/simp/cli/config/item/common_runlevel_default_spec.rb +27 -0
  82. data/spec/lib/simp/cli/config/item/dns_search_spec.rb +74 -0
  83. data/spec/lib/simp/cli/config/item/dns_servers_spec.rb +76 -0
  84. data/spec/lib/simp/cli/config/item/failover_log_servers_spec.rb +49 -0
  85. data/spec/lib/simp/cli/config/item/files/FakeCA/cacertkey +1 -0
  86. data/spec/lib/simp/cli/config/item/files/FakeCA/gencerts_nopass.sh +10 -0
  87. data/spec/lib/simp/cli/config/item/files/autosign.conf.new +11 -0
  88. data/spec/lib/simp/cli/config/item/files/autosign.conf.used +15 -0
  89. data/spec/lib/simp/cli/config/item/files/fileserver.conf +41 -0
  90. data/spec/lib/simp/cli/config/item/files/hosts +2 -0
  91. data/spec/lib/simp/cli/config/item/files/hosts.old_puppet_entry +3 -0
  92. data/spec/lib/simp/cli/config/item/files/puppet.conf +25 -0
  93. data/spec/lib/simp/cli/config/item/files/puppet.your.domain.yaml +21 -0
  94. data/spec/lib/simp/cli/config/item/files/resolv.conf__multiple +10 -0
  95. data/spec/lib/simp/cli/config/item/files/resolv.conf__single +4 -0
  96. data/spec/lib/simp/cli/config/item/files/rsyncd.conf +225 -0
  97. data/spec/lib/simp/cli/config/item/gateway_spec.rb +23 -0
  98. data/spec/lib/simp/cli/config/item/grub_password_spec.rb +24 -0
  99. data/spec/lib/simp/cli/config/item/hostname_conf_spec.rb +27 -0
  100. data/spec/lib/simp/cli/config/item/hostname_spec.rb +22 -0
  101. data/spec/lib/simp/cli/config/item/ipaddress_spec.rb +40 -0
  102. data/spec/lib/simp/cli/config/item/is_master_yum_server_spec.rb +29 -0
  103. data/spec/lib/simp/cli/config/item/ldap_base_dn_spec.rb +23 -0
  104. data/spec/lib/simp/cli/config/item/ldap_bind_dn_spec.rb +23 -0
  105. data/spec/lib/simp/cli/config/item/ldap_bind_hash_spec.rb +23 -0
  106. data/spec/lib/simp/cli/config/item/ldap_bind_pw_spec.rb +21 -0
  107. data/spec/lib/simp/cli/config/item/ldap_master_spec.rb +37 -0
  108. data/spec/lib/simp/cli/config/item/ldap_root_dn_spec.rb +23 -0
  109. data/spec/lib/simp/cli/config/item/ldap_root_hash_spec.rb +23 -0
  110. data/spec/lib/simp/cli/config/item/ldap_sync_dn_spec.rb +22 -0
  111. data/spec/lib/simp/cli/config/item/ldap_sync_hash_spec.rb +23 -0
  112. data/spec/lib/simp/cli/config/item/ldap_sync_pw_spec.rb +21 -0
  113. data/spec/lib/simp/cli/config/item/ldap_uri_spec.rb +32 -0
  114. data/spec/lib/simp/cli/config/item/log_servers_spec.rb +49 -0
  115. data/spec/lib/simp/cli/config/item/netmask_spec.rb +28 -0
  116. data/spec/lib/simp/cli/config/item/network_conf_spec.rb +63 -0
  117. data/spec/lib/simp/cli/config/item/network_dhcp_spec.rb +11 -0
  118. data/spec/lib/simp/cli/config/item/network_interface_spec.rb +26 -0
  119. data/spec/lib/simp/cli/config/item/network_setup_nic_spec.rb +29 -0
  120. data/spec/lib/simp/cli/config/item/ntp_servers_spec.rb +43 -0
  121. data/spec/lib/simp/cli/config/item/puppet_autosign_spec.rb +55 -0
  122. data/spec/lib/simp/cli/config/item/puppet_ca_port_spec.rb +23 -0
  123. data/spec/lib/simp/cli/config/item/puppet_ca_spec.rb +22 -0
  124. data/spec/lib/simp/cli/config/item/puppet_conf_spec.rb +110 -0
  125. data/spec/lib/simp/cli/config/item/puppet_fileserver_spec.rb +53 -0
  126. data/spec/lib/simp/cli/config/item/puppet_hosts_entry_spec.rb +85 -0
  127. data/spec/lib/simp/cli/config/item/puppet_server_ip_spec.rb +24 -0
  128. data/spec/lib/simp/cli/config/item/puppet_server_spec.rb +22 -0
  129. data/spec/lib/simp/cli/config/item/puppetdb_port_spec.rb +25 -0
  130. data/spec/lib/simp/cli/config/item/puppetdb_server_spec.rb +25 -0
  131. data/spec/lib/simp/cli/config/item/remove_ldap_from_hiera_spec.rb +58 -0
  132. data/spec/lib/simp/cli/config/item/rename_fqdn_yaml_spec.rb +63 -0
  133. data/spec/lib/simp/cli/config/item/rsync_base_spec.rb +28 -0
  134. data/spec/lib/simp/cli/config/item/rsync_server_spec.rb +41 -0
  135. data/spec/lib/simp/cli/config/item/rsync_timeout_spec.rb +21 -0
  136. data/spec/lib/simp/cli/config/item/set_grub_password_spec.rb +29 -0
  137. data/spec/lib/simp/cli/config/item/simp_yum_servers_spec.rb +41 -0
  138. data/spec/lib/simp/cli/config/item/spec_helper.rb +22 -0
  139. data/spec/lib/simp/cli/config/item/use_auditd_spec.rb +29 -0
  140. data/spec/lib/simp/cli/config/item/use_fips_spec.rb +29 -0
  141. data/spec/lib/simp/cli/config/item/use_iptables_spec.rb +29 -0
  142. data/spec/lib/simp/cli/config/item/use_ldap_spec.rb +29 -0
  143. data/spec/lib/simp/cli/config/item/use_selinux_spec.rb +24 -0
  144. data/spec/lib/simp/cli/config/item/yum_repositories_spec.rb +94 -0
  145. data/spec/lib/simp/cli/config/item_spec.rb +106 -0
  146. data/spec/lib/simp/cli/config/spec_helper.rb +1 -0
  147. data/spec/lib/simp/cli/config/utils_spec.rb +131 -0
  148. data/spec/lib/simp/cli/spec_helper.rb +1 -0
  149. data/spec/spec_helper.rb +91 -0
  150. metadata +391 -0
@@ -0,0 +1 @@
1
+ require 'spec_helper'
@@ -0,0 +1,91 @@
1
+ # This file was generated by the `rspec --init` command. Conventionally, all
2
+ # specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
3
+ # The generated `.rspec` file contains `--require spec_helper` which will cause this
4
+ # file to always be loaded, without a need to explicitly require it in any files.
5
+ #
6
+ # Given that it is always loaded, you are encouraged to keep this file as
7
+ # light-weight as possible. Requiring heavyweight dependencies from this file
8
+ # will add to the boot time of your test suite on EVERY test run, even for an
9
+ # individual file that may not need all of that loaded. Instead, consider making
10
+ # a separate helper file that requires the additional dependencies and performs
11
+ # the additional setup, and require it from the spec files that actually need it.
12
+ #
13
+ # The `.rspec` file also contains a few flags that are not defaults but that
14
+ # users commonly want.
15
+ #
16
+ # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
17
+ RSpec.configure do |config|
18
+
19
+ $LOAD_PATH << File.expand_path( '../lib', File.dirname(__FILE__) )
20
+ # rspec-expectations config goes here. You can use an alternate
21
+ # assertion/expectation library such as wrong or the stdlib/minitest
22
+ # assertions if you prefer.
23
+ config.expect_with :rspec do |expectations|
24
+ # This option will default to `true` in RSpec 4. It makes the `description`
25
+ # and `failure_message` of custom matchers include text for helper methods
26
+ # defined using `chain`, e.g.:
27
+ # be_bigger_than(2).and_smaller_than(4).description
28
+ # # => "be bigger than 2 and smaller than 4"
29
+ # ...rather than:
30
+ # # => "be bigger than 2"
31
+ expectations.include_chain_clauses_in_custom_matcher_descriptions = true
32
+ end
33
+
34
+ # rspec-mocks config goes here. You can use an alternate test double
35
+ # library (such as bogus or mocha) by changing the `mock_with` option here.
36
+ config.mock_with :rspec do |mocks|
37
+ # Prevents you from mocking or stubbing a method that does not exist on
38
+ # a real object. This is generally recommended, and will default to
39
+ # `true` in RSpec 4.
40
+ mocks.verify_partial_doubles = true
41
+ end
42
+
43
+ # The settings below are suggested to provide a good initial experience
44
+ # with RSpec, but feel free to customize to your heart's content.
45
+ =begin
46
+ # These two settings work together to allow you to limit a spec run
47
+ # to individual examples or groups you care about by tagging them with
48
+ # `:focus` metadata. When nothing is tagged with `:focus`, all examples
49
+ # get run.
50
+ config.filter_run :focus
51
+ config.run_all_when_everything_filtered = true
52
+
53
+ # Limits the available syntax to the non-monkey patched syntax that is recommended.
54
+ # For more details, see:
55
+ # - http://myronmars.to/n/dev-blog/2012/06/rspecs-new-expectation-syntax
56
+ # - http://teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
57
+ # - http://myronmars.to/n/dev-blog/2014/05/notable-changes-in-rspec-3#new__config_option_to_disable_rspeccore_monkey_patching
58
+ config.disable_monkey_patching!
59
+
60
+ # This setting enables warnings. It's recommended, but in some cases may
61
+ # be too noisy due to issues in dependencies.
62
+ config.warnings = true
63
+
64
+ # Many RSpec users commonly either run the entire suite or an individual
65
+ # file, and it's useful to allow more verbose output when running an
66
+ # individual spec file.
67
+ if config.files_to_run.one?
68
+ # Use the documentation formatter for detailed output,
69
+ # unless a formatter has already been configured
70
+ # (e.g. via a command-line flag).
71
+ config.default_formatter = 'doc'
72
+ end
73
+
74
+ # Print the 10 slowest examples and example groups at the
75
+ # end of the spec run, to help surface which specs are running
76
+ # particularly slow.
77
+ config.profile_examples = 10
78
+
79
+ # Run specs in random order to surface order dependencies. If you find an
80
+ # order dependency and want to debug it, you can fix the order by providing
81
+ # the seed, which is printed after each run.
82
+ # --seed 1234
83
+ config.order = :random
84
+
85
+ # Seed global randomization in this process using the `--seed` CLI option.
86
+ # Setting this allows you to use `--seed` to deterministically reproduce
87
+ # test failures related to randomization by passing the same `--seed` value
88
+ # as the one that triggered the failure.
89
+ Kernel.srand config.seed
90
+ =end
91
+ end
metadata ADDED
@@ -0,0 +1,391 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: simp-cli
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.12
5
+ platform: ruby
6
+ authors:
7
+ - Trevor Vaughan
8
+ - Chris Tessmer
9
+ - Kendall Moore
10
+ - Nick Markowski
11
+ - Adam Yohrling
12
+ - Morgan Haskel
13
+ autorequire:
14
+ bindir: bin
15
+ cert_chain: []
16
+ date: 2015-11-09 00:00:00.000000000 Z
17
+ dependencies:
18
+ - !ruby/object:Gem::Dependency
19
+ name: highline
20
+ requirement: !ruby/object:Gem::Requirement
21
+ requirements:
22
+ - - ~>
23
+ - !ruby/object:Gem::Version
24
+ version: '1.6'
25
+ - - ! '>'
26
+ - !ruby/object:Gem::Version
27
+ version: 1.6.1
28
+ type: :runtime
29
+ prerelease: false
30
+ version_requirements: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - ~>
33
+ - !ruby/object:Gem::Version
34
+ version: '1.6'
35
+ - - ! '>'
36
+ - !ruby/object:Gem::Version
37
+ version: 1.6.1
38
+ - !ruby/object:Gem::Dependency
39
+ name: puppet
40
+ requirement: !ruby/object:Gem::Requirement
41
+ requirements:
42
+ - - ~>
43
+ - !ruby/object:Gem::Version
44
+ version: '3'
45
+ type: :runtime
46
+ prerelease: false
47
+ version_requirements: !ruby/object:Gem::Requirement
48
+ requirements:
49
+ - - ~>
50
+ - !ruby/object:Gem::Version
51
+ version: '3'
52
+ - !ruby/object:Gem::Dependency
53
+ name: facter
54
+ requirement: !ruby/object:Gem::Requirement
55
+ requirements:
56
+ - - ~>
57
+ - !ruby/object:Gem::Version
58
+ version: '2'
59
+ type: :runtime
60
+ prerelease: false
61
+ version_requirements: !ruby/object:Gem::Requirement
62
+ requirements:
63
+ - - ~>
64
+ - !ruby/object:Gem::Version
65
+ version: '2'
66
+ - !ruby/object:Gem::Dependency
67
+ name: rake
68
+ requirement: !ruby/object:Gem::Requirement
69
+ requirements:
70
+ - - ~>
71
+ - !ruby/object:Gem::Version
72
+ version: '10'
73
+ type: :development
74
+ prerelease: false
75
+ version_requirements: !ruby/object:Gem::Requirement
76
+ requirements:
77
+ - - ~>
78
+ - !ruby/object:Gem::Version
79
+ version: '10'
80
+ - !ruby/object:Gem::Dependency
81
+ name: rspec
82
+ requirement: !ruby/object:Gem::Requirement
83
+ requirements:
84
+ - - ~>
85
+ - !ruby/object:Gem::Version
86
+ version: '3'
87
+ type: :development
88
+ prerelease: false
89
+ version_requirements: !ruby/object:Gem::Requirement
90
+ requirements:
91
+ - - ~>
92
+ - !ruby/object:Gem::Version
93
+ version: '3'
94
+ - !ruby/object:Gem::Dependency
95
+ name: rspec-its
96
+ requirement: !ruby/object:Gem::Requirement
97
+ requirements:
98
+ - - ~>
99
+ - !ruby/object:Gem::Version
100
+ version: '1'
101
+ type: :development
102
+ prerelease: false
103
+ version_requirements: !ruby/object:Gem::Requirement
104
+ requirements:
105
+ - - ~>
106
+ - !ruby/object:Gem::Version
107
+ version: '1'
108
+ - !ruby/object:Gem::Dependency
109
+ name: guard
110
+ requirement: !ruby/object:Gem::Requirement
111
+ requirements:
112
+ - - ~>
113
+ - !ruby/object:Gem::Version
114
+ version: '2'
115
+ type: :development
116
+ prerelease: false
117
+ version_requirements: !ruby/object:Gem::Requirement
118
+ requirements:
119
+ - - ~>
120
+ - !ruby/object:Gem::Version
121
+ version: '2'
122
+ - !ruby/object:Gem::Dependency
123
+ name: guard-shell
124
+ requirement: !ruby/object:Gem::Requirement
125
+ requirements:
126
+ - - ~>
127
+ - !ruby/object:Gem::Version
128
+ version: '0'
129
+ type: :development
130
+ prerelease: false
131
+ version_requirements: !ruby/object:Gem::Requirement
132
+ requirements:
133
+ - - ~>
134
+ - !ruby/object:Gem::Version
135
+ version: '0'
136
+ - !ruby/object:Gem::Dependency
137
+ name: guard-rspec
138
+ requirement: !ruby/object:Gem::Requirement
139
+ requirements:
140
+ - - ~>
141
+ - !ruby/object:Gem::Version
142
+ version: '4'
143
+ type: :development
144
+ prerelease: false
145
+ version_requirements: !ruby/object:Gem::Requirement
146
+ requirements:
147
+ - - ~>
148
+ - !ruby/object:Gem::Version
149
+ version: '4'
150
+ - !ruby/object:Gem::Dependency
151
+ name: pry
152
+ requirement: !ruby/object:Gem::Requirement
153
+ requirements:
154
+ - - ~>
155
+ - !ruby/object:Gem::Version
156
+ version: '0'
157
+ type: :development
158
+ prerelease: false
159
+ version_requirements: !ruby/object:Gem::Requirement
160
+ requirements:
161
+ - - ~>
162
+ - !ruby/object:Gem::Version
163
+ version: '0'
164
+ - !ruby/object:Gem::Dependency
165
+ name: pry-doc
166
+ requirement: !ruby/object:Gem::Requirement
167
+ requirements:
168
+ - - ~>
169
+ - !ruby/object:Gem::Version
170
+ version: '0'
171
+ type: :development
172
+ prerelease: false
173
+ version_requirements: !ruby/object:Gem::Requirement
174
+ requirements:
175
+ - - ~>
176
+ - !ruby/object:Gem::Version
177
+ version: '0'
178
+ - !ruby/object:Gem::Dependency
179
+ name: dotenv
180
+ requirement: !ruby/object:Gem::Requirement
181
+ requirements:
182
+ - - ~>
183
+ - !ruby/object:Gem::Version
184
+ version: '1'
185
+ type: :development
186
+ prerelease: false
187
+ version_requirements: !ruby/object:Gem::Requirement
188
+ requirements:
189
+ - - ~>
190
+ - !ruby/object:Gem::Version
191
+ version: '1'
192
+ - !ruby/object:Gem::Dependency
193
+ name: rubocop
194
+ requirement: !ruby/object:Gem::Requirement
195
+ requirements:
196
+ - - ~>
197
+ - !ruby/object:Gem::Version
198
+ version: '0.29'
199
+ type: :development
200
+ prerelease: false
201
+ version_requirements: !ruby/object:Gem::Requirement
202
+ requirements:
203
+ - - ~>
204
+ - !ruby/object:Gem::Version
205
+ version: '0.29'
206
+ description: ! ' simp-cli provides the ''simp'' command to configure and manage
207
+ SIMP.
208
+
209
+ '
210
+ email: simp@simp-project.org
211
+ executables:
212
+ - simp
213
+ extensions: []
214
+ extra_rdoc_files: []
215
+ files:
216
+ - LICENSE
217
+ - README.md
218
+ - Rakefile
219
+ - bin/simp
220
+ - lib/simp/cli.rb
221
+ - lib/simp/cli/commands/bootstrap.rb
222
+ - lib/simp/cli/commands/check.rb
223
+ - lib/simp/cli/commands/cleancerts.rb
224
+ - lib/simp/cli/commands/config.rb
225
+ - lib/simp/cli/commands/doc.rb
226
+ - lib/simp/cli/commands/passgen.rb
227
+ - lib/simp/cli/commands/puppeteval.rb
228
+ - lib/simp/cli/commands/runpuppet.rb
229
+ - lib/simp/cli/config/item.rb
230
+ - lib/simp/cli/config/item/add_ldap_to_hiera.rb
231
+ - lib/simp/cli/config/item/answers_yaml_file_writer.rb
232
+ - lib/simp/cli/config/item/certificates.rb
233
+ - lib/simp/cli/config/item/client_nets.rb
234
+ - lib/simp/cli/config/item/common_runlevel_default.rb
235
+ - lib/simp/cli/config/item/dns_search.rb
236
+ - lib/simp/cli/config/item/dns_servers.rb
237
+ - lib/simp/cli/config/item/failover_log_servers.rb
238
+ - lib/simp/cli/config/item/gateway.rb
239
+ - lib/simp/cli/config/item/grub_password.rb
240
+ - lib/simp/cli/config/item/hostname.rb
241
+ - lib/simp/cli/config/item/hostname_conf.rb
242
+ - lib/simp/cli/config/item/ipaddress.rb
243
+ - lib/simp/cli/config/item/is_master_yum_server.rb
244
+ - lib/simp/cli/config/item/ldap_base_dn.rb
245
+ - lib/simp/cli/config/item/ldap_bind_dn.rb
246
+ - lib/simp/cli/config/item/ldap_bind_hash.rb
247
+ - lib/simp/cli/config/item/ldap_bind_pw.rb
248
+ - lib/simp/cli/config/item/ldap_master.rb
249
+ - lib/simp/cli/config/item/ldap_root_dn.rb
250
+ - lib/simp/cli/config/item/ldap_root_hash.rb
251
+ - lib/simp/cli/config/item/ldap_sync_dn.rb
252
+ - lib/simp/cli/config/item/ldap_sync_hash.rb
253
+ - lib/simp/cli/config/item/ldap_sync_pw.rb
254
+ - lib/simp/cli/config/item/ldap_uri.rb
255
+ - lib/simp/cli/config/item/log_servers.rb
256
+ - lib/simp/cli/config/item/netmask.rb
257
+ - lib/simp/cli/config/item/network_conf.rb
258
+ - lib/simp/cli/config/item/network_dhcp.rb
259
+ - lib/simp/cli/config/item/network_interface.rb
260
+ - lib/simp/cli/config/item/network_setup_nic.rb
261
+ - lib/simp/cli/config/item/ntp_servers.rb
262
+ - lib/simp/cli/config/item/puppet_autosign.rb
263
+ - lib/simp/cli/config/item/puppet_ca.rb
264
+ - lib/simp/cli/config/item/puppet_ca_port.rb
265
+ - lib/simp/cli/config/item/puppet_conf.rb
266
+ - lib/simp/cli/config/item/puppet_fileserver.rb
267
+ - lib/simp/cli/config/item/puppet_hosts_entry.rb
268
+ - lib/simp/cli/config/item/puppet_server.rb
269
+ - lib/simp/cli/config/item/puppet_server_ip.rb
270
+ - lib/simp/cli/config/item/puppetdb_port.rb
271
+ - lib/simp/cli/config/item/puppetdb_server.rb
272
+ - lib/simp/cli/config/item/remove_ldap_from_hiera.rb
273
+ - lib/simp/cli/config/item/rename_fqdn_yaml.rb
274
+ - lib/simp/cli/config/item/rsync_base.rb
275
+ - lib/simp/cli/config/item/rsync_server.rb
276
+ - lib/simp/cli/config/item/rsync_timeout.rb
277
+ - lib/simp/cli/config/item/set_grub_password.rb
278
+ - lib/simp/cli/config/item/simp_yum_servers.rb
279
+ - lib/simp/cli/config/item/use_auditd.rb
280
+ - lib/simp/cli/config/item/use_fips.rb
281
+ - lib/simp/cli/config/item/use_iptables.rb
282
+ - lib/simp/cli/config/item/use_ldap.rb
283
+ - lib/simp/cli/config/item/use_selinux.rb
284
+ - lib/simp/cli/config/item/yum_repositories.rb
285
+ - lib/simp/cli/config/item_list_factory.rb
286
+ - lib/simp/cli/config/questionnaire.rb
287
+ - lib/simp/cli/config/utils.rb
288
+ - lib/simp/cli/lib/utils.rb
289
+ - lib/simp/simp.rb
290
+ - spec/lib/simp/cli/commands/config_spec.rb
291
+ - spec/lib/simp/cli/config/item/add_ldap_to_hiera_spec.rb
292
+ - spec/lib/simp/cli/config/item/answers_yaml_file_writer_spec.rb
293
+ - spec/lib/simp/cli/config/item/certificates_spec.rb
294
+ - spec/lib/simp/cli/config/item/client_nets_spec.rb
295
+ - spec/lib/simp/cli/config/item/common_runlevel_default_spec.rb
296
+ - spec/lib/simp/cli/config/item/dns_search_spec.rb
297
+ - spec/lib/simp/cli/config/item/dns_servers_spec.rb
298
+ - spec/lib/simp/cli/config/item/failover_log_servers_spec.rb
299
+ - spec/lib/simp/cli/config/item/files/FakeCA/cacertkey
300
+ - spec/lib/simp/cli/config/item/files/FakeCA/gencerts_nopass.sh
301
+ - spec/lib/simp/cli/config/item/files/autosign.conf.new
302
+ - spec/lib/simp/cli/config/item/files/autosign.conf.used
303
+ - spec/lib/simp/cli/config/item/files/fileserver.conf
304
+ - spec/lib/simp/cli/config/item/files/hosts
305
+ - spec/lib/simp/cli/config/item/files/hosts.old_puppet_entry
306
+ - spec/lib/simp/cli/config/item/files/puppet.conf
307
+ - spec/lib/simp/cli/config/item/files/puppet.your.domain.yaml
308
+ - spec/lib/simp/cli/config/item/files/resolv.conf__multiple
309
+ - spec/lib/simp/cli/config/item/files/resolv.conf__single
310
+ - spec/lib/simp/cli/config/item/files/rsyncd.conf
311
+ - spec/lib/simp/cli/config/item/gateway_spec.rb
312
+ - spec/lib/simp/cli/config/item/grub_password_spec.rb
313
+ - spec/lib/simp/cli/config/item/hostname_conf_spec.rb
314
+ - spec/lib/simp/cli/config/item/hostname_spec.rb
315
+ - spec/lib/simp/cli/config/item/ipaddress_spec.rb
316
+ - spec/lib/simp/cli/config/item/is_master_yum_server_spec.rb
317
+ - spec/lib/simp/cli/config/item/ldap_base_dn_spec.rb
318
+ - spec/lib/simp/cli/config/item/ldap_bind_dn_spec.rb
319
+ - spec/lib/simp/cli/config/item/ldap_bind_hash_spec.rb
320
+ - spec/lib/simp/cli/config/item/ldap_bind_pw_spec.rb
321
+ - spec/lib/simp/cli/config/item/ldap_master_spec.rb
322
+ - spec/lib/simp/cli/config/item/ldap_root_dn_spec.rb
323
+ - spec/lib/simp/cli/config/item/ldap_root_hash_spec.rb
324
+ - spec/lib/simp/cli/config/item/ldap_sync_dn_spec.rb
325
+ - spec/lib/simp/cli/config/item/ldap_sync_hash_spec.rb
326
+ - spec/lib/simp/cli/config/item/ldap_sync_pw_spec.rb
327
+ - spec/lib/simp/cli/config/item/ldap_uri_spec.rb
328
+ - spec/lib/simp/cli/config/item/log_servers_spec.rb
329
+ - spec/lib/simp/cli/config/item/netmask_spec.rb
330
+ - spec/lib/simp/cli/config/item/network_conf_spec.rb
331
+ - spec/lib/simp/cli/config/item/network_dhcp_spec.rb
332
+ - spec/lib/simp/cli/config/item/network_interface_spec.rb
333
+ - spec/lib/simp/cli/config/item/network_setup_nic_spec.rb
334
+ - spec/lib/simp/cli/config/item/ntp_servers_spec.rb
335
+ - spec/lib/simp/cli/config/item/puppet_autosign_spec.rb
336
+ - spec/lib/simp/cli/config/item/puppet_ca_port_spec.rb
337
+ - spec/lib/simp/cli/config/item/puppet_ca_spec.rb
338
+ - spec/lib/simp/cli/config/item/puppet_conf_spec.rb
339
+ - spec/lib/simp/cli/config/item/puppet_fileserver_spec.rb
340
+ - spec/lib/simp/cli/config/item/puppet_hosts_entry_spec.rb
341
+ - spec/lib/simp/cli/config/item/puppet_server_ip_spec.rb
342
+ - spec/lib/simp/cli/config/item/puppet_server_spec.rb
343
+ - spec/lib/simp/cli/config/item/puppetdb_port_spec.rb
344
+ - spec/lib/simp/cli/config/item/puppetdb_server_spec.rb
345
+ - spec/lib/simp/cli/config/item/remove_ldap_from_hiera_spec.rb
346
+ - spec/lib/simp/cli/config/item/rename_fqdn_yaml_spec.rb
347
+ - spec/lib/simp/cli/config/item/rsync_base_spec.rb
348
+ - spec/lib/simp/cli/config/item/rsync_server_spec.rb
349
+ - spec/lib/simp/cli/config/item/rsync_timeout_spec.rb
350
+ - spec/lib/simp/cli/config/item/set_grub_password_spec.rb
351
+ - spec/lib/simp/cli/config/item/simp_yum_servers_spec.rb
352
+ - spec/lib/simp/cli/config/item/spec_helper.rb
353
+ - spec/lib/simp/cli/config/item/use_auditd_spec.rb
354
+ - spec/lib/simp/cli/config/item/use_fips_spec.rb
355
+ - spec/lib/simp/cli/config/item/use_iptables_spec.rb
356
+ - spec/lib/simp/cli/config/item/use_ldap_spec.rb
357
+ - spec/lib/simp/cli/config/item/use_selinux_spec.rb
358
+ - spec/lib/simp/cli/config/item/yum_repositories_spec.rb
359
+ - spec/lib/simp/cli/config/item_spec.rb
360
+ - spec/lib/simp/cli/config/spec_helper.rb
361
+ - spec/lib/simp/cli/config/utils_spec.rb
362
+ - spec/lib/simp/cli/spec_helper.rb
363
+ - spec/spec_helper.rb
364
+ homepage: https://github.com/NationalSecurityAgency/rubygem-simp-cli
365
+ licenses:
366
+ - Apache-2.0
367
+ metadata:
368
+ issue_tracker: https://github.com/simp/rubygem-simp-cli/issues
369
+ post_install_message:
370
+ rdoc_options: []
371
+ require_paths:
372
+ - lib
373
+ required_ruby_version: !ruby/object:Gem::Requirement
374
+ requirements:
375
+ - - ! '>='
376
+ - !ruby/object:Gem::Version
377
+ version: '0'
378
+ required_rubygems_version: !ruby/object:Gem::Requirement
379
+ requirements:
380
+ - - ! '>='
381
+ - !ruby/object:Gem::Version
382
+ version: '0'
383
+ requirements:
384
+ - SIMP OS installation
385
+ rubyforge_project:
386
+ rubygems_version: 2.4.8
387
+ signing_key:
388
+ specification_version: 4
389
+ summary: a cli interface to configure/manage SIMP
390
+ test_files: []
391
+ has_rdoc: