Skip to content

Commit

Permalink
fixes #5833 - suggested command do not work when created new trend co…
Browse files Browse the repository at this point in the history
…unter
  • Loading branch information
Joseph Magen authored and dLobatog committed Oct 2, 2014
1 parent 61750a4 commit c08d8db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/trends/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<p><strong><%= _("No trend counter defined.") %></strong></p>

<p><%= _("To define trend counters, use the Add Trend Counter button.") %><br>
<%= _("To start collecting trend data, set a cron job to execute 'rake trends:counter' every Puppet Interval (%s minutes).") % Setting.puppet_interval %></p>
<%= (_("To start collecting trend data, set a cron job to execute 'foreman-rake trends:counter' every Puppet Interval (%s minutes).") % Setting.puppet_interval).html_safe %></p>
</div>
<% end %>
Expand All @@ -18,7 +18,7 @@

<p><strong><%= _("No trend counter found.") %></strong></p>

<p><%= ( _("To start collecting trend data, set a cron job to execute <span class='black'>RAILS_ENV=production bundle exec rake trends:counter</span> every Puppet Interval (%s minutes)") % Setting.puppet_interval).html_safe %>
<p><%= ( _("To start collecting trend data, set a cron job to execute <span class='black'>foreman-rake trends:counter</span> every Puppet Interval (%s minutes)") % Setting.puppet_interval).html_safe %>
</p>
</div>
<% end %>
Expand Down

0 comments on commit c08d8db

Please sign in to comment.