projects
/
arvados-formula.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix(shellinabox): renamed pam file
[arvados-formula.git]
/
test
/
integration
/
shell
/
controls
/
config_spec.rb
diff --git
a/test/integration/shell/controls/config_spec.rb
b/test/integration/shell/controls/config_spec.rb
index f0e8a7ef14b3765f71680af5fc59bc0d8dd2f8f4..54852fa5a19f930387f52390ae18dd594907bbdd 100644
(file)
--- a/
test/integration/shell/controls/config_spec.rb
+++ b/
test/integration/shell/controls/config_spec.rb
@@
-45,14
+45,14
@@
control 'shellinabox configuration' do
end
end
end
end
-control '
libpam
-arvados configuration' do
+control '
pam-shellinabox
-arvados configuration' do
title 'should match desired lines'
title 'should match desired lines'
-
libpam_stanza = <<~LIBPAM
_STANZA
+
pamshellinabox_stanza = <<~PAMSHELLINABOX
_STANZA
auth [success=1 default=ignore] /usr/lib/pam_arvados.so fixme.example.net shell.fixme.example.net
auth [success=1 default=ignore] /usr/lib/pam_arvados.so fixme.example.net shell.fixme.example.net
-
LIBPAM
_STANZA
+
PAMSHELLINABOX
_STANZA
- describe file('/etc/pam.d/
arvados
') do
+ describe file('/etc/pam.d/
shellinabox
') do
it { should be_file }
it { should be_owned_by 'root' }
it { should be_grouped_into 'root' }
it { should be_file }
it { should be_owned_by 'root' }
it { should be_grouped_into 'root' }
@@
-60,10
+60,10
@@
control 'libpam-arvados configuration' do
its('content') do
should include(
# rubocop:disable Layout/LineLength
its('content') do
should include(
# rubocop:disable Layout/LineLength
- 'File managed by Salt at <salt://arvados/shell/config/files/default/shell-
libpam-arvados
.tmpl.jinja>.'
+ 'File managed by Salt at <salt://arvados/shell/config/files/default/shell-
pam-shellinabox
.tmpl.jinja>.'
# rubocop:enable Layout/LineLength
)
end
# rubocop:enable Layout/LineLength
)
end
- its('content') { should include(
libpam
_stanza) }
+ its('content') { should include(
pamshellinabox
_stanza) }
end
end
end
end