Permalink
Browse files

[mongodb-debs] fixed permissions of /etc/apt/sources.list.d/mongodb.list

  • Loading branch information...
1 parent b08ce53 commit 91dfd1f7d3099c6bae339aef87dd9c81f8513abb George Miroshnykov committed May 5, 2011
Showing with 5 additions and 3 deletions.
  1. +5 −3 mongodb-debs/recipes/repo.rb
@@ -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.
@@ -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"

0 comments on commit 91dfd1f

Please sign in to comment.