Skip to content

Commit

Permalink
[spec] fixing spec for hostname_extraction_regex in Reports.
Browse files Browse the repository at this point in the history
  • Loading branch information
truthbk committed Apr 7, 2016
1 parent e5e9b8a commit e05b0b1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions manifests/init.pp
Original file line number Diff line number Diff line change
Expand Up @@ -213,8 +213,8 @@

if $puppet_run_reports {
class { 'datadog_agent::reports':
api_key => $api_key,
puppetmaster_user => $puppetmaster_user,
api_key => $api_key,
puppetmaster_user => $puppetmaster_user,
hostname_extraction_regex => $hostname_extraction_regex,
}
}
Expand Down
1 change: 1 addition & 0 deletions spec/classes/datadog_agent_reports_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
let(:params) do
{
api_key: 'notanapikey',
hostname_extraction_regex: nil,
puppetmaster_user: 'puppet'
}
end
Expand Down

0 comments on commit e05b0b1

Please sign in to comment.