Re: [Puppet Users] Re: File resource without ensure

2013-04-15 Thread Ellison Marks
Perhaps it works differently when specifying the content/source of a file. I tried your example, but with content => 'foo' instead of mode => 640 and it created the file. On Sunday, April 14, 2013 8:55:07 AM UTC-7, Felix.Frank wrote: > > Hi, > > On 04/04/2013 05:08 PM, jcbollinger wrote: > >

[Puppet Users] Re: puppet module upgrade dilemma with Subversion

2013-04-15 Thread Ellison Marks
What OS are you on, and what package manager are you using to install/upgrade puppet? On Friday, April 12, 2013 5:55:52 AM UTC-7, Ygor wrote: > > I use Subversion to maintain the $confdir of my puppet-masters and I just > discovered that when one does an upgrade, the entire tree is blown away an

[Puppet Users] Module structure for case-specific configuration

2013-04-15 Thread Boyan Tabakov
Hi all, Let's consider the following situation: I use the module structure, proposed by R.I.Pienaar: http://www.devco.net/archives/2012/12/13/simple-puppet-module-structure-redux.php I have a module, let's say apache, that follows that pattern for installing and setting up basic apache server.

Re: [Puppet Users] Re: File resource without ensure

2013-04-15 Thread Felix Frank
On 04/15/2013 09:31 AM, Ellison Marks wrote: > Perhaps it works differently when specifying the content/source of a > file. I tried your example, but with content => 'foo' instead of mode => > 640 and it created the file. Yes, I believe that's an important distinction. One would expect 'content =

Re: [Puppet Users] install multiple versions with gem provider

2013-04-15 Thread Nikola Petrov
Yes it is possible with defines. You also should include the version number in the name of the gem that is produced. This will allow you to install multiple version of the same package. If you give more info about your setup we might help you even more -- Nikola On Tue, Apr 09, 2013 at 07:03:36

[Puppet Users] Using PuppetDB REPL

2013-04-15 Thread Joao Sa
I want to experiment a bit with PuppetDB and in the documentation there's mention of the built in remote repl, but I can't seem to get it working. After enabling it on "/etc/puppetdb/conf.d/repl.ini": [repl] enabled = true type = nrepl port = 8082 When I restart it the log "/var/log/puppetdb/pu

[Puppet Users] Experiences migrating from SCCM to Puppet

2013-04-15 Thread Francisco Martinez
Hello, I would like to know if there are any resources (success stories, comparisons, blogs...) regarding the use of puppet as a substitute to SCCM in Windows platforms. Would also love to hear success stories from Windows administrators using puppet. I'm somewhat skilled with puppet but not wi

Re: [Puppet Users] Experiences migrating from SCCM to Puppet

2013-04-15 Thread Matt Zagrabelny
On Mon, Apr 15, 2013 at 3:31 AM, Francisco Martinez wrote: > Hello, > > I would like to know if there are any resources (success stories, > comparisons, blogs...) regarding the use of puppet as a substitute to SCCM > in Windows platforms. Would also love to hear success stories from Windows > admi

Re: [Puppet Users] Re: puppet module upgrade dilemma with Subversion

2013-04-15 Thread Dan White
Red Hat Enterprise Linux 5 and yum “Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us.” Bill Waterson (Calvin & Hobbes) - Original Message - From: "Ellison Marks" To: puppet-users@googlegroups.com Se

[Puppet Users] Puppet report processor to keep reports on Agent

2013-04-15 Thread Andriy Yurchuk
Having a custom Puppet report processor is it possible to not send the reports from each agent to the master but keep them on agents? I mean having the same functionality as described here https://puppetlabs.com/blog/when-puppet-reports-part-2/ but with each report's results are kept on the age

[Puppet Users] Re: service "delete"

2013-04-15 Thread jcbollinger
On Friday, April 12, 2013 3:57:49 PM UTC-5, Kubes wrote: > > Does puppet have a menas to do what chkconfig --del does? > > Puppet can run "/sbin/chkconfig --del foo" for you via an Exec, but why would you want to do that? The closest the built-in Service resource type will do is this: service

[Puppet Users] Re: Question on Variable Scope

2013-04-15 Thread jcbollinger
On Friday, April 12, 2013 7:10:07 PM UTC-5, Doug_F wrote: > > List > > I want to have a per server snmp password setup. When I set it up as below > and run the client it is unable to process the module because it cannot > find the $snmp_password. > > Is there a way to export a $variable from a

[Puppet Users] Re: Conditional based on whether package is part of the manifest

2013-04-15 Thread jcbollinger
On Saturday, April 13, 2013 11:44:12 AM UTC-5, Martin Rio wrote: > > 1. class myssl { > 2.* ... code that puts certificate files in place * > 3. > 4.* if package https is installed {* > 5. class {'apache::mod::ssl': }<- enables Apache's mod_ssl > 6. } > 7. } > > In th

[Puppet Users] Re: Conditional based on whether package is part of the manifest

2013-04-15 Thread jcbollinger
On Monday, April 15, 2013 8:40:05 AM UTC-5, jcbollinger wrote: > > > Adding the "include" statement to class apache::mod::ssl causes class > "myssl" to be declared on all nodes that have class "apache::mod::ssl" > declared. > > That does assume, however, that you don't need a joint condition.

Re: [Puppet Users] Using PuppetDB REPL

2013-04-15 Thread Deepak Giridharagopal
On Mon, Apr 15, 2013 at 6:38 AM, Joao Sa wrote: > I want to experiment a bit with PuppetDB and in the documentation there's > mention of the built in remote repl, but I can't seem to get it working. > > After enabling it on "/etc/puppetdb/conf.d/repl.ini": > > [repl] > enabled = true > type = nre

[Puppet Users] Managing uniform package baselines (declaring *many* packages) - any tricks?

2013-04-15 Thread Kodiak Firesmith
Hello, Our group is currently moving from RHEL5 and an in-house baseline management system and yum repositories to RHEL6, Puppet , and RHN Satellite. With our old homebrew management framework we had a lot of flexibility and ease in declaring which packages should be allowed or disallowed, defin

[Puppet Users] Using onlyif for Windows exec

2013-04-15 Thread Gary Park
Hello, I am in the process of "trying out" Puppet, and so far, it is going really well, and I can see a clear line of how we can use it internally. I do have one question though with regard to the using the onlyif parameter of the exec command (as per here http://docs.puppetlabs.com/references

[Puppet Users] Re: Managing uniform package baselines (declaring *many* packages) - any tricks?

2013-04-15 Thread llowder
On Monday, April 15, 2013 9:13:27 AM UTC-5, Kodiak Firesmith wrote: > > Hello, > Our group is currently moving from RHEL5 and an in-house baseline > management system and yum repositories to RHEL6, Puppet , and RHN Satellite. > > With our old homebrew management framework we had a lot of flexibi

Re: [Puppet Users] Re: File resource without ensure

2013-04-15 Thread jcbollinger
On Sunday, April 14, 2013 10:55:07 AM UTC-5, Felix.Frank wrote: > > Hi, > > On 04/04/2013 05:08 PM, jcbollinger wrote: > > if I define a file resource without specifying an ensure parameter, > > it seems to behave like ensure => present was specified. > > > > > > > > Yes, that's th

Re: [Puppet Users] Re: File resource without ensure

2013-04-15 Thread jcbollinger
On Monday, April 15, 2013 9:40:36 AM UTC-5, jcbollinger wrote: > > Thus, use of either of those properties effectively implies something > similar to "ensure => 'file'". > > I'm not inclined at the moment to verify what happens if 'ensure' is unspecified and 'source' points to a directory. I a

[Puppet Users] Re: Module structure for case-specific configuration

2013-04-15 Thread jcbollinger
On Monday, April 15, 2013 5:02:06 AM UTC-5, Boyan Tabakov wrote: > > Hi all, > > Let's consider the following situation: > > I use the module structure, proposed by R.I.Pienaar: > > http://www.devco.net/archives/2012/12/13/simple-puppet-module-structure-redux.php > > > I have a module, let's

[Puppet Users] Re: example42 mcollective - setting version produces an error

2013-04-15 Thread Alessandro Franceschi
On Wednesday, April 10, 2013 5:27:20 PM UTC+2, Larry Fast wrote: > > When I define the mcollective_version variable using hiera I get the > following error. There is no indication where the problem has occurred. > > Error: Failed to apply catalog: You cannot specify more than one of > content,

[Puppet Users] Re: service "delete"

2013-04-15 Thread Kubes
Thanks! In short need to sort through what is thinks are dependencies. Rather remove then entier package, but until all that is sorted out Yeap that works and was the way I was going to go. Now I need to figure out a means to run only once. Thanks again. On Monday, April 15, 2013 8:5

[Puppet Users] Hiera misbehavior: Dynamic data source notation

2013-04-15 Thread Dan White
http://docs.puppetlabs.com/hiera/1/hierarchy.html#location-and-syntax Dynamic data source - It says I should use %{::variable} notation for the hierarchy in the hiera.yaml file. RHEL 5, Puppet 3.1.1, Hiera 1.2.0 /etc/puppet/hiera.yaml : --- :backends: - yaml :yaml: :datadir: '/etc/puppet/

[Puppet Users] Announce: Facter 1.7.0 Available

2013-04-15 Thread Matthaus Owens
Facter 1.7.0 is a feature release in the 1.x series with new features and bug fixes. For current documentation on Facter 1.7.0, please see: http://docs.puppetlabs.com/facter/1.7/ To see a list of the issues addressed by this release, check out the 1.7.0 version in our issue tracker at: https://pro

[Puppet Users] Fedora 16 leaving yum.puppetlabs.com

2013-04-15 Thread Matthaus Owens
Fedora 16 reached end of life on 2013-02-12 [1], so we are no longer building new packages for it and will remove it from our yum repository on Monday, May 6. [1] - https://lists.fedoraproject.org/pipermail/announce/2013-February/003144.html -- You received this message because you are subscrib

[Puppet Users] Ruby Error Encountered when Installing Dashboard for Puppet Open Source

2013-04-15 Thread Cary Czichon
I've installed Puppet and am installing Dashboard on CentOS 6. I'm running into an 'undefined method' when installing the dashboard. To install Puppet Open Source, I ran: > rpm -ivh http://yum.puppetlabs.com/el/6/products/i386/puppetlabs-release-6-6.noarch.rpm

[Puppet Users] Template with array and nested hash

2013-04-15 Thread Matthew Ceroni
I have the following http://pastebin.com/dphfbV7z As outlined in the above I want to turn the data structure I have into what is outlined in a template. Not sure how to go about accessing and looping over the multiple levels in the data structure. Thanks -- You received this message because