Skip to content

Commit

Permalink
Make sure the planet user is created by recipes which use it
Browse files Browse the repository at this point in the history
  • Loading branch information
tomhughes committed Sep 23, 2023
1 parent d2c77f6 commit acb5ea4
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions cookbooks/planet/recipes/dump.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
# limitations under the License.
#

include_recipe "accounts"
include_recipe "git"

package %w[
Expand Down
1 change: 1 addition & 0 deletions cookbooks/planet/recipes/notes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
# limitations under the License.
#

include_recipe "accounts"
include_recipe "awscli"
include_recipe "git"

Expand Down
2 changes: 2 additions & 0 deletions cookbooks/tilelog/attributes/default.rb
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
default[:accounts][:users][:planet][:status] = :role

default[:tilelog][:output_directory] = "/store/planet/tile_logs"
1 change: 1 addition & 0 deletions cookbooks/tilelog/metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@

version "1.0.0"
supports "ubuntu"
depends "accounts"
depends "python"
depends "systemd"
1 change: 1 addition & 0 deletions cookbooks/tilelog/recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
# limitations under the License.
#

include_recipe "accounts"
include_recipe "python"

passwords = data_bag_item("tilelog", "passwords")
Expand Down

0 comments on commit acb5ea4

Please sign in to comment.