On Mon, Jan 31, 2011 at 11:45 AM, Christopher Lee <chr...@spiralweb.com> wrote:
> Hello,
>
> We are starting to get a lot of modules in our system.  I am looking to add a 
> version number to the modules when they are checked out of our revision 
> control system and moved into each environment.  Has anyone come up with a 
> standard way/place to store the version number of the module?  Also we would 
> want to be able to query the version number in some way to find out which 
> versions are installed on which servers, maybe through facter custom fact.   
> Don't want to reinvent the wheel if this is already be worked on.

Checkout out puppet-module gem tool used for forge. It supports
metadata json file that contains version info. Since this is server
side, it will need to be a custom function rather than a fact.

If you manage the entire puppet modules in a repository, you might
also be interested in the config_version option to log version info.

Thanks,

Nan

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

Reply via email to