search for: namevars

Displaying 20 results from an estimated 22 matches for "namevars".

Did you mean: namevals
2012 Dec 05
10
Slight oversight in the type documentation
...ar was listed. When I checked the types in the code, for each of those omissions, the namevar was simply "name". Now, it might be self evident that this is the case, but a little documentation couldn''t hurt, If not in each type, at least in the section where it describes what namevars are. Something like: "If namevar is not specified, assumed that it is ''name''". -- 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-...
2010 Dec 16
2
how to us a var in define as $namevar
Hi, I have this code: define software_mount ($vo_name) { [...] device => "server:/$vo_name", [...] } And I''d like to use $vo_name a type name, so I could use it like: software_mount { [''vo_name1'' , ''vo_name2'', ..., ''vo_nameN'' ] } or even: software_mount { [''vo_name1'' ,
2007 Dec 10
7
Sweave : change value in rnw file to generate multiple "single" reports ?
Hello, I'm still trying to make the life of my colleagues easier. Nice, isn't it ? At the moment, I'm looking for a way to generate multiple "single report". In fact I have a .rnw file which send a query to a MySQL database (rs<-dbSendQuery(con, statement="select * from treatdata where name='Device1'") But of course my colleagues have many devices and
2012 Jul 25
7
cwd dot folders
Hi, I am trying to exec { myexectest: path => "/bin:/usr/bin:/usr/sbin", cwd => "/home/user/.ssh", command =>"echo test > test.txt", onlyif => "test -f test.txt" } it doesnt work any clues why? I think it cannot change directory to a DOT directory please HELP!! --Nikos Hatzopoulos -- You received
2012 Jul 12
11
Announce: PuppetDB 0.9.2 Available
...uninstall, we now check to see if this is part of an upgrade or not, and we only stop and disable the service if this is *not* part of an upgrade. Also, we stop the service before we install the new package, and restart it after we finish removing the old package. * (#15321) Add aliases for namevars that are munged via `title_pattern` When we are creating aliases for resources (in order to ensure dependency resolution in the catalog), we need to take into account the case where the resource type defines one or more title_patterns, which, when used to set the value of the namevar, may...
2010 Jun 06
19
Collecting _all_ ssh keys
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Hello, I read and find a way (well, there seems to be several equal implementations) to collect the ssh keys of machines. However they all give only the choice to choose between the key formats. But is there a way to collect both keys of a machine, the rsa _and_ the dss key (and maybe the rsa1 too)? I didn''t find a way to solve this as
2012 Oct 10
0
Announce: PuppetDB 1.0.1 Available
PuppetDB 1.0.1 is now available for download! This is a bug-fix release of PuppetDB. # Downloads ============== Available in native package format at: http://yum.puppetlabs.com and http://apt.puppetlabs.com Puppet module: http://forge.puppetlabs.com/puppetlabs/puppetdb Source (same license as Puppet): http://github.com/puppetlabs/puppetdb/ Available for use with Puppet Enterprise 2.5.1 and
2008 Dec 12
2
Puppet keeps trying to install packages
Hi all, I''m trying to setup a puppet installation on FreeBSD. So far I have only one puppetmaster and one puppetclient, both with 0.24.4 from FreeBSD ports. On the master I''ve defined a couple of classes including this: class apache22 { package { apache22: ensure => installed, source => "http://x.x.x.x/packages/apache-2.2.9_5.tbz", provider =>
2011 Mar 02
4
networkinterface type proposal
Hi - I''ve searched around and haven''t found anyone who''s implemented a type+provider for configuring network interfaces in puppet. Does anyone have such a thing already running that''s just not on forge / github? I found some prior art (aside from the old ''interface'' type which was deleted in 0.24) but most people seem to use definitions +
2010 Dec 15
3
having trouble with puppet 0.25.5 on openbsd 4.8 on amd64
My manifest includes this snippet class app_client_openbsd { $app_client_pkgs_obsd = [ ''glib2-2.24.1p2'', ''gtar-1.23p1'' ] package { "${app_client_pkgs_obsd}": ensure => ''installed'', source => "http://${installserver}/openbsd/${operatingsystemrelease}/packages/${hardwaremodel}/${name}.tgz", } This
2008 Nov 19
1
Builtin Nagios types
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I''me using nagios builtin types and I''m very surprised that the parameter *name* is not available for type nagios_host ?!? This parameter is required to use inheritance (http://nagios.sourceforge.net/docs/3_0/objectinheritance.html) and I don''t understand why it is not included in all nagios types ? Maybe someone has
2011 Feb 24
1
augeas - add to beginning of file
Hi: Using augeas, how do you add a comment to the beginning of a file. I know you can use ins but you need to specify a path to insert before or after. In my case I can''t with 100% certainty say I will no what the first line. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to
2012 Nov 14
4
firewallchain issues w/ 1.0.0 release
Hi, First, some software versions, just to get them out of the way: - CentOS 5.x through Centos 6.2 - Ruby 1.8.5 - 1.8.7 - Puppet 2.7.19 - Facter 1.6.11 Just a note - we''re working from the EPEL repos almost exclusively. I am working with the firewall module, and so far I am unable to use firewallchain. Some digging suggests that it''s not completely user error (though I
2007 May 24
2
Reusing definitions - need to pass variable in the title
I recently tidied up a class/definition combo that sets /etc/issue and /etc/issue.net. This failed: define issuefile($path) { file { issue: owner => root, group => root, mode => 0644, content => template("issue_conf") } } class issue { issuefile { "issue": path => "/etc/issue" } } class
2011 Jan 03
23
Managing cronjobs as a file in solaris with appendifnosuchline for specific servers
I want to manage cronjobs as a " file " in solaris through puppet and not using the puppet cron resource. I will be managing the file /var/spool/cron/crontabs/root. I want the cron file to be same across all servers except some servers will have additional cron entries. How can I append to the file /var/spool/cron/crontabs/root , something like appendifnosuchline in cfengine? Can
2013 Jan 27
5
Extending a standard type
I''m trying to extend the standard ''user'' type to add maintenance of some of the contents of a user''s home directory, and I''m trying to avoid creating an entirely new custom type if I can. The approach I''m taking is to create a site::user defined type which in turns calls the standard user type. I''m having a problem figuring out
2007 Jan 23
20
"Found a bug" message when purging services
I attempted the following: resources { service: purge => true, noop => true } service { sshd: ensure => running; iptables ensure => running; } And got the following message: notice: Starting configuration run err: Found a bug: uninitialized constant Parse notice: Finished configuration run in 0.47 seconds When I remove the ''resources'' line, everything works
2012 Jul 25
3
manifest variable with sed - problem
Hello, i have a problem in my sudo manifest file, because in the variable $name comes sometimes usernames like user.lastname, but i need for sudo (includedir */etc/sudoers.d/*) file names with no dots (like user_lastname). I need a new variable, where is the dots change by underscores. My first try was like this, but it isn''t working well. $name_underscore = "`echo $name | sed
2012 Feb 15
21
puppetlabs-firewall stages and persistence
Hi all, I''m attempting to use the puppetlabs-firewall module. In testing, rules are enabled in a random order, so it seems necessary to utilize puppet stages to guarantee proper ordering. I created a module to organize my firewalling. It consists of localfw::pre to open the INPUT chain for established and related connections, localfw::default for most normal rules, and localfw::post to
2007 Jul 21
5
Some ''in service'' questions
Hi, Just a quick query about some things that crop up when I run ''puppetd --test''. Every time I run this command I always see the following output, which I think is strange as the ''man'' package has been installed previously and the firewall service is definitely running. Has anybody got any suggestions as to why puppet thinks it needs to install the man