Commit c97c73d8 authored by Petr Vokac's avatar Petr Vokac
Browse files

Replace legacy puppet fact

parent 520e8132
......@@ -114,7 +114,7 @@ class dpm::params {
$repos = hiera('dpm::params::repos', {
'epel' => {
'descr' => 'Extra Packages for Enterprise Linux add-ons',
'baseurl' => "http://linuxsoft.cern.ch/epel/${lsbmajdistrelease}/\$basearch",
'baseurl' => "http://linuxsoft.cern.ch/epel/${facts['os']['release']['major']}/\$basearch",
'gpgcheck' => 0,
'enabled' => 1,
'protect' => 1,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment