$OpenBSD$

add new feature flavorable, and switch handling the flavor
as a property instead of a parameter


Index: lib/puppet/type/package.rb
--- lib/puppet/type/package.rb.orig
+++ lib/puppet/type/package.rb
@@ -67,6 +67,7 @@ module Puppet
       provider-specific.",
       :methods => [:package_settings_insync?, :package_settings, :package_settings=]
     feature :virtual_packages, "The provider accepts virtual package names for install and uninstall."
+    feature :flavorable, "The provider accepts package flavors."
 
     feature :targetable, "The provider accepts a targeted package management command."
 
@@ -484,7 +485,7 @@ module Puppet
       newvalues(:true, :false)
     end
 
-    newparam(:flavor) do
+    newproperty(:flavor, :required_features => :flavorable) do
       desc "OpenBSD supports 'flavors', which are further specifications for
         which type of package you want."
     end
