Lumiere
06/14/2022, 4:58 PMLumiere
06/14/2022, 4:58 PMnatemccurdy
06/14/2022, 4:59 PMinclude docker
can be done many times per catalog.
class { 'docker': }
can only be done once per catalog.
And both do essentially the same thing of declaring the docker
class.Lumiere
06/14/2022, 5:00 PMLumiere
06/14/2022, 5:01 PMSlackbot
06/14/2022, 5:54 PMZeke Marffy
06/14/2022, 7:18 PMSlackbot
06/14/2022, 7:56 PMSlackbot
06/14/2022, 8:37 PMrohan gadalkar
06/15/2022, 7:50 AMSlackbot
06/15/2022, 7:50 AMrohan gadalkar
06/15/2022, 7:50 AMSlackbot
06/15/2022, 8:53 AMNeeloj
06/15/2022, 11:49 AMSlackbot
06/15/2022, 3:01 PMSlackbot
06/15/2022, 4:06 PMvchepkov
06/15/2022, 4:13 PM'/etc/pki/ca-trust/source/anchors/corp.pem':
content => file("${module_name}/corp.pem"),
notify => Exec['refresh CA list'],
require => Package['ca-certificates'],
;
exec { 'refresh CA list':
command => '/usr/bin/update-ca-trust extract',
refreshonly => true,
}
Slackbot
06/15/2022, 4:24 PMElliott Cox
06/15/2022, 4:43 PMSuraj Bora
06/15/2022, 5:17 PMaugeas {"resource_name":
incl => "/path/to/file",
Changes => ['set abc:zvy 4'],
}
I am getting can't evaluate: save file error (can not match tree).
I need to update existing file with new line containing properties.Suraj Bora
06/15/2022, 5:18 PMaugeas {"resource_name":
incl => "/path/to/file",
Changes => ['set abc:zvy 4'],
}
I am getting can't evaluate: save file error (can not match tree)Slackbot
06/15/2022, 5:19 PMSuraj Bora
06/15/2022, 5:24 PMaugeas {"resource_name":
incl => "/path/to/file",
Changes => ['set abc:zvy 4'],
}
I am getting can't evaluate: save file error (can not match tree).
I need to update existing file with new line containing properties.Callum McCrorie
06/15/2022, 6:12 PMapi-token
I am just not too sure how this all fits together. I have got the claudflare plugin there in a .pp
file. But I am wondering how I link this to Hiera and what I need to include in the .eyaml
file and if I need to change the file dedicated for the node that I wish it to correspond with which is a .yaml
file, do I need to change this file to be eyaml
and add it in there or do I need a new .eyaml
file. I have also added the eyaml
to the hiera
config which looks like this:
---
version: 5
defaults:
# The default value for "datadir" is "data" under the same directory as the hiera.yaml
# file (this file)
# When specifying a datadir, make sure the directory exists.
# See <https://puppet.com/docs/puppet/latest/environments_about.html> for further details on environments.
# datadir: data
# data_hash: yaml_data
hierarchy:
- name: "Secret data: per-node, per-datacenter, common"
lookup_key: eyaml_lookup_key # eyaml backend
paths:
- "secrets/nodes/%{trusted.certname}.eyaml" # Include explicit file extension
- "secrets/location/%{facts.whereami}.eyaml"
- "common.eyaml"
options:
pkcs7_private_key: /etc/puppetlabs/puppet/eyaml/private_key.pkcs7.pem
pkcs7_public_key: /etc/puppetlabs/puppet/eyaml/public_key.pkcs7.pem
- name: "Per-node data (yaml version)"
path: "nodes/%{::trusted.certname}.yaml"
- name: "application"
paths:
- "application/%{facts.eb_facts.application}-%{facts.eb_facts.stage}.yaml"
- "application/%{facts.eb_facts.application}.yaml"
- name: "Other YAML hierarchy levels"
paths:
- "common.yaml"
Thank you in advance.Dr Bunsen Honeydew
06/15/2022, 6:12 PMZeke Marffy
06/15/2022, 6:45 PMget
function? Is that even possible? I feel like it should be, but maybe my thought on how to design this is wrong.
My provider needs to do queries against something that needs auth. How could I get that in there?Christopher Afeku Junior
06/15/2022, 7:37 PMChristopher Afeku Junior
06/15/2022, 7:51 PMLumiere
06/15/2022, 7:59 PMChristopher Afeku Junior
06/16/2022, 12:45 AM