Permalink
Commits on Jul 26, 2012
  1. Add skip dependency check option to knife cookbook upload. This will …

    Jay Perry committed Jul 26, 2012
    …allow you to push your cookbooks in a parallel fashion. This was a requirement for local testing to have the ability to get a local chef server up and running as quick as possible with all components loaded.
Commits on Jul 24, 2012
  1. Whitespace cleanup

    btm committed Jul 24, 2012
  2. Refactor remote directory provider for Windows

    btm committed Jul 24, 2012
    Windows treats a symlinked directory as a directory
    whereas linux treats the symlink as a file. Thus on windows
    we have to remove the directory as if it were a directory.
    
    Also, we can only create links on windows if we are an Administrator,
    so I've added a pending rescue to one test accordingly.
  3. CHEF-2747: cross platform support for remote directory and sym-links

    btm committed Jul 23, 2012
    Use Chef::Mixin::FileClass to provide a cross-platform check
    for a symlink
  4. Refactor file_class from link into a mixin

    btm committed Jul 23, 2012
    Chef::Mixin::FileClass#file_class provides ::File or on Windows
    Chef::ReservedNames::Win32::File, which is useful for cross-platform
    symlink support.
Commits on Jul 23, 2012
  1. debug status and header info for API requests

    danielsdeleo committed Jul 23, 2012
    this lets you see the exact reponse code, e.g., 200 vs. 201
  2. Add exclusion filters to test for file resource

    btm committed Jul 23, 2012
    According to Chef::Resource::File there are different state attributes
    for windows than other platforms. This commit adds exclusion filters for
    the state test for windows. It also adds a placeholder pending test for
    windows as we should be testing those state variables.
  3. Add additional read_crontab stubbing

    btm committed Jul 23, 2012
    The cron unit tests were calling the new read_crontab method which
    was failing on Windows 7 for me because of the lack of a crontab
    command.
  4. Merge branch 'CHEF-3305'

    schisamo committed Jul 23, 2012
  5. [CHEF-3305] chef-server Gemfile improvements

    schisamo committed Jul 18, 2012
    * make the `chef` and `chef-solr` normal Rubygem.org
    dependencies (Bundler's default behavior), the version
    for each should match the current chef-server-api and
    chef-server-webui version respectively.
    * add `unicorn` as a production dependency so the
    improved Gemfile can be easily leveraged in some
    forthcoming omnibus-chef improvements.
    * add a grown-up Gemfile to chef-server-webui
  6. Restrict ruby-shadow development dependency to *nix.

    btm committed Jul 23, 2012
    It doesn't compile easily on windows and we probably don't need it
    there anyway. The 'ruby' platform requirement in the Gemfile excludes
    Windows.
  7. Fix broken whyrun unit test for user resource

    btm committed Jul 23, 2012
    This initially appeared as a failing test user Ruby 1.8 with an error of
    "undefined method `sp_pwdp' for nil:NilClass." This was ultimately because
    we were doing a lookup for user info for 'adam' which didn't exist. However,
    getpwsnam will return nil if you're not root and much time was spent reworking
    the pending blocks which are particularly tricky and usually are not doing
    what you think they're doing.
    
    Running these tests under bundler will require the ruby-shadow gem, so I
    have added that as a development dependency.
Commits on Jul 18, 2012
Commits on Jul 13, 2012
Commits on Jul 12, 2012
  1. CHEF-3286: Refactor shared examples for requires_root

    btm committed Jul 12, 2012
    Added additional layers of context for unix_only and requires_root tests.
    I'm unsure if you can use metadata on a before tag, which may have been
    causing the tests to be run and fail previously when non-root. Regardless,
    this is a more structured approach.
  2. Release 10.14.0.beta.2

    btm committed Jul 12, 2012
    This contains reporting fixes per Dan.
    There was a beta.1 commit but I forgot to push and didn't want to
    merge it. Sorry.
  3. CHEF-3285: deprecate require_recipe

    btm committed Jul 12, 2012
Commits on Jul 11, 2012
  1. fix dan derp

    lamont-granquist committed Jul 11, 2012
  2. removing stray paren

    lamont-granquist committed Jul 11, 2012
Commits on Jul 10, 2012
Commits on Jul 6, 2012
  1. Merge branch 'CHEF-1994'

    danielsdeleo committed Jul 6, 2012
Commits on Jul 5, 2012