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
>
>
> -- 
> Thanks and Regards,
> Mamta Garg
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to