[Puppet Users] RPM is not getting installed for PE3.2

2014-04-29 Thread Deep
I want to install Puppet Enterprise 3.2 with automated answer file and by creating a rpm. When I am trying to install this rpm by using yum install , it gets stuck because this yum command get lock of yum and when installer implicitly calls for yum to install another packages, it is not able

[Puppet Users] Creating scope object in Puppet v3.x

2014-04-29 Thread KomodoDave
Hi all, I wrote a neat little script for Puppet 2.x to test custom functions without needing to do a Puppet run. This involved creating a Scope object using `Puppet::Parser::Scope.new` then calling `send` to send a function call to it. In Puppet 3 however, creating a Scope instance this way do

[Puppet Users] vcsrepo module: is my patch faulty or are the test failures unjustified?

2014-04-29 Thread Martin Heistermann
Hi, I have some vcsrepo resources that check out out a revision specified by SHA1 hash. However, on every run 'git fetch' is run to verify that the correct revision is checked out. I think that shouldn't be necessary, so I tried to patch vcsrepo to avoid such fetches in that case: https://githu

Re: [Puppet Users] Database and user not created (Puppetlabs mysql module)

2014-04-29 Thread Piotr Usewicz
I think you have to enable pluginssync option in the [main] section in puppet.conf On Wednesday, 11 April 2012 14:12:03 UTC+1, Moteo wrote: > > Hi Luca, > > sadly I left "nice puppet" way for a while for Mysql management and > did everything manuallly :( > > Best regards > M. > > 2012/3/28 Luca S

[Puppet Users] Re: Looking for a better way to use hiera hashes than create_resources

2014-04-29 Thread jcbollinger
On Monday, April 28, 2014 2:34:43 PM UTC-5, Alex Scoble wrote: > > Hi All, > > I'm working on a module that builds KVM/libvirt hosts and populates them > with predefined VMs. > > So far I have the module to where it can create any number of virtual > nets, storage pools and volumes using virsh,

[Puppet Users] Enable puppet agent by default

2014-04-29 Thread Marc
Hello I am trying puppet 3.5.1 on a Debian Jessie. How can I enable Puppet by default on new installations ? I need to do that, for Debian deployment. I use Debian FAI to install Debian on my workstations. After the deployment, Puppet is launched. I just have to sign them on Puppet Master in

Re: [Puppet Users] Enable puppet agent by default

2014-04-29 Thread Matt Zagrabelny
Hi! On Tue, Apr 29, 2014 at 9:13 AM, Marc wrote: > Hello > > I am trying puppet 3.5.1 on a Debian Jessie. > > How can I enable Puppet by default on new installations ? It looks like it is. > I need to do that, for Debian deployment. I use Debian FAI to install Debian > on my workstations. After

Re: [Puppet Users] Enable puppet agent by default

2014-04-29 Thread Garrett Honeycutt
On 4/29/14, 10:45 AM, Matt Zagrabelny wrote: > Hi! > > On Tue, Apr 29, 2014 at 9:13 AM, Marc wrote: >> Hello >> >> I am trying puppet 3.5.1 on a Debian Jessie. >> >> How can I enable Puppet by default on new installations ? > > It looks like it is. > >> I need to do that, for Debian deployment.

Re: [Puppet Users] Enable puppet agent by default

2014-04-29 Thread Christopher Wood
(inline) On Tue, Apr 29, 2014 at 11:10:10AM -0400, Garrett Honeycutt wrote: > On 4/29/14, 10:45 AM, Matt Zagrabelny wrote: > > Hi! > > > > On Tue, Apr 29, 2014 at 9:13 AM, Marc wrote: > >> Hello > >> > >> I am trying puppet 3.5.1 on a Debian Jessie. > >> > >> How can I enable Puppet by default o

[Puppet Users] Puppetmaster Logrotate isn't working

2014-04-29 Thread willi . fehler
Hello, we have an issue that the Puppetmaster logrotate isn't working. We are using the following default Logrotate: /var/log/puppet/*log { missingok sharedscripts create 0644 puppet puppet compress rotate 4 postrotate pkill -USR2 -u puppet -f 'puppet master' || true [ -e /e

Re: [Puppet Users] Best practice for creating resources out of Hiera?

2014-04-29 Thread John Morton
On Monday, 28 April 2014 20:55:30 UTC+12, Felix.Frank wrote: > > Hi, > > this is really, really meta (http://xkcd.com/917/). > Nevertheless, I nailed it? > I'm a little cautious of building something like this: > http://thedailywtf.com/Articles/The_Enterprise_Rules_Engine.aspx > Oh, come

[Puppet Users] Re: Looking for a better way to use hiera hashes than create_resources

2014-04-29 Thread Alex Scoble
Hi John, Thanks so much for your feedback. It's extremely useful for me at this stage of my education in the Puppet DSL. Here is the Puppet Users group thread where R.I. Pienaar said that he felt that using create_resources() was bad: https://groups.google.com/forum/?fromgroups#!searchin/pupp

[Puppet Users] puppet sub-folders

2014-04-29 Thread Jason Hatman
My manifests folder is getting pretty full and a little messy. Can I create directories in my manifests folder for my main module? Does puppet understand to look in the folders or will this mess everything up? -- You received this message because you are subscribed to the Google Groups "Pupp

[Puppet Users] Re: puppet sub-folders

2014-04-29 Thread Jason Hatman
I suppose I should have mentioned that I'm using a Puppetmaster server to dish out all of my manifests. -- 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-u

Re: [Puppet Users] puppet sub-folders

2014-04-29 Thread Christopher Wood
Sounds like it's time for you to start using modules: http://docs.puppetlabs.com/puppet/latest/reference/modules_fundamentals.html For interest's sake, my manifest has only a two-line site.pp. Everything else is modules or hiera. Yumrepo <| |> -> Package <| |> hiera_include('hclasses') On Tue,

Re: [Puppet Users] puppet sub-folders

2014-04-29 Thread Jason Hatman
> > I'm using modules right now. However, I have 90% of my manifests in one > module. My site.pp is also very small. Should I break them up into > different modules? I really haven't put much thought into that because I > didn't have very many manifests at first. Now, my library is growing

Re: [Puppet Users] puppet sub-folders

2014-04-29 Thread Christopher Wood
The answer is a qualified "yes", since little chunks of functionality are going to be easier for you to maintain than a single large module. Later on you can look into hiera and other useful stuff. On Tue, Apr 29, 2014 at 12:13:56PM -0700, Jason Hatman wrote: > I'm using modules right now.

[Puppet Users] Custom facts variables coming out empty on manifest

2014-04-29 Thread Paulo Pinto
Hi all. I have a very simple Custom Fact in /etc/puppet/modules/facts/lib/facter/php_version.rb : Facter.add(:php_version) do setcode do Facter::Util::Resolution.exec('php-config --version|awk -F "." \'{print $1$2}\'') end end It gets deployed and if I run "facter -p |grep php " on th

[Puppet Users] Re: puppet apply stops with message "Killed"

2014-04-29 Thread Ádám Sándor
I managed to solve the problem :) First we added more memory to the machine. With 1GB of memory the script ran further but still failed. In this case it became apparent that it's doing something with file permissions. It was setting group 70 (don't even know what kind of group that is) to some

Re: [Puppet Users] Error 400 on Server: 0 is not a string. It looks to be a Fixnum on node example.test.net

2014-04-29 Thread Tony Zhao
So I realized that I was running 3.4.2 when using puppet apply and 3.5.1 on puppetmaster. I am thinking that might have caused the problem? Is there anyway to download a previous release of puppet? Thanks On Monday, April 28, 2014 8:51:35 AM UTC-4, Ken Barber wrote: > > Can you paste the full e

Re: [Puppet Users] puppet sub-folders

2014-04-29 Thread José Luis Ledesma
Moreover you may create subdirectories, for example if you declare the class: namex::namey::namez The autolader would look for the manifest: $moduledir/namex/manifests/namey/namez.pp Regards, El 29/04/2014 21:18, "Christopher Wood" escribió: > The answer is a qualified "yes", since little chun

Re: [Puppet Users] Custom facts variables coming out empty on manifest

2014-04-29 Thread José Luis Ledesma
Hi, Perhaps there is an environment diference between the command line and the puppet agent process. The first one I think is the path one. I would try to launch the php-config --version and the awk with the full-path. If that doesn't work, I would check if the php-config-version needs any envir

[Puppet Users] Re: Custom facts variables coming out empty on manifest

2014-04-29 Thread Paulo Pinto
Hello Jose. That was spot on ! Changed the script using the full path to both binaries did the trick: Facter.add(:php_version) do setcode do Facter::Util::Resolution.exec('/usr/local/bin/php-config --version|/bin/awk -F "." \'{print $1$2}\'') end end Thanks ! That made my day :-) > --

Re: [Puppet Users] PuppetDB / inventory service configuration problem

2014-04-29 Thread Michael Eatherly
I'm having this issue as well. did we ever find an answer for this problem? On Monday, April 22, 2013 9:26:44 AM UTC-5, Ken Barber wrote: > > Lets take a look at the following files on your puppetmaster: > > /etc/puppet/puppet.conf > /etc/puppet/puppetdb.conf > /etc/puppet/routes.yaml > /etc/p

[Puppet Users] Re: Puppet and Windows ACLs (Access Control Lists)

2014-04-29 Thread Joaquin Menchaca
What is most important to me is to have the ability to set ACLS on existing resources, such as file, service, and registry (and other objects). For now, it would be an immediate boon to apply the, oh so ugly, SDDL for a given resource, like a service. Later, we can have an SDDL builder, that

[Puppet Users] DMZ Hosts/SSH Tunneling

2014-04-29 Thread Axton
I read the presentation at http://stroessenreuther.info/pub/Puppet_getting_started.pdf, which was very insightful. With regard to using puppet in the DMZ and resources (slides 31-32), instead of the complication of a custom ruby script and modifications to all the modules I have, I opted to instea

Re: [Puppet Users] DMZ Hosts/SSH Tunneling

2014-04-29 Thread José Luis Ledesma
I have not experience with puppet in the DMZ, but it seems a better solution without any doubt. Regards, El 30/04/2014 06:08, "Axton" escribió: > I read the presentation at > http://stroessenreuther.info/pub/Puppet_getting_started.pdf, which was > very insightful. With regard to using puppet in