diff --git a/files/datadog.list b/files/datadog.list index 485ee1c5..ee736bb0 100644 --- a/files/datadog.list +++ b/files/datadog.list @@ -1 +1 @@ -deb http://apt.datadoghq.com/ stable main +deb https://apt.datadoghq.com/ stable main diff --git a/spec/classes/datadog_agent_ubuntu_spec.rb b/spec/classes/datadog_agent_ubuntu_spec.rb index 0c454789..d51ea107 100644 --- a/spec/classes/datadog_agent_ubuntu_spec.rb +++ b/spec/classes/datadog_agent_ubuntu_spec.rb @@ -8,6 +8,11 @@ } end + it do + contain_file('/etc/apt/sources.list.d/datadog.list')\ + .with_content(%r{deb\s+https://apt.datadoghq.com/\s+stable\s+main}) + end + # it should install the mirror it { should contain_exec('datadog_key') } it do