89 Commits

Author SHA1 Message Date
Zach Leslie
7bfee6da5b Add badges 2016-04-01 17:11:18 -07:00
Zach Leslie
f12f44999b (rel) 0.2.0 2016-03-22 19:45:09 -07:00
Zach Leslie
e8eb1e631f Update build matrix 2016-03-22 19:34:21 -07:00
Zach Leslie
e783071e2e Update README to reflect change in behavior. 2016-03-13 13:23:25 -07:00
Zach Leslie
fa453d46e2 Update tests to match reality 2016-03-13 13:23:24 -07:00
Zach Leslie
bf64a51a42 Always return an array for the values
Previously, its impossible to know if the results you are working with
in the puppet manifest are in string or array form without counting
them.  This work ensures that an array is always returned, even if there
is only one item returned.

This is useful in situations where an attribute is commonly both
multi-valued and single-valued to avoid complext manifest code.
2016-03-12 18:58:11 -08:00
Zach Leslie
f50421744e (rel) 0.1.8 2016-03-12 18:57:57 -08:00
Zach Leslie
6b51380818 Specify net-ldap version in Gemfile
Ruby 2 is required for the latest version of net-ldap, but to support
puppetserver we need to also support 1.9.3.  Here we document the
version of net-ldap we require.
2016-03-11 10:13:39 -08:00
Zach Leslie
daf2269f52 Update require for puppet_x to use relative path
This work should allow the code to be loaded in the puppetserver.
2016-03-11 10:13:39 -08:00
Zach Leslie
13dc46f65c (rel) 0.1.7 2015-11-10 21:48:38 +00:00
Zach Leslie
da1af3a535 Add additional information in the search debug
Adds information about the number of results returned for the given
search.
2015-11-10 21:47:26 +00:00
Zach Leslie
2eeddf0133 (rel) 0.1.6 2015-09-17 14:18:58 -07:00
Zach Leslie
74100759e1 Improve documentation for setup and examples 2015-09-17 14:17:49 -07:00
Zach Leslie
4fd19ef5c0 (rel) 0.1.5 2015-09-15 13:50:11 -07:00
Zach Leslie
a963eabda7 Merge pull request #5 from Ziaunys/update_return_value
Return boolean false if the LDAP query function raises an exception.
2015-09-15 20:48:39 +00:00
Eric Zounes
b133f80a91 Return boolean false if the LDAP query function raises an exception. 2015-09-11 10:25:25 -07:00
Zach Leslie
5a24cdb067 (rel) 0.1.4 2015-08-20 14:16:59 -07:00
Zach Leslie
e6fc47429a Merge pull request #4 from xaque208/debug
Improve debugging, add timing information
2015-08-20 14:16:21 -07:00
Zach Leslie
9969f16a60 Increase granularity 2015-08-20 10:36:57 -07:00
Zach Leslie
a3ce58dc85 Improve debugging, add timing information
Ldap has the potential to slow down compiles if a search takes too long.
Here we add timing information to the debug output, so that in case of
question, we can at least have a method of determining the time a given
search took.
2015-08-20 10:36:57 -07:00
Zach Leslie
403ded3526 Disable sudo for travis to increase speed 2015-08-20 10:36:11 -07:00
Zach Leslie
b29db3b7ca Set some defaults 2015-08-20 09:06:36 -07:00
Zach Leslie
e1c10d2456 (rel) 0.1.3 2015-06-14 15:55:09 -07:00
Zach Leslie
eaa93d31b1 Merge branch 'argcount' 2015-06-14 15:54:46 -07:00
Zach Leslie
85ebc74fae Extend the arg count of the function to meet the lib 2015-06-13 16:33:34 -07:00
Zach Leslie
da9e6ee077 (rel) 0.1.2 2015-05-29 09:13:33 -07:00
Zach Leslie
480d5be96b (rel) 0.1.1 2015-05-29 09:03:09 -07:00
Zach Leslie
47c0f2af2e Add dependency note 2015-05-21 15:20:38 -07:00
Zach Leslie
63c683a71f (rel) 0.1.0 2015-05-21 14:55:05 -07:00
Zach Leslie
8c0ee17492 Readme syntax 2015-05-21 14:49:14 -07:00
Zach Leslie
bbda78596a Merge pull request #3 from xaque208/rewrite
Rewrite
2015-05-20 13:26:35 -07:00
Zach Leslie
cb15ae8e70 Rewrite for testability
Testing the methods inside of the function is a complete pain.  This
moves the code out to use the PuppetX pattern and adds some basic unit
tests that validate the logic.
2015-05-20 12:55:18 -07:00
Zach Leslie
f0e5e6e8a0 Add initial function code 2015-05-19 09:05:08 -07:00
Zach Leslie
160cfd501b Merge pull request #1 from xaque208/tests
Begin module testing
2015-05-18 22:20:56 -07:00
Zach Leslie
1122076ff5 Ignore some files 2015-05-18 22:14:36 -07:00
Zach Leslie
a869e94ddd Begin module testing
Import a few items from the skeleton to help with testing.
2015-05-18 22:09:37 -07:00
Zach Leslie
336923571c Add build status icon in README 2015-05-18 22:09:37 -07:00
Zach Leslie
fc6c79056e Add a license 2015-05-18 21:45:02 -07:00
Zach Leslie
411bc809cf first 2015-05-18 21:42:15 -07:00