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?

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/43658458-0211-4fe0-a0bd-02fed72d0696%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to