similar to: Execute commands on install not update

Displaying 20 results from an estimated 10000 matches similar to: "Execute commands on install not update"

2006 Nov 13
7
0.20.1 and sqlite3 error
Hello, I just installed the latest version of puppet and puppetmaster on an up to date RHEL4 system. If I turn on ''storeconfigs'' on the puppetmaster server I get the following error: debug: Calling puppetmaster.getconfigerr: Could not retrieve configuration: Uncaught exception No such file to load -- sqlite3 in method puppetmaster.getconfig I have gems and rails installed
2006 Sep 12
8
"undefined method `retrieve'' for nil:NilClass" when attempting to run puppetmasterd
I posted this earlier on IRC, but it didn''t seem anyone was active: <mozillaman>Hey all! <mozillaman>Quick question for you :) <mozillaman>I installed puppet according to the directions on the site and got this: sudo /usr/bin/puppetmasterd --nonodes undefined method `retrieve'' for nil:NilClass <mozillaman>Anyone have any ideas? Any help would be
2006 Oct 12
3
Defaults for package type...
Hi I''m wondering if it''s possible to define some defaults for the package type. What I want is that package install/updates only happens at certain times of the day. I could do: class shorewall { package { "shorewall": ensure => latest, schedule => maintenance } } for every package I want to manage. But that means I have to type
2006 Dec 29
5
sqlite errors
Hello, When I kick off SVN1992 with storeconfigs=yes, I get the following error: err: Could not store configs: SQLite3::SQLException: SQL logic error or missing database: INSERT INTO resources ("exported", "line", "title", "host_id", "restype", "source_file_id") VALUES(NULL, 23, ''svnpkgadd-emacs-nox-etc'', NULL, NULL,
2006 Jul 26
19
documentation suggestions: including FQDN seems to
Hi, I''m new to Puppet, but it looks very good, so far. We are going to use it for a multi-tier (DEV, QA, staging, production) environment which is consists of web, app, and database servers. I have a couple of suggestions for the Puppet documentation that may save others some time. First, it seems node names MUST be FQDNs (hostname and hostname. will not work). Since we are not using
2007 Feb 06
14
Unless in exec doesn''t seem to be honored on notify.
This was a fun one to track down... I was trying to use the append_if_no_such_line script from the wiki and it was working fine EXCEPT when I threw a notify at it. The notify appears to completely ignore both unless and onlyif within the exec for some reason. If I put the same test in the actual command line, it works fine. Example: unless => "/bin/grep -Fqe ''$line''
2006 Sep 02
7
BayLISA Puppet presentation video
Hi all, Jennifer Davis from BayLISA has done us the service of already posting the presentation from this past Wednesday night: http://video.google.com/videoplay?docid=8202036065161263530&hl=en http://video.google.com/videoplay?docid=7740462681265962824&hl=en It''s about 2 hours total, and I can''t promise it''s any kind of amazing presentation, but I do a
2006 Dec 03
12
Problem with user type on 0.20.1... uses group "absent"
Hi, I''m running into a problem with the user type with puppet 0.20.1... this worked before with 0.19.x at least, not sure about 0.20. But I''ve got adduser.pp: <snip> define adduser($uid, $gid, $groups="users", $membership="minimum") { group { $name: gid => $gid, allowdupe => false, ensure
2007 Aug 21
9
Seattle Meetup?
Hi all, It looks like I''ll be in Seattle on Sunday, September 16th through Tuesday the 18th, and I''d like to have Puppet Meetup either Sunday or Monday night. On Adam''s recommendation, I''ll be staying at the Queen Anne Inn, so something near there would be best. Hopefully Adam or Blake can do the actual organization. :) Any takers? -- What is
2006 Aug 27
5
Re: preseeding files only on reinstall
On Aug 27, 2006, at 9:55 AM, Thorsten Sandfuchs wrote: > hio, > me again :) > > In Debian, there is a mechanism to preseed debconf (configuration- > database for > the system) with decisions, before installing a package. Debconf > mussn''t ask > the user then. I wrote this pp for preseeding-support: [snip] Very cool. Seems like that''s something that
2006 Oct 18
3
0.20.0 and Schedules...
Hey thanks for the new version, but I seem to be having some troubles. I have a number of schedules defined in my configuration, something like: schedule { once_a_day: period => daily, repeat => 1, } Using 0.20.0 of the server I get: err: Could not retrieve configuration: Duplicate definition: schedule[once_a_day] is already defined in file
2007 Jan 10
9
Definition specialization
There was a discussion a while ago about adding inheritance to definitions. There is a need for a way to specialize parameters while allowing passing other options. This comes up with remotefile where it would be nice to have a default server location but not specify all the parameters (and their defaults) in the definition. Was there a change to the syntax? Is there a way to accomplish this?
2006 Sep 15
8
file: target generates error
file { "/var/log/syslog": target => "/var/log/messages" } generates the following error: err: //henson/stanford/syslog/file=/var/log/syslog: Failed to retrieve current state: undefined method `should'' for false:FalseClass
2006 Nov 29
12
ssl certificate problem
I''ve tried to implement puppetmaster High Availability (mon+heartbeat). Herefore, the puppet client and puppet master are running on both servers. When the puppet client starts up, it generates a certificate, public and private key for the machine it runs on. When the puppet master starts up, it changes something so that the puppet client have no valid certificate anymore (the
2006 Sep 06
4
FQDN nodes in LDAP
Hi, I''ve set up puppet to get node definitions from LDAP as per the docs. It''s been working well, but I now want to use fully qualified domain names instead of simple domain-less hostnames for the node name. I replaced the ou=Hosts entries with equivalent ones using FQDNs, restarted the puppetmasterd, and tried a "puppetd --test" from one of the nodes. However, I
2006 Dec 29
2
Gems looking in the wrong dir
Hello, When I tested out SVN 1987, puppetmasterd barfs because gems is looking in puppet/rails/lib no puppet/rails. This is under FC6 with gems/rails installed from source. The simple fix for me was to create the directory lib and link the files in /puppet/rails there. .r'' Original error: # puppetmasterd --debug /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
2006 Oct 19
1
A bug in the import code...?
Hi, As RijilV pointed out in http://mail.madstop.com/pipermail/puppet- users/2006-October/000541.html there may be af bug in the import code of 0.20.0: I noticed the same thing about schedules as he has, and I bumped into one more: Type defaults set in a file that gets imported by site.pp yanks a similar error. Moving the code into site.pp removes the error message. -- Med venlig
2007 Sep 04
9
exec creates and subscribe
I have the following test case: file { sendmail-conf: path => "/etc/mail/${fqdn}.mc", owner => "root", group => "wheel", mode => 0644, links => follow, source => "puppet:///sendmail/${hostname}.mc" } $mail_dir = "/etc/mail" $cf_dir = "/usr/share/sendmail/cf/" exec { build-conf: command => "/usr/bin/m4
2006 Aug 28
10
Templates and arrays
I''m in the process of documenting templates right now, and I figured I should see what happens when you use them with arrays: $ cat ~/bin/test.pp $values = [this, is, an, array, of, values] $content = template("/tmp/templates/testing.erb") file { "/tmp/temtest": content => $content } $ cat /tmp/templates/testing.erb <% values.each do |val| %> I got
2006 Sep 13
5
Re: strange mtime/md5sum behaviour and constantly changing files with links
On Sep 8, 2006, at 5:58 AM, Thorsten Sandfuchs wrote: > hio, > as I have some huge files to distribute and md5-sum-checking takes > SOME time > for them, I''m trying to switch to mtime/timestamps, but got no > luck. Regularly > the mtime seems to change and additionally the md5sums generate > themselves > anyway. I''m pretty sure that the file