On 15.05.2013 20:24, Matthew Moretti
wrote:
" type="cite">I choice environment way to store domain name and domain specific attributes: "dc": { "ip": "192.168.0.3", "hostname": "pdc" }, "krb5": { "kadmind": "admin", "ldapservicepasswordfile": "/etc/krb5kdc/service.keyfile", "kdc": "admin", "ldapconnsperserver": "2" }, "dns": { "domain": "example.com" }, "ldap": { "base": "dc=example,dc=com", "admin": "admin", "realmuppercase": "EXAMPLE.COM" } For a service users i choice data bag: "kadmind": { "name": "admin", "pw": "pw" }, "ldap": { "name": "admin", "pw": "pw" }, "kdc": { "name": "admin", "pw": "pw" }, "krbmaster": { "name": "", "pw": "pw" I reealy confused with attributes/default/default.rb file. Because this file now is empty. And I must remeber about I store attributes in environment and cookbook wiil retrive those vars from environment. Maybe I must put using vars in default.rb and assign nil values to used variables ? What is best practic ? Or maybe I must assign my default values - are the same as in environment? I am afraid that i forget about they are set in the spirit of the place. And it can be confusing in future work. -- Best regards, CVision Lab System Administrator Vladmir Skubriev |
Archive powered by MHonArc 2.6.16.