2015-04-09 20:01:23 +00:00
|
|
|
# encoding: utf-8
|
|
|
|
# copyright: 2015, Dominik Richter
|
|
|
|
# license: All rights reserved
|
|
|
|
|
2015-06-22 06:56:13 +00:00
|
|
|
Encoding.default_external = Encoding::UTF_8
|
|
|
|
Encoding.default_internal = Encoding::UTF_8
|
|
|
|
|
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-07-14 22:47:04 +00:00
|
|
|
require 'resources/env'
|
2015-07-15 13:16:10 +00:00
|
|
|
require 'resources/etc_group'
|
2015-06-21 09:23:30 +00:00
|
|
|
require 'resources/file'
|
2015-04-17 13:37:17 +00:00
|
|
|
require 'resources/group_policy'
|
2015-07-15 14:33:39 +00:00
|
|
|
require 'resources/login_def'
|
2015-04-09 20:01:23 +00:00
|
|
|
require 'resources/mysql_conf'
|
|
|
|
require 'resources/mysql_session'
|
2015-07-15 14:33:39 +00:00
|
|
|
require 'resources/parse_config'
|
2015-07-14 22:47:17 +00:00
|
|
|
require 'resources/passwd'
|
2015-04-09 20:01:23 +00:00
|
|
|
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
|