Skip to content

Commit

Permalink
Merge pull request #39 from marcmoiagese/master
Browse files Browse the repository at this point in the history
rename variable
  • Loading branch information
marcmoiagese authored Jul 18, 2022
2 parents 9c663e6 + 010a28d commit 7fbf68d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## 0.2.6

* Adding saltstack::repo::base_yum_repo support to define different base url
* Adding saltstack::repo::base_rep support to define different base url

## 0.2.5

Expand Down
8 changes: 6 additions & 2 deletions manifests/repo.pp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
$python_version = undef,
$salt_repo_url = 'repo.saltstack.com',
$gpg_key = 'SALTSTACK-GPG-KEY.pub',
$base_yum_repo = 'py'
$base_rep = 'py'
) inherits saltstack::params {

Exec {
Expand All @@ -23,7 +23,7 @@
$composite_version = $version
}

if($base_yum_repo == 'py')
if($base_rep == 'py')
{
if($python_version==undef)
{
Expand Down Expand Up @@ -59,6 +59,10 @@
}
}
}
else
}
$base_yum_repo = $base_rep
}

case $facts['os']['family']
{
Expand Down

0 comments on commit 7fbf68d

Please sign in to comment.