Re: [Puppet Users] freebsd ports config, cache distfiles

2012-07-04 Thread Gregory Orange
On 28/06/12 13:51, Gregory Orange wrote: I have /usr/ports mounted via NFS from the puppet server. 1. For more complicated packages, a config dialogue comes up (i.e. cd /usr/ports/category/port; make config). How do I automatically configure that, with settings to my choosing? I suppose I could

Re: [Puppet Users] package provider for FreeBSD

2012-07-04 Thread Gregory Orange
On 29/06/12 14:38, Gregory Orange wrote: I've settled upon portupgrade as the best provider, since I can use it to build from the NFS mounted /usr/ports tree. Now I am experiencing a quirk when a package is to be newly installed: 'ensure => installed' or 'ensure => present' results in the packag

[Puppet Users] Inventory access forbidden

2012-07-04 Thread Dennis Jacobfeuerborn
Hi, I've just set up a puppet server using passenger plus the dashboard and these parts all work fine but now I have enabled the inventory and added this to the auth.conf: path /facts auth any method find, search allow * The dashboard shows "Could not retrieve facts from inventory service: 403

[Puppet Users] How to make send in a "q" when a screen shows up from exec?

2012-07-04 Thread Benjamin Lei
So I'm trying to exec something, but during the exec a screen will show up that I need to "q" out of to finish it. Specifically speaking, I'm trying to exec: rvm --force install 1.8.7 How do I do this with Puppet? -- You received this message because you are subscribed to the Google Groups "P

[Puppet Users] Re: on puppet master server , puppet agent can't connect to itself

2012-07-04 Thread Clay
thanks for the reply. I think auth.conf is the default one. [root@puppet ]# grep -v ^# /etc/puppet/auth.conf path ~ ^/catalog/([^/]+)$ method find allow $1 path ~ ^/node/([^/]+)$ method find allow $1 path /certificate_revocation_list/ca method find allow * path /report method save allow * p

[Puppet Users] Re: on puppet master server , puppet agent can't connect to itself

2012-07-04 Thread Corey Hammerton
How does your auth.conf file look? On Wednesday, July 4, 2012 4:56:10 PM UTC-4, Clay wrote: > > on my puppet master server (v 2.7.17 , both server and client version) , > the puppet agent can't connect to itself. other clients connected to this > puppet server are working fine. > the hostname

[Puppet Users] on puppet master server , puppet agent can't connect to itself

2012-07-04 Thread Clay
on my puppet master server (v 2.7.17 , both server and client version) , the puppet agent can't connect to itself. other clients connected to this puppet server are working fine. the hostname is puppet.domain.com [root@puppet /]# cat /etc/puppet/puppet.conf [main] # The Puppet log director

[Puppet Users] Re: How to get an input file to a facter ?

2012-07-04 Thread eduardo
To be more clear about my first intend. it had init.pp like : file { "/etc/puppet/whitelist": ensure => present, source => 'puppet:///files/whitelist', } $users_local = split($localusers, '[,]') - facter require 'etc' Facter.add("localusers") do setcode

[Puppet Users] How to get an input file to a facter ?

2012-07-04 Thread eduardo
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/whiteli

[Puppet Users] puppet-server-3.0.0-0.1rc3.2 with foreman-1.0.0-0.4

2012-07-04 Thread pdpinfo
Hi all, just trying a lab with newest versions: - puppet-server: 3.0.0-0.1rc3.2 - passenger: 3.0.12-1 - foreman: 1.0.0-0.4 I hit problems with foreman 1.0 not able to work with Puppet 3.0. Foreman 1.0 worked correctly with puppet-server 2.7.17-1 (fresh-installed). Upgrading the package (fro

Re: [Puppet Users] Puppet can't successfully restart puppetd

2012-07-04 Thread Felix Frank
On 07/04/2012 04:18 PM, Throwe, Jesse wrote: > Non homogeneous environment. If I recall we had an issue with a > simpler command like you suggested with old versions of Solaris. Oh, the S-word. Well, that *does* indeed answer to both remarks. Condolences. ;-) -- You received this message becaus

Re: [Puppet Users] Puppet can't successfully restart puppetd

2012-07-04 Thread Throwe, Jesse
Non homogeneous environment. If I recall we had an issue with a simpler command like you suggested with old versions of Solaris. On Wed, Jul 4, 2012 at 10:11 AM, Felix Frank wrote: > On 07/04/2012 03:58 PM, Throwe, Jesse wrote: >> If your running puppetd change 'puppet agent' to 'puppetd'. At l

Re: [Puppet Users] Puppet can't successfully restart puppetd

2012-07-04 Thread Felix Frank
On 07/04/2012 03:58 PM, Throwe, Jesse wrote: > If your running puppetd change 'puppet agent' to 'puppetd'. At least if > for the releases you listed, I would move away from running daemonized > puppet unless theres a special requirement/reason, and stick it in a > cron instead. +1 > command => "

Re: [Puppet Users] Puppet can't successfully restart puppetd

2012-07-04 Thread Throwe, Jesse
Here is how we resolved this problem (although we are now running puppet through cron). By issuing the HUP puppet will restart, but not until the run has completed. This is largely for bootstrapping or when the machine environment changes. If your running puppetd change 'puppet agent' to 'puppet

[Puppet Users] Re: Error sending reports to dashboard

2012-07-04 Thread Julien
Hi, In your puppet.conf, change : [master] reports = log, store, http*s* reporturl = https://puppet-test.uis.example.com:443/reports/upload Then add in your reports folder (under debian with puppetlabs packets) ; /usr/lib/ruby/1.8/puppet/

[Puppet Users] Identifying host OS in an ENC

2012-07-04 Thread Matthew Burgess
Hi all, We have a mixed Linux and Windows environment and have so far just been using Puppet on our Linux servers. Having configured the inventory service, we've got an auditing script that uses the data to report on things like OS version, RAM, etc. This is all so nice that we'd like to extend

[Puppet Users] Re: Multiple AllowGroups entries in sshd_config with Puppet and Augeas

2012-07-04 Thread Olosta
Hello, I struggled with this a long time and came up with an answer. On Thursday, December 23, 2010 2:21:58 AM UTC+1, Hugo Cisneiros (Eitch) wrote: > > In the example on hosts, the "alias" label is already named. So I > can't think on adding another node/label dynamically. > Well actually the

Re: [Puppet Users] Re: Style guide question..

2012-07-04 Thread David Schmitt
On 2012-06-29 23:27, jcbollinger wrote: On Friday, June 29, 2012 9:56:04 AM UTC-5, David Schmitt wrote: Indeed! Even more so as using the word "declare" for "include" is a load of utter bollocks. "Declare" in the common programming language sense means "indicating the existence

Re: [Puppet Users] Puppet can't successfully restart puppetd

2012-07-04 Thread 朱文
thx, the master is Centos 5.8 the client is RedHat 5.4 2012/7/4 Edward Savage > On Wed, Jun 27, 2012 at 7:13 PM, Martin Alfke wrote: > > > > On 27.06.2012, at 11:01, Felix Frank wrote: > > > >> On 06/27/2012 10:51 AM, Matthew Burgess wrote: > >>> is there something special about > >>> the

[Puppet Users] puppetd error certificate verify failed

2012-07-04 Thread Peter_zhu
Hi all: i have a problem for puppet , like this : when i runpuppetd --server master --test --no-daemonize --verbose --debug debug: Puppet::Type::User::ProviderPw: file pw does not exist debug: Puppet::Type::User::ProviderDirectoryservice: file /usr/bin/dscl does not exist debug: Failed

Re: [Puppet Users] Puppet can't successfully restart puppetd

2012-07-04 Thread Edward Savage
On Wed, Jun 27, 2012 at 7:13 PM, Martin Alfke wrote: > > On 27.06.2012, at 11:01, Felix Frank wrote: > >> On 06/27/2012 10:51 AM, Matthew Burgess wrote: >>> is there something special about >>> the puppet service that it issuing the equivalent of 'service puppet >>> restart' doesn't actually work?

Re: [Puppet Users] Puppet can't successfully restart puppetd

2012-07-04 Thread Martin Alfke
On 03.07.2012, at 21:31, Steve Traylen wrote: > On Wednesday, 27 June 2012 11:31:17 UTC+2, Felix.Frank wrote: > On 06/27/2012 11:19 AM, Matthew Burgess wrote: > >> We redefined the restart command: > >> > > >> > restart => '/usr/bin/nohup /etc/init.d/puppet restart &' > > Nice! Thanks very m

[Puppet Users] Filebucket with SVN

2012-07-04 Thread Tharanga Abeyseela
Hello folks, I like to store all my configuration archives (Client file changes) on a SVN or GIT repository instead of a local file system. currently i am using following config to store all backups (client file changes) on my puppetmaster server filebucket { puppet: server => puppet-