Re: [Puppet Users] When running puppetd on client get an error

2011-07-28 Thread Alan Barrett
at's referenced from the puppet.conf file on the master. Look at what that script is doing, and try running the same or similar commands by hand. --apb (Alan Barrett) -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to thi

Re: [Puppet Users] Testing if a puppet class is going to be installed

2011-07-13 Thread Alan Barrett
ng these parameters", and let the apache class call that. Behind the scenes, the nagios class would use concat and concat::fragment to do the work. See <http://www.devco.net/archives/2010/02/19/building_files_from_fragments_with_puppet.php> for an example. --apb (Alan Bar

Re: [Puppet Users] Trying to write a visudo checker

2011-03-04 Thread Alan Barrett
/file instead of /dir/subdir/file is enough to fool the code that adds implicit dependencies. --apb (Alan Barrett) -- 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.

Re: [Puppet Users] External node script flagging errors.

2011-03-02 Thread Alan Barrett
ke this: if $error_message { fail("External node classifier says: $error_message") } --apb (Alan Barrett) -- 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.

Re: [Puppet Users] Where to put External Nodes in Multiple Environments?

2011-02-28 Thread Alan Barrett
On Mon, 28 Feb 2011, Douglas Garstang wrote: How is it possible to use external nodes as local files? I was under the impression that node_terminus=exec or node_terminus=ldap were the only ways of using external nodes. Really? That might be because everyone seems to be on the LDAP external n

Re: [Puppet Users] Where to put External Nodes in Multiple Environments?

2011-02-28 Thread Alan Barrett
/extdata/nodes I don't do this, obviously, because I didn't know it was possible. However, I'd probably be inclined to store the data in an environment-specific directory. --apb (Alan Barrett) -- You received this message because you are subscribed to the Google Groups "

Re: [Puppet Users] ssh_authorized_key runs every time

2011-02-24 Thread Alan Barrett
On Wed, 23 Feb 2011, mark risher wrote: >ssh_authorized_key { $username: >ensure => present, >key => "abcdefghijklmnop_very_long_string", You don't have the 'user' or 'type' parameters. Perhaps that's related to th

Re: [Puppet Users] external_nodes setting with Environments

2011-02-24 Thread Alan Barrett
e belongs to). I don't know what you mean by "set of external nodes"; if you are referring to some sort of data that is used by the external_nodes script, then obviously it depends on how the script is written. --apb (Alan Barrett) -- You received this message because you are subscrib

Re: [Puppet Users] Do people walk the filebucket tree searching by path?

2011-02-18 Thread Alan Barrett
cket than by searching all old logs back to the beginning of time. --apb (Alan Barrett) -- 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 gro

Re: [Puppet Users] Re: Configuration not applied, Finished catalog run in 0.01 seconds

2011-01-26 Thread Alan Barrett
On Wed, 26 Jan 2011, Daniel Pittman wrote: > I would love to create a bug for this, because "silently" is a bad > thing: we should either work, or complain about not working, not just > silently ignore anything. See issue #4690 and issue #3514. --apb (Alan Barrett) -- You re

Re: [Puppet Users] Silence reports for one specific resource?

2011-01-07 Thread Alan Barrett
On Fri, 07 Jan 2011, Patrick wrote: > On Jan 6, 2011, at 10:55 PM, Alan Barrett wrote: > > I probably wouldn't do this, but: > > > >exec { "secret stuff": > > command => "/bin/false", > > unless => "do the real wo

Re: [Puppet Users] Silence reports for one specific resource?

2011-01-06 Thread Alan Barrett
command => "whatever", noop => false, # overrides global noop mode } --apb (Alan Barrett) -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@googlegroups.com.

Re: [Puppet Users] Documentation of report formats

2011-01-06 Thread Alan Barrett
quot;: property was out of sync, and couldn't be changed to be in sync > due to an error. > - "noop": property was out of sync, and wasn't changed due to noop mode. > - "audit": property was in sync, and was being audited. Thank you! At the time I checked the Repo

Re: [Puppet Users] Re: Managing cronjobs as a file in solaris with appendifnosuchline for specific servers

2011-01-05 Thread Alan Barrett
;; the other rule says "it must contain a line that says 'works'". You can't simultaneously satisfy both rules, but puppet tries as hard as it can, removing the "works" line when it focuses on the "file" rule, and reinstating the "works" line when it focuses

Re: [Puppet Users] Re: Managing cronjobs as a file in solaris with appendifnosuchline for specific servers

2011-01-05 Thread Alan Barrett
nstead of echo to avoid portability problems with different versions of echo interpreting "-" or "\" differently. * Use grep -F option to make it search for a fixed string instead of a regular expression; * Use grep -e option to avoid problems if $line begins with "-&q

Re: [Puppet Users] Managing cronjobs as a file in solaris with appendifnosuchline for specific servers

2011-01-04 Thread Alan Barrett
t. Some of the comments at <http://www.devco.net/archives/2010/02/19/building_files_from_fragments_with_puppet.php> discuss tradeoffs between concat and augeas. --apb (Alan Barrett) -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. T

Re: [Puppet Users] race conditions in using "svn update" in puppetmaster's /etc/puppet directory?

2011-01-04 Thread Alan Barrett
ly use a symlink to switch atomically between two working copies. --apb (Alan Barrett) -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@googlegroups.com. To unsubscribe from t

Re: [Puppet Users] Documentation of report formats

2011-01-01 Thread Alan Barrett
for noop mode? I didn't notice anything like status = "out of sync, but did not change due to noop mode". --apb (Alan Barrett) -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...

Re: [Puppet Users] Re: Puppet & Hudson CI

2010-12-31 Thread Alan Barrett
other people might find it more convenient to time travel within the history of a single branch; the time travelers might occasionally want to switch from one branch to another. --apb (Alan Barrett) -- You received this message because you are subscribed to the Google Groups "Puppet Users"

Re: [Puppet Users] "# Only restart if we're actually running"

2010-12-22 Thread Alan Barrett
but perhaps it can do enough log analysis to help? --apb (Alan Barrett) -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@googlegroups.com. To unsubscribe from this group, send email t

Re: [Puppet Users] Update time in template file.

2010-12-21 Thread Alan Barrett
filename from the template itself, > but I havent figured that out; __FILE__ and ARGV are not working] Feature request #4359 asks for a way that templates can get their own name. It's not possible at the moment. --apb (Alan Barrett) -- You received this message because you are subscribed

Re: [Puppet Users] n00b questions - verbosity of config????

2010-12-20 Thread Alan Barrett
no variable for the first instance of > "/etc/syslog-ng/syslog-ng.conf" > ??? No, but you can define your own variable and use that, or you can wrap it in a definition and use $name inside the definition. > Is there a simple way to say "just create any directories you ne

Re: [Puppet Users] Combine multiple CA certificates into a bundle

2010-11-30 Thread Alan Barrett
dmit that I did not have time to continue troubleshooting this > further... Thanks. I give up now. --apb (Alan Barrett) -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@googlegroup

Re: [Puppet Users] Combine multiple CA certificates into a bundle

2010-11-29 Thread Alan Barrett
rtificate. "openssl crl -text" reports that the ca_crl.pem file contains no revocations. --apb (Alan Barrett) -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@googlegroups.com. T

Re: [Puppet Users] Combine multiple CA certificates into a bundle

2010-11-29 Thread Alan Barrett
ms to have something to do with the problem but I haven't figured out the details. If I delete that file, then the puppetd client can connect, and it downloads a fresh copy of the CRL, after which it can no longer connect. I have configured certificate_revocation=false on the server, but it never

Re: [Puppet Users] Combine multiple CA certificates into a bundle

2010-11-29 Thread Alan Barrett
On Mon, 29 Nov 2010, Alan Barrett wrote: > It seems to me that I should be able to take the $ssldir/ca/ca_crt.pem > files from the two puppetmasters, concatenate them to create a > ca-bundle.pem file, and place the bundle in some suitable place where > any client or server can use t

Re: [Puppet Users] Combine multiple CA certificates into a bundle

2010-11-29 Thread Alan Barrett
On Mon, 29 Nov 2010, Alan Barrett wrote: > I am struggling with using multiple puppet CAs. I think I am missing > information about which files are used for which purposes by different > parts of puppetmasterd, puppetd, puppetca, and the apache/passenger > frontend. For example, w

[Puppet Users] Combine multiple CA certificates into a bundle

2010-11-29 Thread Alan Barrett
bundle to verify certificates from any CA. I haven't been able to figure out where that suitable place is. Help? --apb (Alan Barrett) -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send ema

Re: [Puppet Users] Does puppetmaster knows its own configuration parameters?

2010-11-03 Thread Alan Barrett
ver, puppet.server and search(), but failed. Do you > know where in the documentation or in the wiki could I have found this? No, sorry. I think I picked it up from reading the source code. --apb (Alan Barrett) -- You received this message because you are subscribed to the Google Groups &qu

Re: [Puppet Users] Does puppetmaster knows its own configuration parameters?

2010-11-02 Thread Alan Barrett
$server = $settings::server In version 0.25, you can say $server = inline_template("<%= Puppet.settings[:server] %>"). --apb (Alan Barrett) -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group,

Re: [Puppet Users] Re: YUMREPO { productname => PowerEdge 2650}

2010-09-29 Thread Alan Barrett
ut with only one single quotation... The closing quotation mark is probably on a different line. This implies that the variable's value contains an embedded newline character. --apb (Alan Barrett) -- You received this message because you are subscribed to the Google Groups "Puppet Users&qu

Re: [Puppet Users] noop "Out of sync" reporting

2010-09-27 Thread Alan Barrett
er Thanks. --apb (Alan Barrett) -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.

Re: [Puppet Users] Proposal to remove redundant info in source => parameters

2010-09-27 Thread Alan Barrett
C 3986 section 3 says 'When authority is not present, the path cannot begin with two slash characters ("//").' --apb (Alan Barrett) -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group,

Re: [Puppet Users] noop "Out of sync" reporting

2010-09-26 Thread Alan Barrett
<http://projects.puppetlabs.com/projects/1/wiki/Release_Notes> do not mention "audit". The metaparameters documentation at <http://docs.puppetlabs.com/references/latest/metaparameter.html> does not mention "audit". --apb (Alan Barrett) -- You received this mes

Re: [Puppet Users] cucumber-puppet and environments

2010-09-17 Thread Alan Barrett
t, though I think they would expose catalogs being compiled with a modulepath for the wrong environment. I don't set modulepath at the top level or in the [puppetmasterd] section; it's set only in the environment-specific sections of puppet.conf. --apb (Alan Barrett) -- You received this

Re: [Puppet Users] cucumber-puppet and environments

2010-09-17 Thread Alan Barrett
On Fri, 17 Sep 2010, Nigel Kersten wrote: > >> On Wed, Sep 15, 2010 at 09:31:19PM +0200, Alan Barrett wrote: > >> > I use an external node classifier purely for the purpose of > >> > setting the environment [...] > > I have tested with incorrect environments

Re: [Puppet Users] cucumber-puppet and environments

2010-09-17 Thread Alan Barrett
On Thu, 16 Sep 2010, Bruce Richardson wrote: > On Wed, Sep 15, 2010 at 09:31:19PM +0200, Alan Barrett wrote: > > I use an external node classifier purely for the purpose of setting > > the environment [...] > You're still trusting the client. Yes, for file serving, as I di

Re: [Puppet Users] Glassfish asadmin provider

2010-09-16 Thread Alan Barrett
I take from the POSIX spec is that one could argue either way about whether or not it's an error for the "type" command to report that a target command does not exist; but for the "command -v" command it's clear that nonexistence of the target command sho

Re: [Puppet Users] cucumber-puppet and environments

2010-09-15 Thread Alan Barrett
On Wed, 15 Sep 2010, Nigel Kersten wrote: > On Wed, Sep 15, 2010 at 12:31 PM, Alan Barrett wrote: > > On Wed, 15 Sep 2010, Nigel Kersten wrote: > >> > The external node classifier can override the client's idea of the > >> > environment. >

Re: [Puppet Users] cucumber-puppet and environments

2010-09-15 Thread Alan Barrett
uppet.conf from a template, to make the client specify the correct environment on the next run. --apb (Alan Barrett) -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@googlegroups.com. To u

Re: [Puppet Users] cucumber-puppet and environments

2010-09-15 Thread Alan Barrett
o ignore or override the client's idea > of which environment to use on a per host basis. The external node classifier can override the client's idea of the environment. --apb (Alan Barrett) -- You received this message because you are subscribed to the Google Groups "

Re: [Puppet Users] Puppet use with OLPC's XS

2010-09-09 Thread Alan Barrett
ile loop in the "command" parameter of a puppet exec resource, or write a wrapper script that loops. To run a command once per puppet run as long as it keeps failing, but stop after it has been successful once, can use the exec/onlyif technique. I don't want to add anything to th

Re: [Puppet Users] ANNOUNCE: Puppet 2.6.1 - Release Candidate 2 available!

2010-08-17 Thread Alan Barrett
6.1rc1, which was about 50% slower than 0.25.5. Thank you! --apb (Alan Barrett) -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@googlegroups.com. To unsubscribe from this group, send

Re: [Puppet Users] Re: Could not retrieve catalog from remote server & Duplicate definition

2010-08-13 Thread Alan Barrett
On Wed, 11 Aug 2010, martin kummer wrote: > [files] > path /etc/puppet/files > allow 178.78.72.121 <-space here > > this breaks the puppetmaster silently. this is real bad. this must be > a bug. This is puppet bug #3514. It's supposed to be fixed in version 2

[Puppet Users] variable scoping problems with "import"

2010-08-05 Thread Alan Barrett
[in node: x="x set in node" y="y default set in defs.pp"]/message: defined 'message' as 'in node: x="x set in node" y="y default set in defs.pp"' Why is it seeing $x as undefined, and taking the wrong branch of the if statement in defs.pp?

Re: [Puppet Users] exec not finding shell builtins/functions?

2010-07-30 Thread Alan Barrett
ng people add sh/bash/ksh -c to the beginning of the > command in the exec. I mean, is that really such a big deal? Most of the work is already done by ruby's Kernel.exec() function; puppet would simply need the ability to pass an array all the way through to the underlying ruby function.

Re: [Puppet Users] exec not finding shell builtins/functions?

2010-07-30 Thread Alan Barrett
t; "/bin/ls | foo" } > > ...which passes it to the default system shell. +1 [I added a missing comma above.] --apb (Alan Barrett) -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to p

Re: [Puppet Users] Re: manage_internal_file_permissions, /etc/sysconfig, and/or command line startup...

2010-07-29 Thread Alan Barrett
gt; seem to work either, does it? You can't use this from the command > line, can you? The command-line equivalent would be "--no-manage_internal_file_permissions". Be careful with the hyphens and underlines. --apb (Alan Barrett) -- You received this message because you are subs

Re: [Puppet Users] Numerical Comparisons in 0.24.8

2010-07-26 Thread Alan Barrett
It didn't quite work in puppet 0.24.8, but if you copy lib/puppet/parser/functions/versioncmp.rb from puppet-0.25.0 then it should work. See issue #2110. I think you want somethng like this: if (versioncmp($version, "1.22") >= 0) { # do stuff } --apb (Alan Barrett) -

Re: [Puppet Users] Puppet 2.6 Installation

2010-07-20 Thread Alan Barrett
local/lib at run time will be placed in /tmp/altroot/usr/local/lib at install time. --apb (Alan Barrett) -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@googlegroups.com. To unsubscribe f

Re: [Puppet Users] Pushing out all templates in a directory.

2010-07-16 Thread Alan Barrett
quot;, onlyif => "some script to check whether the real files are out of sync with the bundle", } Oh, after writing the above I realised that you probably want a single template per target file, in the conventional way, but that you want an easy way of sayin

Re: [Puppet Users] External nodes script does not work with multiple environments

2010-07-13 Thread Alan Barrett
27;t find the bug report, and I don't see any errors in your config. --apb (Alan Barrett) -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@googlegroups.com. To unsubscribe from th

Re: [Puppet Users] External nodes script does not work with multiple environments

2010-07-12 Thread Alan Barrett
or an interaction between the two. Kill and restart puppetmasterd to be sure you are testing the changes you think you are testing. --apb (Alan Barrett) -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send ema

Re: [Puppet Users] Problems with require inside a definition

2010-07-09 Thread Alan Barrett
d happen. Any "require" passed to your definition should propagate to the "file" resource insuide the definition automatically. --apb (Alan Barrett) -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this

Re: [Puppet Users] Variable Scoping = Root Canal

2010-06-28 Thread Alan Barrett
acility name somewhere. If not at the node level, then where? Also, if you were willing to put "include facility::sjc" at the node level, then why is "$facility_name = sjc" any worse? I am unlikely to help you any further, unless there's a dramatic improvement in your attitu

Re: [Puppet Users] "onlyif" for resource type "file"

2010-06-28 Thread Alan Barrett
640, content => template("gu_auth/ldap.conf.rb"), } exec { "update /etc/ldap.conf": command => "cp /etc/ldap.conf.puppet /etc/ldap.conf", unless => "grep -E '^PUPPET ME NOT' /etc/ldap.conf", } --apb (Alan Ba

Re: [Puppet Users] Variable Scoping = Root Canal

2010-06-28 Thread Alan Barrett
... do something with $facility::ldapserver } > Another approach is to do everything with node inheritance Common opinion seems to be that node inheritance should be avoided. --apb (Alan Barrett) -- You received this message because you are subscribed to the Google Groups "Puppet Users&quo

Re: [Puppet Users] Installing several packages in order

2010-06-16 Thread Alan Barrett
unge the arguments, but I would probably not have found such a simple solution, and I had not yet started writing the code. --apb (Alan Barrett) -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppe

Re: [Puppet Users] Installing several packages in order

2010-06-16 Thread Alan Barrett
he right order > and doing something like: > > package{ $packages : > ensure => present, > } No, that won't install the packages in any specific order. There are no explicit or implicit dependencies between apckages in your example, but in my case I want each package to e

Re: [Puppet Users] Unable to use custom type loaded from module

2010-06-15 Thread Alan Barrett
actually doing any work in this environment though are you? No. The "fail" statement in site.pp causes an error message on the client, and nothing more happens until the configuration is fixed. --apb (Alan Barrett) -- You received this message because you are subscribed to the Goog

Re: [Puppet Users] Unable to use custom type loaded from module

2010-06-15 Thread Alan Barrett
dn't try /dev/null, but I'd be afraid of puppet converting it from a device to a directory. --apb (Alan Barrett) -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@googlegroups.com

[Puppet Users] Installing several packages in order

2010-06-15 Thread Alan Barrett
"patch1", "1.2.3.0.1", "patch2", "1.2.3.0.2", "patch3", "1.2.3.0.3"] I think I can make this work using some ugly code inside inline_template, or maybe writing my own pa

Re: [Puppet Users] Input sought on changing default vardir on OS X.

2010-06-10 Thread Alan Barrett
K for the default installation to use any directories it likes, provided it's easy to change at build time (and it is easy enough). --apb (Alan Barrett) -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to

Re: [Puppet Users] undefined method 'to_sym' for ["", "]:Array

2010-06-07 Thread Alan Barrett
uppet's "environment" variable to an array is an error. I don't know how you could prevent the LDAP "environment" variable from being copied to the puppet "environment" variable, or prevent the LDAP server from reporting the value of that variable, but per

Re: [Puppet Users] Re: External Nodes Examples

2010-06-07 Thread Alan Barrett
ons with tag or an exported file. I have the external node classifier set a $errormessage variable if appropriate, and then something included by site.pp fails if the error message is defined. --apb (Alan Barrett) -- You received this message because you are subscribed to the Google

Re: [Puppet Users] Re: External Nodes Examples

2010-06-07 Thread Alan Barrett
this YAML: --- parameters: var: "value" classes: - someclass - "complex_stuff_for_node::foo_domain_example" --apb (Alan Barrett) -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this grou

Re: [Puppet Users] Re: External Nodes Examples

2010-06-07 Thread Alan Barrett
you envisage would arise. I think I know what "a default external node that does nothing" is (it's basically the almost-empty YAML that I mentioned above), but I don't know how or why you'd have an internal node definition that referred to the empty external node defin

Re: [Puppet Users] Arbitrary barriers to bug reporting

2010-06-03 Thread Alan Barrett
). For example, projects using gnats as the bug tracker could easily reject messages that are not formatted correctly. Projects using an anonymous web form could use a CAPTCHA to slow spammers down. --apb (Alan Barrett) -- You received this message because you are subscribed to the Google

[Puppet Users] Arbitrary barriers to bug reporting

2010-06-01 Thread Alan Barrett
ffairs is not useful to the maintainers of the software, who would benefit from bug reports, but who do not benefit from people choosing not to bother reporting problems. --apb (Alan Barrett) -- You received this message because you are subscribed to the Google Groups "Puppet Users" g

Re: [Puppet Users] Have I found a bug with variables in nodes?

2010-05-12 Thread Alan Barrett
cellent! I'll change my node classifier to use that information. --apb (Alan Barrett) -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@googlegroups.com. To unsubscribe from this

Re: [Puppet Users] Have I found a bug with variables in nodes?

2010-05-12 Thread Alan Barrett
correct information to Puppet. > > > thats not correct (at least in the case of http://theforeman.org). Really? Did feature #2834 get implemented while I wasn't paying attention? --apb (Alan Barrett) -- You received this message because you are subscribed to the Google Groups

Re: [Puppet Users] OS Conditional exec.

2010-04-26 Thread Alan Barrett
On Mon, 26 Apr 2010, R.I.Pienaar wrote: > puppet really needs a downcase function. $var = "Mixed CaSe sTUff" $downcased_var = inline_template("<%= var.downcase %>") --apb (Alan Barrett) -- You received this message because you are subscribed to the Google Groups

Re: [Puppet Users] revoked host can't be re-added?

2010-04-21 Thread Alan Barrett
xt time you start puppetd, it will generate a new key for itself, generate a new certificate signing request for that key, and send the request to the server. --apb (Alan Barrett) -- You received this message because you are subscribed to the Google Groups "Puppet Users"

Re: [Puppet Users] Best practises for managing secret keys with puppet?

2010-03-26 Thread Alan Barrett
group => $group, mode => $mode, } } > So, on the whole my feeling is that an automatic "key distribution > service" that was accessible to puppet but (mostly) not to people > would be ideal. That would be nice. --apb (Alan Barrett) -- You received this me

Re: [Puppet Users] Problem with Variables and Class Inheritance

2010-03-24 Thread Alan Barrett
# do stuff with $filelist, $group, and $home } class DevelopersManager { StaffManager { "developers": filelist => "developerUserlist.txt", group => "users", home => "/home", } } c

Re: [Puppet Users] Package Providers for OS X Server

2010-03-16 Thread Alan Barrett
uot; package providers will probably be close enough. --apb (Alan Barrett) -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@googlegroups.com. To unsubscribe from this group, send email

Re: [Puppet Users] config settings for environments

2010-03-13 Thread Alan Barrett
uld yield > different results in different environments. Sorry, you are out of luck. I suggest filing a feature request for the environment name and/or other relevant variables to be passed to the config_version script. --apb (Alan Barrett) -- You received this message because you are subscri

Re: [Puppet Users] Re: Puppet 100% CPU usage

2010-03-13 Thread Alan Barrett
time (adding a message in the log), even if the files already have the correct ownership. To get rid of the unwanted log message at the expense of slower execution, add onlyif => "some command to check whether there's a problem", The onlyif command could use somet

Re: [Puppet Users] inheriting ssh_authorized_key

2010-03-13 Thread Alan Barrett
resent, key => $bob_ssh_key, type => $bob_ssh_key_type, user => "repo", options => "command=\"svnserve -t --tunnel-user=bob\"", } --apb (Alan Barrett) -- You received this message because you are subscribed t

Re: [Puppet Users] disable ssl

2010-03-13 Thread Alan Barrett
<http://reductivelabs.com/trac/puppet/wiki/ReleaseNotes#command-line-compile-apply>. --apb (Alan Barrett) -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@googlegroups.com. To unsubscribe from

Re: [Puppet Users] ssh::auth server dependency on ~/.ssh and a scoping question

2010-02-26 Thread Alan Barrett
sh/authorized_keys": source => "puppet:///wherever", require => Exec["fail if $homedir does not exist"], } --apb (Alan Barrett) -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post

Re: [Puppet Users] Cascaded conditionals possible ?

2010-02-16 Thread Alan Barrett
^ >"domain2.local" => ['10.128.36.20','10.128.36.10'], > default => ['10.128.36.10','10.2.36.20'], > } I'd put a comma here --^

Re: [Puppet Users] Building a better puppetrun and related ideas

2010-02-12 Thread Alan Barrett
t unless an authorised change is known to be ready for deployment; then puppetd is run in --noop mode to verify that the changes it wants to make are as expected; finallly puppetd is run in --no-noop mode. --apb (Alan Barrett) -- You received this message because you are subscribed to the Go

Re: [Puppet Users] virtual resource realizing by require?

2010-02-11 Thread Alan Barrett
r you want to instantiate the mount: */ include nas-1::virtual realize Util::Mymount["foo"] --apb (Alan Barrett) -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@g

Re: [Puppet Users] Building a better puppetrun and related ideas

2010-02-11 Thread Alan Barrett
se, so I run "puppetd --onetime --noop" or "puppetd --onetime --no-noop" via ssh. --apb (Alan Barrett) -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@googlegro

Re: [Puppet Users] virtual resource realizing by require?

2010-02-09 Thread Alan Barrett
dule providing > the @mount. There is a feature request for this: <http://projects.reductivelabs.com/issues/2084>. Until that is implemented, I think you'll need to work around it using a define. --apb (Alan Barrett) -- You received this message because you are subscribed to the

Re: [Puppet Users] Solaris / OpenSolaris package management

2010-01-17 Thread Alan Barrett
t; parameter to be a a filename or an URL to the individual package, not an URL to a collection of many packages. I have been using the "blastwave" provider, with a custom config file that points to a private package repository. --apb (Alan Barrett) -- You received this message because y