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: I237739d3ab679d961a7e8e6980af6893321b702b
This commit is contained in:
Andrey Nikitin 2016-03-21 19:05:12 +03:00
parent c56022bb0e
commit b6e7dc409e
1 changed files with 4 additions and 4 deletions

View File

@ -3,16 +3,16 @@
# user::virtual::localuser['username']
define user::virtual::localuser(
$realname,
$uid,
$gid,
$realname,
$sshkeys,
$uid,
$groups = [ 'sudo', 'admin', ],
$home = "/home/${title}",
$key_id = $title,
$managehome = true,
$old_keys = [],
$shell = '/bin/bash',
$home = "/home/${title}",
$managehome = true
) {
group { $title: