]> git.openstreetmap.org Git - chef.git/commitdiff
Make sure the planet user is created by recipes which use it
authorTom Hughes <tom@compton.nu>
Sat, 23 Sep 2023 11:52:44 +0000 (12:52 +0100)
committerTom Hughes <tom@compton.nu>
Sat, 23 Sep 2023 11:52:44 +0000 (12:52 +0100)
cookbooks/planet/recipes/dump.rb
cookbooks/planet/recipes/notes.rb
cookbooks/tilelog/attributes/default.rb
cookbooks/tilelog/metadata.rb
cookbooks/tilelog/recipes/default.rb

index 854c0a7c6c174b0bbc1b62df8b9a779f4035ae41..6cc509c62c5bdb979d5fb8e5a9ab421dfc0d43f6 100644 (file)
@@ -17,6 +17,7 @@
 # limitations under the License.
 #
 
+include_recipe "accounts"
 include_recipe "git"
 
 package %w[
index d8d1647f932629f3c196c24d3c9bcf61be96886f..57682beada5777cbd64373cff9cdaebb9f1c7728 100644 (file)
@@ -17,6 +17,7 @@
 # limitations under the License.
 #
 
+include_recipe "accounts"
 include_recipe "awscli"
 include_recipe "git"
 
index 9af062fb5cd9afb3399640b7da10402d57c54344..34901632951e93b1a871f4371b7c6b30fa06d9f5 100644 (file)
@@ -1 +1,3 @@
+default[:accounts][:users][:planet][:status] = :role
+
 default[:tilelog][:output_directory] = "/store/planet/tile_logs"
index d5dd55bcff9cce08b69b1acc8cbda2c70bc0cfb1..0dba182a6d9b64bf6585f87324a74e87985e58eb 100644 (file)
@@ -6,5 +6,6 @@ description      "Installs and configures tile log analysis"
 
 version          "1.0.0"
 supports         "ubuntu"
+depends          "accounts"
 depends          "python"
 depends          "systemd"
index 823e1a3f605e1ece32636f6be362c8b47d7c48c6..2722c4f32f61b6efe762c517a0e1e70a7845cf27 100644 (file)
@@ -17,6 +17,7 @@
 # limitations under the License.
 #
 
+include_recipe "accounts"
 include_recipe "python"
 
 passwords = data_bag_item("tilelog", "passwords")