diff --git a/manifests/agent/polling.pp b/manifests/agent/polling.pp
index e2d786c1..f98391d7 100644
--- a/manifests/agent/polling.pp
+++ b/manifests/agent/polling.pp
@@ -78,7 +78,7 @@ class ceilometer::agent::polling (
     }
   }
 
-  $namespaces = [$central_namespace_name, $compute_namespace_name, $ipmi_namespace_name]
+  $namespaces = delete([$central_namespace_name, $compute_namespace_name, $ipmi_namespace_name], '')
   $namespaces_real = inline_template('<%= @namespaces.select { |x| x and x !~ /^undef/ }.compact.join "," %>')
 
   package { 'ceilometer-polling':
diff --git a/releasenotes/notes/fix_polling_agent_namespaces-6a79b7e42601f950.yaml b/releasenotes/notes/fix_polling_agent_namespaces-6a79b7e42601f950.yaml
new file mode 100644
index 00000000..c14a0f01
--- /dev/null
+++ b/releasenotes/notes/fix_polling_agent_namespaces-6a79b7e42601f950.yaml
@@ -0,0 +1,3 @@
+---
+issues:
+  - Delete blank values from ceilometer::agent::polling namespaces array.