thank you David~
I changed some config,and it work fine~
service { 'puppet':
ensure => 'running',
enable => 'false',
}
changed
service { 'puppet':
ensure => 'running',
enable => 'false',
hasstatus => 'false', status => '/etc/init.d/puppet status'
}
as you said . if the service
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 > wrote:
>
>
>> But, this isn't. I tried few combinations
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 my "master", and what's worse is I'
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 wrote:
>
> Using pup
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 -
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
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
wrote:
> On 8/14/14 3:56
Hi Vikas,
On Thu, Aug 14, 2014 at 12:09 AM, Vikas Kumar 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 enclosed in do
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 conta
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 contain_class('po
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:
/var/lib/puppet/yaml/
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").
https://d
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 c
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,
subscri
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 m
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
tutorial
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 in
On Thu, Aug 14, 2014 at 6:16 AM, Darin Perusich wrote:
> https://tickets.puppetlabs.com/browse/CLA-4
> --
> Later,
> Darin
>
>
> On Thu, Aug 14, 2014 at 8:59 AM, Ken Barber wrote:
>>> I'm trying to "sign" this new github linked CLA and it's saying the my
>>> email address is already taken, which
https://tickets.puppetlabs.com/browse/CLA-4
--
Later,
Darin
On Thu, Aug 14, 2014 at 8:59 AM, Ken Barber 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 accounts share a c
> 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.pupp
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 doc
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 s
We are having an issue with some modules. They are adding the correct path,
but they do not remove the old path:
C:\Windows\system32>path
PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program
Files (x86)\IBM\RationalSDLC\common;;C:\
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.
$ 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
Puppetf
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 messa
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 dis
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:
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 o
29 matches
Mail list logo