Last active
December 18, 2015 07:59
-
-
Save richardc/5750556 to your computer and use it in GitHub Desktop.
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
| # == Class: mongodb::install | |
| # | |
| # | |
| class mongodb::install { | |
| include $::mongodb::params::repo_class | |
| anchor { 'mongodb::install::begin': } -> | |
| package { 'mongodb-stable': | |
| name => $::mongodb::params::old_server_pkg_name, | |
| ensure => absent, | |
| } -> | |
| Class[$::mongodb::params::repo_class] -> | |
| package { 'mongodb-10gen': | |
| name => $::mongodb::params::server_pkg_name, | |
| ensure => installed, | |
| } -> | |
| anchor { 'mongodb::install::end': } | |
| } |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
reworked version of https://github.com/echocat/puppet-mongodb/blob/master/manifests/install.pp