Commit 121a42ac authored by jtimberman's avatar jtimberman
Browse files

COOK-318 use ::File instead of File in recipes

parent 5e4d28f9
......@@ -92,5 +92,5 @@
"rsyslog::client": "Sets up a client to log to a remote rsyslog server",
"rsyslog::server": "Sets up an rsyslog server"
"version": "0.9.4"
\ No newline at end of file
"version": "0.9.5"
......@@ -3,7 +3,7 @@ maintainer_email ""
license "Apache 2.0"
description "Installs and configures rsyslog"
long_description, 'README.rdoc'))
version "0.9.4"
version "0.9.5"
recipe "rsyslog", "Installs rsyslog"
recipe "rsyslog::client", "Sets up a client to log to a remote rsyslog server"
......@@ -38,6 +38,6 @@ unless node[:rsyslog][:server]
file "/etc/rsyslog.d/server.conf" do
action :delete
notifies :reload, resources(:service => "rsyslog"), :delayed
only_if do File.exists?("/etc/rsyslog.d/server.conf") end
only_if do ::File.exists?("/etc/rsyslog.d/server.conf") end
......@@ -42,7 +42,7 @@ file "/etc/rsyslog.d/remote.conf" do
action :delete
backup false
notifies :reload, resources(:service => "rsyslog"), :delayed
only_if do File.exists?("/etc/rsyslog.d/remote.conf") end
only_if do ::File.exists?("/etc/rsyslog.d/remote.conf") end
template "/etc/cron.d/rsyslog_gz" do
Supports Markdown
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