<feed xmlns='http://www.w3.org/2005/Atom'>
<title>puppet-stdlib, branch master</title>
<subtitle>Puppet module for stdlib</subtitle>
<id>https://git.fluxo.info/puppet-stdlib/atom?h=master</id>
<link rel='self' href='https://git.fluxo.info/puppet-stdlib/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.fluxo.info/puppet-stdlib/'/>
<updated>2016-03-17T16:25:38+00:00</updated>
<entry>
<title>Merge pull request #576 from yadavnikhil/master</title>
<updated>2016-03-17T16:25:38+00:00</updated>
<author>
<name>Hunter Haugen</name>
<email>hunter@puppetlabs.com</email>
</author>
<published>2016-03-17T16:25:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fluxo.info/puppet-stdlib/commit/?id=b6383d259cf4917edd832ba31cf4dae2b4201235'/>
<id>urn:sha1:b6383d259cf4917edd832ba31cf4dae2b4201235</id>
<content type='text'>
ensure_packages.rb: Modifed to pass hiera parameters (as hash,array) as first argument</content>
</entry>
<entry>
<title>Merge pull request #578 from bmjen/fqdn-rand-fix</title>
<updated>2016-03-16T21:06:15+00:00</updated>
<author>
<name>Hunter Haugen</name>
<email>hunter@puppetlabs.com</email>
</author>
<published>2016-03-16T21:06:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fluxo.info/puppet-stdlib/commit/?id=52f6af3accb4657d89aa26b623710b4e698cdde2'/>
<id>urn:sha1:52f6af3accb4657d89aa26b623710b4e698cdde2</id>
<content type='text'>
(maint) Fixes fqdn_rand_string tests</content>
</entry>
<entry>
<title>(maint) Fixes fqdn_rand_string tests</title>
<updated>2016-03-16T20:57:36+00:00</updated>
<author>
<name>Bryan Jen</name>
<email>bryan.jen@gmail.com</email>
</author>
<published>2016-03-16T20:57:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fluxo.info/puppet-stdlib/commit/?id=7943b25ec1abcb1c0e86cd42cdfd3b2d3d511ee8'/>
<id>urn:sha1:7943b25ec1abcb1c0e86cd42cdfd3b2d3d511ee8</id>
<content type='text'>
Puppet 4.4.0 and later has changed fqdn_rand to use a higher ceiling
(PUP-5646), the tests for fqdn_rand_string needed to be updated to
reflect the new expected output.
</content>
</entry>
<entry>
<title>Merge pull request #577 from EmilienM/enclose_ipv6</title>
<updated>2016-03-15T23:48:50+00:00</updated>
<author>
<name>Hunter Haugen</name>
<email>hunter@puppetlabs.com</email>
</author>
<published>2016-03-15T23:48:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fluxo.info/puppet-stdlib/commit/?id=72f6e379a647396c276d7f216b307361ac76f376'/>
<id>urn:sha1:72f6e379a647396c276d7f216b307361ac76f376</id>
<content type='text'>
Add enclose_ipv6 function</content>
</entry>
<entry>
<title>Add ensure_resources() function</title>
<updated>2016-03-15T03:59:38+00:00</updated>
<author>
<name>Nikhil Yadav</name>
<email>nikhil.yadav@amdocs.com</email>
</author>
<published>2016-03-10T05:03:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fluxo.info/puppet-stdlib/commit/?id=0da9ca7e4a78df49c08873f55caf7c88cdd9bc32'/>
<id>urn:sha1:0da9ca7e4a78df49c08873f55caf7c88cdd9bc32</id>
<content type='text'>
New function "ensure_resources()" to support passing hash as parameter OR from hiera backend

This new function is extension of ensure_resource() which will now support to pass multiple values as hash/array OR from hiera backend variables in title argument with additional parameters needed.

It will
process multiple values for a resource type from the passed argument &amp; pass each entry (type, title, params) to ensure_resource() in required format for further processing.
Now user can have duplicate resource check functionality extended to multiple entries with this new function.

Use:
For multiple resources using
hash:
ensure_resources('user', {'dan' =&gt; { gid =&gt; 'mygroup', uid =&gt;'600' } ,  'alex' =&gt; { gid =&gt; 'mygroup' }}, {'ensure' =&gt;'present'})

From Hiera Backend:

userlist:
  dan:
    gid: 'mygroup'

uid: '600'
  alex:
 gid: 'mygroup'

Call:
ensure_resources('user',hiera_hash('userlist'), {'ensure' =&gt; 'present'})

ensure_packages()
Modified to also support Hash type argument for packages

This modification will call newly added ensure_resources() for processing Hash as second argument.
The original functionality remains same for Array type arguments.

Use:
hiera:

packagelist:
  ksh:
    ensure: latest
  mlocate: {}
  myrpm:
    provider: rpm
    source: "/tmp/myrpm-1.0.0.x86_64.rpm"
    install_options:
      --prefix:
        /users/home
  openssl:
    provider: rpm
    source: "/tmp/openssl-1.0.1e-42.el7.x86_64.rpm"

Call:
ensure_packages($packagelist)
</content>
</entry>
<entry>
<title>Add enclose_ipv6 function</title>
<updated>2016-03-13T22:20:49+00:00</updated>
<author>
<name>Emilien Macchi</name>
<email>emilien@redhat.com</email>
</author>
<published>2016-03-13T22:20:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fluxo.info/puppet-stdlib/commit/?id=0378336f9cefea65675d03f1d7107c75cb950fb6'/>
<id>urn:sha1:0378336f9cefea65675d03f1d7107c75cb950fb6</id>
<content type='text'>
Copy a function from puppetlabs/apache, created by Benedikt Bock by
55cc3b4e8f4bc859a1255cb57be2c7923005d822 .

This function enclose IPv6 addresses in square brackets.
It takes an array of ip addresses and encloses the ipv6 addresses with
square brackets.

Co-Authored-By: Benedikt Bock &lt;benedikt_bock@web.de&gt;
</content>
</entry>
<entry>
<title>Merge pull request #570 from gfidente/master</title>
<updated>2016-02-18T18:32:25+00:00</updated>
<author>
<name>Hunter Haugen</name>
<email>hunter@puppetlabs.com</email>
</author>
<published>2016-02-18T18:32:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fluxo.info/puppet-stdlib/commit/?id=69ca8d09c6124e9b5bd98e62fb201e734ae5bd05'/>
<id>urn:sha1:69ca8d09c6124e9b5bd98e62fb201e734ae5bd05</id>
<content type='text'>
Add is_ipv4_address and is_ipv6_address functions</content>
</entry>
<entry>
<title>Merge pull request #575 from guessi/extend_base64_function_support</title>
<updated>2016-02-18T15:47:04+00:00</updated>
<author>
<name>TP Honey</name>
<email>tphoney@users.noreply.github.com</email>
</author>
<published>2016-02-18T15:47:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fluxo.info/puppet-stdlib/commit/?id=2c3beace2438882fa7dfe89ad5817ea7fe7cba21'/>
<id>urn:sha1:2c3beace2438882fa7dfe89ad5817ea7fe7cba21</id>
<content type='text'>
Extend Base64() function support</content>
</entry>
<entry>
<title>Extend Base64() function support</title>
<updated>2016-02-18T15:38:19+00:00</updated>
<author>
<name>guessi</name>
<email>guessi@gmail.com</email>
</author>
<published>2016-02-17T09:00:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fluxo.info/puppet-stdlib/commit/?id=dc64e721ee0e5e49dd3b446aa3c90dab19654c21'/>
<id>urn:sha1:dc64e721ee0e5e49dd3b446aa3c90dab19654c21</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge pull request #573 from Yelp/pl-dig</title>
<updated>2016-02-16T20:26:51+00:00</updated>
<author>
<name>Hunter Haugen</name>
<email>hunter@puppetlabs.com</email>
</author>
<published>2016-02-16T20:26:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.fluxo.info/puppet-stdlib/commit/?id=e2206fd1530bbcad7afcb430bfb4f97d797529d9'/>
<id>urn:sha1:e2206fd1530bbcad7afcb430bfb4f97d797529d9</id>
<content type='text'>
Add dig function</content>
</entry>
</feed>
