How to publish unstandard packages in puppet

21 views
Skip to first unread message

Shoujin Wang

unread,
Apr 29, 2012, 8:39:23 PM4/29/12
to puppet...@googlegroups.com
I have some old packages which was not in standard RPM/DEB packages.
We have our own deployment process likes this:
All the packages are in a directory, which likes the following:
/opt/package/pkg-aa/
                             /readme.txt
                             /install.sh
                             /......
                             /.....

I want the puppet helps like this:
1). Put pkg-aa on puppet master;
2). puppet agent download the package from master, and run "install.sh".

And I expect to have "file" and "service" types to handle configuration file and restart service.

Is there a way to accomplish 1) and 2) efficiently?

Regards,
Autumn Wang

Dick Davies

unread,
Apr 30, 2012, 6:41:35 AM4/30/12
to puppet...@googlegroups.com
Life is far, far saner if you can make a package. Things like FPM
make this sort of thing so easy (e.g. turn a tarball into an RPM)
you need a very good reason not to.
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/puppet-users/-/0M7FsS_Np2IJ.
> To post to this group, send email to puppet...@googlegroups.com.
> To unsubscribe from this group, send email to
> puppet-users...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/puppet-users?hl=en.
Reply all
Reply to author
Forward
0 new messages