Multiple APT repo's

I am wanting to use foreman/puppet to add multiple apt repo's to my debian
nodes. I know how to do it with multiple manifest files when using straight
puppet and the apt module from puppetlabs, but I have no idea how to do it
when using the module with foreman. How do I do such a thing with the
foreman gui?

> From: "Mark Chaney" <macscr@gmail.com>
> To: foreman-users@googlegroups.com
> Sent: Sunday, February 16, 2014 3:31:23 AM
> Subject: [foreman-users] Multiple APT repo's

> I am wanting to use foreman/puppet to add multiple apt repo's to my debian
> nodes. I know how to do it with multiple manifest files when using straight
> puppet and the apt module from puppetlabs, but I have no idea how to do it
> when using the module with foreman. How do I do such a thing with the
> foreman gui?

I would create a wrapper class in a site module (a module that just has resources that are specific to your installation) with all the apt::source resources [1] you need to add to each machine. You can then use Foreman's ENC functionality to assign that class to your debian machines.

Hope that helps.

-S

  1. https://github.com/puppetlabs/puppetlabs-apt#aptsource
··· ----- Original Message -----


You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at http://groups.google.com/group/foreman-users .
For more options, visit https://groups.google.com/groups/opt_out .