On Tuesday, August 12, 2014 5:58:34 PM UTC+2, Ramin K wrote:
On 8/12/2014 8:54 AM, Ramin K wrote:
[...]
You could try dropping the table and recreating it, but it might orphan
all the resources. If you want the longer safer way, this is how I've
done it in the past. Note that
Hi,
I think you can use file_line from stdlib
https://forge.puppetlabs.com/puppetlabs/stdlib#file_line
It's really more simple than Augeas and it works better.
For multi-line I also use editfile a custom module, but you need to be
good with regex =)
Hello John,
from a puppet-beginners point of view it seems astonishing that running
puppet agent -t on node A can have influence on the catalog prepared for
node B.
I agree that your inital response perfectly fitted to the solution of the
problem. Thanks for that explanation!
Kind regards
Hi David,
Many thanks for the information, but still I am having some issues with
puppet class when I am trying to use double quotes.
This is working good
setm *[label() =~ glob('ifcfg-eth*')] NM_CONTROLLED no,
But, this isn't. I tried few combinations of single and double quotes, but
none of
when i disable puppet service ,centos5.3 system always have change:
Notice: /Stage[main]/Puppet/Service[puppet]/ensure: ensure changed
'running' to 'stopped' Notice: Finished catalog run in 1.15 seconds
just say the code :
[root@xen-21206-vm02 ~]# puppet resource service puppet -d
Debug:
The init script on 5 only checks for running puppet processes. puppet
resource is a puppet process. Therefore the init script thinks the
service is running.
Solution: use Service#pattern to match bettern on the process name.
Regards, David
On 2014-08-14 12:06, li jackie wrote:
when i
is it possible to run agent with negated tag?
for example
puppet agent --verbose --no-daemonize --runinterval=30 --tags !negated_tag
of course above is not working
i want to simply compile and run puppet catalog without specific
negated_tag tagged resources
regards
--
You received this
$ cat /etc/puppet/puppet.conf
[main]
environmentpath = $confdir/environments
basemodulepath = $confdir/environments/$environment/dist
$ sudo puppet config print modulepath --environment datanode
/etc/puppet/environments/datanode/modules:/etc/puppet/environments/datanode/dist
$ ls ~/puppet
Hello Roman Shiryaev,
Did you find the solution for this issue. I am facing the same issue and
not finding any solution anywhere.
Do share if your workaround if any.
Thanks
Veda
On Friday, December 13, 2013 1:00:37 PM UTC+5:30, Roman Shiryaev wrote:
Hello,
just upgraded Hiera from ver.
We are having an issue with some modules. They are adding the correct path,
but they do not remove the old path:
C:\Windows\system32path
PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program
Files
I'm trying to sign this new github linked CLA and it's saying the my
email address is already taken, which I'm guessing is because my
puppetlabs and github accounts share a common email address. How can I
get around this annoyance?
--
Later,
Darin
--
You received this message because you are
On Wednesday, August 13, 2014 10:34:30 PM UTC-5, Garrett Honeycutt wrote:
I'm not familiar with winbind itself though your performance might
improve by using nscd to cache the lookups.
Although in principle a name service cache might help with the performance
issue, the winbind docs say
I'm trying to sign this new github linked CLA and it's saying the my
email address is already taken, which I'm guessing is because my
puppetlabs and github accounts share a common email address. How can I
get around this annoyance?
Can you try logging a ticket here?
https://tickets.puppetlabs.com/browse/CLA-4
--
Later,
Darin
On Thu, Aug 14, 2014 at 8:59 AM, Ken Barber k...@puppetlabs.com wrote:
I'm trying to sign this new github linked CLA and it's saying the my
email address is already taken, which I'm guessing is because my
puppetlabs and github
On Thu, Aug 14, 2014 at 6:16 AM, Darin Perusich da...@darins.net wrote:
https://tickets.puppetlabs.com/browse/CLA-4
--
Later,
Darin
On Thu, Aug 14, 2014 at 8:59 AM, Ken Barber k...@puppetlabs.com wrote:
I'm trying to sign this new github linked CLA and it's saying the my
email address is
I have a mix of hosts with several OSs and many versions of each on three
different puppet masters that I am working to bring together onto one
puppet master and upgrade as much as possible. I need a tool to keep track
of what I have so I know what I need to change.
I want to:
View and query an
Hi to everybody,
I'm really sorry for this late answer.
I solved the problem using Gitolite for the users code and the puppet
variable config_version to run a script for automatically updating the
environments.
I needed to do this because this is a temporary multiusers enviroment for a
This might give you some: http://puppetlabs.com/mcollective
In your situation I would get puppetdb on all puppetmasters and wait until
after the next set of agent runs to query it/them.
On Thu, Aug 14, 2014 at 09:09:12AM -0700, Atom Powers wrote:
I have a mix of hosts with several OSs and
I want to 'manage' the files in a certain directory ONLY if the rpm is
updated. Any help is appreciated.
For example (this doesn't work):
package { 'package-name' :
ensure = 'Version-2',
provider = 'rpm',
}
file { '/home/thisuser/.java' :
ensure = directory,
subscribe
I've got a pretty strange issue here. Imagine we have two servers...
*ServerA* and *ServerB*. Last night *ServerB* pulled down some
configuration bits from our puppet servers and tried to re-name itself to
*ServerA*.
How? Well theres two things that may have triggered this behavior.
1. We use a
If somebody came to me with this question at work, I'd ask why they aren't
already managing the files in the directory to eliminate this dependency.
There's no refreshonly for files like there is for execs per the type list,
so you're out of luck there (not all types can refresh).
We noticed that our puppet reports and our puppet node data stored on our
puppet servers is always written out in the form of the 'node name'. So
when we use a node name like 'prod_webserver' across many webserver
machines, we get a tree of reports and node data like this:
I created a small POC module using puppet from master and `puppet module
generate`
I still have rspec-puppet go inside the apt module in fixtures and execute
the tests:
Failures:
1) poc with defaults for all parameters should contain Class[poc]
Failure/Error: it { should
On 8/14/14 3:56 PM, Sebastian Otaegui wrote:
I created a small POC module using puppet from master and `puppet module
generate`
I still have rspec-puppet go inside the apt module in fixtures and
execute the tests:
Failures:
1) poc with defaults for all parameters should contain
Hi Vikas,
On Thu, Aug 14, 2014 at 12:09 AM, Vikas Kumar vikas...@gmail.com wrote:
But, this isn't. I tried few combinations of single and double quotes, but
none of them are working :(
setm *[label() =~ glob('ifcfg-eth*')] NM_CONTROLLED \'no\',
The problem is that the Puppet string is
Hi Garrett,
thanks, just to clarify and make sure I understood, so it is not running
the spec.rb files in apt/spec/* but it is just evaluating the facts within
the puppet runtime in the apt/manifest/*.pp, right?
Thanks
On Thu, Aug 14, 2014 at 3:27 PM, Garrett Honeycutt g...@garretthoneycutt.com
On 8/14/14 4:58 PM, Sebastian Otaegui wrote:
Hi Garrett,
thanks, just to clarify and make sure I understood, so it is not running
the spec.rb files in apt/spec/* but it is just evaluating the facts
within the puppet runtime in the apt/manifest/*.pp, right?
Thanks
On Thu, Aug 14, 2014
Using puppetdbquery (https://github.com/dalen/puppet-puppetdbquery), you could
do something like this in your manifests -
$hosts = query_nodes('Class[memcached]', hostname)
And then loop through this in your template -
% @hosts.sort.each do |host| -%%= host %:%= @memcached_port % % end -%
The Puppet Practitioner course talks about this. Look at exported resources
and exported resource collectors
Each node exports the resource then can collect the set ( probably , by doubt
the puppetdb query under the hood)
On Aug 14, 2014, at 6:44 PM, Matthew Schmitt killas...@gmail.com wrote:
snip lots of debug output that is just noise
And AH HA! I did grep -HnR Firewall
/etc/puppet/environments/production/modules/*/manifests/ and see the
problem, I'm using older version of puppetlabs-firewall that does
Package['iptables-services'] - Firewall || for EL7. I had not
pushed my fork to
Awesome David, many thanks for the explanation and the code as well, works
like a charm.
Regards,
Vikas
On Friday, 15 August 2014 06:47:58 UTC+10, David Lutterkort wrote:
Hi Vikas,
On Thu, Aug 14, 2014 at 12:09 AM, Vikas Kumar vika...@gmail.com
javascript: wrote:
But, this isn't. I
31 matches
Mail list logo