Re: [Puppet Users] Duplicate declaration

2018-09-07 Thread 'Dan White' via Puppet Users
Separate the client base directory resource from the application directory resource. When declaring each application directory, add a “require” parameter with a value of the client base directory. "Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is

Re: [Puppet Users] Set default param value based on another param

2018-10-07 Thread 'Dan White' via Puppet Users
th a default value is complex, it >> can be written as a function to which you present the input as >> arguments. The above could have been written: >> >> function mymodule::conf_default(String $base) { "${base}/conf" } >> class myclass( >>String $b

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

2018-11-06 Thread 'Dan White' via Puppet Users
Try $fact[‘mountpoints’] > On Nov 6, 2018, at 6:06 PM, pbisbal via Puppet Users > wrote: > > I want to check to see of a directory is a mount point for a separate > partition. For example, I'd like to check to see if /tmp is a separate > partition or is just part of the root partition on a

Re: [Puppet Users] Set default param value based on another param

2018-10-06 Thread 'Dan White' via Puppet Users
You need to do like this: class myClass ( String $base_dir, Optional[String] $conf_dir, ) { if $myClass::conf_dir == undef { $myClass::actual_conf_dir = "$myClass::base_dir/conf” } else { $myClass::actual_conf_dir = $myClass::conf_dir } … and then use

Re: [Puppet Users] Hiera and precedence

2019-01-17 Thread 'Dan White' via Puppet Users
I think you have it bass-ackwards https://puppet.com/docs/puppet/5.0/hiera_hierarchy.html "Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us." Bill Waterson (Calvin & Hobbes) > On Jan 17, 2019, at 12:40 PM, Peter

[Puppet Users] LDAP ? User type provider documentation ? Hiera Back End ?

2019-08-13 Thread 'Dan White' via Puppet Users
Is there any current documentation about how to create user resources with an ldap provider ? A working hiera ldap backend would also be nice to have. —- "Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it

Re: [Puppet Users] LDAP ? User type provider documentation ? Hiera Back End ?

2019-08-13 Thread 'Dan White' via Puppet Users
> On Aug 13, 2019, at 9:30 PM, Garrett Honeycutt > wrote: > >> On 8/13/19 6:10 PM, 'Dan White' via Puppet Users wrote: >> On Aug 13, 2019, at 9:04 PM, 'Dan White' via Puppet Users >> mailto:puppet-users@googlegroups.com>> >> wrote: >> >>>

Re: [Puppet Users] LDAP ? User type provider documentation ? Hiera Back End ?

2019-08-13 Thread 'Dan White' via Puppet Users
> On Aug 13, 2019, at 9:04 PM, 'Dan White' via Puppet Users > wrote: > > Is there any current documentation about how to create user resources with an > ldap provider ? Let me be a bit more specific on this question. I am looking for the setup details to allow Puppet

Re: [Puppet Users] LDAP ? User type provider documentation ? Hiera Back End ?

2019-08-14 Thread 'Dan White' via Puppet Users
On August 14, 2019 at 5:15 AM, Martin Alfke wrote: Hi Dan, On 14. Aug 2019, at 04:12, 'Dan White' via Puppet Users wrote: On Aug 13, 2019, at 9:30 PM, Garrett Honeycutt wrote: On 8/13/19 6:10 PM, 'Dan White' via Puppet Users wrote: On Aug 13, 2019, at 9:04 PM, 'Dan White' via Puppet

Re: [Puppet Users] LDAP ? User type provider documentation ? Hiera Back End ?

2019-08-14 Thread 'Dan White' via Puppet Users
On August 14, 2019 at 9:01 AM, jcbollinger wrote: Why would you not want to write to the data store backing your User resources?  If you cannot write, then you cannot manage resources -- neither create new ones nor modify existing ones nor remove unwanted ones.  These things are what User

Re: [Puppet Users] LDAP ? User type provider documentation ? Hiera Back End ?

2019-08-14 Thread 'Dan White' via Puppet Users
I believe I am going to abandon user resources with an ldap provider, because I cannot get it to even attempt a connection. I tried to create a user on the puppet server itself using "puppet apply" The output of the run complains that    Provider ldap is not functional on this host and    Could

Re: [Puppet Users] Accessing the list of classes assigned to a node from within puppet

2019-08-07 Thread 'Dan White' via Puppet Users
How about a variation on this : # In site.pp, outside of any node definitions and below any top-scope variables: lookup('classes', Array[String], 'unique').include Lose the “include” and you have : $class_list = lookup('classes', Array[String], 'unique') —-

Re: [Puppet Users] Puppet Module Best Practice (Roles/Profiles)

2019-07-18 Thread 'Dan White' via Puppet Users
There appears to be contradiction here. If “one-off” changes for “new functionality” are needed, why are the changes going into a base/profile module ? Would some more specific and detailed examples be possible ? — "Sometimes I think the surest sign that

[Puppet Users] [Glitch with a Workaround] From behind a proxy, "puppet-code deploy" cannot pull in any Forge modules

2019-11-15 Thread 'Dan White' via Puppet Users
I had an issue where "puppet module install" worked, but "puppet-code deploy" would not pull in Forge modules. Between the Slack channel and opening a ticket, I got information and a workaround: Unfortunately, PE 2019.2.0 and 2019.2.1 have a regression in r10k proxy handling that we just

Re: [Puppet Users] PE 2019.2 with Puppet Agent 5.x (CA issue?)

2019-11-16 Thread 'Dan White' via Puppet Users
Use 2018.1.11 (LTS) It clearly says that pre-6 agents won’t play with a 6 server. —- "Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us." Bill Waterson (Calvin & Hobbes) > On Nov

Re: [Puppet Users] Puppetforge Selinux Module Not Working

2019-10-07 Thread 'Dan White' via Puppet Users
That example is found here: https://forge.puppet.com/puppet/selinux#usage I think you need puppet-selinux —- "Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us." Bill Waterson

Re: [Puppet Users] Update SSH Config File With Different Values

2020-01-08 Thread 'Dan White' via Puppet Users
I have had good luck with this Forge module. https://forge.puppet.com/saz/ssh Try it out and see if it meets your needs. And, absolutely use Hiera. Just set up a hierarchy that includes a node level, and your node-specific settings are handled. "Sometimes I think the surest sign that

Re: [Puppet Users] Beaker - what’s your perspective?

2020-04-20 Thread 'Dan White' via Puppet Users
Well put, Trevor. I have never used it because I have found it impossible to set up from scratch. "Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us." Bill Waterson (Calvin & Hobbes) > On Apr 20, 2020, at 10:46

Re: [Puppet Users] Facter 4.0.19 is now available

2020-04-29 Thread 'Dan White' via Puppet Users
Those look like beagle pups. Yours ? Super cute. I love all animals, especially if they are well behaved, but I am a Cat Person. ___ Dan White : d_e_wh...@icloud.com “Sometimes I think the surest sign that intelligent life exists elsewhere in

Re: [Puppet Users] Bad security pratices in manifests

2020-07-17 Thread 'Dan White' via Puppet Users
As one needs to be a member of IEEE to read the paper, it is tough to provide feedback. —- "Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us." Bill Waterson (Calvin & Hobbes) >

Re: [Puppet Users] CustomFacts: Can we pass the credentials in custom facts in secure way?

2021-01-22 Thread 'Dan White' via Puppet Users
Have you considered “orapwd” ? https://docs.oracle.com/database/121/ADMIN/dba.htm#ADMIN12478 ___ Dan White : d_e_wh...@icloud.com “Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has

Re: [Puppet Users] Puppet for RHEL 9 - when will it be available?

2021-12-06 Thread 'Dan White' via Puppet Users
Do the el8 packages work for CentOS 8 Stream ? —- "Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us." Bill Waterson (Calvin & Hobbes) > On Dec 6, 2021, at 8:05 PM, Yasmin Rajabi

Re: [Puppet Users] hiera, template and array

2023-03-29 Thread 'Dan White' via Puppet Users
Silly question: Why not use https://forge.puppet.com/modules/puppetlabs/ntp ? ___ Dan White : d_e_wh...@icloud.com “Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to