Skip to content

Commit

Permalink
[mongodb-debs] fixed permissions of /etc/apt/sources.list.d/mongodb.list
Browse files Browse the repository at this point in the history
  • Loading branch information
George Miroshnykov committed May 5, 2011
1 parent b08ce53 commit 91dfd1f
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions mongodb-debs/recipes/repo.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#
# http://www.apache.org/licenses/LICENSE-2.0
#
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
Expand All @@ -30,7 +30,9 @@
not_if "apt-key list | grep 7F0CEB10"
end

template "/etc/apt/sources.list.d/mongodb.list"
template "/etc/apt/sources.list.d/mongodb.list" do
mode 0644
end

execute "update apt" do
command "apt-get update"
Expand Down

0 comments on commit 91dfd1f

Please sign in to comment.