Issue #11666 has been updated by Daniel Pittman.
Ken Barber wrote: > Oliver Hookins wrote: > >> Perhaps figuring out if a node is being used in a cloud is hard - too bad, >> these providers miss out being classified. At the very least it deserves >> another fact which should list the cloud provider; if and only if it can be >> reliably determined. > > I concur - lets just do it. > So the question pending is choosing implementation: > > * is_euca, is_ec2 style matching. Different clouds get a new is_<something> > style fact. Perhaps is_<something>_cloud to make it meaningful. I would much rather we push this sort of aggregate decision to the end user, so they are aware of the limitations. It isn't like there is much headache doing that in the Puppet DSL, where a fairly simple `if-then` tree would be sufficient implementation. Offering only the specific boolean "is it this" facts means that people can't, eg, assume that we have support for all clouds because we support some clouds. ---------------------------------------- Feature #11666: Add is_ec2 and is_euca facts https://projects.puppetlabs.com/issues/11666 Author: James Turnbull Status: Needs Decision Priority: Normal Assignee: Category: library Target version: 1.7.x Keywords: Branch: https://github.com/puppetlabs/facter/pull/138 Affected Facter version: Sometimes you just want to know if a host is EC2 or Eucalyptus. This adds two facts in a similar vein to "is_virtual". -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
