CLI Provisioning Templates
After using FortiManager in backup mode for a few years, I am now working on configuring an ADOM in managed mode pushing full baseline configurations with CLI provisioning templates leveraging meta field variables.
So far on a new Fortigate, my CLI Template creates 4 VLAN interfaces under the fortilink interface, IP's them, pulls interface "internal5" from the internal virtual switch, and configures it as a standalone interface. The script works fine on the first run, but as I add more CLI Templates to the CLI Template Group and run it, I get an error more or less stating that "internal5" isn't in the internal virtual switch.
My question is, are these CLI Templates supposed to stay assigned to a device or should they be removed from the device after the initial provisioning? If they're supposed to stay assigned to the device, how do you handle/skip errors for work that was already done in previous runs of the script?
Denny
