Changeset 1205
- Timestamp:
- 12/13/06 17:47:17 (6 years ago)
- File:
-
- 1 edited
-
ccsd/private/templates/network/cfservd_conf.tmpl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ccsd/private/templates/network/cfservd_conf.tmpl
r926 r1205 38 38 AllowUsers = ( root cfengine ) 39 39 40 # Only allow connections from within the CRCnet range 41 AllowConnectionsFrom = ( 10.1.0.0/16 ) 40 # Allow configuration from any range known to the config system 41 # XXX: May want to tighten this in future 42 !for %link_class_id,%link_class in %link_classes.items() 43 AllowConnectionsFrom = ( %link_class.netblock ) 44 !end for 42 45 43 # Trust keys from our install ranges 44 TrustKeysFrom = ( 10.1.18.0/24 ) 45 TrustKeysFrom = ( 10.1.23.0/24 ) 46 TrustKeysFrom = ( 10.1.224.0/24 ) 47 DynamicAddresses = ( 10.1.18.127-253 ) # admin DHCP 48 DynamicAddresses = ( 10.1.23.127-253 ) # admin DHCP 49 DynamicAddresses = ( 10.1.224.1-254 ) # PXE boot range 46 # Trust keys from our PXEboot ranges 47 !! This is a hack, look for 'PXE' in the link description 48 !for %link_id,%link in %links.items() 49 !if %link["description"].find("PXE") != -1 50 # %link.description 51 TrustKeysFrom = ( %link.network_address ) 52 DynamicAddresses = ( %link.network_address ) 53 !end if 54 !end for 50 55 51 56 any:: … … 59 64 grant: 60 65 61 # Grant access to all hosts at crc.net.nz.66 # Grant access to all hosts that we are allowing connections from 62 67 # Files should be world readable 63 64 /var/lib/cfengine2/inputs 10.1.* 68 !for %link_class_id,%link_class in %link_classes.items() 69 /var/lib/cfengine2/inputs %link_class.netblock 70 !end for 65 71 66 72 ###########
Note: See TracChangeset
for help on using the changeset viewer.
