You are describing a custom package provider.
I use Fedora/CentOS/Red Hat type systems. If I wanted to do what you describe,
I’d roll my own RPM.
Check this out: https://github.com/jordansissel/fpm/wiki
It does several different package types.
On Nov 28, 2013, at 2:42 AM, Raj kumar V wrote:
Hi There,
I am trying to do the following using puppet
1. Create a dir call mydir
2. Download a file from internet using Exec
3. Change the mode of the file
3. Install it and ensure running and service is enabled.
4. Delete it the installer file.
When I do this until 3 rd step I am fine. But