[Puppet Users] Re: Dynamic scoping deprecated - for defines also?

2013-03-07 Thread Bruce
No response to this? I'm trying to clean up code to eventually move to 3.x, and I'm running into this as well. Have defines with variables and then templates which reference those variables. How do I explicitly scope it? -- You received this message because you are subscribed to the Google

Re: [Puppet Users] Re: Dynamic scoping deprecated - for defines also?

2013-03-07 Thread Bruce
That doesn't sound like a description of dynamic scoping. Best to show > examples > Sure thing. class foo { define add_foo ( $foo_name ) { file { '/etc/some/file': content => template("foo/file.erb") } } Then in file.erb: <%= scope.lookupvar('foo::add_foo::foo_name') %> So that

Re: [Puppet Users] Re: Dynamic scoping deprecated - for defines also?

2013-03-07 Thread Bruce
just do <%= @foo_name %> the vars in the define is local scope, just use > them > This worked great. I'm a little shaky on when I can use @variables. Is there documentation you could point me at? Thanks again. -- You received this message because you are subscribed to the Google Groups

[Puppet Users] 2.7 -> 3.1 upgrade path?

2013-05-08 Thread Bruce
Hi, We have hosts running 2.7 client, a single puppet master, and we're using Puppet Dashboard for ENC. What would be a recommended order of operations to get to 3.1 on client/server, and using PuppetDB instead? Thanks! -- You received this message because you are subscribed to the Google

[Puppet Users] Node definition against list in an array?

2012-08-27 Thread Bruce
Hi, I have several large lists of nodes which have very dissimilar (almost random) hostnames, but the exact same puppet definitions. Is it possible to define them in arrays, and then do something like node $array_of_nodes { include foo include bar } node $array_of_nodes2 { include woz } Is

[Puppet Users] Actual diffs in puppetdb?

2013-11-19 Thread Bruce
Any plans to get the actual diffs of file changes into puppetdb? Right now you get the hashes of the buckets on the host, but if diffs could get into puppetdb, it could be extremely useful. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To u

Re: [Puppet Users] Actual diffs in puppetdb?

2013-11-19 Thread Bruce
On Tuesday, November 19, 2013 9:05:05 AM UTC-8, Ryan Senior wrote: > > I've recently added a feature to catalog hashes, similar to what you are > describing as a sort of debug mode option. It's in master now and should > be in the next release (1.6). More information is available in the ticke

Re: [Puppet Users] Actual diffs in puppetdb?

2013-11-19 Thread Bruce
On Tuesday, November 19, 2013 9:29:16 AM UTC-8, R.I. Pienaar wrote: > > > the other side of the coin is that often diffs contain sensitive > information. > > I think the default behaviour used to be that these were in reports but it > just burned many people. > That's true. Maybe it could be

Re: [Puppet Users] Actual diffs in puppetdb?

2013-11-19 Thread Bruce
On Tuesday, November 19, 2013 9:59:23 AM UTC-8, Bruce wrote: > > >> I see how to set the central buckets up. Is there a programatic way to > access that data? > Nevermind. Found http://docs.puppetlabs.com/man/filebucket.html -- You received this message because you are

[Puppet Users] Configure puppetdb to allow cross domain requests?

2014-04-21 Thread Bruce
Hi, I'm trying to do some interesting javascript integration between grafana and puppetdb. I'd like a grafana scripted dashboard to to make a puppetdb API call, to then create a list of hosts for a dashboard. However, this is a cross-domain request, so browsers don't allow it. With Apache, I

Re: [Puppet Users] Stopping two services at once

2011-05-16 Thread Bruce Richardson
> ensure => stopped, > enable => false, > } Are you trying to have simultaneous stoppage or just save typing? You can achiev the latter by service { [ 'sendmail', 'exim' ]: ensure => stopped, enable => false, } -- Bruce What w

Re: [Puppet Users] Single and Double Quotes

2011-06-05 Thread Bruce Richardson
rt human reader who may be debugging the code. I consider that more valuable than consistency for consistency's sake. -- Bruce I must admit that the existence of Disneyland (which I know is real) proves that we are not living in Judea in AD 50. -- Philip K. Dick -- You received this

[Puppet Users] Puppet module layout

2011-06-18 Thread Bruce Bushby
sudo::file (have puppet serve the sudo template) then in "os/manifests/site.pp" . would I import sudo? and the second question: How would I create hosts groups? I would like to group my hosts in "dev", "uat", "staging" and "prod" etc? Thank

[Puppet Users] Re: Puppet module layout

2011-06-20 Thread Bruce Bushby
One last question: Would the list suggest implementing "augeas" where possible? and would "augeas" fit into the "module layout" Thanks Bruce On Jun 18, 9:29 am, Bruce Bushby wrote: > Hello > > I'm new to large scale puppet deployment and was ho

[Puppet Users] Re: Puppet module layout

2011-06-20 Thread Bruce Bushby
other parameters to the puppet client here PUPPET_EXTRA_OPTS=--waitforcert=500 [root@msukpuppet02 puppet]# I have checked both systems time is correct perfect and both system resolve in the dns correctly for both A and PTR records. I'm using RHEL 6.1 (puppet-0.25.5-1.el6.noarch) Thanks a

[Puppet Users] Re: Puppet module layout

2011-06-20 Thread Bruce Bushby
sults in case others have a similar question. Bruce On Jun 20, 7:30 pm, Ken Barber wrote: > > Getting back to my ultra simple setup, I'm finding that I can't run > > "puppetd --test": > > [root@msukpuppet02 puppet]# puppetd --test > > err: Could not

[Puppet Users] Re: Puppet module layout

2011-06-23 Thread Bruce Bushby
lists. Is this even possible? On Jun 20, 5:50 pm, Nigel Kersten wrote: > On Sat, Jun 18, 2011 at 1:29 AM, Bruce Bushby wrote: > > > > > > > > > > > Hello > > > I'm new to large scale puppet deployment and was hoping the list could > > of

Re: [Puppet Users] Does Node Inheritance work for people?

2011-08-05 Thread Bruce Richardson
eciate that's quite something of a redesign and would make optimisation more difficult (at lest, starting from where we are now). -- Bruce A problem shared brings the consolation that someone else is now feeling as miserable as you. -- You received this message because you are subscribed

Re: [Puppet Users] Re: Does Node Inheritance work for people?

2011-08-11 Thread Bruce Richardson
your nodes. That, though, is only hiding the problem and still means much more noise than is necessary in the communication between the ECN and Puppet (which is still a potential source of error, as the same datum transmitted many times is more likely to be corrupted/distorted in one of those inst

Re: [Puppet Users] Is it possible to conditionally replace a file ?

2011-11-28 Thread Bruce Richardson
here is more than one way to do this. What kind of conditions woud you be testing for? -- Bruce A problem shared brings the consolation that someone else is now feeling as miserable as you. -- You received this message because you are subscribed to the Google Groups "Puppet Users&qu

Re: [Puppet Users] Is it possible to conditionally replace a file ?

2011-11-28 Thread Bruce Richardson
exist already). The Unix user creation tools will copy the /etc/skel files into the right place when Puppet invokes them. This only fails if you need different dotfiles (differing by content and/or name) for different users. If you don't, simple win -- Bruce Hierophant: someone who rememb

Re: [Puppet Users] cucumber-puppet and environments

2010-09-14 Thread Bruce Richardson
I really don't like about the way Puppet implements them is the fact that the *client* specifies which environment to use. This is just plain wrong. At the very least, the puppetmaster should be able to ignore or override the client's idea of which environment to use on a per host basis.

Re: [Puppet Users] cucumber-puppet and environments

2010-09-16 Thread Bruce Richardson
doesn't leave you much choice if you want to use environments), it's vulnerable to error, fragile and potentially insecure. -- Bruce I unfortunately do not know how to turn cheese into gold. -- You received this message because you are subscribed to the Google Groups "Puppet Us

Re: [Puppet Users] Users with puppet

2010-09-22 Thread Bruce Richardson
ere is little variation in their configuration. -- Bruce Bitterly it mathinketh me, that I spent mine wholle lyf in the lists against the ignorant. -- Roger Bacon, "Doctor Mirabilis" -- You received this message because you are subscribed to the Google Groups "Puppet Users" g

Re: [Puppet Users] Best practice using puppet and SVN in a production environment

2010-09-26 Thread Bruce Richardson
re they people in another department, customers or what?) and what are their skills? -- Bruce Hierophant: someone who remembers, when you are on the way down, everything you did to them on the way up. -- You received this message because you are subscribed to the Google Groups "Puppet

Re: [Puppet Users] exec and subsribe

2010-09-26 Thread Bruce Richardson
it depend whatever the FILE notifies the > EXEC? No. Notify and subscribe set up the same relationship, just like before and require. -- Bruce Remember you're a Womble. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post

Re: [Puppet Users] best way to include a variable in many modules ?

2010-09-26 Thread Bruce Richardson
It seems odd to be stepping outside the puppet DSL for something so basic. -- Bruce If the universe were simple enough to be understood, we would be too simple to understand it. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To po

Re: [Puppet Users] Variables with class inheritance and templates

2010-09-28 Thread Bruce Richardson
tive where it should be DRY and a potential source of error. Still, puppet's the best option around. -- Bruce The ice-caps are melting, tra-la-la-la. All the world is drowning, tra-la-la-la-la. -- Tiny Tim. -- You received this message because you are subscribed to the Google Groups

Re: [Puppet Users] Overwrite default settings in nodes using external nodes.

2010-09-29 Thread Bruce Richardson
s bad to have configuration in two places: external nodes > and cvs's files. I agree. -- Bruce A problem shared brings the consolation that someone else is now feeling as miserable as you. -- You received this message because you are subscribed to the Google Groups "Puppet Users" gr

Re: [Puppet Users] mount type attempting remount when ensure => present

2010-10-01 Thread Bruce Richardson
online documentation (which is autogenerated), "Set to present to add to fstab but not change mount/unmount status " Which is the opposite of what you say it is doing. But I believe you, because I know I've seen this behaviour reported before, although it may have been on this list

Re: [Puppet Users] mount type attempting remount when ensure => present

2010-10-01 Thread Bruce Richardson
On Fri, Oct 01, 2010 at 08:55:34AM -0400, Rob McBroom wrote: > I've added a use case to the bug report. > > On Oct 1, 2010, at 4:30 AM, Bruce Richardson wrote: > > > According to the online documentation (which is autogenerated), "Set to > > present to add to

[Puppet Users] Puppet truth, nil and templates

2010-10-05 Thread Bruce Richardson
) within a scope and so make it undefined for the template. It would be a very useful thing to be able to do; makes for much cleaner code. Have I missed something? -- Bruce I object to intellect without discipline. I object to power without constructive purpose. -- Spock -- You received this

Re: [Puppet Users] Puppetd attempting to install packages that aren't required

2010-10-05 Thread Bruce Richardson
p config file is '/etc/libnss-ldap.conf'") hidden within the module. -- Bruce I object to intellect without discipline. I object to power without constructive purpose. -- Spock -- You received this message because you are subscribed to the Google Groups "Puppet Users"

[Puppet Users] tidy resource logging conflict

2010-10-06 Thread Bruce Richardson
resolving this? -- Bruce A problem shared brings the consolation that someone else is now feeling as miserable as you. -- 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] puppetd memory consumption

2010-10-06 Thread Bruce Richardson
On Wed, Oct 06, 2010 at 03:18:44PM +0200, Peter Meier wrote: > > about how many files are we talking under the hierarchy of the recurse > file resources? and how big are they? And which filesystem type. Some are much more painful to walk than others. -- Bruce What would Edward Wo

Re: [Puppet Users] Re: puppet push mode

2010-10-06 Thread Bruce Richardson
of handling this our should I resort to basic sh > > scripting to accommodate this? > > @reboot if your cron supports that? If it doesn't, every Linux distribution and *nix has a set of initscripts (rc scripts on BSDs) that run only on boot. Just run the puppet (rather than pup

Re: [Puppet Users] tidy resource logging conflict

2010-10-06 Thread Bruce Richardson
On Wed, Oct 06, 2010 at 02:06:29PM +0100, Bruce Richardson wrote: > I think it would be reasonable of puppet not to log the tidying of files > which are not actually tidied. Do people agree? In which case I'll > file a bug report. Or have I missed a clean way of resolving this?

Re: [Puppet Users] tidy resource logging conflict

2010-10-06 Thread Bruce Richardson
iles is being logged. And because it is imaginary, and the files remain in place, it's logged on *every* run. >I hope this general rule helps: > > If puppet is logging something about a resource every run AND not > changing anything AND not failing, I think you should file a bug.

Re: [Puppet Users] serialized or limited parallelism

2010-10-11 Thread Bruce Richardson
. Do you have an example that would make a more direct case for puppet having the kind of mechanism you're looking for? -- Bruce If the universe were simple enough to be understood, we would be too simple to understand it. -- You received this message because you are subscribed to the

Re: [Puppet Users] Re: serialized or limited parallelism

2010-10-12 Thread Bruce Richardson
cture (the mcollective suggestion was a good one). Is it crucial that the data be current at the beginning any puppet run? Is the data itself used in configuring the host, or is it just the presence of current data that has an effect on how/when puppet runs? -- Bruce Explota!: miles de lem

Re: [Puppet Users] Prefixing syslog messages with client names

2010-10-12 Thread Bruce Richardson
do this for you quite easily) or have logwatch track it. The benefits of this are a) log redundancy, b) you get to see what the client is doing even when the puppetmaster is down (or not visible to the client) and c) less load on the puppetmaster (logging can become a significant extra load if you

Re: [Puppet Users] Re: serialized or limited parallelism

2010-10-12 Thread Bruce Richardson
vide you with a way of managing parallel execution? -- Bruce If the universe were simple enough to be understood, we would be too simple to understand it. -- 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] Variable of define is used more than once

2010-10-13 Thread Bruce Richardson
On Wed, Oct 13, 2010 at 11:07:27AM -0400, Disconnect wrote: > > Note that I didn't reply to the OP, I replied to Nigel's sarcasm. > You could take this up with one of the Debian puppet package maintainers. Oh, but then you already have... -- Bruce I unfortunately do n

Re: [Puppet Users] Variable of define is used more than once

2010-10-13 Thread Bruce Richardson
e of your monit module, you'll have to make changes twice: once in the lenny version, once in the squeeze version. You have so many duplicate classes that you're bound to slip somewhere and make the change in one version and not in the other (or do it slightly differently in the other).

Re: [Puppet Users] Problems with Solaris 10 & adduser

2010-10-13 Thread Bruce Richardson
rned > 1:" What happens if you run /usr/sbin/useradd -s /bin/bash -c "Full Name" -d /u/user1 -m user1 from the command line. -- Bruce Hierophant: someone who remembers, when you are on the way down, everything you did to them on the way up. signature.asc Description: Digital signature

Re: [Puppet Users] Variable of define is used more than once

2010-10-13 Thread Bruce Richardson
litle confused to see no package dependencies in those modules - really, a module should be a self-contained unit that contains everything that describes the core function. Even if you decide you want a special package-handling module (which can look attractive when you first come to Puppet but rea

Re: [Puppet Users] Puppet client log events, centralized?

2010-10-13 Thread Bruce Richardson
upon? > > I probably missed a configuration directive. http://projects.puppetlabs.com/projects/1/wiki/Reports_And_Reporting -- Bruce Get thee behind me, Stan: for it is written, thou hast gotten me into another fine mess. -- Oliver 4:8 signature.asc Description: Digital signature

Re: [Puppet Users] puppet node names

2010-10-14 Thread Bruce Richardson
g odd in puppet.conf on your nodes. I've never seen puppet do that. -- Bruce I unfortunately do not know how to turn cheese into gold. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet

Re: [Puppet Users] how can i determinate from one class if another class applied?

2010-10-15 Thread Bruce Richardson
On Fri, Oct 15, 2010 at 12:40:57AM -0700, walexey wrote: > Hello everybody! > How can i determinate from one class if another class applied to the > this node? Use the defined() function. -- Bruce What would Edward Woodward do? -- You received this message because you are subscrib

Re: [Puppet Users] Re: how can i determinate from one class if another class applied?

2010-10-15 Thread Bruce Richardson
te::role classes and in the samba::packages class where the named classes are internal to the samba module and contain collections of packages (and their dependencies) relevant to specific versions of Samba. -- Bruce Explota!: miles de lemmings no pueden estar equivocados. -- You received this

Re: [Puppet Users] stages examples/advices

2010-10-15 Thread Bruce Richardson
B will not be evaluated if any resource in class A fails. Is this true in the second example? I actually hope not; if it is true, stages have to be used very carefully indeed. -- Bruce What would Edward Woodward do? -- You received this message because you are subscribed to the Goog

Re: [Puppet Users] Re: how can i determinate from one class if another class applied?

2010-10-15 Thread Bruce Richardson
include samba::winbind } } nsswitch.conf.erb passwd: files <% if winbind_integration == true %>winbind<% end %> ldap nsswitch.conf.erb It's not the most elegant solution (not the last bit, anyway) but it works and if you can't trust yourself to set the

Re: [Puppet Users] Negate or uninclude a class

2010-10-18 Thread Bruce Richardson
uder { 'setup': } } class child inherits base { Includer['setup'] { include => false } } - I wouldn't do it that way unless there were other specific benefits to the define, though. The varia

Re: [Puppet Users] Re: Negate or uninclude a class

2010-10-18 Thread Bruce Richardson
On Mon, Oct 18, 2010 at 07:20:10AM -0700, jcbollinger wrote: > > On Oct 18, 4:38 am, Bruce Richardson wrote: > > No, you can't uninclude a class.   > > Right. > > > > Is the only way to do this to inherit the base class and override all > > > it

Re: [Puppet Users] Puppet Application Server Deployment

2010-10-18 Thread Bruce Richardson
is when you have to decide whether to deploy and configure individual Java applications to JOnAS, or how much of the configuration is done by puppet, how much through the JOnAS console. People have very different philosphical approaches to that. Nice to have the choice, though. -- Bruce What

Re: [Puppet Users] setting type defaults in some classes

2010-10-18 Thread Bruce Richardson
.pp for diff porjects sharing main site.pp. Is > puppet evaluating site..p hiericaly? Or all site.pp are evaluated with > same importance. You're going to have to explain that in a little more detail. It's not clear how you have this organised. -- Bruce I see a mouse. Where? Th

Re: [Puppet Users] setting type defaults in some classes

2010-10-18 Thread Bruce Richardson
nes its own defaults for modules2"? Is it posssible that site2.pp imports modules2? And that you have a bunch of classes defined in site2.pp? Because if that's the case, I have to tell you that the defaults in site2.pp are irrelevant. What counts is what the defaults are in the scope

Re: [Puppet Users] setting type defaults in some classes

2010-10-19 Thread Bruce Richardson
t wins. If there is no conflict, they are added together. If you go back to my example, I set a default of "ensure = file" at the top level. Because none of the later defaults had an "ensure" parameter, all files inherited that default. I also set "mode = 750"

Re: [Puppet Users] Re: Negate or uninclude a class

2010-10-19 Thread Bruce Richardson
e genuine keywords. But if you're telling me that the community is not just proposing to remove dynamic variable scope but also to remove the ability to say "if { include class }", not provide any alternatives and force people to have to clumsily override every resource in a class wh

Re: [Puppet Users] Re: Negate or uninclude a class

2010-10-19 Thread Bruce Richardson
damage, so to speak. This is more than semantic quibbling about how to label different states; inheriting and overriding a more complex state to impose a simpler state is not the same as defaulting to the simpler state. So in my situation, "if { include class }" works very well. -- Bruce

[Puppet Users] nagios_service types and "name"

2010-10-20 Thread Bruce Richardson
os_service type have "use" and "register" parameters, because they are useless without the ability to attach names to services in the generated nagios config. Hopefully I am just missing something and can be pointed patiently to the way to do what I want. -- Bruce What would

Re: [Puppet Users] nagios_service types and "name"

2010-10-20 Thread Bruce Richardson
On Wed, Oct 20, 2010 at 05:16:39PM +0100, Bruce Richardson wrote: > desired behaviour, why does the nagios_service type have "use" and > "register" parameters, because they are useless without the ability to > attach names to services in the generated nagios

Re: [Puppet Users] nagios_service types and "name"

2010-10-21 Thread Bruce Richardson
On Wed, Oct 20, 2010 at 05:16:39PM +0100, Bruce Richardson wrote: > It seems that the nagios_service type will not write out the "name" > property of nagios service objects. I had thought this was an oversight > or a bug, till I saw this thread: > > http://www.

Re: [Puppet Users] Moving the puppet master

2010-10-29 Thread Bruce Richardson
#x27;s own name. I then set certname and certdnsnames in the puppetmaster config and start it up - a certificate with the right CN will be created. -- Bruce Get thee behind me, Stan: for it is written, thou hast gotten me into another fine mess. -- Oliver 4:8 -- You received this message

Re: [Puppet Users] require service started at another node

2010-10-29 Thread Bruce Richardson
database is broken? How will you cope if the database service dies once your appserver has started? -- Bruce If the universe were simple enough to be understood, we would be too simple to understand it. -- You received this message because you are subscribed to the Google Groups "Puppet U

Re: [Puppet Users] Re: require service started at another node

2010-11-01 Thread Bruce Richardson
On Sun, Oct 31, 2010 at 11:44:51PM -0700, Leonko wrote: > Hello, Bruce. At now we have hard dependence between file storage, db > server and appserver. If it chain broken at any phase we get the > message from zabbix. But that's not a problem. Zabbix is monitoring software: it *sh

Re: [Puppet Users] Re: require service started at another node

2010-11-01 Thread Bruce Richardson
perfectly possible to deploy java applications in a way which allows them to cope with the temporary absence of a database server. -- Bruce Bitterly it mathinketh me, that I spent mine wholle lyf in the lists against the ignorant. -- Roger Bacon, "Doctor Mirabilis" -- You received this

Re: [Puppet Users] Help with LDAP, Users, and Puppet..

2010-11-01 Thread Bruce Richardson
and it doesnt > seem to when we log in and check by hand, so I don't know why puppet > is failing. nsscache is probably at fault. Try removing it from nsswitch on a machine which has shown this problem and then see how that affects things. -- Bruce I must admit that the existence of

Re: [Puppet Users] puppetd misbehaving on a debian based box.

2010-11-01 Thread Bruce Richardson
try taking a copy of /var/lib/puppet before you remove, then compare the contents when you reinstall. May help you find the problem. -- Bruce Bitterly it mathinketh me, that I spent mine wholle lyf in the lists against the ignorant. -- Roger Bacon, "Doctor Mirabilis" signature.as

Re: [Puppet Users] Help with LDAP, Users, and Puppet..

2010-11-02 Thread Bruce Richardson
during puppet runs? -- Bruce I must admit that the existence of Disneyland (which I know is real) proves that we are not living in Judea in AD 50. -- Philip K. Dick -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this gro

Re: [Puppet Users] Help with LDAP, Users, and Puppet..

2010-11-02 Thread Bruce Richardson
On Tue, Nov 02, 2010 at 09:35:24AM +, Michael Gliwinski wrote: > On Tuesday 02 Nov 2010 01:53:34 Bruce Richardson wrote: > > nsscache is probably at fault. Try removing it from nsswitch on > > a machine which has shown this problem and then see how that affects > > th

Re: [Puppet Users] Prevent users from creating new accounts

2010-11-05 Thread Bruce Richardson
tablish the default for any user resources declared within Puppet. It would have no effect on users created outside of puppet with names not used in Puppet. -- Bruce I object to intellect without discipline. I object to power without constructive purpose. -- Spock -- You received this message be

Re: [Puppet Users] Re: Prevent users from creating new accounts

2010-11-05 Thread Bruce Richardson
avoid it locking puppet down as well. And if puppet isn't locked down, and they have root access... -- Bruce A problem shared brings the consolation that someone else is now feeling as miserable as you. -- You received this message because you are subscribed to the Google Groups "Pu

Re: [Puppet Users] selectors in type defaults

2010-11-09 Thread Bruce Richardson
se } and then user { 'at': managed => true } Is there some reason you don't want that? Hmm. Are you perhaps working under the mistaken assumption that a User defaults declaration will affect all users on the box? Because the truth is that

Re: [Puppet Users] using puppet to restore root access to a box

2010-11-11 Thread Bruce Richardson
opy the file; write it. So do content => file( whatever ) rather than source => 'puppet:///whatever' -- Bruce Remember you're a Womble. -- You received this message because you are subscribed to the Google Groups "Puppet Users"

Re: [Puppet Users] using puppet to restore root access to a box

2010-11-11 Thread Bruce Richardson
.com/puppet-...@googlegroups.com/msg08787.html If there's a version of 2.6 where that fix has gone in, you need that version. If not, you could try applying the patch yourself ;) -- Bruce Bitterly it mathinketh me, that I spent mine wholle lyf in the lists against the ignoran

Re: [Puppet Users] syntax for class names

2010-11-11 Thread Bruce Richardson
e used from the class's namespace. > The alternative is to do them separately and pass in the same > information that I already passed in to the class, which seems messier > than just providing them from the class's namespace. I think there may be a misplaced word in there; it does

Re: [Puppet Users] syntax for class names

2010-11-11 Thread Bruce Richardson
knew somebody was going to say that. I don't much like the idea of ruby manifests; it seems to turn Puppet's design upside down. I try to reduce the direct use of Ruby in my puppet configurations to an absolute minimum. -- Bruce It is impolite to tell a man who is carrying you on

Re: [Puppet Users] pushing files with host based variables?

2011-01-10 Thread Bruce Richardson
ation consists of specifying which resources you do or don't want present in which circumstances. Most of the rest of it is about defining which resources depend on which others (e.g. this running application depends on that configuration file). You describe how a system should look and Puppet

Re: [Puppet Users] Re: pushing files with host based variables?

2011-01-10 Thread Bruce Richardson
e, and the "purge => true" line would otherwise remove them)). Note also that I don't need to specify the values of $fqdn and $hostname, because these are "facts" which puppet can find out for itself (I do specify $primary_ipaddress in this example, because a host may

Re: [Puppet Users] Re: pushing files with host based variables?

2011-01-10 Thread Bruce Richardson
ernal Nodes, which would scale better for you than describing all 6000 nodes in a text file. http://docs.puppetlabs.com/guides/external_nodes.html -- Bruce I object to intellect without discipline. I object to power without constructive purpose. -- Spock -- You received this message beca

Re: [Puppet Users] Re: pushing files with host based variables?

2011-01-10 Thread Bruce Richardson
On Mon, Jan 10, 2011 at 11:19:03AM -0800, trey85stang wrote: > Bruce, I think what you are saying is clicking now. > > Now does puppet allow any variable substitution? I do urge you to stop thinking in terms of scripts. It doesn't map well onto the way that Puppet works. If you

Re: [Puppet Users] Differences between puppet and puppetd

2011-01-11 Thread Bruce Richardson
7;/bin/' on it so that puppetd can find /bin/sh, in my experience. When you run puppet rather than puppetd, it's inheriting your environment with your path. -- Bruce It is impolite to tell a man who is carrying you on his shoulders that his head smells. -- You received this message be

Re: [Puppet Users] Puppet Clients requesting classes

2011-01-11 Thread Bruce Richardson
ou not to do this. -- Bruce Hierophant: someone who remembers, when you are on the way down, everything you did to them on the way up. -- 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] Fwd: [Puppet-dev] Proposal: move parameter/property validation from master to agent

2011-01-11 Thread Bruce Richardson
Tried resubscribing and it tells me I am subscribed. Still no messages. -- Bruce Remember you're a Womble. -- 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

Re: [Puppet Users] Puppet Clients requesting classes

2011-01-11 Thread Bruce Richardson
ing to justify that approach. And I did tell him how to do it, anyway. Can't say fairer than that. -- Bruce I must admit that the existence of Disneyland (which I know is real) proves that we are not living in Judea in AD 50. -- Philip K. Dick -- You received this message because

Re: [Puppet Users] Re: Dependency resolution for packages

2011-01-12 Thread Bruce Richardson
ure what causes this inconsistency, but it has something to do > with yum dependency resolution and the dependencies as defined in the > manifest. Are you sure that all the machines were in precisely the same state with regard to packages before the upgrades? -- Bruce Get thee behind me, St

Re: [Puppet Users] Re: Set client environment on master

2011-01-18 Thread Bruce Richardson
t discussion* Ouch. If the client were still allowed to override the environment, even when the server was explicitly set to be authoritative, that would make a complete nonsense of "authoritative". Glad the discussion has gone the other way. -- Bruce Get thee behind me, Stan: for it

Re: [Puppet Users] Re: Set client environment on master

2011-01-19 Thread Bruce Richardson
On Thu, Jan 20, 2011 at 10:04:37AM +1100, John Warburton wrote: > On 19 January 2011 17:41, Bruce Richardson wrote: > > > On Wed, Jan 19, 2011 at 05:10:56PM +1100, John Warburton wrote: > > > wishes - https://projects.puppetlabs.com/issues/3910 > > > > *Looks at

[Puppet Users] Manifest not applied unless touched

2011-04-28 Thread Bruce P
Simply editing the file and saving it isn't enough. I've verified that the clocks on both hosts are in sync - they're both configured to use NTP & are fully synced. I'm not sure what else to check. Any ideas why I'm seeing this behavior? Thanks, -Bruce -- Y

Re: [Puppet Users] Modules metadata standards

2009-12-20 Thread Bruce Williams
sent in the metadata -- especially information beyond the authorship and dependency information. Perhaps a wiki page is a good place to start (focusing on the information to be supported -- not the format, which is an implementation detail). Cheers, Bruce -- Bruce Williams http://reductivelabs

Re: [Puppet Users] New Puppet Documentation Site

2010-01-14 Thread Bruce Williams
y (just as you would with puppet, the dashboard, etc) -- and don't forget we're more than happy to accept content and design contributions[2] from the git-enabled. Cheers, Bruce [1]: http://projects.reductivelabs.com/projects/puppet-docs/issues [2]: http://docs.reductivelabs.com/contribu

Re: [Puppet Users] cfengine like groups

2010-02-02 Thread Bruce Richardson
Puppet config. This isn't exactly a lightweight solution either and is a lot of work if you didn't need this feature for anything else. There are other ways to do it, but they do mean working against puppet's design and it can be painful. FWIW, I really don't like the way node

Re: [Puppet Users] Making the new users experience easier

2010-02-09 Thread Bruce Williams
nity contributions to the curated docs, which need to be kept to a much higher standard of quality than the "wild west" of wiki docs. If anyone wants to just send me email about portions that suck (in the static docs), let me know, and I'll get those cleaned up. This sounds great,

Re: [Puppet Users] Making the new users experience easier

2010-02-09 Thread Bruce Williams
viously if folks can file tickets directly that's better :) Agreed; there's also the Feedback tab directly from the docs site, using GetSatisfaction; a little less formal than Redmine tickets, at least. The more communication paths the merrier, provided there's a canonical

Re: [Puppet Users] managing secondary groups

2010-03-15 Thread Bruce Richardson
ame The result will be the same. How did you think it might be different? The path to execution within Puppet will be different, which may or may not matter to you. -- Bruce Remember you're a Womble. -- You received this message because you are subscribed to the Google Groups "

Re: [Puppet Users] is puppet the right tool for me?

2010-04-07 Thread Bruce Richardson
one scripts. So you don't need to incur the overhead of running puppetmaster and puppet daemons just for your sites. Of course, you can do this yourself by choosing your own templating system and writing scripts to manipulate it, but puppet can make it much simpler. -- Bruce If the un

Re: [Puppet Users] How to push config from master ?

2010-04-07 Thread Bruce Richardson
ly triggering cfengine (and there are ways to protect against that). Seems to me that the same thing can be achieved with puppetrun and tags (or custom facts or some method you roll for yourself of communicating arbitrary conditions to puppet). What am I missing? -- Bruce I must admit that the exis

Re: [Puppet Users] is puppet the right tool for me?

2010-04-08 Thread Bruce Richardson
ange one thing at a time wherever possible. -- Bruce Hierophant: someone who remembers, when you are on the way down, everything you did to them on the way up. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to t

Re: [Puppet Users] Re: Puppet commands giving nothing but a stack trace

2010-04-09 Thread Bruce Richardson
config on the box without telling you? There's ironic and there's plain contrary. -- Bruce Explota!: miles de lemmings no pueden estar equivocados. signature.asc Description: Digital signature

  1   2   >