From ba42dfeaa80936afb0573c8e8e2ebef6926597a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Tarti=C3=A8re?= Date: Wed, 22 Nov 2023 16:35:49 -1000 Subject: [PATCH] Remove legacy top-scope syntax --- README.md | 2 +- REFERENCE.md | 4 ++-- manifests/certificates.pp | 2 +- manifests/configs.pp | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 9b4bc22d..5cb4063c 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ class { 'openssl': Create certificates (see the x509 defined type): ```puppet -class { '::openssl::certificates': +class { 'openssl::certificates': x509_certs => { '/path/to/certificate.crt' => { ensure => 'present', password => 'j(D$', template => '/other/path/to/template.cnf', diff --git a/REFERENCE.md b/REFERENCE.md index 4cbbdf3d..2d04b4d0 100644 --- a/REFERENCE.md +++ b/REFERENCE.md @@ -92,7 +92,7 @@ Generates x509 certificates based on class parameters ##### basic usage ```puppet -class { '::openssl::certificate': +class { 'openssl::certificate': x509_certs => { '/path/to/certificate.crt' => { ensure => 'present', password => 'j(D$', template => '/other/path/to/template.cnf', @@ -127,7 +127,7 @@ Generates openssl.conf files using manually set defaults or defaults from openss ##### basic usage ```puppet -class { '::openssl::configs': +class { 'openssl::configs': country => 'mycountry', conffiles => { '/path/to/openssl.conf' => { ensure => 'present', commonname => 'somewhere.org', diff --git a/manifests/certificates.pp b/manifests/certificates.pp index a56cab7e..ee159630 100644 --- a/manifests/certificates.pp +++ b/manifests/certificates.pp @@ -3,7 +3,7 @@ # @param x509_certs # # @example basic usage -# class { '::openssl::certificate': +# class { 'openssl::certificate': # x509_certs => { '/path/to/certificate.crt' => { ensure => 'present', # password => 'j(D$', # template => '/other/path/to/template.cnf', diff --git a/manifests/configs.pp b/manifests/configs.pp index bb30fe2f..86d6acc6 100644 --- a/manifests/configs.pp +++ b/manifests/configs.pp @@ -37,7 +37,7 @@ # config files to generate # # @example basic usage -# class { '::openssl::configs': +# class { 'openssl::configs': # country => 'mycountry', # conffiles => { '/path/to/openssl.conf' => { ensure => 'present', # commonname => 'somewhere.org',