Initial release

This commit is contained in:
2024-06-06 14:09:22 +02:00
commit b4e89583fb
11 changed files with 502 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
# Chef InSpec test for recipe strfry::default
# The Chef InSpec reference, with examples and extensive documentation, can be
# found at https://docs.chef.io/inspec/resources/
describe user('strfry') do
it { should exist }
end
describe group('strfry') do
it { should exist }
end
describe file('/usr/local/bin/strfry') do
it { should exist }
its('mode') { should cmp '00755' }
end
describe file('/etc/strfry.conf') do
it { should exist }
end
describe file('/var/lib/strfry') do
it { should be_directory }
end
describe port(7777) do
it { should be_listening }
its('addresses') { should include '0.0.0.0' }
end