From a157f9871d7499aeea7e19f9334a5c31fb462f34 Mon Sep 17 00:00:00 2001 From: Andrew Tomaka Date: Mon, 24 Jun 2013 01:04:50 -0400 Subject: [PATCH] Pass puppet-lint tests --- manifests/init.pp | 1 + manifests/package.pp | 3 ++- manifests/package/debian.pp | 1 + manifests/params.pp | 5 ++--- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/manifests/init.pp b/manifests/init.pp index c571fb8..1bf9ca7 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -1,3 +1,4 @@ +# class git { class { 'git::package': } } diff --git a/manifests/package.pp b/manifests/package.pp index 30af954..1f7d270 100644 --- a/manifests/package.pp +++ b/manifests/package.pp @@ -1,3 +1,4 @@ +# class git::package { anchor { 'git::package::begin': } anchor { 'git::package::end': } @@ -10,7 +11,7 @@ class git::package { } } 'RedHat': { - package { 'git': + package { 'git': require => Anchor['git::package::begin'], before => Anchor['git::package::end'], } diff --git a/manifests/package/debian.pp b/manifests/package/debian.pp index f8cd246..b7bc3df 100644 --- a/manifests/package/debian.pp +++ b/manifests/package/debian.pp @@ -1,3 +1,4 @@ +# class git::package::debian { include apt apt::ppa { 'ppa:git-core/ppa': } diff --git a/manifests/params.pp b/manifests/params.pp index b2a36e1..d5f7502 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -1,3 +1,2 @@ -class git::params { - -} +# +class git::params {}