diff --git a/deployment_scripts/puppet/modules/lma_infra_alerting/manifests/nagios/vhost_cluster_status.pp b/deployment_scripts/puppet/modules/lma_infra_alerting/manifests/nagios/vhost_cluster_status.pp index 618216f..09eea0a 100644 --- a/deployment_scripts/puppet/modules/lma_infra_alerting/manifests/nagios/vhost_cluster_status.pp +++ b/deployment_scripts/puppet/modules/lma_infra_alerting/manifests/nagios/vhost_cluster_status.pp @@ -51,6 +51,6 @@ define lma_infra_alerting::nagios::vhost_cluster_status( hostname => $hostname, notifications_enabled => $notifications_enabled, contact_group => $contact_group, - services => prefix($services, "${title} "), + services => prefix($services, "${title}-"), } } diff --git a/deployment_scripts/puppet/modules/lma_infra_alerting/spec/defines/lma_infra_alerting_vhost_cluster_status_spec.rb b/deployment_scripts/puppet/modules/lma_infra_alerting/spec/defines/lma_infra_alerting_vhost_cluster_status_spec.rb index 07e82fb..03793b0 100644 --- a/deployment_scripts/puppet/modules/lma_infra_alerting/spec/defines/lma_infra_alerting_vhost_cluster_status_spec.rb +++ b/deployment_scripts/puppet/modules/lma_infra_alerting/spec/defines/lma_infra_alerting_vhost_cluster_status_spec.rb @@ -28,8 +28,8 @@ describe 'lma_infra_alerting::nagios::vhost_cluster_status' do describe 'with 2 services' do it { should contain_nagios__host('foohost') } it { should contain_lma_infra_alerting__nagios__services('footitle for foohost') } - it { should contain_nagios__service('footitle a') } - it { should contain_nagios__service('footitle b') } + it { should contain_nagios__service('footitle-a') } + it { should contain_nagios__service('footitle-b') } end end