similar to: puppet exit codes and svn pre-commit hook

Displaying 20 results from an estimated 400 matches similar to: "puppet exit codes and svn pre-commit hook"

2007 Aug 07
5
parsing manifests in a pre-commit hook
Hello, I was wondering if there is a way to parse individual manifest files as part of a pre-commit hook in subversion. I am looking for something like puppetmasterd --parseonly, but that will work on individual files. This way I can reject a commit if it does not pass. Any ideas? TIA
2007 Sep 30
3
managing FreeBSD services
Hi, I''d like to hear opinions from FreeBSD users. I''ve wrote a freebsd service provider, which is available as Ticket #837. http://reductivelabs.com/trac/puppet/ticket/837 This hack extends init service provider, by adding enable method. With freebsd.rb, you can enable services like other service providers do. service { foo: ensure => running, enable => true, ...
2010 Dec 10
2
Problem with syntax checking
Hello! I''m trying to use pre-commit SVN hook for checking puppet syntax. For it I try to use some scripts from this thread: http://groups.google.com/group/puppet-users/browse_thread/thread/50ff2eb268f982da?pli=1 But when I try some of the scripts I see the common problem, expression like this: # puppet --parseonly --ignoreimport file.pp produces no output, but "file.pp" has a
2007 Mar 19
11
Parsechecking in a commit hook
This has been a much-requested feature, and is now a reality (in svn trunk): There is a new option, --ignoreimport, that will (surprisingly) ignore import statements. This is really only useful when using -- parseonly in a commit hook, and note that you''ll have to add the option to --parseonly, none of the puppet executables will add it for you. You should be able to
2009 Feb 04
1
Issue with template.pp
Hi i am creating a template.pp for different OS.. Following is my template.pp file node basenode { case $operatingsystem { fedora: { include fedora } default: { include debian } } include baseapps, sshd, admin, default } <=== line 7 node default inherits basenode {} I receive an error. err: Could not parse for environment production: Syntax error
2008 Jan 17
1
SVN pre-commit hook
Hi is anybody using the svn pre-commit hook from http://www.reductivelabs.com/trac/puppet/wiki/VersionControlPuppet with 0.24.1 . It was working fine with 0.23.1 and I like it to test stupid typos before checking in. However after updating to 0.24.1 I get the following error for the site.pp: Could not parse for environment development: No file(s) found for import of
2007 Jul 10
1
freebsd samba3 package problem
Hi, I have a problem with managing samba package on FreeBSD. On the first run puppet will install the package fine. However, it will try to install it again on consecutive runs, even though the package is already present on the system. The package name is samba3 and that''s how it''s defined in the manifest, but when I run pkg_info it shows up as samba-3.0.23c_2,1. Is it
2003 Apr 10
6
How to plot several graphs in a single 2-D figure?
Hi, R-listers I tried to plot several graphs in a sigle x-y coordinate settings, like the following: |(y) s | ****** s | ***** s | sssssssssssssssssss |_______________________________(x) where "*" and "s" denote two diffrent plots. However, when I used plot(data1); % data1 is the data points of "*"
2007 Dec 17
1
Configuration check script
We have started having developers make changes to our manifests file. We have a couple of changes with errors that have broken updating for all clients. We even ran into a bug where a broken configuration on puppetmaster start would cause it to return 500 server errors to all clients. I would like to have a way for developers to check their changes before committing them to version control and
2009 Jan 09
9
Parsing issues
I''m running into a very odd occurrence. I started with a new puppet server and was able to add a few classes, however as I try and add new ones I get odd parsing error messages, the most common being Could not match ''}'' at whatever file. Here is the exact error I get err: Could not retrieve catalog: Could not parse for environment production: Could not match
2007 Sep 21
3
how to update puppet ?
hi ,all how to update the puppet from 0.22.4 to 0.23.2 . just install it ? is there have some thing need to be be careful ? when update the server and client,all just install the new version ? please help me ,because I use the puppet in product servers,so I need be careful. :D -- Huang Mingyou
2006 Jun 23
9
Connecting MQ from Rails ??
Hi all, I want to Connect to IBM MQ from Rails/Ruby, can it be done? and get the messages from the Queue, then i want to use this message in ruby/rails. Is there a direct way of doing the above job?? If so any packages are available? If there is not a way currently, and any thoughts of how we can do the above job indirectly through some other means or round about ways or workarounds can be
2011 Jan 31
8
Puppet delegation / teams
I would like to delegate access to puppet to other teams in our company. It has to be possible for them to: - create new recipes - doing some sort of check if their recipes / templates work. How should I do this without giving other teams the ability to create havoc? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this
2007 Feb 12
8
How to validate puppet manifests without actually executing puppet?
Hi, I want to validate my puppet manifests before I check them into source control. I just want to make sure that the manifest syntaxes are legal, not to do any more complex testing - the checkin may be on my laptop and not on the system that the manifests may be intended to run on. Ideally I''d be able to do this from ruby code - and I did try to instantiate some classes and override
2007 Oct 29
2
puppetd and self management
OS: FreeBSD 6.2-RELEASE Puppet: 0.22.4 OS: CentOS 5.0 Puppet: 0.23.2 Is it currently not possible for puppetd to upgrade itself (0.22.4 -> 0.23.2)? I tried it, and when puppetd attempted to restart itself (using the init provider), it failed to start back up. Perhaps the init provider needs to close all file handles before executing the rc.d scripts? Additionally, I had puppetd update its
2007 Oct 02
5
Is there have a synctax check tool ?
hello,all. Is there a have some tools to check the puppet manifests before to use it ? like nagios -v nagios.cfg .the new version puppet client can''t get error syntax message,so ,when have some syntax error I can''t found it. -- Huang Mingyou
2007 Sep 18
1
property.rb moved between 0.22 and 0.23?
FYI: We have a custom `checkout'' type which stopped working when migrating from 0.22.4 to 0.23.2-ish. This turned out to have been caused by the location of property.rb changing between 0.22.4 (puppet/type/property.rb) and 0.23.2-ish (puppet/property.rb). (I say 0.23.2-is because I''m using 40491ebe7ca9692b57fb533412ece8fb694b7d4c since it only has a few extra bugfixes over
2001 Feb 16
2
Default Page Size
I've finally gotten wine (codeweavers) to work with my non-Windows system. I can run Lotus Notes without many problems and can even print to my postscript printer with WINEPS.DRV, but I need to remember to change the page size from A4 to Letter each time I restart Notes (or any other app). Is there a way to tell wine or WINEPS.DRV to default to Letter? Thanks, Rick(rick@rlknight.com)
2007 Oct 18
1
ruby error on macosx
I don''t manage any macosx machines but I do run puppet standalone to check syntax etc. I''ve been getting the following error: Could not autoload "/usr/lib/ruby/site_ruby/1.8/puppet/parser/ast/resourceoverride.rb": superclass mismatch for class ResourceOverride specifically small test pp files still work, though I''ve found when I use parseonly it
2007 Aug 13
1
update from 0.22.4 to 0.23.x, not migrating database schema
Hello everybody, I have updated the puppetmaster from 0.22.4 to 0.23.0 (and today to 0.23.2). Although ''dbmigrate=true'' is turned on AND the puppetmaster is saying it migrates the databse at startup, this does not happen. When it should store configs, I get the error: Could not store configs: Mysql::Error: #42S02Table ''database.resource_tags''