From 478afa269fd05ca986cf82629eaca00a9cc27553 Mon Sep 17 00:00:00 2001 From: Paula McMaw Date: Fri, 19 Jan 2018 14:54:42 +0000 Subject: [PATCH] (maint) Addressing puppet-lint doc warnings Carrying this out in order to prep for making this module PDK compliant. --- manifests/backports.pp | 1 + manifests/conf.pp | 1 + manifests/params.pp | 1 + manifests/setting.pp | 1 + manifests/update.pp | 1 + 5 files changed, 5 insertions(+) diff --git a/manifests/backports.pp b/manifests/backports.pp index afd4ee1..6a7e87c 100644 --- a/manifests/backports.pp +++ b/manifests/backports.pp @@ -1,3 +1,4 @@ +# Defining backports for the apt class class apt::backports ( Optional[String] $location = undef, Optional[String] $release = undef, diff --git a/manifests/conf.pp b/manifests/conf.pp index eea0686..b791f85 100644 --- a/manifests/conf.pp +++ b/manifests/conf.pp @@ -1,3 +1,4 @@ +# Defining apt config define apt::conf ( Optional[String] $content = undef, Enum['present', 'absent'] $ensure = present, diff --git a/manifests/params.pp b/manifests/params.pp index f85b9d1..c11deba 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -1,3 +1,4 @@ +# Setting params for the module class apt::params { if $::osfamily != 'Debian' { diff --git a/manifests/setting.pp b/manifests/setting.pp index 91835cb..a7b11c4 100644 --- a/manifests/setting.pp +++ b/manifests/setting.pp @@ -1,3 +1,4 @@ +# Defining apt settings define apt::setting ( Variant[String, Integer, Array] $priority = 50, Optional[Enum['file', 'present', 'absent']] $ensure = file, diff --git a/manifests/update.pp b/manifests/update.pp index 4cc6ec5..00e0600 100644 --- a/manifests/update.pp +++ b/manifests/update.pp @@ -1,3 +1,4 @@ +# Defining apt update class apt::update { assert_private() -- 2.45.2