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

Switch over to using puppet() #202

Merged
merged 1 commit into from
Sep 12, 2014

Conversation

underscorgan
Copy link
Contributor

This makes sure the path is correct for Solaris.

@@ -14,7 +14,7 @@
on host, "/bin/echo '' > #{host['hieraconf']}"
end
on host, "mkdir -p #{host['distmoduledir']}"
on host, 'puppet module install puppetlabs-stdlib', :acceptable_exit_codes => [0,1]
on host, puppet('module','install','puppetlabs-stdlib'), { :acceptable_exit_codes => [0,1] }
Copy link
Contributor

Choose a reason for hiding this comment

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

Instead we should use puppet_module_install('puppetlabs-stdlib') also you don't need the ',' in between each command you can pass as a single string

Copy link
Contributor Author

Choose a reason for hiding this comment

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

How do you use puppet_module_install to install dependencies from the forge? I'm not finding that...

Copy link
Contributor

Choose a reason for hiding this comment

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

This makes sure the path is correct for Solaris.
cyberious added a commit that referenced this pull request Sep 12, 2014
@cyberious cyberious merged commit d92437d into puppetlabs:3.2.x Sep 12, 2014
@underscorgan underscorgan deleted the solaris_spec_updates branch September 12, 2014 21:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants