Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
spicyprogramming committed Jul 26, 2024
1 parent 3e8b191 commit 0f2e897
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions manifests/repo.pp
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,7 @@
default => undef,
}

if (fact('os.name') == 'Ubuntu' and versioncmp(fact('os.release.major'), '22.04') >=0 or
fact('os.name') == 'Debian' and versioncmp(fact('os.release.major'), '12') >= 0) {
if (fact('os.name') == 'Ubuntu' and versioncmp(fact('os.release.major'), '22.04') >= 0 or fact('os.name') == 'Debian' and versioncmp(fact('os.release.major'), '12') >= 0) {
apt::source { 'zabbix':
location => $_repo_location,
repos => 'main',
Expand Down Expand Up @@ -164,7 +163,7 @@
Apt::Key['zabbix-FBABD5F'],
Apt::Key['zabbix-A1848F5'],
Apt::Key['zabbix-4C3D6F2'],
]
],
}
}

Expand Down

0 comments on commit 0f2e897

Please sign in to comment.