Skip to content

Commit b5418af

Browse files
committed
Adding example cookbook for remote file via http
1 parent 2645a95 commit b5418af

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

  • example-repository/cookbooks/CHEF-88/recipes
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
#
2+
# Cookbook Name:: CHEF-88
3+
# Recipe:: default
4+
#
5+
# Copyright 2009, Example Com
6+
#
7+
# Licensed under the Apache License, Version 2.0 (the "License");
8+
# you may not use this file except in compliance with the License.
9+
# You may obtain a copy of the License at
10+
#
11+
# http://www.apache.org/licenses/LICENSE-2.0
12+
#
13+
# Unless required by applicable law or agreed to in writing, software
14+
# distributed under the License is distributed on an "AS IS" BASIS,
15+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+
# See the License for the specific language governing permissions and
17+
# limitations under the License.
18+
#
19+
20+
remote_file "/tmp/rabbitmq-server_1.4.0-1_all.deb" do
21+
source "http://www.rabbitmq.com/releases/rabbitmq-server/v1.4.0/rabbitmq-server_1.4.0-1_all.deb"
22+
mode 0644
23+
end

0 commit comments

Comments
 (0)