Re: [Puppet Users] file_line assistance

2013-07-31 Thread Martin Alfke
Hi, do you have pluginsync enabled? During the first puppet agent run (after you have added std lib module) you will see many files synced to the agent. hth, Martin On Jul 30, 2013, at 11:24 PM, Tom Hanstra wrote: > I'm running puppet 3.2.3 with the current (4.1.0) stdlib set from puppetla

[Puppet Users] Re: file_line assistance

2013-07-31 Thread ollies...@googlemail.com
On Tuesday, July 30, 2013 10:24:41 PM UTC+1, Tom Hanstra wrote: > > I'm running puppet 3.2.3 with the current (4.1.0) stdlib set from > puppetlabs. > > I'm attempting to use file_line to add a line to a file. I've dumbed this > down to basically the test script: > > class hs_puptest1 { > >

[Puppet Users] Re: file_line assistance

2013-07-31 Thread Tom Hanstra
No, I don't have pluginsync enabled, but when I attempt to do so I get this error: Info: Retrieving plugin Error: Could not retrieve plugin: Parameter source failed on File[/var/lib/puppet/lib]: Could not understand source puppet://lib_puppet2.library.nd.edu/plugins: the scheme puppet does not

Re: [Puppet Users] Re: file_line assistance

2013-07-31 Thread Martin Alfke
http://projects.puppetlabs.com/issues/3504 factsync doesn't work when puppetmaster has _ in hostname Updated by Patrick Carlisle over 1 year ago • Status changed from Needs More Information to Closed This is an error raised by ruby’s URI library. Unfortunately the error is not more speci

[Puppet Users] Re: Puppet, Yum, Cassandra, openjdk and --nodeps

2013-07-31 Thread jcbollinger
On Tuesday, July 30, 2013 12:56:56 PM UTC-5, Paul Pham wrote: > > Appreciate the input guys. You're right about the --nodeps flag being an > RPM thing, I was hoping there might be something similar I could leverage > from the yum provider, but it looks like the yum provider does not > currentl

[Puppet Users] Re: Augeas, fstab and duplicate lines: How to test ? (onlyif ? not_include ?) ... Examples ?

2013-07-31 Thread jcbollinger
On Monday, July 29, 2013 4:26:59 PM UTC-5, haral...@gmail.com wrote: > > Hi, > > I am trying to define a new type that will insert a new filesystem line > into /etc/fstab. > This is a large part of what the built-in Mount type is for. Do you need something it does not provide? > > Howeve

Re: [Puppet Users] updating puppet with puppet on windows node (msi)

2013-07-31 Thread Rob Reynolds
The windows package provider doesn't have this information. You could alternatively try the chocolatey package provider. It's available on the forge: http://forge.puppetlabs.com/rismoney/chocolatey -- Rob Reynolds Developer, Puppet Labs *Join us at PuppetConf 2013, August 22-23 in San Francisco -

[Puppet Users] Node Classifications

2013-07-31 Thread Worker Bee
Hi Everyone, I am struggling a bit with the order of precedence of node classifications. When using .pp files to classify nodes, what happens if a node corresponds to two different manifests. For example, if I have .pp files that select nodes based on hostnames and I have another .pp file that s

[Puppet Users] Version number and full name of the installed modules on a node

2013-07-31 Thread David Gillet
Hi @all, as the name of the topic describes already i am looking for a way to get some more information about the installed modules on a node. I know i can get the installed classes/modules on a node via mcollective inventory HOSTNAME. But actually the version of the module is not included neit

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

2013-07-31 Thread pro cabales
Maybe you figured it out already... and yes, it has something to do with the gem version :) This is the fix for me: $ rake RAILS_ENV=production db:migrate rake aborted! undefined method `source_index' for Gem:Module(See full trace by running task with --trace)$ gem -v 2.0.3$ gem update --system

Re: [Puppet Users] Puppet Support for Windows

2013-07-31 Thread chayim
Hi Josh, On Sun, Jul 28, 2013 at 1:03 PM, > wrote: > >> > > I don't have a time estimate, other than to say that we are working on a > set of improvements to file system management, including NTFS ACLs, > symlinks, and some bug fixes, and it's one of our top priorities, along > with powershell

[Puppet Users] Windows puppet service

2013-07-31 Thread Eugene Vilensky
Hello, Even with the service set to stopped, I have a windows puppet agent that seems to be applying its catalog trying to install puppet-3.2.3.msi over and over every minute. There are ruby processes in tasklist, and killing them helps, but the problem persists if the service restarts. Where mi

[Puppet Users] excessive hiera logging

2013-07-31 Thread Bill Sirinek
(puppet 3.1.1, hiera 1.2.1, redhat 6.x) My puppetmaster is filling up it's logs filesystem every other day because of hiera debug logging that I cannot seem to get rid of. I have a pretty large hierarchy (18 levels) and about 30 modules that I deploy out to 1900 servers. Every time I have an agen

[Puppet Users] Re: file_line assistance

2013-07-31 Thread Tom Hanstra
Well, the hostname was the problem. That never tripped me up before, but I'll keep it in mind for future reference! Thanks, Tom On Tuesday, July 30, 2013 5:24:41 PM UTC-4, Tom Hanstra wrote: > > I'm running puppet 3.2.3 with the current (4.1.0) stdlib set from > puppetlabs. > > I'm attempting

[Puppet Users] Re: Node Classifications

2013-07-31 Thread Ellison Marks
http://docs.puppetlabs.com/puppet/3/reference/lang_node_definitions.html According to that, default only applies if nothing else matches. For your other question, how are you doing multiple manifests? With imports? On Wednesday, July 31, 2013 9:53:13 AM UTC-7, Worker Bee wrote: > > Hi Everyone,

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

2013-07-31 Thread Matthaus Owens
Fedora 17 reached end of life on 2013-07-30 [1], so we are no longer building new packages for it and will remove it from our yum repository on Monday, October 28. [1] - https://lists.fedoraproject.org/pipermail/announce/2013-July/003169.html -- Matthaus Owens Release Manager, Puppet Labs Join

Re: [Puppet Users] Version number and full name of the installed modules on a node

2013-07-31 Thread Ryan Coleman
Hi Dave, You may try `puppet module list` which provides information like this: [root@dhcp100 ~]# puppet module list /etc/puppetlabs/puppet/modules ├── adrien-filemapper (v1.1.2) ├── garethr-cube (v0.1.0) ├── nanliu-staging (v0.3.1) ├── puppetlabs-mongodb (v0.1.0) ├── puppetlabs-nodejs (v0.2.1) ├

[Puppet Users] Re: Augeas, fstab and duplicate lines: How to test ? (onlyif ? not_include ?) ... Examples ?

2013-07-31 Thread haraldchris
Many thanks to all for your replies. Yeah, I finally got it. Something like: onlyif => "match */spec[ . = '$fs_spec' ] size == 0" for fstab entries and onlyif => "match */spec[ . = '$fs_spec' ]/../opt[ . = '$fs_opt'] size == 0" for handling options Cheers. -- You received this message becaus

Re: [Puppet Users] Re: Augeas, fstab and duplicate lines: How to test ? (onlyif ? not_include ?) ... Examples ?

2013-07-31 Thread Ryan Coleman
On Wed, Jul 31, 2013 at 4:57 PM, wrote: > Many thanks to all for your replies. > > Yeah, I finally got it. > It looks like I'm too late to really help, but I wanted to offer an alternative. domcleal/augeasproviders on the Forge offers a new provider to the built-in mounttab type that relies on

[Puppet Users] Re: Augeas, fstab and duplicate lines: How to test ? (onlyif ? not_include ?) ... Examples ?

2013-07-31 Thread haraldchris
On Wednesday, July 31, 2013 11:58:47 PM UTC+10, jcbollinger wrote: > This is a large part of what the built-in Mount type is for. Do you need > something it does not provide? > > AFAIK Mount does not provide support for encrypted filesystems (/etc/crypttab) There are some good basic reasons

[Puppet Users] evaluating vCloud and OpenStack (and ?), was wondering about experiences / stability, etc.

2013-07-31 Thread ndunn
We are looking at vCloud and OpenStack for our University Cloud offering (research and education). I'm curious what anyone's experiences have been. We have an OpenStack ("Essex") installation now, but we are looking to upgrade to Grizzly or move to vCloud. Other than that cloud instance,

[Puppet Users] Getting the following error with repo key authentication on puppet client

2013-07-31 Thread chittaranjan reddy
I am getting the following error while running "puppet agent -t" on client side..how do I enable repository keys on puppet master to get rid off this error. info: Applying configuration version '1375302925' err: /Stage[main]/Nrpe/Package[nagios-plugins-basic]/ensure: change from purged to prese

[Puppet Users] Re: puppet environments not working

2013-07-31 Thread me 1
Does anyone know how I can troubleshoot this? surely someone's seen this before? On Monday, July 29, 2013 3:34:39 PM UTC-4, me 1 wrote: > > I have a surprising problem with environments not working, i'm using rhel > 6.3 with puppet-3.2.3-1.el6.noarch and here is the puppet.conf on the > mas

Re: [Puppet Users] Re: Installing Puppet on Windows: Error 1053

2013-07-31 Thread Josh Cooper
Hi Ivan, On Mon, Jul 22, 2013 at 1:05 AM, Иван Кадочников wrote: > Thanks for the information, I somehow managed to not notice your response > for several days. > > > On Wednesday, July 17, 2013 6:52:43 PM UTC+2, Josh Cooper wrote: >> >> >> >> On Wednesday, July 17, 2013 9:27:05 AM UTC-7, Иван К

Re: [Puppet Users] Puppet Support for Windows

2013-07-31 Thread Josh Cooper
On Wed, Jul 31, 2013 at 6:22 AM, wrote: > Hi Josh, > > On Sun, Jul 28, 2013 at 1:03 PM, wrote: >> >>> >> >> I don't have a time estimate, other than to say that we are working on a >> set of improvements to file system management, including NTFS ACLs, >> symlinks, and some bug fixes, and it's o