~ubuntu-branches/debian/sid/opennebula/sid

« back to all changes in this revision

Viewing changes to src/oca/ruby/OpenNebula/Template.rb

  • Committer: Package Import Robot
  • Author(s): Damien Raude-Morvan
  • Date: 2012-05-11 19:27:43 UTC
  • mfrom: (1.1.6)
  • Revision ID: package-import@ubuntu.com-20120511192743-lnz8gog5uxzmx2f3
Tags: 3.4.1-1
* New upstream release:
  - d/patches/default_conf.diff: Drop, transfert manager is now handled
    on a datasatore basis.
  - d/patches/genisoimage.diff: Merged upstream.
  - d/patches/oneacct-system-wide-installation.patch: Merged upstream.
  - Refresh others patches.
  - Update *.install files.
* Improve OCCI Self-Service UI integration:
  - Install into /usr/share/opennebula/occi/.
  - occi_system_jquery.diff: Use system wide jquery/jqueryui.
  - Add Recommends: libjs-jquery, libjs-jquery-ui for opennebula package.
* Add Suggests: ruby-uuidtools for econe-server.
* Install more manpages from upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
70
70
 
71
71
        # Allocates a new Template in OpenNebula
72
72
        #
73
 
        # +templatename+ A string containing the name of the Template.
74
 
        def allocate(templatename)
75
 
            super(TEMPLATE_METHODS[:allocate], templatename)
 
73
        # @param description [String] The contents of the Template.
 
74
        #
 
75
        # @return [nil, OpenNebula::Error] nil in case of success, Error
 
76
        #   otherwise
 
77
        def allocate(description)
 
78
            super(TEMPLATE_METHODS[:allocate], description)
76
79
        end
77
80
 
78
81
        # Deletes the Template