Re: [Puppet Users] Re: Exporting a resource only once....

2014-01-23 Thread Krist van Besien
On Thursday, January 23, 2014 7:25:47 PM UTC+1, Xav Paice wrote: > > > We have something quite similar - as we use hiera extensively we managed > to have a common yaml file with a list of databases in a hash, and used > create_resources to create the databases (and users, and haproxy > liste

[Puppet Users] ody/pkginventory problem / How do _you_ get a listing of all packages installed on a system?

2014-01-23 Thread Stack Kororā
Greetings, I am using ody/pkginventory [http://forge.puppetlabs.com/ody/pkginventory] as a way of getting information about what rpms are installed on a system. I am using this module over `puppet resource package` for two reasons: 1) Having it as a fact helps some of the other things we are

Re: [Puppet Users] Puppet Post install

2014-01-23 Thread Jason Hatman
> > Thanks! -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups

Re: [Puppet Users] Re: Thoughts on roles/profiles class paradigm

2014-01-23 Thread Ramin K
On 1/22/2014 7:35 PM, Nathan Nobbe wrote: I read Craig's article numerous times and have recently published an article on my thoughts. To summarize, I feel the big lesson from the article is composition is needed to define reusable gr

[Puppet Users] puppetlabs-firewall question

2014-01-23 Thread Dan White
In the documentation, it says: With the latest version, we now have in-built persistence, so this is no longer needed. However, you will still need some basic setup to define pre & post rules. resources { "firewall": purge => true } Firewall { before => Class['my_fw::post'

Re: [Puppet Users] Install MSI packages

2014-01-23 Thread Rob Reynolds
Hello Alex, On Thu, Jan 23, 2014 at 12:01 PM, wrote: > Hi, > > I would like to install Apache silently on Windows servers using Puppet. > Here's my class: > > class base_apache { > > case $operatingsystem { > windows: { > file { 'apache_installer_p

[Puppet Users] Announce: Hiera 1.3.1 Now Available

2014-01-23 Thread Melissa Stone
Hiera 1.3.1 -- Released January 23, 2014. *RC1: December 12, 2013. Hiera 1.3.1 Downloads -- Source: https://downloads.puppetlabs.com/hiera/hiera-1.3.1.tar.gz Available in native package format in the Puppet

Re: [Puppet Users] Puppet Post install

2014-01-23 Thread Moses Mendoza
On Thu, Jan 23, 2014 at 10:30 AM, Jason Hatman wrote: > I have a complete and working Puppet setup. Now, I need to automate it. > Looking at the following page: > http://docs.puppetlabs.com/guides/installation.html#post-install I can see > that it wants me to set up launchd processes for OS X in

Re: [Puppet Users] Puppet Post install

2014-01-23 Thread Matthaus Owens
This is in response to your dashboard question. Running dashboard via apache will handle the starting of the rails app itself, but what you've quoted is the dashboard-workers, which are separate processes that handle doing work for dashboard, like processing reports from the puppet master. There ar

Re: [Puppet Users] Re: Exporting a resource only once....

2014-01-23 Thread xav
On Thu, 2014-01-23 at 08:26 -0800, Krist van Besien wrote: > > > > Basically my situation is the following: > - A database server > - Several web application servers. > > The whole managed using foreman/puppet > > My Web applications each need a database, so I would like to j

[Puppet Users] Puppet Post install

2014-01-23 Thread Jason Hatman
I have a complete and working Puppet setup. Now, I need to automate it. Looking at the following page: http://docs.puppetlabs.com/guides/installation.html#post-install I can see that it wants me to set up launchd processes for OS X in order to have the Puppet service start at boot. I just w

Re: [Puppet Users] puppet & augeas - where to put augeas definition?

2014-01-23 Thread Mike Reed
Hey Pete, Thanks for the info. I think adding a class and "futureproofing" for things like dependencies is probably the way to go, in this specific scenario. Many thanks for the link and for the great information below. I owe you a beer. Cheers, Mike On Thursday, January 23, 2014 12:29

[Puppet Users] Install MSI packages

2014-01-23 Thread pskovshurik
Hi, I would like to install Apache silently on Windows servers using Puppet. Here's my class: class base_apache { case $operatingsystem { windows: { file { 'apache_installer_package': path=> 'D:/Download

[Puppet Users] Is it possible to include files in puppet.conf

2014-01-23 Thread Jose Luis Ledesma
Read about dynamic environments. Preview: make use of $environment in puppet.conf Regards, -- 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+unsubs

[Puppet Users] Is it possible to include files in puppet.conf

2014-01-23 Thread Edd Grant
Hi, Is it possible to include files in puppet.conf? I'd like to use this to be able to declare new environments in their own files rather than having to edit puppet.conf each time. I'm thinking something along the lines of how sudoers works with sudoers.d # puppet.conf include environments/*

Re: [Puppet Users] Re: Puppet 3.4.2 with latest version of Hiera and Facter on OS X Mavericks

2014-01-23 Thread Moses Mendoza
Hi Hesan, The code for Mavericks support in facter will be in Facter 1.7.5, which has not yet been officially released. However, this version is in release candidate (1.7.5-rc1). See the release announcement here: https://groups.google.com/forum/#!topic/puppet-users/wUwBVVJLayA. If you want to gi

[Puppet Users] Re: Exporting a resource only once....

2014-01-23 Thread Krist van Besien
On Thursday, January 23, 2014 2:59:29 PM UTC+1, jcbollinger wrote: > > > It only makes sense to export resources that are somehow specific to or > characteristic of the node whose catalog is being compiled. If you have > such a resource to export, then structure your manifests so that no more

[Puppet Users] Problems with installing packages using mco and ubuntu 12.04

2014-01-23 Thread Alexander Kulbiy
Hi all, I'm now looking forward to implement mcollective on some servers I manage and I found a strange issue with mco command-line tool. I need to install/remove packages using mcollective. When I'm trying to install a package I don't get any error response from mco however package is not ins

Re: [Puppet Users] Get data from password protected file SSL

2014-01-23 Thread Marc Huffnagle
I'm not sure if this is exactly what you're looking for, but check out https://github.com/sihil/hiera-eyaml-gpg - Marc On 1/21/14 6:02 PM, Gautam Chand Nutalapati wrote: > I have a key and file A. > > usually to retrieve data from file, I guess we do something like $var = > File("path/A") > H

[Puppet Users] Re: Get data from password protected file SSL

2014-01-23 Thread jcbollinger
On Tuesday, January 21, 2014 5:02:14 PM UTC-6, Gautam Chand Nutalapati wrote: > > I have a key and file A. > > usually to retrieve data from file, I guess we do something like $var = > File("path/A") > That would be spelled $var = file("path/A") > How do we retrieve the data from same f

[Puppet Users] Re: Puppet 3.4.2 with latest version of Hiera and Facter on OS X Mavericks

2014-01-23 Thread Hesan Yousif
Sorry meant to say running with Ruby v2.0 On Thursday, 23 January 2014 14:29:11 UTC, Hesan Yousif wrote: > > Hi guys, > > I know this is covered in here: > > https://github.com/puppetlabs/puppet/pull/1856 > https://projects.puppetlabs.com/issues/18205 > https://tickets.puppetlabs.com/browse/PUP-1

[Puppet Users] Re: roll back update

2014-01-23 Thread jcbollinger
On Wednesday, January 22, 2014 8:31:42 AM UTC-6, Muhammad Yousuf Khan wrote: > > Hello All, > > i have seen so many apt modules on puppet forge website. they are more > like changing source list path defining. HTTP proxy blah blah but what i > want is a bit more. > is there any apt module whic

[Puppet Users] Puppet 3.4.2 with latest version of Hiera and Facter on OS X Mavericks

2014-01-23 Thread Hesan Yousif
Hi guys, I know this is covered in here: https://github.com/puppetlabs/puppet/pull/1856 https://projects.puppetlabs.com/issues/18205 https://tickets.puppetlabs.com/browse/PUP-1384 But I am still having trouble getting puppet to run the simplest command; sudo puppet resource group puppet ensure

[Puppet Users] Re: Using Virtual Resources and create_resource combination

2014-01-23 Thread jcbollinger
On Wednesday, January 22, 2014 8:19:15 PM UTC-6, CD wrote: > > Hi John, > > Thanks a lot for the information. I checked the variables and could not > find anything defined twice. > > In my workaround I updated the module code slightly and managed to fix the > issue I face. > > I'm glad you've

[Puppet Users] Re: Exporting a resource only once....

2014-01-23 Thread jcbollinger
On Thursday, January 23, 2014 1:56:41 AM UTC-6, Krist van Besien wrote: > > Hello, > > > I have a need for an exported resource that only gets exported once. So a > class that exports this resource should test first if it hasn't already > been exported, and only then export it. > > In pseudo co

Re: [Puppet Users] roll back update

2014-01-23 Thread Jesse Throwe
You can also do zfs/btrfs snapshots before doing a distribution upgrade, allowing for a rollback of the OS. SuSE has rolled this into some of the most recent versions of their OS (I believe the command line tool is called snapper). EIther way, none of the solutions are particularly puppet orie

[Puppet Users] Re: Puppet Not Running chkconfig correctly.

2014-01-23 Thread John Zimmerman
Just thought I would post as I just had nearly the same issue on CentOS 6. The mode for my init script was '0750'. The init script would not register with Puppet, or by executing "chkconfig servicename on". I changed the mode to '0755' like all the other existing init scripts and it works as

Re: [Puppet Users] Choo choo here comes the FOSDEM train

2014-01-23 Thread Johan De Wit
On 01/23/2014 11:18 AM, Daniele Sluijters wrote: Hi everyone, This is starting to shape up nicely. We've got a group of about twenty people registered now, I'm guessing a few more will join us so I'm thinking we'll end up with about 30 people, which is good. As you all know, the FOSDEM beer

Re: [Puppet Users] Choo choo here comes the FOSDEM train

2014-01-23 Thread Daniele Sluijters
Hi everyone, This is starting to shape up nicely. We've got a group of about twenty people registered now, I'm guessing a few more will join us so I'm thinking we'll end up with about 30 people, which is good. As you all know, the FOSDEM beer party is taking place the night before in Delirium.

Re: [Puppet Users] puppet & augeas - where to put augeas definition?

2014-01-23 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi > Per the snippet above, I'm simply trying to add in an extra entry > into my /etc/apt/sources.list but I'm not sure where I would > actually put the above piece of code. I currently have it sitting > in my init.pp file for the corresponding class