[Puppet Users] Re: How to pass a array to define?

2010-06-20 Thread chakkerz
Joe is right, you need to generate the group(s), before you generate the user(s), before you setup their homedirectory. For example: group { "ldap": gid => 294, before=> User["ldap"], } user { "ldap":

Re: [Puppet Users] Re: How to pass a array to define?

2010-06-21 Thread Matt Keating
Not to hijack your thread, but I'm having a similar issue with trying to pass an array to a define: class solr { $configFileList = ["admin-extra.html", "elevate.xml"] define configFiles ( $solrIndex, $fileName ) { file { "/var/solr/$solrIndex/conf/$fileName" :

Re: [Puppet Users] Re: How to pass a array to define?

2010-06-21 Thread David Schmitt
On 6/21/2010 3:51 PM, Matt Keating wrote: Not to hijack your thread, but I'm having a similar issue with trying to pass an array to a define: class solr { $configFileList = ["admin-extra.html", "elevate.xml"] define configFiles ( $solrIndex, $fileName ) { file { "/var/solr/$sol

Re: [Puppet Users] Re: How to pass a array to define?

2010-06-21 Thread Joe McDonagh
On 06/21/2010 09:51 AM, Matt Keating wrote: Not to hijack your thread, but I'm having a similar issue with trying to pass an array to a define: class solr { $configFileList = ["admin-extra.html", "elevate.xml"] define configFiles ( $solrIndex, $fileName ) { file { "/var/solr/$s