switching fixtures to git checkout, and making examples more verbose

This commit is contained in:
Bram Vogelaar 2021-01-13 21:05:36 +01:00
parent 44a4665782
commit 9c317eba10
No known key found for this signature in database
GPG key ID: 02374F82C00E4984
4 changed files with 22 additions and 11 deletions

View file

@ -2,11 +2,15 @@
#
# @summary Set up the package repository for the HashiCorp Stack components
#
# @example
# @example Inclusion using defaults
# include hashi_stack::repo
#
# @example
# class { 'hashi_stack::repo': } -> package { 'packer': ensure => installed }
# @example Include repo and install packer as package
# include hashi_stack::repo
# package { 'packer':
# ensure => installed,
# require => Class['Hashi_stack::Repo'],
# }
#
# @param priority A numeric priority for the repo, passed to the package management system
# @param proxy The URL of a HTTP proxy to use for package downloads (YUM only)