RightScript
A RightScript is an executable piece of code that can be run on a server during the boot, operational, or decommission phases. A RightScript consists of a script (typically written in Bash, Ruby, or Perl), a set of binary-file attachments that are downloaded on demand from RightScale, a set of package names that are installed using the system's package manager before running the script, and a set of named input parameters that are passed into the script as environment variables. All revisions of a RightScript belong to a RightScript lineage that is exposed by the "lineage" attribute (NOTE: This attribute is merely a string to locate all revisions of a RightScript and NOT a working URL).
Content-Types
- Content type
- application/vnd.rightscale.right_script
Relationships
- self
- Href of itself
- source
- Returns the RightScript source
Actions
- commit
- Commits the RightScript
Attributes
- created_at
- description
- id
- inputs
- lineage
- links
- name
- packages
- revision
- source
- updated_at