daily pastebin goal
53%
SHARE
TWEET

puppet allow node rules

yaplej Oct 25th, 2014 (edited) 149 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. node default{
  2.   @@firewall { "200 Allow agent ${hostname} to connect to master":
  3.     tag     => "puppet_agent",
  4.     chain   => 'INPUT',
  5.     proto   => 'tcp',
  6.     state   => 'NEW',
  7.     source  => $ipaddress,
  8.     dport   => ['8140','61613'],
  9.     action  => 'accept',
  10.   }
  11. }
  12. node 'puppet.domain.tld' {
  13.   Firewall <<| tag == "puppet_agent" |>>
  14. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top