[Puppet-dev] [ANN] Puppet Development Kit (pdk) preview (0.6.0)

2017-08-08 Thread Lindsey Smith
I am happy to announce the release of version 0.6.0 of the Puppet
Development Kit (PDK) to the Puppet community. The open-source PDK
facilitates an easy, unified development workflow for Puppet modules, and
should appeal both to newcomers and experienced developers.

For a list of enhancements and bug fixes since the 0.5.0 release, please
refer to the included CHANGELOG (https://github.com/
puppetlabs/pdk/blob/master/CHANGELOG.md#v060-2017-08-08).

With the PDK you can:

   - Quickly get started with module development best practices and tools
   to develop, test and publish high-quality Puppet modules with confidence
   - Shift quality to the left by catching issues earlier and faster,
   before Puppet code is applied to live infrastructure
   - Unit test modules from their workstation to ensure that Puppet code is
   creating and managing resources as intended

You can learn more about how to install and use the PDK by reviewing the
README (https://github.com/puppetlabs/pdk) or the Getting Started guide (
https://github.com/puppetlabs/pdk/blob/master/docs/pdk.md).

OS native packages are available for a variety of platforms:

   - *Windows (7/10/2012/2016):* https://puppet-pdk.s3.amazonaws.com/
   pdk/0.6.0.0/repos/windows/pdk-0.6.0.0-x64.msi
   

   - *macOS 10.12 (Sierra):* https://puppet-pdk.
   s3.amazonaws.com/pdk/0.6.0.0/repos/apple/10.12/PC1/x86_64/
   pdk-0.6.0.0-1.osx10.12.dmg
   

   - *macOS 10.11 (El Capitan):* https://puppet-pdk.
   s3.amazonaws.com/pdk/0.6.0.0/repos/apple/10.11/PC1/x86_64/
   pdk-0.6.0.0-1.osx10.11.dmg
   

   - *RHEL 7:* https://puppet-pdk.s3.amazonaws.com/pdk/0.6.0.0/
   repos/el/7/PC1/x86_64/pdk-0.6.0.0-1.el7.x86_64.rpm
   

   - *RHEL 6:* https://puppet-pdk.s3.amazonaws.com/pdk/0.6.0.0/
   repos/el/6/PC1/x86_64/pdk-0.6.0.0-1.el6.x86_64.rpm
   

   - *SLES 12:* https://puppet-pdk.s3.amazonaws.com/pdk/0.6.0.0/
   repos/sles/12/PC1/x86_64/pdk-0.6.0.0-1.sles12.x86_64.rpm
   

   - *SLES 11:* https://puppet-pdk.s3.amazonaws.com/pdk/0.6.0.0/
   repos/sles/11/PC1/x86_64/pdk-0.6.0.0-1.sles11.x86_64.rpm
   

   - *Ubuntu 16.04 (Xenial):* https://puppet-pdk.
   s3.amazonaws.com/pdk/0.6.0.0/repos/deb/xenial/PC1/pdk_0.6.
   0.0-1xenial_amd64.deb
   

   - *Ubuntu 14.04 (Trusty):* https://puppet-pdk.
   s3.amazonaws.com/pdk/0.6.0.0/repos/deb/trusty/PC1/pdk_0.6.
   0.0-1trusty_amd64.deb
   


The OS native packages constitute a complete, "batteries-included"
development environment including Ruby and all other dependencies necessary
for using the PDK.

In addition, the core 'pdk' gem is available on Rubygems (
https://rubygems.org/gems/pdk).

Note that we consider this a pre-release/tech preview. This iteration of
the PDK is feature complete and we want to get your feedback now as we work
towards a 1.0 release.

Please report any issues you find as a ticket on the PDK (
https://github.com/puppetlabs/pdk/issues/) project in GitHub.


*Known Issues*

   - Windows packages require PowerShell 5+ and a script “ExecutionPolicy”
   of at least “RemoteSigned” (Future releases will work all the way up to
   “AllSigned”.)

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-dev/CAPyei8VfNy_bi11N_nGWopkLD52ndAYA3Wd2-r_TbuLE56U5Eg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[Puppet-dev] Hiera Merge

2017-08-08 Thread ggun
Hi Experts,

I have a requirement as below.
I need to create a Hash from below hiera data.

was_data:
  hs3sourcepath: 'glic.binaries/websphere'
  hdaresponse_file: /opt/software/WAS8.5.5.10_Install.xml
  hibmagentpath: 
/opt/software/agent.installer.linux.gtk.x86_64_1.8.2000.20150303_1526.zip
  hbase_dir: '/opt/was/was855'
  hinstance_name: WebSphere
  was_dmgr_data:
esa-group-service:  
  hgroup: websph
  hdmgr_profile: TST
  hdmgr_cell: CELL
  hcluster_name: CLUSTER
  hpptdmgrsrvport: 8080
esa-user-profile-service:
  hdmgr_profile: ABC
  hdmgr_cell: PQS
  hcluster_name: IOP
  hpptdmgrsrvport: 


I need a hash of above data as 
Hash 1 : 
esa-group-service:   
  hgroup: websph
  hdmgr_profile: TST
  hdmgr_cell: CELL
  hcluster_name: CLUSTER
  hpptdmgrsrvport: 8080
  hs3sourcepath: 'glic.binaries/websphere'
  hdaresponse_file: /opt/software/WAS8.5.5.10_Install.xml
  hibmagentpath: 
/opt/software/agent.installer.linux.gtk.x86_64_1.8.2000.20150303_1526.zip
  hbase_dir: '/opt/was/was855'
  hinstance_name: WebSphere

Hash 2
  esa-user-profile-service:
  hdmgr_profile: ABC
  hdmgr_cell: PQS
  hcluster_name: IOP
  hpptdmgrsrvport: 
  hs3sourcepath: 'glic.binaries/websphere'
  hdaresponse_file: /opt/software/WAS8.5.5.10_Install.xml
  hibmagentpath: 
/opt/software/agent.installer.linux.gtk.x86_64_1.8.2000.20150303_1526.zip
  hbase_dir: '/opt/was/was855'
  hinstance_name: WebSphere

So I trying to merge the has of esa-group-service to was_data and 
esa-user-profile-service to was_data

Please let me know if there is a way

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-dev/9ee70d45-18e9-4e6f-87ed-78000ac47140%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.