You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
url = var.cobbler_url # optionally use COBBLER_URL env var
insecure = var.cobbler_insecure # optionally use COBBLER_INSECURE env var
}
resource "cobbler_distro" "distro" {
name = "pd-tf-basic-x86_64"
breed = "debian"
os_version = "bookworm"
arch = "x86_64"
kernel = "/var/www/cobbler/distro_mirror/netinst-debian-12.5.0-x86_64/install.amd/vmlinuz"
initrd = "/var/www/cobbler/distro_mirror/netinst-debian-12.5.0-x86_64/install.amd/initrd.gz"
}
Excepted behavior
distro resource created successfully
Actual behavior:
# cobbler_distro.distro will be created+resource"cobbler_distro""distro" {
+arch="x86_64"+boot_files=(known after apply)
+boot_loaders=(known after apply)
+breed="debian"+comment=(known after apply)
+fetchable_files=(known after apply)
+id=(known after apply)
+initrd="/var/www/cobbler/distro_mirror/netinst-debian-12.5.0-x86_64/install.amd/initrd.gz"+kernel="/var/www/cobbler/distro_mirror/netinst-debian-12.5.0-x86_64/install.amd/vmlinuz"+kernel_options=(known after apply)
+kernel_options_post=(known after apply)
+mgmt_classes=(known after apply)
+name="pd-tf-basic-x86_64"+os_version="bookworm"+owners=(known after apply)
+template_files=(known after apply)
}
Plan:1 to add, 0 to change, 0 to destroy.
Do you want to perform these actions?
Terraform will perform the actions described above.
Only 'yes' will be accepted to approve.
Enter a value: yes
cobbler_distro.distro: Creating...
╷
│ Error: Cobbler Distro: Error Creating: Error updating mgmt_classes to .
│
│ with cobbler_distro.distro,
│ on main.tf line 8, in resource "cobbler_distro""distro":
│ 8: resource"cobbler_distro""distro" {
│
╵
It seems that mgmt_classes has been removed from the newest Cobbler version (3.4.0), for distro, profile and system. I am not sure if it is official change or bug.
The text was updated successfully, but these errors were encountered:
Hi,
TF Code:
Excepted behavior
distro resource created successfully
Actual behavior:
Version
terraform-provider-cobbler: 3.0.0
Other info
It seems that
mgmt_classes
has been removed from the newest Cobbler version (3.4.0), for distro, profile and system. I am not sure if it is official change or bug.The text was updated successfully, but these errors were encountered: