search for: bollin

Displaying 20 results from an estimated 35 matches for "bollin".

Did you mean: pollin
2012 Feb 02
5
Schedule for own resources?
Hello, I am testing some schedule configurations and was wondering if I can use the schedule type in my own defines? As far as I can claim from my own tests, this is not possible? For example, the schedule "morning" does not work with my self-written define "my_crontab": ######################################### class crontab { schedule {"morning":
2011 Jun 30
7
Puppet agent creates certificates for localhost.localdomain and does not pick up the changed hostname
Hi Everyone, I am using Puppet 2.6.5 to configure fresh VMs. These VMs have their hostname set to localhost.localdomain initially at boot-time. There is this script file that runs in rc.local and this is what I do inside it 1. I change the hostname from localhost to xxx.xxxxxx using the hostname command. 2. start the puppet agent as /usr/sbin/puppetd --certname=xxx.xxxxxx
2012 Jul 04
12
How to get an input file to a facter ?
Dears all, I was testing my localusers facter by puppetmaster fileserver but i''d got in error Could not retrieve localusers: No such file or directory - /etc/ puppet/whitelist I was pretending the file was served by fileserver of puppetmaster doing in init.pp : file { "/etc/puppet/whitelist": ensure => present, Just before to call a facter. I
2012 Feb 14
4
How to escape exec command parameters?
If I have a "simple" variable value, this works fine: capmon@peter:~> puppet -e ''$v="xyz" exec { f: command => "/bin/echo v is $v", logoutput => true }'' notice: /Stage[main]//Exec[f]/returns: v is xyz notice: /Stage[main]//Exec[f]/returns: executed successfully But how do I escape "bad" values of $v? Painful examples like the
2012 Feb 23
9
32bit and 64bit version of a package
Hi, I''m trying to write a recipe to install the latest libstdc++ in both 32bit and 64bit flavors and running into issues. Yum only wants to install the 64bit version if I do: yum install libstdc++ If I do something like: package { "libstdc++.i386" : ensure => latest } It tells me "nothing to do" Any suggestions on the right way to do this? Thanks! Alan --
2011 Nov 09
7
NFS clients - puppet hang when mount point
We''ve only recently discovered that puppet can manage mount points using the mount directive; however, a short while back we built an nfs client and server classes without using this resource, and we''ve encountered a problem where puppet seems to hang when the nfs server is unavailable. Using --debug doesn''t seem to specify exactly at which point the run is failing,
2010 Jan 21
5
Inheritance versus inclusion
Does anyone have a good resource for describing the differences between including and inheriting classes? VR -pjh -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more
2011 May 20
3
PC EU feedback: ability to remove all unmanaged resources
http://projects.puppetlabs.com/issues/7600 I call this the "agent orange" option :) This works, purging all unmanaged hosts entries: resources { ''host'': purge => true, noop => true, } We should have a similar property for all (most?) types. Please comment on the ticket or reply here, whichever you prefer. Thanks! r P.S. This is in
2009 Oct 22
2
useradd: invalid numeric argument 'someuser'
CentOS 5.3 w/ updates Puppet 0.25.1.rc2 (installed from source) Mongrel + Nginx Am I making a mistake or is this a bug? I''ve experienced this issue using 0.24.8 from EPEL also. Thu Oct 22 13:59:43 -0700 2009 //user::virtual-users_groups/User [someuser]/ensure (err): change from absent to present failed: Could not create user someuser: Execution of ''/usr/sbin/useradd -G
2012 Feb 08
11
define hostclass with special characters
Hi, I need to define the hostclass with special character for ex: "swift::proxy-ring" I have tried following ways but not worked: 1) hostclass :swift::proxy-ring do 2) hostclass ''swift::proxy-ring'' do 3) hostclass "swift::proxy-ring" do When I am using the 2 and 3 options it is giving following erroe: undefined method `[]'' for Class:Class at
2010 Oct 25
2
Multiple errors on puppet client runs: "A section with name updates already exists"
Hello, I''m currently running Puppet 0.25.5-1 on CentOS 5.5. Everything has been going swimmingly until a couple of weeks ago, when I began receiving errors on one of my nodes. The node in question is also my puppetmaster, but the errors seem client-related. The errors are: err: //yumrepos::centosbase/Yumrepo[addons]: Failed to retrieve current state of resource: A section with name
2012 Mar 13
3
Creating multiple resources from an array
Hi, I''m currently trying to write a module to manage Squid, including the SSL certificates it uses. Sometimes you want Squid to listen on multiple IPs with multiple certificates, so I''m trying to get Puppet to push the certificates to the nodes and configure Squid accordingly. I''ve run into a problem with the idea of pushing multiple certificates though. The module has
2012 Jan 07
3
How can I have a defined resource depend on a resource that is not in the global scope?
I am working on this module: https://github.com/belminf/puppet-iptables I have this defined resource: define iptables::hole ($proto=''tcp'', $port, $source=undef) { firewall { "100 input: $name": chain => ''INPUT'', proto => $proto, dport => $port, source => $source, action => ''accept'',
2011 Jul 14
4
puppet custom fuction run as user pupprt?
I wrote a custom fuction to read a root read-only file, it raised an Permission Denied error. During debug, i found this fuction seems to run as user puppet, it is this a feature or a bug? -- System Administrator, Focus on System Management and Basic Development -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group,
2009 Dec 06
3
User Modification
I''m trying to do something like this using puppet 0.24.8. define removeuser() { @ user { $name: ensure => absent } realize User["$name"] } $removelist = ["bob", "bill", "billy"] @ removeuser { $removelist : } It''s failing with "err: Could not retrieve catalog: Failed to realize virtual resources User[bob] on node
2011 May 13
18
Thoughts about extlookup: http://blog.wl0.org/2011/05/thoughts-about-extlookup-in-puppet/
Hi, I have been trying to improve the coding of some of my puppet recipes and had some trouble so wrote this: http://blog.wl0.org/2011/05/thoughts-about-extlookup-in-puppet/ Comments on the web seem to indicate that extlookup() solves "all problems" but I don''t really see that and hence have proposed a possible way to keep the data closer together and make the extlookup()
2009 Jul 27
4
Custom fact errors
I''m a newbie attempting to get a custom fact distributed to clients. I''ve followed the instructions at http://reductivelabs.com/trac/puppet/wiki/AddingFacts and based my first fact on a simple recipe. I''m having at least one problem and possibly more. 1) Puppet/facter fails to load the custom fact, complaining that "non- sh interpreters are not currently
2011 Feb 03
3
2.6.2 excluding an exported resource
I have the class below to export host entries. However I wish to override the entry for my host to 127.0.0.1 So for all of the hosts other than foo.bar.com I would like them to have the real IP address but for foo.bar.com I would like to just have the loopback host entry. 2.6.2 doesn''t allow multiple tags and if I put in another entry for localhost there is a collision. Is there any
2011 Sep 01
4
File resource "owner" not found, only during automatic puppet runs
I have a file resource defined to be owned by a group that is accessible via samba/winbind (AD based group), but every time Puppet runs automatically (every 30 min) the run fails with this error , (sensitive information removed) (/Stage[main]//Node[node1.tld]/Apache::Vhost[vhost1]/File[/var/www/ vhost1/html]) Could not evaluate: Could not find group org-www at /etc/
2011 Feb 17
8
logoutput=>on_failure doesn't work as expected
I''m using puppet 0.25.1. I''ve got a simple resource: exec { "/bin/ls $oracle_base/dba/bin/database_backup.ksh": logoutput => on_failure, } and I don''t want it to log every time it''s successfully run: $ sudo tail -F /var/log/messages | grep puppetd Feb 17 16:36:11 test puppetd[26614]: (//my_module/Exec[/bin/ls /u01/