[j-nsp] SLAX scripts configured with apply-groups will not source refresh

Chris Wopat me at falz.net
Wed Jun 20 08:49:54 EDT 2018


Hi folks,

We're attempting to define much of system{} with an apply-group to help 
keep things standardized. A portion of this is the slax scripts, which 
we use for a variety of things.

Everything seems to work fine, with one exception - you cannot refresh 
the scripts using their defined source. These commands don't even attempt

	set system scripts commit refresh
	set system scripts op refresh

Example config is something like:

################################################
groups {
   system-standards {
     system {
       scripts {
         commit {
             allow-transients;
             file annotate-igp.slax {
                 source http://cvs.falz.net/annotate-igp.slax;
             }
         }
         op {
             file write-jnxUtil.slax {
                 source http://cvs.falz.net/write-jnxUtil.slax;
             }
         }
         synchronize;
       }
     }
   }
}

system {
    apply-groups system-standards;
}
################################################


show system | display inheritance shows the source URLs properly.

Is there an additional config knob required to tweak, or is this simply 
broken for some reason? This was tested on MX 16.1R7, QFX 14.1X53-D47.3, 
and EX 12.3R12-S7.

Thanks,
Chris


More information about the juniper-nsp mailing list