gentoo / puppet-portage

[ORIGIN] Puppet module providing various Gentoo portage features
GNU General Public License v2.0
49 stars 30 forks source link

Remove deprecated concat::setup and change Modulefile to metadata.json #128

Closed davispuh closed 10 years ago

davispuh commented 10 years ago

concat::setup has been deprecated and is no longer needed. Modulefile is also deprecated and metadata.json should be used instead.

order parameter for concat::fragment must be a string.

adrienthebo commented 10 years ago

Once the puppetlabs-concat dependency is set to '1.x' I'm :+1:

davispuh commented 10 years ago

ok, updated.

davispuh commented 10 years ago

that's weird... when using puppet module generate it creates version_range key for dependency, but when you try to upload to Puppet Forge it will say that version_requirement is needed instead. So I guess that's correct name would be.

Also it could be useful to add

  "requirements": [
    {
      "name": "puppet",
      "version_requirement": "3.x"
    }
  ],
  "operatingsystem_support": [
       { "operatingsystem": "Gentoo" }
  ]

Here Puppet Forge Search by Module Compatibility can read more and example puppetlabs-ntp/metadata.json