Hi,
I would like to understand how I should split profile and how to regroup
them.
For some webapp I need to have three (or more) server, one for the
production, one for test, one for sandbox etc..
I create a profile for the webapp, so inside that profile I
configure the (let's say) php and mysql database. So inside the hiera I
got
profile::webapp::mysql_db_name :
profile::webapp::mysql_db_pass :
etc...
I would use this profile inside a role, this role
eventually load class { 'apache': } or a apache profile, or nginx etc..
I also need some script who can wipe out the sandbox and make a copy of the
production version over the sandbox version.
I like to have a profile for those two test version, and the problem is the
profile need to know the password of the database. How can I do that
without duplicating the password neither to access some hieradata for one
class from other class.
Regards.
JAS
--
Albert SHIH
DIO bâtiment 15
Observatoire de Paris
5 Place Jules Janssen
92195 Meudon Cedex
France
Téléphone : +33 1 45 07 76 26/+33 6 86 69 95 71
xmpp: [email protected]
Heure local/Local time:
ven 9 sep 2016 16:16:27 CEST
--
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/20160909142651.ymljjv32gtijzmf3%40pcjas.obspm.fr.
For more options, visit https://groups.google.com/d/optout.