bump... ideas?

On Thu, Feb 5, 2009 at 9:25 AM, Scott Beardsley
<sc0ttbeards...@gmail.com> wrote:
>>> [4] https://git.puppet.immerda.ch/?p=module-shorewall;a=summary
>>
>> as I'm involved in 1,2 and 4 I try to answer:
>> 1 and 4 should be nearly identical, 1 is more or less just a mirror of 4.
>> However 4 is the one which should be more uptodate.
>
> OK, I've just tried the common and shorewall modules from 4 and the
> problem persists.
>
>> both (1,2) and 4 are active in productive environments and are working fine.
>
> So it is something I'm doing wrong (this is good to hear but still 
> frustrating).
>
>> the exec referenced in you're error sounds like something wrong in the
>> common module.
>>
>> are you importing the common and the shorewall module on top of your
>> site.pp?
>
> My site.pp begins with the following line:
>
> import "modules"
>
> I have a modules.pp that has the following lines:
>
> import "common"
> import "shorewall"
> import "nodes"
>
> I'm using it like so (in nodes.pp):
>
> class firewall inherits shorewall::debian {
>        ## base interface
>        shorewall::interface {
>                'virbr1': zone => 'net';
>                'virbr0': zone => 'loc';
>        }
> ...
> }
>
> node 'fw.example.com' {
>        include firewall
> }
>
>> which common module are you using? I would suggest to use either david's
>> shorewall and david's common module together, or mine combined, but not
>> mixed up.
>
> I'm using the one from 4. Just downloaded it 5mins ago.
>
>> can you further check if the common module is doing an alias on a exec in
>> the concatenated_file that an exec named/aliased as above should be
>> generated?
>
> I believe that is what is happening. The important part of
> concatenated_file.pp is:
>
> $dir_real = $dir ? { '' => "${name}.d", default => $dir }
> ...
> exec { "concat_${name}":
>                command => "/usr/bin/find ${dir_real} -maxdepth 1
> -type f ! -name '*puppettmp' -print0 | sort -z | xargs -0 cat
> ${additional_cmd} >| ${name}",
>                refreshonly => true,
>                subscribe => [ File[$dir_real] ],
>                before => File[$name],
>                alias => [ "concat_${dir_real}"] ,
>        }
>
>> I never got any answers if people got it working in the past. Would be nice
>> to know what the reason for your problem have been and how it could be
>> fixed.
>
> Don't worry, I'm pretty determined to solve this problem. :) Thanks
> for taking the time to help!
>
> Scott
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to