Skip to content
This repository was archived by the owner on Jan 18, 2023. It is now read-only.

Makes marathon_client gem available to LWRP #20

Merged
merged 5 commits into from
Oct 31, 2014

Conversation

ghost
Copy link

@ghost ghost commented Oct 30, 2014

Fixes #19

Fixes issue where require statement in LWRP would fail due to
unavailable marathon_client gem. Gem is installed during parsing of
LWRP at compile time. Gems have been updated along with their
corresponding files, which includes style and tests.

Mark Corwin added 3 commits October 29, 2014 22:03
Fixes issue where require statement in LWRP would fail due to
unavailable marathon_client gem. Gem is installed during parsing of
LWRP at compile time. Gems have been updated along with their
corresponding files, which includes style and tests.
@@ -16,9 +16,20 @@
# limitations under the License.
#

Chef::Log.info('Checking if gem marathon_client 0.2.3 is installed...')
unless `gem list marathon_client -v 0.2.3 -i`.strip == 'true'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You could use Chef::Resource::ChefGem here?

http://www.rubydoc.info/github/opscode/chef/Chef/Resource/ChefGem

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll see if I can make that work, it would definitely be preferred.

@rayrod2030
Copy link

LGTM. Fancy a merge @harryw?

@ghost
Copy link
Author

ghost commented Oct 30, 2014

Hold off on merge, want to test something.

@willejs
Copy link
Contributor

willejs commented Oct 30, 2014

👍
:shipit:

harryw pushed a commit that referenced this pull request Oct 31, 2014
Makes marathon_client gem available to LWRP
@harryw harryw merged commit f542028 into develop Oct 31, 2014
@harryw harryw deleted the feature/install-marathon-client-gem branch October 31, 2014 09:42
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