Skip to content

Instantly share code, notes, and snippets.

@mrzarquon
Last active December 19, 2015 16:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mrzarquon/5985635 to your computer and use it in GitHub Desktop.
Save mrzarquon/5985635 to your computer and use it in GitHub Desktop.
yum repo
[puppetlabs-products]
name=Puppet Labs Products El 6 - $basearch
baseurl=http://yum.puppetlabs.com/el/6/products/$basearch
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-puppetlabs
enabled=1
gpgcheck=1
node default {
include base
}
class base {
yumrepo { "Puppet":
baseurl => "http://yum.puppetlabs.com/$operatingsystem/$operatingsystemrelease/$architecture",
descr => "Puppet Labs",
enabled => 1,
gpgcheck => 1,
gpgkey => "http://yum.puppetlabs.com/RPM-GPG-KEY-puppetlabs",
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment