similar to: how to us a var in define as $namevar

Displaying 20 results from an estimated 100 matches similar to: "how to us a var in define as $namevar"

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
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 Dec 05
10
Slight oversight in the type documentation
So I was looking at the type reference, and noticed that for a lot of the types, no namevar 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
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 +
2012 Jul 12
11
Announce: PuppetDB 0.9.2 Available
PuppetDB 0.9.2 is the third beta release on the road to 1.0. Changes include new features and bug fixes. For details on changes in this release, please see the release notes below. # Downloads Available in native package format at http://yum.puppetlabs.com http://apt.puppetlabs.com Source (same license as Puppet): http://github.com/puppetlabs/puppetdb Available for use with Puppet
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
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
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 =>
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
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
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
2013 Mar 21
6
How we can create two database Using same credetial using Puppet
Hello All, I wanted to create two two MySQL database with same user credential using Puppet-MySQL. How can I achieve this? Please find my script below. class mysql::vsdatabase { include mysql mysql::db { ''vidispine'': user => ''user'', password => ''user123'', host => ''db.<hostname>.com'', } } How can I add
2011 Mar 10
1
getpeername failed. Error was Transport endpoint is not connected (3.0.37)
Hi All, ? I have a Solaris 10 server (Sun Fire T5520) that has recently been patched with Samba 3.0.37 but is not able to share any drives to Windows clients. Instead, the /var/samba/log/log.smbd is showing the following errros: ???? getpeername failed. Error was Transport endpoint is not connected ??? Denied connection from 0.0.0.0 (0.0.0.0) ??? [2011/03/10 21:10:04, 1] smbd/process.c:(1076)
2005 Dec 16
2
out of memory on dovecot alpha5
Hello Once a day i have these errors in doveecot.log: =========================================== dovecot: Dec 16 14:06:04 Error: auth-worker(default): .Out of memory (Needed 52 bytes) dovecot: Dec 16 14:06:04 Error: auth-worker(default): sql(login,<ip>): Password query failed: MySQL client ran out of memory dovecot: Dec 16 14:06:06 Info: imap-login: Disconnected: user=<login>,
2010 Jul 02
1
asterisk and cisco 2800
Hi all, I need to connect my Asterisk 1.4.26 with a Sangoma PRI card (configures with signalling=pri_net)) to a Cisco 2800 PBX. After connecting the cables everything seems fine (ifconfig w2g1 is ok, wanpipemonitor gives no errros, the span is up and active, green light on the card) but when I make a test with my iax phone, there's no way to dial the PBX and I get this WARNING: [Jul 2