Commit 1b16a1f3 authored by Matt Ray's avatar Matt Ray Committed by jtimberman
Browse files

cleanups for code smell

parent e683f3f0
......@@ -2,7 +2,7 @@
# Cookbook Name:: rsyslog
# Recipe:: default
#
# Copyright 2009-2011, Opscode, Inc.
# Copyright 2009-2013, Opscode, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
......
......@@ -21,16 +21,10 @@ node.set['rsyslog']['server'] = true
include_recipe "rsyslog"
directory ::File.dirname(node['rsyslog']['log_dir']) do
owner node["rsyslog"]["user"]
group node["rsyslog"]["group"]
recursive true
mode 0755
end
directory node['rsyslog']['log_dir'] do
owner node['rsyslog']['user']
group node['rsyslog']['group']
recursive true
mode 0755
end
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment