[Puppet - Bug #5466] (Available In Testing Branch) puppet resource omits trailing comma after last resource
<tickets <at> puppetlabs.com>
2011-03-01 01:22:23 GMT
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
- 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.
# 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'
}
the last line
password_min_age => ‘0’ should be password_min_age => ‘0’,
--
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To post to this group, send email to puppet-bugs <at> googlegroups.com.
To unsubscribe from this group, send email to puppet-bugs+unsubscribe <at> googlegroups.com.
For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.