Displaying 20 results from an estimated 30000 matches similar to: "noop = true and what for test?"
2013 Nov 25
4
question about file {} type
My class reads like:
class name1::name2 ($gidvariable) {
file { "somepath-to-file":
ensure => file,
mode => ''0640'',
gid => $gidvariable,
}
}
The problem is that the file isn''t getting set to the $gidvariable''s value
which is a string "abc".
The other things work (presence as file, mode).
Stuart
--
You
2013 Nov 26
37
get a *structured* version of the puppet agent output
puppet agent --verbose shows a verbose output of the changes done by
puppet, such as:
notice:
/Stage[main]/Logstash::Config/Logstash::Configdir[agent]/File[/etc/logstash/agent/config]/owner:
owner changed ''root'' to ''logstash''
notice: /Stage[main]/Varnish/Service[varnish]/ensure: ensure changed
''stopped'' to ''running''
2013 Nov 14
3
What is wrong with this class?
somefile.pp
class mumble {
}
class mumble::testcontents inherits mumble {
file { "/tmp/testfile":
path => "/tmp/testfile,
ensure => present,
mode => 0640,
content => "I am a test file.",
puppet parser validate passed it.
puppet apply says it is run
yet no /tmp/testfile appears
the puppet master is running and this is being
2013 Nov 25
1
"Would have triggered 'refresh' from 2 events" in /var/log/messages
Hi,
I put a --noop into the rc file for puppet client and restarted it
and watched it log the above message.
My problem with the above message is it doesn''t give enough
detail as to what was discovered and what the 2 events were
(mode difference, file existence, etc.)
Is there a way to up the logging level for a puppet agent --noop
observation run? I tried adding --verbose in the rc
2013 May 31
22
ruby issue
Hi,
I am having problems installing Puppet Server.
My gem list follows and then the attempt to install puppet-server.
The specific errors are:
Error: Package: puppet-3.2.1-1.el6.noarch (puppetlabs)
Requires: ruby-augeas
Error: Package: hiera-1.2.1-1.el6.noarch (puppetlabs)
Requires: rubygem-json
Error: Package: puppet-3.2.1-1.el6.noarch (puppetlabs)
2012 Jul 30
7
puppet enterprise
No problem installing open puppet and using it. patterns run aok.
when trying to use the installer for pe, on the puppetmaster, installs ok.
when trying to use the installer for pe, on the puppet agent, installs ok
but no cert sent as shown by puppet cert list on puppetmaster.
also
puppet agent --test
on puppet agent shows
err: could not retrieve catalog from remote server:
error 400 on
2013 Dec 09
2
audit
Assume the following question is in regards to Puppet 3.3.2.
So my question is in relation to audit.
file { ''/some/random/path/through/the/tree/to/a/file'':
owner => ''luke'',
group => ''rebelalliance'',
mode => ''0444'',
audit => all
}
And more specifically: will the named file be force-owned to luke with the
2013 Sep 05
1
best practice
Hi everybody!
So for non-automated physical/manual application of single specific patterns or sets of puppet patterns on an entirely manual basis, what is best practice and/or where is it described?
Meaning what is the way to stop the
puppet agent from running automatically and instead require a manual command for puppet to exercise on that node.
If it is as simple as
puppet apply
2013 Nov 18
1
dashboard
Hi,
I spent a lot of time with Puppet Enterprise and like it. Lately, I''ve been
doing Open Source Puppet.
The question has come up: does OSP have any kind of web-facing
methodology for applying one or more patterns against swaths of instances?
Do tell me we don''t have to roll our own with cli going to a web front-end
we have to design.
Stuart
--
You received this
2012 Aug 17
4
Default node
Seems like nodes are matching the default node before they are
matching the more specific nodes. My site.pp has:
include "nodes/*.pp"
In the nodes directory are two files, default.pp and nagios_server.pp.
default.pp:
node default {
include role::common
}
nagios_server.pp:
node ''mon01.us1.xxx.com'' {
$node_env = "production"
include
2013 Nov 20
4
puppet testing
Hi There,
I am kind of lost, understood something wrong. I have written a module.
Now how can I test this module? Do I need to copy it to agent or server? Is
it possible to test it as a standalone module where I have a machine with
puppet agent or server installed? It is a simple module I dont want
complicate things with cucumber or some rspec etc.
How can I test it with puppet apply
2013 Jul 22
8
How do I set global noop?
I''m trying to set a global noop but it doesn''t seem possible,
There are 2 bugs open about this which to me look pretty serious as the
expected behaviour isn''t the case.
http://projects.puppetlabs.com/issues/21286
http://projects.puppetlabs.com/issues/6549
If anyone has a work around (that doesn''t include modifying puppet.conf
file) I would be very
2013 Oct 31
2
I'm to a dead end
Hi all,
I am new to Puppet and now I do some test with 2 Virtual Machines running
Centos 6.4 and puppet 3.3.1
And I manage to sign the client cert, but still I can not get any file
updated on the client VM.
If I run the client in test mode puppet agent --server=p-master.localdomain
--noop --test There is no errors in the output.
Info: Retrieving plugin
Info: Caching catalog for
2013 Nov 30
8
Providing hiera with module data
Hi guys,
I don''t know how to solve this:
I want ".yaml"-files in each module''s "/data"-directory. These .yaml-files
should contain data, which Hiera sould pass to the module''s manifests.
How can I do that? I''m using Puppet 3.3.1
Thanks in advance!
--
You received this message because you are subscribed to the Google Groups "Puppet
2007 Oct 08
2
Noop functionality
I''m thinking about how to set up the processes for Production puppet
runs now. Being ultra-conservative here, we''d like to see what would
happen before pressing the red button.
I can run in noop mode, and everything is evaluated but nothing is done.
A YAML report magically appears on the Puppetmaster which my script
parses and spits out something the management can read
2013 Nov 05
5
Deployed custom facts with module do not show up
When I deploy a module I wrote with couple of custom facts, those facts do
not show up in factor.
But when I point FACTORLIB to the directory with those factor, they work
just fine.
I am running a masterless puppet version 2.7.22 and factor 1.7.1
The module structure looks like so:
-license
---lib
-----facter
-------license.rb
-------hardware_serial.rb
-----puppet
Any idea what is causing
2007 Jun 21
3
Noop and "dangerous" classes
Hello all,
I''m thinking about a configuration class that, amongst other things
execs out to a ''dangerous'' configuration script. I''d like to make this
a noop by default, so the operator has to try a bit harder to invoke it.
So I thought about doing something like:
class blah {
exec { danger:
noop => true,
tag => hitme,
command
2013 Oct 30
4
moving to ENC - how to get all current classes and params
I''m looking to use an external node classifier (ENC) in our environment.
What''s the easiest way to programmatically get currently applied classes
(and class parameters) for all hosts, with the goal of dumping it into a
database for later retrieval by the ENC script? Nodes are currently
classified via site.pp.
thanks
--
You received this message because you are subscribed
2013 Dec 04
10
MySQL server install with datadir != /var/lib/mysql
Has anybody sucessfully used puppetlabs-mysql (or some other method) to
install MySQL-server on Linux with a my.cnf where datadir != /var/lib/mysql
?
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com.
To view
2013 Nov 26
4
how to deal with xml files within Puppet ?
hi there,
I have to create a new server.xml which should be build from at least 3 or
4 another xml files. How could to copy and paste with puppet methods ?
On a command line under Unix I would do cat 1.xml > my_file.xml ; cat 2.xml
>> my_file.xml; cat 3.xml >> my_file.xml.
I have to say, I''m pretty new to puppet and simply have no clue how to
tackle this task ;=(