Sha256: bcf752fc69012abcdcd024a12f033a6542919cbad61fb8a334bd304f14d772e4

Contents?: true

Size: 712 Bytes

Versions: 12

Compression:

Stored size: 712 Bytes

Contents

before 'puppet:bundle_modules', 'puppet:download_modules'

namespace :puppet do
  task :download_modules do
    modules_path = "#{current_path}/steps/#{step_dir}/modules"
    # Download stdlib module
    run "cd #{modules_path} && wget -qO- https://forgeapi.puppetlabs.com/v3/files/puppetlabs-stdlib-4.2.2.tar.gz | tar xvz && mv puppetlabs-stdlib-4.2.2 stdlib"
    # Download rbenv module
    run "cd #{modules_path} && wget -qO- https://forgeapi.puppetlabs.com/v3/files/alup-rbenv-1.2.0.tar.gz | tar xvz && mv alup-rbenv-1.2.0 rbenv"
    # Download sudo module
    run "cd #{modules_path} && wget -qO- https://forgeapi.puppetlabs.com/v3/files/saz-sudo-3.0.6.tar.gz | tar xvz && mv saz-sudo-3.0.6 sudo"
  end
end

Version data entries

12 entries across 6 versions & 1 rubygems

Version Path
bebox-0.1.5 spec/fixtures/config/deploy/steps/step-0.test
bebox-0.1.5 lib/templates/project/config/deploy/steps/step-0.erb
bebox-0.1.4 lib/templates/project/config/deploy/steps/step-0.erb
bebox-0.1.4 spec/fixtures/config/deploy/steps/step-0.test
bebox-0.1.3 lib/templates/project/config/deploy/steps/step-0.erb
bebox-0.1.3 spec/fixtures/config/deploy/steps/step-0.test
bebox-0.1.2 lib/templates/project/config/deploy/steps/step-0.erb
bebox-0.1.2 spec/fixtures/config/deploy/steps/step-0.test
bebox-0.1.1 spec/fixtures/config/deploy/steps/step-0.test
bebox-0.1.1 lib/templates/project/config/deploy/steps/step-0.erb
bebox-0.1.0 lib/templates/project/config/deploy/steps/step-0.erb
bebox-0.1.0 spec/fixtures/config/deploy/steps/step-0.test