Hi I get this error from this manifest: err: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find resource 'File[/home/snort/resnet/Rules/]File[/ home/snort/resnet/conf/pp]File[/home/snort/resnet/conf/pp.conf]' for relationship from 'Exec[/home/snort/bin/pulledpork -nc resnet/conf/ pp.conf]' on node mon263550.insec.auckland.ac.nz
I have resource definitions for all the files so what am I doing wrong? This is my first try at explicitly spelling out dependencies. Abbreviated contents of the manifest. class monitor { define sensor ( $name, $master, $instance, $rule_categories, $base_filter, $rule_files ) { exec { "/home/snort/bin/pulledpork -nc $master/conf/pp.conf": } file { "/home/snort/$master": ensure => directory; "/home/snort/$master/conf/barnyard.conf": ensure => present; "/home/snort/$master/conf/snort.conf": ensure=>directory; "/home/snort/$master/conf/pp.conf": ensure=>present; "/home/snort/$name.instance.conf": ensure=>present; "/home/snort/$master/conf/pp": ensure => present; "/home/snort/$master/Rules/": ensure => present; } Exec["/home/snort/bin/pulledpork -nc $master/conf/pp.conf"] -> File["/home/snort/$master/Rules/","/home/snort/$master/conf/ pp","/home/snort/$master/conf/pp.conf"] <- File["/home/snort/$master"] } } -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.