Issue #11209 has been updated by Ryan Coleman.

For record keeping,  here's a 1-hour prototype that Pieter crafted. It has 
roughly zero testing, no further code commitment, doesn't work with runmodes, 
likely doesn't work with environments and has other bugs we haven't even seen 
yet. 

https://gist.github.com/f9693523d9055aa4fee3

We'll certainly want to do something like this in the future, it's just a 
matter of time and priorities. 

--Ryan
----------------------------------------
Feature #11209: Add forge package provider
https://projects.puppetlabs.com/issues/11209#change-70189

Author: James Turnbull
Status: Needs More Information
Priority: Normal
Assignee: 
Category: module tool
Target version: 
Affected Puppet version: 
Keywords: 
Branch: 


You know it occurs to me that if we added a way to return the list of installed 
modules we could make a package provider out of the puppet module face.

<pre>
def exists? 
  check for existence of module
end

def instances
end

def create
  add module - defaults to Forge but can be overridden?
end

def delete
  Remove installed module
end
</pre>

The bits missing are:

1. Method to compare versions
1. How to handle modified modules – warn, replace, override, configurable etc 
Based on hash/version?


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to