similar to: Provider error with FreeBSD 7 beta 3

Displaying 20 results from an estimated 2000 matches similar to: "Provider error with FreeBSD 7 beta 3"

2007 Jul 16
5
exec and notify
Are exec resources triggered by notify events supposed to be run once for every event received or only run once per run irregardless of the number of resources that notified it? It seems to me that it gets run twice no matter how many resources triggered it. consider the following class: class dhcp { $prefix = "/usr/local/etc/dhcpd" $dhcpd_conf = "$prefix/dhcpd.conf"
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
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 01
5
freebsd ports provider patch to use ports tree directly
The included patch is what I''ve been able to throw together in a few hours after studying the pkgtools code. All I''m using the library for at the moment is to resolve the proper base location of the ports tree, but at least by invoking make directly instead of through portupgrade it works *a lot* better. Is there a proper way to include/require a third party ruby library?
2007 Sep 17
7
syslog spam
Is there any "correct" way to get puppetmasterd to not spam syslog with (mount[blah]) File source foo does not exist messages when using file source selection lists? I use them quite extensively, so it''s getting quite out of hand. The last resort will be to comment out the offending print statement! -- Russell A. Jackson <raj@csub.edu> Network Analyst California State
2007 Oct 03
4
puppet exit codes and svn pre-commit hook
Hi everyone, I''m using a svn pre-commit hook to check manifests for syntax errors. I''ve recently upgraded puppet from 0.22.4 to 0.23.2 and the hook stopped working. I use the following command to parse .pp files: /usr/local/bin/puppet --confdir=/tmp --vardir=/tmp --parseonly --ignoreimport /tmp/$$.pp Now, I make a decision based on the exit code. If 0 then commit, else exit
2007 Oct 26
3
freebsd service management redux
After reading the rc.subr(8) man page and Newburns''s article on the rc.d subsystem[1], It''s clear that a rc.conf.d per service file structure is already natively supported on FreeBSD. I''ve verified this with my own testing: # echo puppetmasterd_enable=\"YES\" > /etc/rc.conf.d/puppetmasterd # /usr/local/etc/rc.d/puppetmasterd start Performing sanity check
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 Apr 23
8
exec resources
I am consistently getting the following error from puppetd when an exec resource is triggered by a refresh event: Apr 23 10:36:11 mailhub puppetd[37884]: Reopening log files Apr 23 10:36:11 mailhub puppetd[37884]: Starting Puppet client version 0.22.3 Apr 23 10:36:11 mailhub puppetd[37884]: Starting configuration run Apr 23 10:36:12 mailhub puppetd[37884]:
2007 Oct 31
15
puppetd can set more than one server address
hi,all I want set up a puppet HA structure. but if the puppetd can set more than one server address ,the work will be simple :D if one puppetmaster have error, the client can auto try the next. I think I can use the heartbeat or dns to do this same thing,but not so good. so I want know the puppetd can direct set in the configure file ? if not,will be add this option? -- Huang
2007 Aug 12
4
freebsd ports provider
I''d like to clarify some points about the ports/package system in FreeBSD. I apoligize ahead of time if this is Both packages and ports use the pkgdb system. This isn''t some lame cludge; it''s by design, and the reason is really quite simple. Packages are built from the ports collection. The only real difference between them is the mode of delivery. When you run
2007 Sep 13
3
Templates and undefined variables
Using puppet 0.23.2, I have a template where I wish to do something like this: <% if defined? some_variable %> .... <% end %> Ideally I''d like to tell these three cases apart: a) defined to a non-empty value b) defined to an empty value c) undefined However case c) causes problems - in templatewrapper.rb::method_missing it causes an error to be thrown. I''ve changed
2007 Oct 17
5
option to trigger the change immidietiely
Folks, I have installed puppet my network and it works great .. I have configured it such a way that when I make changes in the server source fiels..it gets updated in teh puppet clients. As the document reads the puppet clients checks for any changes from the server every 30 mins. But is there is any opiton of changing this value to lesser time .. say 15 mins .. or is there opiton for the
2007 Aug 01
12
Puppet uses too much RAM memory
Hello, I have two Vmware images, with 256MB of RAM memory each one, running puppetmasterd for the server and puppetd for the client. It''s normal that my puppetmasterd and puppetd occupies almost 10% of RAM memory each one? They aren''t doing anything especial, just listening on the ports. Thanks.
2007 Aug 27
3
Puppet Nodes in DNS
Has anyone given any thought to using DNS for node information rather than LDAP? You see, I already have all my nodes defined... in BIND ;-). Perhaps something like: foo IN A 10.178.10.1 IN TXT "puppetclass=<class_name>" IN TXT "puppetclass=<class_name>" . . . Ad nauseam -- Russell A. Jackson <raj at csub.edu> Network Analyst California State
2007 Oct 02
6
Push /home/* directories recursively to clients
Hi I am trying to push populate /home & subdirectories from the puppet server to all the Linux clients. I managed this with cfengine using rsync. But I am not sure how do I achieve this in puppet, do we have any inbuilt function for this. Also, is there a function for userdel like for useradd (user) groupadd(group). Any suggestion is appreciated. -- Deepak
2007 Nov 09
4
variables in templates
Here''s the problem I''m trying to solve. I use apache, for lots of things, some of those things are configured from a performance standpoint differently. In less vague terms I need to be able to change the MaxClients setting to different things based on the different purposes apache serves. (say proxy vs. app) Under previous CMS/templating engines I would have a httpd.conf that
2006 Dec 11
3
request an object
Hello, I use a type i just written that install apache basicaly it is httpd and you provide the version (it is just a wrapper to the packets system) . I wanted to tell another type, the vhosts one that i required that this node defines the httpd type and that the vhosts type is allways called AFTER the httpd type. node ''mynode'' { httpd{ version =>
2011 Apr 15
15
Installing port on FreeBSD
New user trying to get a port to compile: I tried searching but all I get are links to the FreeBSD port of puppet. Easier to find a needle in a haystack. A class has: exec { "port-sudo": cwd => "/usr/ports/security/sudo", environment => "BATCH=yes", command => ''/bin/sh -c "/usr/bin/make
2007 Sep 06
1
freebsd and latest non-devel port installations
hi, i''ve run into somewhat of a snag with my puppet instances: when i try to have puppet install a port via portupgrade, it seems to step up each version in ports to the latest, if there are multiple versions. i''ve run into this with two ports so far: vim and postfix. my package line is: package { postfix: ensure => latest } i am however able to specify the version