Nix support in PuppetAgain

NEW
Unassigned

Status

P3
normal
2 years ago
a year ago

People

(Reporter: garbas, Unassigned, Mentored)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

2 years ago
This is a tracking ticket on getting Nix into current puppet infrastructure[1]. Nix could be used to install "hard-to-install" or "very-customized" packages (example: Bug 1326208).

In discussion with :rail following plan was created (with no timeframe when to work on it):


1. Test machine

Ask for a test AWS machine[2] and make sure it is not cleaned. Then create the test environment[3].

2. Create Puppet's Nix manifest (to install nix)

Somebody already tried to get it working[4].

3. Create ``nixbuild.pp`` Puppet module

``nixbuild.pp`` module will be a wrapper around ``nix-build`` command.

4. Try to use ``nixbuild.pp`` to build signmap

example:

       nixbuild {
         default_nix=...;
         package=...;
         output="/opt/custom/signmar";
       }



[1] https://wiki.mozilla.org/ReleaseEngineering/PuppetAgain
[2] https://wiki.mozilla.org/ReleaseEngineering/How_To/Loan_a_Slave#AWS_machines
[3] https://wiki.mozilla.org/ReleaseEngineering/PuppetAgain/HowTo/Set_up_a_user_environment
[4] https://github.com/mbbx6spp/puppet-nix/blob/create-initial-nix-installer-class/manifests/init.pp
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.