Bugfixes
Bugfixes
Improvements
Improvements
Bugfixes
Bugfixes
Improvements
Bugfixes
Improvements
Improvements
Improvements
Bugfixes
Improvements
Improvements
Improvements
Improvements
Improvements
- Print "(in action_XXX)" as a debug log
- Reduce
check_package_is_installed
calling when package version is not specified - Simplify Git resource's get_revision method
Improvements
Improvements
Improvements
Bugfixes
- Suppress Ruby warnings (by @pocke)
- Suppress Ruby warning (by @pocke)
- Run test cases correctly (by @pocke)
Improvements
- Add description to --tag option of docker subcommand (by @pocke)
- Refine
itamae docker
's created message (by @pocke)
Bugfixes
Bugfixes
Bugfixes
Features
Bugfixes
Features
Bugfixes
Improvements
Features
Bugfixes
Features
- Add depth attribute to git resource
- Support force link a direcotory
- Add support password authentication for ssh
Bugfixes
- Run a resource subscribing a resource in child recipe
- Change file owner first, then change file permissions
Improvements
Features
itamae ssh
now accepts--ssh-config
option- Introduce
--login-shell
option gem_package
resource hasuninstall
action
Bugfixes
Bugfixes
Bugfixes
- Mark a file as updated in dry-run mode (by @ryotarai)
- Do not surround LF with the ANSI escape sequence (by @daic-h)
Features
Bugfixes
- If
git rev-list
fails, dogit fetch origin
(by @ryotarai) - If gid passed to user resource is a String, treat it as group name. (by @ryotarai)
Bugfixes
- Set mode and owner correctly when file not changed (by @sorah)
- Make tempfile unreadable to secure (by @sorah)
- Accept any objects as a log message (by @abicky)
Bugfixes
- Fix a bug that displays inappropriate diff in file deletion (by @takus)
- Show diff on edit action of file resource in dry-run mode. (by @ryotarai)
- Stop to call
chown --reference
andchmod --reference
(by @yuichiro-naito)
Improvements
- Support redirect on http_request resource (by @hico-horiuchi)
- Use /bin/bash as default shell if shell is not set (by @hico-horiuchi)
- Stop replacing files which are not updated (by @KitaitiMakoto)
Features
Improvements
- Execute
vagrant ssh-config
underBundler.with_clean_env
(by @hfm) - Specify type of
recursive
option forgit
resource andforce
option forlink
resource (by @k0kubun)
Features
Features
- New resource:
http_request
resource (by @hico-horiuchi) - Introduce Handler which handles events from Itamae (by @ryotarai)
- Compatibility can be broken because this is experimental feature
Improvements
- Optimize
git
resource for fixed revision (by @k0kubun) - Rename
--dot
option to--recipe-graph
option. (by @ryotarai)- Compatibility can be broken because this is experimental feature
Features
Improvements
No change
Features
--profile
option (by @ryotarai)--profile PATH
saves executed commands toPATH
in JSON format- Compatibility can be broken because this is experimental feature
Bugfixes
Features
Bugfixes
Bugfixes
Improvements
- Ignore
--node-yaml
when the result is false (by @k0kubun) - Allow
include_recipe
to omit.rb
extension (by @k0kubun)- This is backward-compatible change
- Allow
load_recipes
to load plugin recipes directly (by @k0kubun)
Improvements
Improvements
Improvements
Improvements
Features
--shell
option forlocal
,ssh
anddocker
subcommands. If it is set, it will be used instead of /bin/sh (by @ryotarai)
Bugfixes
Improvements
Improvements
gem_binary
ofgem_package
resource accepts an Array too. (by @eagletmt)git
resource executesgit clone
if the destination directory is empty (by @tacahilo)
Improvements
- Make
cwd
a common attribute. (idea by @tacahilo)- It was an attribute for execute resource
- When
user
attribute is set, change directory to the user's home directory. (idea by @tacahilo)- even if cd command fail, it will be ignored
- directory specified by cwd will take precedence over this
Bugfixes
create
action offile
resource withoutcontent
attribute changes mode and owner without touching the content of the file (by @ryotarai)
Improvements
Bugfixes
Improvements
Improvements
Features
Features
Improvements
- Update
HOME
environment variable whenuser
attribute is specified. (incompatible change) (by @ryotarai)
Improvements
- Show error message when specified action is unavailable in dry_run mode (by @eagletmt)
- Fix deprecation warnings in unit tests (by @eagletmt)
Improvements
Features
Features
run_command
method in a recipe, definition and resource (by @ryotarai)
Features
Improvements
Bugfixes
- Fix --no-sudo to work properly (by @evalphobia)
- Fix a glitch on raising exception when source doesn't exist (by @mozamimy)
Features
- "edit" action of "file" resource (by @ryotarai)
Features
Bugfixes
- Run delayed notifications created by a delayed notification. (by @ryotarai)
- Set updated false after executing resources. (by @ryotarai)
Bugfixes
Bugfixes
Bugfixes
- Do not use local variable named
variables
. (by @ryotarai)
If variables
is used as local variable's name, the following causes a syntax error.
template "..." do
variables foo: bar
# variables(foo: bar) # This never cause a syntax error
end
See also: https://bugs.ruby-lang.org/issues/11016
Improvements
Bugfixes
- Backend::Docker#finalize should be public. (by @mizzy)
- Remove code for debugging... (by @ryotarai)
Bugfixes
- Bugs in definition feature. (by @ryotarai)
Improvements
- Use specinfra/core instead of specinfra. (by @ryotarai)
Bugfixes
- Bugs in Node class (by @ryotarai)
Improvements
- Refactor Backend and Runner class for multi backends. (by @ryotarai)
(yanked)
Feature
- Docker backend (by @ryotarai)
- This backend builds a Docker image.
- Usage:
itamae docker --image baseimage recipe.rb
- NOTE: This feature is experimental.
- Compatibility can be broken because this is experimental feature
Bugfix
- Always outdent. (by @ryotarai)
Improvements
- Make logging less verbose by default. (by @eagletmt)
- Change indent width from 3 to 2. (by @ryotarai)
Bugfixes
- Make
node
accessible from define block. (by @ryotarai)
Feature
- Validate node attributes by
Node#validate!
(by @ryotarai)
Improvements
source :auto
accepts a template without .erb extension. (by @ryotarai)
Bugfixes
- Ignore CommandExecutionError during listing installed gems. (by @eagletmt)
- because
gem
command may not be installed in dry-run mode
- because
Features
source :auto
of remote_file and template resources. (by @ryotarai)- details: #94
Features
verify
attribute- command will be executed after running resource action. (by @ryotarai)
- If it fails, Itamae will abort (notifications will not be executed)
Improvements
--vagrant
option without--host
assumes the VM namedefault
(by @muratayusuke)delayed
is a valid notification timing. (by @ryotarai)- same as Chef
- If invalid notification timing is provided, an error will be raised. (by @ryotarai)
Improvements
- Add remove action to package resource (by @eagletmt)
- Colorize diff output of file resource (by @ryotarai)
- removed lines in red
- inserted lines in green
Bugfixes
- Do not remove space char in output of diff. (by @ryotarai)
Features
source
attribute ofgem_package
resource. (by @ryotarai)
Features
- Implement
gem_package
resource. (by @ryotarai)
Improvements
- Start a service only if the service is not running. (by @ryotarai)
- Stop a service only if the service is running. (by @ryotarai)
Improvements
- Set executed attr of execute resource for logging purpose. (by @ryotarai)
- Colorize diff output of file resource green. (by @ryotarai)
Bugfixes
Bugfixes
- Do not include recipes which are already included. (by @ryotarai)
- This may break backward compatibility.
Feature
--dot
option to write dependency graph of recipes- Compatibility can be broken because this is experimental feature
Improvements
- Show template file path when rendering the template fails. (by @ryotarai)
Improvements
Bugfixes
- Fix a typo bug (by @ryotarai)
Improvements
Bugfixes
Bugfixes
- Clear current attributes before each action. (by @ryotarai)
- Turn on updated-flag after each action. (by @ryotarai)
Bugfixes
Node#[]
with unknown key returns nil. (by @nownabe)
Features
group
resource (Thanks to @a2ikm)
Features
user
resource accepts group name (String) as itsgid
. (by @ryotarai)
Features
- New resource
remote_directory
which transfers a directory from local to remote likeremote_file
resource. (by @k0kubun)
Incompatible changes