File tree Expand file tree Collapse file tree 10 files changed +23
-92
lines changed Expand file tree Collapse file tree 10 files changed +23
-92
lines changed Original file line number Diff line number Diff line change 11arch = kernel [ 'machine' ] =~ /x86_64/ ? "amd64" : "i386"
2- filename = "bison_3.0.4.dfsg-1_ #{ arch } .deb"
2+ filename = "bison_3.0.4.dfsg-1+b1_ #{ arch } .deb"
33
44default [ :bison ] = {
55 :filename => filename ,
Original file line number Diff line number Diff line change 2525tmp = Dir . tmpdir
2626case node [ :platform ]
2727when "debian" , "ubuntu"
28- path = File . join ( tmp , node . bison . filename )
28+ path = File . join ( tmp , node . bison . filename )
2929
30- remote_file ( path ) do
31- source node . bison . url
30+ remote_file ( path ) do
31+ source node . bison . url
3232
33- owner node . travis_build_environment . user
34- group node . travis_build_environment . group
35- end
33+ owner node . travis_build_environment . user
34+ group node . travis_build_environment . group
35+ end
3636
37- file ( path ) do
38- action :nothing
39- end
37+ file ( path ) do
38+ action :nothing
39+ end
4040
41- package ( path ) do
42- action :install
43- source path
44- provider Chef ::Provider ::Package ::Dpkg
41+ package ( path ) do
42+ action :install
43+ source path
44+ provider Chef ::Provider ::Package ::Dpkg
4545
46- notifies :delete , resources ( :file => path )
47- end
46+ notifies :delete , resources ( :file => path )
47+ end
4848end # case
Original file line number Diff line number Diff line change 2424 uri "http://ppa.launchpad.net/git-core/v1.8/ubuntu"
2525 distribution node [ 'lsb' ] [ 'codename' ]
2626 components [ "main" ]
27- key "E1DF1F24 "
27+ key "0xE1DF1F24 "
2828 keyserver "hkp://ha.pool.sks-keyservers.net"
2929
3030 action :add
Original file line number Diff line number Diff line change 1818
1919package node [ "hhvm" ] [ "package" ] [ "name" ] do
2020 action :install
21- options "--force-yes "
21+ options "--allow-change-held-packages --allow-downgrades "
2222 not_if { node [ 'hhvm' ] [ 'package' ] [ 'disabled' ] }
2323end
Original file line number Diff line number Diff line change 1818depends "composer"
1919depends "phpbuild"
2020depends "phpenv"
21-
22- depends "hhvm"
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 5858end
5959
6060include_recipe "php::extensions"
61- include_recipe "php::hhvm"
62- include_recipe "php::hhvm-nightly"
6361include_recipe "phpunit"
6462include_recipe "composer"
6563
Original file line number Diff line number Diff line change 33license "Apache v2.0"
44description "Installs/Configures redis"
55
6- recipe "redis::default" , "Installs Redis Server from ppa:rwky /redis"
6+ recipe "redis::default" , "Installs Redis Server from ppa:chrislea /redis-server "
Original file line number Diff line number Diff line change 2121# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2222# THE SOFTWARE.
2323
24- apt_repository "rwky- redis" do
25- uri "http://ppa.launchpad.net/rwky /redis/ubuntu"
24+ apt_repository "chris-lea- redis-server " do
25+ uri "http://ppa.launchpad.net/chris-lea /redis-server /ubuntu"
2626 distribution node [ 'lsb' ] [ 'codename' ]
2727 components [ "main" ]
28- key "5862E31D "
28+ key "0xC7917B12 "
2929 keyserver "hkp://ha.pool.sks-keyservers.net"
30-
3130 action :add
3231end
3332
3635end
3736
3837service "redis-server" do
39- provider Chef ::Provider ::Service ::Upstart
38+ provider Chef ::Provider ::Service ::Init :: Debian
4039 supports :restart => true , :status => true , :reload => true
4140 if node . redis . service . enabled
4241 action [ :enable , :start ]
You can’t perform that action at this time.
0 commit comments