Just upgraded from an older VyOS version 1.2.0-rolling+201808230337 to the latest rolling 1.2.0-rolling+201809111539 and notices all OpenVPN interfaces were gone.
Loading my /config/config.boot file re-added the interfaces but on commit this error appeared:
cpo@AC1# commit [ interfaces openvpn vtun20 ] Can't locate File/Slurp.pm in @INC (you may need to install the File::Slurp module) (@INC contains: /opt/vyatta/share/perl5 /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.20.2 /usr/local/share/perl/5.20.2 /usr/lib/x86_64-linux-gnu/perl5/5.20 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.20 /usr/share/perl/5.20 /usr/local/lib/site_perl .) at /opt/vyatta/share/perl5/Vyatta/OpenVPN/Config.pm line 10. BEGIN failed--compilation aborted at /opt/vyatta/share/perl5/Vyatta/OpenVPN/Config.pm line 10. Compilation failed in require at /opt/vyatta/sbin/vyatta-update-ovpn.pl line 5. BEGIN failed--compilation aborted at /opt/vyatta/sbin/vyatta-update-ovpn.pl line 5. [[interfaces openvpn vtun20]] failed [ interfaces openvpn vtun30 ] Can't locate File/Slurp.pm in @INC (you may need to install the File::Slurp module) (@INC contains: /opt/vyatta/share/perl5 /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.20.2 /usr/local/share/perl/5.20.2 /usr/lib/x86_64-linux-gnu/perl5/5.20 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.20 /usr/share/perl/5.20 /usr/local/lib/site_perl .) at /opt/vyatta/share/perl5/Vyatta/OpenVPN/Config.pm line 10. BEGIN failed--compilation aborted at /opt/vyatta/share/perl5/Vyatta/OpenVPN/Config.pm line 10. Compilation failed in require at /opt/vyatta/sbin/vyatta-update-ovpn.pl line 5. BEGIN failed--compilation aborted at /opt/vyatta/sbin/vyatta-update-ovpn.pl line 5. [[interfaces openvpn vtun30]] failed Commit failed [edit] cpo@AC1#