[Puppet Users] Augtool Failed To Execute Command

2020-02-24 Thread Dan Crisp
Hello all, Can someone help me out please with this. I can't see what the issue is or what it is I'm doing wrong: augtool> set /files/etc/logrotate.d/syslog/rule/file[last()+1] "/var/log/puppet" augtool> ls /files/etc/logrotate.d/syslog/rule/ file[1] = /var/log/cron file[2] = /var/log/maillog

[Puppet Users] Hiera Setup Lookup Complaining

2020-02-24 Thread Dan Crisp
Hello all, Strugling to get started with Hiera (all new to me): # more /etc/puppetlabs/puppet/hiera.yaml --- *# Hiera 5 Global configuration file* version: 5 # defaults: # data_hash: yaml_data # hierarchy: # - name: Common #data_hash: yaml_data hierarchy: [] # more environments/producti

Re: [Puppet Users] Hiera Setup Lookup Complaining

2020-02-24 Thread Henrik Lindberg
On 2020-02-24 17:06, Dan Crisp wrote: Hello all, Strugling to get started with Hiera (all new to me): First glance that looks ok, as you can see it is not finding your key in any of the resulting paths. From where (which data file) was it supposed to find the key you looked up? Best, - hen

Re: [Puppet Users] Hiera Setup Lookup Complaining

2020-02-24 Thread Dan Crisp
Hello Henrik, thanks for your reply. This file: environment/production/data/nodes/nodename.domain.com.yaml On Monday, February 24, 2020 at 4:26:37 PM UTC, Henrik Lindberg wrote: > > On 2020-02-24 17:06, Dan Crisp wrote: > > Hello all, > > > > Strugling to get started with Hiera (all new to m

Re: [Puppet Users] Hiera Setup Lookup Complaining

2020-02-24 Thread Henrik Lindberg
Dan Crisp wrote: environment/production/data/nodes/nodename.domain.com.yaml As you can see in the output - the hiera path expanded to: Path "/etc/puppetlabs/code/environments/production/data/nodes/.yaml" Meaning that trusted.certname was empty. It would be empty if the node "nodename.domai

[Puppet Users] Failed to open TCP connection to puppet:8140 (Connection refused)

2020-02-24 Thread 'Prentice Bisbal' via Puppet Users
I'm suddenly getting this error with my puppetserver: # puppetserver ca list Fatal error when running action 'list'   Error: Failed connecting to https://puppet:8140/puppet-ca/v1/certificate_statuses/any_key   Root cause: Failed to open TCP connection to puppet:8140 (Connection refused - connec

[Puppet Users] Re: Failed to open TCP connection to puppet:8140 (Connection refused)

2020-02-24 Thread 'Prentice Bisbal' via Puppet Users
I found the solution here: https://puppet.com/docs/pe/2017.3/known_issues_server.html#puppet_server_known_issues__puppet_server_run_issue_when_tmp_directory_mounted_noexec My /tmp was mounted noexec. Weird that this problem just popped up no, when it had been configured like that for a long tim

[Puppet Users] Puppet Resource Api and attributes 'behaviour: :parameter'

2020-02-24 Thread Frédéric Lespez
Hi, I currently trying to develop a custom type with Puppet Resource API. Using this documentation: https://github.com/puppetlabs/puppet-specifications/blob/master/language/resource-api/README.md I managed to develop something that works with attributes of behavior 'namevar' and 'readonly'. I wou

Re: [Puppet Users] Puppet Resource Api and attributes 'behaviour: :parameter'

2020-02-24 Thread David Schmitt
Hi Fred, I'm sorry to say that this kind of behaviour is the topic of an open feature request: https://github.com/puppetlabs/puppet-resource_api/issues/225 I've added a link to this conversation there, to record the need for this. Until this gets implemented, you can try your hand at the "nasty m

Re: [Puppet Users] Puppet Resource Api and attributes 'behaviour: :parameter'

2020-02-24 Thread Frédéric Lespez
Hi David, Thanks for your quick response. I will contribute to feature request on Github. Regards, Fred -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet