Displaying 2 results from an estimated 2 matches for "rule_categori".
Did you mean:
rule_categories
2010 Dec 07
1
dependency loops ???
..."snort.$master":
start => "/home/snort/bin/restart-snort -start $master" ,
..............
ensure => running,
require => Package[''snort''],
}
}
define sensor ( $name, $master, $instance, $rule_categories ) {
snort{ "snort.$master": master => $master }
class { pulledpork: stage => post, master => $master }
< snip>
}
and I get:
err: Could not apply complete catalog: Found dependency cycles in the
following relationships:
Exec[/home/snort/bin/pulledpork -nc conf...
2010 Nov 19
3
what are the constraints on the contents of 'imported ' files
I am trying to import a hash definition from a separate file but this
fails whereas including the text verbatim in the original manifest
works fine:
class monitor ($master, $interface) {
# import "masters.pp"
$sensor_rule_categories = {
''dmzo'' =>
[scan,finger,ftp,telnet,rpc,rservices,ddos,dns,tftp,web-
coldfusion,misc,web-php,x11,attack-responses,
oracle,mysql,pop2,pop3,bad-
traffic,dos,exploit,misc,smtp,web-misc,emerging-exploit,emerging-scan,
emerging-web,e...