Module platform¶
License: ASL 2.0
Version: 1.1.6
This module requires compiler version 2019.1 or higher
Upstream project: https://github.com/inmanta/platform.git
Entities¶
- entity platform::UserdataBootstrap¶
Parents:
std::Entity
Bootstrap an inmanta agent on the host by passing a shell script to the virtual machine user data. Setting the INMANTA_RELEASE environment variable to dev will install the agent from development snapshots.
The user script will force the correct hostname and setenforce 0 to disable enforcing selinux.
Warning
Currently this script only support centos 7 or equivalent (rhel7, aws linux, sl7, …), Ubuntu and Fedora.
- relation platform::UserdataVM vm [1]¶
The following implementations are defined for this entity:
The following implements statements select implementations for this entity:
platform::userdataBootstrap
constrainttrue
- entity platform::UserdataVM¶
Parents:
std::Entity
Base class for virtual machines that provide a user_data attribute through which a shell script can be injected at first boot of the virtual machine.
- attribute string user_data¶
A shell script that is executed at first boot.
Implementations¶
- implementation platform::userdataBootstrap¶