Sam
02/28/2023, 7:18 AMSam
02/28/2023, 7:18 AMSlackbot
02/28/2023, 8:56 AMSlackbot
02/28/2023, 9:00 AMNeeloj
02/28/2023, 9:01 AMcurl -X GET <http://puppetdb.example.com/puppet/v3/node/mycertname?environment=production&transaction_uuid=aff261a2-1a34-4647-8c20-ff662ec11c4c&configured_environment=production>
I want only get the nodes
thanks allNeeloj
02/28/2023, 9:09 AMcurl -X GET <http://puppetdb.example.com/puppet/v3/node/mycertname?environment=production&transaction_uuid=aff261a2-1a34-4647-8c20-ff662ec11c4c&configured_environment=production>
I want only get the nodes
thanks allNeeloj
02/28/2023, 9:38 AMallow $1 to * what is not okay but for testing on test server it works.
{
# Allow nodes to retrieve only their own node definition
match-request: {
path: "^/puppet/v3/node/([^/]+)$"
type: regex
method: get
}
allow: "*"
sort-order: 500
name: "puppetlabs node"
},
its possible to say only from a specific ip address or if there a better way please let me know... thanksBrian Schonecker
02/28/2023, 12:51 PMrismoney
02/28/2023, 2:47 PMtesting:
route_1:
route: "224.0.1.0/24"
adapter:
- "Network0"
- "Network1" :
gatewayAddr: "10.19.161.1"
create_resources('network::setstaticroute', lookup("testing",undef,undef,{}))
I then have a define network:setstatic route:
w/ params $route,$adapter
In this define I have 2 questions:
If I do a $adapter_string = join ($adapter,",") will I get "Network0,Network1"?
How do I access gatewayAddr via the $adapter variable. Its an array of hash.Lumiere
02/28/2023, 2:48 PMLumiere
02/28/2023, 2:50 PMrismoney
02/28/2023, 2:50 PMrismoney
02/28/2023, 2:51 PMLumiere
02/28/2023, 2:51 PMrismoney
02/28/2023, 2:57 PMbinford2k
02/28/2023, 3:55 PMSlackbot
02/28/2023, 4:22 PMDr Bunsen Honeydew
02/28/2023, 4:22 PMpuppetlabs-accounts module at https://forge.puppet.com/puppetlabs/accounts?src=slack&channel=puppetma_garvo
02/28/2023, 4:24 PMpuppetlabs-accounts module like this:
accounts::user { 'root':
password => $secret,
}
I think i have to hash the password myself though?Slackbot
02/28/2023, 4:35 PMDr Bunsen Honeydew
02/28/2023, 5:45 PMcanihavethisone
02/28/2023, 8:24 PMrnelson0
02/28/2023, 8:27 PMrnelson0
02/28/2023, 8:28 PMbastelfreak
02/28/2023, 8:36 PMSlackbot
02/28/2023, 8:37 PMJohn Bishop
02/28/2023, 8:38 PMJohn Bishop
02/28/2023, 8:38 PMJohn Bishop
02/28/2023, 9:03 PMInternal Server Error: org.jruby.exceptions.RuntimeError: (LookupError) Function lookup() did not find a valueJohn Bishop
02/28/2023, 9:04 PMInternal Server Error: org.jruby.exceptions.RuntimeError: (LookupError) Function lookup() did not find a value