Starting puppetmaster: /usr/share/rubygems/rubygems/custom_require.rb:36:in `require': iconv will be deprecated in the future, use String#encode instead. Could not prepare for execution: Invalid group: 0 [FAILED]
Confirm the permissions for the following files are set to "-rw-r--r--".
If its not set to 644, run the below on all the files listed above to modify the permission:
chmod 644 /etc/passwd