diff --git a/manifests/nginx_prometheus_exporter.pp b/manifests/nginx_prometheus_exporter.pp index 695dd4819..81ff8d61f 100644 --- a/manifests/nginx_prometheus_exporter.pp +++ b/manifests/nginx_prometheus_exporter.pp @@ -97,7 +97,7 @@ default => undef, } - $options = "-nginx.scrape-uri '${scrape_uri}' ${extra_options}" + $options = "--nginx.scrape-uri '${scrape_uri}' ${extra_options}" if $install_method == 'url' { # Not a big fan of copypasting but prometheus::daemon takes for granted