From 3f4bcb45e67a7b0722c1e4c58cefc7698791e619 Mon Sep 17 00:00:00 2001 From: Matthew Wagoner Date: Wed, 21 Nov 2012 14:53:55 -0500 Subject: [PATCH] Clean up of minor puppet-lint warnings. Mostly documentation and parameterised class parameter complaints. Change-Id: Idbfd348a5befb041ce6eb36f9c6b195fc0c6799f Reviewed-on: https://review.openstack.org/16685 Reviewed-by: Jeremy Stanley Approved: Monty Taylor Reviewed-by: Monty Taylor Tested-by: Jenkins --- manifests/init.pp | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/manifests/init.pp b/manifests/init.pp index ee56ce4..dabceed 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -1,8 +1,10 @@ +# == Class: github +# class github( - $username, - $oauth_token, - $project_username, - $project_password, + $username = '', + $oauth_token = '', + $project_username = '', + $project_password = '', $projects = [] ) { include pip @@ -53,7 +55,7 @@ class github( replace => true, require => [ Group['github'], - File['/etc/github'] + File['/etc/github'], ], } @@ -66,7 +68,7 @@ class github( replace => true, require => [ Group['github'], - File['/etc/github'] + File['/etc/github'], ], }