diff --git a/recipes/default.rb b/recipes/default.rb index aa2db68..c4dff9f 100644 --- a/recipes/default.rb +++ b/recipes/default.rb @@ -17,4 +17,13 @@ # limitations under the License. # -include_recipe "zabbix" \ No newline at end of file +include_recipe "zabbix" + +# This directory must exists, since some scripts will be put here in some +# recipes in this cookbook +directory node[:zabbix][:external_dir] do + mode 00755 + owner node[:zabbix][:agent][:user] + group node[:zabbix][:agent][:group] + recursive true +end