Fulltext results:
- base-ssh-login @z:relax:api:base
- ====== base-ssh-login ====== Logs into a remote host using ssh. This can be used to open a remote sesssion, but ususally it's used by other methods (especially [[base-exec-user]]) to remotely execute a command. ===== Usage ===== ba... ICE'': a key of an user or host definition in the repository. From this, the following properties are
- base-exec-user @z:relax:api:base
- * ''USER'': A key of an user definition in the repository. From this, the following properties are used: * ''HOST_REF'' (required if ''REMOTE_HOST'' is not set): A key to a host definition in the repository. * ''RE
- base-repo-get-value @z:relax:api:base
- ====== base-repo-get-value ====== Loads a service configuration from the repository and outputs a single value (for the given key) to STDOUT. ===== Usage ===== base-repo-get-value SERVICE KEY * ''SERVICE'': A key of a service definition in the repository. * ''KEY'': The key for the value in th
- base-repo-get-service @z:relax:api:base
- ====== base-repo-get-service ====== Loads a service configuration from the repository and outputs it to STDOUT. ===== Usage ===== base-repo-get-service SERVICE * ''SERVICE'': a key of a service definition in the repository. ===== Returns ===== Returns the servic
- host-user-list @z:relax:api:host
- HOST'': a key of a host service definition in the repository. ===== Returns ===== Returns the first colum (login) of the ''/etc/passwd'' file. ===== Example ===== <code bash> users=$(host-user-list "${host}" \ | egrep -v "${IGNORED_USERS}" ) </code>
- base-exec-superuser @z:relax:api:base
- ed using ssh if the user is not on localhost. Before executing the command, the privileges will be ele... * ''USER'': A key of an user definition in the repository. From this, the following properties are used: * ''RIGHT_ELEVATION'': Method to evelate t... to be executed. It is executed either locally or remote using base-ssh-login. ===== Returns ===== R
- base-ssh-mount @z:relax:api:base
- ====== base-ssh-mount ====== Mounts a remote share using sshfs/fuse (sftp). ===== Usage ===== base-ssh-mount SERVICE * ''SERVICE'': A key of a service definition in the repository. ===== Returns ===== No output.
- base-ssh-umount @z:relax:api:base
- ====== base-ssh-umount ====== Unmounts a remote share which had been mounted using sshfs/fuse (sftp). ===== Usage ===== base-ssh-mount SERVIC... E * ''SERVICE'': A key of a service definition in the repository. ===== Returns ===== No output.
- base-net-load-url @z:relax:api:base
- oad-url URL * ''URL'': the URL to load. ===== Returns ===== Returns the contents of the resource referenced by the URL. ===== Examples ===== <code bash> base-net-load-url "${service_url}" </
- host-user-tab @z:relax:api:host
- HOST'': a key of a host service definition in the repository. ===== Returns ===== Returns the contents of the ''/etc/passwd'' file.
- ReLAX API
- ====== ReLAX API ====== {{indexmenu>.}}