When I am installing drush using

class {'drush::git::drush':
    git_branch => '6.x',
    update     => true,
  }

I got error:
Error: Invalid parameter paths at /etc/puppet/modules/drush/manifests/git.pp:52 on node packer-virtualbox.vagrantup.com

Even though when I do include drush::git::drush drush is installed properly.

It looks like it tries to include class drush::git instead and it requires path parameter.

Please advise how properly to install drush using class notation as I do want to pass branch and update parameters.

Thanks

Comments

muschpusch’s picture

I can confirm this bug on the "new" branch.

ergonlogic’s picture

Status: Active » Fixed

It was a typo in the code for updating existing installs. Fixed in 5a6cf84.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.