Project

General

Profile

« Previous | Next » 

Revision 611397af

Added by Ohad Levy about 14 years ago

  • ID 611397af89560d85f217319bd0390dcb800b0eb2

added audting on architecture, hostgroup, operatingsystem and puppetclass

View differences:

app/models/puppetclass.rb
validates_presence_of :name
validates_associated :environments
validates_format_of :name, :with => /\A(\S+\s?)+\Z/, :message => "can't be blank or contain white spaces."
acts_as_audited
# scans for puppet classes
# parameter is the module path

Also available in: Unified diff