Uploaded image for project: 'Modules'
  1. Modules
  2. MODULES-1690

Invalid parameter provider

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Won't Fix
    • None
    • None
    • vcsrepo
    • None
    • Client and server puppet: 3.7.3
      Client and server Ubuntu: 14.0.4
      TheForeman: 1.7.1
      Client and server git installed version 1.9.1

    Description

      I have a puppet setup with +50 modules running but for some reason I can't get even the most vcsrepo example to work (from examples/clone.pp)
      class gitrepo::config () {
      vcsrepo

      { '/tmp/vcstest-git-clone': ensure => present, provider => git, source => 'git://github.com/bruce/rtex.git', }

      }
      results in
      Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Invalid parameter provider on Vcsrepo[/tmp/vcstest-git-clone] at /etc/puppet/environments/test/modules/gitrepo/manifests/config.pp:14 on node

      if I try to remove the provider variable

      vcsrepo

      { '/tmp/vcstest-git-bare': ensure => bare, provider => git, }

      I get the following error:
      Error: /Vcsrepo[/tmp/vcstest-git-clone]: Could not evaluate: vcsrepo resource must have a provider, available: bzr, cvs, git, hg, p4, svn

      What am I doing wrong?

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              myMarck Nicolai Marck Ødum
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support