Hello, Is it possible to specify multiple attribute values from command line like below:
# puppet resource user root user { 'root': ensure => 'present', comment => 'root', gid => '0', home => '/root', password_max_age => '99999', password_min_age => '0', shell => '/bin/bash', uid => '0', } # puppet resource user root groups='daemon' Notice: /User[root]/groups: groups changed '' to 'daemon' user { 'root': ensure => 'present', groups => ['daemon'], } # puppet resource user root user { 'root': ensure => 'present', comment => 'root', gid => '0', groups => ['daemon'], home => '/root', password_max_age => '99999', password_min_age => '0', shell => '/bin/bash', uid => '0', } # puppet resource user root groups='root,adm' Error: Could not run: Parameter groups failed on User[root]: Group names must be provided as an array, not a comma-separated list. Thanks, PS -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/af96a79c-a4e3-40e6-bb17-2251528f8dfe%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.