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" : ensure => present, owner => "tomcat", source => "puppet://puppetmaster.dennisinteractive.co.uk/files/solr/conf/$fileName" } } } Then If I call it like so: solr::configFiles { $title : fileName => $configFileList, solrIndex => $title, require => File["/var/solr/$title/conf/xslt"], } It doesnt seem to pass the $configFileList through correctly. Any idea's on what I should be doing? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.