how to copy jar and ESB files from Master to agent machines

17 views
Skip to first unread message

Satish Katuru

unread,
Jun 26, 2014, 8:44:28 AM6/26/14
to puppet...@googlegroups.com
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 : 

Error: /Stage[main]/Httpd/File[/home/katusa02/soa/jboss-soa-p-5/jboss-as/server/default/deploy/ParserService]: Could not evaluate: Could not retrieve information from environment production source(s) puppet://dayrhetamp076.enterprisenet.org/modules/httpd/ParserService

Can any one guide me how to do this?


Regards,
Sathish.

Reply all
Reply to author
Forward
0 new messages