From: Tom Hughes Date: Mon, 5 Aug 2024 19:08:22 +0000 (+0100) Subject: Configure idris as an APT repository X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/186893c55f3a4c4ad438b058781ce17b6b8acb57 Configure idris as an APT repository --- 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]" )