terraform-provider-maas icon indicating copy to clipboard operation
terraform-provider-maas copied to clipboard

Instance customization - Curtin, repos, packages

Open sempervictus opened this issue 1 year ago • 7 comments

Having a resource for Curtin layouts, repository configuration, and deployment of custom packages (IIRC something Curtin can do) for instance resources would significantly improve the utility of this infra-as-code mechanism as the infrastructure delivered would need less conf-mgmt to get ready to do its job.

  1. Create curtin resource to store the markup
  2. Create an optional field assigning it to instances
  3. Expose repositories configuration for assignment
  4. Expose custom packages (at least debs) through Curtin if possible

sempervictus avatar Jun 28 '24 14:06 sempervictus

Is there something that instance/deploy_params/user_data cannot do in your use case ? Not a maintainer, just curious.

spdfnet avatar Jul 02 '24 12:07 spdfnet

Zfs root, raid volumes, lvm, etc under the os itself since that can't easily be changed when booted into the filesystem.

sempervictus avatar Jul 02 '24 12:07 sempervictus

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar Aug 02 '24 01:08 github-actions[bot]

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar Sep 02 '24 01:09 github-actions[bot]

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar Oct 03 '24 01:10 github-actions[bot]

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar Feb 11 '25 01:02 github-actions[bot]

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] avatar Mar 18 '25 02:03 github-actions[bot]

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar May 01 '25 00:05 github-actions[bot]

The Terraform provider is using MAAS API v2. The API v2 only allows the management of package repositories from the list of things this issue is requesting. This is captured already in #129 and will be implemented. As such, I am closing this issue. Thank you for reporting it in the first place. Note: I am not referring to instance customization but to the concept of custom package repositories being added to the MAAS Terraform provider. API wise, no curtin customization can be performed at an instance level.

skatsaounis avatar May 12 '25 20:05 skatsaounis