We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6df790 commit 15b8d4cCopy full SHA for 15b8d4c
test/integration/default/controls/packages_spec.rb
@@ -0,0 +1,11 @@
1
+# frozen_string_literal: true
2
+
3
+control 'mongodb package' do
4
+ title 'should be installed'
5
6
+ pkg = 'mongodb-org'
7
8
+ describe package(pkg) do
9
+ it { should be_installed }
10
+ end
11
+end
test/integration/default/controls/services_spec.rb
@@ -0,0 +1,14 @@
+service_name = 'mongod'
+control 'mongodb service' do
+ impact 0.5
+ title 'should be installed and enabled'
+ describe service(service_name) do
+ it { should be_enabled }
12
+ it { should be_running }
13
14
0 commit comments