]> git.openstreetmap.org Git - chef.git/blob - cookbooks/rsyncd/README.md
6b087690a394145903ef5b3113258c1e1f4ecb73
[chef.git] / cookbooks / rsyncd / README.md
1 DESCRIPTION
2 ===========
3
4 Configures networking.
5
6 USAGE
7 =====
8
9 Set the networking attributes in a role, for example from my base.rb:
10
11     :networking => {
12       :nameservers => [ "10.13.37.120", "10.13.37.40" ],
13       :search => [ "int.example.org". "example.org" ]
14     }
15
16 The resulting /etc/resolv.conf will look like:
17
18     search int.example.org example.org
19     nameserver 10.13.37.120
20     nameserver 10.13.37.40
21
22 LICENSE AND AUTHOR
23 ==================
24
25 Author:: OpenStreetMap Administrators (<admins@openstreetmap.org>)
26
27 Copyright 2010, OpenStreetMap Foundation.
28
29 Licensed under the Apache License, Version 2.0 (the "License");
30 you may not use this file except in compliance with the License.
31 You may obtain a copy of the License at
32
33     http://www.apache.org/licenses/LICENSE-2.0
34
35 Unless required by applicable law or agreed to in writing, software
36 distributed under the License is distributed on an "AS IS" BASIS,
37 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
38 See the License for the specific language governing permissions and
39 limitations under the License.
40
41 Based on resolver cookbook:
42
43 Author:: Joshua Timberman (<joshua@opscode.com>)
44
45 Copyright 2009, Opscode, Inc.
46
47 Licensed under the Apache License, Version 2.0 (the "License");
48 you may not use this file except in compliance with the License.
49 You may obtain a copy of the License at
50
51     http://www.apache.org/licenses/LICENSE-2.0
52
53 Unless required by applicable law or agreed to in writing, software
54 distributed under the License is distributed on an "AS IS" BASIS,
55 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
56 See the License for the specific language governing permissions and
57 limitations under the License.