-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
+1 here
As a distribution packager, a clear place to put things specific to the
distribution is a big win for me. I've struggled in the past decided
whether to package the clean upstream sources, or to add my own tweaks
as well. To date, I've kept it
Life is far, far saner if you can make a package. Things like FPM
make this sort of thing so easy (e.g. turn a tarball into an RPM)
you need a very good reason not to.
On 30 April 2012 01:39, Shoujin Wang wrote:
> I have some old packages which was not in standard RPM/DEB packages.
> We have ou
Hi Len,
Thanks for the reply, sorry I should have been a bit clearer I
actually meant puppet modules.
Ie I want to be able to establish if a puppet module is installed in
the one of the modulepath locations
root@core modules/puppet# puppet config print modulepath
/etc/puppet/modules:/usr/share/p
On Apr 27, 6:21 pm, Steve Roberts wrote:
> On Apr 18, 6:46 am, jcbollinger wrote:
>
> > On Apr 17, 5:04 pm,SteveRoberts wrote:
>
> > > On Apr 17, 6:25 am, jcbollinger wrote:
> > > well, allowdupe doesn't fix the issue only masks it. I knew about
> > > taht attribute but
> > > it just adds a d
On Apr 27, 8:12 am, Andre Nathan wrote:
> Hello John
>
> On Friday, April 27, 2012 9:58:09 AM UTC-3, jcbollinger wrote:
>
> > I know it's not what you want to hear, but Hiera is your best bet. I
> > don't think the code base size is relevant, because I don't think the
> > time and effort to imp
Hello there,
I need to access the following hiera data in a script:
$ hiera -c /etc/puppet/hiera.yaml tomcats environment=development
line=intra3
["tc7_test1", "tc7_test8"]
or
$ hiera -c /etc/puppet/hiera.yaml apache_port environment=development
line=intra3 name=tc7_test1
81
The example on http
On Apr 28, 9:53 am, Philip Brown wrote:
> On Saturday, April 28, 2012 2:11:23 AM UTC-7, Luke Bigum wrote:
>
> > Yes, Puppet is perfect for your file-copy-and-hook scenario. In Puppet
> > speak it's "notify" and "subscribe" between resources, here's a very
> > quick example that will restart Some
I need to manage some directories, ensure they are created/present,
owner/groups/modes are correct.I have a static list of directories that
will be present on this group of servers. However, down the road one of
the nodes may need a new partition that the other nodes may not.
I've created a "
Hi James,
First off, if you "inherit server::directories" your server class gets
all the variables in it's local namespace, so you can just use
$server::directories::data_dir1 as $data_dir1 and don't have to worry
about two levels of :: namespace :-)
Can't you just use an array here?
class
Hi.
I have to install a client/server app. The server end is easily set
up but I need a puppet module that ensures a package is installed on a
managed node only if the server package has already been installed on
a different server.
Is there a way to do this?
--
This email and any files transmi
- Original Message -
> From: "Andreas Paul"
> To: puppet-users@googlegroups.com
> Sent: Monday, April 30, 2012 2:52:00 PM
> Subject: [Puppet Users] querying hiera data without providing host/scope
>
> Hello there,
>
> I need to access the following hiera data in a script:
> $ hiera -c
Hi,
I don't actually see foreman_env - here's the actual output:
environment: development
classes:
- concat::setup
- dns
- facts
- hardening
- mcollective
- network
- ntp
- postfix
- rhel
- satellite::client
- snmpd
- ssh
- sudo
- users
- vmware
parameters:
puppetmaster: puppet
mac:
Hi,
I have a modul which created the vhosts and based on the variables defined
there i am creating nagios defacement host cfg.
My problem is that I can't conditionally decide if the file should be
created, based on the variable which will get content in the node config:
When the condition get eval
On Mon, Apr 30, 2012 at 6:52 AM, jcbollinger wrote:
>
>
> On Apr 28, 9:53 am, Philip Brown wrote:
>
>> Sadly, the chances of getting all sysadmins to be dilligent about creating
>> packages are pretty much zero.
>> They only want to deal with premade downloadable packages.
>
>
> It sounds like yo
Hi,
I have a modul which created the vhosts and based on the variables
defined there i am creating nagios defacement host cfg.
My problem is that I can't conditionally decide if the file should be
created, based on the variable which will get content in the node
config:
When the condition get eval
Hmm. Are you definitely using the node.rb from here?
http://theforeman.org/projects/foreman/wiki/External_Nodes
Also that doesn't 100% look like the output of Foreman's ENC, are you
sure your node.rb is pointing at Foreman, including the correct port?
Thanks,
Brian
On Mon, Apr 30, 2012 at 11:37
On Fri, 27 Apr 2012, denmat wrote:
> Well, the good news is you're not crazy :)
>
> I loaded up a 5.7 instance and puppet 2.7.9+ and got the same result as you!
>
> I did a yum update and got the same issue - so it is not a common
> issue that is already fixed.
>
> I did a manual rpm --import
Hi,
Yeah, that's the script I've grabbed. Only difference(s) are, I'm
using #!/opt/puppet/bin/ruby (embedded ruby
shipped w/ Puppet Enterprise), and have the script located in /etc/
puppetlabs/puppet/node.rb - but that's reflected
in the puppetmaster's puppet.conf. external_nodes = /etc/puppe
Ok, thanks Nick. I'll look into using a regex match on the client cert (and
yes, you're right. I am :)
On Thursday, 26 April 2012 18:00:24 UTC-7, Nick Fagerlund wrote:
>
> Yeah, I'm pretty sure that's not supported.
>
> But you could implement whatever you're trying to do with a regular
> regex
Hey all,
Are there any patterns or recommendations on uninstalling or downgrading
a puppet module (read as software) on a node?
An example would be that we're running with =>latest or a specific
version of rpms and have decided that there is a bug or problem with the
software and that we we
Hi,
Sorry if this has been answered somewhere. I haven't found the answer
(albeit I could have invested more time on it) anywhere.
I'd like to access the version of the module within templates of the
module itself, so by simple inspection of the generated files in a
concrete node, I can figure
On Mon, Apr 30, 2012 at 3:24 PM, Chris Hirsch wrote:
> Are there any patterns or recommendations on uninstalling or downgrading a
> puppet module (read as software) on a node?
I have a puppet-newrelic module for a pay-per-seat monitoring package
that I uninstall when I'm done using it on a partic
Hi,
To my knowledge there is no simple way. I know there has been talk of this
previously on the list so you can search that for other answers.
That said a possibility is that you can have a custom fact that checks for an
open port on the server. If it responds set it to true. There are obvious
I'm trying to define a static media server that uses a common website
layout (e.g. with directories `etc/`, `log/`, `html/`, etc.), as well as an
nginx config that will get included into a host-wide nginx config. The
site's nginx config needs to make use of the doc root that gets defined by
th
Hi all,
we're going to try a google+ hangout session this friday on puppet.
It's not so suitable for US timezones, but matches well with Europe,
Asia and Australia timezones. It will basically be an informal hangout
where we discuss various topics of interest in the puppet ecosystem.
Come join us
25 matches
Mail list logo