Order of the class parameters is refactored
Order and intendation of those parameters are changed to follow Puppet Style Guide recommendation [0]. Moreover, it will allow to an user to find much faster a variable in a list of variables. [0]. https://docs.puppetlabs.com/guides/style_guide.html Change-Id: Ie1fe4fca07a01f69a553c8b5b4eab7ef554942de
This commit is contained in:
parent
f9e0d3cacb
commit
693ba578e8
@ -15,14 +15,14 @@
|
|||||||
# Class: yum::repo
|
# Class: yum::repo
|
||||||
#
|
#
|
||||||
define yum::repo (
|
define yum::repo (
|
||||||
$description = undef,
|
|
||||||
$url_path = false,
|
|
||||||
$enabled = 0,
|
|
||||||
$gpgcheck = 0,
|
|
||||||
$baseurl = absent,
|
$baseurl = absent,
|
||||||
$mirrorlist = absent,
|
|
||||||
$cron_hour = 2,
|
$cron_hour = 2,
|
||||||
$cron_minute = 0,
|
$cron_minute = 0,
|
||||||
|
$description = undef,
|
||||||
|
$enabled = 0,
|
||||||
|
$gpgcheck = 0,
|
||||||
|
$mirrorlist = absent,
|
||||||
|
$url_path = false,
|
||||||
) {
|
) {
|
||||||
|
|
||||||
include ::yum
|
include ::yum
|
||||||
|
Loading…
x
Reference in New Issue
Block a user