Skip to content
This repository has been archived by the owner on May 25, 2022. It is now read-only.

Commit

Permalink
#158: Disable StrictHostKeyChecking for localhost
Browse files Browse the repository at this point in the history
We want to make sure the Wetty terminal can
login automatically on the first run.
  • Loading branch information
stevenrombauts committed Jan 24, 2020
1 parent 7fe2b17 commit 4c041fa
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
6 changes: 6 additions & 0 deletions puppet/environments/box/modules/profiles/manifests/wetty.pp
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,10 @@
require => Ssh_keygen['vagrant']
}

file { '/home/vagrant/.ssh/config':
content => "Host localhost\n\tStrictHostKeyChecking no\n",
owner => vagrant,
group => vagrant
}

}
4 changes: 4 additions & 0 deletions tests/spec/default/misc.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@
describe file('/etc/apache2/joomla.box-include.conf') do
its(:content) { should match /Redirect permanent \/terminal http:\/\/joomla.box\/wetty/ }
end

describe file('/home/vagrant/.ssh/config') do
its(:content) { should match /StrictHostKeyChecking no/ }
end
end

describe '### PimpMyLog' do
Expand Down

0 comments on commit 4c041fa

Please sign in to comment.