Hi Garg,
Yes, you can download package using manifests,
Step1: You have to download wget from puppet labs(if you are using enterprise version, can run this command - puppet module insttall maestrodev/wget (
https://github.com/maestrodev/puppet-wget/))
Step2: After install yo can see that package in your /etc/puppetlabs/puppet/modules.
Step3: Inside manifest you can create your custom classes like this ,
class wget::clssName{
wget::fetch { "packageName":
source => "url",
destination => "destination",
timeout => 0,
}
}
Thanks
Jxavier
On Tuesday, 26 February 2013 12:10:25 UTC+5:30, Mamta Garg wrote:
Hi All,
Can anyone please tell me if we can download package from website using puppet manifests?
If yes,could you please provide me a example.
i