-
-
Save hhanh00/c80cd13602f1c652dd85791468852958 to your computer and use it in GitHub Desktop.
Chef cookbook for installing dub/dmd
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
d_apt = template '/etc/apt/sources.list.d/d-apt.list' do | |
source 'd-apt.list.erb' | |
notifies :run, 'execute[update-d-home]', :immediately | |
end | |
execute 'update-d-home' do | |
command 'apt-get update && apt-get -y --allow-unauthenticated install --reinstall d-apt-keyring && apt-get update' | |
only_if { d_apt.updated_by_last_action? } | |
end | |
package 'dmd-bin' | |
package 'dub' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment