From 86a392201c97958745a75b63a96e83ef9d9964f4 Mon Sep 17 00:00:00 2001 From: Ben Vincent Date: Mon, 26 Jun 2023 19:35:49 +1000 Subject: [PATCH] Initial commit --- .pre-commit-config.yaml | 10 ++++++++++ r10k.yaml | 10 ++++++++++ 2 files changed, 20 insertions(+) create mode 100644 .pre-commit-config.yaml create mode 100644 r10k.yaml diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..94a84ff --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,10 @@ +repos: + - repo: 'https://github.com/adrienverge/yamllint' + rev: v1.32.0 + hooks: + - id: 'yamllint' + args: + [ + "-d {extends: relaxed, rules: {line-length: disable}, ignore: chart}", + "-s", + ] diff --git a/r10k.yaml b/r10k.yaml new file mode 100644 index 0000000..4b66ce2 --- /dev/null +++ b/r10k.yaml @@ -0,0 +1,10 @@ +# The location to use for storing cached Git repos +:cachedir: '/opt/puppetlabs/cache/r10k' + +# A list of git repositories to create +:sources: + # This will clone the git repository and instantiate an environment per + # branch in /etc/puppetlabs/code/environments + :unkin: + remote: 'git@github.com:neoloc/puppet-prod' + basedir: '/etc/puppetlabs/code/environments'