similar to: Modules Search and Puppet

Displaying 20 results from an estimated 40000 matches similar to: "Modules Search and Puppet"

2007 Mar 15
13
puppet standlone hanging when ran via init.d
Hi, I''ve just changed my debian preseed configuration to install the debian unstable package of puppet v0.22.1. As part of the preseed I have a late command that clobbers the /etc/init.d/puppet file into using the puppet standalone program and not the puppetd (as this is what I''m using). Since the upgrade to 0.22.1 every boot hangs during the initd. Going into standalone mode
2007 Mar 20
2
0.22.2 bug?
Hi, I''ve just installed 0.22.2 and believe I''ve discovered a bug (or oversight). I have an exec like this: exec { "change-to-local-mirror": command => "sed -i ''s#\(KERNEL_REPO.*=\).*#\1 $mirror#'' ${rulefile}", path => "/usr/bin:/usr/sbin:/bin",
2007 Mar 13
3
before => ?
Hi, How would I do this: wgetfile { "$name-$file": url => $url, file => $file, target => $target, options => $options, before => Component["md5check-$name"] } wgetfile { "$name-$md5file": url => $url, file =>
2006 Dec 04
6
puppet definition
Hello, still upgrading to .20.1 and i have another issue that puppet does not regonize anymore my definitions, i use some ensure lines definition in a function.pp file and since then i am unable to make it work. puppetmasterd tells me this: Unknown function sudoensure_line in file /etc/puppet/manifests/./classes/backup.pp the import of the function is my 2 line of the site.pp and i
2007 Aug 22
12
Virtual resource not found
Hi All, I asked on IRC but didn''t have everything organized and most people seemed busy. Hoping someone can see what I''m missing here. I''m trying to create a network module, used similar to the ''users'' configuration described in the Best Practices document. I have a users module which has that and it works with similar syntax to below. If I
2007 Jul 12
11
Problem with "defined" keyword
Hi, I''m running Puppet 0.23.0 on my servers, and i got something like this: In a classa.pp file (included in site.pp): class A { file { "test1": ... } } In a classb.pp file (included in site.pp): class B { file { "test2": ... } if defined(File["test1"]) { ... do things ... } if
2007 Feb 11
7
Could not find definition vico_network
I''m trying to manage network files on two nodes, "vico" and "backup." The component "vico_network" below works fine. define vico_network ($owner = ''root'', $group = ''wheel'', $mode = ''644'', $cro_int = ''ne3'', $carp0_skew = '''', $carp1_skew =
2007 Aug 24
7
Problem restarting client service ssh in client
Hello, I want a simple operation in a puppet node like restarting the ssh service if it was stopped. My site.pp is simple as this: import "services/*" node default { include ssh } The services directory as a ssh.pp : class ssh { service { ssh: ensure => running, subscribe => File["/etc/ssh/sshd_config"] } } I''ve stopped the ssh service in the
2007 Jun 27
9
Newbie questions...
I''ve spent the last week or two poring over the documentation and setting up my first puppet environment, and while I''ve figured out how to do most of what I want to do with it, I have some questions that I haven''t been able to find answers for... * Can I match parts of a facter fact? In particular I have hostnames that include the environment as part of the
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
2006 Nov 02
7
Error reloading manifests
Hi there, I''m running puppetmasterd manually while testing, and I was trying to split my manifest in several parts using import. If I do so whenever I run the puppetmasterd the manifest gets loaded and served correctly: cognos ~ # puppetmasterd -v info: Starting server for Puppet version 0.20.0 info: Parsed manifest in 0.02 seconds info: /var/lib/puppet/files: allowing *.example.org
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
2007 Aug 23
4
Questions about modules and namespaces
Hello >From my understanding, modules are not autosearched. So, if I have: include ssh ... then puppet will look for a module names ssh and class named ssh defined in /modules/ssh/init.pp Moreover, if I have: include ssh::global ... then Puppet will for class global defined in /modules/ssh/init.pp or /modules/ssh/global.ss. Is that correct? Or am I leaving out some imports
2006 Dec 01
3
"All resource specifications require names": wot?
Hi, everyone -- I downloaded puppet and have been playing with it. I''m using the RPM''s for RHE4 created by David (mentioned on the install page: http://people.redhat.com/dlutter/yum/rhel4/) with RHE''s ruby 1.8.1-7: ruby-1.8.1-7.EL4.8 ruby-libs-1.8.1-7.EL4.8 ruby-devel-1.8.1-7.EL4.8 I''m sure this is an easy one; all the same, I''m stumped. Please
2007 Nov 23
9
Usage of ''case'' in site.pp
Hi Does anyone know if the following is supposed to work? ------------------------------------------------------ site.pp case $psi_rank { Devel: { import "Devel/psi_gfa/*" import "Devel/nodes" import "Devel/os/yum_update" } Prod: { import "Prod/psi_gfa/*" import "Prod/nodes" import
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 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 Mar 07
3
Standalone puppet (i.e. no server) config
Hi, I''m new to puppet and having difficultly setting it up the way I want to (which is a little different from the norm I''d say). What I''m trying to achieve is to have a automatic build of debian (etch at the moment) using debian installer that installs a minimal system including puppet using the debian package puppet (not puppetmaster). As part of the initial setup
2006 Nov 02
2
Variable assignment in imported file
Hi there, Maybe another bug? I have the following in site.pp: $localtime = $domain ? { "example.org" => "/usr/share/zoneinfo/Europe/Madrid", default => "/usr/share/zoneinfo/Europe/Madrid" } If I take this away and put it in another file, and then import that file, I get the following error: err: Cannot reassign variable localtime in file
2007 Dec 27
2
Error when extending a resource parameter
Attached is a class for vmware guests that i am expanding however i am getting an error when i try to extend the ''require'' parameter on an ''Exec'' to install the tools. The error is err: Could not retrieve configuration: Parameter ''require'' is already set on Exec[setup_vmware_tools] by vmware::guest at