lib/puppet_x/xebialabs/xldeploy/ci.rb
# make sure the ci's parent structure is in place
make sure the ci's parent structure is in place
make sure the ci ' s parent structure is in place
def ensure_parent_directory
    unless parent.id == '.'
      unless parent.exists?
        parent.persist
      end
    end
  end
def ensure_parent_directory unless parent . id == '.' unless parent . exists? parent . persist end end end
make sure the ci's parent structure is in place
make sure the ci ' s parent structure is in place
# check if the parent tree parent of this ci exists. # get the parent name # if the parent exists do nothing