Ask Your Question
2

How to manage nodes in different networks?

asked 2013-02-23 18:27:42 -0500

Kingpin gravatar image

updated 2013-02-27 08:50:27 -0500

llowder gravatar image

I'd like to get my puppet master to manage nodes in a different vlan.

Due to firewall restrictions, I can't do this easily. I'm thinking of adding a 2nd NIC to the master server configured with an IP on the 2nd vlan.

Will this work? Can Puppet be configured to listen on 2 IPs?

Can it talk to nodes in the same vlan on the primary interface and to nodes in the 2nd vlan through the 2nd interface?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2013-02-24 03:12:39 -0500

Stefan gravatar image

Yes, puppet can listen on both interfaces and handle request. The only restriction I can think of is that nodes in both VLANs should be able to use the same DNS name when connecting to the master.

If that is not the case (e.g. nodes on VLAN1 speak to puppetmaster.example.com and nodes on VLAN2 speak to puppetmaster_nic2.example.com, your puppetmaster needs a certificate with both names. Have a look at dnsaltnames.

edit flag offensive delete link more

Comments

1

In Puppet Enterprise, it looks like the config that controls the interface is just a standard apache style config in /etc/puppetlabs/httpd/conf.d/puppetmaster.conf. If you're ...(more)

Ancillas gravatar imageAncillas ( 2013-02-28 02:13:00 -0500 )edit
-1

answered 2013-02-27 14:16:21 -0500

Kingpin gravatar image

Thanks.

How do I configure the Master to listen on the 2nd interface and to communicate to nodes on the 2nd VLAN via the 2nd interface? Which config files should I look at?

edit flag offensive delete link more

Comments

@Kingpin, Since this isn't a solution, it should really be a comment on Stefan's proposed answer, or you should edit your original question. I left a comment on ...(more)

Ancillas gravatar imageAncillas ( 2013-02-28 02:11:35 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2013-02-23 18:27:42 -0500

Seen: 325 times

Last updated: Feb 27 '13