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

Do not enforce presence

    XMLWordPrintable

    Details

    • Template:
    • Story Points:
      2
    • Sprint:
      MODS 2015-01-07

      Description

      Given the following configuration the path is purged and the repository cloned on every Puppet run:

      vcsrepo { $path,
        ensure => present
        provider => git,
        source => 'git://...',
        force  => true,
      }
      

      Background: this is run within a Vagrant box and by default $path contains a directory and a file which are not needed. Thus on the first provisioning run the repository should be enforced on $path but on subsequent runs nothing should happen since the repository is already present.

      This is a regression which was introduced with 1.0.0 and most likely this commit.

        Attachments

          Activity

            People

            Assignee:
            morgan Morgan Rhodes
            Reporter:
            mbrodala Mathias Brodala
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support