puppet mongo ip get

5 views
Skip to first unread message

Yuanbing Chen

unread,
Apr 28, 2016, 3:55:25 AM4/28/16
to Puppet Users
Hi !
   I write puppet upgrade program file, In this program file, hava one configure file must write to 

"database=mongodb://172.16.1.4:27017,172.16.1.5,172.16.1.6:27017" ,this ip adress store mongo 

database, but puppet support mongo get ip . I must write exec resource to puppet .py, the py file 

store mongo ip to mongo_ip.yaml file , in .pp file i use load yaml file get ip ,and use augeas write to 

program file.

This idea is too bad , until time ,i hava not a good idea , can you give me a help?
Reply all
Reply to author
Forward
0 new messages