简体   繁体   中英

Sharing config file between puphpet and puppet

Is it possible to share a config file between puphpet and puppet?

The scenario is; our development team is using vagrant and puphpet in dev.environments. Once they are ready with a release, I would like to have a clone of their setup (php modules etc) and apply this using puppet on our production servers...

The ideal way would be to simply apply the config.yaml file directly in puppet, but I'm not sure if they "speak the same language"?

No, it is not possible. PuPHPet uses its own baked-in Puppet, and the code for that is here .

What you could do, of course, is write your own wrapper around PuPHPet that hooks into the bits there that you want to build a PuPHPet-like production environment, minus Vagrant. It wouldn't be too hard.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM