[Puppet Users] Simple config question

2010-06-04 Thread Dan
what's the 'best practice' way to centralize those? Do I really need to create a whole new class and assign that one config file to it for one host? Thanks! Dan -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post

[Puppet Users] puppet dns CNAME

2009-06-24 Thread Dan
s hard-coded and not configurable. I hold out a glimmer of hope that there is an alternative within puppet that will keep me from editing all the host files. For all the puppet developers out there, if this is still not configurable, it would be a nice-to-have. Than

[Puppet Users] Re: Error 400 on SERVER: private method `gsub' called for nil:NilClass

2010-02-11 Thread Dan
' where you would expect to see name=value parameters: /production/file_metadatas/modules/faban2/benchmarks? &&links=manage&recurse=true Is this perhaps the nil value that puppet complains it can't call gsub on? Dan On Feb 9, 6:44 am, eblack wrote: > Thanks for

[Puppet Users] Re: Error 400 on SERVER: private method `gsub' called for nil:NilClass

2010-02-12 Thread Dan
his type of thing in puppet again. Thanks so much! > > On Thu, Feb 11, 2010 at 10:13 PM, Dan wrote: > > I figured it out.  I hacked around and found that by adding params > > 'ignore' and 'recurselimit' the problem goes away. > > > For example: &g

[Puppet Users] Advanced templating for dummies

2010-02-19 Thread Dan
Forgive my ignorance, but puppet and ruby are both very new to me. I am trying to use puppet for (amongst other things) manage a custom backup script i use on all my machines. The script reads a configuration file that tells it where to backup from and to. Every machine is different, some only bac

[Puppet Users] Puppet not picking up files

2012-10-15 Thread Dan
source => "/etc/puppet/modules/ntp/files/${conf_file}", } } Furhter info from puppet server: puppet apply --configprint: /etc/puppet/modules:/usr/share/puppet/modules pluginsource = puppet://puppet/plugins pluginsync = false Can someone please help me please, as I'm

[Puppet Users] Re: Puppet not picking up files

2012-10-15 Thread Dan
You're a start. Many thanks for that. Much appreciated. Dan On Monday, October 15, 2012 9:58:14 PM UTC+1, Dan wrote: > > Hi > > I largely copied the example in > http://docs.puppetlabs.com/learning/modules1.html. But I'm getting an > error when running t

[Puppet Users] puppet module and no internet connection

2012-10-16 Thread Dan
: Error: Could not connect to http://forge.puppetlabs.com There was a network communications problem Check your network connection and try again The server doesn't have an internet connection so how do I install this? Thanks in advance for any help. Dan -- You received this message be

[Puppet Users] puppet fails to install packages

2008-10-13 Thread Dan
Hello all, After banging my head against my desk for a few hours, I'm posting here (after being told this isn't a bug). I'm trying to use puppet to install some packages on my fedora clients, som on my puppet master i created a class with the following contents: class fedora-ws { inclu

[Puppet Users] Re: puppet fails to install packages

2008-10-17 Thread Dan
Sorry, I replied the other day, guess I forgot to hit send (always helpful). Anyway, So yes restarting puppet solved the problem, however, I'm noticing 9 out of ever 10 changes require me to restart for them to take effect. Surely this cannot be expected behavior can it? It's working now, and re

[Puppet Users] Arrays in node definition

2013-02-14 Thread Dan
puppet client i keep getting the following: err: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not parse for environment production: Syntax error at '='; expected '}' at /etc/puppet/manifests/nodes/test.pp:3 on node test.myincorp.net Can someone pl

[Puppet Users] Arrays in node definition

2013-02-14 Thread Dan
en I run the puppet client i keep getting the following: err: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not parse for environment production: Syntax error at '='; expected '}' at /etc/puppet/manifests/nodes/ test.pp:3 on node test.myinco

[Puppet Users] Re: Arrays in node definition

2013-02-14 Thread Dan
On Thursday, February 14, 2013 3:12:59 PM UTC, llowder wrote: > > > > On Thursday, February 14, 2013 9:02:01 AM UTC-6, Dan wrote: >> >> Hi, >> >> I'm struggling to get this to work and don't understand where I'm going >> wrong, can som

[Puppet Users] Access puppet hash name in templates

2013-02-20 Thread Dan
variable called $int in my define class in the file for my module (/etc/puppet/modules/net/manifests/addr.pp), how can I access that using the scope.lookupvar function from this template in the same module? Thanks Dan -- You received this message because you are subscribed to the Google Groups

[Puppet Users] How to loop through entries in nodes definition for puppet

2013-03-19 Thread Dan
x0 = "24" ipaddress1 = "172.45.35.0" prefix1 = "16" ipaddress2 = "145.88.88.0" prefix2 = "24" How could I go about achieving this? thanks Dan -- You received this message because you are subscribed to the Google Groups "Puppet Users"

[Puppet Users] puppet and execution order

2013-03-22 Thread Dan
ifcfg-bond0 file changes, vlan2 interface goes up and down as expected, but it happens before bond0 goes up and down, hence I get the same affect of vlan2 being down. My question is how can I ensure that vlan2 only gets executed after bond0 exec? Thanks Dan -- You received this message bec

[Puppet Users] Converting to heira format issue

2013-10-02 Thread Dan
le: class profile::web { class { 'nsswitch': automount => 'files', hosts => ['files','dns'], } } class { 'sudo': } sudo::conf { 'web-users': sudo_config_dir => '/etc/sudoers.d/', source => &

Re: [Puppet Users] puppet-agent package on FreeBSD

2016-06-18 Thread Dan
On Sat, 18 Jun 2016, Gareth Rushgrove wrote: On 17 June 2016 at 23:42, Dan Mahoney wrote: All, Specifically it's an all-in-one package which includes Puppet as well as all it's dependencies (including Ruby, OpenSSL, etc.) and some additional Puppet-related tools. [snip] The

[Puppet Users] Puppet Strings Error

2015-09-27 Thread Dan
ror: Could not parse application options: cannot load such file -- puppet_x/puppetlabs/strings/yard/code_objects/puppet_namespace_object I'm running this on Windows 7 with Ruby 2.1 installed. Any ideas!? Thanks Dan -- You received this message because you are subscribed to the Google Groups

[Puppet Users] Re: Puppet Strings Error

2015-09-29 Thread Dan
Hi Ian, Ok no problem with the lack of love for Windows ;-) If you spot anything and want me to test please let me know. Thanks Dan On Monday, 28 September 2015 17:50:16 UTC+1, Ian Kronquist wrote: > > Hi Dan, > Thanks for testing out Strings on Windows! We really haven't

[Puppet Users] PuppetDB Service Won't Install/Start

2015-10-08 Thread Dan
=exited status=1 Oct 09 04:05:02 basecentos systemd[1]: Failed to start puppetdb Service. Oct 09 04:05:02 basecentos systemd[1]: Unit puppetdb.service entered failed state. I've been looking around and have no idea how how to get past this next bitany suggestions? Thanks Dan -- You rec

Re: [Puppet Users] PuppetDB Service Won't Install/Start

2015-10-09 Thread Dan
(jetty9_config.clj Thanks Dan On Friday, 9 October 2015 01:18:08 UTC+1, Wyatt Alt wrote: > > Hey Dan, > > I see the bottom of a java stacktrace in your log snippet there -- could > you get the full stacktrace from journalctl and stick it in a gist? > > Wyatt > -- You recei

Re: [Puppet Users] PuppetDB Service Won't Install/Start

2015-10-13 Thread Dan
Excellent thanks guys that got me going on the right path looking at the certs. I'm using puppet apply to build the initial puppet master so the agent won't have executed when it gets to installing puppetdb so I'll need to work around this somehow. Dan On Friday, 9 October 20

[Puppet Users] Scaling Puppet ?

2012-01-19 Thread Dan White
I have questions about Puppet's scalability. I am looking for info about how one might have multiple cooperating PuppetMasters on a network. I have found old links that talk about merging Puppet and Func, but they all seem out of date. My questions go more toward delegated puppet-mastering rath

Re: [Puppet Users] RFC: Deprecate defined() function for Telly.

2012-01-20 Thread Dan Bode
I wind up using defined more than I should probably admit. yes it is dangerous/confusing b/c of parse order dependencies, but it is also really useful for a few use cases * static resources in a defined resource type (avoids having to use classes to store all static dependencies) * the big reason

Re: [Puppet Users] RFC: Deprecate defined() function for Telly.

2012-01-20 Thread Dan Bode
resent } } ) { package { 'foo': ensure => present } } On Fri, Jan 20, 2012 at 1:00 AM, Dan Bode wrote: > I wind up using defined more than I should probably admit. yes it is > dangerous/confusing b/c of parse order dependencies, but it is also really > useful for a f

Re: [Puppet Users] any cobbler management modules out there?

2012-01-20 Thread Dan White
I am running Cobbler and Puppet together and I am not sure that a Puppet Module is appropriate for more than just the base settings. Cobbler manages all its internal info. To get Puppet to manage it would, IMO, either involve hacking Cobbler or wrapping Cobbler command line calls in Puppet "ex

Re: [Puppet Users] Scaling Puppet ?

2012-01-20 Thread Dan White
x27;s. That keeps everything in the revision control system. Thank you for sharing that. "He who receives an idea from me, receives instruction himself without lessening mine; as he who lights his taper at mine, receives light without darkening me.” Thomas Jefferson - Luke Bigum wrote

Re: [Puppet Users] any cobbler management modules out there?

2012-01-20 Thread Dan White
You are correct. I do not want to hear about another tool. I am currently working in a pro-Microsoft-anti-Anything-Else environment that still uses a boatload of Linux servers to do all the "Ditch Digging". I have had a tough time convincing them to use this. I have looked at Foreman. My fir

[Puppet Users] I just discovered I cannot resource-purge yumrepos -- Is there another way ?

2012-01-23 Thread Dan White
I added a bunch of yumrepo resources to my node definitions and thought I'd finish it with a resources { 'yumrepo': purge => true, } But when I tried to run it, I get this: err: Failed to apply catalog: Parameter purge failed: Purging is only supported on types that accept 'ensure' at /etc/pu

[Puppet Users] Another Discovered/Undocumented feature of yumrepo - and a workaround

2012-01-23 Thread Dan White
I was working with yumrepo, defining new entried and seeing them appear in /etc/yum.repos.d After considerable tinkering, and with the sad discovery that resource { 'yumrepo': purge => true } does not work, I moved my working /etc/yum.repos.d to /etc/yum.repos.d-old and re-ran my catalog. To

Re: [Puppet Users] Another Discovered/Undocumented feature of yumrepo - and a workaround

2012-01-23 Thread Dan White
ory of resources, would you find it easier to declare the > /etc/yum.repos.d directory with purge => true, and then declare your repos > as file declarations? An exec of 'yum -makecache' set to refreshonly => > true could be notified by each file resource. > > Does

Re: [Puppet Users] Another Discovered/Undocumented feature of yumrepo - and a workaround

2012-01-23 Thread Dan White
- R.I.Pienaar wrote: > - Original Message - > > Hey there, > > > > If you're going through all that, and are trying to get a purge-able > > directory of resources, would you find it easier to declare the > > /etc/yum.repos.d directory with purge => true, and then declare your > > repo

Re: [Puppet Users] I just discovered I cannot resource-purge yumrepos -- Is there another way ?

2012-01-23 Thread Dan White
universe is that none of it has tried to contact us.” Bill Waterson (Calvin & Hobbes) - Stefan Schulte wrote: > On Mon, Jan 23, 2012 at 03:09:49PM +0000, Dan White wrote: > > I added a bunch of yumrepo resources to my node definitions and thought I'd > > finish it wi

Re: [Puppet Users] I just discovered I cannot resource-purge yumrepos -- Is there another way ?

2012-01-24 Thread Dan White
Thank you. Simple enough to ignore the hack-ish nature :) Looks like it will do the job All it needs are a few yum commands to run whenever the file changes to refresh the local databse. I will tinker with that and report back to the list. Pay It Forward ! Share & Enjoy ! “Sometimes I think t

[Puppet Users] A Related Question - (Was: Template Help Please)

2012-01-24 Thread Dan White
What is the minimum version of puppet (and other bits) that this technique will work on ? I am still on 2.6 (latest in EPEL) and I have the impression that this is 2.7+ stuff. “Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried

Re: [Puppet Users] Cross-module (package) dependencies

2012-01-25 Thread Dan Bode
On Tue, Jan 24, 2012 at 1:28 AM, Felix Frank < felix.fr...@alumni.tu-berlin.de> wrote: > Hi, > > there was a discussion in the "can we deprecate defined() in Telly" > thread about how we can even begin to design Forge modules without it. > > A recurring problem is that multiple modules rely on cer

[Puppet Users] I think I have a stray directory on my PuppetMaster

2012-01-25 Thread Dan White
Can anyone offer a reason for having a folder with a path of /etc/puppet/modules/manifest ? I think I got overzealous making /etc/puppet/modules//manifest directories, but I am still new enough to Puppet to be unsure -- and I am smart enough NOT to just delete it without checking with a referen

Re: [Puppet Users] I think I have a stray directory on my PuppetMaster

2012-01-25 Thread Dan White
ething. The best bet is probably to > (temporarily) move it out of the way and see if things start complaining > (puppet agent --test) or break. > > > On Wed, Jan 25, 2012 at 9:48 AM, Dan White wrote: > > > Can anyone offer a reason for having a folder with a path of >

Re: [Puppet Users] A Related Question - (Was: Template Help Please)

2012-01-26 Thread Dan White
2:20 PM, Dick Davies wrote: > > That kind of thing should work (been using similar tricks since 0.25.x); > > I think Dan was addressing this: > > > scope.lookupvar('resolver::params::resolvers') > > I'm not sure when this was new, I believe it works with 2

Re: [Puppet Users] Managing SSH host private keys

2012-01-26 Thread Dan White
I am relatively new to both Puppet and ssh-keys, but is it possible for the PuppetMaster to generate all the keys rather that each client creating their own ? “Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us.” Bi

Re: [Puppet Users] How do *you* handle yumrepo dependency chains?

2012-01-26 Thread Dan White
Cobbler “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) - jimbob palmer wrote: > Say you have a RHEL6 environment. You have some packages you want > installed, these rely

Re: [Puppet Users] Configuring Puppet from Master to Agent

2012-01-26 Thread Dan White
http://serverfault.com/questions/137292/how-can-i-pre-sign-puppet-certificates “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) - Gilles wrote: > > Hi, > > We have a speci

[Puppet Users] Puppetdoc is not playing nice

2012-01-31 Thread Dan White
Puppet 2.6.12 on Red Hat 5.7 Some background is necessary to set up the question: I have a class - toggledservices - where I have grouped service control. class toggledservices::disabled covers all the stuff I want turned off by default (for hardening requirements) and individual services I want

Re: [Puppet Users] puppet questions

2012-02-01 Thread Dan White
On Feb 1, 2012, at 8:06 PM, Nan Liu wrote: > On Wed, Feb 1, 2012 at 4:40 PM, Dustin Little wrote: >> Hoping to get some insight from the community. Can puppet/mcollective/ >> facter collect/store facts about hosts that are not actually running >> puppet? I see that custom facts can be gathered v

Re: [Puppet Users] Re: Include the class of modules in master manifest

2012-02-03 Thread Dan White
How, please ? “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) - sateesh wrote: > Got it. Solved the problem. > > On Feb 3, 1:19 pm, sateesh wrote: > > Hi, > > > > How to

[Puppet Users] Austin Puppet User's meetup

2012-02-07 Thread Dan Bode
Hi Austin Puppet Users, I will be in the area in a few weeks and I would like to try to get some of the local users together to talk Puppet and have a few beers. Curious about how much interest there would be for an event on the 23rd of February (location tbd). regards, Dan Bode -- You

Re: [Puppet Users] Newbie: Confused about where to start managing users...

2012-02-08 Thread Dan White
First trick with users across multiple machines is to have the same userid for the same login. “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) - Peter Valdemar Mørch wrote

Re: [Puppet Users] define hostclass with special characters

2012-02-08 Thread Dan White
http://projects.puppetlabs.com/issues/5268 FYI: According to this bug-report, Ruby does not allow a dash in a class name, so neither does Puppet Try underscore instead: proxy_ring “Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has t

Re: [Puppet Users] Newbie: Confused about where to start managing users...

2012-02-08 Thread Dan White
bbes) - Peter Valdemar Mørch wrote: > On Wed, Feb 8, 2012 at 3:12 PM, Dan White wrote: > > First trick with users across multiple machines is to have the same userid > > for the same login. > > I'm not sure I understand. I read this as a suggestion to make it > impossible

Re: [Puppet Users] Newbie: Confused about where to start managing users...

2012-02-08 Thread Dan White
. “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) - Peter Valdemar Mørch wrote: > On Wed, Feb 8, 2012 at 3:12 PM, Dan White wrote: > > First trick with users ac

Re: [Puppet Users] Creating user with random password (only once)

2012-02-08 Thread Dan White
In one user management setup, I use htpasswd to create a random password just to secure the account. Like this: htpasswd -nmb whoever `mkpasswd` | cut -d: -f2 | passwd --stdin Then, with over-the-shoulder admin access, the user can set their own password. “Sometimes I think the surest sign th

[Puppet Users] Running Puppet(Master) on port 443

2012-02-08 Thread Dan White
On Feb 1, 2012, at 8:06 PM, Nan Liu wrote: > Puppet uses REST, so you can run puppet master on 443 to work around > firewalls. I would like to get a bit more information on this. Is it as simple as setting all the ports in puppet.conf to 443 on master and agent ? “Sometimes I think the surest

Re: [Puppet Users] Running Puppet(Master) on port 443

2012-02-08 Thread Dan White
On Feb 8, 2012, at 4:50 PM, Michael Stahnke wrote: > On Wed, Feb 8, 2012 at 1:37 PM, Dan White wrote: >> On Feb 1, 2012, at 8:06 PM, Nan Liu wrote: >>> Puppet uses REST, so you can run puppet master on 443 to work around >>> firewalls. >> >> I would lik

Re: [Puppet Users] Cache for the local system while offline

2012-02-09 Thread Dan White
It sounds like you are describing a machine that can flip between running puppet masterless and running it with an available puppetmaster. Is that an accurate observation ? “Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to

Re: [Puppet Users] Time interval within execution of scripts from the server

2012-02-09 Thread Dan White
Have you considered "cron" ? “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) - mukulm wrote: > > Hi, > > I have multiple script to be copied & executed from the puppet se

Re: [Puppet Users] Time interval within execution of scripts from the server

2012-02-12 Thread Dan White
in above 2000 clients/nodes so I dont want to > execute the scripts on multiple nodes at the same time. > > Thanks > mukulm > On Feb 11, 2012, at 11:10 AM, Dan White wrote: > I do not use Puppet in that large an environment, so I would only be guessing > at solutions. >

Re: [Puppet Users] Austin Puppet User's meetup

2012-02-14 Thread Dan Bode
r or two interested as well. > > Thanks! > > - Jeff > > > On 02/07/2012 09:04 PM, Dan Bode wrote: > >> Hi Austin Puppet Users, >> >> I will be in the area in a few weeks and I would like to try to get some >> of the local users together to talk P

Re: [Puppet Users] Re: Can't sign certificate

2012-02-15 Thread Dan White
Make sure the clocks are in sync “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) - Kkweit wrote: > Not in my case. I do have the puppetmaster service started. > > > On Fe

Re: [Puppet Users] Issues with Puppet 2.7.10: recommendation to stop using it

2012-02-19 Thread Dan White
+1 on that Remove the troublesome version to prevent more folks from using it and having problems. On Feb 19, 2012, at 6:48 PM, Walter Heck wrote: > Already reverted back to 2.7.9 indeed, but thanks for publically > acknowledging it. Honesty matters in such cases so people can stop > wasting tim

Re: [Puppet Users] Austin Puppet User's meetup

2012-02-19 Thread Dan Bode
plans for tighter integration between Puppet and OpenStack. Please RSVP at the following link if you plan to attend http://pug-austin-feb-2012.eventbrite.com/ I look forward to seeing everything there -Dan On Tue, Feb 14, 2012 at 8:08 PM, Dan Bode wrote: > Just a quick update. I am currently

Re: [Puppet Users] Handling unique cases

2012-02-22 Thread Dan White
As I understand the proper use of "environments", you would have a separate definition of the class for QA. >From puppet,conf: [main] certname = 'puppetmaster.example.com' # The Puppet log directory. logdir = /var/log/puppet # Where Puppet PID files are kept. rundir =

[Puppet Users] Puppet on RedHat - Manage Kernel Modules ?

2012-02-24 Thread Dan White
Can puppet manage kernel customization on RedHat ? I have some third-party gahrbaj that needs its own kernel level driver to work. And, or course, every time the kerner version bumps up, it breaks until you rebuild the custom stuff into the new kernel. “Sometimes I think the surest sign that int

[Puppet Users] puppet kick failing

2012-02-24 Thread Dan Urist
car.edu' did > not match server certificate; expected ca > vanilla.cms.ucar.edu finished with exit code 2 > Failed: vanilla.cms.ucar.edu I've tried using --vardir and --ssldir flags, as suggested by http://projects.puppetlabs.com/issues/11431, but get the same result. Has an

Re: [Puppet Users] puppet kick failing

2012-02-24 Thread Dan Urist
rt for my test client, but I get the same result-- I can run the agent successfully from the client, but puppet kick fails with the same error. > On Fri, Feb 24, 2012 at 12:30 PM, Dan Urist wrote: > > puppet kick ceased working for me when I upgraded to 2.6.3; I've > > also

Re: [Puppet Users] puppet kick failing

2012-02-24 Thread Dan Urist
ent on the client and now puppet kick is working. The errors were a bit cryptic, though... On Fri, 24 Feb 2012 11:29:17 -0700 Dan Urist wrote: > On Fri, 24 Feb 2012 12:39:20 -0500 > Adam Heinz wrote: > > > I upgraded from puppet 0.25.5 to 2.6.12 recently and ended up doing > &g

Re: [Puppet Users] Unable to generate the puppet documentation

2012-02-29 Thread Dan White
Here's the command I use: puppetdoc --outputdir //htdocs/puppetmaster \ --mode rdoc --manifestdir /etc/puppet/manifests \ --modulepath /etc/puppet/modules I hope this helps. “Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tri

Re: [Puppet Users] Applying specific file within list of files in a class

2012-03-06 Thread Dan White
http://docs.puppetlabs.com/references/stable/type.html#file source If you specify multiple file sources for a file, then the first source that exists will be used. This allows you to specify what amount to search paths for files: file { "/path/to/my/file": source => [

Re: [Puppet Users] Re: Need modules for cron

2012-03-08 Thread Dan White
Would it be overkill to be worried about launching the puppet agent before the last run has finished ? If so, I would use a bash script that generates a pid-file like this: http://www.xarg.org/2009/10/write-a-pid-file-in-bash/ That way, if the previous run is still running, you can skip doing it

Re: [Puppet Users] Re: Puppet and the security on nodes, configurations, etc.

2012-03-08 Thread Dan White
I believe this can work with a team. The team should construct the master manifest/catalog to fit their requirements. Use techniques that separate the node-specifics from the general catalog -- like parameterized classes and such. This master catalog is then locked down and jealously guarded and

Re: [Puppet Users] Re: Check package version in order to proceed with installation (err: Could not update: is already installed)

2012-03-09 Thread Dan White
What does the command: puppet resource package tell you about what packages are/are-not installed ? “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) - jcbollinger wrote: >

[Puppet Users] Sanity Check Request: Trying something Out-Of-The-Box - MasterLess Puppet

2012-03-12 Thread Dan White
On my puppetmaster: cd /etc/puppet tar zcvf ../pmaster.tar.gz * copy pmaster.tar.gz to another machine that is defined in the manifest/catalog On different machine: mkdir -p /usr/local/localPuppet mv pmaster.tar.gz /usr/local/localPuppet/ cd /usr/local/localPuppet tar zxvf pmaster.tar.gz puppe

Re: [Puppet Users] Puppet on OpenSuSE & SLES

2012-03-13 Thread Dan White
You mean like 2.7.12 that was just announced ? http://www.mail-archive.com/puppet-users@googlegroups.com/msg29190.html :) - Julien C. wrote: > By the way, I just noticed the version in your repo is 2.7.10, which > shouldn't be used according to puppetlabs. > Any chance you can make the tim

Re: [Puppet Users] node inheritance

2012-03-15 Thread Dan White
More details would help. This is not enough information to debug. “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) - FirstName LastName wrote: > Hi > > I have a very simple

Re: [Puppet Users] is there a way to make the puppetlabs/firewall module implement the iptables -P flag?

2012-03-16 Thread Dan Carley
On 15 March 2012 22:39, Chris O'Donnell wrote: > With our current iptables rules, we implement the following in a script: > > iptables -P INPUT DROP > iptables -P FORWARD DROP > iptables -P OUTPUT ACCEPT > > Then the script continues on and does the rest of the rules. some custom > policies, etc.

Re: [Puppet Users] Developing new modules using Puppet Sandbox

2012-03-21 Thread Dan Bode
on a related note. I am a little over a week into starting to write a tool to streamline my module development efforts. It is intended to model multi-node deployments and to support running integration tests. It is all ec2 based (I had to abandon my vagrant + rake workflow b/c it just did not sca

Re: [Puppet Users] i can't use yum to install any package!!!

2012-03-22 Thread Dan White
What version of yum ? - 妖狐 wrote: > Hi:all > when i run this command > puppet agent --no-daemonize --debug > > I get "wrong number of arguments" all over the place: > > facter-1.6.5 > ruby-1.8.7 > puppet-2.7.9 > cat /etc/issue > Red Hat Enterprise Linux Server release 5.4 (Tikanga) “Some

Re: [Puppet Users] Including bar::something sometimes gives me foo::bar::something

2012-03-22 Thread Dan White
Something about this just does not feel right. You can re-use a name -- as in foo::params and bar::params, but I think you would have the same problem if you tried to declare a base-class "params" I cannot find any reference about the :: class naming/syntax. “Sometimes I think the surest sign

Re: [Puppet Users] stdlib module not working

2012-03-29 Thread Dan White
Why not use host instead of file_line ? http://docs.puppetlabs.com/references/latest/type.html#host host { 'puppet master host entry': ip => '172.16.240.200', name => 'master.dev.puppetlabs.com', host_aliases => ['master'], } On Mar 29, 2012, at 11:08 AM, Stefan Wiederoder wrote: >

Re: [Puppet Users] Puppet Beginners: New list suggestion?

2012-04-03 Thread Dan White
For searching older info, try http://www.mail-archive.com/puppet-users@googlegroups.com/ But I concur -1 for separation “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) -

Re: [Puppet Users] How to execute a script from the server

2012-04-03 Thread Dan White
But that is how it works. file{ "/etc/puppet/scripts": ensure => directory, owner => "root", group => "root", mode => 70oo; "/etc/puppet/scripts/checkUsers.bash": owner => "root", group => "root", mode => 700, source

[Puppet Users] openstack-puppet mailing list

2012-04-04 Thread Dan Bode
code as it progresses and I didn't want to flood the puppet users group with openstack specific messages. - Dan -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To u

Re: [Puppet Users] Re: Getting started

2012-04-06 Thread Dan White
http://info.puppetlabs.com/download-pdfs.html “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) - jcbollinger wrote: > > > On Apr 5, 4:14 pm, Jo Rhett wrote: > > [...] But

RE: [Puppet Users] Getting started

2012-04-09 Thread Dan White
http://yum.puppetlabs.com/ “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) - Rodrick Brown wrote: > I'm running 64Bit CentOS 6.2 I'm using the Puppet software from scratch

Re: [Puppet Users] Creating classes for individual nodes

2012-04-11 Thread Dan White
My only objection is that mixes up the configuration data with the Puppet code, making things less modular/portable. I have set up a collection of parameterized classes such that all the server-unique info is in /etc/puppet/manifests/nodes/ in various -node.pp files. I hope to transition to hi

[Puppet Users] Re: [Puppet-dev] Taking github noise away from puppet-dev list

2012-04-11 Thread Dan Bode
+1 On Mon, Apr 9, 2012 at 2:09 PM, Michael Stahnke wrote: > Since our move to github for pull requests and patches, the usefulness > of puppet-dev has declined significantly. puppet-dev used to be a > great list for development discussion of puppet and the ecosystem > around it. With the informa

Re: [Puppet Users] Puppet and SCAP

2012-04-12 Thread Dan White
Have you seen SecState ? https://fedorahosted.org/secstate/ “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) - Kiki wrote: > Hi > > Does Puppet support SCAP? If yes, how d

Re: [Puppet Users] Supported Ruby Versions for Telly

2012-04-14 Thread Dan White
Great to hear this, but I am now looking for a reliable way to get Ruby 1.8.7 or 1.9.3 onto a RHEL-5 system. The environment I am working still has RHEL 3 and 4 machines running, and I would not hold my breath waiting for transition to RHEL 6 (which does have ruby 1.8.7 in it) One more thing:

Re: [Puppet Users] Supported Ruby Versions for Telly

2012-04-15 Thread Dan White
ml > > Craig On Apr 15, 2012, at 12:55 AM, Gary Larizza wrote: > Have you checked out the packages that Karanbir Singh has created? They work > fairly well --> http://centos.karan.org/el5/ruby187/ > > > On Sat, Apr 14, 2012 at 8:53 PM, Dan White wrote: > Great to he

[Puppet Users] Trying to build Ruby 1.8.7 on a RHEL5 systems

2012-04-16 Thread Dan White
Old thread reference: http://www.mail-archive.com/puppet-users@googlegroups.com/msg27199.html I am trying to build Ruby 1.8.7 on a RHEL 5 system following the instructions in that thread and I have a few questions as I am a n00b to RPM building: On Jan 4, 2012, at 8:04 PM, Jo Rhett wrote: > wget

Re: [Puppet Users] Puppet agent hostname/domain change

2012-04-18 Thread Dan White
Been there, done that, got a link for you: http://infrastructure.fedoraproject.org/infra/docs/infra-hostrename.txt Basically, clean out the certificate info on the client/agent, clear the old info from the master, and then re-certify the agent/client with the new info. “Sometimes I think the s

Re: [Puppet Users] Trying to build Ruby 1.8.7 on a RHEL5 systems

2012-04-18 Thread Dan White
On Apr 18, 2012, at 6:08 PM, Jo Rhett wrote: > On Apr 16, 2012, at 6:51 PM, Dan White wrote: >> I got a bunch of error complaining about "rpaths", and in the output was a >> suggestion to prepend an environment setting to the command -- like this: >> >>

Re: [Puppet Users] Trying to build Ruby 1.8.7 on a RHEL5 systems

2012-04-19 Thread Dan White
- Jo Rhett wrote: > For ruby, go to ruby.org and find the latest patchlevel for 1.8.7 and put > that number at the top of the spec file. > FYI: ruby.org is a parked domain. “Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tri

Re: [Puppet Users] Re: Generating dhcp/pxe configuration from puppet

2012-04-20 Thread Dan White
Cobbler ? https://github.com/cobbler/cobbler/wiki It does DHCP and PXE and plugs into Puppet very nicely. “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) - Christian Reque

Re: [Puppet Users] File Loop, Possible??

2012-04-25 Thread Dan Bode
you could do something like this: define loopydir() { file { "$module::params::base_dir/${name}": ensure => "directory" owner => "root", group => "root", } } include module::params file { "$module::params::base_dir" : ensure => "directory" owner => "root" group => "ro

Re: [Puppet Users] Using fact to determine node environment

2012-05-02 Thread Dan Carley
On 2 May 2012 12:19, R.I.Pienaar wrote: > > your only option at present is to write out puppet.conf using a template > with your fact We use this approach. The very first run gets called with "--environment foo" and it sticks. "--environment" can then be called again if it needs to move to anoth

Re: [Puppet Users] Re: how to exclude modules from inherited list

2012-05-02 Thread Dan White
- Munna S <19.mu...@gmail.com> wrote: > Team, > > Any help? > > Thanks, > Jeeva > > On Wed, May 2, 2012 at 9:24 AM, Munna S <19.mu...@gmail.com> wrote: > > > Team, > > > > Is there any way where we can exclude certain module from the inherited > > list > > > > Thanks, > > Munna > > http:/

Re: [Puppet Users] Re: Check if class has been included?

2012-05-03 Thread Dan Carley
On 3 May 2012 23:32, jcbollinger wrote: > > Hmm. I guess I misunderstood your objective. It is still true that > 'defined' is not a good approach, however, and also that > os::motd::register is a bit rude to not take care of declaring its > dependencies itself. > > It might work to declare all y

Re: [Puppet Users] Thoughts on preseed vs config files?

2012-05-04 Thread Dan Carley
On 2 May 2012 19:42, Brian Gupta wrote: > So having an internal debate on whether to use puppet managed debian > preseed files to configure packages prior to installation or > installing with no-config and using puppet to manage the config files > after the fact. > > The end of the discussion is

Re: [Puppet Users] Re: Can you check a setting set in puppet.conf from within a module

2012-05-04 Thread Dan Carley
On 25 April 2012 08:30, Peter wrote: > Hi Gary, > > Thank you very much! I thought it may have been a scoping issue! > > Peter. > > On Apr 25, 8:56 am, Gary Larizza wrote: > > Hey Peter, > > > > You should be able to do $settings::storeconfigs to get that value. > Speaking of scope, you probab

  1   2   3   4   5   6   7   8   9   10   >