On Tuesday, September 22, 2015 at 11:43:30 AM UTC-7, Reid Vandewiele wrote:
>
>
> What I know about faces comes from tinkering with them on and off, and 
> writing one or two over the last couple of years (only one of which I can 
> find/remember now). I've tinkered with the `puppet node` face, the `puppet 
> node_aws`, `puppet node_gce` faces, and written 
> https://forge.puppetlabs.com/tse/nimbus.
>

Ah ha! Remembered and found another one: 
https://github.com/reidmv/puppet-module-puppet_certificate/blob/master/lib/puppet/provider/puppet_certificate/ruby.rb#L22.

Finding that one re-emphasized for me why CLI and API equivalence is the 
big win of Faces. The other half of the Face user experience is not just 
writing them, but being able to use them when writing other Puppet 
components. It's great to have that feeling of (probably false) 
knowledgeability you get from knowing things on the Puppet CLI, and being 
able to leverage it when you branch out and start trying to write more 
automated extensions of it. E.g. types and providers, as shown in this 
example.

~Reid

-- 
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/7a01521b-e8ab-422f-bb88-b997d003fa71%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to