cristifalcas / puppet-etcd

etcd is a distributed key value store that provides a reliable way to store data across a cluster of machines.
https://coreos.com/etcd/
Apache License 2.0
9 stars 39 forks source link

etcd::config not detecting Centos7 #7

Closed GKTheOne closed 8 years ago

GKTheOne commented 8 years ago

The $::osfamily and $::operatingsystemmajrelease reported by puppet when operating on a Centos7 node is 'RedHat' & '7' respectively, however I needed to change the etcd::config case match to a string (by single quoting the 7) before it would detect Centos7 properly.

(I am unsure why, and can't find anything on google relevant to this issue, so just a heads up)

cristifalcas commented 8 years ago

done