So setting aside if this is a good idea or not, you can do this in a
single exec resource. Look at
https://docs.puppet.com/puppet/latest/reference/types/exec.html
Pay particular attention to onlyif, refreshonly, unless, and creates.
Used either alone or in concert with the file resource type
:
On Thursday, October 30, 2014 12:00:21 PM UTC-5, Nick Cammorato wrote:
I don't see why you couldn't write a hiera backend to do exactly this.
The current puppetdb hiera backend wouldn't be too hard to modify to
do it I don't think.
You couldn't write an Hiera back end to do this particular
I don't see why you couldn't write a hiera backend to do exactly this.
The current puppetdb hiera backend wouldn't be too hard to modify to
do it I don't think.
--Nick
On Thu, Oct 30, 2014 at 12:36 PM, Atom Powers atom.pow...@gmail.com wrote:
Is it possible, and how, to collect exported
Pre-commit hooks are great but Github and github enterprise won't enforce
them(arbitrary code on the server is uncool for some reason), so if you
want to be 100% and use either they still need to be run as part of your
jenkins build task.
On Aug 6, 2014 7:11 PM, John Warburton jwarbur...@gmail.com
Did anyone try using the EL7 RPM? I've had success with testing with it in
the RHEL7 beta, so if amazon has moved closer to RHEL7, it should be worth
a shot.
--Nick
On Fri, Apr 4, 2014 at 3:40 PM, Tom Poulton poulton...@gmail.com wrote:
I was running into this problem as well so I ran:
, not Hash*
=(
On Friday, January 17, 2014 5:10:16 AM UTC-2, Andrew wrote:
another option to use create_resources('hostinclude',$netentry)
On 16 Jan 2014 23:47, Nick Cammorato nick.ca...@gmail.com wrote:
Your augeas resource is always called hosts_include which is why it's
doing that. Try
Your augeas resource is always called hosts_include which is why it's doing
that. Try including the entry[name] in that resource name.
On Jan 16, 2014 4:15 PM, Reinaldo Lima reiml...@gmail.com wrote:
Hi Everyone,
I'm trying to write a class that put some entries in /etc/hosts file as
follow
Mostly surrounding if there are better(less hackish) ways of doing things.
The first is the classic exported resource expiration problem. My existing
modules use a wrapper that uses an inline template to call out to Ruby's
Time function, set a timestamp, and set the resource to absent after an
You should be able to rig something up using the existing cs_primitive,
cs_clone and cs_property provider/types, although I've avoided doing this
as it worries me. The problem as far as I can tell is that cs_primitive
assumes a provider, primitive class, and primitive type, and stonith
Which puppetlabs-corosync are you using? There are 19 forks of it last I
checked(including one by me for my own needs surrounding DRBD which is now
horribly out of date).
I would change this:
cs_order { 'jboss_ip_before_jboss':
first = 'applayer_ip',
second = 'applayer_jboss',
Right now we're deploying via cap and something custom and part of the
deployment is a config yaml file which puppet parses via facter in order to
determine how to do the OS/middleware config. It works fairly well, but it
feels kludgy to do it this way.
I've been wanting to cook something up
% of
the time(which populates the management classes), and it all works, it
might break in the future. I was hoping there was another way of exposing
this.
On Thursday, July 12, 2012 7:14:16 PM UTC-4, R.I. Pienaar wrote:
- Original Message -
From: Nick Cammorato nick_cammor
a choice.
On Saturday, July 14, 2012 11:36:50 AM UTC-4, R.I. Pienaar wrote:
- Original Message -
From: Nick Cammorato nick_cammor...@terc.edu
To: puppet-users@googlegroups.com
Sent: Saturday, July 14, 2012 3:04:48 PM
Subject: Re: [Puppet Users] Using catalog
inventory/Puppet
UTC-4, R.I. Pienaar wrote:
- Original Message -
From: Nick Cammorato nick_cammor...@terc.edu
To: puppet-users@googlegroups.com
Sent: Saturday, July 14, 2012 5:02:29 PM
Subject: Re: [Puppet Users] Using catalog
inventory/Puppet::Resource::Catalog?
Sorry, I should've
You could do something like this, it's not the cleanest in the world(I
barely ever use sed anymore), but as something quick and dirty:
curl -k -H Accept: yaml https://puppet:8140/mgmt/resource_types/class |
more | grep name: | sed -e 's/^ *name: //;s/id.* //' | sort | uniq
It'll have some
I'd like to be able to get a list of all of the classes being applied to
my nodes and insert this as a list into mcollective's facts.yaml file. The
reason for this is that I have a couple post-commit hooks that parse out
changes to specific modules/classes for changelog purposes and I'm
16 matches
Mail list logo