On 8/31/2012 7:18 AM, Bai Shen wrote:
I'm trying to install solr using puppet.  I have a module installing
tomcat.  Now I'm trying to make another module that installs the solr
files.  However, it's not copying the file.  Any ideas what I'm doing wrong?

init.pp:
class solr {
         file { '/opt/apache-tomcat/conf/Catalina/localhost':
                 source => 'puppet://modules/solr/solr.xml',
                 owner => 'tomcat',
                 group => 'tomcat',
                 mode => '311',
                 notify => Service['apache-tomcat'],
                 require => Package['apache-tomcat'],
         }
}

You're missing ensure => present,

Ramin

--
You received this message because you are subscribed to the Google Groups "Puppet 
Users" group.
To post to this group, send email to puppet-users@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.

Reply via email to