Re: [Puppet Users] 'puppetmaster gem install activemq' issue

2015-12-11 Thread Matthaus Owens
Kenton, It looks like you're trying to install the activemq gem, which is a c++ rubygem. It also depends on other compiled rubygems. Puppetserver's gem command does not support installing native C and C++ based rubygems[1]. It might help if you explain a little more about what you're trying to do,

[Puppet Users] 'puppetmaster gem install activemq' issue

2015-12-11 Thread Kenton Brede
Trying to install activemq on an Oracle Linux 7.2 box. Using puppetlabs-release-pc1-1.0.0-1 which has puppetserver version 2.2.1. Below is the command I ran and the resulting error message. I'm not a java guy. Any advice appreciated. -- Thanks. [puppet ~]# puppetserver gem install activemq Bui

[Puppet Users] Logging output of a long running exec

2015-12-11 Thread Dayton Jones
I have a legacy "provisioning" script that I'm calling with puppet on brand new machines (I'm slowly taking the functionality out of the script and into puppet, but for reasons I can't do a full replacement yet) I'd like to log the output of the provisioning and have included "logoutput" to the

Re: [Puppet Users] ENC

2015-12-11 Thread Matt Zagrabelny
On Fri, Dec 11, 2015 at 11:54 AM, Sergiu Cornea wrote: > Hello guys, > > I have an ENC which is producing the right data as far as I could have test > it (copy and paste it in a yaml file), however, when I am using Puppet > directly Puppet seems to do nothing with it. Try running something like:

[Puppet Users] Re: Puppet keeps trying to change correct setting back to correct

2015-12-11 Thread Chuck
So for your Centos 7 issue here is the TICKET. https://tickets.puppetlabs.com/browse/PUP-5296 -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsub

[Puppet Users] Re: Puppet keeps trying to change correct setting back to correct

2015-12-11 Thread Chuck
I was agreeing with his second issue and show I saw the same issue. On Friday, December 11, 2015 at 12:21:37 PM UTC-6, jcbollinger wrote: > > > > On Friday, December 11, 2015 at 12:08:53 PM UTC-6, Chuck wrote: >> >> Here is what I see is going on. On systemV script in /etc/init.d there >> is not

[Puppet Users] Re: Puppet keeps trying to change correct setting back to correct

2015-12-11 Thread jcbollinger
On Friday, December 11, 2015 at 12:08:53 PM UTC-6, Chuck wrote: > > Here is what I see is going on. On systemV script in /etc/init.d there is > not a UnitFileState. [...] > Um, Chuck? I think you've posted this to the wrong thread. I don't see how it relates to the topic of this one. John

[Puppet Users] Re: Puppet keeps trying to change correct setting back to correct

2015-12-11 Thread jcbollinger
On Friday, December 11, 2015 at 11:42:10 AM UTC-6, evan@noaa.gov wrote: > > Thats is how I got the notices. It is either in how the facts are being > pulled, or how puppet is asking but I am can't determine which from what I > am seeing in the --debug. > Along with the messages you presen

[Puppet Users] Re: Puppet keeps trying to change correct setting back to correct

2015-12-11 Thread Chuck
I only see this issue with Puppet4 with RHEL/CENTOS 7 On Friday, December 11, 2015 at 12:08:53 PM UTC-6, Chuck wrote: > > Here is what I see is going on. On systemV script in /etc/init.d there is > not a UnitFileState. > > > Debug: Executing: '/bin/systemctl is-active ossec-hids' > Debug: Execut

[Puppet Users] Re: Puppet keeps trying to change correct setting back to correct

2015-12-11 Thread Chuck
Here is what I see is going on. On systemV script in /etc/init.d there is not a UnitFileState. Debug: Executing: '/bin/systemctl is-active ossec-hids' Debug: Executing: '/bin/systemctl show ossec-hids --property LoadState --property UnitFileState --no-pager' Debug: Executing: '/bin/systemctl u

[Puppet Users] ENC

2015-12-11 Thread Sergiu Cornea
Hello guys, I have an ENC which is producing the right data as far as I could have test it (copy and paste it in a yaml file), however, when I am using Puppet directly Puppet seems to do nothing with it. This is my Puppet.conf file and logging shows that this script is being executed by the P

Re: [Puppet Users] Puppet 101: How to make it go?

2015-12-11 Thread evan . hisey
The community version use a different web frontend, namely foreman. Foreman had some pretty good getting started with puppet docs also. If you are up to having a client check in, showing up in Radiator, and able to trigger remote runs then you are in to writing classes and modules, and using p

[Puppet Users] Re: Puppet keeps trying to change correct setting back to correct

2015-12-11 Thread evan . hisey
Thats is how I got the notices. It is either in how the facts are being pulled, or how puppet is asking but I am can't determine which from what I am seeing in the --debug. On Friday, December 11, 2015 at 8:04:18 AM UTC-6, jcbollinger wrote: > > > > On Thursday, December 10, 2015 at 3:42:22 PM

[Puppet Users] Re: Remove a PuppetLabs Mysql DB

2015-12-11 Thread Joseph Karns
Hello Sergiu: The Puppet Labs MySQL Module creates the sql statements and runs them against the mysql server, but does not maintain them persistently. So to remove a database run the following mysql -u -p -h -e "DROP DATABASE " Thanks Joey On Thursday, December 10, 2015 at 9:20:46 AM UTC-5,

[Puppet Users] Fresh installation on PE on CentOS

2015-12-11 Thread Makrand
Hello there, This is installation attempt of lagtest PE (2015.3.0) on Centos 6.7 minimal. Its basically vanilla install of CentOS on VM. VM is hosted on cloudstack cloud and I am accessing the webGUI of installer via public IP of network (virtual router in ACS) on port 3000. All goes ok till end a

[Puppet Users] Re: Best way to do cross-module dependencies

2015-12-11 Thread Thomas Müller
Am Montag, 7. Dezember 2015 23:59:47 UTC+1 schrieb Dan Mahoney: > > Hey all, > > Everything I've done thusfar in creating my own custom modules has drilled > some basics into my head -- these are right from the puppet web docs: > > "A module’s classes, defined types, and plugins *should all be r

[Puppet Users] Re: Puppet keeps trying to change correct setting back to correct

2015-12-11 Thread jcbollinger
On Thursday, December 10, 2015 at 3:42:22 PM UTC-6, evan@noaa.gov wrote: > Suggestions on where to start trouble shooting this? > > Running the agent with --debug logging would likely provide more information for you to work with. John -- You received this message because you are su

Re: [Puppet Users] user and service interdependencies

2015-12-11 Thread Luke Bigum
[root@localhost ~]# usermod -d /home/foo test usermod: user test is currently used by process x Huh, learn something new every day :-) This is a feature of the provider, usermod, to be honest I think anything you try do here with Puppet is going to be pretty nasty. You could do this: user {

[Puppet Users] user and service interdependencies

2015-12-11 Thread Vadym Chepkov
Hi, How would one gracefully solve a problem like this, we are facing time to time, mostly in the development cycle Lets say somebody wrote code like this (for simplicity): user { 'tools': ensure => present, } service { 'tools': ensure => 'running', require => User['tools'], } It ran, c

[Puppet Users] Puppet AIX duplicated loading of facts

2015-12-11 Thread Björn
Hello, I try to start with puppet under AIX and it themes that the facts are loading twice. puppet agent -t info: Retrieving plugin info: Loading facts in concat_basedir info: Loading facts in environment info: Loading facts in es_facts warning: Could not load fact file /opt/puppet/var/lib/fac