[Puppet Users] Announce: Puppet Enterprise 3.8.6 is available

2016-08-09 Thread Rob Braden
Dear Puppet Enterprise Users, Puppet Enterprise 3.8.6 is now available. Puppet Enterprise 3.8.6 is a security release of Puppet Enterprise. This release contains updated versions of MCollective containing fixes for a security issue detailed here

[Puppet Users] Announce: Puppet Enterprise 2016.2.1 is available

2016-08-09 Thread Rob Braden
Dear Puppet Enterprise Users, Puppet Enterprise 2016.2.1 is now available. Puppet Enterprise 2016.2.1 is a security, bug-fix and platform enablement release of Puppet Enterprise. This release contains updated versions of MCollective and the mcollective-puppet-agent plugin containing fixes for

[Puppet Users] Re: How to refer to exported resource parameters in a template

2016-08-09 Thread Matthew Pounsett
On Tuesday, 9 August 2016 06:12:33 UTC-7, jcbollinger wrote: > > > > Some people do hack together means to do the job more or less as you > initially envisioned, but don't confuse mechanism with result. I would not > be surprised if you had seen examples of exactly what I describe, without >

Re: [Puppet Users] Re: Function best approach

2016-08-09 Thread Jeff McCune
> On Aug 9, 2016, at 9:52 AM, Thomas Müller wrote: > > What would be the best approach to making the subroutine available to a > custom fact, custom function and type/provider all at once? I’d start by looking at using a standard puppet module. If you place the

[Puppet Users] Re: Function best approach

2016-08-09 Thread Thomas Müller
Am Dienstag, 19. Juli 2016 18:50:45 UTC+2 schrieb Salty Old Cowdawg: > > Let me preface everything I'm about to say by saying I only started > seriously coding in Ruby about a year ago. I've been a Perl guy since 1989 > and C/C++ and friends for longer than that so I'm not a total newbie.

[Puppet Users] Re: File_line help (regex?)

2016-08-09 Thread Thomas Müller
Am Dienstag, 19. Juli 2016 17:36:36 UTC+2 schrieb mike r: > > trying to make sure my grub conf file contains a string, > > > cat /etc/default/grub > > GRUB_DISABLE_SUBMENU=true > GRUB_TERMINAL_OUTPUT="console" > *GRUB_CMDLINE_LINUX="crashkernel=auto audit=1 rd.lvm.lv >

Re: [Puppet Users] Re: Service entry for puppet agents not working

2016-08-09 Thread Bret Wortman
They matched. Good thought, though. *Bret Wortman* http://wrapbuddies.co/ On Tue, Aug 9, 2016 at 9:11 AM, Rob Nelson wrote: > > On Tue, Aug 9, 2016 at 8:51 AM, Bret Wortman wrote: > >> What I failed to mention before is that

[Puppet Users] Re: How to refer to exported resource parameters in a template

2016-08-09 Thread jcbollinger
On Monday, August 8, 2016 at 3:55:38 PM UTC-5, Matthew Pounsett wrote: > > > I'm using puppet 4.4.1. I have a case where I need the IP addresses of > all the servers that fit a certain set of criteria to appear in a YAML list > in a config file on a particular host. > > It seems like the

Re: [Puppet Users] Re: Service entry for puppet agents not working

2016-08-09 Thread Rob Nelson
On Tue, Aug 9, 2016 at 8:51 AM, Bret Wortman wrote: > What I failed to mention before is that the failure scenario is that I'll > get a "Could not evaluate: Could not retrieve file metadata for > puppet:///modules/ourlib/pip.conf: end of file reached" > Maybe try adding

Re: [Puppet Users] exec not working in manifest with powershell commmand

2016-08-09 Thread Rob Nelson
Can you share the logs from your puppet run showing the error(s) received? Also, you may want to look at the module https://forge.puppet.com/puppet/iis, which may either handle this already, or be a good example of code you can build on if the feature is not present. Rob Nelson

[Puppet Users] exec not working in manifest with powershell commmand

2016-08-09 Thread David Yeo
All, I have a requirement for automating the setup of IIS through puppet enterprise, I have a manifest which is not fully executing a powershell command utilising 'exec' (see below) *exec { 'SetvirtualDirectoryDefaultsuserName': command => '$(Set-ItemProperty -Path

Re: [Puppet Users] Re: puppet lvm module

2016-08-09 Thread jcbollinger
On Monday, August 8, 2016 at 6:35:42 PM UTC-5, Alex Samad wrote: > > Hi > > Sorry new to puppet, not sure which mechinism your talking about. > My point was not about the details of implementing custom types, it was simply that all native types -- both custom and Puppet-provided -- share a

[Puppet Users] Re: Service entry for puppet agents not working

2016-08-09 Thread Bret Wortman
In trying to work out the environmental differences, I _have_ noticed that the daemon runs as the puppet user, but when I run it interactively, it runs as root. As root, it works, as puppet, it works, but from root's crontab, it doesn't. What I failed to mention before is that the failure

[Puppet Users] Re: Centos 7 authentication with puppet

2016-08-09 Thread Thomas Müller
> > One of the packages is responsible for configuring systems to allow > certain users ssh access. > a file '/etc/custom_txt_file' manually created on system with contents of: > ' a tag' > > puppet reads that tag and if it finds match it adds certain AD group to > /etc/pam_allowed_groups as

[Puppet Users] Re: puppetserver custom mount Error 400

2016-08-09 Thread chetr via Puppet Users
> > The permissions of the dirs on the path to the file indeed were correct > with +x > In the end, I went and yum removed the install, deleted the /etc/puppet* and /opt/puppet* dirs and reinstalled. Everything seems to be working as expected now, which is perplexing (and a little