Module: Ansible::Ruby::Modules::Helpers::FileAttributes
- Defined in:
- lib/ansible/ruby/modules/helpers/file_attributes.rb
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
# File 'lib/ansible/ruby/modules/helpers/file_attributes.rb', line 9 def self.included(base) # @return [String, nil] Which user should own the file base.attribute :owner base.validates :owner, type: String # @return [String, nil] Which group should own the file base.attribute :group base.validates :group, type: String # @return [String, nil] File mode, e.g. "u=rw,g=r" base.attribute :mode base.validates :mode, type: String base.attribute :setype base.validates :setype, type: String base.attribute :selevel base.validates :selevel, type: String end |