beaker-answers 0.0.0 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/HISTORY.md +8 -0
- data/lib/beaker-answers/version.rb +1 -1
- data/lib/beaker-answers/versions/version30.rb +1 -1
- data/spec/beaker-answers/beaker-answers_spec.rb +2 -2
- metadata +5 -7
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
YWZjNGQyYWFmMzE5YThhMGYxYzFiMmI0YjIyMmU4NDI4YTE3MDRiOQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MTQzMzFmODc5OWRlNjNmMTEzZWY0YzgzZDcwN2FmZTM3NTgwMjMyNQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NmUxMDFjZDYzODE3N2YxZjllNjdiMGU0YTdiMWU0Y2FkNzgyOWQxMDU2YmVj
|
10
|
+
NDFmOTU4MzA0NDljM2M5N2VjOTg4MDhjNTIxNjQ3YTkxNjYwYTJmZTlhOTBh
|
11
|
+
ZTlhNTZjNWZjODg4MWQwMjM5MjlmNDlkNWU0MGRhNzZhMTYyOWY=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZjI1ZDQ0MTRmZTc3MTMwMWFlNjM1MGVhY2ZjNmQzYmY4YzM2ZDdlNGEwYWY5
|
14
|
+
ZmI5N2NjOTEzOTM3ZmJlZWY2ZjIwMDVkNmQwYWVhZWIxMGFhOGYxMDJmMjFl
|
15
|
+
NjA2MzU1YWMzODMzZDQ1ODA4OTg5MGU4NWZhODI0YzQ0OTBhZWU=
|
data/HISTORY.md
ADDED
@@ -26,7 +26,7 @@ module BeakerAnswers
|
|
26
26
|
# Everything's an agent
|
27
27
|
agent_a = {
|
28
28
|
:q_puppetagent_install => answer_for(options, :q_puppetagent_install, 'y'),
|
29
|
-
:q_puppet_cloud_install => answer_for(options, :q_puppet_cloud_install, '
|
29
|
+
:q_puppet_cloud_install => answer_for(options, :q_puppet_cloud_install, 'n'),
|
30
30
|
:q_verify_packages => answer_for(options, :q_verify_packages, 'y'),
|
31
31
|
:q_puppet_symlinks_install => answer_for(options, :q_puppet_symlinks_install, 'y'),
|
32
32
|
:q_puppetagent_certname => answer_for(options, :q_puppetagent_certname, host.to_s),
|
@@ -381,12 +381,12 @@ describe BeakerAnswers::Version30 do
|
|
381
381
|
|
382
382
|
it 'sets correct answers for an agent' do
|
383
383
|
@ver = '3.0'
|
384
|
-
expect( @answers['vm3'] ).to be === { :q_install=>"y", :q_vendor_packages_install=>"y", :q_puppetagent_install=>"y", :q_puppet_cloud_install=>"
|
384
|
+
expect( @answers['vm3'] ).to be === { :q_install=>"y", :q_vendor_packages_install=>"y", :q_puppetagent_install=>"y", :q_puppet_cloud_install=>"n", :q_verify_packages=>"y", :q_puppet_symlinks_install=>"y", :q_puppetagent_certname=>hosts[2].to_s, :q_puppetagent_server=>hosts[0].to_s, :q_puppetmaster_install=>"n", :q_all_in_one_install=>"n", :q_puppet_enterpriseconsole_install=>"n", :q_puppetdb_install=>"n", :q_database_install=>"n", :q_custom=>"LOOKLOOKLOOK" }
|
385
385
|
end
|
386
386
|
|
387
387
|
it 'sets correct answers for a master' do
|
388
388
|
@ver = '3.0'
|
389
|
-
expect( @answers['vm1'] ).to be === { :q_install=>"y", :q_vendor_packages_install=>"y", :q_puppetagent_install=>"y", :q_puppet_cloud_install=>"
|
389
|
+
expect( @answers['vm1'] ).to be === { :q_install=>"y", :q_vendor_packages_install=>"y", :q_puppetagent_install=>"y", :q_puppet_cloud_install=>"n", :q_verify_packages=>"y", :q_puppet_symlinks_install=>"y", :q_puppetagent_certname=>hosts[0].to_s, :q_puppetagent_server=>hosts[0].to_s, :q_puppetmaster_install=>"y", :q_all_in_one_install=>"y", :q_puppet_enterpriseconsole_install=>"y", :q_puppetdb_install=>"y", :q_database_install=>"y", :q_puppetdb_hostname=>hosts[0].to_s, :q_puppetdb_port=>8081, :q_puppetmaster_dnsaltnames=>"#{hosts[0].to_s},#{hosts[0][:ip]},puppet", :q_puppetmaster_enterpriseconsole_hostname=>hosts[0].to_s, :q_puppetmaster_enterpriseconsole_port=>443, :q_puppetmaster_certname=>hosts[0].to_s, :q_puppetdb_database_name=>"pe-puppetdb", :q_puppetdb_database_user=>"mYpdBu3r", :q_puppetdb_database_password=>"'~!@\#$%^*-/ aZ'", :q_puppet_enterpriseconsole_auth_database_name=>"console_auth", :q_puppet_enterpriseconsole_auth_database_user=>"mYu7hu3r", :q_puppet_enterpriseconsole_auth_database_password=>"'~!@\#$%^*-/ aZ'", :q_puppet_enterpriseconsole_database_name=>"console", :q_puppet_enterpriseconsole_database_user=>"mYc0nS03u3r", :q_puppet_enterpriseconsole_database_password=>"'~!@\#$%^*-/ aZ'", :q_database_host=>hosts[0].to_s, :q_database_port=>5432, :q_pe_database=>"y", :q_puppet_enterpriseconsole_inventory_hostname=>hosts[0].to_s, :q_puppet_enterpriseconsole_inventory_certname=>hosts[0].to_s, :q_puppet_enterpriseconsole_inventory_dnsaltnames=>hosts[0].to_s, :q_puppet_enterpriseconsole_inventory_port=>8140, :q_puppet_enterpriseconsole_master_hostname=>hosts[0].to_s, :q_puppet_enterpriseconsole_auth_user_email=>"'admin@example.com'", :q_puppet_enterpriseconsole_auth_password=>"'~!@\#$%^*-/ aZ'", :q_puppet_enterpriseconsole_httpd_port=>443, :q_puppet_enterpriseconsole_smtp_host=>"'vm1'", :q_puppet_enterpriseconsole_smtp_use_tls=>"'n'", :q_puppet_enterpriseconsole_smtp_port=>"'25'", :q_database_root_password=>"'=ZYdjiP3jCwV5eo9s1MBd'", :q_database_root_user=>"pe-postgres" }
|
390
390
|
end
|
391
391
|
|
392
392
|
it 'generates nil answers for a windows host' do
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: beaker-answers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Puppetlabs
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-08-
|
12
|
+
date: 2015-08-26 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec
|
@@ -177,6 +177,7 @@ files:
|
|
177
177
|
- .rspec
|
178
178
|
- .simplecov
|
179
179
|
- Gemfile
|
180
|
+
- HISTORY.md
|
180
181
|
- LICENSE
|
181
182
|
- README.md
|
182
183
|
- Rakefile
|
@@ -215,12 +216,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
215
216
|
version: '0'
|
216
217
|
requirements: []
|
217
218
|
rubyforge_project:
|
218
|
-
rubygems_version: 2.4.
|
219
|
+
rubygems_version: 2.4.6
|
219
220
|
signing_key:
|
220
221
|
specification_version: 4
|
221
222
|
summary: Answer generation for PE Installation!
|
222
|
-
test_files:
|
223
|
-
- spec/beaker-answers/beaker-answers_spec.rb
|
224
|
-
- spec/helpers.rb
|
225
|
-
- spec/spec_helper.rb
|
223
|
+
test_files: []
|
226
224
|
has_rdoc:
|