@arichardet arichardet released this Mar 2, 2017 · 27 commits to master since this release

Assets 19

Release Date

2017-03-02 0.6.0

Supported Platforms

With this release, Converge no longer supports freebsd and solaris.

Features

This release includes new systemd and unarchive capabilities, improvements to the user resource, and generators for man pages and bash autocomplete.

Module Improvements

Systemd

Support for controlling systemd services has been added via #602.

systemd.unit.state "ssh" {
  unit  = "ssh.service"
  state = "running"
}

Unarchive

Managing several archive formats such as zip and tar.gz is available through unarchive support in #592.

unarchive "consul.zip" {
  source      = "/tmp/consul.zip"
  destination = "/tmp/consul"
}

User

A user can now be enabled or disabled with the addition of #581.

Additionally, there are updates to the diffs presented for user with #584 and #588.

Usablilty Enhancements

Module Author Improvement

A new helper method has been added to for use with resource.Status. RaiseLevelForDiffs will raise the status level to StatusWillChange if any differences exist via #587.

Various Generators

Generators for man pages and bash autocompletion have been added via #571.

Changelog

See the Converge changelog for additional details on the 0.6.0 release.

Support

We provide support via the Converge Slack and through GitHub Issues.

Pre-release

@arichardet arichardet released this Feb 27, 2017 · 31 commits to master since this release

Assets 11

Release Date

2017-02-27 0.6.0-rc1

Features

This release includes new systemd and unarchive capabilities, improvements to the user resource, and generators for man pages and bash autocomplete. Additionally, Converge no longer supports freebsd and solaris.

Supported Platforms

With this release, Converge no longer supports freebsd and solaris.

Module Improvements

Systemd

Support for controlling systemd services has been added via #602.

systemd.unit.state "ssh" {
  unit  = "ssh.service"
  state = "running"
}

Unarchive

Managing several archive formats such as zip and tar.gz is available through unarchive support in #592.

unarchive "consul.zip" {
  source      = "/tmp/consul.zip"
  destination = "/tmp/consul"
}

User

A user can now be enabled or disabled with the addition of #581.

Additionally, there are updates to the diffs presented for user with #584 and #588.

Usablilty Enhancements

Module Author Improvement

A new helper method has been added to for use with resource.Status. RaiseLevelForDiffs will raise the status level to StatusWillChange if any differences exist via #587.

Various Generators

Generators for man pages and bash autocompletion have been added via #571.

Changelog

See the Converge changelog for additional details on the 0.6.0 release.

Support

We provide support via the Converge Slack and through GitHub Issues.

Feb 24, 2017
Merge pull request #570 from asteris-llc/fix/graph-generation-race
Sleep in Graph Generation Test

@rebeccaskinner rebeccaskinner released this Dec 29, 2016 · 141 commits to master since this release

Assets 15

Release Date

2016-12-29 0.5.0

Features

This release includes new modules and general usability enhancements for users
and module authors.

Remove Vendoring

For converge 0.5.0 we have removed the vendor directory from the converge
repository. glide install will now run as part of the build process to ensure
all dependencies are installed.

Demo Applications

A demo of using converge for a kubernetes deployment was added in 524.

Module Improvements

File Fetch

File download and verification support has been added via #543.

file.fetch "consul.zip" {
  source      = "https://releases.hashicorp.com/consul/0.6.4/consul_0.6.4_linux_amd64.zip"
  destination = "/tmp/consul.zip"
  hash_type   = "sha256"
  hash        = "abdf0e1856292468e2c9971420d73b805e93888e006c76324ae39416edcf0627"
}

File Owner

File ownership can now be changed with the file.owner module added via #549.

file.owner "owner-test" {
  destination = "dir"
  group       = "root"
  user        = "root"
  verbose     = true
  recursive   = true
}

Usability Enhancements

Better Cascading Error Output

Modules with failing dependencies are now summarized at the end of a run via 516.

root/task.directory:
 Error: exec: "blah": executable file not found in $PATH
 Messages:
 Has Changes: no
 Changes: No changes

Errors:
 * root/task.directory: exec: "blah": executable file not found in $PATH

Failed due to failing dependency:
 * root/task.key: error in dependency "root/task.directory"
 * root/task.csr: error in dependency "root/task.key"
 * root/task.crt: error in dependency "root/task.csr"

Summary: 1 errors, 0 changes, 3 dependency errors

Resource Name Restrictions

As of 535 resource names are
now restricted to strings consisting of letters, numbers, dots . and dashes
-. Unicode letter characters are supported.

Diff Output During Application

As of 533 diff outputs
should be displayed when running apply.

Engine Improvements

Module API Enhancements

The module authoring API has been updated to make it easier to develop modules.

Explicit Value Exports

As of 533 the export and
re-export-as tags are supported for resource.Resource types in modules.
These tags are now required to make fields available for lookup.

New Module Author Idioms

As of 533 resource types in
modules should not embed resource.Status. The Check and Apply functions
should no longer return the resource itself but instead a generated task status.

Bug Fixes

Converge 0.5.0 introduces a multitiude of bugfixes and stability improvements.
Please refer to the changelog for
a detailed report.

Support

We provide support via the Converge Slack team and through GitHub issues

Pre-release

@rebeccaskinner rebeccaskinner released this Dec 28, 2016 · 160 commits to master since this release

Assets 15

title: "0.5.0"
date: "2016-12-28"
slug: "0-5-0"

menu:
main:
parent: "release-notes"
identifier: 0.5.0


Release Date

2016-12-28 0.5.0-rc1

Features

This release includes new modules and general usability enhancements for users
and module authors.

Remove Vendoring

For converge 0.5.0 we have removed the vendor directory from the converge
repository. glide install will now run as part of the build process to ensure
all dependencies are installed.

Demo Applications

A demo of using converge for a kubernetes deployment was added in 524.

Module Improvements

File Fetch

File download and verification support has been added via #543.

file.fetch "consul.zip" {
  source      = "https://releases.hashicorp.com/consul/0.6.4/consul_0.6.4_linux_amd64.zip"
  destination = "/tmp/consul.zip"
  hash_type   = "sha256"
  hash        = "abdf0e1856292468e2c9971420d73b805e93888e006c76324ae39416edcf0627"
}

File Owner

File ownership can now be changed with the file.owner module added via #549.

file.owner "owner-test" {
  destination = "dir"
  group       = "root"
  user        = "root"
  verbose     = true
  recursive   = true
}

Usability Enhancements

Better Cascading Error Output

Modules with failing dependencies are now summarized at the end of a run via 516.

root/task.directory:
 Error: exec: "blah": executable file not found in $PATH
 Messages:
 Has Changes: no
 Changes: No changes

Errors:
 * root/task.directory: exec: "blah": executable file not found in $PATH

Failed due to failing dependency:
 * root/task.key: error in dependency "root/task.directory"
 * root/task.csr: error in dependency "root/task.key"
 * root/task.crt: error in dependency "root/task.csr"

Summary: 1 errors, 0 changes, 3 dependency errors

Resource Name Restrictions

As of 535 resource names are
now restricted to strings consisting of letters, numbers, dots . and dashes
-. Unicode letter characters are supported.

Diff Output During Application

As of 533 diff outputs
should be displayed when running apply.

Engine Improvements

Module API Enhancements

The module authoring API has been updated to make it easier to develop modules.

Explicit Value Exports

As of 533 the export and
re-export-as tags are supported for resource.Resource types in modules.
These tags are now required to make fields available for lookup.

New Module Author Idioms

As of 533 resource types in
modules should not embed resource.Status. The Check and Apply functions
should no longer return the resource itself but instead a generated task status.

Bug Fixes

Converge 0.5.0 introduces a multitiude of bugfixes and stability improvements.
Please refer to the changelog for
a detailed report.

Support

We provide support via the Converge Slack team and through GitHub issues

Pre-release

@rebeccaskinner rebeccaskinner released this Dec 21, 2016 · 178 commits to master since this release

Assets 15

title: "0.5.0"
date: "2016-12-21"
slug: "0-5-0"

menu:
main:
parent: "release-notes"
identifier: 0.5.0


Release Date

2016-12-21 0.5.0-beta1

Features

This release includes new modules and general usability enhancements for users
and module authors.

Demo Applications

A demo of using converge for a kubernetes deployment was added in 524.

Module Improvements

File Fetch

File download and verification support has been added via #543.

file.fetch "consul.zip" {
  source      = "https://releases.hashicorp.com/consul/0.6.4/consul_0.6.4_linux_amd64.zip"
  destination = "/tmp/consul.zip"
  hash_type   = "sha256"
  hash        = "abdf0e1856292468e2c9971420d73b805e93888e006c76324ae39416edcf0627"
}

File Owner

File ownership can now be changed with the file.owner module added via #549.

file.owner "owner-test" {
  destination = "dir"
  group       = "root"
  user        = "root"
  verbose     = true
  recursive   = true
}

Usability Enhancements

Better Cascading Error Output

Modules with failing dependencies are now summarized at the end of a run via 516.

root/task.directory:
 Error: exec: "blah": executable file not found in $PATH
 Messages:
 Has Changes: no
 Changes: No changes

Errors:
 * root/task.directory: exec: "blah": executable file not found in $PATH

Failed due to failing dependency:
 * root/task.key: error in dependency "root/task.directory"
 * root/task.csr: error in dependency "root/task.key"
 * root/task.crt: error in dependency "root/task.csr"

Summary: 1 errors, 0 changes, 3 dependency errors

Resource Name Restrictions

As of 535 resource names are
now restricted to strings consisting of letters, numbers, dots . and dashes
-. Unicode letter characters are supported.

Diff Output During Application

As of 533 diff outputs
should be displayed when running apply.

Engine Improvements

Module API Enhancements

The module authoring API has been updated to make it easier to develop modules.

Explicit Value Exports

As of 533 the export and
re-export-as tags are supported for resource.Resource types in modules.
These tags are now required to make fields available for lookup.

New Module Author Idioms

As of 533 resource types in
modules should not embed resource.Status. The Check and Apply functions
should no longer return the resource itself but instead a generated task status.

Bug Fixes

Converge 0.5.0 introduces a multitiude of bugfixes and stability improvements.
Please refer to the changelog for
a detailed report.

Support

We provide support via the Converge Slack team and through GitHub issues

@arichardet arichardet released this Nov 22, 2016 · 394 commits to master since this release

Assets 15

This is the final release for Converge 0.4.0. Please refer to the release notes (also included below) for changes and the 0.4.0 documentation for usage.

Features

This release includes a number of new and improved modules, several bugfixes in
the core engine, and enhancements to the internal API to ease the module
creation process.

Module Improvements

LVM

LVM volume creation has been added for Linux based systems
via #184.

lvm.volumegroup "vg-test" {
  name    = "test"
  devices = ["/dev/sda","/dev/sdb"]
}

lvm.logicalvolume "lv-test" {
  group   = "test"
  name    = "test"
  size    = "1G"
  depends = ["lvm.volumegroup.vg-test"]
}

filesystem "mnt-me" {
  device  = "/dev/mapper/test-test"
  mount   = "/mnt"
  fstype  = "ext3"
  depends = ["lvm.logicalvolume.lv-test"]
}

APT

Apt package installation has been added
via #461.

package.apt "mc" {
  group = "apt"
  name  = "mc"
  state = "present"
}

Docker Volume

Support for docker volumes has been added
via #453

docker.volume "elasticsearch" {
  name = "elasticsearch"

  labels {
    environment = "test"
  }

  state = "present"
  force = true
}

Docker Network

Support for docker networking has been added
via #477

docker.network "test-network" {
  name  = "test-network"
  state = "present"
  force = true

  labels {
    environment = "test"
  }

  options {
    "com.docker.network.bridge.enable_icc" = "true"
  }

  internal    = false
  ipv6        = false
  ipam_driver = "default"

  ipam_config {
    subnet  = "192.168.129.0/24"
    gateway = "192.168.129.1"

    aux_addresses {
      router  = "192.168.129.40"
      printer = "192.168.129.41"
    }
  }
}

User Module

Users can now be modified thanks
to #434. This change also
adds several new fields to the user module which can be used during user
creation or modification including:

  • create_home to create a home directory for a user
  • move_dir to move contents of a users home directory if it changes
  • skel_dir to specify a skeleton directory to use when creating a user

Engine Improvements

Module API Enhancements

The module authoring API has been updated to make it easier to develop modules.

Non-empty Struct Tags

Resources now support the nonempty struct tag as demonstrated by this snippet
from the user module:

type Preparer struct {
    // Username is the user login name.
    Username string `hcl:"username" required:"true" nonempty:"true"`

when nonempty:"true" is set, an error will be returned if the user sets the
value of a field to the zero value for it's type.

Time Duration Types

Resource structs may now use time.Duration as a field type. Duration strings
will be parsed as a time duration automatically; numeric values will be treated
as a time in seconds.

Bug Fixes

Please refer to the changelog for
a detailed report.

Support

We provide support via the Converge Slack team and through GitHub issues

Pre-release

@rebeccaskinner rebeccaskinner released this Nov 17, 2016 · 397 commits to master since this release

Assets 15

Release Date

2016-11-17 0.4.0-rc1

Features

This release includes a number of new and improved modules, several bugfixes in
the core engine, and enhancements to the internal API to ease the module
creation process.

Module Improvements

LVM

LVM volume creation has been added for Linux based systems
via #184.

lvm.volumegroup "vg-test" {
  name    = "test"
  devices = ["/dev/sda","/dev/sdb"]
}

lvm.logicalvolume "lv-test" {
  group   = "test"
  name    = "test"
  size    = "1G"
  depends = ["lvm.volumegroup.vg-test"]
}

filesystem "mnt-me" {
  device  = "/dev/mapper/test-test"
  mount   = "/mnt"
  fstype  = "ext3"
  depends = ["lvm.logicalvolume.lv-test"]
}

APT

Apt package installation has been added
via #461.

package.apt "mc" {
  group = "apt"
  name  = "mc"
  state = "present"
}

Docker Volume

Support for docker volumes has been added
via #453

docker.volume "elasticsearch" {
  name = "elasticsearch"

  labels {
    environment = "test"
  }

  state = "present"
  force = true
}

Docker Network

Support for docker networking has been added
via #477

docker.network "test-network" {
  name  = "test-network"
  state = "present"
  force = true

  labels {
    environment = "test"
  }

  options {
    "com.docker.network.bridge.enable_icc" = "true"
  }

  internal    = false
  ipv6        = false
  ipam_driver = "default"

  ipam_config {
    subnet  = "192.168.129.0/24"
    gateway = "192.168.129.1"

    aux_addresses {
      router  = "192.168.129.40"
      printer = "192.168.129.41"
    }
  }
}

User Module

Users can now be modified thanks
to #434. This change also
adds several new fields to the user module which can be used during user
creation or modification including:

  • create_home to create a home directory for a user
  • move_dir to move contents of a users home directory if it changes
  • skel_dir to specify a skeleton directory to use when creating a user

Engine Improvements

Module API Enhancements

The module authoring API has been updated to make it easier to develop modules.

Non-empty Struct Tags

Resources now support the nonempty struct tag as demonstrated by this snippet
from the user module:

type Preparer struct {
    // Username is the user login name.
    Username string `hcl:"username" required:"true" nonempty:"true"`

when nonempty:"true" is set, an error will be returned if the user sets the
value of a field to the zero value for it's type.

Time Duration Types

Resource structs may now use time.Duration as a field type. Duration strings
will be parsed as a time duration automatically; numeric values will be treated
as a time in seconds.

Bug Fixes

Please refer to the changelog for
a detailed report.

Support

We provide support via the Converge Slack team and through GitHub issues

Pre-release

@rebeccaskinner rebeccaskinner released this Nov 15, 2016 · 402 commits to master since this release

Assets 15

title: "0.4.0"
date: "2016-11-15"
slug: "0-4-0"

menu:
main:
parent: "release-notes"
identifier: 0.4.0


Release Date

2016-11-14 0.4.0-beta1

Features

This release includes a number of new and improved modules, several bugfixes in
the core engine, and enhancements to the internal API to ease the module
creation process.

Module Improvements

LVM

LVM volume creation has been added for Linux based systems
via #184.

lvm.volumegroup "vg-test" {
  name    = "test"
  devices = ["/dev/sda","/dev/sdb"]
}

lvm.logicalvolume "lv-test" {
  group   = "test"
  name    = "test"
  size    = "1G"
  depends = ["lvm.volumegroup.vg-test"]
}

filesystem "mnt-me" {
  device  = "/dev/mapper/test-test"
  mount   = "/mnt"
  fstype  = "ext3"
  depends = ["lvm.logicalvolume.lv-test"]
}

APT

Apt package installation has been added
via #461.

package.apt "mc" {
  group = "apt"
  name  = "mc"
  state = "present"
}

Docker Volume

Support for docker volumes has been added
via #453

docker.volume "elasticsearch" {
  name = "elasticsearch"

  labels {
    environment = "test"
  }

  state = "present"
  force = true
}

Docker Network

Support for docker networking has been added
via #477

docker.network "test-network" {
  name  = "test-network"
  state = "present"
  force = true

  labels {
    environment = "test"
  }

  options {
    "com.docker.network.bridge.enable_icc" = "true"
  }

  internal    = false
  ipv6        = false
  ipam_driver = "default"

  ipam_config {
    subnet  = "192.168.129.0/24"
    gateway = "192.168.129.1"

    aux_addresses {
      router  = "192.168.129.40"
      printer = "192.168.129.41"
    }
  }
}

User Module

Users can now be modified thanks
to #434. This change also
adds several new fields to the user module which can be used during user
creation or modification including:

  • create_home to create a home directory for a user
  • move_dir to move contents of a users home directory if it changes
  • skel_dir to specify a skeleton directory to use when creating a user

Engine Improvements

Module API Enhancements

The module authoring API has been updated to make it easier to develop modules.

Non-empty Struct Tags

Resources now support the nonempty struct tag as demonstrated by this snippet
from the user module:

type Preparer struct {
    // Username is the user login name.
    Username string `hcl:"username" required:"true" nonempty:"true"`

when nonempty:"true" is set, an error will be returned if the user sets the
value of a field to the zero value for it's type.

Time Duration Types

Resource structs may now use time.Duration as a field type. Duration strings
will be parsed as a time duration automatically; numeric values will be treated
as a time in seconds.

Bug Fixes

Please refer to the changelog for
a detailed report.

Support

We provide support via the Converge Slack team and through GitHub issues

Nov 1, 2016
Added CheckPropertyFunc test