-
-
Notifications
You must be signed in to change notification settings - Fork 451
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Version bump to 2.3.2 * Version bump to 2.3.3 * Updating module version * Adding manifests/repo/zypper.pp * Support of Suse zypper repos * Fixing manifests/repo.pp * Version bump to 4.0.0.2 * Version bump to 4.0.1-rc0 * Setting version to 4.0.0 * Adding SLES 12 and 15 as a supported operating system * Setting supported version for Enterprise Linux to 3.0 * Adding dependency to puppet/zypprepo * Updating spec test for Suse * Fixing spec tests for Suse * Style changes * Fixing package in manifests/mongos/params.pp for Suse * Fixing config in manifests/mongos/config.pp for Suse * Making fork on package purge for Suse * Fixing Repo base_url for zypper * Fixing spec/classes/repo_spec.rb for Suse * Changing two elsifs to one * Simplifying logic in manifests/repo.pp * Adding puppet strings documentation to manifests/repo/zypper.pp and declaring it for private. * Update metadata.json Update metadata.json - lower version boundary Co-authored-by: Tim Meusel <[email protected]> * Make the linter happy Co-authored-by: Tim Meusel <[email protected]>
- Loading branch information
1 parent
61b00f2
commit 2e6001a
Showing
10 changed files
with
86 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# PRIVATE CLASS: do not use directly | ||
# | ||
# @summary This is a repo class for zypper | ||
# | ||
# This is a private class and cannot be used from outside this module. | ||
# | ||
# @author Frank Brehm <[email protected]> | ||
# | ||
# @api private | ||
# | ||
class mongodb::repo::zypper inherits mongodb::repo { | ||
# We try to follow/reproduce the instruction | ||
# http://docs.mongodb.org/manual/tutorial/install-mongodb-on-red-hat-centos-or-fedora-linux/ | ||
|
||
assert_private() | ||
|
||
if $mongodb::repo::ensure == 'present' or $mongodb::repo::ensure == true { | ||
zypprepo { 'mongodb': | ||
descr => $mongodb::repo::description, | ||
baseurl => $mongodb::repo::location, | ||
gpgcheck => '0', | ||
enabled => '1', | ||
} | ||
Zypprepo['mongodb'] -> Package<| tag == 'mongodb_package' |> | ||
} | ||
else { | ||
zypprepo { 'mongodb': | ||
ensure => absent, | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters