[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

[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 -

Re: [External] Re: [Puppet Users] legitimate puppet code?

2020-02-11 Thread 'Prentice Bisbal' via Puppet Users
0/2020 12:38 PM, 'Prentice Bisbal' via Puppet Users wrote: Is this legitimate puppet code? I'm trying to pass arguments instead of using global variables (ie, don't keep looking them up in hiera).  This syntax works elsewhere, but I've yet to use it within a class. When I run 'puppet parser val

[Puppet Users] legitimate puppet code?

2020-02-10 Thread 'Prentice Bisbal' via Puppet Users
Is this legitimate puppet code? I'm trying to pass arguments instead of using global variables (ie, don't keep looking them up in hiera).  This syntax works elsewhere, but I've yet to use it within a class. When I run 'puppet parser validate', I get an error. class cis::iptables (   Integer

[Puppet Users] Puppet server won't start

2019-09-04 Thread 'Prentice Bisbal' via Puppet Users
I'm doing a fresh install of Puppet6 on CentOS 7.6: # rpm -qa | grep puppet puppetserver-6.4.0-1.el7.noarch puppetdb-termini-6.3.4-1.el7.noarch puppet-bolt-1.26.0-1.el7.x86_64 puppet-client-tools-1.2.6-1.el7.x86_64 puppetdb-6.3.4-1.el7.noarch puppet-agent-6.8.1-1.el7.x86_64

[Puppet Users] Using bash for custom facts - results are strings, not booleans

2019-07-11 Thread 'Prentice Bisbal' via Puppet Users
I'm trying to use bash to create custom facts that are booleans, Unfortunately, when I do, the values are interpreted as strings, and not booleans. For example, here is my bash script, gdm.sh: #!/bin/bash PATH=/usr/bin:/bin:/usr/sbin:/sbin rpm --quiet -q gdm retval=$? if [ $retval -eq 0 ];

Re: [Puppet Users] Checking if a directory is a mount point

2018-11-06 Thread 'Prentice Bisbal' via Puppet Users
$fact['mountpoints'] did it. Thanks. -- Prentice On 11/6/18 6:54 PM, 'Dan White' via Puppet Users wrote: Try $fact[‘mountpoints’] On Nov 6, 2018, at 6:06 PM, pbisbal via Puppet Users mailto:puppet-users@googlegroups.com>> wrote: I want to check to see of a directory is a mount point for