similar to: passing argument to a class or a module

Displaying 20 results from an estimated 10000 matches similar to: "passing argument to a class or a module"

2011 Jul 07
4
I have a service that just wont restart.
For my nagios::nrpe class, I have the following service: service {"nagios-nrpe-server": ensure => running, enable => true, require => Package["nagios-nrpe-server"], hasrestart => true, restart => "/etc/init.d/nagios-nrpe-server restart", subscribe =>
2013 Mar 15
3
advice on module organization
Hi Folks, Like to get some advice on module organization. I have a system that has a few different components. One or more components can be installed on a host. The hosts also have a "type" dimension. This "type" dimension could (should) ideally be used to configure the system (fill in a bunch of variables). Problem is, I''m not sure how the best way to do
2011 Jun 06
1
libvirt-bin MOSTLY fails to create default virtual network
I have observed 3 scenarios after I reboot the host with 2 guests (which are supposed to autostart after boot/reboot of the host): 1. Default network is created but I can not ping guests. Gests don't have assigned IP address or they both have IP address 192.168.122.100. 2. Default network is not created. 3. Default netork is properly created and everything works fine. In each case guests are
2010 Jun 15
8
strange string in /etc/shadow
Hi, I am using puppet (version 0.25.5-1.e15 for redhat) for password management for non-system users. This morning, users on some of my puppet clients had their encrypted password strings in /etc/shadow replaced with the following string: YAML::syck::BadAlias That has effectively broken the users'' ability to login to those servers. Puppet will not overwrite that string with the
2013 Nov 11
2
[LLVMdev] [cfe-dev] Goal for 3.5: Library-friendly headers
On 11/11/2013 07:37, NAKAMURA Takumi wrote: > 2013/11/10 Alp Toker <alp at nuanti.com>: >> #ifndef NDEBUG >> >> This is the biggest violation. NDEBUG should only ever be used in source >> files. That way if something is crashing we can swap in a debug build >> without rebuilding every single dependent application. Win! > I wish; > > - NDEBUG may
2013 Nov 11
0
[LLVMdev] [cfe-dev] Goal for 3.5: Library-friendly headers
On Nov 11, 2013, at 9:56 AM, Alp Toker <alp at nuanti.com> wrote: > Done :-) > > The patchset is 532K so I've put it online: > > http://www.nuanti.com/tmp/llvm-api-stability/ > > The bulk edits are split out and noted. They were refactored with an internal tool, so it's not a big hassle to keep this up to date until 3.4 is out the door. > > A handful
2004 Aug 06
2
yp dir listing
On Sun, Aug 03, 2003 at 02:15:40PM +0100, Karl Heyes wrote: > > > > Any ideas if this is a problem with my xml config in ices or a limitation > > of the program/server? > > Do you have the <yp>1</yp> tags in the instances you want listed? The > default is not to have them listed. > whoa whoa whoa, since when? We've been having a major problem with
2012 Feb 06
3
Passing class parameters to hiera
I am using puppet 2.6.11 and want to pass parameter for implementing sudo for mulitple users. So here is my simple code, which I would like to pass to hiera to specify user name lookup. Appreciate any help, thanks in advance. class sudo( $name) { #Class:: sudo # # package { "sudo": ensure => present, } file { "/etc/sudoers": owner => root, group => root,
2013 Nov 11
3
[LLVMdev] [cfe-dev] Goal for 3.5: Library-friendly headers
On 11/11/2013 19:08, Chris Lattner wrote: > On Nov 11, 2013, at 9:56 AM, Alp Toker <alp at nuanti.com > <mailto:alp at nuanti.com>> wrote: >> Done :-) >> >> The patchset is 532K so I've put it online: >> >> http://www.nuanti.com/tmp/llvm-api-stability/ >> >> The bulk edits are split out and noted. They were refactored with an
2012 Oct 01
7
Passing http_proxy_host option
Hi, I''ve been trying to pass the http_proxy_host option to puppet but it''s not taking. I have tried the following: sudo puppet apply --debug --verbose --http_proxy_host http://user:pass@fqdn.com.au --modulepath ''/tmp/vagrant-puppet/modules-0'' /tmp/vagrant-puppet/manifests/default.pp sudo puppet apply --debug --verbose
2006 Jul 13
5
Generic page element display initializer in a layout?
All, I''ve run into a snag. I need to handle the display of elements on my page and I want to use my Javascript event handlers on page load. However, my BODY tag is trapped in my generic layout. I''m thinking that I can put an onLoad on the BODY tag that will just call a Javascript method called initializePage() and then provide this initializePage() call in my specific page
2013 Jun 06
3
installing carbon / passing PYTHONPATH to pip package provider?
My environment: Ubuntu LTS 12.04, carbon (https://github.com/graphite-project/carbon) 0.9.9 installed using "pip". I just learned why when I run "pip freeze" on a system I don''t see the "carbon" package even when it installed successfully - I should run it with "PYTHONPATH=/opt/graphite/lib/ pip freeze". (ref:
2003 Aug 03
5
yp dir listing
I've recently switched from Oddcast to ices2 under Linux, as my pro sound card unfortunately didn't work well under windows. Is there a problem with ices2 updating the yp dir, as my stream is not listing anymore - it seems that for some reason ices2 doesn't have the metadata code to list like oddcast does? Any ideas if this is a problem with my xml config in ices or a limitation of
2013 Oct 11
6
puppet class if
Hello, I created puppet class and I want the file operation to be executed on all servers but not on server with hostname "''server1.domain.com". I tried this class, but it does not work. Is there any other way? Thanks class test { if $hostname != ''server1.domain.com'' { file { "/etc/ntp.conf": owner
2012 Jun 13
3
Define -> Class dependencies not respected
Hello, I''m encountering an issue which I think is a bug, but I want to propose it here before filing it for good @puppetlabs, and be sure it''s not just a misunderstanding. Actually, I often use a construction where a "main" class would include some small others that build a complete service (install, config, service ) Relationship are given (and respected) in the main
2011 Dec 06
8
explicit class dependencies
Do explicit class dependencies work? This simple example fails with: Could not find resource ''Class[Config]'' for relationship on ''Class[Uses_config]'' class config { } class uses_config { Class[''config''] -> Class[''uses_config''] } include uses_config Am I doing something? Thanks, Christian -- You received this
2009 Jan 29
2
GTalk Channel
Hello all, It used to work on calling my GTalk ID from another GTalk user. But now that I tried calling it again, the caller hears only a ringtone and disconnected after a few rings. The messages on my Asterisk-1.4.21.2 are the following: [Jan 29 10:37:51] ERROR[1303]: rtp.c:1945 ast_rtp_new_with_bindaddr: Unexpected bind error: Cannot assign requested address [Jan 29 10:37:51] WARNING[1303]:
2006 Jul 13
7
system unresponsive after issuing a zpool attach
Today I attempted to upgrade to S10_U2 and migrate some mirrored UFS SVM partitions to ZFS. I used Live Upgrade to migrate from U1 to U2 and that went without a hitch on my SunBlade 2000. And the initial conversion of one side of the UFS mirrors to a ZFS pool and subsequent data migration went fine. However, when I attempted to attach the second side mirrors as a mirror of the ZFS pool, all
2004 Sep 25
1
Whoa.... I'm owned but found ??
I get this message at CLI. what does it mean? - shabanip -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20040925/dbcd8d80/attachment.htm
2005 Sep 06
1
TDM 400p
Hi all, I have a Digium TDM 400P at several locations. Once and again I'll need to restart the drivers because there is no ringing. Does anyone know a fix for this problem? Greatings Johan -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20050906/66d9f13a/attachment.htm