Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Misc bugfixes #325

Merged
merged 4 commits into from
Jun 10, 2016
Merged

Misc bugfixes #325

merged 4 commits into from
Jun 10, 2016

Conversation

kingpong
Copy link

@kingpong kingpong commented Jun 4, 2016

Two bugfixes:

  1. This quells a warning about "Option environment must be a kind of [String]" that gets emitted during rspec runs. Chef 13 will not allow the type mismatch.
  2. The consul_service resource was using a default value attribute that was not configured anywhere. This changes it to use the same default as consul_config.

This quells a warning about "Option environment must be a kind of
[String]" that gets emitted during rspec runs. Chef 13 will not allow
the type mismatch.
The consul_service resource was using a default value attribute that was
not configured anywhere. This changes it to use the same default as
consul_config.
@kingpong
Copy link
Author

kingpong commented Jun 4, 2016

Not sure what's up with the build failure. Looking at the project build history it seems pretty random.

On my system, this fixes the following failures under Centos 5:

 1) Service "consul" should be enabled
    Failure/Error: it { should be_enabled }
      expected Service "consul" to be enabled
      /bin/sh -c chkconfig\ --list\ consul\ \|\ grep\ 3:on

    # /tmp/verifier/suites/serverspec/default_spec.rb:26:in `block (2 levels) in <top (required)>'

 2) Service "consul" should be running
    Failure/Error: it { should be_running }
      expected Service "consul" to be running
      /bin/sh -c service\ consul\ status

    # /tmp/verifier/suites/serverspec/default_spec.rb:27:in `block (2 levels) in <top (required)>'
@@ -64,7 +64,7 @@ _start() {
daemon \
--pidfile=$pidfile \
--user=$user \
" { $exec <%= @daemon_options %> &>> $logfile & } ; echo \$! >| $pidfile "
" { $exec <%= @daemon_options %> > $logfile 2>&1 & } ; echo \$! >| $pidfile "

This comment was marked as outdated.

This comment was marked as outdated.

@johnbellone johnbellone merged commit 3484f7a into sous-chefs:master Jun 10, 2016
@lock
Copy link

lock bot commented Apr 25, 2020

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Apr 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants