lib/puppet/network/authconfig.rb
# force regular ACLs to be present
force regular ACLs to be present
force regular ACLs to be present
def insert_default_acl
      DEFAULT_ACL.each do |acl|
        unless rights[acl[:acl]]
          Puppet.info "Inserting default '#{acl[:acl]}' (auth #{acl[:authenticated]}) ACL"
          mk_acl(acl)
        end
      end
      unless rights["/"]
        rights.newright("/").restrict_authenticated(:any)
      end
    end
def insert_default_acl DEFAULT_ACL . each do | acl | unless rights [ acl [ :acl ] ] Puppet . info "Inserting default '#{acl[:acl]}' (auth #{acl[:authenticated]}) ACL" mk_acl ( acl ) end end unless rights [ "/" ] rights . newright ( "/" ) . restrict_authenticated ( :any ) end end
force regular ACLs to be present
force regular ACLs to be present
# queue an empty (ie deny all) right for every other path # actually this is not strictly necessary as the rights system # denies not explicitely allowed paths