diff --git a/manifests/os/debian.pp b/manifests/os/debian.pp
index 22360ae7e5b894f6908480df154ab4e061b5c001..9a923c668bcd7d91cc637c2b20a266057b828db5 100644
--- a/manifests/os/debian.pp
+++ b/manifests/os/debian.pp
@@ -141,6 +141,7 @@ class base::os::debian {
   # Triggered to refresh local package lists.
   exec { 'aptitude update':
     command     => 'aptitude update',
+    path        => '/usr/bin',
     refreshonly => true,
   }
 
diff --git a/templates/os/motd.erb b/templates/os/motd.erb
index 4d6649a434b9d793b5bf26793aca9ed600af14f4..44b11cc65cf3d1d1a6bf77f881e4a99807f12e5c 100644
--- a/templates/os/motd.erb
+++ b/templates/os/motd.erb
@@ -41,6 +41,6 @@
     swap.gsub!(/\s+/, '')
 -%>
 <%= host %> - <%= os %>, <%= @architecture %>
-<%= processorcount %>-core <%= processor %> (<%= product %>); <%= memory %> RAM, <%= swap %> swap
+<%= @processorcount %>-core <%= processor %> (<%= product %>); <%= memory %> RAM, <%= swap %> swap
 Puppet environment: <%= @environment %>; kernel <%= @kernelrelease %> (<%= @hardwaremodel %>)
 <%= @text -%>