Method: Itamae::Resource::Group#set_current_attributes
- Defined in:
- lib/itamae/resource/group.rb
#set_current_attributes ⇒ Object
10 11 12 13 14 15 16 |
# File 'lib/itamae/resource/group.rb', line 10 def set_current_attributes current.exist = exist? if current.exist current.gid = run_specinfra(:get_group_gid, attributes.groupname).stdout.strip.to_i end end |