|  | 
| 12 | 12 | * [`fix_secure_path`](#fix_secure_path): Add puppet agent bin directory to sudo secure_path | 
| 13 | 13 | * [`install_pe`](#install_pe): Installs PE on a target | 
| 14 | 14 | * [`install_puppetserver`](#install_puppetserver): install puppetserver community edition | 
|  | 15 | +* [`lxd`](#lxd): Provision/Tear down an instance on LXD | 
| 15 | 16 | * [`provision_service`](#provision_service): Provision/Tear down a list of machines using the provisioning service | 
| 16 | 17 | * [`run_tests`](#run_tests): Run rspec tests against a target machine | 
| 17 | 18 | * [`update_node_pp`](#update_node_pp): Creates a manifest file for a target node on pe server | 
| @@ -199,6 +200,80 @@ Data type: `Optional[Integer]` | 
| 199 | 200 | 
 | 
| 200 | 201 | The number of retries in case of network connectivity failures | 
| 201 | 202 | 
 | 
|  | 203 | +### <a name="lxd"></a>`lxd` | 
|  | 204 | + | 
|  | 205 | +Provision/Tear down an instance on LXD | 
|  | 206 | + | 
|  | 207 | +**Supports noop?** false | 
|  | 208 | + | 
|  | 209 | +#### Parameters | 
|  | 210 | + | 
|  | 211 | +##### `action` | 
|  | 212 | + | 
|  | 213 | +Data type: `Enum[provision, tear_down]` | 
|  | 214 | + | 
|  | 215 | +Action to perform, tear_down or provision | 
|  | 216 | + | 
|  | 217 | +##### `inventory` | 
|  | 218 | + | 
|  | 219 | +Data type: `Optional[String[1]]` | 
|  | 220 | + | 
|  | 221 | +Location of the inventory file | 
|  | 222 | + | 
|  | 223 | +##### `node_name` | 
|  | 224 | + | 
|  | 225 | +Data type: `Optional[String[1]]` | 
|  | 226 | + | 
|  | 227 | +The name of the instance | 
|  | 228 | + | 
|  | 229 | +##### `platform` | 
|  | 230 | + | 
|  | 231 | +Data type: `Optional[String[1]]` | 
|  | 232 | + | 
|  | 233 | +LXD image to use, eg images:ubuntu/22.04 | 
|  | 234 | + | 
|  | 235 | +##### `profiles` | 
|  | 236 | + | 
|  | 237 | +Data type: `Optional[Array[String[1]]]` | 
|  | 238 | + | 
|  | 239 | +LXD Profiles to apply | 
|  | 240 | + | 
|  | 241 | +##### `storage` | 
|  | 242 | + | 
|  | 243 | +Data type: `Optional[String[1]]` | 
|  | 244 | + | 
|  | 245 | +LXD Storage pool name | 
|  | 246 | + | 
|  | 247 | +##### `instance_type` | 
|  | 248 | + | 
|  | 249 | +Data type: `Optional[String[1]]` | 
|  | 250 | + | 
|  | 251 | +LXD Instance type | 
|  | 252 | + | 
|  | 253 | +##### `vm` | 
|  | 254 | + | 
|  | 255 | +Data type: `Optional[Boolean]` | 
|  | 256 | + | 
|  | 257 | +Provision as a virtual-machine instead of a container | 
|  | 258 | + | 
|  | 259 | +##### `remote` | 
|  | 260 | + | 
|  | 261 | +Data type: `Optional[String]` | 
|  | 262 | + | 
|  | 263 | +LXD remote, defaults to the LXD client configured default remote | 
|  | 264 | + | 
|  | 265 | +##### `retries` | 
|  | 266 | + | 
|  | 267 | +Data type: `Integer` | 
|  | 268 | + | 
|  | 269 | +On provision check the instance is accepting commands, will be deleted if retries exceeded, 0 to disable | 
|  | 270 | + | 
|  | 271 | +##### `vars` | 
|  | 272 | + | 
|  | 273 | +Data type: `Optional[String[1]]` | 
|  | 274 | + | 
|  | 275 | +YAML string of key/value pairs to add to the inventory vars section | 
|  | 276 | + | 
| 202 | 277 | ### <a name="provision_service"></a>`provision_service` | 
| 203 | 278 | 
 | 
| 204 | 279 | Provision/Tear down a list of machines using the provisioning service | 
| @@ -263,6 +338,12 @@ Data type: `Optional[String[1]]` | 
| 263 | 338 | 
 | 
| 264 | 339 | Location of the test files. Defaults to './spec/acceptance' | 
| 265 | 340 | 
 | 
|  | 341 | +##### `format` | 
|  | 342 | + | 
|  | 343 | +Data type: `Enum[progress, documentation]` | 
|  | 344 | + | 
|  | 345 | + | 
|  | 346 | + | 
| 266 | 347 | ### <a name="update_node_pp"></a>`update_node_pp` | 
| 267 | 348 | 
 | 
| 268 | 349 | Creates a manifest file for a target node on pe server | 
| @@ -383,6 +464,12 @@ Data type: `Optional[String[1]]` | 
| 383 | 464 | 
 | 
| 384 | 465 | Password to use for Vagrant boxes without the default Vagrant insecure key | 
| 385 | 466 | 
 | 
|  | 467 | +##### `vars` | 
|  | 468 | + | 
|  | 469 | +Data type: `Optional[String[1]]` | 
|  | 470 | + | 
|  | 471 | +YAML string of key/value pairs to add to the inventory vars section | 
|  | 472 | + | 
| 386 | 473 | ## Plans | 
| 387 | 474 | 
 | 
| 388 | 475 | ### <a name="provision--agents"></a>`provision::agents` | 
|  | 
0 commit comments