| 1 |
#!/usr/bin/env ruby |
| 2 |
# frozen_string_literal: true |
| 3 |
|
| 4 |
# ^syntax detection |
| 5 |
|
| 6 |
forge 'https://forgeapi.puppet.com' |
| 7 |
|
| 8 |
# use dependencies defined in metadata.json |
| 9 |
metadata |
| 10 |
|
| 11 |
# A module from the Puppet Forge |
| 12 |
# mod 'puppetlabs-stdlib' |
| 13 |
|
| 14 |
# A module from git |
| 15 |
# mod 'puppetlabs-ntp', |
| 16 |
# :git => 'git://github.com/puppetlabs/puppetlabs-ntp.git' |
| 17 |
|
| 18 |
# A module from a git branch/tag |
| 19 |
# mod 'puppetlabs-apt', |
| 20 |
# :git => 'https://github.com/puppetlabs/puppetlabs-apt.git', |
| 21 |
# :ref => '1.4.x' |
| 22 |
|
| 23 |
# A module from Github pre-packaged tarball |
| 24 |
# mod 'puppetlabs-apache', '0.6.0', :github_tarball => 'puppetlabs/puppetlabs-apache' |