Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
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 ''
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