diff --git a/cookbooks/fb_iproute/recipes/rt_protos.rb b/cookbooks/fb_iproute/recipes/rt_protos.rb index 726400f78..1802677ca 100644 --- a/cookbooks/fb_iproute/recipes/rt_protos.rb +++ b/cookbooks/fb_iproute/recipes/rt_protos.rb @@ -19,6 +19,14 @@ rt_protos_d_dir = '/etc/iproute2/rt_protos.d'.freeze +directory '/etc/iproute2' do + only_if { node['fb_iproute']['rt_protos_ids'] } + owner 'root' + group 'root' + mode '0755' + action :create +end + directory rt_protos_d_dir do only_if { node['fb_iproute']['rt_protos_ids'] } owner 'root'