Permalink
Commits on Oct 30, 2012
  1. Re-add `test_barks_without_atleast_a_hostname`

    tmatilai committed Oct 30, 2012
    The test was accidentally removed by commit
    86c8fd4 as it was also using the same
    files as syntax error tests.
  2. Merge pull request #122 from myplanetdigital/82-remove-syntax-checks

    matschaffer committed Oct 30, 2012
    Remove syntax checks
Commits on Oct 29, 2012
  1. Fix Ubuntu 12.04 AMI ID in integration tests

    tmatilai committed Oct 29, 2012
    The previous AMI was really Ubuntu 10.10 "Maverick".
Commits on Oct 27, 2012
  1. Merge pull request #119 from tmatilai/improve-tests

    matschaffer committed Oct 27, 2012
    Clean up the unit tests a bit
  2. Add a helper module for kitchen tests

    tmatilai committed Oct 27, 2012
    DRY. And avoid using hardcoded paths for temporary files in tests.
  3. Do not use real default SSH config file for tests

    tmatilai committed Oct 27, 2012
    Some options might affect test results.
Commits on Oct 25, 2012
  1. Merge pull request #116 from tmatilai/unify-prepare-and-cook-cli

    matschaffer committed Oct 25, 2012
    Unify how prepare and cook commands handle node config
Commits on Oct 24, 2012
  1. Pass --node-name option to chef-solo command while cooking

    tmatilai committed Oct 24, 2012
    In addition to specifying the node configuration file, pass the given
    node name option to chef-solo command run on the node. This was
    forgotten on pull request #107.
  2. Allow node_config be given as a parameter to the prepare command

    tmatilai committed Oct 24, 2012
    `knife cook` has accepted the node configuration file as a second
    command line parameter. This gives the same ability to `knife prepare`.
  3. Generate missing node config in cook command, too

    tmatilai committed Oct 24, 2012
    If `knife bootstrap` is used instead of `knife prepare`, the node
    configuration file is not generated. This commit makes `knife cook` to
    generate the config with empty run list if it doesn't exist.
    
    Fixes #42.
  4. Use NodeConfigCommand in Chef::Knife::Cook

    tmatilai committed Oct 24, 2012
    Remove duplicate #node_config method from SshCommand.
    No changes in functionality.
  5. Extract node_config generation to own module

    tmatilai committed Oct 24, 2012
    Add KnifeSolo::NodeConfigCommandTest that includes helper methods for
    node configuration file management.
    
    Also print information if the configuration file was generated or
    already existed.
  6. Merge pull request #115 from zeph/master

    matschaffer committed Oct 24, 2012
    no parenthesys
  7. no need of parenthesys

    zeph committed Oct 24, 2012
  8. ERROR: TypeError: can't convert Pathname into String

    Guido Serra aka Zeph committed Oct 24, 2012
Commits on Oct 23, 2012
  1. Merge pull request #110 from tmatilai/knife-plugin-dependencies

    matschaffer committed Oct 23, 2012
    Lazy load dependencies
  2. Merge pull request #111 from DrGonzo65/master

    matschaffer committed Oct 23, 2012
    add -y to rsync install
Commits on Oct 22, 2012
Commits on Oct 20, 2012
  1. Lazy load dependencies

    tmatilai committed Oct 19, 2012
    Use Knife's lazy loading:
      http://wiki.opscode.com/display/chef/Knife+Plugins#KnifePlugins-HandlingDependencies
    
    Especially avoid loading of 'net/ssh' and all out Bootstraps classes
    unless needed.
Commits on Oct 19, 2012
  1. Add -y to apt-get install

    DrGonzo65 committed Oct 19, 2012
    If rsync was already installed on the remote host, you may receive this:
    rsync is already the newest version.
    0 upgraded, 0 newly installed, 0 to remove and 96 not upgraded.
    1 not fully installed or removed.
    After this operation, 0 B of additional disk space will be used.
    Do you want to continue [Y/n]?
    
    If so, the command will hang, and the cook will never begin.
  2. Merge pull request #109 from tmatilai/knife-output

    matschaffer committed Oct 19, 2012
    Use Knife's ui object to display messages
  3. Use Knife's ui object to display messages

    tmatilai committed Oct 18, 2012
    While at it, also unify messages and strip some trailing spaces.
Commits on Oct 18, 2012
  1. Merge pull request #107 from tmatilai/node-name-option

    matschaffer committed Oct 18, 2012
    Add --node-name option to specify node config filename
  2. Add --node-name option to specify node config filename

    tmatilai committed Oct 18, 2012
    By default the node configuration is written to (by `knife prepare`) and
    read from (by `knife cook`) "nodes/<hostname>.json". The "<hostname>"
    part can now be overridden using --node-name option.
    
    This is particularly useful when provisioning cloud servers that have
    dynamic DNS names. The option is also consistent with `knife bootstrap`,
    `knife ec2 server create`, etc.
  3. Use more complete host name parameter in unit tests

    tmatilai committed Oct 18, 2012
    Also reorder some test methods.
Commits on Oct 15, 2012
  1. Merge pull request #104 from avit/master

    matschaffer committed Oct 15, 2012
    knife kitchen command should be idempotent
Commits on Oct 14, 2012
Commits on Sep 22, 2012
  1. Pre-release stuff

    matschaffer committed Sep 22, 2012
Commits on Sep 11, 2012