Yorokobi
05/18/2022, 5:45 PM[main]
environment = qa
for example.natemccurdy
05/18/2022, 5:46 PMLes Shiner
05/18/2022, 5:49 PMLes Shiner
05/18/2022, 5:50 PMnatemccurdy
05/18/2022, 5:51 PMnatemccurdy
05/18/2022, 5:52 PMLes Shiner
05/18/2022, 5:53 PMcsharpsteen
05/18/2022, 8:54 PMcsharpsteen
05/18/2022, 8:54 PMbolt command run --targets all 'puppet facts upload --server new-puppetser.example'
csharpsteen
05/18/2022, 8:54 PMbolt command run --targets all 'puppet facts upload --server new-puppetserver.example'
Willem Basson
05/19/2022, 7:03 AMSlackbot
05/19/2022, 12:26 PMbastelfreak
05/19/2022, 12:29 PM/v3/facts
API endpoint on Puppetserver: https://puppet.com/docs/puppet/5.5/http_api/http_facts.html what's the purpose of the expiration
key in the payload? Does Puppetdb use that for anything?Neeloj
05/19/2022, 12:37 PMNeeloj
05/19/2022, 12:43 PMbastelfreak
05/19/2022, 1:04 PMkrishna kant mishra
05/19/2022, 2:41 PMRobert Emanuele
05/19/2022, 4:44 PM:namevar
be something other than a String? If so how can I get a regex in the title_patterns
to capture a value as an Integer or something else? (Am a bit of Ruby noob.)hbui
05/19/2022, 4:56 PMpdk new help
). Once created, you just add the resources as needed.
https://puppet.com/docs/puppet/6/type.htmlhbui
05/19/2022, 4:56 PMhbui
05/19/2022, 5:10 PMpdk new help
). Once created, you just add the resources as needed.
https://puppet.com/docs/puppet/6/type.htmlRobert Emanuele
05/19/2022, 5:22 PMRobert Emanuele
05/19/2022, 5:24 PMhbui
05/19/2022, 5:47 PMnatemccurdy
05/19/2022, 5:49 PMhbui
05/19/2022, 5:49 PMhbui
05/19/2022, 5:52 PMfile { 'mydnsfile':
path => '/etc/resolv.conf',
mode => '0664',
}
file { 'resolverfile':
path => '/etc/resolv.conf',
mode => '0644',
}
you'd put puppet in a situation where you had a conflict about what you would want done, so you need to make path the namevar to guarantee that only one resource can own a file.Robert Emanuele
05/19/2022, 6:00 PMRobert Emanuele
05/19/2022, 6:00 PMhbui
05/19/2022, 6:46 PM