From 2749b9f48dbb2b1cbce8b3a21bebd015e90fb1c7 Mon Sep 17 00:00:00 2001 From: Tim Meusel Date: Mon, 8 Apr 2019 19:00:38 +0200 Subject: [PATCH] puppet-lint: fix relative_classname_inclusion --- examples/extract.pp | 2 +- examples/file.pp | 2 +- examples/init.pp | 2 +- manifests/extract.pp | 2 +- manifests/file.pp | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/extract.pp b/examples/extract.pp index aca9e81..29dee14 100644 --- a/examples/extract.pp +++ b/examples/extract.pp @@ -1,6 +1,6 @@ $caller_module_name = 'demo' -class { '::staging': +class { 'staging': path => '/tmp/staging', } diff --git a/examples/file.pp b/examples/file.pp index ab335fa..475cf56 100644 --- a/examples/file.pp +++ b/examples/file.pp @@ -1,6 +1,6 @@ $caller_module_name = 'demo' -class { '::staging': +class { 'staging': path => '/tmp/staging', } diff --git a/examples/init.pp b/examples/init.pp index af50cc7..3015c10 100644 --- a/examples/init.pp +++ b/examples/init.pp @@ -1 +1 @@ -include ::staging +include staging diff --git a/manifests/extract.pp b/manifests/extract.pp index b40fb37..11588df 100644 --- a/manifests/extract.pp +++ b/manifests/extract.pp @@ -15,7 +15,7 @@ $subdir = $caller_module_name #: subdir per module in staging directory. ) { - include ::staging + include staging if $source { $source_path = $source diff --git a/manifests/file.pp b/manifests/file.pp index b2429bc..21ddc78 100644 --- a/manifests/file.pp +++ b/manifests/file.pp @@ -28,7 +28,7 @@ $novalidate = false #: Whether to bypass https validation - powershell only ) { - include ::staging + include staging $quoted_source = shellquote($source)