I have two puppet configurations, one for the office and one for production.
We have some directories in common (both for files and for classes) using
SVN externals. So the format is like:
puppet-common
* files
* classes
puppet-prod
* files
* files/common -> puppet-common/files
* ma
multipaths {
<% devices.each do |key,value| -%>
multipath {
wwid<%= value %>
alias <%= key %>
}
<% end -%>
}
On Tue, May 17, 2011 at 2:29 AM, Aaron Grewell wrote:
> Hi all,
> I'm trying to figure out the intersection of hashes and ERB. I don't know
> Ruby,
Hi all,
I'm trying to configure a set of network interfaces, so I downloaded the
puppet-network module from the module forge. I enabled plugin sync per
http://docs.puppetlabs.com/guides/plugins_in_modules.htm and added the
module to my module path, but I'm getting an 'invalid resource type' error
- Original Message -
> r...@devco.net ("R.I.Pienaar") writes:
>
> > - Original Message -
> > > john.bollin...@stjude.org (jcbollinger) writes:
> > >
> > > Perhaps. To some extend my non-parameterised classes are _very_
> > > similar
> > > in many ways except for various paramete
r...@devco.net ("R.I.Pienaar") writes:
> - Original Message -
> > john.bollin...@stjude.org (jcbollinger) writes:
> >
> > Perhaps. To some extend my non-parameterised classes are _very_ similar
> > in many ways except for various parameters (creation of logical volumes
> > and filesystems
Hi John,
john.bollin...@stjude.org (jcbollinger) writes:
...
> Let's not cast things in terms of "correctness," except insomuch as
> whether they reliably produce the desired effect on clients.
Indeed. As always there is more than one way to solve a problem.
> Depending on what you're trying t
On Mon, May 16, 2011 at 4:08 PM, Chris Phillips wrote:
> Why the distinction between the two? What's wrong with using a LAN IP on the
> puppetmaster machine as well? To me that's much clearer that misusing
> loopback.
I seem to recall doing that to allow a newly provisioned puppetmaster
to bootst
- Original Message -
> john.bollin...@stjude.org (jcbollinger) writes:
>
> Perhaps. To some extend my non-parameterised classes are _very_ similar
> in many ways except for various parameters (creation of logical volumes
> and filesystems, version of mysql to use, creation of certain cro
john.bollin...@stjude.org (jcbollinger) writes:
> On May 14, 8:52 am, Simon J Mudd wrote:
>
> > However, from the discussion a few things strike me:
> >
> > 1. the use of parameterised classes is recommended heavily. I've just
> > found out about this "new feature" inspite of using puppet for a
Hello!
I have question about Debian package management with puppet. I'm
wondering is there sane way to make puppet respects packages pinning?
i.e., if I have several repos for one package, let's say it is "nginx"
which can be found in lenny & lenny-backports repos. I've created
pinning file like:
P
Hey all...new to puppet, but desperately pushing it on everyone I see
around me :)...
I'm running into a relatively minor issue that keeps puppet from
properly completing its first run. Subsequent runs do not have these
issues, and I'm confused why. It appears to be looking for a different
repo's
On Mon, May 16, 2011 at 12:54:02PM -0700, Daniel Pittman wrote:
> On Mon, May 16, 2011 at 12:50, Robin Lee Powell
> wrote:
> > On Mon, May 16, 2011 at 12:35:10PM -0700, Robin Lee Powell wrote:
>
> >> (2) How do I turn the git source into a gem?
> >
> > Figured (2) out; still wondering about the o
On 16 May 2011 20:26, Adam Heinz wrote:
I just refer to the puppetmaster as 'puppet' everywhere and drop an
> entry in /etc/hosts for it. Then if I wanted to migrate off a server,
> I would just hardcode away $servername and $serverip on the old
> puppetmaster to point to the new one, and copy t
Hello...
I ran into a buglet in facter 1.5.9rc6 (from tmz repo). In normal AWS
instances it works great. In VPC instances if doesn't work. This seems
to be because VPC instances don't use the fe:ff:ff:... MAC addresses.
/sbin/ifconfig
eth0 Link encap:Ethernet HWaddr 02:67:4E:E1:26:30
On 16 May 2011 20:14, Jonathan Gazeley wrote:
> Hi Chris,
>
> We have configured puppet to manage its own puppet.conf on clients, and to
> ensure that puppetd is running on all hosts. However it does not manage
> puppet.conf on the puppetmaster, so if we accidentally mess up the config,
> we won't
On Mon, May 16, 2011 at 12:50, Robin Lee Powell
wrote:
> On Mon, May 16, 2011 at 12:35:10PM -0700, Robin Lee Powell wrote:
>>
>> I'm installing puppet from git per instructions in another thread.
>>
>> The instructions given at
>> http://docs.puppetlabs.com/guides/installation.html for installing
On Mon, May 16, 2011 at 12:35:10PM -0700, Robin Lee Powell wrote:
>
> I'm installing puppet from git per instructions in another thread.
>
> The instructions given at
> http://docs.puppetlabs.com/guides/installation.html for installing
> puppet from source lead to it dumping things all over my Ru
I'm installing puppet from git per instructions in another thread.
The instructions given at
http://docs.puppetlabs.com/guides/installation.html for installing
puppet from source lead to it dumping things all over my Ruby, which
I really wasn't expecting and doesn't work well with our
environment
On Mon, May 16, 2011 at 3:14 PM, Jonathan Gazeley
wrote:
> The hostname of the puppetmaster is hard-coded, in our case. Can anyone
> think of a better way of identifying the puppetmaster, so our manifests will
> run anywhere, if we decide to make a different machine the puppetmaster?
I just refer
Hi Chris,
We have configured puppet to manage its own puppet.conf on clients, and
to ensure that puppetd is running on all hosts. However it does not
manage puppet.conf on the puppetmaster, so if we accidentally mess up
the config, we won't break the puppetmaster.
The hostname of the puppetm
Hi all,
I'm trying to figure out the intersection of hashes and ERB. I don't know
Ruby, so I put this together from examples available online and predictably
it generates an ERB syntax error. Can you point me in the right direction?
### Call:
class {'multipath':
devices => {
oradata0
Hi,
Is there a general feel on whether puppet should look after its own
client configuration files and service status? I'd not foresee problems
about a "service ensure enabled" for puppetd and a file object for the
puppet.conf but clearly wouldn't want to risk locking ourselves out of the
clients
Hi Simon,
On May 14, 2:55 am, Simon J Mudd wrote:
> Hi John,
>
> While you obviously disagree with me, thanks for taking the time to
> reply. I may be looking at the problem the wrong way which is why
> I'm trying to figure out if that's the case and why.
Fair enough.
> john.bollin...@stjude.
On Mon, May 16, 2011 at 12:16:53PM +0100, Jonathan Gazeley wrote:
> Is there a way to stop and disable two services in one declaration?
> Currently I have this:
>
> # Stop sendmail
> service { "sendmail":
> ensure => stopped,
> enable => false,
> }
>
> # Stop exim
> service { "exim":
On Mon, May 16, 2011 at 7:16 AM, Jonathan Gazeley
wrote:
> Is it possible to format that like this?:
>
> service { "disabledemail":
> name => ['sendmail', 'exim'],
> ensure => stopped,
> enable => false,
> }
I think you mean
service {[ 'sendmail', 'exim']:
ensure => stoppe
On May 14, 8:52 am, Simon J Mudd wrote:
> sjm...@pobox.com (Simon J Mudd) writes:
>
> > john.bollin...@stjude.org (jcbollinger) writes:
>
> > > In fact, Puppet Labs's own recently updated style guide recommends
> > > against using extlookup(), though that position is controversial.
>
> > I found
Is there a way to stop and disable two services in one declaration?
Currently I have this:
# Stop sendmail
service { "sendmail":
ensure => stopped,
enable => false,
}
# Stop exim
service { "exim":
ensure => stopped,
enable => false,
}
Is it possible to format th
On 15 May 2011 20:27, Matthias Saou <
th...@spam.spam.spam.spam.spam.spam.spam.egg.and.spam.freshrpms.net> wrote:
> Dan Bode wrote:
>
> > I have an implementation question:
> >
> > 1. Why are you doing the chkconfig exec:
> >
> > exec { "chkconfig ${title} on":
> > notify => S
28 matches
Mail list logo