Project

General

Profile

« Previous | Next » 

Revision a989a617

Added by Ohad Levy about 12 years ago

  • ID a989a6171e3130f50933e7d6694ab416c8f69cda

fixes #1509 - Foreman should use the proxy to import puppet classes

View differences:

app/models/smart_proxy.rb
class SmartProxy < ActiveRecord::Base
attr_accessible :name, :url
#TODO check if there is a way to look into the tftp_id too
# maybe with a perdefine sql
# maybe with a predefined sql
has_and_belongs_to_many :features
has_many :subnets, :foreign_key => "dhcp_id"
has_many :domains, :foreign_key => "dns_id"

Also available in: Unified diff