Skip to content

Instantly share code, notes, and snippets.

@patrickkelso
Created May 30, 2015 09:47
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 patrickkelso/30563c20ac0b00824fec to your computer and use it in GitHub Desktop.
Save patrickkelso/30563c20ac0b00824fec to your computer and use it in GitHub Desktop.
root@ubuntu1404b:~# puppet agent -t
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Loading facts
Info: Caching catalog for ubuntu1404b.syd.puppetlabs.demo
Info: Applying configuration version '1432979194'
Notice: /Stage[main]/Mongodb::Server::Service/Service[mongodb]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Mongodb::Server::Service/Service[mongodb]: Unscheduling refresh on Service[mongodb]
Notice: /Stage[main]/Profile::Mongoserver/Mongodb_replset[DPP]/members: members changed ['ubuntu1404b:27017'] to '10.20.1.19:27017 10.20.1.20:27017 10.20.1.21:27017'
Notice: Finished catalog run in 0.99 seconds
root@ubuntu1404b:~# mongo
MongoDB shell version: 2.4.9
connecting to: test
DPP:PRIMARY> rs.conf()
{
"_id" : "DPP",
"version" : 1,
"members" : [
{
"_id" : 0,
"host" : "ubuntu1404b:27017"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment