-
-
Notifications
You must be signed in to change notification settings - Fork 440
Add support for Suse Linux #624
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
9a68a73
Merge branch 'fix-upstream'
fbrehm fb99370
Version bump to 2.3.2
fbrehm 9dac807
Merge branch 'fix-upstream'
fbrehm 45db478
Version bump to 2.3.3
fbrehm 0e24528
Merge branch 'upstream'
fbrehm 6f9497e
Updating module version
fbrehm e036161
Merge tag 'v4.0.0' into fix-upstream
fbrehm 3071da4
Adding manifests/repo/zypper.pp
fbrehm 757ef00
Support of Suse zypper repos
fbrehm 18b4269
Merge branch 'fix-upstream'
fbrehm 848c840
Fixing manifests/repo.pp
fbrehm 9b1122b
Version bump to 4.0.0.2
fbrehm a28348c
Merge branch 'fix-upstream'
fbrehm da5b682
Version bump to 4.0.1-rc0
fbrehm 7b9677f
Setting version to 4.0.0
fbrehm 12144ce
Adding SLES 12 and 15 as a supported operating system
fbrehm b859e3b
Setting supported version for Enterprise Linux to 3.0
fbrehm e16118f
Adding dependency to puppet/zypprepo
fbrehm 06c8e44
Updating spec test for Suse
fbrehm 605c40f
Fixing spec tests for Suse
fbrehm 6748333
Style changes
fbrehm 99dd8ac
Fixing package in manifests/mongos/params.pp for Suse
fbrehm 3956fd6
Fixing config in manifests/mongos/config.pp for Suse
fbrehm 7a293f7
Making fork on package purge for Suse
fbrehm 22ce01a
Fixing Repo base_url for zypper
fbrehm 61d34cd
Fixing spec/classes/repo_spec.rb for Suse
fbrehm 2d2a584
Changing two elsifs to one
fbrehm f09d237
Simplifying logic in manifests/repo.pp
fbrehm 8c008c1
Adding puppet strings documentation to manifests/repo/zypper.pp and d…
fbrehm 106dc49
Update metadata.json
fbrehm cd1f749
Make the linter happy
fbrehm File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 | ||
|
fbrehm marked this conversation as resolved.
|
||
| # | ||
| # @summary This is a repo class for zypper | ||
| # | ||
| # This is a private class and cannot be used from outside this module. | ||
| # | ||
| # @author Frank Brehm <frank@brehm-online.com> | ||
| # | ||
| # @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/ | ||
|
|
||
|
fbrehm marked this conversation as resolved.
|
||
| 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.