Closed mckern closed 10 years ago
Updated commits pending. I'm going to trample my fork and remove 70831c6, and add a line to provisioner.sh
to get the OS major release.
How's this? I wound up parsing /etc/redhat-release using a variation of the same regex that facter uses. I tested it across RHEL7 beta, CentOS 6, and CentOS 5 and got good data across all three.
Any update on moving this forward?
I've added Puppet as an option, using the Puppet Labs yum repositories. To do so, I've added a couple of configuration variables to the packer templates for each CentOS release and updated the provisioner script.
I'm starting the work to add it to other *nix variants with repositories (Fedora, Debian, Ubuntu) next but since I needed CentOS right now I thought I'd open a pull request and get the ball rolling.