Created
May 14, 2014 21:03
-
-
Save cwebberOps/54f1d07869a7afab15c0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if node[:platform] == 'ubuntu' | |
an_provider = Chef:Something:Upstart | |
else | |
an_provider = nil | |
end | |
service 'sshd' do | |
provider an_provider | |
action [:enable, :start] | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment