[Puppet Users] Subscribe and Require

2011-04-27 Thread Martin Harrigan
Hi all, Does a subscription result in an auto-requirement? For example, in the service below, is the require redundant? package { 'PACKAGE': ensure => latest } file { 'CONFIG-FILE': ... require => Package['PACKAGE'] } service { 'SERVICE': ... subscribe => File['CONFIG_FILE'],

[Puppet Users] unable to request certificate

2011-04-27 Thread ki_chi_saga
Hello! Background; We're just in the initial stage of setting up a testenv. for checking out puppet. And a working master and client(s) (ver. 2.6.7 is now started on one of our Suse/Linux servers. I'm about to get a working puppet client (on Solaris 10-09) to connect to the above puppet master. I

Re: [Puppet Users] Subscribe and Require

2011-04-27 Thread Stig Sandbeck Mathisen
Martin Harrigan writes: > Hi all, > > Does a subscription result in an auto-requirement? A "subscribe" should imply a "require", although this is not explicitly stated at http://docs.puppetlabs.com/references/stable/metaparameter.html#subscribe The answer is a firm "I think so". :) -- Stig Sa

Re: [Puppet Users] Subscribe and Require

2011-04-27 Thread Nigel Kersten
On Wed, Apr 27, 2011 at 3:40 PM, Stig Sandbeck Mathisen wrote: > Martin Harrigan writes: > > > Hi all, > > > > Does a subscription result in an auto-requirement? > > A "subscribe" should imply a "require", although this is not explicitly > stated at > http://docs.puppetlabs.com/references/stable/

Re: [Puppet Users] Re: ssh_authorized_key fails when home directory doesn't exist

2011-04-27 Thread Felix Frank
Hi, On 04/22/2011 07:50 PM, Corey Osman wrote: > Yes but if I am understanding you correctly I can't just let puppet > own the required resources. The directories are created automatically > via PAM config upon initial login. I can't define a user type or a > file type as I don't know the UID.

Re: [Puppet Users] Re: How do you implement "revert changes'

2011-04-27 Thread Felix Frank
On 04/25/2011 04:32 PM, pzi wrote: > Since most of the puppet activity is done on the root filesystem one > cool way to do it would be to use root ZFS on solaris or LVM on linux > and take a snapshot of that root filesystem before puppet run - then > rollback if needed. I don't think that will fly

Re: [Puppet Users] Re: Handling unmanaged resources and their files/configs

2011-04-27 Thread Felix Frank
On 04/21/2011 11:06 PM, Forrie wrote: > Fair enough :-) In my case, we have NFS mounts that rotate out -- > and I dread having to manually prune the many systems we use. Puppet > will handle /etc/fstab, but I want to remove the mountpoint as well. Then wrap your NFS mounts in a defined type. I

Re: [Puppet Users] unable to request certificate

2011-04-27 Thread Felix Frank
> Searching the net suggests removing '/var/opt/csw/puppet/ssl' from > client and running puppetca --clean > (hostname in this case is selix063gh.lmera.ericsson.se) > When I issue 'puppetca --clean selix063gh.lmera.ericsson.se' I get a > the response; > 'Could not find client certificate or reques

[Puppet Users] Re: Suggestions for using tags and variable for an Array

2011-04-27 Thread linuxbsdfreak
Hi, Thanks for your reply. The problem with the tagging is solved. However i am confused with the 2nd part. I actually want to do somethng like this to delete files: I am creating a class called config_variables in which i want to have an array of dirs of files to delete: class config_variables

[Puppet Users] Re: unable to request certificate

2011-04-27 Thread ki_chi_saga
Hello Felix > What does puppetca --list --all give you? It gives me; -- puppet@puppet-server:~> puppetca --list --all puppet@puppet-server:~> puppetca --list No certificates to sign puppet@puppet-server:~> --

[Puppet Users] Re: unable to request certificate

2011-04-27 Thread ki_chi_saga
Sorry >Yes,by running; >"/sbin/puppetd --server puppet-server.lmera.ericsson.se --verbose -- >test" should be # ../sbin/puppetd --server puppet-server.lmera.ericsson.se -- waitforcert 60 --verbose --test -- You received this message because you are subscribed to the Google Groups "Puppet U

Re: [Puppet Users] Re: unable to request certificate

2011-04-27 Thread Nan Liu
On Wed, Apr 27, 2011 at 9:39 AM, ki_chi_saga wrote: > Hello Felix > >> What does puppetca --list --all give you? > > It gives me; > -- > puppet@puppet-server:~> puppetca --list --all That is odd since it should provide at least the server cert with a pl

[Puppet Users]

2011-04-27 Thread Mark Ardiente
http://www.xitro.ru//images/friends.html -- 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+unsubscr...@googlegroups.com

Re: [Puppet Users] Re: Suggestions for using tags and variable for an Array

2011-04-27 Thread Nan Liu
On Wed, Apr 27, 2011 at 8:17 AM, linuxbsdfreak wrote: > Hi, > > Thanks for your reply. The problem with the tagging is solved. However > i am confused with the 2nd part. I actually want to do somethng like > this to delete files: > > I am creating a class called config_variables in which i want to

[Puppet Users] Dashboard and GDGraph and or data visualization module

2011-04-27 Thread Aaron Lippold
Hello, I was wondering if anyone has started on looking at a general data graphing framework for visualizing data ( classes, facts, reports ) on dashboard. In the past I have used GDGraph to do this. Has the community talked about how we want to generalize this for the dashboard?

[Puppet Users] run stages and mixed class styles

2011-04-27 Thread vagn scott
I didn't run this (simplified) example so there might be errors, but anyway -- say we have: --- stage { aptstuff: } Stage[aptstuff] -> Stage[main] class proxy($url) { file { "/etc/apt/apt.conf.d/02proxy": content

[Puppet Users] Re: Force resigning of existing certificates

2011-04-27 Thread Jake - USPS
OK, just had to post this! I found a solution to my issues that may help others. http://glarizza.posterous.com/managing-puppet-ssl-certificates Basically a CGI script located on you CA Server. You can pass the hostname/certname that you want to clean via http to the script and have it clean it

[Puppet Users] ANNOUNCE: Puppet 2.6.8 final available!

2011-04-27 Thread Jacob Helwig
This release addresses issues with the Puppet 2.6.x series. Bug #4884: Shell exec provider that executes code as a raw shell script Bug #5670: Failed resources don't improperly trigger a refresh Feature #2331: New macports provider You can find the full release notes for Puppet at: htt

Re: [Puppet Users] Re: Force resigning of existing certificates

2011-04-27 Thread Ohad Levy
On Thu, Apr 28, 2011 at 12:17 AM, Jake - USPS wrote: > OK, just had to post this! I found a solution to my issues that may > help others. > > http://glarizza.posterous.com/managing-puppet-ssl-certificates fyi - as the original author of that script... the same functionality exists within forema

[Puppet Users] Is it necessary for site.pp to change in order to apply a new catalog?

2011-04-27 Thread Sriramu Singaram
Hi everyone, I am using Puppet 2.6.5 on my Master and Client. My /etc/puppet/manifests/site.pp looks like this: import "nodes/*" import "templates" import "nodes" I have a templates.pp file with a "class baseclass {...}" in it and nodes.pp file that looks like this: node 'default' { include b

[Puppet Users] Ruby DSL class with resources generated dynamically using Puppet DSL definitions?

2011-04-27 Thread Philip Gardner
I'm attempting to include a class on certain hosts whose resources will be different depending on which host it is. I'm determining what resources to include in the class on a per host basis by consuming some JSON from another application. I seem to be running up against an issue where I can't us

[Puppet Users] File serving with Puppet

2011-04-27 Thread John Kennedy
I am trying to serve some files though Puppet. I have configured fileserver.conf on the Puppet master: # Configuration [configuration] path /etc/puppet/manifests/files/configuration/%H # Modules [modules] allow *.example.co.uk I know I need to configure the client to look for the files. I have

Re: [Puppet Users] Re: [Puppet-dev] ANNOUNCE: Puppet 2.6.8rc1 available!

2011-04-27 Thread John Warburton
On 15 April 2011 11:47, Nigel Kersten wrote: > On Thu, Apr 14, 2011 at 4:41 PM, James Turnbull > wrote: > > Stefan Schulte wrote: > >> Any chance to address #6845 in this release (patch already sent to > >> puppet-dev)? The mountprovider is currently not working at all on > >> Solaris (the title