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:
parent
c56022bb0e
commit
b6e7dc409e
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user