node.default[:incron][:planetdump] = {
:user => "www-data",
:path => "/store/backup",
- :events => [ "IN_CREATE", "IN_MOVED_TO" ],
+ :events => %w(IN_CREATE IN_MOVED_TO),
:command => "/usr/local/bin/planetdump $#"
}
package "libprotobuf-dev"
package "osmpbf-bin"
+# Add planet-mirror-redirect-update dependencies
+package "php5-cli"
+package "php5-curl"
+
directory "/opt/planet-dump-ng" do
owner "root"
group "root"
git "/opt/planet-dump-ng" do
action :sync
repository "git://github.com/zerebubuth/planet-dump-ng.git"
- revision "changesets"
+ revision "v1.1.2"
user "root"
group "root"
end