Releases: terraform-coop/terraform-provider-foreman
v0.7.0
What's Changed
- Fix content views and content view filters by @bitkeks in #157
- fix(repositories): Handle download_concurrency missing API return value by @bitkeks in #177
- Add computeresources to hostgroups. by @vhsantos in #175
- Add missing "description" params to resources and data. by @vhsantos in #173
- fix(docs): Update all docs to state of 300dee2… by @bitkeks in #181
- fix(host_interface_attributes): Add error handling to if attrs by @bitkeks in #180
New Contributors
Full Changelog: v0.6.3...v0.7.0
v0.7.0-rc.1
What's Changed
- Fix content views and content view filters by @bitkeks in #157
- fix(repositories): Handle download_concurrency missing API return value by @bitkeks in #177
- Add computeresources to hostgroups. by @vhsantos in #175
- Add missing "description" params to resources and data. by @vhsantos in #173
New Contributors
Road map to v0.7.0
- error creating contentview resource (#165)
- Compatibility issue makes plugin crash: "panic: interface conversion: interface {} is nil, not string" (#160, fix in #180)
- Creating the full documentation with
autodoc
from latest master branch (#181)
Full Changelog: v0.6.3...v0.7.0-rc.1
v0.6.3
What's Changed
- Bump golang.org/x/net from 0.0.0-20211112202133-69e39bad7dc2 to 0.17.0 by @dependabot in #135
- Bump google.golang.org/grpc from 1.48.0 to 1.56.3 by @dependabot in #137
- Fixes for Katello repositories and sync_plans by @bitkeks in #143
- Bump golang.org/x/crypto from 0.14.0 to 0.17.0 by @dependabot in #145
- Update README.md by @bitkeks in #144
- Add job templates TF resource (+data res) with API calls by @bitkeks in #138
- fix foreman requirements (README) by @togoschi in #147
- Implement Katello lifecycle environments resource and data source by @bitkeks in #149
- Fix Katello product resource API call by @bitkeks in #142
- Katello content_views: add CV and CCV by @bitkeks in #150
- Bump google.golang.org/protobuf from 1.30.0 to 1.33.0 by @dependabot in #156
- chore: Update build system by @lhw in #155
New Contributors
Full Changelog: v0.6.2...v0.6.3
v0.6.2
v0.6.1
With this release v0.6.1 we have reached a stable new minor version for the Foreman Terraform provider 🎉
Important changes in v0.6.0 and v0.6.1
Starting with v0.6.0
some (breaking) changes require an update of Terraform manifests.
Host: build flag
The host build
argument was removed (0.6.0
) and is replaced by set_build_flag
. (0.6.1
)
- The reason behind this change is complex and was thoroughly discussed in #125
- Using the argument does one thing: it tells Foreman to set the
build
flag for a host. It defaults tofalse
, setting it totrue
causes the host to be re-installed on next boot (network-based installation).
Host: method argument
The method
argument is re-introduced as provision_method
. It can be either build
(network-based) or image
(image-based).
- Both options require different additional arguments, e.g the image to be used. See
examples/host/
.
Host: name argument
The host name
argument was considered for deprecation (in 0.6.0
, reverted in 0.6.1
).
- The
name
attribute has issues based on the "append_domain_name" setting in Foreman. It causes "inconsistent plan" errors when you give it a shortname as value, Terraform receives an FQDN back, and thename
attribute is then used in variables in other places in your Terraform manifests. - In
0.6.1
thename
attribute is not marked as deprecated and can still be used without errors. We added compatibility functions to reduce inconsistency errors, should you continue to usename
- As an alternative, the
shortname
argument can be used instead. It is meant for the hostname without the domain part. If you usename
as input argument,shortname
will be filled by the provider automatically. - To get the host's FQDN from the provider, use the read-only attribute
fqdn
. (0.6.1
) - Use
shortname
andfqdn
as variables in your manifests! Example:other_server = foreman_host.other_server.fqdn
. This will prevent you from running into inconsistent plans.
What's Changed in v0.6.1
- Update the docs to no longer reference removed 'build' parameter by @tnorris in #127
- Add more fields to Foreman host by @bitkeks in #123
- foreman_host: Replace the "name" attribute with "fqdn" (computed) and "shortname" (required) by @bitkeks in #121
- Implement settings API as data source by @bitkeks in #120
- Re-add ability to set build flag (via set_build_flag argument) by @bitkeks in #131
- Add compatibility to "name" argument by @bitkeks in #132
New Contributors
Full Changelog: v0.6.0...v0.6.1
v0.6.0
What's Changed
Full Changelog: v0.5.8...v0.6.0
v0.5.8
What's Changed
- Convert subnet belongs_to IDs to pointers by @jovandeginste in #104
- Fix create by @agriffit79 in #110
- logfile: don't add execute flag by @Frankkkkk in #107
- Puppet fixes by @agriffit79 in #111
New Contributors
- @jovandeginste made their first contribution in #104
- @Frankkkkk made their first contribution in #107
Full Changelog: v0.5.7...v0.5.8
v0.5.7
What's Changed
- Fix nested puppetclasses. Add test for verification by @lhw in #99
- Fix gofmt warnings and actual warnings by @lhw in #100
- update sdk. might fix intermittent resource conversion issues by @lhw in #101
- Add build token attribute to host resource by @agriffit79 in #97
Full Changelog: v0.5.6...v0.5.7
v0.5.6
What's Changed
- Fix decoding of host on update by @lhw in #95
- Add new flag 'manage_power_operations' by @mgusek-interhyp in #94
Full Changelog: v0.5.4...v0.5.6
v0.5.4
What's Changed
- project: migrate from hansemekur by @MrFreezeex in #88
- host: fix delete host when a host is imported by @MrFreezeex in #86
- Add check deleted by @MrFreezeex in #87
- project: actually add CheckDeleted checks by @MrFreezeex in #89
- host: fix delete host when a host is imported by @MrFreezeex in #90
Full Changelog: v0.5.1...v0.5.4