2015-04-09 20:01:23 +00:00
|
|
|
# encoding: utf-8
|
|
|
|
# copyright: 2015, Dominik Richter
|
|
|
|
# license: All rights reserved
|
|
|
|
|
2015-06-07 19:41:54 +00:00
|
|
|
libdir = File.dirname(__FILE__)
|
|
|
|
$LOAD_PATH.unshift(libdir) unless $LOAD_PATH.include?(libdir)
|
|
|
|
|
2015-04-09 20:01:23 +00:00
|
|
|
require 'utils/spec_helper'
|
|
|
|
|
2015-06-21 14:32:42 +00:00
|
|
|
require 'vulcano/version'
|
|
|
|
require 'vulcano/resource'
|
|
|
|
require 'vulcano/rule'
|
|
|
|
require 'vulcano/rspec_json_formatter'
|
|
|
|
|
2015-04-17 13:37:17 +00:00
|
|
|
require 'resources/audit_policy'
|
2015-06-21 16:19:04 +00:00
|
|
|
require 'resources/command'
|
2015-06-21 09:23:30 +00:00
|
|
|
require 'resources/file'
|
2015-04-17 13:37:17 +00:00
|
|
|
require 'resources/group_policy'
|
2015-04-09 20:01:23 +00:00
|
|
|
require 'resources/mysql_conf'
|
|
|
|
require 'resources/mysql_session'
|
|
|
|
require 'resources/postgres_conf'
|
|
|
|
require 'resources/postgres_session'
|
|
|
|
require 'resources/processes'
|
2015-04-17 13:37:17 +00:00
|
|
|
require 'resources/registry_key'
|
|
|
|
require 'resources/security_policy'
|
2015-04-09 20:01:23 +00:00
|
|
|
require 'resources/ssh_conf'
|
2015-06-21 09:06:39 +00:00
|
|
|
require 'matchers/matchers'
|
2015-06-07 19:41:54 +00:00
|
|
|
|
2015-04-09 20:01:23 +00:00
|
|
|
# Dummy module for handling additional attributes
|
|
|
|
# which may be injected by the user. This covers data
|
|
|
|
# like passwords, usernames, or configuration flags.
|
|
|
|
def attributes what, required: false
|
|
|
|
return nil
|
|
|
|
end
|