(alternatives-#1) alternative_entry prototype
fixed problems with alternative_entry
Merge pull request #4 from jsosic/issue_1-alternative_entry

fixed problems with alternative_entry
replace resource methods with mk_resource_methods

mk_resource_methods incorporates all get methods already
run of 'puppet resource alternative_entry' fails

Problem is there is no @resource when running puppet resource alternative_entry from a CLI. Puppet then doesn't know about resources but only inspects local system. This solves the issue for both cases (resource or system inspection).
Merge pull request #5 from jsosic/patch-1

replace resource methods with mk_resource_methods
Merge pull request #6 from jsosic/patch-2

run of 'puppet resource alternative_entry' fails
prefetch existing resources from system

prefetch will, which given a list of resources, in one call return a set of provider instances filled with the value fetched from the real resource

http://www.masterzen.fr/2011/11/02/puppet-extension-point-part-2/
Merge pull request #7 from jsosic/patch-3

prefetch existing resources from system
improve syntax in exits? method

remove ugly temp_altname variable, and replace two lines of code with a single || operator
another optimization...

sorry, only now I figured I don't need temp variable at all
Merge pull request #8 from jsosic/patch-4

improve syntax in exists? method
Merge pull request #11 from adrienthebo/issue_1-alternative_entry