summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-07-25mixed up trocla and puppet_trocla repos, sorryHEADmasterkwadronaut
2016-06-18ignore pkgmh
2016-06-18make it run on 1.8.7mh
2016-06-18release a new versionmh
2016-06-07add travis iconmh
2016-06-07keep trocla object around - addresses #18mh
Per puppet function call we now created a new Trocla object. This is a) a very naive approach and b) obviously can lead to a lot of inefficiency as we for example need to build up trocla each time again. Also this means that we are running into problems like opening a connection to a database system each time a trocla lookup is done (and we never close the connection :-/). The proper way to solve this is to make sure we don't create too many trocla objects. With this change, we should now create once a global trocla object PER puppet(-master/-server) process and keep it around for the life time of such a process.
2016-06-07whitespace cleanupmh
2016-05-29a final releasemh
2016-05-22Merge branch 'master' of https://git-ipuppet.immerda.ch/module-troclamh
2016-03-27make a ca by default very very longmh
2016-03-27make it 1.8.7 compatiblemh
2016-03-27improve travis integrationmh
2016-03-27make it work on ruby 1.8.7mh
2016-01-29make sure we manage things after the packagemh
2016-01-29also manage directory as puppet user needs write perms as wellmh
2016-01-28update module to make it work with all the new features of trocla 0.2.2mh
2015-12-22Fix #17 - point to @ZeroPointEnergy's hiera-backendmh
2015-10-21Merge pull request #16 from michaelweiser/qr2duritong
Fix configfile error in hiera backend
2015-10-20Fix configfile error in hiera backendMichael Weiser
Get path to configuration file from config hash to avoid undefined variable error.
2015-10-18cleanup and simplifactionmh
* refactoring code for simplicity and easier maintenance. * prefix the format and options config with default_ to better represent their intention.
2015-10-18Merge pull request #15 from michaelweiser/qr1duritong
Add custom hiera backend for trocla
2015-10-01Add custom hiera backend for troclaMichael Weiser
Only reacts to key namespace trocla::password::<trocla_key>. Looks up additional parameters via hiera itself as trocla::options::<trocla_key>::format (string) and trocla::options::<trocla_key>::options (hash). Looks for <trocla_key> in trocla as hiera/<source>/<trocla> with <source> iterating over the configured hiera hierarchy. If not found, creates and returns a new password with trocla key <trocla_key>. example entry in hiera.yaml: backends: - ... - trocla trocla: - configfile: /etc/puppet/troclarc.yaml - format: plain - options: length: 16 example usage in hiera yaml file: kerberos::kdc_database_password: "%{hiera('trocla::password::kdc_database_password')}" trocla::options::kdc_database_password::format: 'plain' trocla::options::kdc_database_password::options: length: '71'
2015-09-26Merge branch 'master' of git.puppet.immerda.ch:module-troclamh
2015-09-18if the provider is not gem we should name the package correctlymh
2015-08-12Fix #14 - allow trocla_get not to raise an error if nothing is foundmh
Up to now we raised an error if nothing was found while using trocla_get. The main idea was to ensure that typos in the key/format are easily spotted and not overlooked as no password being returned usually indicates that something is wrong. As outlined in #14 there are use cases where it makes sense to not have this behavior. This change allows us to suppress the error raising and just return the puppet undef if nothing is found.
2015-08-12whitespace cleanupmh
2015-05-24release lated version, which should have now fixed all the permissionsmh
2015-05-24release lated versionmh
2015-05-24Merge remote-tracking branch 'github/master'mh
2015-05-24release new version due to wrong packagingmh
2015-04-09Merge pull request #12 from timogoebel/feature/encryption_sortduritong
sort ssl_options
2015-04-09sort ssl_optionsTimo Goebel
2015-04-08Merge pull request #11 from timogoebel/feature/encryption_sortduritong
sort encryption options
2015-04-08sort encryption optionsTimo Goebel
2015-04-05dependencies should either be managed by the package or gemmh
2015-03-21new versionmh
2015-03-21Merge remote-tracking branch 'github/master'mh
2015-03-01Merge pull request #10 from timogoebel/feature/encryptionduritong
add support for encryption and ssl_options
2015-03-01add support for encryption and ssl_optionsTimo Goebel
2015-02-18Merge pull request #9 from michaelweiser/masterduritong
Fix dependency handling
2015-02-16Fix dependency handlingMichael Weiser
2015-01-24moneta dependencies require ruby-develmh
2014-09-13new releasemh
2014-08-21bump to version 0.0.11mh
2014-08-21ensure that we always select a charsetmh
2014-06-27Regenerate gemspec for version 0.0.10mh
2014-06-27update versionmh
2014-06-27new versionmh
2014-06-27Merge branch 'tilya-charset_option'mh
2014-06-27make it possible that formats can query back to trocla itself, so they can ↵mh
lookup other 'keys'