ensure => "3-2" or possibly ensure => "latest"
Why don't you use the Yum provider and a local repoif you need custom
pacakges. The RPM provider does not support versions. It does support
just calling latest though. That should allso make it a little easier
to run updates.
Evan
> I tried "ensure => '3-2' " but got: "Provider must have features
> 'versionable' to set 'ensure' to '(?-mix:.)' ".
>
> When running "ensure => latest" I get an error message saying that
> "Failed to retrieve current state of resource: Coult not get latest
> version". Might this be bacause I'm using the "source" attribute with
> the "provider" set to RPM? I mean, had the package been installed from
> the regular repository it might have been different.
'ensure => latest' is the right solution, and it should definitely
work that way.
If it's not, then that's a bug, but.... This has worked for a long
time, AFAIK. Maybe people just don't really use it, and that's why it
seems to work for everyone, but I'm kinda skeptical of that.
--
Sabbagh's Second Law:
The biggest problem with communication is the illusion that it
has occurred.
---------------------------------------------------------------------
Luke Kanies | http://reductivelabs.com | http://madstop.com