Re: [Puppet Users] Puppet Apache vhost proxypassreverse configuration

2018-01-16 Thread Lowe Schmidt
There you go https://forge.puppet.com/puppetlabs/apache there's examples in the documentation. -- Lowe Schmidt | +46 723 867 157 On 16 January 2018 at 13:45, nikolai <ndavid...@gmail.com> wrote: > hi, > > i need Configure using puppet that when i browse to http:// > (that co

Re: [Puppet Users] parts of class being skipped :(

2017-10-04 Thread Lowe Schmidt
What is the problem you’re having? Sent from my iPhone > On 4 Oct 2017, at 17:12, kaseeve wrote: > > Please forgive my limited knowledge on puppet. I need some assistance in > achieving what most of you would consider a very simple task. I am attempting > to install zabbix

Re: [Puppet Users] saz-sudo puppet module question

2017-08-15 Thread Lowe Schmidt
The CentOS template is part of the RHEL{5,6,7} template(s) as it's basically the same OS. -- Lowe Schmidt | +46 723 867 157 On 15 August 2017 at 04:21, Jagga Soorma <jagg...@gmail.com> wrote: > Hi Guys, > > I am trying to use the saz-sudo (https://forge.puppet.com/saz/sudo) >

Re: [Puppet Users] Automated PuppetDB/PostgreSQL install?

2017-07-23 Thread Lowe Schmidt
Doesn't the puppetdb module do what you want? https://forge.puppet.com/puppetlabs/puppetdb#setup -- Lowe Schmidt | +46 723 867 157 On 22 July 2017 at 18:50, Keith Miller <kee...@gmail.com> wrote: > Hey guys, new to Puppet and looking for some help. Some facts first: > >- Usi

Re: [Puppet Users] Escape codes in collection types

2017-02-01 Thread Lowe Schmidt
Did you omit the "$" here for the $color hash or is it missing in the source ? -- Lowe Schmidt | +46 723 867 157 On 1 February 2017 at 00:20, Joshua Schaeffer <jschaeffer0...@gmail.com> wrote: > I'm new to Puppet and learning the program and language so this question >

Re: [Puppet Users] puppetlabs apt module - jenkins repository

2017-01-30 Thread Lowe Schmidt
What happens if you have repos empty? repos => '' -- Lowe Schmidt | +46 723 867 157 On 29 January 2017 at 18:06, Romgo <hugo.dep...@gmail.com> wrote: > Hello, > > I'm trying to use this module to configure my debian server. > I have one issue with the jenkins

Re: [Puppet Users] Issue with puppetlabs-java

2017-01-20 Thread Lowe Schmidt
The README.md says the following. "Oracle Java is supported on: - CentOS 6" -- Lowe Schmidt | +46 723 867 157 On 20 January 2017 at 16:58, bodik <bo...@cesnet.cz> wrote: > class {"java": } but i doubt that {"java::oracle": } > > On 01/2

Re: [Puppet Users] Puppet managing thousands of resources

2017-01-11 Thread Lowe Schmidt
How do you run the puppetmaster? (Also, 2.6 is wy EOL) -- Lowe Schmidt | +46 723 867 157 On 11 January 2017 at 18:58, Zachary Vida <vida.z...@gmail.com> wrote: > Hello, I was wonder if there are any significant impovements in later > version of puppet >= 2.6 to cato

Re: [Puppet Users] PATH when using puppet apply. RVM buggered.

2017-01-06 Thread Lowe Schmidt
Labs don’t rely on the OS’s Ruby version, and can be installed alongside any version of Ruby or on systems without Ruby installed." https://docs.puppet.com/guides/platforms.html -- Lowe Schmidt | +46 723 867 157 On 6 January 2017 at 12:02, Steve Button <steve.but...@gmail.com> wrote

Re: [Puppet Users] Exported resources in Puppet 4 without using PuppetDB?

2016-12-17 Thread Lowe Schmidt
Sorry, but no. I'm quite sure that PuppetDB (and Postgres) is a hard dependency for exported resources. -- Lowe Schmidt | +46 723 867 157 On 16 December 2016 at 23:52, Johnson Earls <darkfoxpr...@gmail.com> wrote: > Hello all, > > I was just wondering - has anyone come

Re: [Puppet Users] "Error: Could not request certificate: Error 500 on SERVER" after updating certificate

2016-10-27 Thread Lowe Schmidt
And you requested a new one? -- Lowe Schmidt | +46 723 867 157 On 27 October 2016 at 08:04, <shlo.af...@gmail.com> wrote: > Yes > > On Wednesday, October 26, 2016 at 10:23:59 AM UTC+3, Lowe Schmidt wrote: >> >> So you did remove the SSL certificate on the _agent_ as

Re: [Puppet Users] "Error: Could not request certificate: Error 500 on SERVER" after updating certificate

2016-10-26 Thread Lowe Schmidt
So you did remove the SSL certificate on the _agent_ as well? -- Lowe Schmidt | +46 723 867 157 On 26 October 2016 at 08:22, <shlo.af...@gmail.com> wrote: > In the log: > > Could not prepare for execution: The certificate retrieved from the master > does not match the a

Re: [Puppet Users] "Error: Could not request certificate: Error 500 on SERVER" after updating certificate

2016-10-25 Thread Lowe Schmidt
What does your server logs say? And what Puppet version are you running? -- Lowe Schmidt | +46 723 867 157 On 25 October 2016 at 12:58, <shlo.af...@gmail.com> wrote: > > Hi, > I need to renew the SSL certificate. > > I overwrite the old certificate files with the

Re: [Puppet Users] Re: Puppet 4 under Ubuntu 16.04

2016-10-17 Thread Lowe Schmidt
Yes, Puppet server is written in Clojure and requires a working JDK to run. -- Lowe Schmidt | +46 723 867 157 On 17 October 2016 at 13:13, Ilia Ternovich <ternov...@gmail.com> wrote: > Hi, > > I would like to install puppet first and then manage my oracle jdk > installatio

Re: [Puppet Users] Re: Puppet 4 under Ubuntu 16.04

2016-10-17 Thread Lowe Schmidt
Do you want to install Oracle JDK on a machine or do you want to run the puppet server with Oracle JDK ? -- Lowe Schmidt | +46 723 867 157 On 17 October 2016 at 11:19, Ilia Ternovich <ternov...@gmail.com> wrote: > Hi, > > I can't install puppetserver because it requires openj

Re: [Puppet Users] puppet 3 to 2016.4

2016-10-12 Thread Lowe Schmidt
I dont't quite understand, could you rephrase the question? -- Lowe Schmidt | +46 723 867 157 On 12 October 2016 at 20:06, kevin <klsamave...@gmail.com> wrote: > What scripting language will they be using for the moving much of Ruby2.0 > dependency or python > > On Wednesday

Re: [Puppet Users] Puppet 4.x, Puppetdb and sqlite

2016-09-30 Thread Lowe Schmidt
As I remember it, PuppetDB uses some specific functionality of postgres, so it is a hard requirement. -- Lowe Schmidt | +46 723 867 157 On 28 September 2016 at 21:24, Kong Eng <kongen...@gmail.com> wrote: > > Hi, > > Anyone know if there's fix/way to use Puppet 4.x, pupp

Re: [Puppet Users] A resource in class of post stage is getting executed before main stage.

2016-08-31 Thread Lowe Schmidt
Can you please show us the code for the class appneta::updatejs -- Lowe Schmidt | +46 723 867 157 On 31 August 2016 at 18:38, Afroz Hussain <hussainaph...@gmail.com> wrote: > Hi All, > > I have a class with stage='post-10' that mean that has to executed after > main st

Re: [Puppet Users] mysql package name

2016-08-29 Thread Lowe Schmidt
Have a look at the mysql module in the forge [0]. They solve it by having a package_ensure parameter to the mysql::server class which is one of [ 'present', 'latest, 'absent', 'x.y.z' ] where "x.y.z" is a version string. [0] https://forge.puppet.com/puppetlabs/mysql#mysqlserver -- Lo

Re: [Puppet Users] Can't connect agent to master using curl

2016-08-23 Thread Lowe Schmidt
Hey, do you have DNS configured for your domain? -- Lowe Schmidt | +46 723 867 157 On 23 August 2016 at 15:49, Freddy Paxton <freddy.paxt...@btopenworld.com> wrote: > Hi, > I recently installed Puppet Enterprise on my master using the guide > provided on the Puppet websit

Re: [Puppet Users] X509 Cert management

2016-08-23 Thread Lowe Schmidt
There is also https://forge.puppet.com/puppetlabs/java_ks maybe it fits better with what you want to do ? -- Lowe Schmidt | +46 723 867 157 On 23 August 2016 at 07:58, Alex Samad <a...@samad.com.au> wrote: > Hi > > I want to manage CA certs on Centos boxes and also in JVM's >

Re: [Puppet Users] variable scoping and erb templates

2016-08-16 Thread Lowe Schmidt
What version of Puppet are you running? -- Lowe Schmidt | +46 723 867 157 On 15 August 2016 at 20:48, Matt Zagrabelny <mzagr...@d.umn.edu> wrote: > Greetings! > > I am hitting a curious question and couldn't find an answer. > > I can access variables from other clas

Re: [Puppet Users] Puppet Without Agent

2016-08-15 Thread Lowe Schmidt
or ansible. -- Lowe Schmidt | +46 723 867 157 On 15 August 2016 at 13:39, <guilherme.silves...@netbr.com.br> wrote: > Hi guys, > > I wonder if I can use the Puppet without agent. I only need the Puppet > connect on some servers through SSH and run some command lines. > >

Re: [Puppet Users] Re: How to handle multiple modules requiring the same packages

2016-06-13 Thread Lowe Schmidt
It most likely has to do with creating the graph of dependencies, if we have one Package['a'] with two branches of deps it can't guarantee that it is acyclic. -- Lowe Schmidt | +46 723 867 157 On 13 June 2016 at 12:21, Justin Rowles <justin.row...@bgch.co.uk> wrote: > At risk of bump

Re: [Puppet Users] Conrol class order of execution

2016-06-10 Thread Lowe Schmidt
You can use the same operators to express dependencies between classes. -- Lowe Schmidt | +46 723 867 157 On 10 June 2016 at 15:08, Harish Kothuri <harishkoth...@gmail.com> wrote: > > > On Friday, June 10, 2016 at 6:29:27 PM UTC+5:30, Harish Kothuri wrote: >> >> Hi,

Re: [Puppet Users] Conrol class order of execution

2016-06-10 Thread Lowe Schmidt
You can use the relationships operators described here here https://docs.puppet.com/puppet/latest/reference/lang_relationships.html -- Lowe Schmidt | +46 723 867 157 On 10 June 2016 at 14:05, Harish Kothuri <harishkoth...@gmail.com> wrote: > Hi, > > I have several classes att

Re: [Puppet Users] mysql - granting permissions twith puppet

2016-06-10 Thread Lowe Schmidt
Can you show us the code that you've written for this? It looks quite straight forward when looking at this documentation https://github.com/puppetlabs/puppetlabs-mysql#mysql_grant -- Lowe Schmidt | +46 723 867 157 On 9 June 2016 at 23:19, kaustubh chaudhari <kaustu...@gmail.com> wrote:

Re: [Puppet Users] Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find class

2016-06-05 Thread Lowe Schmidt
Could you show us the node classification please. -- Lowe Schmidt | +46 723 867 157 On 5 June 2016 at 12:33, Luke Tinker <lt.shall...@gmail.com> wrote: > Hi Everyone, > > I have some what exhausted my current readings from puppets documentation > and presume I'm eithe

Re: [Puppet Users] Re: not able to sign the certificate of puppet master

2016-06-03 Thread Lowe Schmidt
Vivek, the solution is already in this thread. Read jcbollingers answer -- Lowe Schmidt | +46 723 867 157 On 3 June 2016 at 09:25, Vivek Mishra <vivekmishra...@gmail.com> wrote: > Hi John, > > I am facing a similar type of error. Can you help me. > > sudo puppet agent -tWar

Re: [Puppet Users] Puppet 4.5 and git & R10K

2016-05-31 Thread Lowe Schmidt
Have a look over here: https://github.com/puppetlabs/r10k -- Lowe Schmidt | +46 723 867 157 On 31 May 2016 at 08:40, Alex Samad <a...@samad.com.au> wrote: > Hi > > New install, I am doing this on Centos 6.x > I have installed the repo RPM > > I believe this is PC1 repo

Re: [Puppet Users]

2016-05-29 Thread Lowe Schmidt
On 28 May 2016 at 13:22, nimmani Santhosh <santhoshrocks...@gmail.com> wrote: > "The storage control blocks were destroyed" > the reverse dns entry can be wrong. you'll find a bunch of references to gettaddrinfo and/or puppet if you google that exact phrase. -- Lowe Sch

Re: [Puppet Users] Message from application: cannot load such file — puppet/util/command_line (LoadError)

2016-05-19 Thread Lowe Schmidt
go to the root of the puppet installation (i believe it is /opt/puppet/ by default) and run ./bin/puppetserver and you should be set. -- Lowe Schmidt | +46 723 867 157 On 18 May 2016 at 13:39, San <ssah@gmail.com> wrote: > Hi, > > > I have configured puppet with passenge

Re: [Puppet Users] pre-requisites for setting up Puppet

2016-05-11 Thread Lowe Schmidt
https://docs.puppet.com/puppet/latest/reference/install_pre.html#check-os-versions-and-system-requirements -- Lowe Schmidt | +46 723 867 157 On 11 May 2016 at 03:03, Raj <rajesh.patwari...@gmail.com> wrote: > Hello All, > > Am new to Puppet could anyone send me the pre-requisites

Re: [Puppet Users] Erb template

2016-05-03 Thread Lowe Schmidt
It is probably better two generate the child*.conf from your puppet code rather than having an erb template generate another file (I am not even sure that works). What version of puppet are you running and could you show us some code? -- Lowe Schmidt | +46 723 867 157 On 2 May 2016 at 15:53

Re: [Puppet Users] Puppet enterprise 2016.1.1 installation failing with following error

2016-04-28 Thread Lowe Schmidt
On 27 April 2016 at 21:40, Ali <ali.janjua...@gmail.com> wrote: > ^[[1;31mError: Failed to apply catalog: Could not parse line "/bin/grep > \"^+:\" /etc/passwd 1>>/var/log/passwd_check.log" at root:14^[[0m > What is in the log file? -- Lowe Sc

Re: [Puppet Users] unable to create home directory

2016-03-31 Thread Lowe Schmidt
Are you creating the user with puppet or do you have something like LDAP or AD that manages users and access for you? -- Lowe Schmidt | +46 723 867 157 On 31 March 2016 at 14:13, Patrick G. <pgh2...@gmail.com> wrote: > /home does exists but /home/admin doesn’t because it is a

Re: [Puppet Users] unable to create home directory

2016-03-29 Thread Lowe Schmidt
> Notice: /Stage[main]/Ssh/Ssh_authorized_key[admin]/ensure: created > Debug: Creating /home/admin/.ssh > Error: /Stage[main]/Ssh/Ssh_authorized_key[admin]: Could not evaluate: No such file > or directory - /home/admin/.ssh Well, does the directory /home/admin/.ssh exist? -- Lowe S

Re: [Puppet Users] puppet 8140 port is not listening

2016-02-29 Thread Lowe Schmidt
On 29 February 2016 at 16:09, <moonsun1...@gmail.com> wrote: > *Warning: Connection refused - connect(2) for > "245.77.154.104.bc.googleusercontent.com > <http://245.77.154.104.bc.googleusercontent.com>" port 8140* > Is the puppetmaster up and listening on that

Re: [Puppet Users] Proper (or elegant) way to handle doing some based on contents of a file.

2016-02-23 Thread Lowe Schmidt
My suggestion would be to convert that file to a custom/external fact, and then in your manifests write an if statement, adding the correct cron{} for the matching fact. -- Lowe Schmidt | +46 723 867 157 On 22 February 2016 at 23:28, Scott Walker <sc...@cinesite.com> wrote: > I

Re: [Puppet Users] Re: Announce: A REPL for the puppet language

2016-02-21 Thread Lowe Schmidt
I have the AIO package, but I havent pruned my rbenv environments. My bad -- Lowe Schmidt | +46 723 867 157 On 21 February 2016 at 04:26, Jo Rhett <jrh...@netconsonance.com> wrote: > Puppet 4 is only supported with the all-in-one packaged Ruby. You don’t > choose your own. > &g

Re: [Puppet Users] Announce: A REPL for the puppet language

2016-02-20 Thread Lowe Schmidt
/Users/lsc/.rbenv/versions/2.3.0/bin/prepl:22:in `load' from /Users/lsc/.rbenv/versions/2.3.0/bin/prepl:22:in `' ´´´ -- Lowe Schmidt | +46 723 867 157 On 20 February 2016 at 00:25, Rich Burroughs <r...@richburroughs.com> wrote: > Wow! I can't wait to have a look at this. > > > Ri

Re: [Puppet Users] SOA Infra getting skipped while RCU creation

2016-02-18 Thread Lowe Schmidt
1. How do you run puppet? 2. Please show us the code for the puppet module you are using, and the profile/role you are using to configure the node. 3. The log does not seem to be related to Puppet, but to SOA BPEL, are you sure this is the log from Puppet? -- Lowe Schmidt | +46 723 867 157 On 18

Re: [Puppet Users] Monitoring file system and cleanup with puppet

2016-02-17 Thread Lowe Schmidt
No, and you should probably not use Puppet to try and solve that kind of problem. You could probably write a script and run it from cron if you need a quick ad hoc solution. -- Lowe Schmidt | +46 723 867 157 On 17 February 2016 at 02:35, <moonsun1...@gmail.com> wrote: &g

Re: [Puppet Users] bizarro error when starting a puppet agent

2016-02-09 Thread Lowe Schmidt
Regards, -- Lowe Schmidt | +46 723 867 157 On 5 February 2016 at 23:13, Christopher Wood <christopher_w...@pobox.com> wrote: > It may be useful to provide them with a puppet manifest which configures > most of the puppet agent. If all they need to do is "yum install puppet; >

Re: [Puppet Users] puppet module environment bug?

2016-01-29 Thread Lowe Schmidt
/etc/puppet/modules is available for all environments (if I am not mistaken). -- Lowe Schmidt | +46 723 867 157 On 29 January 2016 at 10:43, James Green <james.mk.gr...@gmail.com> wrote: > jamesg@puppet-master:/etc/puppet$ sudo puppet module list --environment > tools_office &

Re: [Puppet Users] Puppet/Puppetboard throwing error 'Internal Server Error'

2016-01-26 Thread Lowe Schmidt
Is PuppetDB running? -- Lowe Schmidt | +46 723 867 157 On 25 January 2016 at 13:29, Manoj Kumar <manoj.kuma...@gmail.com> wrote: > Getting following error in apache logs : > > [Mon Jan 25 11:44:21.960584 2016] [:error] [pid 13523] > ERROR:pypuppetdb.api:Not Found localh

Re: [Puppet Users] Error: Could not find class apache

2016-01-26 Thread Lowe Schmidt
You will have to show us the relevant puppet code and link to the module you are using. Also read the link in the error message. -- Lowe Schmidt | +46 723 867 157 On 25 January 2016 at 21:11, Maruti Gangumolu <maruti.gangum...@gmail.com> wrote: > Hi Team, > > I'm new to puppet

Re: [Puppet Users] override values in puppet account creation

2016-01-23 Thread Lowe Schmidt
you probably need to lift up the parameters to the define. something like define accounts::virtual ($uid, $realname, $pass, $shell='/bin/bash') {... } It's been awhile since I did program in puppet, but that should be a start. -- Lowe Schmidt | +46 723 867 157 On 23 January 2016

Re: [Puppet Users] puppet can not auto update files under one dircetory when one of these files was deleted

2016-01-21 Thread Lowe Schmidt
Puppet does not remove files on agent systems if the puppet server does not have them anymore. What you probably want to do is set the "ensure => absent" on the file resource in your puppet code. This will ensure that the file is deleted on the puppet agent machine. -- Lowe Schmidt

Re: [Puppet Users] Use nodes with defined resource in nginx configuration

2016-01-19 Thread Lowe Schmidt
Exported resources would accomplish what you are trying to do, as long as you don't often and rapidly remove and add upstream app-hosts. -- Lowe Schmidt | +46 723 867 157 On 18 January 2016 at 14:29, Frederik Bjerggaard Nielsen <f...@firstcom.dk> wrote: > Hi, > > I am workin

Re: [Puppet Users] exec check for directory

2016-01-05 Thread Lowe Schmidt
You will always create the file regardless of the before=>[] block, before just makes sure to realise what is referenced in the before block and then do what is in the file block. What are you trying to accomplish? Putting a .bashrc in place if a user exist? -- Lowe Schmidt | +46 723 867

Re: [Puppet Users] Configuring apache reverse proxies

2016-01-04 Thread Lowe Schmidt
Have a look at the proxy_pass section of the puppetlabs module. https://github.com/puppetlabs/puppetlabs-apache#proxy_pass -- Lowe Schmidt | +46 723 867 157 On 31 December 2015 at 22:43, yatesco <colin.ya...@gmail.com> wrote: > Hi all, a somewhat newbie here who has googled and read

Re: [Puppet Users] How to use define type or variables

2016-01-04 Thread Lowe Schmidt
Can you please provide the error messages you get. -- Lowe Schmidt | +46 723 867 157 On 29 December 2015 at 06:45, <linux.shel...@gmail.com> wrote: > Hi, > > I am new to puppet and I am trying to write a module to manage user > .bashrc files. I managed to place the file to th

Re: [Puppet Users] puppet module install cloudprovisioner Issue

2016-01-04 Thread Lowe Schmidt
You should probably use the gem provided with PE, not the system one. -- Lowe Schmidt | +46 723 867 157 On 24 December 2015 at 07:14, Sandeep Majety <sandeep.majet...@gmail.com> wrote: > > I am trying to intall Puppet Eneterprise in Ubuntu 14.04 machine... > > After running

Re: [Puppet Users] Re: Why does rspec puppet that_requires matcher fail?

2016-01-04 Thread Lowe Schmidt
you depend on Class['splunk::install'] not Class['tpp::splunk::install']. check your manifest. -- Lowe Schmidt | +46 723 867 157 On 15 December 2015 at 02:50, Haani Niyaz <haani.ni...@gmail.com> wrote: > Forgot to add the error! > > 1) tpp::splunk::service when tpp is i

Re: [Puppet Users] puppet 3.8.1 reinstalling downgraded package on ubuntu precise

2015-07-12 Thread Lowe Schmidt
Setting the specific version instead of present should be enough. [...] ensure = 1.3.2, [...] for example. -- Lowe Schmidt | +46 723 867 157 On 10 July 2015 at 18:58, Randall Smith rbsm...@adams.edu wrote: Greetings, I'm using puppet 3.8.1 on ubuntu precise. My manifest includes a very

Re: [Puppet Users] lock *nix user accounts with no password

2014-12-19 Thread Lowe Schmidt
You should probably use PAM to enforce password complexity instead of using a homegrown bash script. -- Lowe Schmidt | +46 723 867 157 On 16 December 2014 at 11:54, Brian Keating brian.keat...@gmail.com wrote: Hi, Our security policy states we lock *nix accounts that have no passwords. I

Re: [Puppet Users] setting folders to different permissions

2014-12-19 Thread Lowe Schmidt
That won't help, because if other cant run execute on /home they can cd into directories below /home. -- Lowe Schmidt | +46 723 867 157 On 18 December 2014 at 16:35, Brian Keating brian.keat...@gmail.com wrote: Hi, I want to set /home dir to chmod 750 but all dirs included to 755. Anyone