Initial commit
This commit is contained in:
commit
91d96ca835
20 files changed
+1367
No files matched your search
@@ -0,0 +1,22 @@
|
||||
# Class: fail2ban::spec
|
||||
#
|
||||
# This class is used only for rpsec-puppet tests
|
||||
# Can be taken as an example on how to do custom classes but should not
|
||||
# be modified.
|
||||
#
|
||||
# == Usage
|
||||
#
|
||||
# This class is not intended to be used directly.
|
||||
# Use it as reference
|
||||
#
|
||||
class fail2ban::spec inherits fail2ban {
|
||||
|
||||
# This just a test to override the arguments of an existing resource
|
||||
# Note that you can achieve this same result with just:
|
||||
# class { "fail2ban": template => "fail2ban/spec.erb" }
|
||||
|
||||
File['fail2ban.conf'] {
|
||||
content => template('fail2ban/spec.erb'),
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user