search for: metaparameters

Displaying 20 results from an estimated 51 matches for "metaparameters".

Did you mean: metaparameter
2011 Sep 07
1
Qualified variable inside a metaparameter
Hi, I''m adapting our modules to version 2.7.3. Currently I ''ve this example in a iptables module class iptables_script { file { $iptables_init: owner => "root", group => "root", mode => "0700", ................................. }
2007 Aug 23
3
Using Puppet to swap eth0 and eth1
I''ve been using Puppet now for a month or so and I''ve come to a problem that may warrant an additional Puppet metaparameter. I''m advocating the addition of a metaparameter called "preaction" (or something like that), which will perform some arbitrary action before the resource is modified. There may be a way to do this within Puppet already (with some
2008 Mar 22
6
pass Resources to a define or unsetting notify
Hi i''m trying to pass Resources (single or in an array) to a resource, so I can pass this to a notify or require. However I have some problems, when no resource should be passed. Maybe somebody can help me? thanks define gentoo::etcconfd ( $require = '''', $notify = '''' ){ file { "/etc/conf.d/${name}": owner =>
2012 Oct 24
1
Exclude or disable a class in Hiera (yaml backend)
...n.yaml looks like: --- classes: - foo I was told on #puppet IRC channel that there is a metaparameter called ''noop'' which can be passed to already created class, but what hiera does is just a simple alternative to ''include foo'', so I cannot really pass any metaparameters to my classes when including them with hiera. What other alternatives do I have? Thanks, Vaidas -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/7l...
2012 Jan 10
3
I am looking to try to mixing sounrce and content in a file instance
...her.erb"), default => template("whatever/default.erb"), } ], So that I can override the type-driven template with a flat file. I am trying to design flexibility, and I am finding a "conflict of purpose" between the source snd content metaparameters. “Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us.” Bill Waterson (Calvin & Hobbes) -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to thi...
2011 May 20
7
PC EU feedback: exported resource syntax is too magical, hard to read
http://projects.puppetlabs.com/issues/7612 The exported resources syntax: @@user { luke: ensure => present } Is concise and powerful, but very difficult to read. We should consider word-based syntax, e.g.: export @user { luke: ensure => present } And taking into account #7605, perhaps: export virtual user { luke: ensure => present } Please comment on the ticket or reply
2013 Jan 22
0
Re: How can i create a class with this....?? Pls help
On Tue, Jan 22, 2013 at 12:30 AM, yarlagadda ramya <rams.15891@gmail.com> wrote: You really want the `puppet-users@googlegroups.com` list for this sort of question; the dev list is about modifying Puppet itself, not about manifest level questions. > I have created two manifests one for moving and other for renaming the moved > file. > > these are the two manifests i wrote. >
2008 Nov 20
9
create a file only if directory exists
I''m trying to create a virtual host file only if the document root directory exists. It doesn''t look like puppet is seeing the require metaparameter. Currently, the file is being created whether or not the document root directory exists. What is the best way to currently do this? I''m trying to create a file called site1.conf in /apps/apache/conf.d only if
2012 Oct 18
1
Using Puppet to push Windows Updates?
Hi, I''m very new to puppet but am looking to implement it in our environment. One thing I''m struggling with is that I would like Puppet to be the only tool that makes changes to our servers, but as we run Windows for most of our systems, we need to run the continuous onslaught of Windows updates as well as normal configuration changes and software installation / updates. Are
2008 Nov 08
2
Possible documentation error, around aliases?
Hi all, The docs say: "Note that all defined types support automatically all metaparameters." But when I try (with Puppet 0.24.5 on Centos 5.2, courtesy of the dlutter packages) the following: define unzip (...) { exec { ... } if $alias { Exec[...]{ alias +> $alias } } unzip { ....: alias => "..." } As is inferred by the LanguageTutorial...
2012 Feb 02
5
Schedule for own resources?
Hello, I am testing some schedule configurations and was wondering if I can use the schedule type in my own defines? As far as I can claim from my own tests, this is not possible? For example, the schedule "morning" does not work with my self-written define "my_crontab": ######################################### class crontab { schedule {"morning":
2007 Nov 13
15
require metaparameter and gems
I tried to install the ''mongrel'' gem tonight via puppet in an attempt to migrate from webrick to mongrel as described on the puppet site[1]. I added the following to my manifest: package { "rubygems": ensure => installed; "mongrel": ensure => installed, provider => gem, require => Package["rubygems"]; }
2008 Jan 10
10
Install Package only if a certain file exists.
So I can''t quite see how to do this in the existing syntax. Ideally there would be an onlyif parameter for packages, but that doesn''t seem to be the case. I could create a fact that returns true or false depending on whether the file exists, but that doesn''t feel like the right way to do it either. I could do something like: $file_exists =
2009 Oct 26
17
Relation to DMTF's CIM
I was wondering how Puppet relates to the DMTF''s CIM. AFAICT there is a clear connection between the two, but I see very little discussion on the topic on the list. Thanks, Cameron. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to
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
2011 Nov 01
0
Announce: Puppet 2.7.7rc1 available
Puppet 2.7.7rc1 is available. This release fixes several issues with Mongrel and Puppet 2.7.x, Windows fixes and updates, test fixes, documentation updates and more. Release Notes for 2.7.7 series -- https://projects.puppetlabs.com/projects/puppet/wiki/Release_Notes This release is available for download at: http://downloads.puppetlabs.com/puppet/ See the Verifying Puppet Download section at:
2010 Sep 27
4
why does puppet shuffle its ‘phases’ and how can I stop this?
Hi all, class zabbix { file { "/etc/zabbix/": ensure => directory, recurse => true, purge => false, force => false, owner => "root", group => "root", mode => 0755, source => $operatingsystem ? { solaris => "puppet:///zabbix/solaris",
2012 Oct 02
3
PROBLEM : Cannot require an Exec
hello: i currently am using Puppet to run some commands in a sequence. there are two sequences of exec resources. we found that we cannot use require => Exec and it does not work at all as expected. here is some sample code. exec { "exec-AAA": command => "/bin/true", returns => 0, notify => Exec["exec-BBB"], } exec { "exec-BBB":
2007 Apr 27
2
Unsynchronized object state detection
Is there a way to specify on a per-object basis that Puppet should merely report that an object needs to be updated without actually performing the update? This would make it possible to detect changes to critical objects (e.g. config files) that Puppet shouldn''t try to fix automaticaly. -- Jos Backus jos at catnook.com
2007 Jun 28
1
Re: [puppet] #446: Require should stack not override
On Thu, Jun 28, 2007 at 10:24:42AM -0000, puppet wrote: > #446: Require should stack not override [...] > Comment: > > Here is a patch against 0.23.0 which I think fixes this. It essentially > makes all relationship metaparameters stack up, rather than get overriden. > > --- puppet-0.23.0.orig/lib/puppet/parser/resource.rb 2007-06-17 [...] > > I strongly feel that without this feature, definitions don''t work as > people expect them to. > In the original report, alpha { "Wobble":...