From f6cb433b825720b178c1452fe7b829437a11fa8c Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Thu, 16 Jan 2020 21:09:01 +0000 Subject: [PATCH] Make sure netplan is installed before trying to use it --- cookbooks/networking/recipes/default.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cookbooks/networking/recipes/default.rb b/cookbooks/networking/recipes/default.rb index afdbd7163..bd8517087 100644 --- a/cookbooks/networking/recipes/default.rb +++ b/cookbooks/networking/recipes/default.rb @@ -23,6 +23,8 @@ require "ipaddr" require "yaml" +package "netplan.io" + netplan = { "network" => { "version" => 2, -- 2.39.5