diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2018-03-03 22:24:19 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2018-03-04 12:32:55 +0100 |
commit | 85abd2fdbad83430df4824843764719064afb9b4 (patch) | |
tree | 767792a5691b3b253508a87362cde079a4a6f8fb /environments/integration/data | |
parent | a77b768abb31be9e19563e130d763f163496477d (diff) | |
download | Puppet-85abd2fdbad83430df4824843764719064afb9b4.tar.gz Puppet-85abd2fdbad83430df4824843764719064afb9b4.tar.zst Puppet-85abd2fdbad83430df4824843764719064afb9b4.zip |
Fetch node informations from LDAP
environment, hostname
Diffstat (limited to 'environments/integration/data')
-rw-r--r-- | environments/integration/data/common.yaml | 25 | ||||
-rw-r--r-- | environments/integration/data/roles/cryptoportfolio.yaml | 7 | ||||
-rw-r--r-- | environments/integration/data/types/vps-ovhssd-1.yaml | 10 |
3 files changed, 42 insertions, 0 deletions
diff --git a/environments/integration/data/common.yaml b/environments/integration/data/common.yaml new file mode 100644 index 0000000..78cce6b --- /dev/null +++ b/environments/integration/data/common.yaml | |||
@@ -0,0 +1,25 @@ | |||
1 | --- | ||
2 | classes: | ||
3 | stdlib: ~ | ||
4 | |||
5 | base_installation::ldap_base: "dc=immae,dc=eu" | ||
6 | base_installation::ldap_dn: "cn=%{facts.ec2_metadata.hostname},ou=hosts,dc=immae,dc=eu" | ||
7 | base_installation::ldap_cn: "%{facts.ec2_metadata.hostname}" | ||
8 | base_installation::ldap_server: "ldap.immae.eu" | ||
9 | base_installation::ldap_uri: "ldaps://ldap.immae.eu" | ||
10 | base_installation::puppet_conf_path: "/etc/puppetlabs/puppet" | ||
11 | base_installation::puppet_code_path: "/etc/puppetlabs/code" | ||
12 | base_installation::puppet_pass_seed: "/etc/puppetlabs/puppet/password_seed" | ||
13 | base_installation::puppet_ssl_path: "/etc/puppetlabs/ssl" | ||
14 | base_installation::system_locales: ["fr_FR.UTF-8", "en_US.UTF-8"] | ||
15 | base_installation::system_timezone: "Europe/Paris" | ||
16 | base_installation::system_users: | ||
17 | - userid: 1000 | ||
18 | username: "immae" | ||
19 | groups: ["wheel"] | ||
20 | keys: | ||
21 | - host: "immae.eu" | ||
22 | key: "AAAAB3NzaC1yc2EAAAADAQABAAABAQDi5PgLBwMRyRwzJPnSgUyRAuB9AAxMijsw1pR/t/wmxQne1O5fIPOleHx+D8dyZbwm+XkzlcJpgT0Qy3qC9J8BPhshJvO/tA/8CI/oS/FE0uWsyACH1DMO2dk4gRRZGSE9IuzDMRPlnfZ3n0tdsPzzv3GH4It/oPIgsvkTowKztGLQ7Xmjr5BxzAhXcIQymqA0U3XWHSdWvnSRDaOFG0PDoVMS85IdwlviVKLnV5Sstb4NC/P28LFfgvW8DO/XrOqujgDomqTmR41dK/AyrGGOb2cQUMO4l8Oa+74aOyKaB61rr/rJkr+wCbEttkTvgFa6zZygSk3edfiWE2rgn4+v" | ||
23 | key_type: "ssh-rsa" | ||
24 | xmr_stak::mining_pool: "pool.minexmr.com:7777" | ||
25 | xmr_stak::wallet: "44CA8TxTFYbQqN2kLyk8AnB6Ghz4mcbGpYC2EyXW7A8H9QspvWnTjDn39XUZDPrFwPa5JNwt4TmAxcooPWv4SaJqL87Bcdo" | ||
diff --git a/environments/integration/data/roles/cryptoportfolio.yaml b/environments/integration/data/roles/cryptoportfolio.yaml new file mode 100644 index 0000000..7464b3d --- /dev/null +++ b/environments/integration/data/roles/cryptoportfolio.yaml | |||
@@ -0,0 +1,7 @@ | |||
1 | --- | ||
2 | classes: | ||
3 | role::cryptoportfolio: ~ | ||
4 | cryptoportfolio::front_version: v0.0.2 | ||
5 | cryptoportfolio::front_sha256: 2ace0197a34f9f130523eecf8a43aa4f411cdca09de33838e074f25a7e1d6c5e | ||
6 | cryptoportfolio::bot_version: v0.2-4-gf70bb85 | ||
7 | cryptoportfolio::bot_sha256: e9850a667e0672cdd0363bb93124b59610c4d67e3ed9908b004a9d15c2276340 | ||
diff --git a/environments/integration/data/types/vps-ovhssd-1.yaml b/environments/integration/data/types/vps-ovhssd-1.yaml new file mode 100644 index 0000000..73f7a45 --- /dev/null +++ b/environments/integration/data/types/vps-ovhssd-1.yaml | |||
@@ -0,0 +1,10 @@ | |||
1 | --- | ||
2 | classes: | ||
3 | base_installation: | ||
4 | stage: "setup" | ||
5 | |||
6 | base_installation::system_hostname: "%{ldapvar.self.vars.host.0}" | ||
7 | base_installation::real_hostname: "%{facts.ec2_metadata.hostname}.ovh.net" | ||
8 | base_installation::grub_device: "/dev/sdb" | ||
9 | base_installation::ldap_cert_path: "/etc/ssl/certs/ca-certificates.crt" | ||
10 | ssl::try_letsencrypt_for_real_hostname: false | ||