Ask Your Question
0

How can I get Quest Ordering task 2, GSSAPIauthentication = no to work?

asked 2014-06-10 18:19:02 -0600

gearond gravatar image

I have run all the parts of the Ordering tasks, I have restarted the sshd service by hand even, but I cannot get 'quest' to recognize that I have finished the step

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted
1

answered 2014-06-30 02:44:11 -0600

emaatta gravatar image

You should set it to "yes".

You can check the task condition by running:

grep GSSAPI /root/.testing/spec/localhost/ordering_spec.rb

for me it shows:

describe "GSSAPIAuthentication" do file('/etc/ssh/sshd_config').should contain /^GSSAPIAuthentication yes/

edit flag offensive delete link more
1

answered 2014-08-13 12:15:15 -0600

Pat gravatar image

updated 2014-08-13 12:16:11 -0600

Actually, the task condition is incorrect. The lab asks us to disable it, so Puppet should make the fix and repackage the VM. Here's a diff to apply:

--- /root/.testing/spec/localhost/ordering_spec.rb.orig 2014-08-13 17:14:33.000000000 +0000
+++ /root/.testing/spec/localhost/ordering_spec.rb      2014-08-13 17:14:37.000000000 +0000
@@ -9,7 +9,7 @@

 describe "GSSAPIAuthentication" do
   it 'should be disable in the sshd config file' do
-    file('/etc/ssh/sshd_config').should contain /^GSSAPIAuthentication yes/
+    file('/etc/ssh/sshd_config').should contain /^GSSAPIAuthentication no/
   end
 end
edit flag offensive delete link more
0

answered 2014-09-10 10:27:24 -0600

Thanks for that solution. I was beating my head against a wall due to the Quest_Guide.pdf stating that we should change GSSAPIAuthentication yes to be GSSAPIAuthentication no ... it also may make sense to explain the hash # in the document and where to simply comment/un-comment the relevant code.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2014-06-10 18:19:02 -0600

Seen: 1,278 times

Last updated: Aug 13 '14