Issue #22282 has been updated by Christian Flamm.

William Van Hevelingen wrote:
> You need to check all of your modules for the metadata.json file and make 
> sure they have a valid version number.

    $ find $modulepath -maxdepth 1 -mindepth 1 -type d|wc -l
    40

    $ for MODULE in $(find $modulepath -maxdepth 1 -mindepth 1 -type d); do 
egrep "\"version\"" ${MODULE}/metadata.json; done|wc -l
    40

    $ for MODULE in $(find $modulepath -maxdepth 1 -mindepth 1 -type d); do 
egrep "\"version\"" ${MODULE}/metadata.json; done
      "version": "1.0.0",
      "version": "0.0.1",
      "version": "6.4.0",
      "version": "0.0.1",
      "version": "0.5.0",
      "version": "0.0.1",
      "version": "0.0.9",
      "version": "0.0.1",
      "version": "0.0.1",
      "version": "0.0.1",
      "version": "0.0.1",
      "version": "0.0.1",
      "version": "0.0.1",
      "version": "0.0.1",
      "version": "0.0.1",
      "version": "0.0.1",
      "version": "1.0.0",
      "version": "0.0.1",
      "version": "0.0.1",
      "version": "0.0.1",
      "version": "0.0.1",
      "version": "0.0.1",
      "version": "0.0.1",
      "version": "0.0.1",
      "version": "0.0.1",
      "version": "0.0.1",
      "version": "0.0.1",
      "version": "0.0.1",
      "version": "0.0.1",
      "version": "0.0.1",
      "version": "0.0.1",
      "version": "3.6.0",
      "version": "0.0.1",
      "version": "0.0.1",
      "version": "1.0.0",
      "version": "1.0.0",
      "version": "0.0.1",
      "version": "0.0.1",
      "version": "0.0.1",
      "version": "1.0.0",
        
Anything wrong with these?

----------------------------------------
Bug #22282: "Invalid version string '1'!" when using "puppet module install"
https://projects.puppetlabs.com/issues/22282#change-96970

* Author: Christian Flamm
* Status: Unreviewed
* Priority: Normal
* Assignee: 
* Category: module tool
* Target version: 
* Affected Puppet version: 3.1.1
* Keywords: module install version
* Branch: 
----------------------------------------
Hi,

when I'm trying to install a module (let's say camptocamp/ruby) I get a 
response which I don't understand. The environment is behind a proxy.

    > HTTPS_PROXY=http://proxy.<doesntmatter>.lan:3128 HTTP_PROXY=$HTTPS_PROXY 
puppet module install camptocamp/ruby
    Notice: Preparing to install into /opt/<doesntmatter>/dev/puppet/modules ...
    Notice: Downloading from https://forge.puppetlabs.com ...
    Error: Invalid version string '1'!
    Error: Try 'puppet help module install' for usage

When I use `--force` it will install the module but won't care for its 
dependencies.

Thanks, Christian.


-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to