From 186893c55f3a4c4ad438b058781ce17b6b8acb57 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Mon, 5 Aug 2024 20:08:22 +0100 Subject: [PATCH] Configure idris as an APT repository --- roles/apt.rb | 19 +++++++++++++++++++ roles/idris.rb | 1 + 2 files changed, 20 insertions(+) create mode 100644 roles/apt.rb diff --git a/roles/apt.rb b/roles/apt.rb new file mode 100644 index 000000000..d0fec39dd --- /dev/null +++ b/roles/apt.rb @@ -0,0 +1,19 @@ +name "apt" +description "Role applied to APT repositories" + +default_attributes( + :accounts => { + :users => { + :apt => { + :status => :role, + :members => [ + :tomh, :grant + ] + } + } + } +) + +run_list( + "recipe[apt::repository]" +) diff --git a/roles/idris.rb b/roles/idris.rb index 0a7f593ab..b0edcc141 100644 --- a/roles/idris.rb +++ b/roles/idris.rb @@ -41,5 +41,6 @@ run_list( "role[letsencrypt]", "role[oxidized]", "role[supybot]", + "role[apt]", "recipe[serverinfo]" ) -- 2.39.5