diff --git a/examples/init.pp b/examples/init.pp index ddf3cc944..8043c17d1 100644 --- a/examples/init.pp +++ b/examples/init.pp @@ -9,4 +9,4 @@ # Learn more about module testing here: # http://docs.puppetlabs.com/guides/tests_smoke.html # -include ::grafana +include grafana diff --git a/manifests/install.pp b/manifests/install.pp index 74929dda3..1996736a5 100644 --- a/manifests/install.pp +++ b/manifests/install.pp @@ -71,7 +71,7 @@ if ( $::grafana::manage_package_repo ){ if !defined( Class['apt'] ) { - class { '::apt': } + include apt } apt::source { 'grafana': location => 'https://packages.grafana.com/oss/deb',