Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
if manage_repo
yumrepo {'repo':
enabled => 1,
gpgcheck => 1,
package { 'package':
ensure => latest,
if Yumrepo['repo'] was defined:
require => Yumrepo['repo'],

This comment has been minimized.

Copy link

ripienaar commented Dec 3, 2015

if manage_repo
   yumrepo{ ....}

   # its called 'setting defaults' in the docs
   Package { require => Yumrepo[...]}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.