Hey Thomas,

On 10/02/2015 04:33 AM, Thomas Goirand wrote:
> We also may need, at some point, to add the type mosdebian and moscentos
> to the list of supported package suite, as there still will be some
> differences between the upstream Debian or CentOS packages. What is the
> best way to add this variable values?
> Could you Puppet experts explain to me and my Mirantis colleagues again?

So we partially discussed about that during our last weekly meeting [1]
and it come out the best way to support both Debian & Ubuntu are Puppet
conditionals, like we already have in place.


See the example with puppet-nova |2] where we use $::operatingsystem
fact [3] to detect if we're running Ubuntu or Debian.
If we're running Ubuntu, we take reference from UCA packaging. If
Debian, we take your work as reference.

[3] https://puppetlabs.com/facter

> Sorry that I didn't take notes about it and couldn't explain,
> Cheers,
> Thomas Goirand (zigo)
> P.S: Where may I find the best tutorial to get up-to-speed about puppet,
> so that I know what I'm talking about next time?

I personally learnt (and am still learning) by using official
documentation [4], that I suggest you to start with.

[4] http://docs.puppetlabs.com/puppet/

Hope it helps,
Emilien Macchi

Attachment: signature.asc
Description: OpenPGP digital signature

OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe

Reply via email to