Permalink
Browse files

Minor logging wording change in htoad_host

  • Loading branch information...
1 parent d1b86d8 commit 0785f34034435d4389936da74e4fb9a6fe3f8557 Yurii Rashkovskii committed with Feb 5, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 apps/htoad/src/htoad_host.erl
@@ -15,13 +15,13 @@ init(Engine, #init{}) when not {rule, [{htoad_argument, {host, _}}]} ->
linux_lsb(Engine, #file{ path="/etc/lsb-release", producer = fs, content = Content }, {operating_system_name, linux}) ->
{match, [Dist]} = re:run(Content,".*DISTRIB_ID=(.*).*",[{capture,[1],list}]),
- lager:debug("Detected Linux ~s", [Dist]),
+ lager:debug("Linux distribution: ~s", [Dist]),
htoad:assert(Engine, {linux_distribution, Dist}).
linux_redhat(Engine, #file{ path="/etc/redhat-release", producer = fs, content = Content }, {operating_system_name, linux}) ->
{match, [Dist]} = re:run(Content,".*(CentOS|RedHat).*",[{capture,[1],list}]),
- lager:debug("Detected Linux ~s", [Dist]),
+ lager:debug("Linux distribution: ~s", [Dist]),
htoad:assert(Engine, {linux_distribution, Dist}).

0 comments on commit 0785f34

Please sign in to comment.