Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
56 lines (51 sloc) 1.59 KB
# == Class: boilerplate::repo
#
# FIXME/TODO Please check if you want to remove this class because it may be
# unnecessary for your module. Don't forget to update the class
# declarations and relationships at init.pp afterwards (the relevant
# parts are marked with "FIXME/TODO" comments).
#
# This class exists to coordinate all repository related actions, functionality
# and logical units in a central place.
#
#
# === Parameters
#
# This class does not provide any parameters.
#
#
# === Examples
#
# This class may be imported by other classes to use its functionality:
# class { 'boilerplate::repo': }
#
# It is not intended to be used directly by external resources like node
# definitions or other modules.
#
#
# === Authors
#
# * John Doe <mailto:john.doe@example.com>
#
class boilerplate::repo {
#### Repository management
# nothing right now
# Helpful snippets:
#
# YUM repository. See 'yumrepo' doc at http://j.mp/gtCgFw for information.
# $repo_enabled = $boilerplate::ensure ? {
# # Removal of the repository file itself is currently not supported, (cf.
# # http://j.mp/w7fA20). 'absent' just removes the 'enabled=0/1' line
# # from the .repo file.
# 'present' => 1,
# 'absent' => 0,
# }
# yumrepo { 'boilerplate_yumrepo':
# enabled => $repo_enabled,
# name => 'boilerplate', #corresponds to the yum.conf repositoryid
# descr => 'boilerplate',
# baseurl => 'http://example.com/fedora/rpm/$releasever/stable/$basearch/',
# gpgkey => 'https://example.com/repo_signing_key.asc',
# gpgcheck => 1,
# }
}