Issue #5466 has been updated by Matt Robinson.

Status changed from Accepted to Available In Testing Branch
Assignee deleted (Garrett Honeycutt)

Tests added and fixed and merged into 2.6.next into 
commit:395831ef58f1ea323919a0a87093919e3526da6c
----------------------------------------
Bug #5466: puppet resource omits trailing comma after last resource
https://projects.puppetlabs.com/issues/5466

Author: Garrett Honeycutt
Status: Available In Testing Branch
Priority: Normal
Assignee: 
Category: 
Target version: 
Affected Puppet version: 2.6.4
Keywords: 
Branch: 


To keep in line with best practices, the last parameter should also have a 
trailing comma, which it currently does not.

<pre>
# puppet resource user root
user { 'root':
    password_max_age => '99999',
    home => '/root',
    ensure => 'present',
    uid => '0',
    groups => ['root','bin','daemon','sys','adm','disk','wheel'],
    shell => '/bin/bash',
    gid => '0',
    comment => 'root',
    password => '$1$hgIZHl1r$tEqMTzoXz.NBwtW3kFv33/',
    password_min_age => '0'
}
</pre>

the last line <pre>password_min_age => '0'</pre> should be 
<pre>password_min_age => '0',</pre>


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to