Hi,
I tried to copy jar files and ESB files from master to Agent.
This is how my init.pp looks like:
class httpd
{
file { "/home/katusa02/soa/jboss-soa-p-5/jboss-as/server/default/deploy/ParserService-1.0.esb":
ensure => present,
owner => "katusa02",
group => "katusa02",
mode => "0777",
source => "puppet://$puppetserver/modules/httpd/ParserService-1.0.esb",
}
}
I tried with ensure => file and ensure => "present" but it didn't work.When I tired with normal files it worked well.
I am getting an error message like this :
Can any one guide me how to do this?
Regards,
Sathish.