On Wed, Oct 30, 2019 at 21:15:07 +0100, Heiko Schlittermann wrote:
> Here is a working "non-working" complete example:
>
> diskfile "/dev/null"
>
> define script pre-dle {
> }
>
> define dumptype foo {
> compress client # this finds its way to foo1 -> foo2
> # script pre-dle
> }
>
> define dumptype foo-foo {
> foo
> # script pre-dle
> }
>
> define dumptype foo-foo-foo {
> foo-foo
> # script pre-dle
> }
>
> To be cecked with `amadmin <config> config --no-default
And am I correct that what's not working as expected is the SCRIPT
option in the foo-foo-foo definition?
That is, when you have "script" defined in foo but not foo-foo, the
SCRIPT value inherits as expected down to the dumped foo-foo
definition... but then doesn't get further copied down to the
foo-foo-foo definition along with the other parameters that are copied
successfully down from foo-foo?
Nathan
----------------------------------------------------------------------------
Nathan Stratton Treadway - [email protected] - Mid-Atlantic region
Ray Ontko & Co. - Software consulting services - http://www.ontko.com/
GPG Key: http://www.ontko.com/~nathanst/gpg_key.txt ID: 1023D/ECFB6239
Key fingerprint = 6AD8 485E 20B9 5C71 231C 0C32 15F3 ADCD ECFB 6239