Re: [Puppet Users] How to deliberately cause modules to conflict?

2016-05-28 Thread Rob Nelson
You could test for the other class and fail, something like if Defined(Class['dma']) Fail "you cannot use postfix with dma" Typed from my phone, please check syntax and caps and such. On Saturday, May 28, 2016, Dan Mahoney, System Admin wrote: > Hey there. > > This is a weird question, but I

[Puppet Users] How to deliberately cause modules to conflict?

2016-05-28 Thread Dan Mahoney, System Admin
Hey there. This is a weird question, but I guess I'll ask it anyway. Is there a way to say one of the following two things? 1) That you want a manifest to deliberately break when you try to include two different items? For example, most of our machines run a very simple mailer called DMA (dr

Re: [Puppet Users] facter 3.2 global custom facts directory?

2016-05-28 Thread Christopher Wood
I thought it might too, but turns out probably not: https://projects.puppetlabs.com/issues/11449 On Sat, May 28, 2016 at 06:22:45AM -0700, dkoleary wrote: >Hey; >Thanks; yes, that was a typo.  Responding from an ipad on a shaky >surface... bit surprised that was the only one. >Any

Re: [Puppet Users] facter 3.2 global custom facts directory?

2016-05-28 Thread dkoleary
Hey; Thanks; yes, that was a typo. Responding from an ipad on a shaky surface... bit surprised that was the only one. Any rate, I now have fact scripts in /etc/facter/facts.d $ ltree /etc/facter/facts.d drwxr-xr-x. 2 root root 4096 May 28 08:07 /etc/facter/facts.d drwxr-xr-x. 3 root root 4096

Re: [Puppet Users] facter 3.2 global custom facts directory?

2016-05-28 Thread Christopher Wood
Just to confirm that's a typo below? You have an "s" in facter. /etc/facter/facts.d On Fri, May 27, 2016 at 03:15:11PM -0700, dkoleary wrote: > Thanks for the response. I'm pretty sure I tried /etc/faster/facts.d; but, > I'll confirm that. > > Thanks again. > > -- > You received this messag