{"ref":"refs/heads/ticket/master/11417_rhel6_pe_devel","push_id":54175932,"commits":[{"sha":"9e3e8936b3ee8c7d6236a3dfc06ce6a1349d237f","author":{"email":"f3e731dfa293c7a83119d8aacfa41b5d2d780be9@puppetlabs.com","name":"Jeff McCune"},"url":"https://api.github.com/repos/jeffmccune/puppetlabs-pe_devel/commits/9e3e8936b3ee8c7d6236a3dfc06ce6a1349d237f","message":"(#11417) Add EL 6 resource to configure pe-ruby-devel\n\nThe whole point of this work and this module is for me to easily get\npe-ruby-devel on the PE system I'm developing on in order to build the\njenkins.rb gem for use with Puppet Enterprise.\n\nTo reach this goal, this patch does a number of things.  First, it\nmanages basic \"build essentials\" on my CentOS 6.1 system.  gcc, make,\nglibc-devel, curl, wget, etc...\n\nNext, the module manages the epel-release package so that we have\nadditional 3rd party packages available to us.\n\nIn the same vein, the module manages\n/etc/yum.repos.d/puppetenterprise.repo  This is where Mike might flip\nhis lid, but I can't wait for him to write this module.  I've configured\nthe module to use a base URL of\nhttp://links.puppetlabs.com/puppet-enterprise which for the moment uses\na 302 redirect to faro.puppetlabs.lan.  This works great with curl -L\nand yum.  In the future we can simply update the link to point to\nsomething public if we choose to do so.\n\nFor the time being this module will be BROKEN for anyone who is not\ninside the Puppet Labs local area network.  =(\n\nOnce the repository is configured, the module uses a normal package\nresource to manage pe-ruby-devel which is the whole point of this\neffort.\n\nIt works:\n\n    notice: /Stage[main]/Pe_devel::Redhat/Package[pe-ruby-devel]/ensure:\n    created\n\nSpec tests are included with this patch to validate the desired behavior\ndescribed in the ticket:\n\n    % rake spec\n    (in /Users/jeff/vms/puppet/modules/pe_devel)\n\n    pe_devel\n      should create Class[pe_devel]\n      on redhat el6 os families\n        should create Class[pe_devel::redhat]\n        should create Package[gcc]\n        should create Package[wget]\n        should create Package[curl]\n        should create Package[glibc-devel]\n        should create Package[pe-ruby-devel]\n      on debian os families\n        should create Notify[pe_devel unimplemented]\n        should not create Class[pe_devel::redhat]\n\n    Finished in 0.64855 seconds\n    9 examples, 0 failures"}],"head":"9e3e8936b3ee8c7d6236a3dfc06ce6a1349d237f","size":1}