- accounts
- apache
- apt
+ - backup
- bind
- blog
- blogs
- name: apt
run_list:
- recipe[apt::default]
+ - name: backup
+ run_list:
+ - recipe[backup::default]
- name: bind
run_list:
- recipe[bind::default]
default[:stats][:sites] = []
+
+default[:accounts][:users][:osmbackup][:status] = :role
version "1.0.0"
supports "ubuntu"
+depends "accounts"
# limitations under the License.
#
+include_recipe "accounts"
+
package %w[
perl
libdate-calc-perl
owner "osmbackup"
group "osmbackup"
mode 0o2755
+ recursive true
end
cookbook_file "/usr/local/bin/expire-backups" do
description "Role applied to backup.openstreetmap.org"
default_attributes(
- :accounts => {
- :users => {
- :osmbackup => { :status => :role }
- }
- },
:rsyncd => {
:modules => {
:backup => {
--- /dev/null
+{
+ "id": "osmbackup",
+ "uid": 501,
+ "comment": "Backups",
+ "home": "/store/backup",
+ "manage_home": false
+}