search for: hisey

Displaying 18 results from an estimated 18 matches for "hisey".

Did you mean: heisey
2008 Apr 24
4
If/else issues.
Can some one point out to me what I am missing? I suspect I have messed up the if/else some how. I am getting a '' Syntax error at ''{''; expected ''}'' at /srv/puppet/production/manifests/modules/apache/init.pp: 19''. According to the Language tutorial this should be correct. I am testing for an existence of a variable. If it exists chagne the
2008 Mar 31
3
Annoying problem with file
Can some point out what is wrong here? I get the follwing error with code structure in puppet. err: Could not create /root.ssh/id_dsa: You cannot specify more than one of content, source, target at /manifests/classes/set-root.pp # # set root files # class common-root { file { "/root/.ssh/id_dsa": mode => 600, owner
2008 Nov 13
4
Moving a file with Puppet
I wanted to move a file from one directory to another because my co- worker didn''t like where it was being put by puppet. I went into puppet and changed the name parameter of the the file directive. I then created a new file directive to delete the old file, but I was wondering if there was a better way to do this. So, just to clarify, I went from: file {"myfile": name
2009 Jan 27
6
Stoking a Religious War: Why Did You Go With Puppet Over Other Options?
Hi, Gang.. The Subject: line says it all. My organisation is looking at selecting a configuration management system. Any comments about why you chose Puppet over other options would be very helpful to us. Cheers, Tomcat --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this
2008 May 12
8
Complex data structures in templates
Hi. I wonder if it is possible to use more complex data structures in templates than simple variables and arrays? I have been trying nested arrays, as well as nested arrays and hashes, but nothing seems to work (more specifically, nested arrays seem to be flattened into a single array). Having only simple variables and arrays is a little limiting. Something like the Perl-based Template Toolkit
2008 Apr 02
18
Setting up PuppetShow - Puppet's Web Interface
Hello puppeters; I want to set/test the PuppetShow "Puppet''s Web Interface" with Ruby on Rails (ROR). If somebody has setup such show, please share your experiece with EXAMPLES...I''m not the programmer.so please share your STEPS....I have setup the ROR environment, currently learning Rails with different frameworks....HOBO (http://hobocentral.net/) is great for starter
2008 Apr 11
1
question about puppetd listen setting
On the Configuration refrence page the listen setting is descriped thusly: listen Whether puppetd should listen for connections. If this is true, then by default only the runner server is started, which allows remote authorized and authenticated nodes to connect and trigger puppetd runs. The question is when listen is set to true, does puppetd only listen for remote calls or will it listen for
2008 Nov 10
10
Appending a file to an existing file
Hi, I have a template file which I would like to append to an existing file (in this case I wish to add a few lines to /etc/motd). Unless I''ve missed it, it does not appear that file has an append option. Is there an easy way copy to the end of a file Thanks Paul --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google
2008 Jun 27
2
puppetrun?
Hi, I''m having trouble getting puppetrun to work, it returns: # puppetrun --debug --host serverb debug: Puppet::Network::Client::Runner: defining puppetrunner.run Triggering serverb debug: Calling puppetrunner.run warning: peer certificate won''t be verified in this SSL session err: Could not call puppetrunner.run: #<RuntimeError: HTTP-Error: 500 Internal Server Error >
2008 Apr 03
2
Selinux policy for puppet
Andreas- On Thu, Apr 3, 2008 at 8:31 AM, Andreas Rogge <a.rogge@solvention.de> wrote: > Do you have SELinux enabled? When starting puppet from init.d with SELinux enabled it runs in xinitrc_t while it should (at least imo) run in unconfined_t. Running in xinitrc_t lead to *really* strange things. Everything way fixed once I deployed a policy that made puppetd run in unconfined_t. >
2008 Jul 02
12
Module interaction and dependencies in Puppet (SNMP in particular)
Hello folks, I''m sitting here converting my static, simple classes/snmp.pp into a full module, and I''ve run into a bit of a brick wall. net-snmp is one of those wonderful programs that will only read two configuration files (it reads a few more, but only 2 are in /etc) - /etc/snmpd.conf and /etc/snmpd.local.conf. This means that my SNMP module is somehow going to have to
2008 Jul 10
5
managing config changes
Hi, I am looking for a way, i.e. best practice for managing config changes safely and efficiently. Something like clever module organization could certainly help, but I am looking for something else as well: Is it possible to set up puppetd in a way, that it just listens and reports, but does not apply config changes automatically, and in the same time has the ability to trigger it somehow?
2008 Aug 04
5
using running - should it always restart?
Hi, I am fairly new to using puppet, but have it setup on 25 machines. Just doing some basic configuration management. Recently I decided to try working with updating some services config files and used the ensure => running tags. My question is simple - if the source file does NOT change and I use a subscribe, why does the system keep restarting the daemon every time puppet runs? A simple
2008 Jul 30
6
Refreshonly question
Does anyone have a technique for performing an exec the first time puppetd runs but then reverting to refreshonly => true state for subsequent runs? The basic idea is: file { "/etc/foo": notify => Exec["bar"] } exec { "bar": command => "Do stuff to /etc/foo", refreshonly => true } Should I use a fact that is unset based on a
2008 Jun 19
11
Validate a theory regarding puppet (+ firstboot) please
As I sit here staring at my manifests (and pondering a module to control Glassfish), I''m pondering the best way to do a first-run of puppet to get the initial repositories and puppet configuration downloaded. My theory is that I''ll modify rc.local (or replace firstboot-tui, we don''t use it with automated builds) to run puppetd twice - once to request the certificate,
2008 Apr 02
0
Using file to handle a direcoty, recurse question.
Alright, going ot ask this question in advance of doing bone headed tests. I have one application that does not understand the idea of /usr/local/ and insists on populating /usr. Of course it is closed source and commercial and it is the one they want to use. Below is the list of junk it shoves in /usr/share. Between the Type Reference guide and another email , I believe I can move this tree
2008 Apr 15
0
printers lpadmin and puppet
Has anyone written a custom type to handle printers via lpadmin? Managing printers right is ithe single biggest PITA on my CentOS boxes since RH decide to remove the CLI interface. lpadmin works but usign that from exec seems like a waste. Making a type for it seems like it would be easy ( I say, while not knowing a thing about ruby). The main issue I am having is just setting up the darn things.
2008 Sep 17
0
refresh only for service type and notify across modules question
Is there a way to get the service type to only trigger if it is notified or is a file it is subscribed to changes? In a related issue what is the syntax for using notify across modules? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to