about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/admin/itamae
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/tools/admin/itamae')
-rw-r--r--nixpkgs/pkgs/tools/admin/itamae/Gemfile9
-rw-r--r--nixpkgs/pkgs/tools/admin/itamae/Gemfile.lock42
-rw-r--r--nixpkgs/pkgs/tools/admin/itamae/default.nix17
-rw-r--r--nixpkgs/pkgs/tools/admin/itamae/gemset.nix156
4 files changed, 224 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/tools/admin/itamae/Gemfile b/nixpkgs/pkgs/tools/admin/itamae/Gemfile
new file mode 100644
index 000000000000..dad916112194
--- /dev/null
+++ b/nixpkgs/pkgs/tools/admin/itamae/Gemfile
@@ -0,0 +1,9 @@
+source 'https://rubygems.org'
+gem 'itamae'
+
+# docker backend:
+gem 'docker-api'
+
+# ed25519 ssh key support:
+gem 'bcrypt_pbkdf'
+gem 'ed25519'
diff --git a/nixpkgs/pkgs/tools/admin/itamae/Gemfile.lock b/nixpkgs/pkgs/tools/admin/itamae/Gemfile.lock
new file mode 100644
index 000000000000..0d5e3792a658
--- /dev/null
+++ b/nixpkgs/pkgs/tools/admin/itamae/Gemfile.lock
@@ -0,0 +1,42 @@
+GEM
+  remote: https://rubygems.org/
+  specs:
+    ansi (1.5.0)
+    bcrypt_pbkdf (1.1.0)
+    docker-api (2.2.0)
+      excon (>= 0.47.0)
+      multi_json
+    ed25519 (1.3.0)
+    excon (0.99.0)
+    hashie (5.0.0)
+    itamae (1.14.1)
+      ansi
+      hashie
+      schash (~> 0.1.0)
+      specinfra (>= 2.64.0, < 3.0.0)
+      thor (>= 1.0.0)
+    multi_json (1.15.0)
+    net-scp (4.0.0)
+      net-ssh (>= 2.6.5, < 8.0.0)
+    net-ssh (7.0.1)
+    net-telnet (0.1.1)
+    schash (0.1.2)
+    sfl (2.3)
+    specinfra (2.84.1)
+      net-scp
+      net-ssh (>= 2.7)
+      net-telnet (= 0.1.1)
+      sfl
+    thor (1.2.1)
+
+PLATFORMS
+  aarch64-linux
+
+DEPENDENCIES
+  bcrypt_pbkdf
+  docker-api
+  ed25519
+  itamae
+
+BUNDLED WITH
+   2.3.26
diff --git a/nixpkgs/pkgs/tools/admin/itamae/default.nix b/nixpkgs/pkgs/tools/admin/itamae/default.nix
new file mode 100644
index 000000000000..8a0f101b9c2d
--- /dev/null
+++ b/nixpkgs/pkgs/tools/admin/itamae/default.nix
@@ -0,0 +1,17 @@
+{ lib, bundlerApp, bundlerUpdateScript }:
+
+bundlerApp {
+  pname = "itamae";
+  gemdir = ./.;
+  exes = [ "itamae" ];
+
+  passthru.updateScript = bundlerUpdateScript "itamae";
+
+  meta = with lib; {
+    description = "Simple and lightweight configuration management tool inspired by Chef";
+    homepage = "https://itamae.kitchen/";
+    license = with licenses; mit;
+    maintainers = with maintainers; [ refi64 ];
+    platforms = platforms.unix;
+  };
+}
diff --git a/nixpkgs/pkgs/tools/admin/itamae/gemset.nix b/nixpkgs/pkgs/tools/admin/itamae/gemset.nix
new file mode 100644
index 000000000000..207a2aed7ab0
--- /dev/null
+++ b/nixpkgs/pkgs/tools/admin/itamae/gemset.nix
@@ -0,0 +1,156 @@
+{
+  ansi = {
+    groups = ["default"];
+    platforms = [];
+    source = {
+      remotes = ["https://rubygems.org"];
+      sha256 = "14ims9zfal4gs2wpx2m5rd8zsrl2k794d359shkrsgg3fhr2a22l";
+      type = "gem";
+    };
+    version = "1.5.0";
+  };
+  bcrypt_pbkdf = {
+    groups = ["default"];
+    platforms = [];
+    source = {
+      remotes = ["https://rubygems.org"];
+      sha256 = "0ndamfaivnkhc6hy0yqyk2gkwr6f3bz6216lh74hsiiyk3axz445";
+      type = "gem";
+    };
+    version = "1.1.0";
+  };
+  docker-api = {
+    dependencies = ["excon" "multi_json"];
+    groups = ["default"];
+    platforms = [];
+    source = {
+      remotes = ["https://rubygems.org"];
+      sha256 = "0g7dbniz15b3l2sy6xh0j0998dr5jypf3xg3bsygp0108vv7waxy";
+      type = "gem";
+    };
+    version = "2.2.0";
+  };
+  ed25519 = {
+    groups = ["default"];
+    platforms = [];
+    source = {
+      remotes = ["https://rubygems.org"];
+      sha256 = "0zb2dr2ihb1qiknn5iaj1ha1w9p7lj9yq5waasndlfadz225ajji";
+      type = "gem";
+    };
+    version = "1.3.0";
+  };
+  excon = {
+    groups = ["default"];
+    platforms = [];
+    source = {
+      remotes = ["https://rubygems.org"];
+      sha256 = "0j826kfvzn7nc5pv950n270r0sx1702k988ad11cdlav3dcxxw09";
+      type = "gem";
+    };
+    version = "0.99.0";
+  };
+  hashie = {
+    groups = ["default"];
+    platforms = [];
+    source = {
+      remotes = ["https://rubygems.org"];
+      sha256 = "1nh3arcrbz1rc1cr59qm53sdhqm137b258y8rcb4cvd3y98lwv4x";
+      type = "gem";
+    };
+    version = "5.0.0";
+  };
+  itamae = {
+    dependencies = ["ansi" "hashie" "schash" "specinfra" "thor"];
+    groups = ["default"];
+    platforms = [];
+    source = {
+      remotes = ["https://rubygems.org"];
+      sha256 = "1zhx0cknipkjqp33qdxjlv7lcybgmh1jv9npp55vxaazd8cyfylx";
+      type = "gem";
+    };
+    version = "1.14.1";
+  };
+  multi_json = {
+    groups = ["default"];
+    platforms = [];
+    source = {
+      remotes = ["https://rubygems.org"];
+      sha256 = "0pb1g1y3dsiahavspyzkdy39j4q377009f6ix0bh1ag4nqw43l0z";
+      type = "gem";
+    };
+    version = "1.15.0";
+  };
+  net-scp = {
+    dependencies = ["net-ssh"];
+    groups = ["default"];
+    platforms = [];
+    source = {
+      remotes = ["https://rubygems.org"];
+      sha256 = "1si2nq9l6jy5n2zw1q59a5gaji7v9vhy8qx08h4fg368906ysbdk";
+      type = "gem";
+    };
+    version = "4.0.0";
+  };
+  net-ssh = {
+    groups = ["default"];
+    platforms = [];
+    source = {
+      remotes = ["https://rubygems.org"];
+      sha256 = "1qp3i8bi7ji1np0530bp2p9zrrn6galvmbsivxwpkjdpjdyn19sr";
+      type = "gem";
+    };
+    version = "7.0.1";
+  };
+  net-telnet = {
+    groups = ["default"];
+    platforms = [];
+    source = {
+      remotes = ["https://rubygems.org"];
+      sha256 = "13qxznpwmc3hs51b76wqx2w29r158gzzh8719kv2gpi56844c8fx";
+      type = "gem";
+    };
+    version = "0.1.1";
+  };
+  schash = {
+    groups = ["default"];
+    platforms = [];
+    source = {
+      remotes = ["https://rubygems.org"];
+      sha256 = "0ia62xi56pkxy4y6wg3v5kwabjncyh3g78nqll4fs34zhdf7v8ad";
+      type = "gem";
+    };
+    version = "0.1.2";
+  };
+  sfl = {
+    groups = ["default"];
+    platforms = [];
+    source = {
+      remotes = ["https://rubygems.org"];
+      sha256 = "1qm4hvhq9pszi9zs1cl9qgwx1n4wxq0af0hq9sbf6qihqd8rwwwr";
+      type = "gem";
+    };
+    version = "2.3";
+  };
+  specinfra = {
+    dependencies = ["net-scp" "net-ssh" "net-telnet" "sfl"];
+    groups = ["default"];
+    platforms = [];
+    source = {
+      remotes = ["https://rubygems.org"];
+      sha256 = "1qzhb7k66gi375ymnkwiy4alr7jw2c9ih7hv1lv5j5nda10hfb1p";
+      type = "gem";
+    };
+    version = "2.84.1";
+  };
+  thor = {
+    groups = ["default"];
+    platforms = [];
+    source = {
+      remotes = ["https://rubygems.org"];
+      sha256 = "0inl77jh4ia03jw3iqm5ipr76ghal3hyjrd6r8zqsswwvi9j2xdi";
+      type = "gem";
+    };
+    version = "1.2.1";
+  };
+}