Skip to content

Instantly share code, notes, and snippets.

@rasputnik
Created September 30, 2010 12:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rasputnik/604482 to your computer and use it in GitHub Desktop.
Save rasputnik/604482 to your computer and use it in GitHub Desktop.
class mongodb::repo {
yumrepo { "10gen repository":
enabled => 1,
descr => "10gen repository",
baseurl => case $architecture {
i686: {"http://downloads.mongodb.org/distros/centos/5.4/os/x86_64/"}
default: { "baseurl=http://downloads.mongodb.org/distros/centos/5.4/os/i386/"}
},
gpgcheck => 0
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment