9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# File 'lib/ansible/ruby/modules/helpers/file_attributes.rb', line 9
def self.included(base)
base.attribute :owner
base.validates :owner, type: String
base.attribute :group
base.validates :group, type: String
base.attribute :mode
base.validates :mode, type: String
base.attribute :setype
base.validates :setype, type: String
base.attribute :selevel
base.validates :selevel, type: String
base.attribute :validate
base.validates :validate, type: String
end
|