Re: [Puppet Users] file resource calling a 'define'd exec syntax?

2013-11-17 Thread Neil - Puppet List
Hello First up the file type supports selinux roles etc so you might not need any of that. If you did make the exec resource refreshonly and notify it from the file resource. Anyway the parser is right the syntax is bad. Inside the curly its always like type{'name': var = value, Followed by more

Re: [Puppet Users] question about file {} type

2013-11-25 Thread Neil - Puppet List
Gid should be a number? On 25 Nov 2013 18:14, Stuart Cracraft smcracr...@gmail.com wrote: My class reads like: class name1::name2 ($gidvariable) { file { somepath-to-file: ensure = file, mode = '0640', gid = $gidvariable, } } The problem is that the file isn't getting

Re: [Puppet Users] puppet open source and vmware template

2013-11-29 Thread Neil - Puppet List
When you deploy a vm from the template give it a host name. Then first puppet run will make a new cert. Set puppet master to autosign and you are in business Neil On 29 Nov 2013 12:09, kaustubh chaudhari kaustu...@gmail.com wrote: Hi All, Fairly new to puppet! I wanted to include puppet

Re: [Puppet Users] Re: Reg : War deployment with Puppet

2014-01-30 Thread Neil - Puppet List
Puppi? On 30 Jan 2014 13:52, Andrey Kozichev akozic...@gmail.com wrote: we used to package into rpms as well On 30 January 2014 11:50, PaulC paul.can...@gmail.com wrote: Must admit i would be interested in seeing what other peoples approaches has been for this, we have been thinking about

Re: [Puppet Users] How to apply a set of configurations to a specific host group?

2014-04-23 Thread Neil - Puppet List
Hello I think you'd probably be best served by using a sql backend to hiera. this would allow you to think and configure in terms of host groups but hiera to find that a host has a class of group. A view or two might be needed to keep things tidy. Neil On 23 Apr 2014 21:42, Sans

Re: [Puppet Users] Re: Open puppet port(s) to the internet

2014-06-18 Thread Neil - Puppet List
Hi Running puppet on port 443 might be a good move if you expect your laptops to be using cafe hotel airport style wifi sslh might be a suitable tool to proxy for puppet I've not tried it though. Regards Neil On 18 Jun 2014 14:30, jcbollinger john.bollin...@stjude.org wrote: On Tuesday,

Re: [Puppet Users] Very large Hiera File

2014-09-04 Thread Neil - Puppet List
Hello I hit a similar issue but took a hackish way out. I now have a script convert my yaml to a file full of virtual resources. Its a bit yuck but compile time is much better. Neil On 3 Sep 2014 21:07, Trevor Vaughan tvaug...@onyxpoint.com wrote: Honestly, if you have a large number of

Re: [Puppet Users] puppetlabs-apache n00b question - docroot value for fully proxied virtual host?

2014-09-17 Thread Neil - Puppet List
Set it to /dev/null ? On 17 Sep 2014 17:53, Hunter Haugen hun...@puppetlabs.com wrote: Yeah, basically `$docroot` is still a required parameter because historically it was required (apache::vhost didn't do proxy stuff) and was never updated. If you want to make a PR that makes it default to

Re: [Puppet Users] Manage a single file (directory) from multiple modules

2014-09-22 Thread Neil - Puppet List
Hello I do not think that is possible or really desirable. Puppet is about desired state so you can not say the directory should both be /pathtodir ├── fileA └── fileB and /tmp should be /pathtodir ├── fileB └── fileC as the first says must not have fileC and the second says must have fileC.

Re: [Puppet Users] Manage a single file (directory) from multiple modules

2014-09-23 Thread Neil - Puppet List
file { /System/Library/User Template/English.lproj/Library/Preferences/${source} : # the source is the file from the line directly below, this seems true as the correct files copy when I have only No its just not like that $source would need to be defined in or passed to the scope your file

Re: [Puppet Users] puppetlabs/concat Problem on Windows

2015-03-26 Thread Neil - Puppet List
Hello As it is a param to the file resource you could set it as the default with File { source_permissions = ignore, } Be warned that it may mess up other file resources. Neil On 13 Mar 2015 15:13, Fraser Goffin goff...@gmail.com wrote: Hi, I am attempting to use the puppetlabs/concat

[Puppet Users] collector in class with same name as tag causes all virtual resources of the type to be realized

2015-04-07 Thread Neil - Puppet List
Hello I'm upgrading from 3.6 to 3.7 and have it a issue/bug I'm using users/groups but to keep it short and something others can run without the mess of users being made I've made up a file example == modules/filegroups/manifests/matches.pp === class filegroups::matches { include

[Puppet Users] Re: collector in class with same name as tag causes all virtual resources of the type to be realized

2015-04-07 Thread Neil - Puppet List
2015 at 11:34, Neil - Puppet List maillist-pup...@iamafreeman.com wrote: Hello I'm upgrading from 3.6 to 3.7 and have it a issue/bug I'm using users/groups but to keep it short and something others can run without the mess of users being made I've made up a file example == modules

Re: [Puppet Users] A case for git (SVN vs Git)

2015-06-16 Thread Neil - Puppet List
Hello With git I can commit branch etc and test on VMs all on my laptop with no internet access. So features come one at a time when I get back online and push. When I had svn a lot of features would just appear in a single commit. Horrid. Not 100% joking If your organisation is big enough

Re: [Puppet Users] Wanna see something scary ?

2015-06-16 Thread Neil - Puppet List
Their use of hiera_include is spaghetti codish and horrid. But a lot of puppet code is. For a framework to be flexible enough without supporting such horrors is seemingly impossible. You are right to be concerned. If it were me I'd redo them as puppet classes and see if that looks better. I'm not

Re: [Puppet Users] Re: Monitoring Puppet with Zabbix

2016-01-19 Thread Neil - Puppet List
Hello Using puppetdb the a query against its api would be my choice if you want not to add custom bits to you puppet infrastructure, which is an entirely reasonable thing to wish to avoid. Neil On 18 Jan 2016 07:02, "hoize" wrote: > Has nobody an idea...? > > Am

Re: [Puppet Users] Load Balancer for Puppet Master

2016-06-26 Thread Neil - Puppet List
Hello i front puppet masters with haproxy. haproxy handles ssl and requires a valid client cert. requests for a cert go to a seperate ca master. happy to supply config if you are interested Neil On 24 Jun 2016 07:17, "Braian Fabián Leiva" wrote: > I'm trying to setup a

Re: [Puppet Users] Re: How to reference NFS shares in a file resource

2017-01-17 Thread Neil - Puppet List
Hello another option is to run a puppet master on the nfs server to share the same files. the file source would then be puppet://servera/blah/filepath. Neil On 16 Jan 2017 23:38, "warron.french" wrote: > Merci Thomas, >I didn't know how to implement the syntax

Re: [Puppet Users] A Scalable HA Setup with on 2 configs, check this out !

2016-09-19 Thread Neil - Puppet List
admin:PASSWORDFORADMINACCESSTOSTATSPAGE stats admin if TRUE On 18 September 2016 at 09:10, Gareth Rushgrove <gar...@morethanseven.net> wrote: > On 17 September 2016 at 15:06, Neil - Puppet List > <maillist-pup...@iamafreeman.com> wrote: > > Hello > > > > I've run multiple puppet masters be

Re: [Puppet Users] A Scalable HA Setup with on 2 configs, check this out !

2016-09-19 Thread Neil - Puppet List
at 10:07, Neil - Puppet List < maillist-pup...@iamafreeman.com> wrote: > Hello > > Below is a slightly edited version of the haproxy.cfg > > All the backends except the ca require a valid client cert 'http-request > deny unless { ssl_c_verify 0 }' > > global > ch

Re: [Puppet Users] A Scalable HA Setup with on 2 configs, check this out !

2016-09-17 Thread Neil - Puppet List
Hello I've run multiple puppet masters behind ha proxy for a few years now. I have multiple masters, with haproxy rules directing some clients to particular masters. I only have one puppet master as CA. I've about 600 clients. Initially I was concerned about only having one CA. But all it does

Re: [Puppet Users] A Scalable HA Setup with on 2 configs, check this out !

2016-09-19 Thread Neil - Puppet List
on > load. > > Thanks, > > Trevor > > On Mon, Sep 19, 2016 at 5:09 AM, Neil - Puppet List < > maillist-pup...@iamafreeman.com> wrote: > >> Hello >> >> One extra thing to mention is I have got into issues with configuring the >> loadbal

Re: [Puppet Users] Multiple vhosts, same document root

2017-07-11 Thread Neil - Puppet List
Hello stdlib package has a function ensure_resource that would allow you to create the directory as many times as needed. out of curiosity why not use the puppetlabs apache module? Cheers Neil On 7 Jul 2017 09:39, "'Bas van de Wiel' via Puppet Users" < puppet-users@googlegroups.com> wrote: >

Re: [Puppet Users] shell file but getting copied do destination

2017-09-12 Thread Neil - Puppet List
hi, the source has a typo. it says midules rather than an modules. Neil On 10 Sep 2017 18:29, wrote: Hi, following is my task file which i call from deployment_task.yaml file { '/tmp/filename.sh' path => '/tmp' . . source => puppet:///midules/pluginname/filename.sh, }